.writing-hub .subject-hero{min-height:104px;padding:16px 0 0;gap:36px;margin-bottom:18px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;align-items:stretch}
.subject-hero>div{padding:0 0 18px;min-width:210px;align-self:flex-end}.subject-hero h1{font-size:32px;margin:0;color:var(--ink)}.subject-hero .eyebrow{margin:0 0 6px;font-size:12px;color:var(--muted)}
.subject-hero .subject-mode-tabs{display:flex;flex:1;max-width:none;margin:0;padding:0;border:0;border-radius:0;gap:30px;background:transparent;box-shadow:none;align-items:stretch}
.subject-mode-tabs a{flex:1;white-space:nowrap;text-align:center;padding:22px 8px 18px;display:flex;align-items:center;justify-content:center;position:relative;height:auto;font-size:16px;background:transparent;border-radius:0;color:var(--muted)}
.subject-hero .subject-mode-tabs a.active{color:var(--primary);background:transparent;box-shadow:none}.subject-mode-tabs a.active:after{content:"";position:absolute;height:3px;background:var(--primary);bottom:-1px;left:12%;right:12%;border-radius:2px 2px 0 0}
.writing-hub .subject-type-tabs{display:flex;flex-wrap:nowrap;margin:0 0 24px;padding:5px;gap:5px;background:white;justify-content:stretch;border:1px solid var(--line);border-radius:12px}
.writing-hub .subject-type-tabs a{flex:1;text-align:center;border:0;border-radius:9px;color:#65758b;background:transparent;padding:11px 10px;font-size:15px;font-weight:700}
.writing-hub .subject-type-tabs a.active{background:#176f76;color:white;border:0;box-shadow:0 2px 5px #176f7618}
.listening-hub .hub-links a{color:#60549a;font-size:14px;font-weight:700;text-decoration:none}
.writing-hub .subject-type-tabs.limited-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.writing-hub .writing-set-card .set-summary h3,.writing-hub .writing-set-card .set-title-link{font-size:16px;color:var(--ink);font-weight:700;margin:0 0 6px;line-height:1.5}
.writing-hub .writing-set-card .set-state{font-size:12px;margin:0;line-height:1.5}.writing-hub .writing-set-card .set-state.muted{color:var(--muted)}
.writing-hub .writing-set-card .question-chips{display:grid!important;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}.writing-hub .writing-set-card .question-chip{width:auto;min-width:0;height:26px;font-size:10px}
@media(max-width:720px){.writing-hub .subject-hero{padding:8px 0 0;gap:0;align-items:stretch}.subject-hero>div{padding-bottom:6px;align-self:flex-start;min-width:0}.subject-hero .subject-mode-tabs{max-width:none;width:100%;flex:none;gap:8px}.subject-mode-tabs a,.writing-hub .subject-type-tabs a{font-size:12px;padding:12px 4px}.writing-hub .subject-type-tabs{gap:3px}.subject-hero h1{font-size:24px}.subject-hero .eyebrow{font-size:10px}}
.subject-hero .subject-mode-tabs{flex:0 1 auto;justify-content:flex-start;gap:24px}.subject-hero .subject-mode-tabs a{flex:0 0 160px;justify-content:center;text-align:center;padding-left:12px;padding-right:12px}.subject-mode-tabs a.active:after{left:12px;right:12px}
.writing-hub .subject-favorites{display:flex;justify-content:flex-end;align-items:center;height:32px;margin:0 0 12px}.writing-hub .subject-favorites a{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0;color:#5547b4;font-size:14px;font-weight:750;line-height:20px;text-decoration:none}
.writing-hub .subject-favorites > a{margin-inline-start:auto}
@media(max-width:720px){.subject-hero .subject-mode-tabs{gap:8px}.subject-hero .subject-mode-tabs a{flex:0 1 160px;min-width:0;padding-left:4px;padding-right:4px}.subject-mode-tabs a.active:after{left:4px;right:4px}}
.writing-hub .subject-hero{justify-content:flex-start;gap:24px}
.live-search-status{min-height:20px;margin:6px 0;color:var(--muted);font-size:12px}.bank-filter-bar .bank-query-label{min-width:min(260px,100%)}
.bank-workspace .bank-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;max-height:3em;overflow-wrap:anywhere}
.bank-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;padding:18px 0 0;font-size:13px;color:#536579}
.bank-page-links,.bank-page-jump{display:flex;align-items:center;gap:12px;margin:0}
.bank-page-links a{color:#176f77;text-decoration:none;font-weight:600}.bank-page-links [aria-disabled]{opacity:.45}
.bank-page-count{font-variant-numeric:tabular-nums;white-space:nowrap}.bank-page-jump label{display:flex;align-items:center;gap:5px;white-space:nowrap}
.bank-page-jump input{width:58px;min-width:0;padding:6px;border:1px solid #c5d4df;border-radius:6px;background:#fff;color:#253444;font:inherit}
.bank-page-jump button{border:1px solid #b8d0d5;border-radius:6px;background:#fff;color:#176f77;padding:6px 10px;font:inherit;cursor:pointer}
.bank-detail-pane mark.bank-match{background:#ffc078;color:#713400;border-radius:3px;box-shadow:0 1px 0 #e88124;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.speaking-detail-label{font-size:11px;letter-spacing:.14em;color:#72848d;font-weight:700}.speaking-detail-heading h2{margin:8px 0}.speaking-detail-heading>p{font-size:13px;color:#71828e;margin:0 0 24px}
.speaking-script-list{list-style:none;margin:0;padding:0;border-top:1px solid #e2eaef}
.speaking-script-list li{display:flex;align-items:baseline;gap:16px;padding:17px 4px;border-bottom:1px solid #e2eaef}
.speaking-script-number{flex:0 0 30px;color:#46848a;font-size:12px;font-weight:700;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.speaking-script-list p{margin:0;font-size:16px;line-height:1.65;overflow-wrap:anywhere}
.writing-hub .bank-filter-bar>label:not(.bank-query-label){width:96px;flex:0 0 96px}.writing-hub .bank-filter-bar select{width:100%}.writing-hub .bank-filter-bar{margin-top:0}.listening-hub.bank-workspace>.hub-heading{display:none}
.bank-result-pane .bank-list{scrollbar-gutter:stable;padding:2px 14px 2px 2px;box-sizing:border-box}
.writing-hub .bank-filter-bar>label:has(select[name="sort"]){width:144px;flex:0 0 144px}
.practice-order{display:flex;gap:6px;font-size:14px}
.listening-hub .practice-order{flex-wrap:wrap}
.writing-hub .subject-favorites .practice-order a{padding:0 12px;border-radius:7px;color:#65758b;background:transparent;font-weight:500;white-space:nowrap}
.writing-hub .subject-favorites .practice-order a:hover{background:#e8eff1;color:#176f77}
.writing-hub .subject-favorites .practice-order a[aria-current="true"]{background:#176f77;color:#fff;font-weight:700}
.writing-hub .subject-favorites .practice-order a:focus-visible{outline:2px solid #176f77;outline-offset:3px}
.writing-hub .set-card-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.writing-hub .set-card-actions>.text-link{font-size:13px;font-weight:500;color:#65758b;text-decoration:none}.writing-hub .set-card-actions>.text-link:hover{color:#176f77;text-decoration:underline}.preview-question{padding:20px 0;border-bottom:1px solid #dbe3e8}.preview-question h2{font-size:18px}.preview-question li{margin:12px 0}.preview-material{font-size:19px;line-height:1.8;white-space:pre-wrap}
