.preference-page{--ink:#edf4ff;--muted:#a8bad5;--line:#263c5c;--accent:#77bcff;--surface:#0c1a31;color:var(--ink);padding-bottom:90px}.preference-page *{box-sizing:border-box}.preference-page a{color:inherit}.wizard-hero{display:grid;grid-template-columns:1fr 270px;align-items:end;gap:40px;padding-top:74px;padding-bottom:65px}.wizard-kicker{color:#7ebfff!important;font-size:.69rem!important;line-height:1.4;font-weight:800;letter-spacing:.15em;margin:0 0 16px;text-transform:uppercase}.wizard-kicker span{color:#95a8c2}.wizard-hero h1{font-size:clamp(2.8rem,5vw,5.4rem);line-height:1.02;letter-spacing:-.055em;margin:0 0 20px}.wizard-hero h1 em{font-style:normal;color:#83c6ff}.wizard-hero>div>p:last-child{color:#b5c5dc;max-width:540px;font-size:1.08rem;line-height:1.65;margin:0}.hero-index{border-left:1px solid #355575;padding-left:25px;display:flex;flex-direction:column}.hero-index>span,.hero-index>div{font-size:.65rem;letter-spacing:.13em;font-weight:800;color:#9db4d0}.hero-index strong{font-size:2.7rem;letter-spacing:-.06em;line-height:1.15;margin-top:10px}.hero-index small{color:#b4c5dc}.hero-index div{margin-top:22px;line-height:1.7}.hero-index b{color:#58abff}.wizard-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:34px;align-items:start}.wizard-filter{background:#eaf1f8;color:#10233b;border-radius:10px;padding:25px;box-shadow:0 15px 40px #0002}.filter-title{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #c4d4e4;margin-bottom:18px}.filter-title .wizard-kicker{color:#426789!important;margin-bottom:5px}.filter-title h2{font-size:1.45rem;color:#112b49;margin:0 0 18px}.filter-title>span{font-size:1.4rem;color:#406685}.wizard-filter form{display:grid;gap:8px}.wizard-filter label{color:#253f5c!important;font-size:.77rem;font-weight:800;margin-top:10px}.wizard-filter input:not([type=hidden]),.wizard-filter select{width:100%;min-width:0;min-height:44px;background:#fff;color:#132c46;border:1px solid #b7ccdd;border-radius:5px;padding:9px 10px;font-size:.9rem}.wizard-filter input::placeholder{color:#607991}.rank-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.wizard-filter button,.compare-button{border:0;border-radius:5px;background:#1768ae;color:white;font-weight:800;cursor:pointer;padding:14px 16px}.wizard-filter button{margin-top:15px;text-align:left;display:flex;justify-content:space-between}.wizard-filter button:hover,.compare-button:hover{background:#0c4d89}.reset-link{font-size:.8rem;text-align:center;padding:8px;color:#345471!important}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{font-size:clamp(1.6rem,2.3vw,2.2rem);letter-spacing:-.035em;margin:0;color:#f5f9ff}.section-heading p:not(.wizard-kicker){color:var(--muted);margin:8px 0 0;font-size:.9rem}.section-heading .wizard-kicker{margin-bottom:9px}.section-heading>a{color:#98cfff;font-size:.8rem;white-space:nowrap}.result-page{color:#a4b8d1;font-size:.8rem;border:1px solid #304764;padding:7px 12px;border-radius:4px}.wizard-results{display:grid;gap:12px}.wizard-result{background:#0e203a;border:1px solid #294361;border-radius:8px;padding:20px 22px;transition:border-color .2s,background .2s}.wizard-result:hover{border-color:#6198c7;background:#112741}.result-top{display:flex;justify-content:space-between;gap:16px}.result-select{display:flex;gap:13px;align-items:flex-start;cursor:pointer;min-width:0}.result-select input{width:18px;height:18px;flex:none;margin:3px 0 0;accent-color:#258be5}.result-select strong{display:block;font-size:1.03rem;line-height:1.4;color:#f4f8ff}.result-select small{display:block;color:#aebfd5;margin-top:5px;line-height:1.4}.result-select small span{color:#6e9cc7}.result-badge{align-self:start;white-space:nowrap;border:1px solid #395d7e;border-radius:3px;color:#afd5f5;padding:5px 8px;font-size:.68rem;font-weight:700}.result-data{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:22px 0 18px;padding-left:31px}.result-data>span{font-size:.6rem;font-weight:800;letter-spacing:.08em;color:#a1b7d1}.result-data strong{display:block;color:#f6f9ff;font-size:1rem;letter-spacing:0;margin-top:7px}.result-bottom{display:flex;justify-content:space-between;gap:15px;padding:13px 0 0 31px;border-top:1px solid #294361;font-size:.77rem;color:#afc2d8}.result-bottom a{font-weight:800;color:#a9d6ff;white-space:nowrap}.compare-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 0;color:#b6c7dc;font-size:.85rem}.compare-bar strong{color:white}.compare-button span{padding-left:12px}.comparison{margin-bottom:48px}.comparison-scroll{overflow:auto;border:1px solid #35506e;border-radius:8px}.comparison table{width:100%;border-collapse:collapse;min-width:600px;background:#10213a;font-size:.84rem}.comparison th,.comparison td{padding:14px;text-align:left;border-bottom:1px solid #2a4361;vertical-align:top;min-width:160px;color:#d4e2f2}.comparison thead th{background:#183653;color:#fff;min-width:190px}.comparison tbody th{color:#b7cee3;background:#10253d;font-weight:700}.comparison small{display:block;color:#b5cce0;font-weight:400;margin-top:6px}.history-line{display:block;white-space:nowrap}.table-hint{font-size:.75rem;color:#aabdd5}.wizard-pages{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:24px;color:#b4c7df;font-size:.83rem}.wizard-pages a{color:#b7deff;font-weight:700}.wizard-note{margin:32px 0 0;padding:18px 20px;background:#10223a;border-left:3px solid #67b6f8;color:#b7c9dd;font-size:.8rem;line-height:1.7}.wizard-note strong{display:block;color:#ebf5ff}.wizard-empty{padding:35px;background:#10213a;border:1px solid #294361;border-radius:8px;color:#d9e8f9}.wizard-empty p{color:#b3c6da}.wizard-empty a{color:#a9d6ff}.preference-page :is(button,input,select,a):focus-visible{outline:3px solid #f4b95f;outline-offset:3px}@media(max-width:900px){.wizard-layout{grid-template-columns:240px minmax(0,1fr);gap:20px}.result-data{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.wizard-hero{grid-template-columns:1fr;padding-top:45px;padding-bottom:38px;gap:25px}.hero-index{display:none}.wizard-layout{grid-template-columns:1fr}.wizard-filter{padding:20px}.result-top{flex-wrap:wrap}.result-data{padding-left:0;grid-template-columns:repeat(3,1fr)}.result-bottom{padding-left:0}.wizard-result{padding:18px}.compare-bar{align-items:stretch;flex-direction:column}.compare-button{text-align:center}.section-heading{align-items:start}.wizard-kicker span{display:none}}


/* Controls share the same dark palette as the program cards. */
html:has(.preference-page){color-scheme:dark;scrollbar-color:#4274a4 #071326;scrollbar-width:thin}
html:has(.preference-page)::-webkit-scrollbar{width:12px;height:12px}
html:has(.preference-page)::-webkit-scrollbar-track{background:#071326}
html:has(.preference-page)::-webkit-scrollbar-thumb{background:#4274a4;border:3px solid #071326;border-radius:8px}
html:has(.preference-page)::-webkit-scrollbar-thumb:hover{background:#70bafa}
.preference-page .wizard-filter{background:#0d1e37;color:#e6f1ff;border:1px solid #294766;box-shadow:0 16px 40px #0004}
.preference-page .filter-title{border-color:#294766}
.preference-page .filter-title .wizard-kicker{color:#83bdf0!important}
.preference-page .filter-title h2{color:#edf5ff}
.preference-page .filter-title>span{color:#80bce9}
.preference-page .wizard-filter label{color:#c6d9ed!important}
.preference-page .wizard-filter input:not([type=hidden]),
.preference-page .wizard-filter select{color-scheme:dark;background-color:#08182d;color:#e8f3ff;border:1px solid #365574;border-radius:7px;transition:border-color .18s,box-shadow .18s,background-color .18s}
.preference-page .wizard-filter input::placeholder{color:#8ca7c2;opacity:1}
.preference-page .wizard-filter select{appearance:none;cursor:pointer;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%238dbfe8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.preference-page .wizard-filter option{background:#10243c;color:#eef6ff}
.preference-page .wizard-filter input:not([type=hidden]):hover,.preference-page .wizard-filter select:hover{border-color:#70a9d8;background-color:#102641}
.preference-page .wizard-filter :is(input,select):focus-visible{outline:2px solid #83c6ff;outline-offset:2px;border-color:#83c6ff;box-shadow:0 0 0 4px #58aaf02b}
.preference-page .reset-link{color:#a7c8e6!important}
.preference-page .reset-link:hover{color:#e5f4ff!important;text-decoration:underline}
.preference-page .result-select input[type=checkbox]{appearance:none;-webkit-appearance:none;display:grid;place-content:center;width:20px;height:20px;min-width:20px;border:1.5px solid #668eaf;border-radius:5px;background:#08182d;cursor:pointer;transition:background-color .16s,border-color .16s,box-shadow .16s}
.preference-page .result-select input[type=checkbox]::before{content:"";width:10px;height:6px;border-left:2px solid #061a2d;border-bottom:2px solid #061a2d;transform:rotate(-45deg) scale(0);transition:transform .14s}
.preference-page .result-select input[type=checkbox]:checked{background:#80c7ff;border-color:#80c7ff}
.preference-page .result-select input[type=checkbox]:checked::before{transform:rotate(-45deg) scale(1)}
.preference-page .result-select input[type=checkbox]:hover{border-color:#a5d8ff;box-shadow:0 0 0 3px #80c7ff25}
.preference-page :is(button,input,select,a):focus-visible{outline:2px solid #83c6ff;outline-offset:3px}
.preference-page .comparison-scroll{scrollbar-color:#4274a4 #071326;scrollbar-width:thin}
.preference-page .comparison-scroll::-webkit-scrollbar{height:10px;width:10px}
.preference-page .comparison-scroll::-webkit-scrollbar-track{background:#071326}
.preference-page .comparison-scroll::-webkit-scrollbar-thumb{background:#4274a4;border:2px solid #071326;border-radius:8px}
@media(forced-colors:active){.preference-page .result-select input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox}.preference-page .result-select input[type=checkbox]::before{display:none}}

/* A full-width decision desk sits above the search results once programs are selected. */
.preference-page .comparison-stage{scroll-margin-top:90px;margin-bottom:66px;padding:30px;border:1px solid #315679;border-radius:16px;background:radial-gradient(ellipse at 90% 0,#143959 0,transparent 43%),#0a172b;box-shadow:0 25px 75px #0004}
.comparison-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;padding:4px 2px 26px}
.comparison-intro .wizard-kicker{margin-bottom:12px}
.comparison-intro h2{color:#eff7ff;font-size:clamp(2rem,3.6vw,3.6rem);letter-spacing:-.055em;line-height:1.05;margin:0}
.comparison-intro h2 em{font-style:normal;color:#83caff}
.comparison-intro p:not(.wizard-kicker){max-width:600px;color:#afc5dd;line-height:1.6;margin:12px 0 0;font-size:.92rem}
.comparison-status{display:grid;gap:6px;min-width:180px;padding-left:23px;border-left:1px solid #345574}
.comparison-status>span,.comparison-col-label{font-size:.65rem;color:#8fb6d9;letter-spacing:.14em;font-weight:800}
.comparison-status strong{font-size:2.2rem;line-height:1;color:#eaf6ff;white-space:nowrap}
.comparison-status strong small{display:inline;color:#8fa9c3;font-size:1rem}
.comparison-status a{color:#8dcbff;font-size:.78rem;font-weight:700;margin-top:3px}
.comparison-guide{display:flex;align-items:center;gap:13px;border:1px solid #315272;background:#112b46;border-radius:8px;padding:13px 16px;margin-bottom:18px}
.comparison-guide>span{font-size:1.2rem;color:#8ed6ff}.comparison-guide p{margin:0;color:#bfd1e4;font-size:.8rem;line-height:1.5}.comparison-guide strong{color:#e9f4ff}
.comparison-swipe-hint{display:flex;align-items:center;gap:8px;color:#b2d5f1;font-size:.76rem;font-weight:700;margin:0 0 10px}.comparison-swipe-hint span{font-size:1.2rem;line-height:1;color:#80caff}
.preference-page .comparison-stage .comparison-scroll{border:1px solid #36516c;border-radius:10px;overflow:auto}
.preference-page .comparison-stage table{table-layout:fixed;min-width:720px;background:#0b1c32;font-size:.87rem}
.preference-page .comparison-stage th,.preference-page .comparison-stage td{min-width:0;padding:15px 18px;border-color:#27415c;line-height:1.5;overflow-wrap:anywhere}
.preference-page .comparison-stage thead th{width:250px;background:#112b47;border-right:1px solid #2c4964;vertical-align:top}
.preference-page .comparison-stage thead th:first-child{width:210px;background:#0e233b}
.comparison-col-title{display:block;color:#f2f8ff;font-size:1rem;margin-top:18px}
.comparison-number{display:block;color:#86c9fa;font-size:.85rem;font-weight:800;letter-spacing:.04em;margin-bottom:20px}
.comparison-number span{color:#8da8c1;font-size:.6rem;letter-spacing:.12em}
.comparison-stage thead strong{display:block;color:#f3f9ff;font-size:1rem;line-height:1.35;letter-spacing:-.015em}
.comparison-stage thead small{color:#b5cce1!important;line-height:1.5;margin:9px 0 14px}
.comparison-detail-link,.comparison-remove{display:inline-block;font-size:.73rem;font-weight:800;color:#9bd5ff!important}
.comparison-remove{margin-left:12px;border:0;background:none;padding:5px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.preference-page .comparison-stage tbody th{background:#10253b;color:#c4d8e9;font-weight:700}
.preference-page .comparison-stage tbody td{color:#dceaf6;border-right:1px solid #233d58}
.preference-page .comparison-stage .comparison-group th{background:#071628;color:#80bee9;letter-spacing:.13em;font-size:.64rem;padding:11px 18px}
.preference-page .comparison-stage .comparison-key td{color:#f3faff;font-size:1.1rem;font-weight:800}
.comparison-footnote{margin:15px 2px 0;color:#9fb7cf;font-size:.76rem;line-height:1.6}
@media(max-width:700px){.preference-page .comparison-stage{padding:18px 14px;margin-bottom:40px;scroll-margin-top:75px}.comparison-intro{align-items:start;flex-direction:column;gap:18px}.comparison-status{display:flex;align-items:center;gap:12px;border-left:0;border-top:1px solid #345574;padding:13px 0 0;width:100%}.comparison-status strong{font-size:1.5rem}.comparison-status a{margin-left:auto}.comparison-guide{align-items:start}.preference-page .comparison-stage table{min-width:660px}.preference-page .comparison-stage th,.preference-page .comparison-stage td{padding:13px}.preference-page .comparison-stage thead th:first-child{width:160px}}
@media(max-width:700px){.preference-page .comparison-stage table{width:max-content;min-width:100%}.preference-page .comparison-stage thead th{width:190px;min-width:190px}.preference-page .comparison-stage thead th:first-child{width:95px;min-width:95px}.preference-page .comparison-stage th,.preference-page .comparison-stage td{padding:11px}.comparison-col-title{font-size:.82rem}.comparison-status>span{max-width:85px;line-height:1.4}.comparison-status a{font-size:.72rem}}

/* An accessible, progressively enhanced listbox for the search filters. */
.preference-page .wizard-select{position:relative;min-width:0}
.preference-page .wizard-filter .wizard-select-trigger{width:100%;min-height:48px;margin:0;padding:10px 13px;display:flex;align-items:center;gap:10px;text-align:left;font-size:.88rem;font-weight:600;color:#e8f4ff;background:#08182d;border:1px solid #365b80;border-radius:8px;box-shadow:inset 0 1px 0 #ffffff0a;transition:border-color .2s,box-shadow .2s,background .2s}
.preference-page .wizard-filter .wizard-select-trigger:hover,.preference-page .wizard-select.is-open .wizard-select-trigger{background:#102b49;border-color:#7ac7ff;box-shadow:0 0 0 3px #62b8f421}
.wizard-select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.wizard-select-arrow{width:9px;height:9px;margin:0 4px 4px 0;border-right:2px solid #7dc9ff;border-bottom:2px solid #7dc9ff;transform:rotate(45deg);transition:transform .2s}
.wizard-select.is-open .wizard-select-arrow{transform:translateY(4px) rotate(225deg)}
.wizard-select-menu{position:absolute;z-index:20;top:calc(100% + 7px);left:0;right:0;max-height:260px;overflow:auto;padding:6px;background:#0b203b;border:1px solid #3d6c95;border-radius:10px;box-shadow:0 16px 40px #000b,0 0 0 1px #061426;scrollbar-width:thin;scrollbar-color:#4a89b7 #0b203b}
.wizard-select-menu[hidden]{display:none}
.preference-page .wizard-filter .wizard-select-option{position:relative;display:block;width:100%;min-height:38px;margin:0;padding:9px 32px 9px 11px;text-align:left;font-size:.86rem;font-weight:500;line-height:1.3;color:#cbdff0;background:transparent;border:0;border-radius:6px;cursor:pointer}
.preference-page .wizard-filter .wizard-select-option:hover,.preference-page .wizard-filter .wizard-select-option:focus-visible{outline:0;background:#193d60;color:#fff;box-shadow:inset 3px 0 #70c7ff}
.preference-page .wizard-filter .wizard-select-option[aria-selected=true]{color:#b9e3ff;background:#153b5e;font-weight:750}
.wizard-select-option[aria-selected=true]::after{content:'✓';position:absolute;right:12px;color:#8dd5ff}
.wizard-select-menu::-webkit-scrollbar{width:8px}.wizard-select-menu::-webkit-scrollbar-thumb{background:#4a89b7;border:2px solid #0b203b;border-radius:6px}
.wizard-result:has(.preference-save[aria-pressed=true]){border-color:#5198c7}
.preference-page .result-bottom{align-items:center;flex-wrap:wrap}
.preference-page .result-bottom>span{margin-right:auto}
.preference-save{border:1px solid #4679a4;background:#102c4a;color:#a8dcff;border-radius:6px;padding:8px 12px;font-size:.76rem;font-weight:750;cursor:pointer;transition:background .2s,border-color .2s}
.preference-save:hover,.preference-save[aria-pressed=true]{background:#1c5279;border-color:#80cbff;color:#fff}
.preference-list{margin-bottom:32px;padding:22px;border:1px solid #39658c;border-radius:12px;background:linear-gradient(135deg,#112e4b,#0b1c34);box-shadow:0 15px 35px #0003}
.preference-list[hidden]{display:none}
.preference-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#e9f5ff}
.preference-list-heading h2,.preference-list-heading h3{margin:0;color:#f3f9ff;font-size:1.3rem}
.preference-message{color:#a8c8e1;font-size:.82rem;line-height:1.5}
.preference-items{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:8px}
.preference-item{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px;background:#081a30;border:1px solid #284a69;border-radius:8px}
.preference-number{display:grid;place-items:center;width:30px;height:30px;flex:none;border:1px solid #396f99;border-radius:6px;color:#9bdaff;font-weight:800}
.preference-item-info{flex:1;min-width:140px}.preference-item-info strong,.preference-item-info small{display:block}.preference-item-info strong{color:#edf7ff;font-size:.85rem}.preference-item-info small{color:#9fbcd4;margin-top:4px}
.preference-actions{display:flex;gap:5px;flex-wrap:wrap}.preference-actions button,.preference-list-heading button{border:1px solid #3a678b;background:#163753;color:#d4ecff;padding:7px 10px;border-radius:6px;cursor:pointer;font-size:.75rem}.preference-actions button:hover,.preference-list-heading button:hover{background:#235378}.preference-actions button:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:700px){.preference-page .result-bottom>span{width:100%}.preference-list{padding:16px}.preference-item{gap:9px}}

/* Keep the filters reachable without pushing the results below a screen of controls. */
.preference-page .wizard-filter>summary{cursor:pointer;list-style:none;align-items:center;gap:16px}
.preference-page .wizard-filter>summary::-webkit-details-marker{display:none}
.preference-page .wizard-filter>summary>span:first-child{display:grid;gap:4px}
.preference-page .wizard-filter .filter-heading{display:block;color:#edf5ff;font-size:1.45rem;font-weight:750;letter-spacing:-.03em;line-height:1.2}
.preference-page .wizard-filter .filter-active{color:#a9d6ff;font-size:.74rem;line-height:1.4}
.preference-page .wizard-filter .filter-indicator{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #365b80;border-radius:10px;color:#9bd5ff;font-size:1.3rem;transition:transform .2s,background .2s}
.preference-page .wizard-filter[open] .filter-indicator{transform:rotate(45deg);background:#153b5e}
.preference-page .wizard-filter:not([open])>summary{margin-bottom:0;padding-bottom:0;border-bottom:0}
.preference-page .wizard-filter[open]>summary{padding-bottom:16px}
.preference-page .wizard-filter>summary:focus-visible{outline:2px solid #83c6ff;outline-offset:5px;border-radius:4px}
@media(max-width:700px){
 .preference-page .wizard-filter{padding:18px}
 .preference-page .wizard-filter .wizard-kicker{margin:0}
 .preference-page .wizard-filter .filter-heading{font-size:1.2rem}
 .comparison-col-label{font-size:.48rem;letter-spacing:.025em;overflow-wrap:normal;word-break:normal}
}
