/* One study system, with each subject's tools and identity retained. */
html[data-fieldnote]{--fn-ink:#142c46;--fn-muted:#52677c;--fn-line:#dbe3ed;--fn-paper:#f2f5fa;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html[data-fieldnote] body{font-family:inherit}
html[data-fieldnote] :focus-visible{outline:3px solid #477dc2!important;outline-offset:3px}
html[data-fieldnote] button:disabled{cursor:not-allowed}
html[data-fieldnote] :is(input,textarea,select){font-size:16px}
/* Biology */
html[data-fieldnote=biology]{--ink:#142c46;--muted:#52677c;--forest:#142c46;--green:#15776b;--mint:#e5f4ef;--teal:#e4f4f1;--paper:#f2f5fa;--line:#dbe3ed}
html[data-fieldnote=biology] .sidebar{background:#142c46;color:#d8e4f0;border:0}
html[data-fieldnote=biology] .sidebar :is(.brand,.brand-sub,.nav-group,.save-indicator){color:#c5d7e8}
html[data-fieldnote=biology] .brand-name{color:#fff}
html[data-fieldnote=biology] .sidebar .brand-mark{background:#a5e6d2;color:#142c46;border-radius:10px}
html[data-fieldnote=biology] .course-chip{background:#203d58;border-color:#385773;color:#fff;border-radius:10px}
html[data-fieldnote=biology] .course-chip small{color:#c5d7e8}
html[data-fieldnote=biology] .nav-link{border-radius:8px;font-size:14px;min-height:44px}
html[data-fieldnote=biology] .sidebar .nav-link:hover{background:#27445f;color:#fff}
html[data-fieldnote=biology] .sidebar .nav-link.active{background:#a5e6d2;color:#142c46}
html[data-fieldnote=biology] .main{max-width:1480px;padding-top:28px}
html[data-fieldnote=biology] h1{font-size:clamp(28px,3vw,42px);letter-spacing:-.04em}
html[data-fieldnote=biology] .study-card{background:#142c46;border-radius:16px;color:#fff}
html[data-fieldnote=biology] .study-card :is(p,.eyebrow){color:#d5e3ee}
html[data-fieldnote=biology] .card{border-radius:12px;box-shadow:none}
html[data-fieldnote=biology] .flashcard{background:#fff;border:1px solid #c7d9e6;border-top:5px solid #15776b;border-radius:14px;min-height:280px;box-shadow:0 12px 35px #142c4608}
html[data-fieldnote=biology] .flashcard .prompt{font-size:32px;color:#142c46}
html[data-fieldnote=biology] .flashcard .answer{font-size:18px;line-height:1.6;background:#e5f4ef;padding:18px;border-radius:8px}
html[data-fieldnote=biology] .toolbar{background:white;padding:18px;border:1px solid #dbe3ed;border-radius:12px;align-items:end}
/* Physics */
html[data-fieldnote=physics]{--coral:#347ec0;--cream:#f2f5fa}
html[data-fieldnote=physics] .sidebar{background:#142c46;border-color:#284762}
html[data-fieldnote=physics] .sidebar :is(.brand-name,.brand-title,.course-name){color:white}
html[data-fieldnote=physics] .sidebar :is(.nav-heading,.topic-nav-copy em){color:#d9e6f3}
html[data-fieldnote=physics] .sidebar .topic-nav-copy em{font-size:14px}
html[data-fieldnote=physics] .sidebar .topic-nav-copy small{font-size:12px;color:#afc4d7}
html[data-fieldnote=physics] .sidebar .topic-nav-item:hover{background:#28445f}
html[data-fieldnote=physics] .sidebar .topic-nav-item.selected{background:#c1dbef}
html[data-fieldnote=physics] .sidebar .topic-nav-item.selected :is(em,small,strong){color:#142c46}
html[data-fieldnote=physics] .content-inner{padding-top:28px;width:calc(100% - 56px);max-width:1400px}
html[data-fieldnote=physics] :is(.welcome-row,.course-banner,.dashboard-message){display:none}
html[data-fieldnote=physics] .dashboard-strip{margin-bottom:24px;padding:18px;border-radius:12px}
html[data-fieldnote=physics] .dashboard-insights{margin-top:14px}
html[data-fieldnote=physics] .dashboard-insight{padding:14px;min-height:0}
html[data-fieldnote=physics] .topbar{min-height:64px;height:auto;gap:16px;flex-wrap:wrap;padding-block:10px;background:white}
html[data-fieldnote=physics] .utility-tabs{gap:5px;overflow-x:auto;max-width:100%}
html[data-fieldnote=physics] .utility-tabs button{font-size:14px;min-height:40px;padding:9px 12px;color:#52677c;border-radius:8px}
html[data-fieldnote=physics] .utility-tabs button.active{background:#e6effa;color:#174e7e;box-shadow:none}
html[data-fieldnote=physics] .welcome-row h1{font-size:clamp(30px,3.2vw,44px);line-height:1.12}
html[data-fieldnote=physics] :is(.welcome-copy,.topic-hero p,.subtopic-card p,.reading-note p,.tool-header p:last-child,.formula-card p,.quiz-result){font-size:16px;line-height:1.65}
html[data-fieldnote=physics] :is(.course-banner,.topic-hero,.orbit-lab,.visual-lab,.tool-header){border-radius:14px;box-shadow:none}
html[data-fieldnote=physics] :is(.subtopic-card,.flashcard-tool,.formula-item){border-radius:10px}
html[data-fieldnote=physics] .tool-header{min-height:150px;padding:26px;background:#142c46}
html[data-fieldnote=physics] .tool-header h1{font-size:36px;line-height:1.1}
html[data-fieldnote=physics] .tool-header-mark{font-size:70px}
html[data-fieldnote=physics] :is(.subtopic-card h4,.tool-filter button,.quiz-option,.orbit-control label,.lab-control label){font-size:14px}
html[data-fieldnote=physics] .search-box{min-width:190px;width:210px}
html[data-fieldnote=physics] .search-box input{display:block;font-size:14px;min-width:0}
html[data-fieldnote=physics] .mobile-course-nav{display:none}
html[data-fieldnote=physics] .topic-hero h1{font-size:34px;line-height:1.15;margin:10px 0;color:#142c46;letter-spacing:-.035em}
html[data-fieldnote=physics] .site-shell[data-theme=dim] .topic-hero h1{color:#e0eaf4}
html[data-fieldnote=physics] .formula-toolbar label{font-size:14px;color:#52677c}
html[data-fieldnote=physics] .formula-table td{font-size:14px;line-height:1.6}
html[data-fieldnote=physics] .formula-table code{font-size:16px}
html[data-fieldnote=physics] .formula-topic{font-size:14px;color:#27689e}
html[data-fieldnote=physics] .formula-table th{font-size:12px;color:#52677c}
html[data-fieldnote=physics] .site-shell[data-theme=dim]{--ink:#e0eaf4}
html[data-fieldnote=physics] .site-shell[data-theme=dim] .mobile-brand{color:#e0eaf4}
html[data-fieldnote=physics] .site-shell[data-theme=dim] .utility-tabs button{color:#c5d5e5}
html[data-fieldnote=physics] .site-shell[data-theme=dim] .utility-tabs button.active{background:#284a6b;color:#fff}
html[data-fieldnote=physics] .site-shell[data-theme=dim] .search-box input{color:#e0eaf4}
html[data-fieldnote=physics] .site-shell[data-theme=dim] input::placeholder{color:#a5b8ca;opacity:1}
html[data-fieldnote=physics] .site-shell[data-theme=dim] .formula-table :is(td,code,.formula-topic){color:#d5e7f5}
html[data-fieldnote=physics] .site-shell[data-theme=dim] :is(.formula-toolbar label,.formula-table th){color:#bacddd}
/* Business: a compact case-study desk instead of an oversized cover page. */
html[data-fieldnote=business]{--ink:#142c46;--muted:#52677c;--navy:#142c46;--paper:#f2f5fa;--coral:#7452af;--blue:#79b2e0;--green:#57b79a;--yellow:#e5da8c}
html[data-fieldnote=business] .topbar{height:auto;min-height:70px;background:#fff;gap:20px;padding:14px 4vw;flex-wrap:wrap}
html[data-fieldnote=business] .top-nav{width:100%;order:3;justify-content:flex-start;overflow-x:auto;gap:6px;padding:0;margin:0}
html[data-fieldnote=business] .top-nav button{min-height:42px;font-size:14px;padding:10px 14px;flex:none;border-radius:8px;color:#52677c}
html[data-fieldnote=business] .top-nav button.active{background:#eee8f8;color:#57358e}
html[data-fieldnote=business] .top-nav button.active:after{display:none}
html[data-fieldnote=business] .hero{grid-template-columns:1fr;min-height:0;padding:32px 5vw;background:#142c46;gap:0}
html[data-fieldnote=business] .hero h1{max-width:800px;font-size:clamp(30px,3.5vw,48px);line-height:1.1;font-weight:650;margin-bottom:12px}
html[data-fieldnote=business] .hero h1 em{color:#c5a8ee}
html[data-fieldnote=business] .hero-lede{max-width:800px;font-size:16px;margin-bottom:20px}
html[data-fieldnote=business] .hero-art{display:none}
html[data-fieldnote=business] .hero-note{margin-top:18px;font-size:14px;color:#c2d3e2}
html[data-fieldnote=business] :is(.workspace,.content-section,.papers-section,.answer-lab-section,.study-plan-section){padding:32px 5vw}
html[data-fieldnote=business] .workspace{background:#eaf0f7}
html[data-fieldnote=business] :is(.section-heading h2,.practice-section h2){font-size:32px;line-height:1.15;font-weight:650}
html[data-fieldnote=business] :is(.desk-card,.unit-card,.answer-prompt-card,.answer-writing-area,.progress-panel,.formula-card,.glossary-card,.quiz-card,.answer-model-list){border-radius:12px;box-shadow:none}
html[data-fieldnote=business] .unit-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
html[data-fieldnote=business] .unit-card{min-height:280px;padding:23px;background:white}
html[data-fieldnote=business] :is(.desk-card p,.unit-card p,.section-intro,.topic-reading p,.answer-model-list p,.feedback-panel p:not(.card-kicker),.flashcard-application,.quiz-model-answer span){font-size:16px;line-height:1.65}
html[data-fieldnote=business] :is(.button,.filter-row button,.inline-button,.flashcard-navigation button,.question-step-button,.deep-link-button){font-size:14px;min-height:42px;border-radius:8px;box-shadow:none}
html[data-fieldnote=business] .flashcard-navigation{font-size:14px}
html[data-fieldnote=business] :is(.card-kicker,.mini-label,.answer-label,.label-chip,.plan-checklist label small,.unit-number,.topic-reading-label){font-size:12px;line-height:1.5;letter-spacing:.06em}
html[data-fieldnote=business] .mobile-nav-hint{display:none}
/* Retained, detailed C7 lab. Its mobile rail used to reserve a whole viewport. */
html[data-fieldnote=business] .brand-mark{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;letter-spacing:-1px;padding:0}
html[data-fieldnote=business] #flashcards{grid-template-columns:minmax(260px,.8fr) minmax(300px,1.2fr);gap:24px 40px;min-height:0;padding:32px 5vw;background:#142c46;outline:none;align-items:start}
html[data-fieldnote=business] .practice-section:before{display:none}
html[data-fieldnote=business] .practice-copy{margin:0}
html[data-fieldnote=business] .practice-copy h2{font-size:32px;line-height:1.15}
html[data-fieldnote=business] .practice-copy h2 em{color:#c5a8ee}
html[data-fieldnote=business] .practice-copy p:not(.eyebrow){color:#d5e2ec;font-size:16px;max-width:48ch;line-height:1.65}
html[data-fieldnote=business] .flashcard-stage{height:370px;min-height:370px}
html[data-fieldnote=business] .flashcard-face{border-radius:13px;box-shadow:none;padding:28px;background:#fff}
html[data-fieldnote=business] .flashcard-back{background:#eee7f8}
html[data-fieldnote=business] .flashcard-face h3{font-size:30px;line-height:1.2}
html[data-fieldnote=business] .flashcard-navigation{grid-column:2;margin:0;justify-content:space-between}
html[data-fieldnote=business] :is(.flashcard-meta,.flashcard-bottom,.flashcard-control-heading,.flashcard-stat-strip,.flashcard-shuffle){font-size:12px;line-height:1.5}
html[data-fieldnote=business] .flashcard-filters button{font-size:14px;min-height:40px;border-radius:6px;padding:8px 10px}
html[data-fieldnote=business] .flashcard-control-heading strong{font-size:12px}
@media(max-width:820px){html[data-fieldnote=business] #flashcards{grid-template-columns:1fr}html[data-fieldnote=business] .flashcard-navigation{grid-column:1}html[data-fieldnote=business] .flashcard-stage{min-height:310px;height:310px}}
html[data-fieldnote=chemistry] .c7-course-home{font-size:14px;color:#d3edff;white-space:nowrap;text-decoration:none;padding:10px 12px;border:1px solid #456a7d;border-radius:8px}
html[data-fieldnote=chemistry] .app-shell .sidebar{min-height:0}
html[data-fieldnote=chemistry] .app-shell .hero{min-height:0;padding:32px 0;gap:24px}
html[data-fieldnote=chemistry] .app-shell .hero h1{font-size:clamp(30px,3.5vw,46px);line-height:1.1}
html[data-fieldnote=chemistry] .app-shell .hero-visual{min-height:260px}
html[data-fieldnote=chemistry] .app-shell .lesson-path{padding-top:30px;padding-bottom:30px}
html[data-fieldnote=chemistry] .app-shell[data-reading=true] :is(.hero,.focus-strip,.lesson-path){display:none}
html[data-fieldnote=chemistry] .app-shell :is(p,li,.reaction-table td,.step-list){font-size:16px;line-height:1.65}
html[data-fieldnote=chemistry] .app-shell :is(button,summary,.sidebar nav button,.method-tabs button){font-size:14px;min-height:44px}
html[data-fieldnote=chemistry] .app-shell .content{padding-top:25px}
html[data-fieldnote=chemistry] .app-shell .sidebar nav{padding:0}
html[data-fieldnote=chemistry] .app-shell .flashcard-zone{margin-top:35px;padding-top:30px}
html[data-fieldnote=chemistry] .app-shell .section-title h2{font-size:34px;line-height:1.15}
/* Mathematics: clearer paper panels and tool navigation. */
html[data-fieldnote=arc] .studio-page{padding-top:26px}
html[data-fieldnote=arc] :is(.studio-panel,.dashboard-card,.lesson-card){border-radius:14px;border-color:#d9e3ed}
html[data-fieldnote=arc] .studio-metrics{border-left:4px solid #9fb943}
html[data-fieldnote=arc] .studio-page h1{font-size:clamp(28px,3vw,42px);line-height:1.12}
html[data-fieldnote=arc] .studio-tabs [role=tab]{font-size:14px;padding:10px 15px;min-height:42px}
html[data-fieldnote=arc] .studio-sidebar [data-slot=sidebar-menu-button]{min-height:42px}
@media(max-width:820px){
 html[data-fieldnote=physics] .mobile-course-nav{display:flex;gap:8px;overflow-x:auto;padding:12px 15px;background:#eaf0f8}
 html[data-fieldnote=physics] .mobile-course-nav button{flex:none;white-space:nowrap;border:1px solid #cbd9e7;background:white;border-radius:8px;min-height:42px;font-size:14px;padding:8px 12px;color:#284b6b}
 html[data-fieldnote=physics] .mobile-course-nav button.active{background:#284b6b;color:white;border-color:#284b6b}
 html[data-fieldnote=physics] .site-shell[data-theme=dim] .mobile-course-nav{background:#102031}
 html[data-fieldnote=physics] .site-shell[data-theme=dim] .mobile-course-nav button{background:#1a3147;border-color:#3c5972;color:#d5e7f5}
 html[data-fieldnote=physics] .topbar{align-items:center;padding-inline:14px}
 html[data-fieldnote=physics] .utility-tabs{order:3;flex:1 0 100%;padding-bottom:3px}
 html[data-fieldnote=physics] .search-box{width:auto;flex:1;min-width:120px}
 html[data-fieldnote=physics] .search-box kbd{display:none}
 html[data-fieldnote=physics] .content-inner{width:calc(100% - 30px)}
 html[data-fieldnote=biology] .main{padding:22px 18px 90px}
 html[data-fieldnote=business] .unit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-fieldnote=business] .top-nav .nav-secondary{display:block}
 html[data-fieldnote=business] .mobile-more-toggle{display:none}
 html[data-fieldnote=chemistry] .app-shell .sidebar{height:auto;min-height:0;padding:8px;position:sticky;top:70px}
 html[data-fieldnote=chemistry] .app-shell .sidebar nav{display:flex;overflow-x:auto;gap:6px;scrollbar-width:thin}
 html[data-fieldnote=chemistry] .app-shell .sidebar nav button{white-space:nowrap;flex:none;padding:10px 14px}
 html[data-fieldnote=chemistry] .app-shell .hero{grid-template-columns:1fr}
 html[data-fieldnote=chemistry] .app-shell .hero-visual{display:none}
 html[data-fieldnote=chemistry] .app-shell :is(.side-intro,.side-note){display:none}
}
@media(max-width:520px){
 html[data-fieldnote=business] #flashcards{display:flex;flex-direction:column;gap:14px;padding:22px 5vw}
 html[data-fieldnote=business] .practice-copy{display:contents}
 html[data-fieldnote=business] .practice-copy>.eyebrow{order:0;margin:0}
 html[data-fieldnote=business] .practice-copy>h2{order:1;font-size:28px;margin:0}
 html[data-fieldnote=business] .flashcard-stage{order:2;width:100%;min-height:310px;height:310px}
 html[data-fieldnote=business] .practice-copy>.button{order:3;margin:0;align-self:stretch}
 html[data-fieldnote=business] .flashcard-navigation{order:4;width:100%}
 html[data-fieldnote=business] .practice-copy>.flashcard-controls{order:5;margin:8px 0 0;width:100%}
 html[data-fieldnote=business] .practice-copy>.flashcard-stat-strip{order:6;width:100%}
 html[data-fieldnote=business] .practice-copy>p:not(.eyebrow){order:7;margin:0}
 html[data-fieldnote=business] .unit-grid{grid-template-columns:1fr}
 html[data-fieldnote=business] .desk-grid{grid-template-columns:1fr}
 html[data-fieldnote=biology] .toolbar{align-items:stretch;gap:16px}
 html[data-fieldnote=physics] .tool-header{padding:22px}
 html[data-fieldnote=physics] .tool-header-mark{display:none}
}
