:root{--blue:#3B5FFF;--blue-dark:#2E4DDB;--blue-soft:#EEF1FF;--brand-tint:#F6F7FF;--brand-selected:#E3E8FF;--brand-border:#A9B7FF;--brand-focus:#3B5FFF8C;--ink:#1c1e21;--muted:#65676b;--subtle:#8a8d91;--bg:#f7f7f7;--surface:#fff;--hover:#e4e6eb;--shadow:0 1px 3px #1c1e2112,0 6px 18px #1c1e2114;--radius:16px;--space:8px;--font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.65}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer;background:none;color:inherit}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--brand-focus);outline-offset:3px}button:disabled{cursor:default;opacity:.5}.icon{height:21px;width:21px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.topbar{height:76px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:24px;position:sticky;top:0;z-index:40;box-shadow:0 1px 12px #162e4910}.brand{display:flex;align-items:center;gap:11px;flex-shrink:0;color:var(--ink);font-size:22px;font-weight:750;letter-spacing:.04em;line-height:1.1}.brand small{display:block;font-size:10px;color:var(--muted);font-weight:450;letter-spacing:.16em;margin-top:7px}.brand-icon{display:grid;place-items:center;background:var(--blue);color:#fff;width:44px;height:44px;border-radius:14px;font-size:24px;font-family:"Songti SC",serif}.primary-nav{display:flex;align-items:stretch;height:100%;gap:10px}.primary-nav a{display:flex;align-items:center;gap:9px;color:var(--muted);padding:0 27px;position:relative;font-weight:600}.primary-nav a:hover{background:#f7f8fa}.primary-nav a.active{color:var(--blue)}.primary-nav a.active:after{content:"";position:absolute;left:20px;right:20px;bottom:0;height:4px;background:var(--blue);border-radius:4px 4px 0 0}.nav-dot{height:6px;width:6px;background:var(--blue);border-radius:50%;align-self:center}.header-actions{display:flex;align-items:center;gap:14px}.demo-label{font-size:11px;color:var(--muted);background:#f0f2f5;padding:4px 9px;border-radius:5px;white-space:nowrap}.circle-button{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f0f2f5}.circle-button:hover{background:var(--hover)}.avatar{background:var(--brand-selected);color:var(--blue-dark);width:38px;height:38px;border-radius:50%;font-size:14px;font-weight:700}.shell{max-width:1500px;margin:0 auto;padding:28px 32px 120px;display:grid;grid-template-columns:220px minmax(0,1fr) 248px;gap:24px;align-items:start}.left-rail{position:sticky;top:100px}.rail-title{font-size:14px;margin:0 0 14px;display:flex;justify-content:space-between;align-items:center}.rail-title button{font-size:12px;color:var(--blue);font-weight:400;padding:3px}.filter-group{margin:24px 0}.filter-group label,.filter-label{display:block;font-size:12px;font-weight:650;margin-bottom:10px;color:#65676b}.region-options{display:flex;flex-direction:column;gap:3px}.region-button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:9px 11px;border-radius:9px;text-align:left;font-size:14px}.region-button:hover{background:#e5e8ed}.region-button.active{background:var(--brand-selected);color:var(--blue);font-weight:650}.region-button small{font-size:11px;opacity:.75}.filter-select,.filter-input{background:#e4e7ed;border:0;width:100%;padding:11px 12px;border-radius:9px;color:var(--ink);outline:none;font-size:13px}.filter-input::placeholder{color:#8a8d91}.filter-hint{font-size:11px;color:var(--muted);line-height:1.7;margin-top:8px}.budget-inputs{display:flex;gap:6px}.budget-inputs select{width:77px;flex-shrink:0;padding:10px 6px}.budget-inputs input{min-width:0}.rail-footer{font-size:11px;color:#8a8d91;line-height:1.9;margin-top:32px}.rail-footer button{padding:0;color:var(--muted);font-size:11px}.main-column{min-width:0}.hero{background:#fff;border-radius:var(--radius);padding:29px 30px 24px;position:relative;overflow:hidden;box-shadow:var(--shadow)}.eyebrow{font-size:11px;letter-spacing:.12em;color:var(--blue);font-weight:700;display:flex;align-items:center;gap:7px}.eyebrow:before{content:"";height:6px;width:6px;border-radius:50%;background:var(--blue)}.hero h1{font-size:clamp(24px,2.5vw,34px);line-height:1.4;letter-spacing:-.03em;margin:13px 0 9px;font-weight:760}.hero h1 span{color:var(--blue)}.hero p{font-size:13px;color:var(--muted);margin:0 0 20px;max-width:500px}.hero-counts{display:flex;gap:30px;margin:18px 0 22px}.hero-counts strong{font-size:24px;line-height:1;font-weight:730;letter-spacing:-.05em}.hero-counts span{font-size:11px;color:var(--muted);margin-left:6px}.search-box{display:flex;align-items:center;gap:10px;background:#f0f2f5;padding:13px 16px;border-radius:10px}.search-box .icon{color:#818b98;width:19px}.search-box input{border:0;outline:none;background:none;width:100%;font-size:14px;color:var(--ink)}.search-box kbd{font-size:10px;color:var(--subtle);white-space:nowrap;font-family:inherit}.search-box:focus-within{box-shadow:0 0 0 2px #3B5FFF3B}.quick-tags{display:flex;align-items:center;gap:7px;margin-top:13px;flex-wrap:wrap;font-size:11px;color:var(--subtle)}.quick-tags button{font-size:11px;color:var(--muted);padding:3px 8px;background:#f4f6f8;border-radius:5px}.results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 1px 16px}.results-title{font-size:16px;font-weight:700}.results-title span{font-size:12px;font-weight:400;color:var(--muted);margin-left:9px}.sort-select{border:0;background:transparent;font-size:12px;color:var(--muted);max-width:135px}.school-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.school-card{background:white;border-radius:var(--radius);padding:21px 22px 17px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-height:300px;transition:transform .16s,box-shadow .16s}.school-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px #20355212}.card-top{display:flex;justify-content:space-between;align-items:flex-start}.school-mark{font-size:17px;font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:-.07em;background:#eff4fb;color:#2b68ac;border-radius:12px;width:53px;height:53px;display:grid;place-items:center;line-height:1;padding:5px;text-align:center}.school-mark.red{background:#f9eff0;color:#9c2936}.school-mark.navy{background:#eef0f7;color:#20355b}.school-mark.teal{background:#e9f4f1;color:#28695d}.school-mark.black{background:#f0f0f0;color:#252525}.school-mark.orange{background:#fff2e8;color:#b8621d}.school-mark.large{width:78px;height:78px;font-size:25px;border-radius:18px}.save-button{color:#a0a6af;padding:5px;border-radius:7px}.save-button:hover{background:#f0f2f5}.save-button.saved{color:var(--blue)}.save-button.saved svg{fill:#3B5FFF1A}.rank-label{font-size:10px;color:var(--muted);margin:13px 0 3px;letter-spacing:.02em}.rank-label strong{color:#425269;font-size:11px}.school-card h2{font-size:18px;line-height:1.4;margin:4px 0;font-weight:720}.school-name{padding:0;text-align:left;font:inherit;font-weight:inherit}.school-name:hover{color:var(--blue)}.english-name{font-size:11px;line-height:1.45;color:var(--muted);min-height:32px;margin:0 0 11px}.pills{display:flex;flex-wrap:wrap;gap:6px}.pill{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;font-size:10px;line-height:1.5;border-radius:5px;background:#f0f2f5;color:#657080}.pill.blue{background:var(--blue-soft);color:var(--blue)}.pill .icon{width:12px;height:12px}.card-fee{margin:15px 0 16px;padding:11px 12px;background:#f7f9fc;border-radius:8px}.card-fee-label{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);margin-bottom:3px}.card-fee-label .icon{width:13px;height:13px}.card-fee-text{font-size:12px;font-weight:550;color:#39485c;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.65;min-height:36px}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}.compare-toggle{font-size:12px;display:flex;align-items:center;gap:7px;color:var(--muted);padding:5px 0}.compare-toggle .tick{height:16px;width:16px;border-radius:5px;background:#eef0f3;display:grid;place-items:center;color:white;font-size:11px}.compare-toggle.selected{color:var(--blue)}.compare-toggle.selected .tick{background:var(--blue)}.detail-button{font-size:12px;font-weight:650;color:var(--blue);display:flex;align-items:center;gap:4px;padding:5px 0}.detail-button .icon{width:15px}.right-rail{position:sticky;top:100px;display:flex;flex-direction:column;gap:19px}.aside-card{background:#fff;border-radius:var(--radius);padding:21px;box-shadow:var(--shadow)}.aside-card h3{font-size:14px;margin:0 0 10px}.aside-card p{font-size:12px;line-height:1.8;color:var(--muted);margin:8px 0 15px}.mini-icon{width:36px;height:36px;background:var(--blue-soft);color:var(--blue);border-radius:11px;display:grid;place-items:center;margin-bottom:14px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 16px;font-size:13px;font-weight:650;border-radius:9px;line-height:1.4;min-height:40px}.button.primary{background:var(--blue);color:#fff}.button.primary:hover{background:var(--blue-dark)}.button.secondary{background:#e9edf3;color:#3c4d61}.button.soft{background:var(--blue-soft);color:var(--blue)}.button.ghost{background:#f0f2f5;color:var(--muted)}.button.full{width:100%}.aside-card.paid-teaser{background:var(--blue-soft);box-shadow:none}.aside-card .mini-icon.gold{color:#996922;background:#f7ecd7}.small-label{font-size:10px;color:#7a8798;letter-spacing:.03em}.teaser-title{font-size:15px;font-weight:720;margin:7px 0}.teaser-price{font-size:22px;font-weight:750;margin-top:12px}.teaser-price small{font-size:11px;font-weight:400;color:var(--muted)}.aside-list{display:flex;flex-direction:column;gap:16px;margin:15px 0 2px}.aside-list-item{display:flex;gap:10px;align-items:flex-start;font-size:12px}.aside-list-item span:first-child{font-size:11px;color:var(--blue);font-weight:700;background:#eef4fc;border-radius:50%;width:21px;height:21px;display:grid;place-items:center;flex-shrink:0}.aside-list-item strong{font-weight:600}.aside-list-item small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.info-note{font-size:11px;line-height:1.8;color:var(--muted);background:#e9edf3;padding:12px;border-radius:9px;margin:12px 0}.empty-state{background:white;border-radius:var(--radius);padding:50px 20px;text-align:center;grid-column:1/-1}.empty-state .icon{width:42px;height:42px;color:#b7c7db}.empty-state h2{font-size:18px}.empty-state p{color:var(--muted);font-size:13px;max-width:420px;margin:10px auto 22px}.active-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.active-filter{font-size:11px;padding:5px 9px;border-radius:6px;background:var(--blue-soft);color:var(--blue-dark)}.mobile-filter-button{display:none}.loading{min-height:60vh;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted)}.spinner{height:20px;width:20px;border-radius:50%;border:2px solid #d6e3f5;border-top-color:var(--blue);animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.content-shell{max-width:1220px;margin:0 auto;padding:28px 32px 140px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px;margin:0 0 19px}.breadcrumb .icon{width:14px}.detail-hero{background:#fff;border-radius:18px;box-shadow:var(--shadow);padding:18px 28px;display:flex;align-items:center;gap:20px}.detail-hero h1{font-size:28px;line-height:1.3;margin:0 0 2px}.detail-hero .english-name{font-size:13px;min-height:0;margin:2px 0 8px}.detail-hero-actions{display:flex;gap:9px;margin-left:auto;align-self:center;flex-shrink:0}.detail-layout{display:grid;grid-template-columns:196px minmax(0,1fr);gap:25px;margin-top:24px;align-items:start}.section-nav{display:flex;flex-direction:column;gap:4px}.section-nav button{text-align:left;font-size:13px;padding:12px 15px;border-radius:9px;display:flex;align-items:center;gap:10px;color:var(--muted)}.section-nav button .icon{width:18px}.section-nav button.active{background:var(--brand-selected);color:var(--blue);font-weight:650}.section-nav button:hover{background:#e4e9f0}.article{background:#fff;border-radius:16px;padding:30px 32px;min-width:0;box-shadow:var(--shadow)}.article h2{font-size:22px;margin:0 0 17px}.article h3{font-size:16px;margin:27px 0 12px;font-weight:700}.article p{font-size:13px;line-height:1.9;margin:12px 0;color:#475367;overflow-wrap:anywhere}.article .list-line:before{content:'•';color:var(--blue);margin-right:8px}.article-table{overflow-x:auto;margin:14px 0 25px;border-radius:9px;background:#fff}table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.85}td,th{padding:12px 14px;text-align:left;vertical-align:top;border:0;overflow-wrap:break-word}table tr:first-child td,thead th{background:#edf3fc;color:#345c8c;font-weight:650}tr:nth-child(2n+1) td{background:#f7f9fc}table a{overflow-wrap:anywhere}.article-table td{min-width:90px}.article-table td:first-child{min-width:112px}.article-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.article-toolbar h2{margin:0}.text-button{font-size:12px;color:var(--blue);display:inline-flex;align-items:center;gap:5px}.text-button .icon{width:15px}.section-intro{font-size:12px;color:var(--muted);margin-bottom:20px}.detail-paid-callout{background:var(--brand-tint);border-radius:11px;padding:18px;display:flex;align-items:center;gap:15px;margin-bottom:22px}.detail-paid-callout p{margin:3px 0;font-size:12px}.detail-paid-callout strong{font-size:14px}.detail-paid-callout .button{margin-left:auto;flex-shrink:0}.data-heading{display:flex;align-items:flex-start;justify-content:space-between;margin:12px 0 26px;gap:20px}.data-heading h1{font-size:30px;line-height:1.4;margin:8px 0}.data-heading p{color:var(--muted);font-size:13px;margin:0;max-width:660px}.data-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}.data-product{background:white;border-radius:17px;box-shadow:var(--shadow);padding:30px}.data-product-head{display:flex;gap:17px;align-items:center}.data-product-head h2{font-size:23px;margin:4px 0}.year-tags{margin-top:17px;display:flex;gap:8px;flex-wrap:wrap}.data-section-label{font-size:14px;font-weight:700;margin:25px 0 12px}.metric-previews{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.metric-preview{padding:17px 12px;border-radius:10px;background:#f5f7fa}.metric-preview small{font-size:10px;color:var(--muted);display:block}.masked-number{font-weight:700;font-size:23px;letter-spacing:2px;color:#98b4db;margin:8px 0 4px;display:flex;align-items:center;gap:6px}.masked-number .icon{width:15px}.metric-preview span{font-size:10px;color:#8a8d91}.check-list{list-style:none;padding:0;margin:18px 0}.check-list li{display:flex;gap:8px;align-items:flex-start;font-size:12px;margin:12px 0;color:#526074}.check-list li .icon{width:15px;height:18px;color:var(--blue)}.purchase-card{background:#fff;border-radius:16px;padding:24px;box-shadow:var(--shadow);position:sticky;top:101px}.price-line{font-size:36px;font-weight:750;margin:13px 0 6px;letter-spacing:-.06em}.price-line small{font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0;margin-left:8px}.purchase-card p{font-size:12px;color:var(--muted);line-height:1.85}.purchase-card .button{margin-top:9px}.demo-pay-note{font-size:10px!important;color:#8a8d91!important;text-align:center}.coverage-note{display:flex;align-items:center;gap:9px;font-size:12px;background:var(--blue-soft);color:#4c6d97;padding:12px 16px;border-radius:9px;margin:18px 0}.paid-data-table{margin-top:18px;overflow:auto}.paid-data-table td,.paid-data-table th{white-space:nowrap}.insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.insight{background:#f1f6fd;padding:17px;border-radius:10px}.insight h4{font-size:13px;margin:0 0 7px}.insight p{font-size:12px;color:var(--muted);margin:0}.source-details{font-size:12px;color:var(--muted);margin-top:25px}.source-details summary{cursor:pointer}.source-details a{display:block;margin-top:8px}.section-panel{background:white;border-radius:16px;padding:26px;box-shadow:var(--shadow);margin-bottom:22px}.section-panel h2{font-size:20px;margin:0 0 10px}.saved-tabs{display:flex;gap:8px;margin:20px 0}.saved-tabs button{font-size:13px;padding:9px 17px;border-radius:8px;background:#e6eaf0;color:#687482}.saved-tabs button.active{background:var(--blue);color:white}.onboarding-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.prep-item{background:#fff;border-radius:13px;padding:22px;box-shadow:var(--shadow)}.prep-item h3{font-size:15px;margin:0 0 9px}.prep-item p{font-size:12px;color:var(--muted);line-height:1.9;margin:0}.prep-item .pill{margin-bottom:12px}.prep-list{padding:0;list-style:none;font-size:13px}.prep-list li{display:flex;gap:10px;align-items:flex-start;margin:17px 0}.prep-list strong{display:block}.prep-list small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.prep-list .icon{color:var(--blue);margin-top:3px}.compare-tray{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);width:min(850px,calc(100% - 48px));background:#fff;box-shadow:0 10px 50px #19355535;border-radius:14px;z-index:45;padding:15px 20px;display:flex;align-items:center;gap:16px}.compare-tray h3{font-size:13px;margin:0;white-space:nowrap}.compare-picks{display:flex;align-items:center;gap:7px;flex:1;min-width:0;overflow:auto}.compare-pick{font-size:11px;white-space:nowrap;background:#edf3fb;padding:7px 10px;border-radius:7px;color:#4c6e99;display:flex;gap:8px;align-items:center}.compare-pick button{padding:0;font-size:14px}.compare-tray .text-button{font-size:11px}.modal-backdrop{position:fixed;inset:0;background:#14213965;backdrop-filter:blur(3px);z-index:100;display:flex;justify-content:center;align-items:center;padding:24px;animation:fadein .15s}.modal{background:#fff;width:min(540px,100%);max-height:90vh;overflow:auto;border-radius:20px;padding:30px;box-shadow:0 25px 80px #0003;position:relative}.modal.wide{width:min(1100px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:15px}.modal-head h2{font-size:21px;margin:0}.modal p{font-size:13px;color:var(--muted);line-height:1.9}.modal-close{display:grid;place-items:center;flex-shrink:0;width:31px;height:31px;background:#f0f2f5;border-radius:50%;font-size:23px}.order-summary{background:#f5f8fc;border-radius:11px;padding:18px;margin:20px 0}.order-summary strong{font-size:15px}.order-summary span{display:block;font-size:12px;color:var(--muted);margin-top:7px}.order-price{font-size:30px;color:var(--blue);font-weight:700;margin-top:15px}.order-summary .demo-label{display:inline-block}.modal-actions{display:flex;gap:10px;margin-top:22px}.modal-actions .button{flex:1}.comparison-table{overflow:auto}.comparison-table table{min-width:620px}.comparison-table td:first-child{font-weight:650;width:90px;color:#58708f}.comparison-table td{min-width:180px}.comparison-table td p{font-size:11px;margin:5px 0}.comparison-table .school-mark{margin-bottom:12px}.comparison-table h3{font-size:16px;margin:5px 0}.comparison-table .button{font-size:11px;padding:8px}.notice{padding:14px 16px;background:#f0f5fc;border-radius:10px;font-size:12px;color:#536983;margin:17px 0;line-height:1.8}#toast{position:fixed;left:50%;bottom:112px;transform:translate(-50%,15px);max-width:calc(100% - 40px);padding:11px 20px;background:#242d3ceF;color:#fff;border-radius:10px;z-index:150;font-size:13px;opacity:0;pointer-events:none;transition:.2s;white-space:normal}#toast.visible{opacity:1;transform:translate(-50%,0)}.mobile-nav{display:none}.skip-link{position:fixed;top:-70px;left:12px;padding:12px;background:#fff;z-index:200}.skip-link:focus{top:8px}@keyframes fadein{from{opacity:0}to{opacity:1}}.filter-close{display:none}.page-footer{font-size:11px;color:#8a8d91;line-height:1.8;margin:30px 0 0;text-align:center}.print-only{display:none}
.currency-control{display:flex;align-items:center;gap:7px;background:#e6ebf2;padding:8px 10px;border-radius:8px}.currency-control .icon{width:16px;height:16px;color:#6a7a91}.currency-select{background:none;border:0;outline:none;font-size:12px;color:#4b607d;min-width:0;width:100%}.header-currency .currency-control{background:#f0f2f5}.header-currency .currency-select{width:100px}.fee-subtext{display:block;font-size:9px;color:#8a8d91;margin-top:4px;line-height:1.7}.fx-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#f2f6fc;border-radius:10px;padding:14px 17px;margin:17px 0}.fx-bar strong{display:block;font-size:12px}.fx-bar span{font-size:10px;color:var(--muted)}.fx-bar .currency-control{min-width:150px}.budget-highlight{padding:20px;background:var(--blue-soft);border-radius:11px;margin-bottom:22px}.budget-highlight>small{font-size:11px;color:#547293}.budget-highlight>strong{display:block;font-size:25px;color:var(--blue);margin:5px 0}.budget-highlight>span{display:block;font-size:11px;color:#62758e}.budget-highlight p{font-size:11px;margin:8px 0 0}.money-converted{white-space:normal}.money-converted strong{font-weight:650;color:var(--blue);white-space:nowrap}.money-converted small{display:block;color:#8591a1;font-size:10px;white-space:nowrap}.money-original{white-space:nowrap}@media(max-width:1050px){.header-currency .currency-select{width:80px}.header-currency .icon{display:none}.primary-nav a{padding:0 12px}}@media(max-width:600px){.header-currency .currency-control{padding:6px 7px}.header-currency .currency-select{width:78px;font-size:10px}.header-actions>.demo-label{display:none}.fx-bar{padding:12px}.fx-bar .currency-control{min-width:130px}.budget-highlight>strong{font-size:23px}}
@media(min-width:1600px){.shell{max-width:1540px;grid-template-columns:230px minmax(0,1fr) 260px;gap:28px}.hero{padding:34px}.school-card{padding:24px}}
@media(max-width:1250px){.shell{grid-template-columns:205px minmax(0,1fr);gap:23px;padding:24px 28px 130px}.right-rail{display:none}.primary-nav a{padding:0 18px}.topbar{padding:0 28px}.content-shell{max-width:1120px}.hero h1{font-size:32px}}
@media(max-width:850px){.topbar{padding:0 20px;height:68px;gap:12px}.brand{font-size:19px}.brand-icon{height:38px;width:38px;font-size:22px}.primary-nav a{padding:0 12px;font-size:12px;gap:6px}.primary-nav a .icon{width:18px}.header-actions{gap:8px}.header-actions .circle-button{display:none}.shell{grid-template-columns:180px minmax(0,1fr);padding:20px;gap:18px}.school-grid{grid-template-columns:1fr}.school-card{min-height:285px}.left-rail{top:86px}.detail-hero{padding:16px 20px}.detail-hero h1{font-size:23px}.detail-hero-actions{flex-direction:column}.content-shell{padding:22px 20px 140px}.detail-layout{grid-template-columns:155px minmax(0,1fr);gap:16px}.article{padding:23px}.section-nav button{padding:11px;font-size:12px}.data-page-layout{grid-template-columns:minmax(0,1fr) 240px;gap:17px}.data-product{padding:23px}.purchase-card{padding:20px}.metric-previews{grid-template-columns:1fr}.metric-preview{display:flex;align-items:center;justify-content:space-between;gap:8px}.masked-number{margin:0;font-size:20px}.data-product-head h2{font-size:20px}}
@media(max-width:600px){body{font-size:14px}.topbar{height:64px;padding:0 16px}.brand{font-size:18px;gap:8px}.brand small{font-size:8px;margin-top:5px}.brand-icon{height:35px;width:35px;border-radius:11px;font-size:20px}.primary-nav{display:none}.avatar{width:31px;height:31px;font-size:12px}.demo-label{font-size:9px;padding:3px 7px}.header-actions{gap:9px}.shell{display:block;padding:16px 14px 130px}.left-rail{display:none}.left-rail.filters-open{display:block;position:fixed;top:0;bottom:0;left:0;width:min(330px,90vw);background:#f0f2f5;z-index:110;padding:25px 20px;overflow:auto;box-shadow:15px 0 0 100vw #14213965}.filter-close{display:block}.filter-group{margin:21px 0}.hero{padding:23px 21px 20px;border-radius:14px}.eyebrow{font-size:10px}.hero h1{font-size:28px;line-height:1.4;margin-top:12px}.hero p{font-size:12px;line-height:1.85;margin-bottom:15px}.hero-counts{gap:21px;margin:16px 0 20px}.hero-counts strong{font-size:22px}.hero-counts span{font-size:10px;margin-left:4px}.search-box{padding:12px}.search-box input{font-size:13px}.search-box kbd{display:none}.quick-tags{gap:5px}.results-toolbar{padding:20px 2px 14px;flex-wrap:wrap}.results-title{font-size:15px}.results-title span{font-size:11px;margin-left:7px}.mobile-filter-button{display:flex;align-items:center;gap:4px;font-size:11px;padding:7px 10px;border-radius:7px;background:white;color:#5b6a7d}.mobile-filter-button .icon{width:14px}.sort-select{font-size:11px;max-width:111px}.toolbar-actions{display:flex;gap:6px;align-items:center}.school-grid{grid-template-columns:1fr;gap:14px}.school-card{padding:21px 21px 18px;border-radius:14px;min-height:0}.school-card h2{font-size:20px}.school-mark{width:51px;height:51px}.english-name{min-height:0;font-size:12px;margin-bottom:12px}.rank-label{margin-top:12px}.pill{font-size:10px}.card-fee{margin:14px 0 12px}.card-fee-text{min-height:0;font-size:12px}.card-fee-label{font-size:10px}.card-footer .detail-button,.compare-toggle{font-size:12px}.mobile-nav{display:flex;justify-content:space-around;position:fixed;left:0;right:0;bottom:0;background:#fff;box-shadow:0 -2px 15px #192c4310;z-index:50;padding:8px 10px calc(8px + env(safe-area-inset-bottom))}.mobile-nav a{display:flex;align-items:center;flex-direction:column;gap:3px;color:#7d8794;font-size:10px;width:32%}.mobile-nav a.active{color:var(--blue);font-weight:650}.mobile-nav a .icon{height:22px;width:22px}.compare-tray{bottom:76px;width:calc(100% - 28px);padding:12px;gap:8px;border-radius:12px}.compare-tray h3{font-size:11px}.compare-picks{gap:5px}.compare-pick{font-size:9px;padding:6px}.compare-tray>.text-button{display:none}.compare-tray .button{font-size:11px;min-height:34px;padding:8px 12px;white-space:nowrap}.content-shell{padding:18px 14px 150px}.breadcrumb{font-size:11px;margin-bottom:15px}.detail-hero{padding:14px 16px;align-items:flex-start;gap:10px;flex-wrap:wrap;border-radius:14px}.detail-hero .school-mark.large{height:58px;width:58px;border-radius:13px;font-size:20px}.detail-hero h1{font-size:22px}.detail-hero .english-name{font-size:11px;max-width:220px}.detail-hero .detail-title{flex:1;min-width:0}.detail-hero-actions{flex-direction:row;margin:0;flex-basis:100%}.detail-hero-actions .button{flex:1;font-size:12px}.detail-layout{display:block;margin-top:16px}.section-nav{position:sticky;top:64px;z-index:25;background:var(--bg);padding:7px 0 11px;flex-direction:row;overflow:auto;gap:6px;margin:0 -1px 10px;scrollbar-width:none}.section-nav button{white-space:nowrap;background:#fff;padding:10px 12px;font-size:12px;flex-shrink:0}.section-nav button .icon{display:none}.article{padding:23px 18px;border-radius:13px}.article h2{font-size:21px}.article h3{font-size:15px}.article p{font-size:13px;line-height:1.85}.article-table table{min-width:420px;font-size:12px}.article-table td{padding:11px}.article-table td:first-child{min-width:100px}.article-toolbar{align-items:flex-start}.article-toolbar .text-button{font-size:11px;white-space:nowrap}.detail-paid-callout{padding:16px;display:block}.detail-paid-callout .button{margin-top:12px;width:100%}.detail-paid-callout>.icon{display:none}.data-heading{margin:7px 0 20px;display:block}.data-heading h1{font-size:28px}.data-heading p{font-size:12px;line-height:1.9}.data-page-layout{display:block}.data-product{padding:22px 19px;border-radius:14px}.data-product-head{gap:12px}.data-product-head .school-mark.large{width:55px;height:55px;font-size:20px;border-radius:12px}.data-product-head h2{font-size:20px}.metric-previews{grid-template-columns:1fr;gap:8px;margin:18px 0}.metric-preview{padding:14px}.year-tags .pill{font-size:9px}.purchase-card{margin-top:17px;position:static;padding:23px}.price-line{font-size:35px}.insight-grid{grid-template-columns:1fr}.onboarding-grid{grid-template-columns:1fr;gap:13px}.prep-item{padding:20px}.modal-backdrop{padding:12px;align-items:center}.modal{padding:24px 20px;border-radius:17px;max-height:90dvh}.modal.wide{padding:22px 16px}.modal-head h2{font-size:19px}.modal p{font-size:12px}.order-summary{padding:16px}.modal-actions{gap:8px}.modal-actions .button{font-size:12px}#toast{bottom:150px;font-size:12px;max-width:90%;width:max-content}.section-panel{padding:22px 19px}.page-footer{font-size:10px}.saved-tabs button{font-size:12px}}
.left-rail{max-height:calc(100vh - 115px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d3dce9 transparent;padding-right:4px;padding-bottom:8px}.left-rail .filter-group{margin:20px 0}.left-rail .filter-group:first-of-type{margin-top:15px}.area-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.area-options .region-button{font-size:12px;padding:8px 10px;background:#e7eaf0}.area-options .region-button.active{background:var(--brand-selected)}.filter-label,.filter-group>label{display:flex;align-items:center;gap:7px}.filter-label .icon,.filter-group>label>.icon{width:15px;height:15px;color:#7d8ba0}.filter-unit{margin-left:auto;font-size:10px;font-weight:450;color:#7c8898;white-space:nowrap}.filter-options{display:flex;flex-wrap:wrap;gap:5px}.filter-chip{padding:7px 10px;border-radius:7px;background:#e7eaf0;color:#69768a;font-size:11px;flex:1;white-space:nowrap}.filter-chip.active{background:var(--brand-selected);color:var(--blue);font-weight:650}.intake-options .filter-chip{padding:7px 8px}.exam-checkbox{margin:12px 0 0!important;font-size:12px!important;display:flex!important;align-items:center;gap:8px!important;color:#52637a!important;cursor:pointer}.exam-checkbox input{width:16px;height:16px;accent-color:var(--blue);margin:0;flex-shrink:0}.exam-checkbox small{font-size:9px;color:#8c97a6;font-weight:400;display:block}.filter-explanation{margin-top:10px;font-size:10px;color:#78869a;line-height:1.8}.filter-explanation summary{cursor:pointer}.filter-explanation p{margin:7px 0}.filter-rate{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#7d8a9c;gap:5px}.filter-rate .icon{width:14px;height:14px}.left-rail .rail-footer{margin-top:18px}.filter-scope-note{font-size:11px;color:#78869a;margin:-2px 0 16px;line-height:1.8}.match-notes{background:#f1f6fd;border-radius:8px;padding:10px 11px;margin:0 0 14px;font-size:10px;color:#617792}.match-notes>div{display:flex;gap:6px;align-items:flex-start;margin:3px 0;line-height:1.8}.match-notes .icon{width:12px;height:17px;color:var(--blue);flex-shrink:0}@media(max-width:600px){.left-rail.filters-open{max-height:none;padding-right:20px;padding-bottom:30px}.left-rail .filter-group{margin:20px 0}.area-options{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-chip{font-size:12px}.filter-unit{font-size:11px}.filter-scope-note{font-size:10px}.match-notes{font-size:11px}.exam-checkbox small{display:inline;margin-left:5px}.filter-hint{font-size:11px}}
.filter-panel-actions{display:none}@media(max-width:600px){.filter-panel-actions{display:block;position:sticky;bottom:-30px;background:#f0f2f5;padding:13px 0 16px;margin-top:15px;z-index:2}.filter-panel-actions .button{font-size:13px}.left-rail.filters-open>.rail-title{position:sticky;top:-25px;background:#f0f2f5;padding:12px 0;margin:-12px 0 0;z-index:3}.left-rail.filters-open>.filter-rate{margin-top:12px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.topbar,.primary-nav,.mobile-nav,.left-rail,.right-rail,.section-nav,.detail-hero-actions,#compare-tray,#toast,.article-toolbar button,.detail-paid-callout,.breadcrumb,.skip-link{display:none!important}body{background:white;font-family:"Songti SC","SimSun",serif;font-size:11pt;line-height:1.15}.content-shell,.shell{display:block;padding:0;max-width:none}.detail-hero,.article,.data-product,.purchase-card,.section-panel{box-shadow:none;padding:12px 0}.detail-layout{display:block}.article-table{overflow:visible}.article-table table{min-width:0;font-size:9pt;line-height:1.15}td,th{padding:7px}tr{break-inside:avoid}h2,h3{break-after:avoid}.detail-hero h1{color:#174f85}a{color:inherit}.print-only{display:block}.modal-backdrop{position:static;padding:0;background:white}.modal{width:100%;max-height:none;box-shadow:none}.modal-close,.modal-actions{display:none}@page{size:A4;margin:18mm}}

/* School assets share a fixed frame while preserving their original proportions. */
.school-mark.has-logo{background:#fff;padding:0;overflow:hidden;flex-shrink:0}.school-mark.has-logo img{display:block;width:100%;height:100%;object-fit:contain}

/* Help text is available on demand; fixed-position bubbles escape rail clipping. */
.filter-heading{display:flex;align-items:center;gap:6px;margin-bottom:9px;color:var(--muted);min-height:28px}.filter-heading>label,.filter-heading>span{display:flex;align-items:center;gap:7px;margin:0;font-size:12px;font-weight:650}.filter-heading .icon{width:15px;height:15px;color:#7d8ba0}.filter-heading .filter-unit{font-size:10px;margin-left:auto}.filter-heading .tip-trigger{margin-left:auto}.filter-heading .filter-unit+.tip-trigger{margin-left:0}.tip-trigger{display:inline-grid;place-items:center;width:28px;height:28px;min-width:28px;padding:0;border-radius:50%;color:#8a96a6;font-size:12px;font-weight:650;vertical-align:middle;line-height:1}.tip-trigger:before{content:"";position:absolute;width:15px;height:15px;border:1px solid currentColor;border-radius:50%}.tip-trigger:hover,.tip-trigger[aria-expanded=true]{color:var(--blue);background:var(--blue-soft)}.help-tip{position:fixed;z-index:300;max-width:min(284px,calc(100vw - 24px));padding:13px 16px;border-radius:12px;background:#fff;color:#465365;box-shadow:0 6px 32px #152c4826;font-size:12px;font-weight:400;line-height:1.85;overflow-wrap:anywhere}.exam-heading{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:12px}.exam-heading .exam-checkbox{margin:0!important}.filter-rate{margin-top:24px}.filter-rate .tip-trigger{margin-left:auto}.rail-footer>span{display:inline-flex;align-items:center;gap:3px}.free-access{display:inline-flex;align-items:center;margin:12px 0 22px;padding:5px 10px;background:var(--brand-tint);color:var(--blue-dark);border-radius:6px;font-size:12px;font-weight:600}.hero .hero-help{display:inline-flex;margin:0 0 0 4px;vertical-align:middle}.help-note{display:inline-flex;align-items:center;margin:8px 0}.region-button{justify-content:flex-start}.left-rail{padding-right:12px}.page-footer .tip-trigger{font-size:11px}
@media(min-width:1201px){.shell{column-gap:36px;grid-template-columns:218px minmax(0,1fr) 248px}}
@media(min-width:851px) and (max-width:1200px){.shell{column-gap:32px}}
@media(min-width:601px) and (max-width:850px){.shell{column-gap:26px}}
@media(max-width:600px){.filter-heading{margin-bottom:8px}.filter-heading>label,.filter-heading>span{font-size:13px}.left-rail.filters-open{padding-left:24px;padding-right:24px;width:min(350px,92vw)}.free-access{margin:10px 0 18px;font-size:11px}.help-tip{font-size:13px}.filter-rate{margin-top:18px}}
@media print{.tip-trigger,.help-tip,.hero-help,.help-note{display:none!important}}

.tip-trigger{position:relative}.hero .hero-help{margin:0 0 0 4px}.aside-card .hero-help{display:inline-flex;margin:0}.aside-list-item small.hero-help{display:inline-flex}
/* Review pass: compact hero, adjacent help, and unclipped filter focus rings. */
.filter-heading{justify-content:flex-start;gap:3px}.filter-heading .tip-trigger,.filter-heading .filter-unit+.tip-trigger{margin-left:0;flex-shrink:0}.filter-heading>label,.filter-heading>span{flex:0 1 auto}.exam-heading{justify-content:flex-start;gap:3px}.left-rail{padding:8px 12px 12px 8px;scroll-padding-block:8px}.filter-input:focus,.filter-select:focus{outline:2px solid var(--blue);outline-offset:3px}.budget-unit{font-size:11px;color:var(--muted);margin-top:8px}.area-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.area-options .region-all{grid-column:1/-1;min-height:34px;justify-content:center}.region-choice{display:flex!important;align-items:center;gap:7px;padding:9px 10px;min-height:36px;background:#e7eaf0;border-radius:8px;font-size:12px!important;font-weight:450!important;margin:0!important;color:#65676b;cursor:pointer}.region-choice:has(input:checked){background:var(--brand-selected);color:var(--blue);font-weight:600!important}.region-choice input,.exam-checkbox input{appearance:none;-webkit-appearance:none;width:16px;height:16px;min-width:16px;border:0;border-radius:5px;background:#d7dce5;margin:0;display:grid;place-content:center;cursor:pointer}.region-choice input:checked,.exam-checkbox input:checked{background:var(--blue)}.region-choice input:checked:before,.exam-checkbox input:checked:before{content:"";width:8px;height:4px;border-left:2px solid white;border-bottom:2px solid white;transform:translateY(-1px) rotate(-45deg)}.region-choice input:focus-visible,.exam-checkbox input:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.filter-rate{flex-wrap:wrap;justify-content:flex-start;gap:3px}.filter-rate .tip-trigger{margin-left:0}.filter-rate .text-button{margin-left:auto}.fx-date{font-size:10px;white-space:nowrap}.hero.hero-compact{padding:24px 28px;min-height:0}.hero.hero-compact h1{font-size:29px;line-height:1.38;margin:0 0 18px;letter-spacing:-.025em}.hero-compact .quick-tags{margin-top:0}.filtered-count{font-size:inherit!important;color:inherit!important;margin-left:3px!important;font-weight:500}.aside-card h3 .tip-trigger{margin-left:2px}
@media(min-width:1201px){.shell{grid-template-columns:238px minmax(0,1fr) 248px;column-gap:30px}}
@media(min-width:851px) and (max-width:1200px){.shell{grid-template-columns:238px minmax(0,1fr);column-gap:28px}}
@media(min-width:601px) and (max-width:850px){.shell{grid-template-columns:208px minmax(0,1fr);column-gap:24px}.region-choice{padding:9px 7px}}
@media(max-width:600px){.left-rail.filters-open{padding:25px 24px 30px}.area-options{grid-template-columns:repeat(3,minmax(0,1fr))}.area-options .region-all{grid-column:1/-1}.region-choice{padding:9px 8px;gap:6px}.hero.hero-compact{padding:22px 21px}.hero.hero-compact h1{font-size:25px;margin-bottom:15px}.hero-compact .quick-tags{font-size:10px}.fx-date{font-size:11px}}

/* Linked region checkboxes and a single aligned budget/rate caption. */
.region-all-choice{grid-column:1/-1;background:transparent!important;width:fit-content;padding:6px 10px;min-height:30px}.region-choice input:indeterminate{background:var(--blue)}.region-choice input:indeterminate:before{content:"";width:8px;height:2px;border:0;background:#fff;transform:none}.region-all-choice:has(input:indeterminate){color:var(--blue)}.filter-select,.filter-input,.filter-input::placeholder{color:var(--muted)}.filter-select option{color:var(--muted)}.budget-unit{padding-left:12px;font-size:10px;line-height:1.8;overflow-wrap:anywhere}.hero-information{color:var(--muted);font-size:11px;line-height:1.9}.hero-information a{font-weight:500}.hero.hero-compact h1{margin-bottom:12px}
@media(max-width:600px){.budget-unit{font-size:11px}.hero-information{font-size:10px}.hero-information a{overflow-wrap:anywhere}}

/* Unified clear controls, select indicators, and navigation extensions. */
.input-with-clear{position:relative;width:100%}.input-with-clear .filter-input{padding-right:36px}.input-clear{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:var(--muted);font-size:19px;font-weight:400;line-height:1}.input-clear:hover{background:#d5dbe5}.input-clear[hidden]{display:none}.filter-input::-webkit-search-cancel-button{appearance:none;-webkit-appearance:none}.filter-input[type=number]::-webkit-inner-spin-button,.filter-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.filter-input[type=number]{-moz-appearance:textfield;appearance:textfield}.exam-checkbox,.region-all-choice,.region-all-choice:has(input:checked),.region-all-choice:has(input:indeterminate){font-weight:400!important}
select.filter-select,select.sort-select,select.currency-select,select.language-select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2365676b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px!important}.language-control{display:flex;align-items:center;background:#f0f2f5;border-radius:8px;flex-shrink:0}.language-select{border:0;background-color:transparent;color:#65676b;font-size:12px;padding:7px 10px;max-width:112px;cursor:pointer}.language-select option:disabled{color:#9ca5b3}.nav-coming{font-size:9px;font-weight:400;white-space:nowrap;color:#8a8d91}.primary-nav{gap:2px}.primary-nav a{padding-left:14px;padding-right:14px;gap:7px;white-space:nowrap;font-size:14px}.header-actions{gap:10px}.ai-placeholder{padding:36px}.ai-placeholder h1{margin:12px 0}.ai-placeholder p{color:var(--muted);margin-bottom:24px}.mobile-nav a{width:25%}
@media(min-width:1001px) and (max-width:1200px){.topbar{padding-left:28px;padding-right:28px;gap:16px}.primary-nav a{padding:0 10px;font-size:13px}.primary-nav .icon{width:18px}.header-actions{gap:7px}.brand{font-size:20px}.nav-coming{font-size:8px}.header-actions .circle-button{display:none}}
@media(min-width:601px) and (max-width:1000px){.topbar{height:112px;flex-wrap:wrap;gap:6px 14px;padding:10px 20px}.primary-nav{order:3;width:100%;height:42px;justify-content:center}.primary-nav a{padding:0 20px}.header-actions{margin-left:auto}.left-rail{top:132px;max-height:calc(100vh - 145px)}}
@media(max-width:600px){.language-select{font-size:10px;padding:6px 7px;max-width:91px}.header-actions{gap:6px}.header-actions .avatar{display:none}.brand{font-size:17px}.language-control{border-radius:6px}.currency-select{font-size:10px}.header-currency .currency-control{padding-left:6px}.input-clear{width:30px;height:30px}.ai-placeholder{padding:24px}}
@media(forced-colors:active){select.filter-select,select.sort-select,select.currency-select,select.language-select{appearance:auto;background-image:none}}
.input-with-clear:has(.input-clear[hidden]) .filter-input{padding-right:12px}.filter-input::placeholder{font-size:12px}

/* Compact campus banner and unavailable navigation. */
.rail-title>strong{font-size:16px;font-weight:700}.rail-title>button[data-action=reset]{margin-left:auto}
.primary-nav a.nav-disabled,.mobile-nav a.nav-disabled{color:#a8afb9;cursor:default;pointer-events:none}.primary-nav a.nav-disabled:hover{background:transparent}.unavailable-title{color:#a8afb9}
.hero.hero-campus{padding:20px 28px;background-color:#fff;background-image:linear-gradient(90deg,#fff 0%,#fff 37%,rgba(255,255,255,.92) 47%,rgba(255,255,255,.22) 70%,rgba(255,255,255,0) 100%),url('./assets/overseas-campus-hero.webp');background-size:cover;background-position:center,right center}
.hero.hero-campus h1{position:relative;font-size:27px;line-height:1.3;margin:0 0 9px}.hero-campus .hero-information{position:relative;font-size:10px;line-height:1.8;max-width:390px}
@media(max-width:600px){.hero.hero-campus{padding:18px 20px;background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 37%,rgba(255,255,255,.85) 67%,rgba(255,255,255,.45) 100%),url('./assets/overseas-campus-hero.webp');background-position:center,right center}.hero.hero-campus h1{font-size:24px}.hero-campus .hero-information{font-size:10px;max-width:100%}}

/* Bring students forward while retaining the text's white space. */
.hero.hero-campus{background-size:cover,auto 185%;background-position:center,right 78%}
@media(max-width:600px){.hero.hero-campus{background-size:cover,auto 155%;background-position:center,right 78%}}
/* Account, verification and request forms. */
.avatar:not(.signed-in){width:auto;min-width:44px;padding:0 9px;border-radius:8px;font-size:12px}.account-form{display:grid;gap:15px}.account-form label{display:grid;gap:7px;font-size:12px;font-weight:550;color:var(--muted)}.account-form input:not([type=checkbox]),.account-form select,.account-form textarea{width:100%;min-width:0;border:0;border-radius:9px;background:#f0f2f5;padding:12px;color:var(--ink);font:inherit;line-height:1.5}.account-form input:focus,.account-form select:focus,.account-form textarea:focus{outline:2px solid var(--blue);outline-offset:2px}.account-form input[readonly]{color:var(--muted)}.account-form button:disabled{opacity:.45;cursor:not-allowed}.verify-row{display:flex;gap:10px;align-items:end}.verify-row>label{flex:1;min-width:0}.verify-row>button{flex-shrink:0;min-height:43px}.phone-field{display:flex;align-items:center;gap:9px;background:#f0f2f5;border-radius:9px;padding-left:12px}.phone-field input{flex:1}.auth-tabs{display:flex;gap:12px;margin-bottom:16px}.auth-tabs[hidden]{display:none}.auth-tabs button{flex:1;border-radius:8px;padding:10px;background:#f0f2f5;color:var(--muted)}.auth-tabs .selected{background:var(--blue-soft);color:var(--blue);font-weight:650}.form-message{color:#6a5260;font-size:12px;line-height:1.8}.form-message:empty{display:none}.account-form .consent-row{display:flex;align-items:start;gap:9px;font-weight:400;line-height:1.8}.consent-row input{margin-top:4px;accent-color:var(--blue);flex-shrink:0}.account-form .text-button{text-align:center}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin:24px 0}.profile-grid small{color:var(--muted)}.profile-grid p{font-size:13px}.catalog-results{margin-top:24px}.catalog-results h2{font-size:17px}.catalog-row{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:15px 0}.catalog-row p{color:var(--muted);font-size:11px;line-height:1.8;margin:4px 0}.catalog-row .button{flex-shrink:0;font-size:11px;padding:9px 12px}.catalog-row strong{font-size:13px}.load-more{display:flex;justify-content:center;margin:24px 0}.request-record{padding:18px 0}.request-record>.pill{margin-left:10px}.request-record p{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.request-record small{font-size:10px;color:var(--muted)}.filter-panel-actions{display:block;position:sticky;bottom:0;padding:12px 0;background:var(--canvas,#f0f2f5);z-index:3}.filter-panel-actions .button{font-size:12px}.account-form select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2365676b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px}
@media(max-width:600px){.header-actions .avatar{display:grid}.catalog-row{align-items:start;flex-direction:column}.modal:has(.account-form){padding:22px}.account-form label{font-size:13px}.filter-panel-actions{bottom:-30px}.header-actions{gap:4px}.language-select{max-width:82px}.avatar:not(.signed-in){min-width:36px;padding:0 5px;font-size:11px}.account-form input,.account-form select,.account-form textarea{font-size:16px!important}}
/* Free and advanced reading share a directory, with restrained grouping. */
.section-group{display:flex;flex-direction:column;gap:3px}.section-group+.section-group{margin-top:20px;padding-top:17px;box-shadow:0 -1px 0 #e9edf3}.section-group-label{display:flex;align-items:center;justify-content:space-between;padding:0 10px 8px;font-size:11px;font-weight:700;letter-spacing:.04em;color:#7e8795}.section-group-label .icon{width:13px;height:13px}.section-group-advanced .section-group-label{color:#526b9c}.section-nav .section-group button{display:flex;align-items:center;gap:8px;width:100%}.section-group button span{flex:1;text-align:left}.section-group button small{font-size:9px;font-weight:400;color:#6781ae;background:#edf2fc;border-radius:4px;padding:2px 4px}.section-access{display:inline-flex;font-size:10px;font-weight:500;padding:4px 8px;border-radius:5px;margin-bottom:8px}.section-access.basic{color:#69788a;background:#f0f4f8}.section-access.advanced{color:var(--blue-dark);background:var(--blue-soft)}.article-heading{min-width:0}.article-toolbar .article-heading h2{margin:0}.advanced-preview{padding:30px;border-radius:14px;background:linear-gradient(135deg,var(--brand-tint),#f8f9fc);margin-top:12px}.advanced-preview-head{display:flex;gap:16px;align-items:flex-start}.premium-icon{width:45px;height:45px;flex-shrink:0;display:grid;place-items:center;color:var(--blue);border-radius:13px;background:var(--brand-selected)}.advanced-preview h3{font-size:19px;margin:0 0 9px}.advanced-preview p{font-size:13px;color:#657084;line-height:1.85;margin:0}.premium-outline{display:grid;gap:14px;margin:26px 0;padding:23px;background:#ffffffb8;border-radius:11px}.premium-outline>div{display:flex;align-items:center;gap:10px;font-size:13px;color:#465773}.premium-outline .icon{width:17px;color:#7790b2}.advanced-preview .advanced-scope{font-size:11px;margin-bottom:23px}.premium-actions{display:flex;gap:10px;flex-wrap:wrap}.advanced-preview .purchase-status{font-size:11px;margin-top:13px;color:#7b8595}.free-reading-return{display:flex;gap:8px;align-items:center;font-size:12px;color:#7b8595;margin:22px 0}.free-reading-return .icon{width:15px;color:var(--blue)}
@media(max-width:600px){.section-nav .section-group{flex:0 0 auto}.section-nav{align-items:stretch}.section-group+.section-group{margin:0 0 0 12px;padding:0 0 0 12px;box-shadow:-1px 0 0 #e9edf3}.section-group-label{padding:0 6px 7px;font-size:10px;justify-content:flex-start;gap:6px}.section-group{display:grid;grid-auto-flow:column;grid-template-rows:auto auto;gap:5px}.section-group-label{grid-column:1/-1}.section-nav .section-group button{width:auto;white-space:nowrap}.advanced-preview{padding:22px 18px}.advanced-preview-head{gap:12px}.advanced-preview h3{font-size:17px}.premium-icon{width:38px;height:38px}.premium-outline{padding:18px;margin:22px 0}.premium-actions .button{width:100%}.article-toolbar{align-items:flex-start}}
/* Paid resources and account entry */
.header-actions .avatar,.header-actions .avatar:not(.signed-in){display:grid;width:40px;min-width:40px;height:40px;padding:0;border-radius:50%;background:var(--brand-selected);opacity:1;color:var(--blue);cursor:pointer;overflow:hidden}.avatar-image{display:block;width:40px;height:40px}.avatar:hover{box-shadow:0 0 0 4px var(--blue-soft)}#help-button{color:var(--blue);background:var(--blue-soft)}.pack-module-heading{display:flex;align-items:center;justify-content:space-between;color:var(--blue)}.pack-module-heading h3{color:var(--ink);margin:0}.pack-module-heading>.icon{width:18px}.pack-list{display:grid;margin-top:14px;gap:6px}.pack-item{display:flex;align-items:center;gap:10px;width:100%;padding:13px 8px;text-align:left;border-radius:10px}.pack-item:hover{background:#f4f7fc}.pack-item-icon{display:grid;place-items:center;width:32px;height:36px;color:var(--blue);background:var(--blue-soft);border-radius:8px;flex-shrink:0}.pack-item>span:nth-child(2){flex:1;min-width:0}.pack-item strong{display:block;font-size:12px;line-height:1.65;font-weight:600}.pack-item small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.pack-item>.icon{width:14px;color:var(--subtle)}.popular-packs{padding:20px 13px}.pack-module-heading{padding:0 8px}.payment-heading h1{font-size:28px;margin:7px 0}.payment-heading p,.pack-detail>p{color:var(--muted);font-size:13px}.payment-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;margin-top:24px}.pack-nav{display:grid;align-content:start;gap:8px}.pack-nav-item{display:flex;align-items:center;gap:10px;padding:17px 15px;border-radius:12px;color:var(--muted);font-size:13px}.pack-nav-item>span{flex:1}.pack-nav-item>.icon:last-child{width:14px}.pack-nav-item.active{background:var(--blue-soft);color:var(--blue);font-weight:600}.pack-nav-item:hover{background:#e9edf5}.pack-detail h2{font-size:24px;margin:12px 0}.pack-scope{background:#f7f9fc;padding:18px 20px;border-radius:12px;margin:22px 0}.pack-scope h3{font-size:13px;margin:0 0 12px}.pack-scope ul{padding:0;margin:0;list-style:none;display:grid;gap:10px;font-size:13px;color:#536274}.pack-scope li{display:flex;align-items:center;gap:9px}.pack-scope .icon{width:16px;color:var(--blue)}.payment-status{margin:24px 0;padding:20px;background:#f1f5fc;border-radius:12px;font-size:13px}.payment-status p{color:var(--muted);margin:8px 0}.payment-status>span{font-size:12px;color:var(--muted)}
@media(max-width:700px){.payment-layout{grid-template-columns:minmax(0,1fr);gap:18px}.pack-nav{display:flex;overflow:auto;gap:8px}.pack-nav-item{flex-shrink:0;padding:12px;font-size:12px}.pack-nav-item>.icon{width:16px}.pack-detail h2{font-size:21px}.header-actions .avatar,.header-actions .avatar:not(.signed-in),.avatar-image{width:34px;min-width:34px;height:34px}}
@media(min-width:1201px){.shell>.right-rail{display:flex}}
@media(min-width:601px) and (max-width:1200px){.shell>.right-rail{display:grid;grid-template-columns:1fr 1fr;position:static;grid-column:2;align-items:start;gap:18px}}
@media(max-width:600px){.shell>.right-rail{display:flex;position:static;grid-column:auto;margin-top:18px}}
/* Header and resource rail refinements */
.header-currency .currency-control{padding-left:0}.header-currency .currency-select{width:auto;min-width:108px;padding-left:12px;padding-right:30px}.header-actions #help-button.membership-button{width:auto;height:38px;min-height:38px;border-radius:8px;padding:8px 14px;background:var(--blue);color:#fff;white-space:nowrap;font-size:12px}.header-actions #help-button.membership-button:hover{background:var(--blue-dark)}.header-actions .avatar,.header-actions .avatar:not(.signed-in){background:transparent;color:var(--blue);overflow:visible}.header-actions .avatar-image{width:24px;min-width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.filter-panel-actions{position:static;bottom:auto;padding:16px 0 0;background:transparent;z-index:auto}.compare-promo h3{font-size:13px;font-weight:600;line-height:1.8;margin-bottom:16px}.pack-item{position:relative;padding-top:18px;padding-bottom:14px}.pack-item-icon{width:24px;height:30px;background:transparent;border-radius:0;color:var(--blue)}.pack-item-icon .icon{width:20px;height:20px}.pack-hot{position:absolute;top:2px;right:24px;font-size:8px;font-weight:750;line-height:1.4;letter-spacing:.04em;color:#df5c3d;background:#fff0e9;border-radius:3px;padding:1px 4px}.pack-more{margin-top:15px;font-size:12px}.pack-module-heading h3{font-size:14px}
@media(max-width:700px){.header-actions #help-button.membership-button{padding:7px 9px;font-size:11px;min-height:34px;height:34px}.header-currency .currency-select{min-width:86px;padding-left:8px;padding-right:23px;font-size:10px}.header-actions{gap:4px}.header-actions .avatar,.header-actions .avatar:not(.signed-in){min-width:28px;width:28px}.header-actions .avatar-image{width:22px;height:22px}.filter-panel-actions{position:static;bottom:auto}}
@media(max-width:400px){.topbar{padding-left:12px;padding-right:12px;gap:8px}.brand{gap:6px;font-size:14px}.brand small{font-size:8px;letter-spacing:.05em}.brand-icon{width:30px;height:30px;font-size:18px;border-radius:9px}.language-select{max-width:74px}.header-currency .currency-select{min-width:80px;padding-left:6px;padding-right:20px}.header-actions #help-button.membership-button{padding:7px}}
@media(max-width:700px){.header-currency .currency-control{padding:0}.header-currency .currency-select{width:86px;min-width:0;max-width:86px}.header-actions{flex-shrink:1;min-width:0}}
@media(max-width:400px){.header-currency .currency-select{width:80px;max-width:80px}}
/* Persistent filter actions with a separate scrolling viewport */
.left-rail{height:calc(100dvh - 115px);max-height:calc(100dvh - 115px);overflow:hidden;padding-bottom:0;display:flex;flex-direction:column}.filter-scroll{display:flex;flex-direction:column;gap:20px;min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:3px 5px 18px 3px}.filter-panel-actions{flex:0 0 auto;position:relative;bottom:auto;padding:14px 3px 6px;background:var(--bg);box-shadow:0 -8px 18px var(--bg)}.load-more{margin-top:46px;margin-bottom:32px}.right-rail-bottom{font-size:11px;line-height:1.8;padding:4px 8px;color:var(--muted)}.right-rail-bottom .page-footer{text-align:left;margin-top:14px;padding:0;font-size:10px}.header-actions{gap:14px}.header-actions .avatar,.header-actions .avatar:not(.signed-in){border:1px solid var(--brand-border);border-radius:50%;display:grid;place-items:center;padding:0;width:38px;min-width:38px;height:38px}.header-actions .avatar-image{margin:0;display:block;transform:translateY(-1px)}.pack-copy strong{display:flex;align-items:flex-start;justify-content:space-between;gap:5px}.pack-hot{position:static;flex-shrink:0;margin-top:2px}.pack-item{padding-top:14px}.membership-shell{max-width:1120px}.membership-heading{text-align:center;margin:22px 0 38px}.membership-heading h1{font-size:32px;margin:0 0 12px}.membership-heading p{font-size:14px;color:var(--muted)}.membership-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.membership-card{background:white;border-radius:20px;padding:30px 26px;box-shadow:var(--shadow)}.membership-card.recommended{background:var(--brand-tint);box-shadow:0 0 0 1px var(--brand-border)}.plan-label{font-size:11px;color:#697b95;min-height:20px}.membership-card h2{font-size:21px;margin:14px 0 23px}.membership-price{font-size:44px;font-weight:650;line-height:1.2;letter-spacing:-1px}.membership-price>span{font-size:24px;vertical-align:top;margin-right:4px}.membership-price small{font-size:11px;color:var(--muted);font-weight:400;letter-spacing:0;margin-left:9px}.plan-term{font-size:12px;color:var(--muted);margin:12px 0 25px}.membership-card ul{list-style:none;margin:27px 0 0;padding:0;display:grid;gap:17px}.membership-card li{display:flex;align-items:flex-start;gap:9px;font-size:13px}.membership-card li .icon{width:16px;height:19px;color:var(--blue)}.membership-status{max-width:760px;margin:27px auto;text-align:center;font-size:12px;color:var(--muted)}
@media(max-width:850px){.header-actions{gap:7px}.membership-grid{grid-template-columns:1fr}.membership-card{padding:25px}.membership-heading h1{font-size:26px}}
@media(max-width:600px){.left-rail{display:none}.left-rail.filters-open{display:flex;height:100dvh;max-height:100dvh;overflow:hidden;padding:20px 16px 12px}.filter-scroll{padding-bottom:20px}.left-rail.filters-open .rail-title{position:static}.filter-panel-actions{position:relative;bottom:auto;padding-bottom:max(8px,env(safe-area-inset-bottom))}.header-actions{gap:4px}.header-actions .avatar,.header-actions .avatar:not(.signed-in){width:28px;min-width:28px;height:28px}.right-rail-bottom{width:100%}}
.payment-heading{background:transparent;box-shadow:none;border:0;border-radius:0;padding:6px 0 12px;text-align:left}.payment-heading h1{font-size:30px}.payment-layout{align-items:stretch}.pack-nav{background:white;border:1px solid #e5e9ef;border-radius:16px;padding:12px;height:100%;align-content:start;box-shadow:var(--shadow)}.pack-nav-item{font-size:12px}.pack-detail h2{margin-top:0}.package-date{font-size:12px;color:var(--muted);margin-bottom:24px}.package-description{margin:22px 0 28px;font-size:14px;line-height:1.9;color:#526175}.package-description h3{font-size:14px;color:var(--ink)}.package-description ul{padding-left:20px;display:grid;gap:8px}.package-note{font-size:12px;color:var(--muted);line-height:1.8;margin-top:20px}.saved-page .hero{background:transparent;box-shadow:none;border:0;border-radius:0;padding:8px 0 24px;text-align:left}.saved-page .hero h1{font-size:30px}.saved-page .school-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.saved-page .mobile-filter-button{display:none}.comparison-rate{background:none;color:var(--muted);font-size:11px;margin-top:20px}.comparison-download{display:flex;align-items:center;gap:16px;margin-top:20px}.comparison-download small{color:var(--muted);font-size:12px}.comparison-locked{display:grid;gap:8px;color:#6d7f97;font-size:11px}.comparison-locked .blur-placeholder{filter:blur(4px);user-select:none;pointer-events:none;color:#7b8ba4}.comparison-locked>span:last-child{display:flex;align-items:center;gap:5px}.comparison-locked .icon{width:13px;height:13px}.modal-close{display:grid;place-items:center;width:34px;height:34px;padding:0;line-height:1;font-family:Arial,sans-serif;flex-shrink:0}.modal-head{align-items:center}
@media(max-width:850px){.saved-page .school-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.pack-nav{height:auto}.comparison-download{align-items:flex-start;flex-direction:column}.saved-page .hero h1{font-size:25px}}@media(max-width:600px){.saved-page .school-grid{grid-template-columns:1fr}}
.payment-layout>.pack-detail{margin:0}
/* Authentication dialogs must remain above the mobile filter drawer (z-index 110). */
.modal-backdrop{z-index:200}

.membership-counting-rule{font-size:13px;color:#526175;text-align:center;line-height:1.85;margin:24px auto 0;max-width:800px}
/* A fixed modal footer and one independently scrolling comparison region. */
.modal.comparison-modal{display:flex;flex-direction:column;overflow:hidden;padding:0;height:min(90dvh,900px);max-height:90dvh}.comparison-modal>.modal-head{flex:0 0 auto;padding:22px 26px 16px;margin:0;background:white}.comparison-scroll{flex:1;min-height:0;overflow:auto;padding:0 26px 20px;overscroll-behavior:contain}.comparison-scroll>p:first-child{font-size:12px;color:var(--muted);margin:0 0 18px}.comparison-modal .comparison-table{overflow:visible}.comparison-modal .comparison-table>table{width:100%;min-width:680px;table-layout:fixed}.comparison-modal .comparison-table>table>thead{position:sticky;top:0;z-index:2;background:#edf3fc}.comparison-modal .comparison-table>table>thead th{background:#edf3fc;text-align:left;vertical-align:top}.comparison-modal .comparison-table>table>thead th:first-child{width:130px}.comparison-modal .comparison-table>table>tbody>tr>th{font-size:12px;font-weight:600;color:#526e92;vertical-align:top;text-align:left;padding:16px 12px}.comparison-modal .comparison-table>table>tbody>tr>td{vertical-align:top;overflow-wrap:anywhere;padding:16px 12px}.comparison-modal .comparison-table thead h3{font-size:14px;margin:9px 0 6px}.comparison-modal .comparison-table thead p{font-size:10px;font-weight:400;margin:0;line-height:1.5}.comparison-section-content{font-size:12px;line-height:1.85}.comparison-section-content .article-table{overflow:visible}.comparison-section-content table{min-width:0!important;width:100%;table-layout:fixed;border-collapse:collapse;font-size:11px}.comparison-section-content td,.comparison-section-content th{padding:7px 5px!important;overflow-wrap:anywhere;white-space:normal!important;font-size:11px}.comparison-section-content h3,.comparison-section-content h4{font-size:12px;margin:14px 0 8px}.comparison-section-content p{font-size:12px}.comparison-section-content ul,.comparison-section-content ol{padding-left:17px}.comparison-empty{color:#8a94a4}.comparison-modal .comparison-download{flex:0 0 auto;display:flex;justify-content:center;align-items:center;margin:0;padding:16px 24px max(16px,env(safe-area-inset-bottom));background:white;box-shadow:0 -3px 14px #243c5410;z-index:3}.comparison-modal .comparison-download .button{min-width:190px}.comparison-modal .comparison-rate{margin:20px 0 0}
@media(max-width:600px){.modal.comparison-modal{height:92dvh;max-height:92dvh}.comparison-modal>.modal-head{padding:18px 16px 14px}.comparison-scroll{padding:0 14px 16px}.comparison-modal .comparison-table>table>thead th:first-child{width:95px}.comparison-modal .comparison-download{flex-direction:row;padding-top:13px;padding-bottom:13px}}
.account-settings{max-width:1050px}.account-settings h1{font-size:28px;margin:0 0 26px}.account-edit-form{max-width:780px}.settings-row{display:grid;grid-template-columns:145px minmax(0,1fr);gap:26px;align-items:start;padding:14px 0}.settings-row>label{font-size:13px;font-weight:550;padding-top:11px;color:#536273}.settings-row label>span{color:#647fa7}.settings-field{min-width:0}.settings-field input,.settings-field select{width:100%;min-width:0;min-height:42px;border:0;border-radius:8px;background:#f0f2f5;padding:10px 12px;font:inherit;font-size:13px;color:var(--ink)}.settings-field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2365676b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:36px}.settings-field input:focus,.settings-field select:focus{outline:2px solid var(--blue);outline-offset:2px}.settings-inline{display:flex;gap:12px;align-items:center}.settings-inline input{flex:1}.settings-inline .button,.settings-inline .text-button{flex-shrink:0}.verification-status{color:var(--muted);font-size:11px;white-space:nowrap}.settings-field small{display:block;font-size:11px;color:var(--muted);line-height:1.8;margin-top:7px}.settings-field .form-message{margin-bottom:10px}.settings-subtitle{font-size:19px;margin:32px 0 10px;padding-top:24px;box-shadow:0 -1px 0 #edf0f5}.settings-logout{margin-top:30px}.email-verification[hidden]{display:none}.settings-actions{padding-top:8px}.saved-tabs{gap:24px}.saved-heading{margin-bottom:20px}.comparison-facts{margin:0;padding:0;list-style:none;display:grid;gap:13px}.comparison-facts li{font-size:12px;line-height:1.8}.comparison-facts strong{display:block;font-size:11px;font-weight:550;color:#617692;margin-bottom:4px}.comparison-facts span{display:block;color:#384859}.comparison-modal>.modal-head{padding-bottom:7px}.comparison-scroll>.comparison-picked:first-child{margin:0 0 25px;font-size:12px;color:var(--muted)}
@media(max-width:600px){.account-settings .section-panel{padding:22px 16px}.settings-row{grid-template-columns:86px minmax(0,1fr);gap:12px;padding:12px 0}.settings-row>label{font-size:12px}.settings-inline{flex-wrap:wrap;gap:7px}.settings-inline input{flex-basis:100%}.settings-inline .button{padding:8px 10px;font-size:11px}.settings-field input,.settings-field select{font-size:16px}.saved-tabs{gap:20px}.account-settings h1{font-size:25px}}
/* Unified standard button heights. Multi-line content cards retain their natural height. */
:root{--button-height:40px}button{min-height:var(--button-height);box-sizing:border-box}.button,.filter-chip,.text-button,.auth-tabs button,.mobile-filter-button,.input-clear,.modal-close,.package-delete{height:var(--button-height);min-height:var(--button-height);line-height:1.4;align-items:center;justify-content:center}.button,.filter-chip,.text-button,.auth-tabs button,.mobile-filter-button{padding-top:0;padding-bottom:0}.text-button{display:inline-flex}.modal-close,.package-delete,.input-clear{display:grid;place-items:center;padding:0;width:40px;min-width:40px}.header-actions #help-button.membership-button{height:40px;min-height:40px;padding-top:0;padding-bottom:0}.header-actions .avatar,.header-actions .avatar:not(.signed-in){height:40px;min-height:40px;width:40px;min-width:40px;padding:0;display:grid;place-items:center}.save-button{display:grid;place-items:center;width:40px;min-width:40px;height:40px;padding:0}.region-choice{min-height:40px}.tip-trigger{height:40px;min-height:40px;width:24px;min-width:24px;border:0;background:transparent;font-size:0;padding:0;display:inline-flex;align-items:center;justify-content:center}.tip-trigger::before{content:'i';display:grid;place-items:center;width:16px;height:16px;border:1px solid currentColor;border-radius:50%;font-size:11px;line-height:1;color:#8293aa}.tip-trigger:hover{background:transparent}.pack-item,.card-fee,.school-name{height:auto}.package-nav-section h2{font-size:11px;font-weight:650;color:#8390a3;margin:4px 9px 10px}.package-nav-section+.package-nav-section{margin-top:20px;padding-top:18px;box-shadow:0 -1px 0 #edf0f5}.personal-package-row{display:flex;align-items:center;gap:4px}.personal-package-row .pack-nav-item{flex:1;min-width:0;padding-right:6px}.personal-package-row .pack-nav-item>span{overflow-wrap:anywhere}.personal-package-row small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:5px}.package-delete{color:#8b97a6;font-size:19px;border-radius:8px;width:32px;min-width:32px;flex-shrink:0}.package-delete:hover{color:#b33f43;background:#fcf0f0}.package-list-status{font-size:11px;line-height:1.8;color:var(--muted);margin:10px}.pack-nav{max-height:calc(100dvh - 140px);overflow:auto;scrollbar-width:thin}.package-members{margin:24px 0}.package-members h3,.pack-detail>h3{font-size:14px}.package-members ul,.selected-package-items{padding-left:20px;display:grid;gap:8px;font-size:13px;color:#526175}.pack-nav .text-button{font-size:11px;margin-left:8px;text-align:left}.package-nav-section .pack-nav-item{font-size:12px}
@media(max-width:700px){.pack-nav{display:block;height:auto;max-height:360px}.header-actions #help-button.membership-button{height:40px;min-height:40px}.header-actions .avatar,.header-actions .avatar:not(.signed-in){height:40px;width:40px;min-width:40px}.topbar{padding-left:10px;padding-right:10px;gap:6px}.header-actions{gap:3px}}
.verify-row>.button,.compare-tray .button{height:40px;min-height:40px;padding-top:0;padding-bottom:0}

/* Account actions use generous spacing while preserving the shared 40px height. */
.settings-intro{font-size:12px;color:var(--muted);line-height:1.8;margin:-10px 0 22px}
.account-edit-form .settings-actions{padding-top:30px;padding-bottom:30px}
.settings-actions .form-message:empty{display:none}
.settings-subtitle{margin-top:26px;padding-top:30px}
.settings-logout{display:flex;justify-content:center;margin-top:44px;padding-top:24px;padding-bottom:8px}
.settings-logout .logout-link{background:transparent;border:0;box-shadow:none;font-weight:400;color:var(--blue)}
.settings-field input[readonly]{background:#f7f8fa;color:#697586;cursor:default;box-shadow:inset 0 0 0 1px #e7ebf0}
.settings-row .readonly-label{font-size:10px;font-weight:400;color:var(--muted);margin-left:6px}
.membership-counting-rule{margin-top:40px}

/* Keep focus indicators inside clipped/scrollable filter areas. */
#filters .filter-input:focus,#filters .filter-input:focus-visible,#filters .filter-select:focus,#filters .filter-select:focus-visible{outline:2px solid var(--blue);outline-offset:-2px;box-shadow:none}
.active-filters{align-items:center}
.active-filter{display:inline-flex;align-items:center;min-height:0;height:28px;line-height:18px;padding:5px 9px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.auth-invitation{display:flex;align-items:center;gap:5px;font-size:13px;margin:0 0 18px}
.auth-invitation .text-button{padding:0;font-size:13px;font-weight:500}
.auth-secondary-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}
.auth-secondary-actions .text-button{width:auto;margin:0;font-weight:400}
.account-form .form-message:empty{display:none}
.account-form textarea{width:100%;font:inherit;font-size:13px;line-height:1.8;padding:12px;border:0;border-radius:8px;resize:vertical;background:#f0f2f5;color:var(--ink)}
.right-rail-bottom .feedback-link{height:40px;display:inline-flex;align-items:center;padding:0;margin-right:16px;font-size:11px;font-weight:400}
.membership-card h2{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.membership-recommend{display:inline-flex;align-items:center;font-size:11px;line-height:20px;padding:0 7px;border-radius:5px;color:#d43c38;background:#ffebe9;font-weight:600}

.school-card .english-name{margin-bottom:7px;line-height:1.5}
.school-card .pills{align-items:center;gap:6px;line-height:1.5}
.card-applicants{display:block;text-align:left;width:100%;height:auto;margin:14px 0 12px;padding:12px;background:#f7f9fc;border-radius:8px;color:#384859}
.card-applicants:hover{background:#f0f4fa}
.card-applicants-label{display:block;font-size:11px;color:var(--muted);margin-bottom:6px;line-height:1.5}
.card-applicants-text{font-size:12px;line-height:1.7;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.article-body table.article-table-standard{width:100%;table-layout:fixed}
.article-body .article-table-standard td,.article-body .article-table-standard th{min-width:0;overflow-wrap:anywhere;vertical-align:top}

/* One type size for primary, secondary, and contextual action buttons. */
:root{--button-font-size:13px}
.button,
:is(.filter-panel-actions,.compare-tray,.detail-hero-actions,.modal-actions,.catalog-row,.settings-inline,.comparison-table,.aside-card,.membership-card) .button,
.header-actions #help-button.membership-button{font-size:var(--button-font-size);font-weight:600;line-height:1.4}
.school-card:hover{box-shadow:0 2px 4px #1c1e2114,0 10px 26px #1c1e211f}
.topbar{box-shadow:0 1px 3px #1c1e2112,0 3px 12px #1c1e2110}
.membership-card.recommended{box-shadow:0 0 0 1px var(--brand-border),0 6px 18px #1c1e2114}

/* Filter choices share the same typography across buttons and checkbox labels. */
:root{--filter-option-font-size:12px}
#filters .filter-chip,#filters .region-choice{font-size:var(--filter-option-font-size)!important;line-height:1.4;font-family:var(--font);letter-spacing:normal}
#filters .filter-chip{font-weight:450}
#filters .filter-chip.active,#filters .region-choice:not(.region-all-choice):has(input:checked){font-weight:650!important}
#filters .region-choice>span{font-size:inherit;line-height:inherit}
#filters .region-all-choice{font-weight:400!important}

/* Shared server-backed membership usage in personal centre and pricing. */
.personal-membership{margin:28px 0 40px;padding:24px;background:var(--brand-tint);border-radius:16px}
.personal-membership-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.personal-membership-heading h2{margin:0;font-size:18px}
.current-plan{margin:16px 0;color:#35557d;font-weight:600}
.membership-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:20px 0 0}
.membership-stats dt{font-size:12px;color:#656d79;line-height:1.6}
.membership-stats dd{margin:8px 0 0;font-size:20px;font-weight:600;color:#243b5a;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.plan-usage{margin-top:24px;padding-top:20px;border-top:1px solid #dbe3ef}
.plan-usage h3{font-size:13px;margin:0;color:#586779}
.plan-usage .membership-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
.plan-usage .membership-stats dd{font-size:16px}
.membership-overview{margin-top:36px;text-align:left}
.membership-card .button:disabled{background:#e8ebf0;color:#838c99;cursor:not-allowed;box-shadow:none}
@media(max-width:700px){.membership-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.personal-membership{padding:20px}.personal-membership-heading .button{flex-shrink:0}}

/* Desktop membership overlay shares the standalone pricing content. */
html{scrollbar-gutter:stable}
.modal.wide.membership-modal{display:flex;flex-direction:column;width:min(1160px,100%);max-height:90dvh;padding:0;overflow:hidden}
.membership-modal>.modal-head{flex:0 0 auto;margin:0;padding:24px 30px 12px;align-items:center}
.membership-modal>.modal-head h2{font-size:25px;margin:0;line-height:1.4}
.membership-modal-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 30px 24px;scrollbar-width:thin}
.membership-embedded{max-width:none;width:100%;padding:0;margin:0}
.membership-embedded .membership-heading{margin:0 0 24px;text-align:left}
.membership-embedded .membership-heading p{font-size:13px;margin:0;color:var(--muted)}
.membership-embedded .membership-card{padding:24px 22px;box-shadow:inset 0 0 0 1px #e6e9f0;background:#fff}
.membership-embedded .membership-card.recommended{background:var(--brand-tint);box-shadow:inset 0 0 0 1px var(--brand-border)}
.membership-card.plan-selected{box-shadow:0 0 0 2px var(--blue)}
.membership-embedded .membership-card.plan-selected{box-shadow:inset 0 0 0 2px var(--blue)}
.membership-embedded .membership-card h2{font-size:20px;margin:4px 0 22px}
.membership-embedded .membership-price{font-size:40px}
.membership-embedded .membership-counting-rule{margin-top:28px;font-size:12px}
.membership-embedded .page-footer{margin-top:20px;padding-bottom:0}
.membership-inline-status{margin:24px 0 0;padding:14px 18px;background:var(--blue-soft);border-radius:10px;font-size:13px;color:var(--blue-dark);text-align:center}
.membership-modal-body:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
@media(max-width:959px){.membership-grid{grid-template-columns:1fr}.membership-card{padding:25px}}
@media print{.membership-modal{display:none!important}}

/* Official UniFit100 artwork: retain the supplied PNG and its proportions. */
.topbar .brand{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;letter-spacing:0;line-height:1;flex-shrink:0}
.brand .brand-logo{display:block;width:168px;height:auto;aspect-ratio:1012/436;object-fit:contain}
@media(max-width:1150px){.brand .brand-logo{width:140px}}
@media(max-width:600px){.brand .brand-logo{width:100px}}

.left-rail .filter-scroll > :is(.rail-title,.filter-group){flex:none;margin:0}
.hero.hero-campus h1{font-size:clamp(19px,2vw,27px);max-width:680px}

.detail-section{scroll-margin-top:100px}
.detail-section + .detail-section{margin-top:34px;padding-top:26px;border-top:1px solid var(--line,#e4e6eb)}
@media(min-width:601px){.detail-layout .section-nav{position:sticky;top:100px;max-height:calc(100dvh - 112px);overflow:auto}}
@media(max-width:600px){.detail-section{scroll-margin-top:132px}}

.section-group button .access-free{background:#eef1f4;color:#505a68;white-space:nowrap}
.section-group button .access-paid{background:var(--blue-soft);color:var(--blue-dark);white-space:nowrap}
 .detail-stage{display:inline-flex;align-items:center;background:var(--blue-soft);color:var(--blue-dark);font-size:12px;font-weight:700;padding:3px 8px;border-radius:5px;white-space:nowrap}
.detail-membership-dock{position:fixed;inset:auto 0 0;z-index:40;background:#fff;border-top:1px solid #e4e6eb;box-shadow:0 -6px 24px #19355512;padding:16px 20px calc(16px + env(safe-area-inset-bottom))}
.detail-dock-inner{max-width:1160px;margin:auto;display:flex;align-items:center;gap:12px}
.detail-dock-school{flex:1;min-width:0;display:flex;align-items:center;gap:8px}
.detail-dock-school strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.detail-dock-inner .detail-hero-actions{flex:none;flex-direction:row;margin:0}
.content-shell:has(.detail-membership-dock){padding-bottom:96px}
body:has(.detail-membership-dock):has(.compare-tray){
 --detail-bar-height:calc(76px + env(safe-area-inset-bottom));
 --detail-bar-bottom:0px;
 --detail-bar-gap:12px;
}
body:has(.detail-membership-dock:not([hidden])):has(.compare-tray) :is(.detail-membership-dock,.compare-tray){
 box-sizing:border-box;
 height:var(--detail-bar-height);
}
body:has(.detail-membership-dock:not([hidden])):has(.compare-tray) .detail-membership-dock{
 bottom:var(--detail-bar-bottom);
 display:flex;
 align-items:center;
}
body:has(.detail-membership-dock:not([hidden])):has(.compare-tray) .detail-dock-inner{width:100%}
body:has(.detail-membership-dock:not([hidden])) .compare-tray{
 bottom:calc(var(--detail-bar-bottom) + var(--detail-bar-height) + var(--detail-bar-gap));
}
body:has(.detail-membership-dock):has(.compare-tray) .content-shell:has(.detail-membership-dock){
 padding-bottom:calc(var(--detail-bar-bottom, 0px) + 2 * var(--detail-bar-height, 76px) + var(--detail-bar-gap, 12px) + 16px);
}
@media(max-width:600px){
 .detail-membership-dock{bottom:56px;padding:12px}
 .detail-dock-inner{flex-wrap:wrap;gap:8px}
 .detail-dock-school{flex-basis:100%}
 .detail-dock-inner>.button{flex:1;font-size:12px}
 .detail-dock-inner .detail-hero-actions{gap:5px}
 .detail-dock-inner .detail-hero-actions .button{padding-inline:8px}
 .content-shell:has(.detail-membership-dock){padding-bottom:150px}
 body:has(.detail-membership-dock):has(.compare-tray){
  --detail-bar-height:124px;
  --detail-bar-bottom:calc(56px + env(safe-area-inset-bottom));
 }
}
@media print{.detail-membership-dock{display:none!important}}

.comparison-page,.pack-detail{min-width:0}
.comparison-page .comparison-table,.pack-detail .comparison-table{overflow-x:auto}
.comparison-table table{width:100%}
.comparison-table :is(th,td){min-width:9rem;vertical-align:top}
.comparison-table thead th{background:#edf3fc;text-align:left}
.comparison-table table tbody :is(tr,th,td){background:transparent}
.comparison-table tbody :is(th,td){border-bottom:1px solid #e4e6eb}
.comparison-table tbody th{text-align:left}
.comparison-note{font-size:13px;color:var(--muted)}
.comparison-fee{display:inline-flex;align-items:center;gap:6px}
.content-shell:has(.comparison-page-action:not([hidden])){padding-bottom:76px}
.comparison-page>.page-footer{margin-top:14px}
.comparison-page-action{
 position:fixed;
 inset:auto 0 0;
 z-index:40;
 display:flex;
 justify-content:center;
 padding:12px 16px calc(12px + env(safe-area-inset-bottom));
 background:var(--surface);
 border-top:1px solid #e4e6eb;
 box-shadow:0 -6px 24px #19355512;
}
@media(max-width:600px){
 .content-shell:has(.comparison-page-action:not([hidden])){padding-bottom:calc(132px + env(safe-area-inset-bottom))}
 .comparison-page-action{bottom:calc(56px + env(safe-area-inset-bottom));padding-bottom:12px}
}
@media print{.comparison-page-action{display:none}}

.material-confirmation{margin-top:20px;text-align:center}
.material-confirmation > p{text-align:left}
.material-confirmation > .button{min-width:112px}

.comparison-reading{margin-top:28px;scroll-margin-top:100px}
.comparison-school-nav{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}
.comparison-school-article{margin-bottom:20px;min-width:0;scroll-margin-top:100px}
.comparison-school-article header h3{font-size:1.4rem;margin:8px 0 4px}
.comparison-school-article header [data-comparison-status]{color:var(--muted)}
.comparison-school-article .article-body{overflow-x:auto}
.comparison-table td > [data-comparison-material]{display:block;margin-top:8px}
.comparison-table td > [data-comparison-material][hidden]{display:none}
.comparison-school-nav{flex-wrap:nowrap;overflow-x:auto;gap:10px;padding:3px 2px 6px}
.comparison-school-nav [role="tab"]{flex-shrink:0;height:44px;padding:0 18px;background:#eef0ff;border:0;border-radius:8px;font:inherit;color:#3B5FFF;cursor:pointer}
.comparison-school-nav [role="tab"][aria-selected="true"]{background:#3B5FFF;color:#fff;font-weight:600}
.comparison-school-article .detail-section > h4{font-size:1.2rem;margin:22px 0 16px}
@media(max-width:600px){.comparison-reading{scroll-margin-top:132px}.comparison-school-article{scroll-margin-top:132px}}
.comparison-fee[hidden]{display:none}

.comparison-package-action{display:flex;justify-content:center;margin-top:24px}

.hero-campus h1,.hero-campus h1 span{color:#000}
.primary-nav a:not(.nav-disabled),.primary-nav a.active{color:#000}

#filters .area-options{row-gap:2px}
#filters .region-choice,#filters .region-choice:has(input:checked){background:transparent;min-height:30px;padding-top:5px;padding-bottom:5px}

@media(min-width:701px){.payment-layout>.pack-nav{position:sticky;top:100px;align-self:start;height:auto;max-height:calc(100dvh - 120px);overflow-y:auto}}

.comparison-page-action[hidden],.comparison-package-action[hidden]{display:none}
.detail-membership-dock [data-material-cta][hidden]{display:none}

/* Converted amounts show one currency; source and rate remain available on tap. */
.money-converted{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.money-converted .tip-trigger{flex:none;vertical-align:middle}

/* Region selection is conveyed by its checkbox, with a consistent text color. */
#filters .region-choice,#filters .region-choice:has(input:checked){color:var(--muted);font-weight:450!important}
/* Keep mobile article anchors in reading order and action labels on one line. */
@media(max-width:600px){.section-nav .section-group{display:flex;flex-direction:row;align-items:center;gap:6px}.section-nav .section-group-label{flex:none;padding:0 8px 0 0}.section-nav .section-group button{flex:none}.detail-hero-actions .button{white-space:nowrap;min-width:max-content}}

/* Package pages use a centered in-content action, never a floating reading panel. */
.package-bottom-action,.comparison-package-action{display:flex;justify-content:center;margin:32px 0 16px;padding:12px 0}
.package-bottom-action>.button,.comparison-package-action>.button{min-width:240px;max-width:100%}

/* Paid material sections remain distinct before and after unlocking. */
.detail-section-paid{border:1px solid var(--brand-border);border-left:4px solid var(--blue);border-radius:14px;padding:24px;background:var(--brand-tint)}
.article .detail-section-paid>h2,.comparison-reading .detail-section-paid>h3{display:flex;align-items:center;gap:10px}
.detail-section-paid>h2:after,.detail-section-paid>h3:after{content:"付费资料";font-size:11px;font-weight:600;white-space:nowrap;color:var(--blue-dark);background:var(--brand-selected);padding:3px 8px;border-radius:5px}
.detail-section-paid .advanced-preview{margin-top:16px;padding:22px;background:var(--surface)}
.detail-section-paid .premium-outline{background:var(--brand-tint)}
@media(max-width:600px){.detail-section-paid{padding:18px 14px;border-radius:11px}.detail-section-paid .advanced-preview{padding:18px 14px}.detail-section-paid>h2,.detail-section-paid>h3{flex-wrap:wrap}}

.budget-results-note{font-size:12px;color:var(--muted);margin:12px 0 20px;line-height:1.8}.budget-scope-tip{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px;margin:0 0 14px}

/* Registration benefit: tied to the account control, never used for authorization. */
.header-actions{position:relative}
.welcome-bubble{position:absolute;z-index:45;right:0;top:calc(100% + 16px);width:280px;padding:20px 22px;background:#fff;border:1px solid #dce1ff;border-radius:16px;box-shadow:0 8px 30px #18234b24;font-size:14px;line-height:1.6;color:#202126}
.welcome-bubble strong{display:block;padding-right:12px}
.welcome-bubble p{margin:6px 0;color:#666;font-size:13px}
.welcome-dismiss{position:absolute;right:8px;top:5px;display:grid;place-items:center;width:28px;height:28px;padding:0;background:none;color:#777;font-size:20px}
.auth-benefit{padding:16px 18px;margin:16px 0 20px;border-radius:12px;background:#f1f3ff;color:#252b46;font-size:14px;line-height:1.6}
.auth-benefit p{font-size:13px;color:#5f6577;margin:6px 0 0}
@media(max-width:600px){.welcome-bubble{width:min(280px,calc(100vw - 32px));top:calc(100% + 12px)}}
.auth-invitation{display:block;line-height:1.7}
.auth-invitation .auth-register-link{display:inline;min-height:0;height:auto;padding:0;margin:0;font:inherit;font-weight:700;vertical-align:baseline}

/* Header selectors share one control box at every breakpoint. */
.header-actions .header-currency .currency-control,
.header-actions .language-control{height:40px;min-height:40px;padding:0;border-radius:8px;background:#f0f2f5;display:flex;align-items:center}
.header-actions select.currency-select,
.header-actions select.language-select{display:block;height:40px;min-height:40px;max-height:40px;box-sizing:border-box;border:0;border-radius:8px;margin:0;padding:0 28px 0 12px!important;line-height:normal;font-size:12px;color:var(--muted);background-color:transparent;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2365676b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;cursor:pointer}
.header-actions select.currency-select{width:112px;min-width:0;max-width:112px}
.header-actions select.language-select{width:100px;min-width:0;max-width:100px}
@media(max-width:700px){
 .header-actions select.currency-select,.header-actions select.language-select{width:78px;max-width:78px;font-size:10px;padding-left:8px!important;padding-right:24px!important;background-position:right 8px center}
}

/* Separate reset from dismissal in the mobile filter drawer. */
@media(max-width:600px){
 .left-rail.filters-open .rail-title>button[data-action=reset]{min-width:40px;padding:0 6px}
 .left-rail.filters-open .rail-title>.filter-close{display:grid;place-items:center;flex:0 0 40px;width:40px;min-width:40px;height:40px;min-height:40px;margin-left:24px;padding:0;border:1px solid #dce1e8;border-radius:50%;background:var(--surface);color:var(--ink);font-size:18px;line-height:1}
}

/* At narrow phone widths keep every header action visible in a second row. */
@media(max-width:360px){
 .topbar{height:104px;padding:8px 10px;flex-wrap:wrap;align-content:center;gap:6px}
 .topbar .brand{flex-basis:100%;height:38px}
 .topbar .header-actions{width:100%;justify-content:space-between;gap:4px}
 .detail-layout .section-nav{top:104px;max-height:calc(100dvh - 116px)}
}
