.match-page { display: flex; min-height: 100vh; flex-direction: column; }
.match-main { flex: 1; max-width: 760px; padding-bottom: 80px; }
.match-status { min-height: 24px; margin: 34px 0 20px; color: var(--muted); font-size: 14px; }
.match-panel, .offer-card { margin: 0 0 16px; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.match-panel h2, .offer-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 20px; }
.review-card { margin: 52px 0 88px; }
.review-card h1 { margin: 0 0 9px; font-size: clamp(29px, 4vw, 36px); line-height: 1.3; letter-spacing: -.045em; }
.review-card #review-summary { margin: 0; color: #505e72; font-size: 16px; line-height: 1.6; }
.review-date { margin: 17px 0 0; color: var(--muted); font-size: 13px; }
.review-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 47px 0 0; padding: 0; list-style: none; }
.review-steps li { position: relative; min-width: 0; padding: 31px 14px 0 0; color: #969fab; font-size: 14px; line-height: 1.45; font-weight: 800; }
.review-steps li:not(:last-child)::before { content: ''; position: absolute; top: 7px; left: 17px; right: 0; height: 2px; background: #e3e7ed; }
.review-steps li[data-state='complete']:not(:last-child)::before { background: var(--navy); }
.stage-marker { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 16px; height: 16px; border: 2px solid #cbd2da; border-radius: 50%; background: #f7f8fa; }
.review-steps li[data-state='complete'] { color: var(--navy); }
.review-steps li[data-state='complete'] .stage-marker { border-color: var(--navy); background: var(--navy); }
.review-steps li[data-state='complete'] .stage-marker::after { content: ''; width: 5px; height: 8px; margin-top: -2px; transform: rotate(45deg); border: solid #fff; border-width: 0 2px 2px 0; }
.review-steps li[data-state='current'] { color: #ba287c; }
.review-steps li[data-state='current'] .stage-marker { width: 18px; height: 18px; top: -1px; border: 5px solid var(--pink); background: #fff; }
.review-steps li[data-state='attention'] { color: #b53c55; }
.review-steps li[data-state='attention'] .stage-marker { border-color: #b53c55; background: #fff; }
.review-steps li[data-state='attention'] .stage-marker::after { content: '!'; color: #b53c55; font-size: 11px; line-height: 1; }
.review-card .review-privacy { margin: 47px 0 0; padding-top: 21px; border-top: 1px solid #dfe4eb; color: var(--muted); font-size: 13px; line-height: 1.7; }
.review-actions { display: flex; gap: 18px; margin-top: 22px; }
.review-link { padding: 0; border: 0; background: none; color: var(--navy); font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.review-link:hover { color: #ba287c; }
.review-link:focus-visible { outline: 3px solid #f5bad7; outline-offset: 4px; }
.support-feedback { margin: 13px 0 0; color: #27745e; font-size: 13px; }
.support-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 25px; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 22px 70px #17243a29; color: var(--navy); }
.support-dialog::backdrop { background: #17243a80; }
.support-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.support-header h2 { margin: 0; font-size: 22px; letter-spacing: -.04em; }
.support-close { width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 25px; line-height: 1; }
.support-help { margin: 8px 0 25px; color: var(--muted); font-size: 13px; }
.support-dialog label { display: block; margin: 17px 0 8px; font-size: 13px; font-weight: 800; }
.support-dialog select, .support-dialog textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid #d8dfe6; border-radius: 8px; background: #fff; color: var(--navy); font-size: 14px; }
.support-dialog select { min-height: 44px; }
.support-dialog textarea { min-height: 125px; resize: vertical; line-height: 1.55; }
.support-dialog select:focus-visible, .support-dialog textarea:focus-visible, .support-close:focus-visible { outline: 3px solid #f5bad7; outline-offset: 2px; }
.support-status { min-height: 20px; margin: 13px 0 9px; color: #b53c55; font-size: 12px; }
.support-submit { width: 100%; }
.match-panel p, .offer-card p { line-height: 1.65; }
.match-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.match-row p { margin: 2px 0 0; }
.match-subtle { color: var(--muted); font-size: 13px; }
.match-points { margin: 16px 0 0; font-weight: 800; }
.match-consent { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; color: #465267; font-size: 13px; line-height: 1.65; }
.match-consent input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pink); }
.match-primary, .match-secondary { min-height: 43px; padding: 0 17px; border-radius: 9px; font-size: 14px; font-weight: 800; cursor: pointer; }
.match-primary { border: 1px solid var(--pink); background: var(--pink); color: #fff; }
.match-secondary { border: 1px solid #dce1e7; background: #fff; color: var(--navy); }
.match-primary:disabled, .match-secondary:disabled { opacity: .55; cursor: wait; }
.match-text-link { display: inline-block; color: #b82e79; font-weight: 800; }
.match-nav-link { display: inline-flex; align-items: center; text-decoration: none; }
.match-section-title { margin: 36px 0 15px; font-size: 21px; }
.offer-meta { color: #b82e79; font-size: 12px; font-weight: 800; }
.offer-photo { display: block; width: min(100%, 280px); aspect-ratio: 1; margin: 16px 0; border-radius: 11px; object-fit: cover; background: #f5f6f8; }
.offer-details { display: grid; gap: 8px; margin: 16px 0; color: #526071; font-size: 14px; }
.offer-details strong { color: var(--navy); }
.offer-intro { padding: 14px; border-radius: 9px; background: #f8f9fb; white-space: pre-wrap; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.offer-note { color: var(--muted); font-size: 12px; }
.messages { display: flex; flex-direction: column; gap: 9px; min-height: 170px; max-height: 420px; margin: 20px 0; padding: 15px; overflow-y: auto; border: 1px solid #e6eaf0; border-radius: 10px; background: #f8f9fb; }
.message { max-width: 80%; padding: 9px 12px; border-radius: 10px; background: #fff; color: var(--navy); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.message.own { align-self: flex-end; background: #ffeaf4; }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; min-width: 0; padding: 0 13px; border: 1px solid #d8dfe6; border-radius: 9px; font-size: 14px; }
.contact-form { margin-top: 10px; }
@media (max-width: 680px) { .match-panel, .offer-card { padding: 20px; } .match-row { gap: 10px; } .match-row .match-secondary { flex: none; } .review-card { margin: 43px 0 70px; } .review-steps { display: block; margin-top: 36px; } .review-steps li { min-height: 53px; padding: 0 0 18px 34px; } .review-steps li:not(:last-child)::before { top: 16px; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; } .review-steps li:last-child { min-height: 16px; padding-bottom: 0; } .review-card .review-privacy { margin-top: 35px; } }
