.member-discovery{max-width:920px;margin-inline:auto;padding:24px;color:var(--text,#e6eff9)}.discovery-heading{margin-bottom:24px}.discovery-heading h1{font-size:clamp(1.8rem,3vw,2.6rem);margin:0 0 12px}.discovery-heading p,.discovery-preset>p{line-height:1.6}.discovery-preset{padding:clamp(18px,3vw,30px);border:1px solid var(--border,#2b425a);border-radius:24px;background:var(--panel,#0d2033)}.discovery-preset h2{margin-top:0}.discovery-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.discovery-field{display:flex;flex-direction:column;gap:8px;min-width:0;margin-block:16px;font-weight:600}.discovery-field input,.discovery-field textarea,.discovery-field select{min-width:0;width:100%;box-sizing:border-box;background:var(--input-bg,#0b1b2c);color:inherit;border:1px solid var(--border,#2b425a);padding:13px;border-radius:12px;font:inherit;line-height:1.5}.discovery-field textarea{resize:vertical}.discovery-field :is(input,textarea,select):focus{outline:2px solid #2faee5;outline-offset:2px}.discovery-actions{display:flex;flex-wrap:wrap;gap:12px}.discovery-disclosure{font-size:.84rem;opacity:.8;margin-bottom:0}.discovery-state:empty{display:none}html[data-design="light"] .member-discovery{color:#19364b}html[data-design="light"] .discovery-preset{background:#fff;border-color:#d1dce8}html[data-design="light"] .discovery-field :is(input,textarea,select){background:#f7faff;border-color:#cad8e7;color:#19364b}@media(max-width:600px){.member-discovery{padding:16px 0}.discovery-fields{grid-template-columns:1fr;gap:0}.discovery-actions>button{width:100%}}
.member-search-experience{width:100%;max-width:1050px;margin-inline:auto;min-width:0}.member-search-experience .discovery-heading h2{font-size:clamp(1.4rem,2.8vw,2.1rem);line-height:1.2;margin:0 0 10px}.member-search-experience .discovery-heading p{margin:0;color:var(--muted,#9eb4ca)}.member-natural-search .home-markets{margin:0 0 16px}.member-natural-search .home-need{margin:0 0 18px;padding:20px;gap:12px}.member-natural-search .home-need>label:first-child{font-size:1rem}.member-natural-search .home-need>textarea{min-height:95px;font-size:1rem}.member-natural-search .home-need>.primary-action{width:100%;min-width:0}.member-natural-search .preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-advanced-search .activation-steps{display:none}.member-advanced-search .detailed-discovery{margin-top:18px}.member-advanced-search .match-composer{max-width:none}.member-advanced-jump{margin:4px 0}.member-search-context{font-size:.84rem;line-height:1.5;color:var(--muted,#9eb4ca)}.discovery-saved-bar{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.member-required-field{font-size:.86rem}html[data-design=light] .member-search-experience :is(.discovery-heading p,.member-search-context){color:#526b80}html[data-design=light] .member-natural-search .home-need>label{color:#1a3a54!important}.member-search-experience #home-need-help[hidden]{display:none!important}@media(max-width:650px){.member-natural-search .home-need{padding:15px}.member-natural-search .preview-grid{grid-template-columns:1fr}.member-natural-search .home-market-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.member-natural-search .home-market-options button{width:100%;min-width:0}.discovery-saved-bar>button{flex:1;min-width:140px}.member-advanced-search .detailed-discovery{padding:12px}}
.member-search-experience>header.discovery-heading{display:grid!important;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:20px!important;margin:16px 0 20px!important;min-height:0!important;border:1px solid #3c567b;border-radius:18px;background:linear-gradient(120deg,#172d48,#252b45);box-shadow:none!important;color:#eef4ff}
.member-search-experience .discovery-heading-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#2a4163;color:#aacfff;font-size:27px}
.member-search-experience .discovery-heading-copy{min-width:0}
.member-search-experience .discovery-heading-copy>h2{font-size:clamp(22px,2.8vw,30px)!important;line-height:1.2!important;letter-spacing:-.025em;margin:0!important;color:inherit!important}
.member-search-experience .discovery-heading-copy>p{font-size:14px!important;line-height:1.55!important;margin:9px 0 0!important;color:#c1cde0!important}
html[data-design=light] .member-search-experience>header.discovery-heading{background:linear-gradient(120deg,#edf5ff,#f3f0fa);border-color:#ccd9ec;color:#193b5b}
html[data-design=light] .member-search-experience .discovery-heading-mark{background:#dfebfc;color:#386fa8}
html[data-design=light] .member-search-experience .discovery-heading-copy>p{color:#536981!important}
.discovery-alerts{display:flex;align-items:flex-start;gap:10px;line-height:1.5;margin-block:16px;max-width:100%}.discovery-alerts input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin-top:3px}.discovery-alerts span{min-width:0;overflow-wrap:break-word}
.detailed-discovery>h2{font-size:clamp(22px,3vw,29px);line-height:1.25;margin:0 0 20px;color:inherit}
.detailed-discovery{scroll-margin-top:100px}
.detailed-discovery .partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.detailed-discovery .partner-card{min-height:58px;padding:13px;gap:8px;min-width:0;display:flex;flex-direction:row;align-items:center}
.detailed-discovery .partner-card small{display:none}
.detailed-discovery .partner-card strong{font-size:14px;line-height:1.4;word-break:normal;overflow-wrap:normal}
.detailed-discovery .partner-symbol{font-size:22px}
.member-advanced-search .detailed-discovery{margin:0 0 26px;border:1px solid #426485;border-top:4px solid #367dcc}
.member-advanced-search .composer-header{display:none}
.member-natural-search{border-top:1px solid var(--border,#3e5c7a);padding-top:24px}
.member-natural-search>h3{margin:0 0 18px;font-size:21px;line-height:1.3;color:inherit}
.member-search-experience .match-composer{padding:clamp(14px,3vw,26px)}
html[data-design=light] .detailed-discovery>h2{color:#193b5b!important}
html[data-design=light] .detailed-discovery :is(.company-context,.field-help,#interpretation-copy,#match-helper,.choice-fieldset legend small){color:#526b80!important}
@media(max-width:650px){.detailed-discovery .partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detailed-discovery .partner-card{min-height:62px;padding:10px}.detailed-discovery .partner-card .partner-symbol{font-size:18px;flex:0 0 22px}.detailed-discovery .match-modes{flex-wrap:wrap}.detailed-discovery .composer-footer{flex-wrap:wrap}.detailed-discovery .composer-footer>button{width:100%;min-width:0}}
html .member-required-field textarea{min-height:78px;height:auto;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;font-size:16px;line-height:1.5}
/* Keep the two search requirement fields consistent, including the dialog. */
html #match-form :is(.request-label,.member-required-field>span){font-size:16px;font-weight:600;line-height:1.5}
html #match-form .request-label small{font-size:inherit;font-weight:inherit}
html #match-form :is(#match-query,#match-must-have){font-size:16px;font-weight:400;line-height:1.5!important}
html #match-form :is(#match-query,#match-must-have)::placeholder{font-size:16px;font-weight:400;line-height:1.5;opacity:1;color:#aebed0}
html #match-form .member-required-field small{font-size:14px;font-weight:400;line-height:1.5;color:#aebed0}
html[data-design=light] #match-form :is(#match-query,#match-must-have)::placeholder,html[data-design=light] #match-form .member-required-field small{color:#526b80!important}
/* Give translated mobile role names the whole card width, not the space left beside an icon. */
@media(max-width:760px){
 .detailed-discovery .partner-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr))}
 .detailed-discovery .partner-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;align-items:start;align-content:start;gap:8px;padding:10px!important}
 .detailed-discovery .partner-card strong{padding-inline-end:0;hyphens:none;overflow-wrap:normal}
 .detailed-discovery .partner-card .partner-symbol{grid-row:auto;align-self:start}
}
/* Explicit search validation in both the public modal and member workspace. */
#match-form .match-field-error{margin:12px 0 0;padding:10px 12px;border-inline-start:3px solid #fb7185;border-radius:8px;background:#fb718518;color:#fecdd3;font-size:.9rem;line-height:1.5;overflow-wrap:anywhere}
#match-form .match-field-error[hidden]{display:none!important}
#match-form .match-field-invalid{outline:2px solid #fb7185;outline-offset:5px;border-radius:12px}
#match-form #other-market[aria-invalid=true]{border-color:#fb7185!important;box-shadow:0 0 0 2px #fb718528}
#match-form #match-error:not(:empty){padding:12px 14px;border:1px solid #fb7185;border-radius:10px;background:#fb718518;color:#fecdd3;font-weight:600;line-height:1.5}
html[data-design=light] #match-form :is(.match-field-error,#match-error:not(:empty)){background:#fff1f2;color:#9f1239}
