/* Matching has its own editorial layout; colors come from Minder's shared tokens. */
.page-marketplace-matching-wizard .main-container { max-width: 1040px; }
.match-page { max-width: 860px; margin: 0 auto; padding: clamp(.5rem, 2vw, 1.5rem) 0 3rem; }
.match-intro { max-width: 660px; margin: 0 0 2rem; }
.match-eyebrow,.match-step-count { margin: 0 0 .5rem; color: var(--minder-teal-dark); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.match-intro h1 { max-width: 15ch; margin: 0 0 .75rem; font-size: clamp(2rem,4.2vw,3.25rem); font-weight: 600; line-height: 1.12; }
.match-intro > p:not(.match-eyebrow) { color: var(--muted); font-size: 1.08rem; max-width: 60ch; margin-bottom: .7rem; }
.match-browse { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.match-shell { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; }
.match-progress { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--hairline); background: var(--surface-muted); }
.match-progress-item { min-width: 0; display: flex; align-items: center; gap: .65rem; padding: 1rem 1.25rem; color: var(--muted); font-size: .9rem; font-weight: 700; border-bottom: 3px solid transparent; }
.match-progress-item span { min-width: 0; overflow-wrap: anywhere; }
.match-progress-item b { width: 1.65rem; height: 1.65rem; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--hairline-dark); border-radius: 50%; font-size: .78rem; }
.match-progress-item.is-current { color: var(--ink); border-color: var(--primary); background: var(--surface); }
.match-progress-item.is-current b { color: white; background: var(--minder-teal-dark); border-color: var(--minder-teal-dark); }
.match-progress-item.is-done b { color: var(--minder-teal-dark); border-color: var(--minder-teal-dark); }
.match-form { padding: clamp(1.25rem,3vw,2.5rem); }
.wizard-step[hidden] { display: none !important; }
.wizard-step h2 { font-size: clamp(1.5rem,2.6vw,2rem); margin-bottom: .6rem; }
.match-help { color: var(--muted); max-width: 62ch; margin-bottom: 1.5rem; }
.match-field-hint { color: var(--muted); font-size: .88rem; margin: .45rem 0 0; }
.match-textarea { min-height: 125px; resize: vertical; border-color: var(--hairline-dark); }
.match-textarea:focus,.match-form .form-select:focus { border-color: var(--minder-teal-dark); box-shadow: 0 0 0 .2rem rgba(54,117,136,.14); }
.match-label { display: block; margin: 0 0 .8rem; font-size: .88rem; font-weight: 800; color: var(--ink); }
.match-prompts { margin-top: 1.6rem; }
.match-chip-group,.match-preferences { display: flex; flex-wrap: wrap; gap: .55rem; }
.match-chip,.match-preferences label { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .9rem; border: 1px solid var(--hairline-dark); background: white; color: var(--ink); border-radius: var(--radius-pill); font-size: .88rem; font-weight: 700; line-height: 1.35; cursor: pointer; transition: background var(--transition-fast),border-color var(--transition-fast); }
.match-chip:hover,.match-preferences label:hover { background: var(--surface-brand); border-color: var(--minder-teal-dark); }
.match-chip[aria-pressed="true"] { color: var(--minder-teal-dark); background: var(--surface-brand); border-color: var(--minder-teal-dark); box-shadow: inset 0 0 0 1px var(--minder-teal-dark); }
.match-chip:focus-visible,.match-preferences input:focus-visible + label,.match-budget-options input:focus-visible + label { outline: 3px solid var(--minder-teal-dark) !important; outline-offset: 3px; }
.match-preferences input:checked + label,.match-budget-options input:checked + label { color: var(--minder-teal-dark); background: var(--surface-brand); border-color: var(--minder-teal-dark); box-shadow: inset 0 0 0 1px var(--minder-teal-dark); }
.match-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.match-select-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.7rem; }
.match-form .form-select { min-height: 48px; border-color: var(--hairline-dark); color: var(--ink); }
.match-budget-options { display: grid; gap: .65rem; }
.match-budget-options label { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; min-height: 55px; padding: .8rem 1rem; border: 1px solid var(--hairline-dark); border-radius: var(--radius-sm); color: var(--ink); cursor: pointer; }
.match-budget-options label span { color: var(--muted); font-size: .86rem; text-align: right; }
.match-actions { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 2rem; }
.match-actions .btn { min-height: 48px; border-radius: var(--radius-sm); font-weight: 800; padding: .65rem 1.25rem; }
.match-next { display: inline-flex; gap: .6rem; align-items: center; justify-content: center; }
.match-back { border: 1px solid var(--hairline); }
.match-safety { display: flex; gap: .65rem; align-items: start; max-width: 720px; margin: 1.2rem auto 0; color: var(--muted); font-size: .86rem; }
.match-safety i { flex: 0 0 auto; color: var(--minder-teal-dark); }
@media (max-width: 600px) { .match-intro { margin-bottom: 1.4rem; } .match-intro h1 { max-width: none; } .match-progress-item { min-height: 67px; padding: .55rem .25rem; flex-direction: column; justify-content: center; gap: .25rem; text-align: center; font-size: .7rem; line-height: 1.15; } .match-progress-item b { width: 1.4rem; height: 1.4rem; } .match-select-grid { grid-template-columns: 1fr; } .match-actions { justify-content: stretch; } .match-next { flex: 1; } .match-budget-options label { flex-direction: column; gap: .1rem; } .match-budget-options label span { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .match-chip,.match-preferences label { transition: none; } }
