/* Pinguino controls v1: one primary action, quiet supporting actions, generous touch spacing. */
:root{--action:#5869df;--action-hover:#4556c9;--ink:#23364d;--line:#dce2ef;--space-1:8px;--space-2:12px;--space-3:16px;--space-4:24px;--touch:48px;--radius-control:12px}
button,.button{min-height:var(--touch);padding:11px 18px;font-size:1rem;line-height:1.3;border-radius:var(--radius-control);font-weight:650}
button:focus-visible,a:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffb74f;outline-offset:3px}
.card button{width:auto;margin-top:0}.card>.primary{margin-top:20px}.subject-card>button.primary{display:block;width:100%;margin-top:20px}.subject-card>button:not(.primary){margin-top:16px}
.tools,.entry-actions{gap:16px;align-items:center}.tools{margin:24px 0}.tools button{margin:0}.hero button+button{margin-left:0}.hero button{margin:8px 16px 0 0}
.answer-actions{display:flex;align-items:center;justify-content:space-between;gap:32px;margin:24px 0 16px}.answer-actions .primary{min-width:132px}.answer-actions .unknown{margin-left:auto;background:#f7f8fc;color:#526477;border:1px solid var(--line);min-width:120px}.answers{gap:16px}.answers button{width:100%;min-height:60px;padding:16px;text-align:left;font-weight:600}.cards{gap:12px}.cards button{min-height:48px}
.study .card>.lesson-help,.study .card>.task-report{width:auto;display:block;min-height:44px;margin-top:16px;background:transparent;border:0;padding:8px 0;text-align:left;font-size:.95rem;color:var(--action-hover);text-decoration:underline;text-underline-offset:4px}.study .card>.task-report{color:#526477;font-size:.85rem;margin-top:4px}.study .card>.lesson-help:hover,.study .card>.task-report:hover{background:#f4f6fb}.feedback>button.primary{margin-top:16px}
.question{min-height:0;margin:12px 0 28px;line-height:1.4}.exercise-card{padding:28px}.learning-feedback{background:#f7f9fd;padding:16px;margin:20px 0 8px}.learning-feedback summary{font-size:.95rem;font-weight:650;color:#526477;cursor:pointer;min-height:44px;display:flex;align-items:center;gap:10px}.learning-feedback summary::before{content:'▸'}.learning-feedback[open] summary::before{content:'▾'}.learning-feedback p{font-size:.95rem;line-height:1.55}
#admin label{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:20px 0;font-size:.95rem;font-weight:600}#admin input:not([type=checkbox]):not([type=radio]),#admin textarea,#admin select{font:inherit;min-height:48px;border:1px solid var(--line);border-radius:12px;padding:12px;background:white;width:100%}#admin textarea{min-height:100px}#admin .tools{padding:16px 0;border-bottom:1px solid var(--line);gap:16px}#admin .tools select{width:auto;max-width:100%}#admin .tools span{flex:1;min-width:160px}.admin-tab-panel>.card{padding:28px;margin-bottom:24px}.admin-tab-panel>.card>button,.admin-tab-panel form>button{margin:12px 16px 8px 0}.admin-tab-panel .print-codes{margin-top:24px}.admin-tabs{gap:12px}.admin-tabs button{min-height:48px;padding:12px 18px;font-size:.95rem}.entry-demos a{font-size:.95rem}
header{gap:16px}header button{font-size:.9rem;min-height:44px;padding:10px 14px}
@media(max-width:650px){.exercise-card,.admin-tab-panel>.card{padding:20px}.answer-actions{gap:24px;flex-wrap:wrap}.answer-actions .primary,.answer-actions .unknown{min-width:0}.answers{grid-template-columns:1fr;gap:16px}.tools{gap:16px}.admin-tabs{grid-template-columns:1fr}.hero button{margin:12px 12px 0 0}.hero button+button{margin:12px 12px 0 0}}
@media print{.admin-tab-panel>.card{padding:0}.print-codes{margin:0}}

.strength-gain{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:18px 0;padding:14px 16px;background:#fff8e9;border:1px solid #f0ddb8;border-radius:14px;font-size:.9rem}.strength-gain strong{width:100%;color:#6c531c;font-size:.9rem}.strength-gain span{white-space:nowrap;color:#526477}.study .card>.lesson-help,.study .card>.task-report{display:inline-flex;align-items:center;margin:16px 20px 0 0;padding:8px 0;min-height:44px}.exercise-card .feedback{padding:16px}.exercise-card .explanation summary{font-size:.95rem}

.exercise-card .lesson-help,.study .card>.task-report{display:inline-flex;align-items:center;min-height:44px;padding:9px 13px;margin:12px 0 0;border:1px solid #dce2ef;border-radius:10px;background:#fff;text-decoration:none;font-size:.85rem;color:#4556c9;font-weight:600;width:auto}.exercise-card .lesson-help:hover,.study .card>.task-report:hover{background:#eef1ff}.exercise-card>.strength-gain{width:fit-content;max-width:100%;margin:20px 0 0 auto;display:grid;grid-template-columns:1fr;gap:8px;border-radius:6px;padding:16px 20px}.exercise-card>.strength-gain strong{width:auto}.study-top{flex-wrap:wrap}.study-top>button{font-size:.9rem}

.exercise-card .explanation{padding:16px 20px;margin:18px 0}.exercise-card .explanation .lesson-help{display:flex;justify-content:center;margin:16px 0 4px auto}.exercise-card>.task-report{margin:16px 0 4px 4px}.gear-choice{display:flex;align-items:center;gap:16px;min-height:76px;padding:14px 18px!important;text-align:left;margin:16px 0!important}.gear-choice .equipment-icon{width:48px;height:48px;flex:0 0 48px}.gear-choice .equipment-icon svg{width:100%;height:100%}

.progress-area{margin:24px 0}.progress-area h4{margin:0 0 12px;font-size:1rem}.learning-bar{display:flex;gap:3px;min-height:32px;border-radius:8px;overflow:hidden;background:#edf0f5}.learning-segment{display:flex;align-items:center;justify-content:center;min-width:24px;flex-basis:0;font-size:.8rem;font-weight:700;color:#23364d}.learning-segment.secure{background:#95d5b2}.learning-segment.helped{background:#b5c3f5}.learning-segment.practice{background:#ffda8c}.learning-segment.new{background:#e1e5ed}.learning-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:10px;font-size:.8rem;color:#526477}.statistics-section{border-top:1px solid #dce2ef;padding-top:20px;margin-top:24px}

.pinguino-badge{display:inline-flex;flex-direction:column;align-items:center;gap:10px;width:160px;padding:16px;text-align:center;font-size:.85rem;color:#23364d;background:#fffaf0;border-radius:16px;margin:12px}.badge-art{width:90px;display:block}.badge-art svg{width:100%;height:auto}#dialog-content>.pinguino-badge{display:flex;width:200px;margin:24px auto}.mission>.primary{margin:12px 0}.trophy-card .pinguino-badge{vertical-align:top}

.hero-strengths{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.hero-strength-card{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 12px;border:1px solid #e2d8b9;background:#fffdf7;border-radius:18px;text-align:center}.hero-strength-card .pinguino-badge{width:auto;padding:0;background:transparent;margin:0;gap:0}.hero-strength-card .badge-art{width:64px}.hero-strength-card .pinguino-badge strong{display:none}.hero-strength-value{font-size:1.8rem;color:#4556c9;line-height:1.1}.hero-strength-card>span{font-size:.9rem;font-weight:650}.journey-banner>div{flex:1;min-width:0}.journey-banner .hero-strengths{margin-bottom:0}@media(max-width:650px){.hero-strengths{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.journey-banner>div{width:100%}}

.mascot.cheering>svg{animation:pinguino-jump .65s ease-in-out 2;transform-origin:50% 85%}@keyframes pinguino-jump{0%,100%{transform:translateY(0) scale(1)}40%{transform:translateY(-16px) scale(1.16)}65%{transform:translateY(-8px) scale(1.1)}}@media(prefers-reduced-motion:reduce){.mascot.cheering>svg{animation:none}}
.admin-class-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:24px 0}.admin-class-button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px;text-align:left;position:relative}.admin-class-button[aria-pressed=true]{border:2px solid #5d63e6;background:#eef0ff}.admin-new{background:#def5e8;color:#146641;border-radius:20px;padding:4px 10px;font-size:.85rem}.admin-class-button small{font-weight:400}.admin-process{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0}.admin-process button{display:flex;align-items:center;gap:12px;text-align:left;padding:16px;font-size:1rem}.admin-process button span{display:grid;place-items:center;background:#eef0ff;border-radius:50%;min-width:32px;height:32px}.admin-release-row{display:flex;align-items:center;flex-wrap:wrap;gap:20px;padding:20px 0;border-bottom:1px solid #e3e7f2}#admin-upload,#admin-develop,#admin-review,#admin-release{scroll-margin-top:24px}@media(max-width:760px){.admin-process{grid-template-columns:repeat(2,1fr)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.admin-review-workspace{display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,1.3fr);gap:24px;padding:20px 0}.admin-source{background:#f4f6fc;padding:20px;border-radius:12px;overflow-wrap:anywhere}.admin-source img{display:block;width:100%;height:auto;margin-top:16px}.admin-filter{display:flex;flex-wrap:wrap;gap:24px;margin:24px 0}.admin-filter label{flex:1;min-width:180px}.admin-tabs button[aria-pressed=true]{background:#eef0ff;border-color:#5d63e6}.round-learning{padding:20px;background:#eef6ff;border-radius:12px;margin:20px 0}.lesson-stage summary{font-weight:700;min-height:44px;padding:12px 0;cursor:pointer}.admin-tab-panel:empty{display:none}@media(max-width:800px){.admin-review-workspace{grid-template-columns:1fr}}[hidden]{display:none!important}
.admin-child-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;padding:16px 0;border-bottom:1px solid #e3e7f2}.danger{color:#a32632!important;border-color:#c85360!important;background:#fff5f5!important}.admin-delete-dialog{max-width:560px;padding:28px;border:1px solid #dbe1ef;border-radius:16px}.admin-delete-dialog .tools{margin-top:24px;gap:20px}.admin-delete-dialog label{display:grid;gap:12px;margin:24px 0}.admin-delete-dialog::backdrop{background:#17283b88}

/* Systeminformation und optionale Nebenaktionen */
.system-info{background:#eef3fa;border:1px solid #d9e4f2;padding:14px;border-radius:10px;color:#425b79;font-size:13px}.system-info summary:before{content:'i';display:inline-grid;place-items:center;width:18px;height:18px;border:1px solid currentColor;border-radius:50%;margin-right:8px;font-size:12px}.secondary-options{background:white;border:1px solid #b9c0ed;padding:14px;border-radius:10px;color:#414ac2}.secondary-options summary:before{content:'+';margin-right:8px;font-size:18px}.system-info[open] summary,.secondary-options[open] summary{margin-bottom:16px}


/* Prozesspfeil: Zustand am Pfeil, niemals an einer farbigen Fläche */
.process-arrow{display:inline-flex;color:#b5bfce;background:transparent}.process-arrow svg{width:32px;height:36px}.process-arrow path{fill:none;stroke:currentColor;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.process-arrow.is-done{color:#16804c}.process-arrow.is-next{color:#d49a00}

/* Nebenoptionen sind schlichte Aufklappbereiche, keine Buttons. */
.secondary-options{padding:0;border:0;border-radius:0;background:transparent}.secondary-options summary:before{content:none}.secondary-options summary{font-weight:550;color:#414ac2}

/* Creation overlay: shared modal pattern for new entities. */
.creation-overlay{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:28px;border:1px solid #dbe1ef;border-radius:18px;background:#fff;box-shadow:0 24px 80px #17283b33}.creation-overlay::backdrop{background:rgba(32,42,55,.55)}.creation-overlay h2{margin:0 0 24px}.creation-overlay label{display:grid;gap:8px;margin:18px 0}.creation-overlay input,.creation-overlay select{width:100%}.overlay-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:16px;margin-top:24px}.overlay-error{color:#a32632}.creation-overlay .overlay-actions button{min-height:44px}


/* Tabs navigate between sections; buttons perform actions. */
.admin-tabs{display:flex;flex-wrap:nowrap;gap:4px;overflow-x:auto;padding:0 4px;margin:24px 0;border-bottom:2px solid #dce1ef;background:transparent}.admin-tabs button{flex:0 0 auto;min-height:48px;margin:0;padding:12px 18px;border:0;border-bottom:4px solid transparent;border-radius:0;background:transparent;color:#65738a;box-shadow:none}.admin-tabs button:hover{background:#eaeef7;color:#23364d}.admin-tabs button[aria-pressed=true],.admin-tabs button[aria-selected=true]{background:transparent;border-color:#5d63e6;color:#4148c6;font-weight:800}.admin-tabs button:focus-visible{outline:3px solid #ffb74f;outline-offset:-3px}@media(max-width:650px){.admin-tabs{display:flex;gap:0}.admin-tabs button{padding:12px 14px}}


.admin-code-card{position:relative;padding:24px!important;margin:24px 0}.admin-code-card h3{padding-right:56px;margin-top:0}.admin-code-card>button:not(.context-help){margin-top:16px}.admin-code-status{color:#65738a;font-size:.95rem}.admin-code-value{font-family:monospace;font-size:1.35rem;letter-spacing:.06em;overflow-wrap:anywhere}.context-help{width:44px;height:44px;min-height:44px;padding:0!important;border-radius:50%;border:2px solid #208051;background:#edf8f1;color:#208051;font-weight:800}.admin-code-card>.context-help{position:absolute;right:20px;top:20px;margin:0}.admin-danger-zone{margin-top:32px}.admin-danger-zone button{margin-top:12px}.card .tools{gap:16px}.card>button+button{margin-left:16px}


/* Shared top-left close/back control; top-right is reserved for help. */
.dismissible-view{position:relative;padding-top:84px!important}.view-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;position:absolute;top:16px;left:16px;border:0;border-radius:10px;background:transparent;color:var(--ink,#17334d);font:400 32px/1 sans-serif;text-decoration:none;cursor:pointer}.view-close:hover{background:#edf0fa}.view-close:focus-visible{outline:3px solid #6065e8;outline-offset:3px}


.entry-demos .demo-entry-card{display:flex;flex-direction:column;gap:16px}.entry-demos .demo-entry-card>p{margin-bottom:8px}.entry-demos .demo-card-action{align-self:flex-end;margin-top:auto;display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:12px 18px;border:1px solid var(--action,#6065e8);border-radius:12px;background:var(--action,#6065e8);color:#fff;font-size:.95rem;font-weight:700;text-decoration:none}.entry-demos .demo-card-action:hover{background:var(--action-hover,#4c51cf)}.entry-demos .demo-card-action:focus-visible{outline:3px solid #f8b84e;outline-offset:3px}


/* Lean task patterns: explicit help, one visible answer, separated feedback action. */
.exercise-card .feedback.success{background:transparent;padding:12px 0;color:#157044}.exercise-card .feedback>.primary{display:flex;margin:24px 0 16px auto}.exercise-card .task-help-actions{margin:16px 0}.exercise-card>.task-report{display:inline-flex;border:0;background:transparent;color:#526477;margin:28px 0 4px;padding:10px 0;text-decoration:none}.exercise-card>.strength-gain{margin-top:20px;font-size:.85rem;padding:12px 16px}.exercise-card .lesson-help{margin:12px 0;border:0;background:transparent;padding:10px 0;text-decoration:none}.task-help-dialog{width:min(94vw,760px);max-width:760px;padding:28px 40px 32px}.task-help-dialog #dialog-content{position:relative}.task-help-dialog h2{margin:0 0 28px;padding-left:44px}.task-help-dialog .help-close{position:absolute;left:0;top:0;background:#dcecff;color:#275a91;border:0;border-radius:50%;width:32px;height:32px;min-height:32px;padding:0;font-size:22px}.help-close::before{content:'';position:absolute;inset:-6px;border-radius:50%}.help-rule{margin-bottom:24px}.help-example-label{display:block;color:#687789;font-size:.85rem;margin:24px 0 8px}.help-example{margin:8px 0}.help-pinguino{display:block;width:110px;height:auto;margin:20px 0 0 auto}.task-help-dialog>#close{display:none}@media(max-width:650px){.task-help-dialog{padding:24px}.task-help-dialog h2{font-size:1.3rem}.help-pinguino{width:90px}}

/* Compact child administration: quiet row actions, one primary creation action. */
.admin-child-row>span{flex:1;min-width:180px}.child-row-actions{display:flex;gap:20px;flex-wrap:wrap;justify-content:flex-end}.child-row-actions button{background:transparent;border:0;padding:8px 4px;min-height:44px;text-decoration:none;font-size:15px}.child-delete-action{color:#a32632}.child-access-overlay h2{padding-left:40px}.child-access-close{position:absolute;top:20px;left:20px;width:36px;height:36px;border:0;border-radius:50%;background:#e8f3ff;color:#235d91;padding:0}.child-access-overlay .admin-tabs{margin:24px 0}.child-access-overlay [hidden]{display:none!important}
.child-learning-card{padding:20px 0;border-bottom:1px solid #dce2ef}.child-learning-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.child-learning-heading h3{margin:0}.child-learning-heading small{color:#64748b}.child-subject-stats{padding:16px 20px;margin-top:16px;background:#f7f9fc;border-radius:12px}.child-subject-stats h4{margin:0 0 12px}.child-learning-metrics{display:flex;gap:24px;flex-wrap:wrap;font-size:15px}.child-subject-stats progress{width:100%;height:8px;margin:12px 0}.child-subject-stats dl{display:grid;grid-template-columns:90px 1fr;gap:8px 16px;font-size:14px;margin:8px 0 0}.child-subject-stats dt{font-weight:650}.child-subject-stats dd{margin:0}.stats-method{margin-top:24px;font-size:14px;color:#64748b}
.child-learning-card>summary.child-learning-heading{display:list-item;cursor:pointer;min-height:44px;padding:10px 4px;line-height:24px}.child-learning-card>summary strong{margin-right:20px}.child-learning-card>summary small{font-size:13px}.child-learning-card[open]>summary{margin-bottom:12px}
.child-learning-card>summary::before,.child-learning-card[open]>summary::before{content:none}.child-learning-card>summary::marker{content:none}
.child-learning-card>summary.child-learning-heading{display:flex;align-items:center;gap:12px}.child-learning-card>summary.child-learning-heading::before{content:'';display:block;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid currentColor;flex:0 0 auto;transition:transform .15s}.child-learning-card[open]>summary.child-learning-heading::before{content:'';transform:rotate(90deg)}.child-learning-card>summary strong{margin-right:auto}
.task-feedback-group{padding:20px 0;border-bottom:1px solid #dce2ef}.feedback-child-note{padding:16px 20px;margin:12px 0;background:#f7f9fc;border-radius:10px}.feedback-child-note small{margin-left:16px;color:#64748b}.feedback-child-note p{margin:8px 0 0;font-size:15px}.task-feedback-group>summary::before{content:"▸"}.task-feedback-group[open]>summary::before{content:"▾"}
.portal-help{position:fixed;right:24px;bottom:24px;z-index:30;background:#177c51;color:white;border:0;border-radius:12px;padding:12px 20px;box-shadow:0 4px 16px #173b2926}.support-panel{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:min(440px,100vw);max-width:100vw;border:0;padding:32px 24px;overflow:auto;box-shadow:-10px 0 40px #17283b33}.support-panel::backdrop{background:#17283b66}.support-close{width:44px;height:44px;min-height:44px;padding:0;float:right}.support-panel label{display:grid;gap:8px;margin:20px 0}.support-panel select,.support-panel textarea{width:100%;padding:12px;font:inherit;border:1px solid #dce2ef;border-radius:8px}.support-panel details{margin:16px 0}.support-panel h2{margin-top:12px}
.portal-footer{max-width:1100px;margin:32px auto 0;padding:24px 100px 32px 24px;display:flex;align-items:center;gap:24px;flex-wrap:wrap;border-top:1px solid #dce2ef;font-size:14px;color:#64748b}.portal-footer a{color:#526477;text-underline-offset:3px}
/* Disclosure pattern: one triangle, never plus/minus; native details semantics. */
details>summary{list-style:none}details>summary::-webkit-details-marker{display:none}details>summary::marker{content:none}details>summary::before{content:'▸'}details[open]>summary::before{content:'▾'}
.support-panel details>summary::before,.task-feedback-group>summary::before{content:'▸'}.support-panel details[open]>summary::before,.task-feedback-group[open]>summary::before{content:'▾'}
.task-feedback-group>summary{display:flex;align-items:center;gap:12px}.task-feedback-group>summary>span{flex:1;min-width:0}.task-feedback-group>summary>small{margin-left:auto;white-space:nowrap;font-size:14px;color:#64748b;font-weight:500}.feedback-task-link{background:transparent;border:0;padding:8px 0;color:#5264df;font-size:14px;min-height:44px}
/* Learning workflow uses the viewport width; other administration stays compact. */
.admin-content-wide{width:calc(100vw - 48px);max-width:calc(100vw - 48px);margin-left:calc((100% - 100vw + 48px)/2)}.admin-content-wide .content-workshop{width:100%;min-width:0}@media(max-width:650px){.admin-content-wide{width:calc(100vw - 32px);max-width:calc(100vw - 32px);margin-left:calc((100% - 100vw + 32px)/2)}}
/* Portal footer spans the viewport and reaches the bottom on short pages. */
body:has(> .portal-footer){min-height:100dvh;display:flex;flex-direction:column}body:has(> .portal-footer)>main{width:100%;flex:1;margin-top:0;margin-bottom:0}.portal-footer{width:100%;max-width:none;margin:32px 0 0;padding:24px max(100px,calc((100vw - 1052px)/2)) 24px max(24px,calc((100vw - 1052px)/2));background:#eaf0f7;border-top:1px solid #d6dfec;min-height:72px;flex-shrink:0}@media(max-width:650px){.portal-footer{padding:24px 100px 24px 24px;gap:16px;font-size:13px}}
.portal-help{bottom:100px}.portal-footer{padding-left:24px;padding-right:24px;justify-content:flex-start}@media(max-width:650px){.portal-help{bottom:100px}.portal-footer{padding-left:16px;padding-right:16px}}
.support-account{display:grid;gap:6px;background:#f1f5fa;border:1px solid #dce2ef;border-radius:10px;padding:14px 16px;margin:0 48px 24px 0;font-size:14px;overflow-wrap:anywhere}.support-account span,.support-account small{color:#64748b}

/* Links use colour and focus rather than underlining. */
a:any-link,a:any-link:hover,a:any-link:focus{ text-decoration:none!important; }

.class-activity-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 24px}.class-activity-overview>div{padding:16px;border:1px solid #DCE2EF;border-radius:12px;background:#fff;display:flex;flex-direction:column;gap:8px}.class-activity-overview strong{font-size:24px;color:#23364D;font-variant-numeric:tabular-nums}.class-activity-overview span{font-size:13px;color:#526477}.child-learning-details{border-top:1px solid #DCE2EF;padding-top:12px}.child-learning-details>summary{min-height:44px;align-content:center}.child-learning-card>h3{margin:0 0 12px;font-size:16px}@media(max-width:650px){.class-activity-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Nested class results: subject → tasks → result. */
#admin .child-task-details{margin:16px 0 0 16px;padding-left:12px;border-left:2px solid #dce2ef}#admin .child-task-result{margin-left:16px}#admin .child-task-result>:not(summary){margin-left:24px}#admin .child-task-details>small{display:block;margin:12px 0;line-height:1.5}body:has(#admin) .portal-help{bottom:20px;bottom:calc(20px + env(safe-area-inset-bottom,0px))}@media(max-width:650px){#admin .child-task-details{margin-left:8px;padding-left:8px}#admin .child-task-result{margin-left:12px}#admin .child-task-result>:not(summary){margin-left:16px}}

#admin .child-task-details>summary{font-size:14px;font-weight:600;color:#526477}#admin .child-task-result{margin-left:32px!important}#admin .child-task-result>summary{font-size:14px;font-weight:400;color:#23364d}#admin .task-result-metrics{font-size:13px;color:#526477;line-height:1.7}#admin .child-task-result>small{display:block;font-size:12px;line-height:1.5;color:#65738a}@media(max-width:650px){#admin .child-task-result{margin-left:24px!important}}

#admin .child-task-details{border-left:0}

#admin .subject-result-bar{margin:16px 0}#admin .subject-result-bar p{font-size:14px;font-weight:600;margin:0 0 8px;color:#23364d}#admin .subject-result-progress{display:block;width:100%;height:12px;appearance:none;-webkit-appearance:none;border:0;border-radius:6px;overflow:hidden;background:#e8ecf1;color:#177c51;accent-color:#177c51}#admin .subject-result-progress::-webkit-progress-bar{background:#e8ecf1;border-radius:6px}#admin .subject-result-progress::-webkit-progress-value{background:#177c51;border-radius:6px}#admin .subject-result-progress::-moz-progress-bar{background:#177c51;border-radius:6px}

.activity-grid-wrap{position:relative;width:max-content;isolation:isolate}.activity-grid-wrap .activity-table{position:relative;z-index:1}.activity-grid-wrap .activity-weekend{background:transparent;box-shadow:none}.activity-weekend-box{position:absolute;z-index:0;border:0;border-radius:7px;background:#fff5df;pointer-events:none}#admin .child-task-details{margin-top:8px}#admin .child-task-result{padding:6px 0!important}#admin .task-result-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:8px;margin-bottom:8px;max-width:460px}#admin .task-result-metrics>div{padding:8px;border:1px solid #e3e7ed;border-radius:8px;background:#f8f9fc;text-align:center}#admin .task-result-metrics dd{margin:0;font-size:18px;font-weight:650;color:#23364d}#admin .task-result-metrics dt{font-size:12px;color:#526477}#admin .task-result-metrics>div:nth-child(2) dd{color:#177c51}#admin .task-result-metrics>div:nth-child(3) dd{color:#b92929}#admin .task-result-metrics>div:nth-child(4) dd{color:#aa5a00}

.child-activity-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:460px;margin:12px 0}.child-activity-summary>div{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;padding:8px 12px;background:#f5f7fb;border-radius:8px}.child-activity-summary strong{font-size:18px;color:#23364d}.child-activity-summary span{font-size:12px;color:#526477}.child-activity-unit{grid-column:1/-1;font-size:12px;color:#65738a}

#admin .child-task-result{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:12px 0!important}#admin .child-task-question{flex:1 1 220px;font-size:14px;font-weight:400;margin:0!important;color:#23364d}#admin .child-task-result .task-result-metrics{flex:0 0 300px;width:300px;max-width:100%;margin:0!important}#admin .child-task-result>small{flex-basis:100%;margin:0!important}@media(max-width:650px){#admin .child-task-result{gap:8px;margin-left:16px!important}#admin .child-task-question{flex:1 1 120px;font-size:13px}#admin .child-task-result .task-result-metrics{flex:0 0 180px;width:180px;gap:4px}#admin .task-result-metrics>div{padding:6px 2px}#admin .task-result-metrics dt{font-size:10px}#admin .task-result-metrics dd{font-size:16px}}

