/* Route discovery and setup. Existing inputs, research states and degree
   eligibility rules retain their current behavior. */
body.ds-discovery-page {
  --discovery-ink:var(--ds-navy,#192c43);
  --discovery-muted:var(--ds-muted,#526174);
  --discovery-line:var(--ds-border,#d9e1ea);
  --discovery-paper:var(--ds-surface,#fff);
  --discovery-canvas:var(--ds-canvas,#faf9f6);
  --discovery-blue:var(--ds-cobalt,#EB6600);
  --discovery-navy:var(--ds-soft-blue,#f7f6f3);
  --discovery-navy-line:var(--ds-border,#d4dce9);
  --discovery-navy-muted:var(--ds-muted,#4e5e74);
  --discovery-navy-accent:var(--ds-cobalt,#EB6600);
  --ink:var(--discovery-ink);
  --green:var(--discovery-blue);
  --lime:var(--ds-soft-blue,#FFF0E3);
  --paper:var(--discovery-canvas);
  --muted:var(--discovery-muted);
  --line:var(--discovery-line);
  color:var(--discovery-ink);
  background:var(--discovery-canvas);
  font-size:1rem;
  line-height:1.6;
}
body.ds-discovery-page [hidden] { display:none!important; }
body.ds-discovery-page :is(button,input,select,textarea) { font-family:var(--ds-font,"Geist",system-ui,sans-serif); }
body.ds-discovery-page :is(button,a,input,select,textarea,summary):focus-visible { outline:3px solid var(--discovery-blue); outline-offset:3px; }
body.ds-discovery-page :is(.portal-primary,.portal-secondary,.pf-button,.tw-button,.audit-primary,.audit-secondary) { min-height:46px; border-radius:6px; font-size:1rem; line-height:1.4; }
body.ds-discovery-page :is(.portal-field,.portal-quick-form,.pf-search,.audit-fields,.audit-wide) :is(input:not([type=checkbox]):not([type=hidden]),select,textarea) { min-height:48px; font-size:1rem; color:var(--discovery-ink); border-color:#9eacbf; border-radius:6px; background-color:var(--discovery-paper); }
body.ds-discovery-page :is(.portal-field>span,.portal-quick-form label,.audit-fields label,.audit-wide) { color:var(--discovery-ink); font-size:.875rem; }
body.ds-discovery-page :is(.portal-hint,.portal-intro,.portal-school-filter,.portal-ranking-note,.portal-estimate-note,.portal-target-school,.program-policy,.program-conditions) { color:var(--discovery-muted); font-size:.875rem; line-height:1.6; }

/* The setup stays a focused question, with room to make a real choice. */
body.ds-discovery-page #portal-app { width:100%; max-width:1380px; padding:32px 32px 58px; margin-inline:auto; }
body.ds-discovery-page .portal-question { width:100%; max-width:790px; margin:20px auto 0; padding:0 0 32px; border:0; border-radius:0; background:transparent; box-shadow:none; }
body.ds-discovery-page .portal-question h1 { max-width:22ch; font-size:clamp(2rem,3.5vw,2.75rem); line-height:1.12; letter-spacing:-.035em; font-weight:650; margin:0 0 25px; }
body.ds-discovery-page .portal-back { display:inline-flex; align-items:center; min-height:44px; padding:7px 0; gap:7px; margin-bottom:20px; color:var(--discovery-muted); font-size:.875rem; text-decoration:underline; text-underline-offset:4px; }
body.ds-discovery-page .portal-question .portal-choices { gap:0; margin:24px 0; border-top:1px solid var(--discovery-line); }
body.ds-discovery-page .portal-question .portal-choice { min-height:91px; padding:22px 20px; margin:0; border:0; border-bottom:1px solid var(--discovery-line); border-left:3px solid transparent; border-radius:0; background:var(--discovery-paper); color:var(--discovery-ink); box-shadow:none; transform:none; text-align:left; }
body.ds-discovery-page .portal-question .portal-choice strong { display:block; font-size:1.125rem; line-height:1.4; font-weight:600; }
body.ds-discovery-page .portal-question .portal-choice small { display:block; max-width:65ch; color:var(--discovery-muted); font-size:.9375rem; line-height:1.6; margin-top:6px; }
body.ds-discovery-page .portal-question .portal-choice:hover { background:var(--ds-soft-blue,#FFF0E3); border-left-color:var(--discovery-blue); box-shadow:none; transform:none; }
body.ds-discovery-page .portal-question .portal-choice[aria-pressed=true] { border-left-color:var(--discovery-blue); background:var(--ds-soft-blue,#FFF0E3); }
body.ds-discovery-page .portal-choice>span[aria-hidden=true],
body.ds-discovery-page .portal-degree-option>span[aria-hidden=true] { display:none; }
body.ds-discovery-page .portal-question .portal-start-browse { margin:0; padding-block:5px; }
body.ds-discovery-page .portal-start-browse a { display:inline-flex; align-items:center; min-height:44px; color:var(--tok-acc-text,#B84F00); font-size:.9375rem; text-underline-offset:4px; }
body.ds-discovery-page .portal-links { gap:12px 20px; margin-block:20px; }
body.ds-discovery-page .portal-links :is(a,button) { min-height:44px; font-size:.9375rem; color:var(--tok-acc-text,#B84F00); }
body.ds-discovery-page .portal-quick-form { gap:20px; }
body.ds-discovery-page .portal-quick-form>.portal-primary { min-height:50px; padding:13px 21px; }
body.ds-discovery-page .portal-question :is(.portal-tip,.portal-degree-filter-wrap,.portal-ranking-details) { padding:15px 0; border:0; border-block:1px solid var(--discovery-line); border-radius:0; background:transparent; }
body.ds-discovery-page :is(.portal-tip,.portal-degree-filter-wrap,.portal-ranking-details,.portal-route-options,.portal-matching-plans)>summary { min-height:44px; font-size:.9375rem; color:var(--discovery-ink); }
body.ds-discovery-page .portal-current-target { border:0; border-left:3px solid var(--discovery-blue); border-radius:0; padding:18px 20px; background:var(--ds-soft-blue,#FFF0E3); }
body.ds-discovery-page .portal-current-target strong { font-size:1.0625rem; line-height:1.5; }
body.ds-discovery-page .portal-current-target p { font-size:.9375rem; color:var(--discovery-muted); }
body.ds-discovery-page #portal-degree-results { margin-top:18px; }
body.ds-discovery-page .portal-degree-option { padding:19px 17px; margin-bottom:0; border:0; border-bottom:1px solid var(--discovery-line); border-radius:0; background:var(--discovery-paper); color:var(--discovery-ink); }
body.ds-discovery-page .portal-degree-option strong { font-size:1rem; line-height:1.5; }
body.ds-discovery-page .portal-degree-option small { font-size:.875rem; line-height:1.6; color:var(--discovery-muted); }
body.ds-discovery-page .portal-degree-option:hover { background:var(--ds-soft-blue,#FFF0E3); }
body.ds-discovery-page .portal-degree-option .portal-readiness-label { color:var(--tok-acc-text,#B84F00); font-size:.875rem; letter-spacing:0; text-transform:none; }
body.ds-discovery-page .portal-readiness-card { padding:26px; background:var(--discovery-paper); border:1px solid var(--discovery-line); border-top:3px solid var(--discovery-blue); border-radius:6px; box-shadow:none; }
body.ds-discovery-page .portal-readiness-card h2 { font-size:1.75rem; line-height:1.2; letter-spacing:-.025em; margin-block:12px; }
body.ds-discovery-page .portal-readiness-card>p { color:var(--discovery-muted); font-size:1rem; line-height:1.65; }
body.ds-discovery-page .portal-readiness-label { font-size:.875rem; line-height:1.5; letter-spacing:0; text-transform:none; }
body.ds-discovery-page .portal-actions { gap:12px; flex-wrap:wrap; }
body.ds-discovery-page .portal-actions :is(.portal-primary,.portal-secondary) { padding:12px 18px; }
body.ds-discovery-page .portal-route-card { padding:24px 0 24px 22px; margin-block:0 20px; border:0; border-left:3px solid var(--discovery-blue); border-bottom:1px solid var(--discovery-line); border-radius:0; box-shadow:none; background:transparent; }
body.ds-discovery-page .portal-route-card :is(h2,h3) { font-size:1.4rem; line-height:1.35; letter-spacing:-.02em; margin:0 0 8px; }
body.ds-discovery-page .portal-route-facts { gap:8px 16px; margin-block:15px; font-size:.9375rem; color:var(--discovery-muted); }
body.ds-discovery-page .portal-route-facts>strong { color:var(--discovery-ink); }
body.ds-discovery-page .portal-route-estimates { gap:12px 22px; }
body.ds-discovery-page .portal-route-estimates dt { font-size:.875rem; color:var(--discovery-muted); }
body.ds-discovery-page .portal-route-estimates dd { font-size:1.4rem; color:var(--discovery-ink); }
body.ds-discovery-page .portal-home-heading h1 { font-size:clamp(1.9rem,3.3vw,2.6rem); line-height:1.15; letter-spacing:-.035em; }
body.ds-discovery-page .portal-home-heading p { font-size:1rem; color:var(--discovery-muted); }
body.ds-discovery-page .portal-kicker { display:none; }
body.ds-discovery-page :is(.portal-review-card,.portal-focused-review,.portal-comparing,.portal-empty-result) { border-color:var(--discovery-line); border-radius:7px; background:var(--discovery-paper); box-shadow:none; }
body.ds-discovery-page .portal-comparing { padding:24px; }
body.ds-discovery-page .portal-comparing h2 { font-size:1.5rem; letter-spacing:-.025em; }
body.ds-discovery-page .portal-comparing p { color:var(--discovery-muted); font-size:.9375rem; }
body.ds-discovery-page .portal-footer { color:var(--discovery-muted); font-size:.875rem; }

/* A short learner setup: readable choices, explicit progress, optional detail. */
body.ds-discovery-page .portal-profile-progress { margin:0 0 24px; color:var(--discovery-muted); font-size:.9375rem; line-height:1.5; }
body.ds-discovery-page .portal-profile-progress ol { display:flex; list-style:none; padding:0; margin:0 0 10px; gap:8px; }
body.ds-discovery-page .portal-profile-progress li { flex:1; min-width:0; padding-top:10px; border-top:3px solid var(--discovery-line); font-size:.875rem; }
body.ds-discovery-page .portal-profile-progress li[aria-current=step] { color:var(--tok-acc-text,#B84F00); border-top-color:var(--tok-acc-btn,#C84A00); font-weight:600; }
body.ds-discovery-page .portal-profile-progress p { margin:0; font-size:.875rem; }
body.ds-discovery-page .portal-profile-progress progress { appearance:none; width:120px; height:6px; border:0; border-radius:3px; overflow:hidden; background:var(--discovery-line); }
body.ds-discovery-page .portal-profile-progress progress::-webkit-progress-bar { background:var(--discovery-line); }
body.ds-discovery-page .portal-profile-progress progress::-webkit-progress-value { background:var(--discovery-blue); }
body.ds-discovery-page .portal-profile-progress progress::-moz-progress-bar { background:var(--discovery-blue); }
body.ds-discovery-page .portal-profile-options { display:grid; gap:10px; border:0; padding:0; margin:12px 0 24px; min-width:0; }
body.ds-discovery-page .portal-profile-options legend { padding:0; margin:0 0 10px; color:var(--discovery-ink); font-size:1rem; font-weight:600; }
body.ds-discovery-page .portal-profile-options label { display:flex; align-items:center; gap:12px; min-height:52px; padding:12px 16px; border:1px solid var(--discovery-line); border-radius:6px; background:var(--discovery-paper); color:var(--discovery-ink); font-size:1rem; line-height:1.5; cursor:pointer; }
body.ds-discovery-page .portal-profile-options label:has(input:checked) { border-color:var(--discovery-blue); background:var(--ds-soft-blue,#FFF0E3); }
body.ds-discovery-page .portal-profile-options label:has(input:focus-visible) { outline:3px solid var(--discovery-blue); outline-offset:3px; }
body.ds-discovery-page .portal-profile-options input:is([type=radio],[type=checkbox]) { flex:0 0 auto; width:20px; height:20px; min-height:0; margin:0; accent-color:var(--discovery-blue); }
body.ds-discovery-page .portal-profile-options label>span { flex:1; }
body.ds-discovery-page .portal-profile-options label small { display:block; color:var(--discovery-muted); font-size:.875rem; line-height:1.6; margin-top:3px; }
body.ds-discovery-page .portal-profile-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
body.ds-discovery-page .portal-profile-grid>* { min-width:0; }
body.ds-discovery-page .portal-profile-note { padding:14px 18px; border-left:3px solid var(--discovery-blue); color:var(--discovery-muted); background:var(--ds-soft-blue,#FFF0E3); font-size:.9375rem; line-height:1.6; }
body.ds-discovery-page .portal-profile-summary { display:flex; align-items:flex-start; flex-wrap:wrap; justify-content:space-between; gap:16px; padding:18px 20px; margin:0 0 24px; border:1px solid var(--discovery-line); border-radius:6px; background:var(--discovery-paper); }
body.ds-discovery-page .portal-profile-summary h2 { margin:0 0 8px; color:var(--discovery-ink); font-size:1rem; line-height:1.5; }
body.ds-discovery-page .portal-profile-summary :is(p,li) { margin:0; color:var(--discovery-muted); font-size:.9375rem; line-height:1.7; }
body.ds-discovery-page .portal-profile-summary ul { list-style:none; margin:0; padding:0; }
body.ds-discovery-page .portal-profile-summary a { display:inline-flex; align-items:center; min-height:44px; font-size:.9375rem; color:var(--tok-acc-text,#B84F00); text-underline-offset:4px; }
body.ds-discovery-page .portal-profile-summary>h2 { flex-basis:100%; }
body.ds-discovery-page .portal-profile-summary>p { flex:1 1 250px; }
body.ds-discovery-page :is(.portal-profile-badges,.portal-personal-badges) { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
body.ds-discovery-page :is(.portal-profile-badge,.portal-personal-badges>span,.portal-personal-badges>a) { display:inline-flex; align-items:center; gap:6px; min-height:30px; padding:4px 9px; border:1px solid #c4cee8; border-radius:4px; background:var(--ds-soft-blue,#FFF0E3); color:var(--discovery-ink); font-size:.875rem; line-height:1.5; text-decoration:none; }
body.ds-discovery-page :is(a.portal-profile-badge,.portal-personal-badges>a) { min-height:44px; text-decoration:underline; text-underline-offset:3px; }
body.ds-discovery-page .portal-fit-reasons { margin:12px 0 18px; color:var(--discovery-muted); font-size:.9375rem; line-height:1.6; }
body.ds-discovery-page .portal-fit-reasons>summary { min-height:44px; color:var(--tok-acc-text,#B84F00); cursor:pointer; }
@media(max-width:600px) { body.ds-discovery-page .portal-profile-grid { grid-template-columns:1fr; } body.ds-discovery-page .portal-profile-summary { padding:16px; } }

/* Degree discovery: one search zone and aligned, source-backed result rows. */
body.ds-discovery-page .pf-main { max-width:1400px; padding:28px 30px 56px; }
body.ds-discovery-page .pf-heading { align-items:flex-start; gap:18px; margin:0 0 12px; padding:0; border:0; border-radius:0; background:transparent; color:var(--discovery-ink); }
body.ds-discovery-page .pf-heading h1 { color:var(--discovery-ink); font-size:clamp(1.8rem,3vw,2.3rem); line-height:1.15; letter-spacing:-.035em; margin:0 0 10px; }
body.ds-discovery-page .pf-heading p { color:var(--discovery-muted); font-size:1rem; line-height:1.6; margin:0; }
body.ds-discovery-page .pf-heading .pf-plan-link { min-height:44px; font-size:.875rem; }
body.ds-discovery-page .pf-start-links { display:flex; flex-wrap:wrap; align-items:center; gap:6px 22px; margin:0 0 12px; }
body.ds-discovery-page .pf-start-links a { display:inline-flex; align-items:center; min-height:44px; color:var(--tok-acc-text,#B84F00); font-size:.875rem; text-underline-offset:4px; }
body.ds-discovery-page .pf-start-links .pf-build-own { margin:0; }
body.ds-discovery-page .pf-presets { grid-column:1/-1; margin:8px 0 0; gap:7px; }
body.ds-discovery-page .pf-presets button { min-height:44px; padding:9px 12px; border:1px solid transparent; border-radius:6px; background:transparent; color:var(--discovery-ink); font-size:.875rem; }
body.ds-discovery-page .pf-presets button[aria-pressed=true] { border-color:#FFB27A; background:var(--ds-soft-blue,#FFF0E3); color:var(--tok-acc-text,#B84F00); font-weight:600; }
body.ds-discovery-page #program-filters { padding:0; border:0; border-radius:0; background:transparent; gap:12px; }
body.ds-discovery-page #program-filters label>span { color:var(--discovery-muted); font-size:.875rem; }
body.ds-discovery-page #program-filters :is(input[type=search],select) { min-height:48px; border:1px solid var(--ds-control-border,#7b899b); border-radius:7px; color:var(--discovery-ink); background-color:var(--discovery-paper); font-size:1rem; }
body.ds-discovery-page #program-filters .pf-search input { min-height:52px; }
body.ds-discovery-page .pf-more { grid-column:1/-1; }
body.ds-discovery-page .pf-more>summary { min-height:44px; color:var(--tok-acc-text,#B84F00); font-size:.875rem; }
body.ds-discovery-page .pf-more>div { padding:16px; border:1px solid var(--discovery-line); border-radius:8px; background:var(--discovery-paper); grid-template-columns:repeat(3,minmax(0,1fr)); }
body.ds-discovery-page .pf-more .pf-fit-controls { display:contents; }
body.ds-discovery-page .pf-count { margin-block:16px; color:var(--discovery-muted); font-size:.875rem; }
body.ds-discovery-page .pf-build-own { color:var(--discovery-muted); font-size:.875rem; }
body.ds-discovery-page .pf-plan-link { color:var(--tok-acc-text,#B84F00); text-decoration:underline; text-underline-offset:4px; }
body.ds-discovery-page #program-results { display:grid; grid-template-columns:minmax(0,1fr); gap:0; overflow:hidden; border:1px solid var(--discovery-line); border-radius:9px; background:var(--discovery-paper); }
body.ds-discovery-page .pf-program { display:grid; grid-template-columns:minmax(0,1fr) 250px; gap:16px 28px; padding:24px 20px; margin:0; border:0; border-bottom:1px solid var(--discovery-line); border-radius:0; background:var(--discovery-paper); box-shadow:none; min-width:0; }
body.ds-discovery-page .pf-program:last-child { border-bottom:0; }
body.ds-discovery-page .pf-main-col { min-width:0; }
body.ds-discovery-page .pf-school-row { display:flex; align-items:center; gap:10px; }
body.ds-discovery-page .pf-mark { display:inline-grid; place-items:center; flex:none; width:38px; height:38px; border-radius:7px; background:#FFF0E3; color:#B84F00; font-size:.8125rem; font-weight:650; }
body.ds-discovery-page .pf-program h2 { margin:10px 0 6px; color:var(--discovery-ink); font-size:1.1875rem; line-height:1.35; letter-spacing:-.02em; font-weight:650; }
body.ds-discovery-page .pf-program p { color:var(--discovery-muted); font-size:.875rem; line-height:1.6; }
body.ds-discovery-page .pf-school { color:var(--discovery-muted); font-size:.875rem; }
body.ds-discovery-page .pf-meta { color:var(--discovery-muted); gap:7px 16px; font-size:.875rem; margin:0; }
body.ds-discovery-page .pf-badges { margin-top:10px; }
body.ds-discovery-page .pf-badge { background:var(--discovery-canvas); color:var(--discovery-ink); border-radius:4px; font-size:.8125rem; line-height:1.5; padding:4px 7px; }
body.ds-discovery-page .pf-badge-ready { background:#eaf6ef; color:#1e6141; }
body.ds-discovery-page .pf-side { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:12px; min-width:0; padding:0; border:0; }
body.ds-discovery-page .pf-price { font-size:1rem; font-weight:400; color:var(--discovery-ink); text-align:left; }
body.ds-discovery-page .pf-price :is(.pf-price-label,small) { display:block; color:var(--discovery-muted); font-size:.8125rem; line-height:1.6; }
body.ds-discovery-page .pf-price>strong { display:block; font-size:1.1875rem; font-weight:600; letter-spacing:-.03em; line-height:1.4; margin:4px 0; overflow-wrap:anywhere; }
body.ds-discovery-page .pf-side .pf-button { display:inline-flex; align-items:center; justify-content:center; width:100%; min-height:46px; padding:11px 14px; border-radius:7px; font-size:.9375rem; }
body.ds-discovery-page .pf-side button { min-height:44px; padding:7px 0; border:0; color:var(--tok-acc-text,#B84F00); background:transparent; text-decoration:underline; text-underline-offset:4px; font-size:.875rem; text-align:left; }
body.ds-discovery-page .pf-split { margin-top:18px; max-width:450px; }
body.ds-discovery-page .pf-split-value { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:6px 16px; }
body.ds-discovery-page .pf-split-value>span { color:var(--discovery-muted); font-size:.875rem; }
body.ds-discovery-page .pf-split-value>strong { color:var(--tok-acc-text,#B84F00); font-size:1.75rem; font-weight:650; line-height:1.2; letter-spacing:-.03em; }
body.ds-discovery-page .pf-split-value small { color:var(--discovery-muted); font-size:.8125rem; font-weight:400; letter-spacing:0; }
body.ds-discovery-page .pf-split-track { display:flex; gap:3px; height:8px; overflow:hidden; border-radius:3px; background:var(--discovery-line); margin-top:10px; }
body.ds-discovery-page .pf-split-track>span { display:block; min-width:0; }
body.ds-discovery-page .pf-split-outside { background:var(--discovery-blue); }
body.ds-discovery-page .pf-split-school { background:#9caecb; }
body.ds-discovery-page .pf-split-text { margin:7px 0 0; color:var(--discovery-muted); font-size:.875rem; line-height:1.6; }
body.ds-discovery-page .pf-split-text strong { font-weight:600; color:var(--discovery-ink); }
body.ds-discovery-page .pf-split-text>span { display:none; }
body.ds-discovery-page #program-results[data-emphasis=cost] .pf-price>strong { font-size:1.65rem; color:var(--tok-acc-text,#B84F00); }
body.ds-discovery-page #program-results[data-emphasis=cost] .pf-split-value>strong { color:var(--discovery-ink); font-size:1.375rem; }
body.ds-discovery-page #program-results[data-emphasis=cost] .pf-split-outside { background:#8194b8; }
body.ds-discovery-page :is(.pf-empty,.pf-college-tip) { border-color:var(--discovery-line); border-radius:7px; background:var(--discovery-paper); color:var(--discovery-muted); font-size:.9375rem; }
body.ds-discovery-page .pf-coverage { font-size:.875rem; color:var(--discovery-muted); margin-top:20px; }
body.ds-discovery-page .pf-coverage>summary { min-height:44px; }
body.ds-discovery-page .pf-dialog-heading h2 { font-size:1.75rem; letter-spacing:-.025em; line-height:1.25; }
body.ds-discovery-page .pf-dialog-heading p { color:var(--discovery-muted); font-size:.9375rem; }
body.ds-discovery-page .program-facts :is(dt,dd),body.ds-discovery-page .program-policy :is(dt,dd) { font-size:.875rem; line-height:1.6; }
body.ds-discovery-page .program-facts dt,body.ds-discovery-page .program-policy dt { color:var(--discovery-muted); }
body.ds-discovery-page .program-facts dd,body.ds-discovery-page .program-policy dd { color:var(--discovery-ink); }
body.ds-discovery-page .program-facts dl>div,body.ds-discovery-page .program-policy dl>div { background:var(--discovery-canvas); border-color:var(--discovery-line); border-radius:6px; }
body.ds-discovery-page .program-facts a { color:var(--tok-acc-text,#B84F00); }
@media(max-width:1050px) { body.ds-discovery-page .pf-program { grid-template-columns:minmax(0,1fr) 210px; gap:20px; } }
@media(max-width:700px) {
  body.ds-discovery-page .pf-program { grid-template-columns:minmax(0,1fr); }
  body.ds-discovery-page .pf-side { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 14px; align-items:center; }
  body.ds-discovery-page .pf-side .pf-price { grid-column:1/-1; }
  body.ds-discovery-page .pf-side .pf-button { width:auto; }
  body.ds-discovery-page .pf-more>div { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.ds-discovery-page .pf-start-links { gap:3px 18px; }
}
@media(max-width:420px) { body.ds-discovery-page .pf-more>div { grid-template-columns:minmax(0,1fr); } body.ds-discovery-page .pf-side { display:flex; } }

/* The degree-link front door keeps the one-field start unmistakable. */
body.ds-discovery-page .link-plan-main { max-width:1260px; padding:28px 32px 64px; }
body.ds-discovery-page .link-plan-intro { max-width:850px; margin:22px 0 28px; }
body.ds-discovery-page .link-plan-intro .tw-eyebrow { display:none; }
body.ds-discovery-page .link-plan-intro h1 { font-size:clamp(2rem,4vw,3rem); line-height:1.08; letter-spacing:-.035em; color:var(--discovery-ink); margin:0 0 19px; }
body.ds-discovery-page .link-plan-intro>p:last-child { max-width:57ch; font-size:1.0625rem; color:var(--discovery-muted); line-height:1.65; }
body.ds-discovery-page .link-entry { padding:27px 28px; margin-bottom:26px; border:0; border-radius:8px; background:var(--discovery-navy); color:var(--discovery-ink); box-shadow:none; }
body.ds-discovery-page .link-entry label { color:var(--discovery-ink); font-size:1rem; font-weight:550; margin-bottom:12px; }
body.ds-discovery-page .link-entry-row { gap:12px; }
body.ds-discovery-page .link-entry-row input { min-height:54px!important; padding:14px!important; border:1px solid #9aaec8!important; border-radius:5px!important; background:var(--discovery-paper); color:var(--discovery-ink); font-size:1rem!important; }
body.ds-discovery-page .link-entry-row>.tw-button { min-height:54px; padding:13px 20px; border-color:var(--tok-acc-btn,#C84A00); border-radius:7px; background:var(--tok-acc-btn,#C84A00); color:#fff; font-size:1rem; }
body.ds-discovery-page .link-entry-row>.tw-button>span[aria-hidden=true] { display:none; }
body.ds-discovery-page .link-entry .link-help,
body.ds-discovery-page .link-entry .link-account-note { color:var(--discovery-navy-muted); font-size:.875rem; line-height:1.6; }
body.ds-discovery-page .link-entry a:not(.tw-button) { color:var(--tok-acc-text,#B84F00); }
body.ds-discovery-page .link-entry :is(a,button,input):focus-visible { outline-color:var(--discovery-navy-accent); }
body.ds-discovery-page .link-progress { padding:24px; gap:17px; border:1px solid var(--discovery-line); border-left:3px solid var(--discovery-blue); border-radius:6px; background:var(--discovery-paper); }
body.ds-discovery-page .link-progress h2 { color:var(--discovery-ink); font-size:1.4rem; letter-spacing:-.025em; }
body.ds-discovery-page .link-progress p { color:var(--discovery-muted); font-size:1rem; line-height:1.6; }
body.ds-discovery-page .link-progress .link-progress-note { font-size:.875rem; }
body.ds-discovery-page .link-result { margin-block:28px; }
body.ds-discovery-page .link-result h2 { font-size:clamp(1.65rem,3vw,2.1rem); line-height:1.2; letter-spacing:-.025em; color:var(--discovery-ink); }
body.ds-discovery-page .link-result-school { font-size:1rem; color:var(--discovery-muted); }
body.ds-discovery-page .link-result-lead { font-size:1rem; line-height:1.65; color:var(--discovery-muted); }
body.ds-discovery-page :is(.link-result-callout,.link-ready-message,.link-unfinished) { padding:23px 24px; border-color:var(--discovery-line); border-radius:6px; background:var(--discovery-paper); }
body.ds-discovery-page .link-result-callout :is(p,strong),body.ds-discovery-page .link-unfinished>p { font-size:1rem; line-height:1.6; }
body.ds-discovery-page .link-insights { gap:0; border-block:1px solid var(--discovery-line); }
body.ds-discovery-page .link-insight { min-height:0; padding:22px; border:0; border-right:1px solid var(--discovery-line); border-radius:0; background:var(--discovery-paper); }
body.ds-discovery-page .link-insight:last-child { border-right:0; }
body.ds-discovery-page .link-insight h3 { margin-bottom:11px; font-size:.875rem; color:var(--discovery-muted); }
body.ds-discovery-page .link-insight-value { font-size:1.85rem; font-weight:650; color:var(--discovery-ink); letter-spacing:-.03em; }
body.ds-discovery-page .link-insight p { color:var(--discovery-muted); font-size:.875rem; line-height:1.6; }
body.ds-discovery-page .link-observations { gap:24px; }
body.ds-discovery-page .link-observations>div { padding:0; border:0; border-top:2px solid var(--discovery-line); border-radius:0; background:transparent; }
body.ds-discovery-page .link-observations h3 { margin-top:17px; font-size:1.125rem; color:var(--discovery-ink); }
body.ds-discovery-page .link-observations :is(li,p) { color:var(--discovery-muted); font-size:1rem; line-height:1.65; }
body.ds-discovery-page .link-sheet { border-color:var(--discovery-line); border-radius:6px; }
body.ds-discovery-page .link-sheet-heading { padding:20px; border-color:var(--discovery-line); }
body.ds-discovery-page .link-sheet-heading h3 { font-size:1.25rem; }
body.ds-discovery-page .link-sheet-section summary { min-height:58px; padding:16px 20px; background:var(--discovery-canvas); font-size:1rem; }
body.ds-discovery-page .link-sheet-section summary span { color:var(--discovery-muted); font-size:.875rem; }
body.ds-discovery-page .link-sheet .tw-table-wrap { max-width:100%; overflow:auto; }
body.ds-discovery-page .link-sheet :is(th,td) { padding:14px 18px; font-size:.9375rem; overflow-wrap:anywhere; }
body.ds-discovery-page .link-course-title { font-size:1rem; }
body.ds-discovery-page :is(.link-course-code,.link-course-note,.link-sheet-candidates,.link-alternative-limit) { color:var(--discovery-muted); font-size:.875rem; line-height:1.6; }
body.ds-discovery-page :is(.link-sources,.link-gap-details,.link-findings,.link-student-notes) { border-color:var(--discovery-line); border-radius:6px; background:var(--discovery-paper); }
body.ds-discovery-page :is(.link-sources,.link-gap-details,.link-findings)>summary { min-height:44px; color:var(--discovery-ink); font-size:1rem; }
body.ds-discovery-page .link-review-note { border-radius:6px; font-size:.9375rem; line-height:1.6; }
body.ds-discovery-page .link-history { margin-top:32px; border-color:var(--discovery-line); font-size:1rem; }
body.ds-discovery-page .link-history>summary { min-height:48px; font-size:1rem; color:var(--discovery-ink); }
body.ds-discovery-page .link-history .tw-item { padding:19px 0; border-color:var(--discovery-line); }
body.ds-discovery-page .link-history .tw-item h3 { font-size:1.0625rem; }
body.ds-discovery-page .link-history .tw-item p { color:var(--discovery-muted); font-size:.9375rem; }
body.ds-discovery-page .link-choice { min-height:80px; border-color:var(--discovery-line); border-radius:5px; background:var(--discovery-paper); padding:20px; }
body.ds-discovery-page .link-choice strong { font-size:1.0625rem; color:var(--discovery-ink); }
body.ds-discovery-page .link-choice small { color:var(--discovery-muted); font-size:.9375rem!important; }

/* The manual audit remains an exact, editable requirement ledger. */
body.ds-discovery-page.audit-import-page #audit-app { max-width:1220px; padding:0 32px; margin:32px auto 64px; }
body.ds-discovery-page .audit-intro { max-width:820px; margin-bottom:28px; }
body.ds-discovery-page .audit-intro .audit-eyebrow { display:none; }
body.ds-discovery-page .audit-intro h1 { font-size:clamp(1.9rem,3.4vw,2.65rem); letter-spacing:-.035em; line-height:1.15; margin-block:0 17px; }
body.ds-discovery-page .audit-intro>p:last-child { color:var(--discovery-muted); font-size:1rem; line-height:1.65; }
body.ds-discovery-page .audit-card { padding:28px; border:0; border-top:2px solid var(--discovery-line); border-radius:0; background:var(--discovery-paper); margin-bottom:24px; box-shadow:none; }
body.ds-discovery-page .audit-card h2 { font-size:1.3rem; line-height:1.4; letter-spacing:-.02em; }
body.ds-discovery-page .audit-fields { gap:20px; }
body.ds-discovery-page .audit-fields label,body.ds-discovery-page .audit-wide,body.ds-discovery-page .audit-editor-row>label { color:var(--discovery-ink); font-size:.875rem; }
body.ds-discovery-page .audit-card :is(p,small) { color:var(--discovery-muted); font-size:.875rem; line-height:1.65; }
body.ds-discovery-page .audit-card summary { min-height:46px; color:var(--tok-acc-text,#B84F00); font-size:.9375rem; }
body.ds-discovery-page .audit-editor-row { padding:17px; border-color:var(--discovery-line); border-radius:5px; background:var(--discovery-canvas); }
body.ds-discovery-page .audit-editor-row input:not([type=checkbox]) { min-height:46px; border-color:#9eacbf; font-size:1rem; }
body.ds-discovery-page .audit-editor-row>label>span:first-child { font-size:.875rem; }
body.ds-discovery-page .audit-checkbox { min-height:46px; font-size:.875rem; }
body.ds-discovery-page .audit-remove-row { min-height:46px; font-size:.875rem; }
body.ds-discovery-page .audit-private { color:var(--discovery-muted)!important; }
body.ds-discovery-page .audit-table-wrap { border-color:var(--discovery-line); border-radius:5px; }
body.ds-discovery-page .audit-table-wrap table { font-size:.9375rem; }
body.ds-discovery-page .audit-table-wrap :is(th,td) { border-color:var(--discovery-line); padding:13px; }
body.ds-discovery-page .audit-table-wrap th { background:var(--discovery-canvas); color:var(--discovery-muted); }
body.ds-discovery-page .audit-confirm { font-size:.9375rem; line-height:1.6; }

/* Retained guided and advanced builders use the same visual vocabulary. */
body.ds-discovery-page .intro-eyebrow { display:none; }
body.ds-discovery-page .intro { gap:30px; }
body.ds-discovery-page .intro h1 { font-size:clamp(2rem,4vw,3rem); line-height:1.12; letter-spacing:-.035em; color:var(--discovery-ink); }
body.ds-discovery-page .intro-copy>p:last-child { color:var(--discovery-muted); font-size:1rem; line-height:1.65; }
body.ds-discovery-page .wizard-shell { border:1px solid var(--discovery-line); border-radius:8px; background:var(--discovery-paper); box-shadow:none; }
body.ds-discovery-page .wizard-topline { padding:16px 24px; border-color:var(--discovery-line); }
body.ds-discovery-page #step-panel .step-title { font-size:clamp(1.65rem,3vw,2.2rem); line-height:1.2; letter-spacing:-.025em; }
body.ds-discovery-page #step-panel .step-description { font-size:1rem; color:var(--discovery-muted); line-height:1.65; }
body.ds-discovery-page .step-eyebrow { font-size:.875rem; letter-spacing:0; font-weight:500; }
body.ds-discovery-page .choice-grid { gap:12px; }
body.ds-discovery-page .choice-grid .choice-card { min-height:80px; border-color:var(--discovery-line); border-radius:5px; box-shadow:none; }
body.ds-discovery-page .choice-grid .choice-card.selected { border-color:var(--discovery-blue); background:var(--ds-soft-blue,#FFF0E3); }
body.ds-discovery-page .choice-copy strong { font-size:1rem; }
body.ds-discovery-page .choice-copy :is(small,span) { color:var(--discovery-muted); font-size:.875rem; line-height:1.6; }
body.ds-discovery-page .wizard-sidebar { border:0; border-radius:7px; background:var(--discovery-navy); color:var(--discovery-ink); }
body.ds-discovery-page #wizard-progress { border-color:var(--discovery-navy-line); background:transparent; }
body.ds-discovery-page #journey-panel>h3 { color:var(--discovery-ink); font-size:1.25rem; }
body.ds-discovery-page .wizard-sidebar :is(.progress-label,.journey-note,.step-eyebrow,.summary-item,.journey-stop,.journey-line) { color:var(--discovery-navy-muted); font-size:.875rem; }
body.ds-discovery-page .wizard-sidebar :is(.journey-stop strong,.summary-item strong) { color:var(--discovery-ink); }
body.ds-discovery-page .wizard-sidebar .sidebar-community-link { color:var(--tok-acc-text,#B84F00); border-color:var(--discovery-navy-line); }
body.ds-discovery-page #wizard-footer { border-color:var(--discovery-line); background:var(--discovery-paper); padding:18px 24px; }
body.ds-discovery-page #wizard-footer .button { min-height:46px; font-size:.9375rem; }
body.ds-discovery-page .builder { border-color:var(--discovery-line); border-radius:8px; background:var(--discovery-paper); }
body.ds-discovery-page .builder-heading { border-color:var(--discovery-line); padding:20px 24px; }
body.ds-discovery-page .builder-heading h2 { font-size:1.25rem; }
body.ds-discovery-page .builder-preview { background:var(--ds-soft-blue,#FFF0E3); }
body.ds-discovery-page .preview-card { border-color:var(--discovery-line); border-radius:6px; box-shadow:none; }
body.ds-discovery-page .preview-card h3 { font-size:1.3rem; line-height:1.35; }
body.ds-discovery-page .preview-card :is(p,small) { font-size:.875rem; color:var(--discovery-muted); }
body.ds-discovery-page .plan-sidebar { background:var(--discovery-navy); color:var(--discovery-ink); border-radius:7px; }
body.ds-discovery-page .plan-sidebar :is(.sidebar-caption,.metrics label,.metric-label,.sidebar-price small) { color:var(--discovery-navy-muted); font-size:.875rem; }
body.ds-discovery-page .how>.eyebrow { display:none; }
body.ds-discovery-page .how h2 { font-size:clamp(1.8rem,3vw,2.3rem); line-height:1.2; letter-spacing:-.025em; }
body.ds-discovery-page .how-grid p { font-size:1rem; color:var(--discovery-muted); }

/* School insights keep evidence, practical fit and consent alongside choices. */
body.ds-discovery-page.school-page .school-main { max-width:1400px; padding:28px 32px 64px; }
body.ds-discovery-page .school-breadcrumb { color:var(--tok-acc-text,#B84F00); font-size:.9375rem; }
body.ds-discovery-page .school-hero { padding:27px 28px; margin-bottom:25px; border-radius:8px; background:var(--discovery-navy); color:var(--discovery-ink); }
body.ds-discovery-page .school-hero .school-eyebrow { display:none; }
body.ds-discovery-page .school-hero h1 { color:var(--discovery-ink); font-size:clamp(1.9rem,3.3vw,2.45rem); line-height:1.15; letter-spacing:-.035em; }
body.ds-discovery-page .school-hero p { color:var(--discovery-navy-muted); font-size:1rem; line-height:1.65; }
body.ds-discovery-page .school-hero a:not(.school-button) { color:var(--tok-acc-text,#B84F00); }
body.ds-discovery-page .school-hero :is(a,button):focus-visible { outline-color:var(--discovery-navy-accent); }
body.ds-discovery-page .school-button { min-height:46px; padding:11px 17px; border-radius:5px; color:var(--discovery-ink); background:var(--discovery-paper); border-color:var(--discovery-line); font-size:.9375rem; font-weight:600; }
body.ds-discovery-page .school-button.primary { color:#fff; background:var(--tok-acc-btn,#C84A00); border-color:var(--tok-acc-btn,#C84A00); }
body.ds-discovery-page .school-hero .school-button.primary { background:var(--tok-acc-btn,#C84A00); border-color:var(--tok-acc-btn,#C84A00); color:#fff; }
body.ds-discovery-page .school-highlight-grid { gap:0; margin-block:24px; border-block:1px solid var(--discovery-line); background:var(--discovery-paper); }
body.ds-discovery-page .school-highlight { padding:22px; border:0; border-right:1px solid var(--discovery-line); border-radius:0; background:transparent; }
body.ds-discovery-page .school-highlight:last-child { border-right:0; }
body.ds-discovery-page .school-highlight p { color:var(--discovery-muted); font-size:.875rem; font-weight:500; }
body.ds-discovery-page .school-highlight strong { color:var(--discovery-ink); font-size:1.5rem; font-weight:650; letter-spacing:-.025em; }
body.ds-discovery-page .school-highlight small { color:var(--discovery-muted); font-size:.875rem; line-height:1.65; }
body.ds-discovery-page .school-two-columns { gap:26px; }
body.ds-discovery-page .school-two-columns .school-card { padding:20px 0; border:0; border-top:2px solid var(--discovery-line); border-radius:0; background:transparent; }
body.ds-discovery-page .school-card,body.ds-discovery-page .school-section.school-card { padding:24px; border-color:var(--discovery-line); border-radius:6px; box-shadow:none; }
body.ds-discovery-page :is(.school-card,.school-section) h2 { color:var(--discovery-ink); font-size:1.4rem; line-height:1.3; letter-spacing:-.025em; }
body.ds-discovery-page :is(.school-card,.school-section) p { color:var(--discovery-muted); font-size:1rem; line-height:1.65; }
body.ds-discovery-page .school-points { color:var(--discovery-muted); font-size:1rem; line-height:1.65; }
body.ds-discovery-page .school-plan-list { gap:0; }
body.ds-discovery-page .school-plan { padding:21px 18px; border:0; border-bottom:1px solid var(--discovery-line); border-radius:0; background:var(--discovery-paper); }
body.ds-discovery-page .school-plan h3 { font-size:1.125rem; line-height:1.4; color:var(--discovery-ink); }
body.ds-discovery-page .school-plan p { font-size:.9375rem; color:var(--discovery-muted); }
body.ds-discovery-page .school-sources { border-color:var(--discovery-line); border-radius:6px; }
body.ds-discovery-page .school-sources summary { min-height:46px; font-size:1rem; font-weight:600; }
body.ds-discovery-page .school-source-list :is(a,small) { font-size:.875rem; }
body.ds-discovery-page .school-source-list a { color:var(--tok-acc-text,#B84F00); }
body.ds-discovery-page .school-source-list small,body.ds-discovery-page .school-method { color:var(--discovery-muted)!important; }
body.ds-discovery-page .school-browse-grid { gap:20px; }
body.ds-discovery-page .school-fields label { font-size:.9375rem; }
body.ds-discovery-page .school-field :is(input,select),body.ds-discovery-page .school-compare select { min-height:48px; border-color:#9eacbf; border-radius:6px; background-color:var(--discovery-paper); color:var(--discovery-ink); font-size:1rem; }
body.ds-discovery-page .school-consent { font-size:.9375rem; line-height:1.65; }

@media(max-width:1000px) {
  body.ds-discovery-page .pf-main,body.ds-discovery-page .link-plan-main,body.ds-discovery-page #portal-app { padding-inline:24px; }
  body.ds-discovery-page .pf-heading { padding:0; }
  body.ds-discovery-page .link-entry-row { flex-wrap:wrap; }
  body.ds-discovery-page .link-entry-row input { flex-basis:280px; }
}
@media(max-width:800px) {
  body.ds-discovery-page .school-highlight { border-right:0; border-bottom:1px solid var(--discovery-line); }
  body.ds-discovery-page .school-highlight:last-child { border-bottom:0; }
}
@media(max-width:760px) {
  body.ds-discovery-page #portal-app { padding:24px 20px 54px; }
  body.ds-discovery-page .portal-question { margin-top:10px; }
  body.ds-discovery-page .portal-question h1 { font-size:2rem; margin-bottom:22px; }
  body.ds-discovery-page .portal-question .portal-choice { min-height:88px; padding:19px 16px; }
  body.ds-discovery-page .portal-question .portal-choice strong { font-size:1.0625rem; }
  body.ds-discovery-page .portal-readiness-card { padding:23px 20px; }
  body.ds-discovery-page .portal-route-card { padding:20px 0 22px 17px; }
  body.ds-discovery-page .pf-main,body.ds-discovery-page .link-plan-main { padding:22px 20px 58px; }
  body.ds-discovery-page .pf-heading { padding:0; }
  body.ds-discovery-page .pf-heading h1 { font-size:1.9rem; }
  body.ds-discovery-page .pf-program { padding:22px 17px; }
  body.ds-discovery-page .pf-program h2 { font-size:1.125rem; }
  body.ds-discovery-page #program-filters { gap:14px; }
  body.ds-discovery-page .pf-side { gap:15px; }
  body.ds-discovery-page #program-dialog { padding:22px 20px; }
  body.ds-discovery-page .link-plan-intro { margin-top:17px; }
  body.ds-discovery-page .link-plan-intro h1 { font-size:2.25rem; }
  body.ds-discovery-page .link-entry { padding:23px 20px; }
  body.ds-discovery-page .link-entry-row { flex-direction:column; }
  body.ds-discovery-page .link-entry-row input { flex-basis:auto; }
  body.ds-discovery-page .link-insights { grid-template-columns:1fr; }
  body.ds-discovery-page .link-insight { border-right:0; border-bottom:1px solid var(--discovery-line); padding:20px; }
  body.ds-discovery-page .link-insight:last-child { border-bottom:0; }
  body.ds-discovery-page .link-observations { gap:24px; }
  body.ds-discovery-page .link-sheet-section summary { flex-wrap:wrap; }
  body.ds-discovery-page .link-history .tw-item { flex-wrap:wrap; }
  body.ds-discovery-page.audit-import-page #audit-app { margin-top:25px; padding-inline:20px; }
  body.ds-discovery-page .audit-card { padding:23px 20px; }
  body.ds-discovery-page .wizard-sidebar { background:var(--discovery-paper); color:var(--discovery-ink); }
  body.ds-discovery-page #wizard-progress .progress-label { color:var(--discovery-muted); }
  body.ds-discovery-page #wizard-footer { padding:16px; }
  body.ds-discovery-page.school-page .school-main { padding:23px 20px 56px; }
  body.ds-discovery-page .school-hero { padding:24px 21px; }
  body.ds-discovery-page .school-hero h1 { font-size:1.9rem; }
  body.ds-discovery-page .school-highlight { border-right:0; border-bottom:1px solid var(--discovery-line); padding:20px; }
  body.ds-discovery-page .school-highlight:last-child { border-bottom:0; }
  body.ds-discovery-page .school-plan { padding:20px 17px; }
  body.ds-discovery-page .school-card { padding:22px 20px; }
}

@media(max-width:420px) {
  body.ds-discovery-page #portal-app,body.ds-discovery-page .pf-main,body.ds-discovery-page .link-plan-main { padding-inline:16px; }
  body.ds-discovery-page .portal-question h1,body.ds-discovery-page .link-plan-intro h1 { font-size:1.85rem; }
  body.ds-discovery-page .portal-actions :is(.portal-primary,.portal-secondary) { width:100%; }
  body.ds-discovery-page .portal-route-card { padding-left:14px; }
  body.ds-discovery-page .pf-heading { padding:0; }
  body.ds-discovery-page .pf-heading h1 { font-size:1.7rem; }
  body.ds-discovery-page .pf-presets button { padding-inline:12px; }
  body.ds-discovery-page .pf-program { padding-inline:14px; }
  body.ds-discovery-page .link-entry { padding-inline:17px; }
  body.ds-discovery-page .link-choice { flex-wrap:wrap; }
  body.ds-discovery-page.audit-import-page #audit-app { padding-inline:16px; }
  body.ds-discovery-page .audit-card { padding-inline:17px; }
  body.ds-discovery-page .audit-editor-row { padding:14px; }
  body.ds-discovery-page.school-page .school-main { padding-inline:16px; }
  body.ds-discovery-page .school-hero { padding-inline:18px; }
  body.ds-discovery-page .school-hero h1 { font-size:1.75rem; }
}
@media(prefers-reduced-motion:reduce) {
  body.ds-discovery-page .portal-choice { transition:none; transform:none; }
  body.ds-discovery-page .link-spinner { animation:none; }
}
@media print {
  body.ds-discovery-page { color:#000; background:#fff; }
  body.ds-discovery-page :is(#portal-app,.pf-main,.link-plan-main) { width:100%; max-width:none; margin:0; padding:0; }
  body.ds-discovery-page :is(.pf-heading,.link-entry,.wizard-sidebar,.plan-sidebar,.school-hero) { color:#000; background:#fff; border-color:#aaa; box-shadow:none; }
  body.ds-discovery-page :is(.pf-heading h1,.pf-heading p,.pf-heading a,.wizard-sidebar .progress-label,.wizard-sidebar #journey-panel>h3,.wizard-sidebar .summary-item,.wizard-sidebar .journey-stop) { color:#000; }
  body.ds-discovery-page .link-sheet .tw-table-wrap { overflow:visible; }
  body.ds-discovery-page .link-sheet table { min-width:0; font-size:10pt; }
  body.ds-discovery-page :is(.pf-program,.link-insight,.link-sheet tr,.audit-editor-row) { break-inside:avoid; }
  body.ds-discovery-page .school-hero :is(h1,p,a) { color:#000; }
}

/* Plan finder: subject, outside-credit and review-tier controls. */
body.ds-discovery-page #program-filters { grid-template-columns:minmax(220px,1.7fr) repeat(2,minmax(150px,1fr)); }
body.ds-discovery-page .pf-more>div { align-items:flex-end; }
body.ds-discovery-page .pf-check { display:flex; align-items:center; gap:10px; min-height:48px; cursor:pointer; }
body.ds-discovery-page #program-filters .pf-check>span { margin:0; color:var(--discovery-ink); font-size:.9375rem; }
body.ds-discovery-page .pf-check input { width:24px; height:24px; accent-color:var(--discovery-blue,#EB6600); }
body.ds-discovery-page .pf-results-head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 20px; }
body.ds-discovery-page .pf-results-head .pf-count { margin-block:18px; }
body.ds-discovery-page .pf-sort { display:flex; align-items:center; gap:8px; color:var(--discovery-muted); font-size:.875rem; }
body.ds-discovery-page .pf-sort select { min-height:40px; padding:0 30px 0 10px; border:1px solid #9eacbf; border-radius:6px; background-color:#fff; color:var(--discovery-ink); font-size:.9375rem; }
body.ds-discovery-page .pf-badge-confirm { background:#fff4e5; color:#8a4b0f; }
body.ds-discovery-page .pf-confirm-note { margin:12px 0 0; padding:10px 12px; border-left:3px solid #d98a2b; border-radius:0 6px 6px 0; background:#fffaf2; color:#5c3a12; font-size:.875rem; line-height:1.5; }
body.ds-discovery-page .pf-confirm-note span { color:#8a4b0f; white-space:nowrap; }
body.ds-discovery-page .pf-confirm-detail { margin:0 0 18px; padding:16px 18px; border:1px solid #f0d3a8; border-radius:8px; background:#fffaf2; }
body.ds-discovery-page .pf-confirm-detail h3 { margin:0 0 8px; color:#5c3a12; font-size:1rem; }
body.ds-discovery-page .pf-confirm-detail ul { margin:0 0 10px; padding-left:20px; color:#5c3a12; font-size:.9375rem; }
body.ds-discovery-page .pf-confirm-detail p { margin:0; color:#6b4a22; font-size:.875rem; }
@media(max-width:1100px) { body.ds-discovery-page #program-filters { grid-template-columns:repeat(2,minmax(0,1fr)); } body.ds-discovery-page #program-filters .pf-search { grid-column:1/-1; } }
@media(max-width:600px) { body.ds-discovery-page #program-filters { grid-template-columns:minmax(0,1fr); } }
body.ds-discovery-page .pf-legend { margin:0 0 8px; color:var(--discovery-muted); font-size:.875rem; line-height:1.6; }
body.ds-discovery-page .pf-legend > summary { min-height:44px; display:flex; align-items:center; color:var(--tok-acc-text,#B84F00); cursor:pointer; }
body.ds-discovery-page .pf-legend > p { margin:4px 0 12px; }
body.ds-discovery-page .pf-legend .pf-badge { margin-right:2px; }
body.ds-discovery-page .pf-split-label { color:var(--discovery-muted); font-weight:500; }

/* Guided planner: review tier on each recommended plan. */
body.ds-discovery-page .portal-tier { margin:6px 0 0; }
body.ds-discovery-page .portal-tier-badge { display:inline-block; padding:3px 8px; border-radius:4px; font-size:.8125rem; font-weight:600; }
body.ds-discovery-page .portal-tier-reviewed { background:#eaf6ef; color:#1e6141; }
body.ds-discovery-page .portal-tier-confirm { background:#fff4e5; color:#8a4b0f; }
body.ds-discovery-page .portal-confirm-questions { margin:10px 0 0; padding:8px 12px; border-left:3px solid #d98a2b; border-radius:0 6px 6px 0; background:#fffaf2; color:#5c3a12; font-size:.875rem; }
body.ds-discovery-page .portal-confirm-questions summary { cursor:pointer; font-weight:600; }
body.ds-discovery-page .portal-confirm-questions ul { margin:8px 0; padding-left:18px; }
body.ds-discovery-page .portal-confirm-questions p { margin:0; color:#6b4a22; }
