:root{color-scheme:light;--ink:#19333a;--muted:#66777a;--teal:#146b70;--line:#e1e8e7;--bg:#f5f8f7}*{box-sizing:border-box}body{font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);margin:0;padding-bottom:100px}header{background:#143e47;color:white;display:flex;justify-content:space-between;align-items:center;padding:16px max(18px,calc((100vw - 980px)/2));gap:12px}a{color:inherit;text-decoration:none}.brand{font-weight:800;letter-spacing:.06em}.who{font-size:12px;opacity:.85}main{max-width:980px;margin:auto;padding:24px 16px 36px}h1{font-size:clamp(26px,6vw,40px);line-height:1.16;margin:8px 0 10px}h2{font-size:20px;margin:0 0 12px}h3{font-size:17px;margin:9px 0 2px}p{margin:8px 0 16px}.muted,small,.back{color:var(--muted)}small{font-size:12px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.11em;color:var(--teal)}.back{display:inline-block;margin:0 0 14px}.bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:18px 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin:20px 0 26px}.tile,.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.tile{display:flex;flex-direction:column;gap:6px}.tile h2{margin:4px 0}.tile strong{font-size:30px}.meter{height:8px;border-radius:100px;background:#e6eeee;overflow:hidden}.meter span{display:block;background:var(--teal);height:100%;border-radius:100px}.item{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:14px 2px}.item:last-child{border-bottom:0}.item span{min-width:0}.item strong,.item small{display:block}.state{background:#e7f1f0;color:#236267;border-radius:50px;padding:6px 10px;font-style:normal;font-size:12px;white-space:nowrap;text-transform:capitalize}.btn{border:0;border-radius:11px;background:#146b70;color:white;font-weight:750;padding:12px 16px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;text-align:center;cursor:pointer;font-size:15px}.secondary{background:#e9f1f0;color:#194b50}.warn{background:#fff2e8;color:#9e4b1c;border:1px solid #e4b497}.panel{margin:14px 0 20px}.stack{display:flex;flex-direction:column;gap:15px}.stack>.btn{width:100%}label{display:flex;flex-direction:column;gap:5px;font-weight:650;font-size:14px}input,textarea,select{font:inherit;width:100%;border:1px solid #bdcecc;border-radius:10px;padding:12px;background:white;color:#19333a;min-height:46px}textarea{resize:vertical}input[type=file]{padding:14px}button:disabled{opacity:.45;cursor:not-allowed}.photos{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0}.photos img,.portfolio-img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:#eff3f3}.portfolio-img{aspect-ratio:4/3}.count{font-size:12px;font-weight:normal;color:var(--muted)}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.alert,.error,.notice{padding:13px 15px;border-radius:10px;margin:12px 0;background:#e5f3e9;color:#205839}.error{background:#fce9e9;color:#9c2424}.notice{background:#e9f2fb;color:#285078}.unit{padding:12px 0;border-top:1px solid var(--line)}.bottom{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;align-items:stretch;background:white;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);z-index:5}.bottom a,.bottom button{font:inherit;display:flex;align-items:center;flex-direction:column;justify-content:center;min-width:60px;border:0;background:transparent;color:#284c50;font-size:22px;padding:8px 12px}.bottom small{font-size:11px}.bottom form{display:flex}@media(min-width:700px){.bottom{position:static;max-width:980px;margin:0 auto 20px;border-radius:16px;border:1px solid var(--line)}body{padding-bottom:0}.photos{grid-template-columns:repeat(4,1fr)}}
/* Build 003 refinements: mobile-first pathway and review workflows */
html{scroll-behavior:smooth}button,a,input,select,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #277f82;outline-offset:3px}.big-progress{font-size:34px!important}.tile-link{margin-top:auto;padding-top:10px;color:var(--teal);font-size:13px;font-weight:750}.subject-grid .tile{min-height:210px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.compact{margin:0}.compact-panel{padding:14px 18px}.compact-panel .item:first-child{padding-top:4px}.panel-title{margin-bottom:12px}.fine-print{font-size:12px;color:var(--muted);line-height:1.6}.empty-state{padding:22px 6px;text-align:center}.empty-state strong{display:block;font-size:17px}.empty-state .btn{margin:8px auto 0}.state-submitted{background:#fff2da;color:#8a5b11}.state-reviewed{background:#dff2e6;color:#286846}.state-planned{background:#edf1f2}.state-in_progress{background:#e6f0fc;color:#315f92}.grade-jump{display:flex;gap:8px;overflow:auto;padding:8px 0 18px;scrollbar-width:thin}.grade-jump a{font-size:13px;font-weight:750;white-space:nowrap;border:1px solid var(--line);border-radius:9px;padding:10px 13px;background:white}.grade-section{scroll-margin-top:14px;margin:0 0 15px}.grade-details{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px}.grade-summary,.unit-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}.grade-summary::-webkit-details-marker,.unit-summary::-webkit-details-marker{display:none}.grade-summary::after,.unit-summary::after{content:'⌄';font-size:18px;color:var(--muted)}.grade-details[open]>.grade-summary::after,.unit-details[open]>.unit-summary::after{content:'⌃'}.grade-title{display:block;font-size:25px;font-weight:800}.grade-stat{font-size:12px;color:var(--muted);text-align:right}.grade-details>.meter{margin:13px 0}.unit-details{border-top:1px solid var(--line);padding:12px 0;scroll-margin-top:20px}.unit-summary{font-size:15px}.unit-head{display:flex;align-items:center;gap:10px;flex:1}.unit-head strong{font-size:15px}.unit-number{font-size:11px;color:#296b71;background:#e4f1f0;border-radius:8px;padding:5px 7px;font-weight:850}.unit-progress{font-size:12px;color:var(--muted);white-space:nowrap}.unit-content{padding:8px 0 7px 24px}.connections{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:9px 0}.connection-chip{font-size:11px;background:#edf1f6;border-radius:9px;padding:6px 8px;color:#37556a}.minor-heading{font-size:13px;margin:12px 0 8px}.skill-row{display:flex;align-items:flex-start;gap:10px;padding:12px 4px;border-bottom:1px dashed var(--line)}.skill-icon{font-size:22px;line-height:1.1;color:#8ea3a4}.skill-icon.is-done{color:#1b8b6b}.skill-detail{flex:1}.skill-detail strong{font-size:14px;line-height:1.4;display:block}.skill-detail small{display:block;margin:3px 0}.skill-actions{display:flex;gap:10px 14px;flex-wrap:wrap;margin-top:7px}.skill-actions a,.link-button{color:var(--teal);font:inherit;font-size:12px;font-weight:750;border:0;background:transparent;padding:0;min-height:22px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.inline-form{display:inline}.link-button.danger{color:#a24a36}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.path-breadcrumb{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:13px 16px;background:#eaf2f1;border-radius:12px;margin:18px 0}.path-breadcrumb a{text-decoration:underline;color:var(--teal);font-size:13px}.photo-card{min-width:0}.photo-card>a{display:block}.photo-card form{margin-top:5px}.photo-meta{display:flex;justify-content:space-between;font-size:12px;font-weight:750;color:var(--muted)}.photo-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.preview-card{min-width:0}.preview-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;background:#edf3f2}.preview-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.submit-area{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.checkline{flex-direction:row;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#f7faf9}.checkline input{height:22px;width:22px;min-height:22px;flex-shrink:0;margin:1px 0}.checkline span small{display:block;font-weight:400}.panel-review{border:2px solid #a6d2c6}.history-entry{padding:11px 0;border-bottom:1px solid var(--line)}.history-entry:last-child{border-bottom:0}.history-entry strong,.history-entry small{display:block}.history-entry p{margin-bottom:2px;font-size:14px}.empty-mini{background:#f5f8f7;padding:22px;text-align:center;border-radius:12px;color:var(--muted);font-size:14px}.filter-bar{display:flex;align-items:center;gap:10px}.filter-bar label{max-width:310px;min-width:190px}.portfolio-entry{display:flex;flex-direction:column}.portfolio-entry small{display:block}.portfolio-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}.file-placeholder{display:flex;min-height:150px;align-items:center;justify-content:center;background:#f3f5f5;border-radius:12px}.item .btn{font-size:12px;padding:9px 12px;min-height:40px}.unit-content .item{min-height:48px}@media(max-width:540px){main{padding:20px 14px 28px}.grade-details{padding:13px}.grade-summary{align-items:flex-start}.grade-title{font-size:23px}.unit-content{padding-left:6px}.unit-summary{flex-wrap:wrap}.unit-progress{margin-left:32px}.two-fields{grid-template-columns:1fr}.photos{grid-template-columns:repeat(2,minmax(0,1fr))}.bar .btn{flex:1}.item .btn{max-width:50%;white-space:normal}.who{max-width:45%;text-align:right}.photo-preview{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Build 003B: lower-glare dark scheme, accessible type and locked-year progression */
:root{color-scheme:dark;--ink:#e7f0f2;--muted:#a9bec4;--teal:#72d7ca;--line:#334853;--bg:#0e171d;--surface:#17252e;--raised:#1d303a;--accent:#72d7ca}
body{background:var(--bg);color:var(--ink)}
header{background:#101e27;border-bottom:1px solid var(--line)}
.tile,.panel,.grade-details{background:var(--surface);border-color:var(--line);box-shadow:0 4px 25px rgba(0,0,0,.07)}
.grade-jump a{background:var(--raised);border-color:var(--line);color:var(--ink)}
.btn{background:#75d9cc;color:#06272b}.btn:hover{background:#9ae9df}.btn.secondary,.secondary{background:#27414b;color:#e4f4f2}.btn.warn{background:#4a312b;color:#ffd4c2}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:#90e8dc}
input,textarea,select{background:#10212a;border:1px solid #49616a;color:var(--ink)}
input::placeholder,textarea::placeholder{color:#a2bac1;opacity:1}
input:focus,textarea:focus,select:focus{border-color:#87dfd0}
option{background:#182b34;color:#eaf5f6}
input[type='date']{color-scheme:dark}
input[type='checkbox']{accent-color:#75d9cc}
.meter{background:#30434c}.meter span{background:#75d9cc}
.bottom{background:#16262f;border-color:var(--line)}.bottom a,.bottom button{color:#d0e7e7}
.state{background:#25454b;color:#d0eeea}.state-planned{background:#293842;color:#c4d6dc}.state-in_progress{background:#233d56;color:#bddbff}.state-submitted{background:#473a26;color:#ffda9c}.state-reviewed{background:#1f493a;color:#b8eecf}
.alert{background:#1e493b;color:#c8f3dc}.error{background:#49272b;color:#ffe1e1}.notice{background:#263d4e;color:#d8e8fb}
.unit-number{background:#24454a;color:#aeece1}.connection-chip{background:#283d4a;color:#c8e5fa}
.skill-icon{color:#a0b9ba}.skill-icon.is-done{color:#7de0b4}
.path-breadcrumb,.skill-linked-assignments{background:#1c3540;border-color:#395863;color:var(--ink)}
.skill-assignment-link{border-bottom-color:#38515b}.skill-assignment-text small,.skill-assignment-label{color:#abc5c9}
.skill-row:target{background:#25463f;outline-color:#5ca894}
.checkline,.empty-mini,.file-placeholder{background:#1b3039;border-color:var(--line);color:#bbd2d6}
.photos img,.portfolio-img,.preview-card img{background:#243943;border-color:var(--line)}
.focus-strip{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#16362f;border:1px solid #315e53;padding:12px 15px;margin:17px 0;border-radius:12px;font-size:13px}
.focus-strip .muted{font-size:12px}.focus-dot{height:9px;width:9px;border-radius:50%;background:#88e4b6;box-shadow:0 0 0 4px rgba(136,228,182,.1)}
.parent-preview-link{margin:8px 0 22px;font-size:13px;color:var(--teal)}.parent-preview-link a{text-decoration:underline;text-underline-offset:3px}
.grade-future{opacity:.82}.grade-future .grade-details{border-style:dashed}
.grade-future .unit-details{opacity:.87}
.stage-panel{border:1px solid #344953;border-radius:13px;margin:16px 0;padding:12px 13px;background:#14242c}
.stage-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:3px 3px 10px;border-bottom:1px solid #304651}
.stage-header h3{font-size:14px;line-height:1.35;margin:0 0 4px;color:#ddf7f1}
.stage-header p{font-size:12px;line-height:1.45;color:var(--muted);margin:0}
.stage-count{font-size:12px;font-weight:750;color:#b9ded8;white-space:nowrap}
.stage-foundations{border-left:3px solid #6fc1dc}.stage-applications{border-left:3px solid #af9add}.stage-mastery{border-left:3px solid #84dbad}
.stage-panel .skill-row:last-child{border-bottom:0}
.progression-panel{margin:22px 0 4px;padding:19px;background:#1b3639;border:1px solid #4c7c75;border-radius:14px}
.progression-panel h3{font-size:20px;margin:6px 0}.progression-panel .muted{font-size:13px}
.progress-note{font-size:12px;color:#f9d6a5;background:#403322;border-radius:9px;padding:10px}
.unlock-check{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:13px}.unlock-check input{width:22px;height:22px;min-height:22px;margin:0;flex-shrink:0}
.login-page{min-height:100svh;display:flex;flex-direction:column;justify-content:center;padding:24px 14px}.login-main{width:100%;max-width:450px;margin:auto;padding:0}.login-brand{font-weight:800;letter-spacing:.05em;margin:0 0 18px}.login-card{padding:24px}.login-card h1{margin:10px 0}.login-card .stack{margin-top:23px}.login-card .btn{width:100%}
@media(max-width:540px){.stage-panel{padding:10px 8px}.stage-header{gap:7px}.stage-header h3{font-size:13px}.progression-panel{padding:14px}.login-card{padding:19px}.stage-panel .skill-row{padding:12px 3px}}

/* MYHSOPS Build 004: quiet weekly focus and quick mobile submissions */
.focus-board{border-color:#416961;background:linear-gradient(125deg,#172f31,#17252e 80%)}
.focus-board .heading-row{margin-bottom:12px}.focus-counter{border:1px solid #4d736d;border-radius:20px;padding:5px 12px;color:#d6f3e9;font-size:12px;font-weight:800;white-space:nowrap}
.work-row{display:flex;align-items:center;gap:10px;padding:13px 2px;border-top:1px solid var(--line);flex-wrap:wrap}
.work-row:first-child{border-top:none}.work-main{flex:1 1 210px;min-width:0;display:block}.work-main strong{font-size:14px;display:block;overflow-wrap:anywhere}.work-main small{display:block;margin:2px 0;color:var(--muted);line-height:1.4}
.tiny-action{padding:8px 10px;border-radius:8px;border:1px solid #4c7374;background:#1f3b40;color:#c8efec;font:inherit;font-size:12px;font-weight:700;cursor:pointer;min-height:40px}
.tiny-action:hover{background:#2c4d51}.text-link,.inline-more{font-size:13px;font-weight:750;color:#91e7dc;text-decoration:underline;text-underline-offset:3px}.inline-more{display:block;padding:13px 2px 2px}
.completed-list summary{cursor:pointer;font-size:16px;font-weight:750}.completed-list .item:first-of-type{margin-top:10px}
.assignment-filters{gap:12px}.filter-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.filter-fields label{min-width:0}.assignment-filters>.btn{align-self:flex-start}
.pin-label{display:inline-block;background:#314c34;color:#c0f0b9;border-radius:6px;font-size:10px;letter-spacing:.06em;padding:3px 6px;vertical-align:middle;margin-left:5px;white-space:nowrap}
.page-nav{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:20px 0;color:var(--muted);font-size:13px}.page-nav a{padding:10px 12px;border:1px solid var(--line);border-radius:9px;color:var(--ink)}
.start-work{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0}.start-work small{max-width:400px}
.focus-toggle{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0}.focus-toggle .btn{font-size:13px;min-height:42px}
.photo-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:18px 0}.photo-actions .photo-upload{border:1px solid var(--line);background:#142732;padding:14px;border-radius:12px;gap:12px;align-content:start}.photo-actions .btn{width:100%}.photo-picker-label{line-height:1.4}.photo-picker-label small{font-weight:400}
@media(max-width:660px){.filter-fields,.photo-actions{grid-template-columns:1fr}.work-row{gap:8px}.work-row .state{order:2}.work-row form{order:3}.focus-board{padding:16px}.assignment-filters>.btn{width:100%}.start-work>.btn{width:100%}}

/* Build 005: readable skill-level lessons and guided-practice panels */
.learn-link{display:inline-flex;align-items:center;margin:7px 0 4px;color:#8ee8d7;text-underline-offset:3px;text-decoration:underline;font-weight:700;font-size:13px;min-height:30px}
.guide-stages{display:grid;gap:12px;margin:20px 0}
.guide-section{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;padding:17px}
.guide-section h2{font-size:18px;margin:0 0 12px}
.guide-copy{font-size:15px;line-height:1.7;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.guide-step{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;color:#bceee4;background:#25444b;font-size:13px;font-weight:900}
.guide-section:nth-child(1){border-left:3px solid #6fc1dc}
.guide-section:nth-child(2){border-left:3px solid #af9add}
.guide-section:nth-child(3){border-left:3px solid #90bedc}
.guide-section:nth-child(4){border-left:3px solid #e1bd85}
.guide-section:nth-child(5){border-left:3px solid #84dbad}
.guide-edit{border-color:#527f78}.guide-edit summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px}
.guide-edit form{margin-top:20px}.guide-edit textarea{min-height:100px;line-height:1.6}
.guide-assignment{min-height:54px}.guide-assignment small{display:block;color:var(--muted);margin-top:4px}
@media(max-width:540px){.guide-section{grid-template-columns:30px minmax(0,1fr);padding:15px 12px;gap:9px}.guide-step{width:29px;height:29px}.guide-section h2{font-size:16px}.guide-copy{font-size:14px}}

/* Build 006 — textbook-style mathematics, horizontally scrollable on mobile */
.math-prose{white-space:pre-wrap;overflow-wrap:break-word;line-height:1.85;font-variant-numeric:lining-nums}
.math-prose .katex{font-size:1.14em;color:#f2f8fc;white-space:normal}
.math-prose .katex-display{margin:1.1rem 0;padding:10px 0;max-width:100%;overflow-x:auto;overflow-y:hidden;text-align:center;overscroll-behavior-inline:contain}
.math-prose .katex-display>.katex{font-size:1.24em;display:inline-block;max-width:none}
.math-prose .katex .mord.mathnormal{color:#f2f8fc}
.math-prose .katex .mfrac{color:#f5fafc}
.math-lesson{min-width:0}
.math-editor-tools{display:grid;gap:10px;background:#112a32;border:1px solid #42646d;border-radius:13px;padding:15px}
.math-editor-tools>strong{color:#c3edea}.math-editor-tools small{display:block;line-height:1.6}
.math-toolbar{display:flex;gap:7px;flex-wrap:wrap}
.math-toolbar button{border:1px solid #56747f;border-radius:8px;padding:9px 11px;background:#233f4c;color:#e5f4f5;min-height:44px;cursor:pointer;font:inherit;font-size:13px}
.math-toolbar button:focus-visible{outline:2px solid #96e5e0;outline-offset:2px}
.math-preview{min-width:0;border:1px solid #42646d;border-radius:10px;padding:13px;background:#15242e}
.math-preview>strong{display:block;margin-bottom:9px;color:#b7ebe0;font-size:13px}
.math-preview-body{font-size:15px;overflow-wrap:anywhere}
.math-preview[hidden]{display:none}
.math-fallback{border-left:2px solid #866b41;padding-left:8px}
@media(max-width:540px){.math-prose .katex-display>.katex{font-size:1.1em}.math-editor-tools{padding:11px}.math-toolbar button{flex:1 1 42%}}

/* Build 007 — mathematical practice and touch handwriting */
.practice-instage{margin-top:23px;border-top:1px solid #38525c;padding-top:14px}
.practice-title h3{font-size:17px;margin:0 0 5px;color:#e2f2f1}.practice-title small{display:block;line-height:1.5}
.practice-card{border:1px solid #385663;border-radius:13px;padding:16px;margin:14px 0;background:#13232c}
.practice-question-head,.practice-canvas-head,.practice-actions,.practice-canvas-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.practice-type{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#9bd6dc;font-weight:800}
.practice-requirement{font-size:11px;color:#f3d6a3}.practice-prompt{font-size:16px;font-weight:700;margin:11px 0 17px;line-height:1.7}
.practice-options{border:0;padding:0;margin:0 0 14px;min-width:0}.practice-options legend{font-size:13px;color:#bad5d7;margin-bottom:11px}
.practice-choice{display:flex;gap:10px;align-items:center;min-height:51px;padding:10px 12px;border:1px solid #46606b;border-radius:10px;margin:8px 0;background:#1a303b;cursor:pointer}
.practice-choice:has(input:checked){border-color:#80d9cc;background:#1e4246}
.practice-choice input{width:19px;height:19px;min-height:19px;accent-color:#80d9cc;flex:0 0 auto}
.practice-letter{font-size:13px;display:inline-grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#31515c;font-weight:800}
.practice-label{display:grid;gap:7px;font-size:13px;font-weight:750;margin:12px 0;color:#d9e9ed}
.practice-label input{width:100%;min-height:45px;font-size:16px}.practice-label textarea{line-height:1.6;font-size:15px;min-height:105px}
.practice-workspace{border:1px solid #3d5760;background:#172b35;border-radius:10px;padding:12px;margin-top:14px}
.practice-workspace summary{cursor:pointer;font-size:13px;font-weight:800;color:#cfebed;min-height:36px}
.practice-drawing{margin:14px 0 5px}.practice-canvas-head{margin-bottom:9px}.practice-canvas-head strong{font-size:13px}.practice-canvas-head small{font-size:12px;color:#a9c0c7}
.practice-drawing canvas{display:block;width:100%;height:auto;aspect-ratio:800/560;background:#fff;border-radius:9px;border:2px solid #59747e;touch-action:none;cursor:crosshair}
.practice-canvas-controls{padding-top:10px;align-items:center}.practice-canvas-controls small{max-width:60%;font-size:11px}
.practice-actions{margin:16px 0 8px}.practice-actions .btn{flex:1 1 120px;min-height:44px;text-align:center}
.practice-form>small{display:block;font-size:11px;line-height:1.6}.practice-done{color:#a8ebca;font-size:12px;font-weight:750;margin:12px 0}
.practice-work{border-left:3px solid #6aabb6;background:#203843;padding:10px 12px;margin:10px 0;line-height:1.7;white-space:pre-wrap}
.practice-saved-sketch{display:block;max-width:100%;width:100%;height:auto;background:#fff;border-radius:10px;border:1px solid #6b929e;margin:12px 0}
.practice-responses{margin:15px 0}.practice-response{padding:11px 0;border-bottom:1px solid #37535e}.practice-response:last-child{border-bottom:0}
.practice-parent-options{padding-left:25px;line-height:2}.practice-author{background:#192f37;border:1px dashed #486772;padding:12px;border-radius:10px;margin:14px 0}
.practice-author summary{cursor:pointer;color:#8cddd7;font-weight:750;font-size:13px;min-height:31px}.practice-author form{margin-top:12px}
.practice-author-options{display:grid;gap:9px}.practice-author-options[hidden]{display:none}.practice-author-options label{margin:0}
.practice-author-check{display:flex;gap:8px;align-items:center!important;font-size:13px}.practice-author-check input{width:20px;height:20px;min-height:20px}
@media(max-width:600px){.practice-card{padding:11px}.practice-prompt{font-size:15px}.practice-canvas-head small{width:100%}.practice-canvas-controls small{max-width:100%}.practice-actions .btn{flex:1 1 40%}}

/* MYHSOPS Build 008 — course-style learning environment, preserving Build 007 widgets. */
:root{--course-rail:#0c1720;--course-canvas:#0e181f;--course-surface:#172630;--course-line:#31434d;--course-soft:#98aeb9;--course-bright:#79dbd1}
body.app-course-layout{background:var(--course-canvas);padding-bottom:94px}
body.app-course-layout .app-topbar{position:sticky;top:0;z-index:20;height:64px;background:#101d27;border-bottom:1px solid #2c4049;max-width:none;padding:0 24px;box-shadow:0 1px 10px rgba(0,0,0,.08)}
body.app-course-layout .brand{display:inline-flex;gap:8px;align-items:center;font-size:15px;letter-spacing:.02em;color:#f3fafb}
.brand-glyph{color:#78daca;font-size:22px}.app-topbar .brand small{font-size:9px;letter-spacing:.16em;color:#8ca7b1;border-left:1px solid #41525c;padding-left:13px;margin-left:5px}
.topbar-account{display:flex;gap:9px;align-items:center}.topbar-account .who{display:flex;flex-direction:column;line-height:1.15;color:#e5f1f2;font-size:12px;max-width:none;text-align:left}.topbar-account .who small{font-size:10px;color:#98b4bc;margin-top:5px}.account-dot{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#31545b;color:#c7fff0;font-size:13px;font-weight:800}
.app-frame{display:flex;align-items:stretch;min-height:calc(100svh - 64px)}
.app-sidebar{display:none;width:252px;flex:0 0 252px;background:var(--course-rail);border-right:1px solid #2a3b44;padding:28px 15px 24px;flex-direction:column;gap:30px;position:sticky;top:64px;height:calc(100svh - 64px);overflow-y:auto}
.sidebar-block{display:grid;gap:5px}.sidebar-kicker{font-size:10px;color:#91aebb;letter-spacing:.13em;font-weight:800;padding:0 12px;margin-bottom:8px;display:flex;justify-content:space-between;gap:8px}.sidebar-grade{font-size:9px;color:#85d5c7}
.sidebar-link{width:100%;display:flex;gap:11px;align-items:center;min-height:43px;padding:10px 12px;border-radius:9px;color:#c0d5dc;font-size:13px;font-weight:600;text-align:left;border:1px solid transparent;background:transparent;line-height:1.4}
.sidebar-link>span:first-child:not(.sidebar-course-icon){font-size:18px;line-height:1;width:22px;text-align:center;color:#8ea6b2}
.sidebar-link:hover,.sidebar-link:focus-visible{background:#1b313b}.sidebar-link.is-active{background:#1b3a3d;color:#b5f5e6;border-color:#355858}
.sidebar-course-icon{width:27px;min-width:27px;height:27px;display:grid;place-items:center;border-radius:7px;background:#23424d;font-size:13px;color:#afddeb;font-weight:800}
.sidebar-course-icon.course-icon-science{background:#28473f;color:#b0e5c0}.sidebar-course-icon.course-icon-english-language-arts{background:#453650;color:#e5c2f7}
.sidebar-end{margin-top:auto;border-top:1px solid #2e434e;padding-top:16px;display:grid;gap:7px}.sidebar-privacy{font-size:10px;color:#759ba4;padding:0 10px}.logout-link{font:inherit;cursor:pointer;color:#b3cbd0}
body.app-course-layout main.app-content{width:100%;max-width:1230px;padding:34px clamp(16px,3.1vw,50px) 55px;margin:0 auto;min-width:0}
body.app-course-layout main.app-content-course{max-width:1500px}
body.app-course-layout .bottom{background:#102028;border-top-color:#35505b;padding-top:4px;box-shadow:0 -8px 20px rgba(0,0,0,.15)}
body.app-course-layout .bottom a,body.app-course-layout .bottom button{color:#a8c9d0}
body.app-course-layout .bottom a[aria-current="page"]{color:#86e6d4}
body.app-course-layout .tile{transition:border-color .15s,transform .15s;box-shadow:0 5px 24px rgba(0,0,0,.04)}
body.app-course-layout .tile:hover{border-color:#55878b;transform:translateY(-2px)}
/* Inner course page: a focused player, not a very long scrolling checklist. */
.course-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 20px}.course-topline .back{margin:0;min-height:34px;display:inline-flex;align-items:center;font-size:13px;color:#a8cbd1}.course-subject-badge{border:1px solid #36545b;background:#1a3439;border-radius:100px;padding:5px 12px;font-weight:750;color:#b6e8de;letter-spacing:.07em;font-size:10px}
.course-intro{max-width:850px;margin:0 0 25px}.course-intro h1{font-size:clamp(26px,4vw,39px);line-height:1.16;letter-spacing:-.03em;margin:8px 0 11px}.course-intro p{font-size:14px;line-height:1.6;max-width:700px;margin:0}
.course-shell{display:grid;grid-template-columns:minmax(220px,285px) minmax(0,1fr);gap:22px;align-items:start}
.course-sidebar{position:sticky;top:83px;background:var(--course-rail);border:1px solid #304550;border-radius:15px;padding:16px 0 12px;max-height:calc(100svh - 102px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3c5c67 transparent}
.course-sidebar-title{font-size:11px;letter-spacing:.13em;font-weight:800;color:#a5bfca;padding:2px 18px 17px}
.outline-meta{padding:5px 18px 17px;border-bottom:1px solid #293d47}.outline-meta .eyebrow{font-size:10px}.outline-progress-label{display:flex;justify-content:space-between;gap:10px;margin:10px 0 9px;color:#c3d8df;font-size:12px}.outline-progress-label span{color:#90b6bb}.outline-meta .meter{height:6px;background:#233843}.outline-units{margin-top:11px}.outline-unit{margin:0 9px}.outline-unit-heading,.outline-unit-link{display:flex;align-items:center;gap:10px;padding:12px 9px;font-size:12px;line-height:1.4;font-weight:750;color:#d6e7eb}.outline-unit-heading>span:nth-child(2),.outline-unit-link>span:nth-child(2){min-width:0;flex:1}.outline-unit-link:hover{background:#182e37;border-radius:8px}.outline-unit-index{display:grid;place-items:center;font-size:10px;font-weight:800;width:26px;height:26px;min-width:26px;background:#223a45;color:#a9d9d6;border-radius:7px}.outline-unit-heading small,.outline-unit-link small{font-size:10px;color:#80a3b0;white-space:nowrap}.is-current-unit>.outline-unit-heading{color:#9ee4d5}.outline-skills{border-left:1px solid #35515b;margin:2px 0 9px 21px;padding:1px 0 1px 8px;display:grid;gap:3px}.outline-skill{display:flex;align-items:flex-start;gap:8px;padding:10px 8px;border-radius:7px;color:#a8c0c9;font-size:11.5px;line-height:1.45}.outline-check{font-size:14px;line-height:1.1;color:#7a9ca6}.outline-skill:hover{background:#233843}.outline-skill.is-current-skill{background:#23504b;color:#d9faf0;font-weight:800}.outline-skill.is-current-skill .outline-check{color:#86e7d1}
.course-workspace{min-width:0}.course-mobile-outline{display:none}.lesson-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:3px 3px 14px}.lesson-label{font-weight:850;font-size:10px;letter-spacing:.14em;color:#86c9c8}.lesson-position{font-size:12px;color:#abc1c8}
.lesson-step-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;border:1px solid #304751;border-radius:13px;padding:7px;background:#111f28;margin-bottom:14px}
.lesson-tab{font:inherit;min-height:70px;display:grid;align-content:center;justify-items:center;gap:6px;text-align:center;background:transparent;border:1px solid transparent;color:#9bb3be;border-radius:10px;padding:9px 4px;cursor:pointer;line-height:1.2}.lesson-tab:hover{background:#1e3440}.lesson-tab[aria-pressed="true"]{background:#234a49;border-color:#437a71;color:#d9fff4}.lesson-tab-num{font-size:10px;font-weight:900;letter-spacing:.09em;color:#77b9bc}.lesson-tab[aria-pressed="true"] .lesson-tab-num{color:#9cf3d9}.lesson-tab-name{font-size:11px;font-weight:750}
.lesson-steps{min-width:0}.lesson-panel{min-width:0;max-width:100%;background:#172731;border:1px solid #344b55;border-radius:16px;padding:clamp(17px,2.5vw,30px);min-height:235px;margin-bottom:12px}.lesson-panel[hidden]{display:none!important}.lesson-step-heading{display:flex;align-items:center;gap:13px;padding-bottom:17px;margin-bottom:22px;border-bottom:1px solid #304651}.lesson-step-badge{width:43px;height:43px;min-width:43px;display:grid;place-items:center;color:#bff7ea;border-radius:11px;background:#25484c;font-size:14px;font-weight:900}.lesson-step-heading h2{font-size:clamp(20px,2.7vw,25px);letter-spacing:-.02em;margin:3px 0 0}.lesson-step-heading .eyebrow{font-size:10px}.lesson-panel .guide-copy{font-size:16px;line-height:1.85;color:#deebef}.lesson-panel .math-prose .katex-display{padding:13px 0;margin:1.3rem 0}
.lesson-panel .practice-instage{border-top:1px solid #3a525b;margin-top:24px;padding-top:18px}.lesson-panel .practice-card{border-color:#41616e}.lesson-assignment-list{display:grid;gap:10px}.lesson-assignment-card{display:flex;justify-content:space-between;align-items:center;gap:13px;background:#203641;border:1px solid #3c5862;padding:15px;border-radius:11px}.lesson-assignment-card strong{font-size:14px;display:block}.lesson-assignment-card small{font-size:12px;display:block;margin-top:4px}.lesson-assignment-card:hover{border-color:#71aeb0}
.lesson-footer{display:flex;justify-content:space-between;gap:12px;margin:15px 0}.lesson-footer .btn{flex:1;max-width:240px}.course-next-skill{padding:18px 2px;border-top:1px solid #2e4550;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#96d7d0;font-weight:750}.course-next-skill a{display:inline-flex;align-items:center;min-height:35px}.course-next-skill a:hover{text-decoration:underline}
.course-authoring{margin:35px 0 8px;border-color:#45666b;background:#152932}.course-authoring>summary{min-height:48px}.course-authoring textarea{font-family:inherit}
/* Breakpoints: full navigation on desktop, compact course drawer on phone. */
@media(min-width:1000px){.app-sidebar{display:flex}body.app-course-layout{padding-bottom:0}body.app-course-layout .bottom{display:none}}
@media(max-width:1220px){.course-shell{grid-template-columns:235px minmax(0,1fr);gap:15px}.course-sidebar{max-height:calc(100svh - 85px)}}
@media(max-width:900px){.course-shell{display:block}.course-sidebar{display:none}.course-mobile-outline{display:block;background:#172a33;border:1px solid #3c5460;border-radius:13px;margin-bottom:14px}.course-mobile-outline summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 16px;cursor:pointer;font-weight:750;font-size:13px;list-style:none}.course-mobile-outline summary::-webkit-details-marker{display:none}.course-mobile-outline>.outline-meta{padding-top:10px}.course-mobile-outline .outline-skills{margin-left:21px}.course-mobile-outline .outline-units{padding-bottom:10px}}
@media(max-width:640px){body.app-course-layout .app-topbar{height:57px;padding:0 14px}.app-topbar .brand small{display:none}.app-frame{min-height:calc(100svh - 57px)}body.app-course-layout main.app-content{padding:18px 14px 32px}.topbar-account .who{font-size:11px}.topbar-account .who small{font-size:9px}.account-dot{width:30px;height:30px}.course-topline{margin-bottom:12px}.course-intro h1{font-size:27px}.course-intro{margin-bottom:19px}.course-intro p{font-size:13px}.lesson-step-nav{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:6px;gap:6px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.lesson-tab{min-width:105px;scroll-snap-align:start;min-height:58px;gap:4px;padding:8px}.lesson-tab-name{font-size:10.5px}.lesson-panel{padding:16px 13px;min-height:200px}.lesson-step-heading{margin-bottom:15px}.lesson-step-heading h2{font-size:20px}.lesson-panel .guide-copy{font-size:15px}.lesson-footer .btn{font-size:13px;padding:10px 9px;min-height:44px}.course-next-skill{padding-bottom:23px}.lesson-panel .practice-card{padding:12px 10px}.lesson-panel .practice-workspace{padding:9px}}
@media(prefers-reduced-motion:reduce){body.app-course-layout .tile{transition:none;transform:none!important}html{scroll-behavior:auto}}
/* Build 008: actionable course dashboard */
.course-dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:29px}.course-dashboard-heading h1{letter-spacing:-.04em;margin:6px 0 8px;font-size:clamp(28px,4vw,40px)}.course-dashboard-heading p{margin:0;font-size:14px}
.course-dashboard-block{margin:0 0 31px}.dashboard-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 0 15px;flex-wrap:wrap}.dashboard-section-head h2{font-size:22px;letter-spacing:-.02em;margin:5px 0 0}.course-year-note{color:#a2d8d0;border:1px solid #365d60;background:#1c343b;padding:7px 11px;border-radius:100px;letter-spacing:.08em;font-size:10px;font-weight:850}
.course-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.course-card{display:flex;flex-direction:column;min-width:0;background:#172731;border:1px solid #344d59;border-radius:18px;padding:21px;gap:8px}.course-card-top{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:12px}.course-cover-symbol{height:49px;width:49px;border-radius:12px;background:#234855;color:#afe9eb;display:grid;place-items:center;font-size:24px;font-weight:900}.course-cover-symbol.science{background:#21473c;color:#baf3d4}.course-cover-symbol.english-language-arts{background:#423251;color:#f1d3fb}.course-card-kicker{font-size:10px;color:#a1bec6;letter-spacing:.07em;font-weight:750}.course-card h3{font-size:20px;line-height:1.22;margin:0;letter-spacing:-.025em}.course-card-caption{font-size:12px;line-height:1.5;min-height:38px;margin:0 0 9px}.course-card-progress{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:#b0c5cb}.course-card-progress strong{font-size:16px;color:#dbf8ee}.course-card .meter{height:6px;background:#29404c}.course-card>small{font-size:11px}.course-resume{margin-top:14px;min-height:83px;border-top:1px solid #354d57;padding-top:14px;display:flex;flex-direction:column;gap:4px}.course-resume>span{font-size:10px;letter-spacing:.11em;font-weight:800;color:#8ccec4}.course-resume>strong{font-size:13px;line-height:1.4}.course-resume>small{font-size:11px;color:#9cb9c1}.course-resume-btn{width:100%;font-size:13px;margin-top:auto}.course-outline-link{font-size:12px;text-align:center;color:#99d8d2;font-weight:750;padding:8px}.course-focus-panel{padding:7px 19px}.course-dashboard-block .empty-mini{padding:17px}.course-dashboard-block>.btn{margin-top:5px}
@media(max-width:1100px){.course-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){.course-card-grid{grid-template-columns:1fr}.course-card{padding:17px}.course-dashboard-heading{margin-bottom:23px}.course-card-caption{min-height:0}.course-resume{min-height:0}.course-dashboard-block{margin-bottom:26px}}
@media(max-width:999px){body.app-course-layout .bottom{position:fixed;left:0;right:0;bottom:0;max-width:none;border-radius:0;margin:0;z-index:30;justify-content:space-around}.course-sidebar{display:none}}

/* Build 009: review-friendly linked practice evidence */
.review-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:1rem;margin-bottom:1rem}
.review-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.85rem}
.review-file{display:block;border:1px solid rgba(160,196,210,.18);border-radius:16px;overflow:hidden;background:#101d26}
.review-file img{display:block;width:100%;height:220px;object-fit:cover}
.review-practice-list{display:grid;gap:1rem}
.review-practice-card{border:1px solid rgba(160,196,210,.16);border-radius:16px;padding:1rem;background:#0f1a22}
.review-scratch-link{display:block;max-width:420px}
.review-action-panel .review-buttons{display:flex;gap:.75rem;flex-wrap:wrap}
.review-history-item{padding:.85rem 0;border-top:1px solid rgba(160,196,210,.12)}
.review-history-item:first-child{border-top:0;padding-top:0}
.tiny-note{font-size:.86rem;color:#9eb2bf;margin:.35rem 0 .5rem}
.check-inline{display:flex;gap:.55rem;align-items:flex-start}
@media (max-width: 900px){.review-grid{grid-template-columns:1fr}}

/* Build 009A: visible independent scratchpad on every Math practice step */
.freeform-workpad{border:1px solid #477983;background:#142a32;border-radius:14px;padding:16px;margin:20px 0 12px}
.freeform-workpad h3{margin:0 0 8px;color:#d8efee}.freeform-workpad .workpad-intro{font-size:13px;color:#aac4c9;margin:0 0 12px}
.freeform-workpad canvas{width:100%;height:auto;display:block;touch-action:none;cursor:crosshair;border-radius:11px;border:2px solid #5d8390;background:white;aspect-ratio:1000/680}
.freeform-workpad .workpad-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:12px}
.freeform-workpad .workpad-form select{min-height:45px;width:100%}
.workpad-saved{margin-top:16px;display:grid;gap:9px}.workpad-saved-item{border-top:1px solid #41616a;padding-top:12px}.workpad-saved-item a{display:block;max-width:380px}
.workpad-saved-item img{background:white;border-radius:9px;width:100%;height:auto;margin-top:7px;border:1px solid #5c8188}
.workpad-evidence-list{margin-top:25px;border-top:1px solid #41616a;padding-top:20px}.workpad-evidence{padding:15px 0;border-top:1px solid #3e5762}.workpad-evidence:first-of-type{border-top:0}
.workpad-evidence small{display:block;margin-top:4px}
@media(max-width:640px){.freeform-workpad{padding:12px}.freeform-workpad canvas{aspect-ratio:1000/680}}

/* MYHSOPS Build 010A — compact quiz choices and a single per-question scratch pad. */
.lesson-panel .practice-card { container-type: inline-size; container-name: course-practice; }
.lesson-panel .practice-choice-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:10px 0 16px;}
.lesson-panel .practice-choice-grid label.practice-choice {
    display:grid;grid-template-columns:32px minmax(0,1fr) 28px;align-items:stretch;
    flex-direction:row;gap:0;margin:0;min-height:64px;padding:10px 12px;
    background:#1a303b;border:1px solid #4b6571;border-radius:12px;
    cursor:pointer;min-width:0;color:#e2eef0;overflow:hidden;
}
.lesson-panel .practice-choice-grid label.practice-choice:hover {border-color:#83c8c1;background:#203944;}
.lesson-panel .practice-choice-grid label.practice-choice:has(input[type="radio"]:checked) {border-color:#80d9cc;background:#1e4548;box-shadow:0 0 0 1px #80d9cc inset;}
.lesson-panel .practice-choice-grid .practice-letter {width:30px;height:30px;align-self:center;justify-self:start;font-size:13px;background:#31515c;border-radius:8px;}
.lesson-panel .practice-choice-grid .practice-choice-answer {
    min-width:0;display:flex;align-items:center;justify-content:flex-start;overflow-wrap:anywhere;
    border-left:1px solid #48626e;border-right:1px solid #48626e;
    padding:2px 13px;margin:0 10px 0 2px;font-size:16px;line-height:1.5;font-weight:650;
}
.lesson-panel .practice-choice-grid .practice-choice-answer .katex-display{margin:0;max-width:100%;overflow-x:auto;overflow-y:hidden;text-align:left;}
.lesson-panel .practice-choice-grid label.practice-choice input[type="radio"] {
    appearance:auto;-webkit-appearance:radio;align-self:center;justify-self:center;
    display:block;width:21px;height:21px;min-width:21px;min-height:21px;
    padding:0;margin:0;border:0;accent-color:#80d9cc;background:transparent;box-shadow:none;
}
@container course-practice (min-width:610px) {
    .lesson-panel .practice-choice-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@container course-practice (min-width:1090px) {
    .lesson-panel .practice-choice-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
    .lesson-panel .practice-choice-grid .practice-choice-answer {padding:2px 8px;margin-right:6px;}
}
.lesson-panel .practice-workspace {margin:15px 0 4px;padding:16px;border:1px solid #3d5760;background:#172b35;border-radius:12px;}
.lesson-panel .practice-work-heading{font-size:15px;line-height:1.4;margin:0 0 4px;color:#e4f1f2;font-weight:800;}
.lesson-panel .practice-work-hint{font-size:12px;line-height:1.5;color:#a8c0c7;margin:0 0 13px;}
.lesson-panel .practice-pad-toggle{border:1px solid #41606d;border-radius:11px;overflow:hidden;background:#10242e;}
.lesson-panel .practice-pad-toggle>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;gap:12px;list-style:none;cursor:pointer;padding:11px 14px;font-size:14px;font-weight:800;color:#9ce5db;}
.lesson-panel .practice-pad-toggle>summary::-webkit-details-marker{display:none;}
.lesson-panel .practice-pad-toggle[open]>summary{border-bottom:1px solid #41606d;}
.lesson-panel .practice-pad-action{font-size:12px;font-weight:600;color:#9bb7c1;white-space:nowrap;}
.lesson-panel .practice-pad-toggle[open] .practice-pad-action span{display:inline-block;transform:rotate(180deg);}
.lesson-panel .practice-pad-toggle .practice-drawing{padding:12px;margin:0;}
.lesson-panel .practice-older-drawings{padding-top:16px;margin-top:16px;border-top:1px solid #35515b;}
.lesson-panel .practice-older-drawings h4{font-size:13px;margin:0 0 5px;color:#d4e9eb;}
.lesson-panel .practice-older-drawings p{font-size:12px;}
.lesson-panel .practice-old-drawing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,160px));gap:9px;margin-top:9px;}
.lesson-panel .practice-old-drawing-grid a{display:block;border:1px solid #45636e;border-radius:9px;overflow:hidden;background:#fff;}
.lesson-panel .practice-old-drawing-grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;}
@media(max-width:640px){
    .lesson-panel .practice-choice-grid label.practice-choice{min-height:60px;padding:9px 11px;}
    .lesson-panel .practice-workspace{padding:11px;}
    .lesson-panel .practice-choice-grid .practice-choice-answer{font-size:15px;}
    .lesson-panel .practice-pad-toggle .practice-drawing{padding:8px;}
}

/* MYHSOPS Build 013 — one course workspace */
.outline-unit-details{border-bottom:1px solid #263d48}
.outline-unit-summary{cursor:pointer;list-style:none;border-radius:8px;min-height:49px;user-select:none}
.outline-unit-summary::-webkit-details-marker{display:none}
.outline-unit-summary:hover,.outline-unit-summary:focus-visible{background:#1b3340;outline-offset:2px}
.outline-unit-title{min-width:0;flex:1}
.outline-unit-chevron{font-size:19px;color:#9fcbd0;transition:transform .2s;line-height:1}
.outline-unit-details[open] .outline-unit-chevron{transform:rotate(180deg)}
.outline-stage-caption{color:#94cfc6;text-transform:uppercase;letter-spacing:.1em;font-size:10px;font-weight:800;margin:11px 6px 2px}
.outline-empty{padding:8px}
.outline-future-grades{border-top:1px solid #334853;padding:13px 19px;margin-top:14px}
.outline-future-grades>summary{cursor:pointer;font-size:12px;font-weight:750;color:#bed6db}
.outline-future-content{padding:10px 0;display:flex;flex-wrap:wrap;gap:8px}
.outline-future-content p{width:100%;margin:0 0 3px;font-size:11px}
.outline-grade-choice{font-size:11px;text-decoration:none;border:1px solid #43616d;border-radius:8px;padding:7px 9px;color:#cfe7e8}
.outline-grade-choice.is-current-grade{background:#26524b;color:#d3fff4}
.parent-grade-controls{padding:18px 22px}
.parent-grade-controls>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;flex-wrap:wrap}
.parent-grade-inner{padding-top:18px}
.grade-readiness-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.grade-readiness-grid>span{border:1px solid #34505b;border-radius:10px;padding:12px;display:grid;gap:4px}
.grade-readiness-grid strong{font-size:12px}.grade-readiness-grid small{color:#abc5c8;font-size:11px}
@media(max-width:600px){.grade-readiness-grid{grid-template-columns:1fr}.parent-grade-controls{padding:14px}.outline-unit-details{margin:0 7px}.outline-unit-summary{font-size:12px}}
