/* Modern Hesabu: one typography scale and a restrained orange/graphite system. */
:root,[data-theme=light]{--font-ui:"Segoe UI Variable Text","Segoe UI",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;--ink:#292724;--muted:#665d55;--paper:#ffead8;--surface:#fff7f0;--raised:#fffcf8;--soft:#ffddbf;--cream:#ffecd9;--line:#e8cfbb;--orange:#ad3c09;--accent:#f58432;--on-accent:#251709;--good:#47745b;--bad:#bf4619;--hint:#8a6fa5;--shadow:0 5px 18px #39291a04}
[data-theme=dark]{--ink:#f5f2ed;--muted:#acb6be;--paper:#111619;--surface:#1a2126;--raised:#212a30;--soft:#2f2923;--cream:#292a27;--line:#354047;--orange:#ffa66b;--accent:#fa8c42;--on-accent:#251709;--good:#91c5a8;--bad:#ff9b6b;--hint:#b59bcf;--shadow:0 5px 18px #0001}
body,button,input,select,textarea,h1,h2,h3,h4,.brand,.stat strong,.metric strong,.step-number{font-family:var(--font-ui)}body{font-size:14px;-webkit-font-smoothing:antialiased;line-height:1.5;font-weight:400}h1,h2,h3,h4{font-weight:650;letter-spacing:-.035em}h1{font-size:32px}h2{font-size:20px}h3{font-size:16px}p{line-height:1.65}button{font-weight:550;letter-spacing:-.01em;border-radius:9px;transition:background .16s,border-color .16s,transform .16s,box-shadow .16s}button:active{transform:translateY(1px)}.eyebrow{font-size:10px;letter-spacing:.12em;font-weight:650}.mini,small{font-size:12px}.primary{border-radius:9px;padding:11px 17px;box-shadow:0 2px 5px #762e1710}.shell{grid-template-columns:208px minmax(0,1fr)}.sidebar,[data-theme=dark] .sidebar{background:#1b2024;border-right:1px solid #34393d;color:#d4dadd;padding:25px 18px;gap:24px;position:sticky;top:0;height:100dvh;max-height:100dvh;overflow-y:auto}.sidebar .brand,[data-theme=dark] .sidebar .brand{color:#fff3e9;font-size:29px;letter-spacing:-1.5px;font-weight:750}.sidebar .brand span{color:#fa8c42;font-size:25px}.sidebar .brand small,.workspace-label,.sidefoot,.sidefoot b,.sidefoot button,[data-theme=dark] .brand small,[data-theme=dark] .workspace-label,[data-theme=dark] .sidefoot,[data-theme=dark] .sidefoot b,[data-theme=dark] .sidefoot button{color:#a8b0b6}.brand small{font-size:8px;letter-spacing:.12em}.workspace-label{font-size:9px;margin-top:5px}.nav{gap:6px}.nav button,[data-theme=dark] .nav button{display:flex;align-items:center;gap:12px;color:#bbc3ca;background:transparent;padding:12px 13px;font-size:13px;font-weight:500}.nav button.active,[data-theme=dark] .nav button.active{background:#f58432;color:#24170b;box-shadow:none;font-weight:650}.nav button:hover,[data-theme=dark] .nav button:hover{background:#30383e;color:#fff}.nav button.active:hover{background:#ff9950;color:#24170b}.ui-icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.sidebar-card{display:none}.sidefoot{border-top:1px solid #384047;padding-top:20px;font-size:10px}.sidefoot>p:last-child{margin-top:22px}.sidefoot button{font-size:11px}.topbar{height:56px;background:var(--surface);padding:0 32px;border-bottom:1px solid var(--line);position:relative}.topbar .theme-toggle{order:3;padding:7px 12px;font-size:11px;border-radius:7px}.topbar>div:last-child{margin-left:auto}.topbar>div:first-of-type{order:-1}.breadcrumb{font-size:11px}.student-entry{font-size:11px;padding:7px 11px;background:transparent}.preview-status{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}.preview-status i{width:5px;height:5px;border-radius:50%;background:var(--orange)}main{max-width:1330px;padding:28px 34px 56px;width:100%}.panel,.stat,.metric,.topic,.subject-card{box-shadow:none;border-radius:13px}.panel{padding:24px}.panel h2{font-size:18px}.pill{border-radius:6px;font-size:9px;padding:5px 8px}.badge{font-size:10px}.tabs{gap:6px}.tabs button{padding:9px 13px;border-radius:7px}.compact-heading{margin-bottom:22px}.compact-heading h1{font-size:28px;margin-top:5px;letter-spacing:-.04em}.compact-heading p{font-size:13px;margin-top:6px}.compact-subject-head{margin:0}.compact-subject-head h1{font-size:25px}.compact-subject-head p{font-size:11px}.workspace-tabs{margin-top:12px}.workspace-tabs button{padding:9px 16px}.subject-workspace{grid-template-columns:210px minmax(0,1fr);gap:24px;margin-top:20px}.subtopic-sidebar{border-radius:12px;padding:14px}.subtopic-desktop button{padding:13px 11px;border-radius:8px}.subtopic-desktop b{font-size:12px;font-weight:600}.subtopic-desktop small{font-size:10px}.subtopic-sidebar summary{font-size:11px}.subject-workspace>section>.row h2{font-size:19px}.lesson-actions{gap:8px}.lesson-actions button{padding:9px 12px}.level-cards{gap:12px}.level-cards button{padding:20px;min-height:126px}.level-cards h3{font-size:16px}.big-idea{padding:22px;border-radius:12px}.big-idea h2{font-size:21px;line-height:1.35;font-weight:600}.big-idea p{font-size:13px;line-height:1.65}.method-list{margin-top:20px}.method-list article{gap:14px;margin-bottom:19px}.method-list p{font-size:13px}.method-list article>span{border-radius:6px;width:26px;height:26px;font-size:11px}.worked-example{padding:18px;border-radius:10px}.qtext,.math,.discussion-prompt{font-family:"Cambria Math",Cambria,Georgia,serif}.qtext{font-size:20px}.math{font-size:23px}.question{padding:20px 0}.question .qmeta{font-size:10px}.option{padding:15px;border-radius:9px}.option b{border-radius:5px}.option.selected{box-shadow:inset 3px 0 0 var(--orange)}input,select{padding:10px 12px;border-radius:8px}.form-grid{gap:16px}.stats{gap:14px;margin:18px 0}.stat{padding:17px 20px}.stat strong{font-size:29px;font-weight:650;letter-spacing:-.04em;line-height:1.2;margin:9px 0}.stat>span{font-size:11px}.stat small{font-size:10px;line-height:1.6}.chart-panel .eyebrow{font-size:9px}.chart-panel h2{font-size:18px}.concept-chart-row{padding:15px 0}.concept-chart-row .row b{font-weight:600}.concept-chart-row small{font-size:10px}.stacked-bar{height:12px;border-radius:4px}.analytics-view-tabs{gap:12px}.analytics-view-tabs button{padding:15px 17px;border-radius:10px;background:transparent}.analytics-view-tabs button.selected{box-shadow:inset 0 -2px 0 var(--orange)}.analytics-view-tabs b{font-size:12px;font-weight:600}.analytics-view-tabs small{font-size:10px}.filter-drawer{border-radius:9px;background:transparent}.filter-drawer>summary{font-size:11px}.evidence-callout{border-left:3px solid var(--orange);border-radius:10px;padding:22px;background:var(--cream)}.evidence-callout h2{font-size:22px}.evidence-callout p{font-size:13px}.analytics-charts{gap:20px}.followup-box{border-radius:12px;box-shadow:none}.followup-title h3{font-size:18px;font-weight:600}.followup-title .eyebrow{font-size:8px}.followup-title .card-icon{width:36px;height:36px;display:grid;place-items:center;background:var(--cream);border-radius:8px;font-size:20px}.followup-content{padding:0 24px 24px}.followup-levels button{border-radius:10px;padding:18px}.mini-lesson-grid>article{border-radius:10px}.followup-assign{border-radius:10px}.question-insight{border-radius:10px}.question-insight>summary{font-size:18px}.followup-questions>details{border-radius:9px}
/* A deliberate overview, with a single feature banner and consistent cards. */
.home-banner{grid-template-columns:minmax(0,1.6fr) minmax(220px,.7fr);gap:45px;padding:35px 38px;border-radius:17px;background:#f58432;border-color:#e37629;box-shadow:none}.home-banner h1{font-size:clamp(32px,3.3vw,46px);line-height:1.1;letter-spacing:-.045em;font-weight:700;margin:14px 0 16px}.home-banner p{max-width:560px;font-size:14px;line-height:1.7;margin-bottom:21px}.home-banner .eyebrow{font-size:9px}.home-banner .primary{background:#29241f;border-color:#29241f;color:#fff6ee}.home-banner .primary:hover{background:#413226}.home-summary-tile{border:1px solid #a84b16;border-radius:12px;padding:22px 24px;background:#ffb57d;color:#33200f}.home-summary-tile .eyebrow{color:#7e3512;letter-spacing:.08em}.toolkit-row{display:flex;align-items:baseline;gap:15px;border-bottom:1px solid #d08248;padding:11px 0}.toolkit-row b{font-size:29px;letter-spacing:-.05em;font-weight:650;min-width:60px}.toolkit-row span{font-size:12px}.toolkit-caption{display:block;font-size:10px;padding-top:14px;color:#633412}.section-title{margin:28px 0 14px}.section-title h2{font-size:20px}.process-grid{gap:15px}.process-card{padding:22px;border-radius:12px;min-height:215px;background:var(--surface);box-shadow:none}.step-number{background:transparent;padding:0;font-size:11px;color:var(--muted);letter-spacing:.05em}.card-icon{background:var(--cream);border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;width:33px;height:33px}.card-icon .ui-icon{width:18px;height:18px}.process-card h3{font-size:17px;margin:19px 0 9px;line-height:1.2;font-weight:600}.process-card p{font-size:12px;line-height:1.7}.process-card footer{font-size:11px;font-weight:550;margin-top:16px;padding-top:14px}.process-card:hover,.workspace-cards>button:hover,.subject-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px #3223190b}.benefit-band{background:transparent;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;margin:26px 0;gap:28px}.benefit-band b{font-size:13px;font-weight:600}.benefit-band p{font-size:11px;margin-top:5px}.workspace-cards{gap:15px}.workspace-cards>button{padding:22px;border-radius:12px}.workspace-cards>button>span{font-size:22px;margin-bottom:13px}.workspace-cards h3{font-size:16px;font-weight:600}.workspace-cards p{font-size:11px}.workspace-cards b{font-size:11px}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.subject-card{display:flex;align-items:stretch;min-height:216px;overflow:hidden}.subject-picture{width:150px;min-width:150px;height:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid var(--line);border-bottom:0}.subject-picture span{font-size:55px}.subject-picture i{position:static;font-size:13px;margin-top:8px}.subject-picture svg{max-width:145px;height:100px}.subject-body{padding:23px;flex:1;min-width:0}.subject-body h3{font-size:23px;letter-spacing:-.04em;margin:0}.subject-body p{font-size:12px;margin:10px 0}.subject-tags{gap:5px;margin:13px 0}.subject-tags span{font-size:9px;border:0;background:var(--cream);padding:5px 7px;border-radius:5px}.subject-body footer{font-size:10px;margin-top:15px;padding-top:13px}.library-foot{background:transparent;border:1px dashed var(--line);border-radius:10px;padding:18px 20px}.library-foot b{font-size:12px}.library-foot p{font-size:11px}.welcome{max-width:1150px;padding:30px 34px}.welcome>main{max-width:none;padding:58px 0 25px}.welcome h1{font-size:clamp(38px,5vw,60px);font-weight:700;letter-spacing:-.05em;line-height:1.1;max-width:800px;margin:18px 0 23px}.welcome-lead{font-size:18px;max-width:650px}.role-grid{gap:20px;margin-top:32px}.role-grid>button{padding:30px;border-radius:15px;box-shadow:none}.role-grid>button h2{font-size:25px;font-weight:600;margin-top:14px}.role-grid>button p{font-size:14px}.role-grid>button b{font-size:12px}.welcome-cycle{font-size:12px;gap:28px}
@media(max-width:1150px){.process-grid{grid-template-columns:repeat(2,1fr)}.subject-picture{width:105px;min-width:105px}.subject-body{padding:19px}.subject-body h3{font-size:20px}.subject-picture svg{max-width:100px}.subject-picture span{font-size:45px}.subject-picture i{font-size:10px}.home-banner{gap:25px;padding:30px}.analytics-charts{grid-template-columns:1fr}.mini-lesson-grid{grid-template-columns:1fr}}
@media(max-width:900px){.shell{grid-template-columns:170px minmax(0,1fr)}.sidebar{padding:25px 12px}.sidebar .brand{font-size:26px}.nav button{padding:11px 10px;gap:10px}.nav button .ui-icon{width:18px;height:18px}main{padding:23px 22px 45px}.topbar{padding:0 22px}.preview-status{display:none}.home-banner{grid-template-columns:1fr}.home-summary-tile{display:none}.subject-grid{grid-template-columns:1fr}.subject-card{min-height:185px}.subject-picture{min-width:140px;width:140px}.subject-picture svg{max-width:140px}.subject-picture span{font-size:55px}.subject-workspace{grid-template-columns:1fr}.subtopic-sidebar{position:static}.subtopic-desktop{display:none}.followup-levels{grid-template-columns:1fr}.workspace-cards{grid-template-columns:1fr}.benefit-band{grid-template-columns:1fr;gap:18px}.subject-body h3{font-size:22px}}
@media(max-width:650px){.shell{display:block}.sidebar,[data-theme=dark] .sidebar{position:static;height:auto;max-height:none;overflow:visible;padding:10px 15px 9px;gap:9px;flex-direction:row;align-items:center;justify-content:space-between;border-bottom:1px solid #34393d}.sidebar .brand{font-size:23px;letter-spacing:-1.2px}.sidebar .brand span{font-size:20px}.nav{display:flex;gap:4px;overflow:auto}.nav button,[data-theme=dark] .nav button{display:flex;gap:5px;white-space:nowrap;padding:8px 9px;font-size:10px}.nav .ui-icon{width:15px;height:15px}.workspace-label,.sidefoot,.brand small{display:none}.topbar{height:39px;padding:0 15px}.topbar .theme-toggle{padding:5px 8px;font-size:10px}.topbar button,.topbar select{font-size:10px}.topbar select{width:105px}.topbar>div:first-of-type{display:none}.topbar>div:last-child{margin-left:0;margin-right:auto}.topbar>div:last-child .student-entry{padding:5px 8px}.topbar .theme-toggle{margin-left:auto;margin-right:0}main{padding:18px 16px 40px}.home-banner{padding:25px;border-radius:13px}.home-banner h1{font-size:33px;margin:12px 0 14px}.home-banner p{font-size:12px;line-height:1.7}.home-banner .primary{padding:10px 14px;font-size:11px}.home-banner .eyebrow{font-size:8px}.section-title{margin:25px 0 12px}.section-title h2{font-size:18px}.section-title>span{font-size:10px}.process-grid{gap:11px}.process-card{padding:18px;min-height:218px}.process-card h3{font-size:16px;line-height:1.25;margin-top:17px}.process-card p{font-size:11px;line-height:1.65}.process-card footer{font-size:10px}.card-icon{width:29px;height:29px;border-radius:7px}.step-number{font-size:10px}.benefit-band{padding:18px 0;margin:22px 0;gap:14px}.benefit-band b{font-size:12px}.benefit-band p{font-size:10px}.workspace-cards>button{padding:18px}.compact-heading{margin-bottom:18px}.compact-heading h1{font-size:23px}.compact-heading p{font-size:11px;max-width:340px}.compact-heading .eyebrow{font-size:8px}.subject-card{min-height:190px;border-radius:12px}.subject-picture{min-width:96px;width:96px}.subject-picture span{font-size:43px}.subject-picture svg{max-width:95px;height:80px}.subject-picture i{font-size:9px}.subject-body{padding:17px}.subject-body h3{font-size:20px}.subject-body p{font-size:11px;min-height:0;line-height:1.6}.subject-tags span{font-size:9px}.subject-body footer{font-size:9px;padding-top:10px}.subject-grid{gap:13px}.compact-subject-head{min-height:42px}.compact-subject-head h1{font-size:22px}.compact-subject-head p{font-size:9px}.workspace-tabs{margin-top:10px}.workspace-tabs button{font-size:10px;padding:8px 10px}.subject-workspace{gap:15px;margin-top:15px}.subtopic-sidebar{padding:12px}.panel{padding:19px;border-radius:11px}.big-idea h2{font-size:20px}.big-idea p,.method-list p{font-size:12px}.stats{gap:9px}.stat{padding:14px 12px}.stat strong{font-size:25px}.stat>span,.stat small{font-size:9px}.analytics-view-tabs{gap:7px}.analytics-view-tabs button{padding:11px 9px;border-radius:8px}.analytics-view-tabs b{font-size:10px}.followup-title h3{font-size:16px}.followup-box>summary{padding:17px}.followup-content{padding:0 17px 17px}.followup-title p{font-size:10px}.followup-title .eyebrow{font-size:7px}.followup-title .card-icon{display:none}.question-insight>summary{font-size:17px}.qtext{font-size:20px}.welcome{padding:22px}.welcome>main{padding-top:35px}.welcome h1{font-size:40px}.welcome-lead{font-size:15px}.role-grid>button{padding:25px}.role-grid>button h2{font-size:23px}.role-grid>button p{font-size:13px}}
@media(max-width:390px){.sidebar,[data-theme=dark] .sidebar{align-items:flex-start;flex-direction:column;gap:7px}.nav{width:100%;justify-content:space-between}.nav button{flex:1;justify-content:center}.subject-picture{min-width:80px;width:80px}.subject-picture svg{max-width:78px}.subject-body{padding:15px}.subject-body h3{font-size:18px}.process-grid{grid-template-columns:1fr}.process-card{min-height:0}.process-card h3{margin-top:12px}.stats{grid-template-columns:1fr}.stat strong{font-size:27px}.compact-subject-head>button:last-child{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
