/* Modern editorial: quiet canvas, deliberate typography, useful visual hierarchy. */
:root{--bg:#f7f4ee;--surface:#fffefb;--surface2:#f0ece3;--ink:#282c29;--body:#555a53;--muted:#74786e;--line:#deddd4;--primary:#a24f36;--primary-h:#803e2b;--mint:#eee6da;--gold:#f0e6cb;--radius:6px;--shadow:none;--sidebar:238px}
body,body.parent-mode,body.teacher-mode,body.login-mode{background:var(--bg);font-size:15px;line-height:1.7;color:var(--ink);background-image:none}h1,h2,h3{letter-spacing:-.025em}h1{font-size:34px;font-weight:650;line-height:1.3}h2{font-weight:650}p{line-height:1.8}.eyebrow{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:var(--primary);font-weight:600}.card{border:1px solid var(--line);border-radius:6px;box-shadow:none;background:var(--surface)}.section{padding:26px;margin-bottom:22px}.section h2{font-size:19px}.section-title{display:flex;align-items:center;gap:10px}.section-sticker{display:inline-flex;align-items:center;justify-content:center;flex:none;color:var(--primary);transform:none;background:none;border:0;border-radius:0;width:24px;height:26px;box-shadow:none}.section-sticker .icon{width:21px;height:21px}.section-top{gap:14px}.section-top>div{min-width:0}.section-top .muted{font-size:12px}.section-top .text-link{font-size:12px}.section-top h2{margin:0}
.btn{border-radius:4px;box-shadow:none;font-size:13px;font-weight:600;min-height:44px;transition:background .15s}.btn.primary{background:var(--primary);border-color:var(--primary)}.btn.primary:hover{background:var(--primary-h)}.btn.soft{background:#ece6db;color:#684d3a}.btn.soft:hover{background:#e2d7c6}.btn.secondary{background:var(--surface);border-color:#cfcfc3;color:var(--ink)}.btn.ghost{border-color:var(--line);color:var(--body)}.btn:focus-visible,a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #a24f36;outline-offset:3px}.chip{border-radius:4px;background:#f4f1e9;border-color:#ded7c9;color:#6d503a;min-height:36px;font-size:12px}.chip:hover{background:#eae2d3}.pill,.week-tag{border-radius:3px;font-size:11px;font-weight:550}.pill.sage,.week-tag{background:#e9ece3;color:#56684f}.pill.outline{background:#f6f3ec;border-color:#d8d6cb;color:#626659}.notice,.alert.success{border-radius:4px;background:#ecefe5;color:#526049}.alert.danger{border-radius:4px}.empty{color:#73776e}.avatar,.mini-avatar,.avatar-color{background:#e9e6dc;color:#656650}.round-icon,.soft-icon,.green,.blue,.lilac,.round-icon.faint,.resource-icon,.timeline-marker{background:#eeebe2;color:#8e674a;border-radius:5px}.text-link{color:var(--primary);font-weight:550}
input:not([type=hidden]):not([type=checkbox]),select,textarea{border-radius:4px;min-height:46px;font-size:16px;background:#fffefb;border-color:#cecec2}input:focus,select:focus,textarea:focus{border-color:#a24f36;box-shadow:0 0 0 3px #a24f3612}.form-grid label,.stack label{font-size:13px;font-weight:550;color:#494f45;gap:8px}.stack label small,.form-grid label small{font-size:12px;line-height:1.7}.form-large{gap:23px}.req{color:var(--primary)}.checkbox-line{background:#f4f1e8;border-color:var(--line);border-radius:4px}.actions{gap:9px}.upload-progress{border-radius:4px;background:#eee9dd}.install-dialog{border-radius:8px;background:var(--surface)}.install-dialog h2{font-size:23px}.install-dialog li{font-size:14px}.back-link{color:#6a6e63;min-height:36px}.page-heading{margin:7px 0 28px;padding:0 0 25px;border-bottom:1px solid #c9cabe}.page-heading .eyebrow{margin-bottom:10px}.page-heading h1{font-family:"Iowan Old Style","Noto Serif SC","Songti SC",SimSun,serif;font-size:34px;font-weight:500;line-height:1.45}.page-heading .muted{font-size:13px}
/* Shared navigation is stable and horizontally scrollable on small screens. */
.mobile-header{height:76px;padding:0 max(28px,calc((100% - 1160px)/2));background:#fffefb;border-bottom:1px solid #d8d9cf}.mobile-brand{font-size:14px;color:#363c32;gap:16px}.brand-image{display:block;width:105px;height:53px;object-fit:contain}.content-parent{max-width:1224px;width:100%;padding:22px 32px 110px}.page-tabs{gap:24px;margin:0 0 8px;border-bottom:1px solid #cccec2;padding:0;background:none}.page-tabs a{display:inline-flex;align-items:center;gap:8px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;padding:12px 0;font-size:13px;color:#71776a;white-space:nowrap;min-height:48px}.page-tabs a .icon{width:17px;height:17px}.page-tabs a.active{background:none;border-color:var(--primary);color:var(--ink);font-weight:650}.swipe-hint{margin-bottom:22px;font-size:10px;color:#757c6e}.bottom-nav{background:#fffefb;border-top-color:#d5d7ca;box-shadow:none;padding-top:10px}.bottom-nav a{min-height:44px;color:#7e8477;font-size:11px}.bottom-nav a.active{color:var(--primary)}.sidebar{background:#efeee6;border-right-color:#d9dbce;padding:30px 14px 22px}.brand{flex-direction:column;align-items:flex-start;gap:12px;padding:0 12px 35px}.brand .brand-image{width:130px;height:67px}.brand strong{font-size:14px}.brand small{font-size:10px;letter-spacing:.12em;margin-top:4px}.side-links{gap:4px}.side-links a{border-radius:4px;font-size:13px;font-weight:500;min-height:46px;color:#68705f}.side-links a.active{background:#e2e4d8;color:#354132}.side-links a:hover{background:#e7e8de}.sidebar-foot{border-color:#d3d7c7}.teacher-mode .content{padding:36px 38px 80px}.teacher-mode .topline{padding-bottom:24px;border-bottom:1px solid #c8ccbc;margin-bottom:26px}.topline h1{font-family:"Iowan Old Style","Noto Serif SC","Songti SC",SimSun,serif;font-weight:500;font-size:33px;line-height:1.4}.topline .muted{font-size:13px}.teacher-mode .section h2{margin-bottom:8px}.teacher-mode .section>p.muted{font-size:12px;margin-bottom:18px}.metric{border-top:2px solid #9eab8c;min-height:155px;padding:23px}.metric-ico{background:#ebeee2;color:#687451;border-radius:4px}.metric strong{font-size:36px;font-weight:550}.metric small{color:#6d7563}.quick,.student-card,.plan-card,.feedback-card,.recorder,.family-options{border-radius:5px}.quick:hover{transform:none}.student-card:hover{background:#f4f3eb}.quick .round-icon{background:none;color:var(--primary)}.quick strong{font-weight:600}.plan-editor,.plan-detail{font-size:13px}
/* Family context is separate from the editorial headline. */
.family-switch{border:0;padding:6px 0 16px;margin:0}.family-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.family-current{font-size:11px;margin:0;color:#777d70}.family-current strong{font-size:16px;color:var(--ink);margin-left:9px}.family-children{gap:6px}.family-children a,.family-children span{padding:7px 11px;min-height:38px;border-radius:3px;font-size:11px;background:#fffefb;border-color:#d9d9cd}.family-children .active{background:#e7e8dd;border-color:#c7cbb9;color:#46533e}.family-switch .family-help summary{padding:2px 0;font-size:10px;font-weight:400;color:#737a6c;min-height:28px}.family-help p{font-size:12px;max-width:660px}.family-switch #family-switch-status:empty{display:none}
/* Opening spread and actions. */
.editorial-welcome.encouragement{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:center;background:none;border:0;border-radius:0;padding:22px 0 34px;margin:0}.welcome-copy .eyebrow{font-size:11px;letter-spacing:.12em;margin:0 0 19px}.welcome-copy .eyebrow span{font-size:9px;color:#7b8073;margin-left:7px;letter-spacing:.15em}.welcome-copy h1{font-family:"Iowan Old Style","Noto Serif SC","Songti SC",SimSun,serif;font-weight:500;font-size:25px;line-height:1.5;margin:0 0 22px}.welcome-copy h1 span{display:block;font-size:clamp(40px,4.2vw,60px);line-height:1.23;letter-spacing:-.035em;margin-top:14px}.welcome-copy .welcome-note{font-size:13px;line-height:1.9;color:#6f7566;margin:0 0 15px}.cheer-link{display:inline-flex;align-items:center;gap:9px;border:0;border-bottom:1px solid #cfc4b3;background:none;color:#9d5136;padding:7px 0;min-height:44px;font-size:11px}.cheer-link .icon{width:15px;height:15px}.cheer-link .icon:last-child{margin-left:10px}.cheer-message{font-size:12px;color:var(--primary)}.editorial-art{margin:0;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end}.editorial-art img{width:100%;min-height:220px;max-height:340px;object-fit:cover;border-radius:2px}.editorial-art figcaption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0 0;font-size:9px;color:#737968;letter-spacing:.08em}.editorial-art figcaption span:last-child{letter-spacing:.04em}.home-actions{grid-template-columns:1fr 1fr;gap:16px;margin:0 0 24px}.action-tile{display:grid;grid-template-columns:28px minmax(0,1fr) 22px;grid-template-rows:auto auto;align-items:center;column-gap:15px;row-gap:3px;padding:22px 24px;min-height:102px;border:1px solid #c8cbbe;border-radius:4px;background:#fffefb;box-shadow:none}.action-tile .action-symbol{grid-row:1/3;grid-column:1;background:none;color:#8b603e;width:25px;height:30px;border-radius:0;margin:0}.action-tile strong{grid-column:2;grid-row:1;font-size:17px;font-weight:600}.action-tile small{grid-column:2;grid-row:2;color:#747a6b;font-size:11px}.action-tile .tile-arrow{position:static;display:block;grid-column:3;grid-row:1/3;width:20px;color:#8c957e}.action-tile:first-child{background:#343d34;color:#fffdf7;border-color:#343d34}.action-tile:first-child .action-symbol,.action-tile:first-child .tile-arrow{color:#d6c5a5}.action-tile:first-child small{color:#d4d8cc}.action-tile:first-child:hover{background:#465240;color:#fffdf7}.action-tile:hover{border-color:#859176;background:#f1eee5}.rest-notice{margin:0 0 26px;padding:12px 16px;border:0;border-left:2px solid #b4bba2;border-radius:0;background:#eeefe5;color:#69745a;font-size:11px;line-height:1.8}.rest-notice .icon{width:15px;height:15px}
/* The daily journal has real columns, rather than a stream of identical cards. */
.home-journal{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;align-items:start}.home-journal>*{min-width:0;margin:0}.hero-plan{background:var(--surface);padding:26px;border:1px solid #d4d7c8;border-radius:5px;box-shadow:none;margin-bottom:24px}.home-journal .hero-plan{margin:0;align-self:stretch}.hero-plan::after{display:none}.hero-top{border-bottom:1px solid #e0e1d8;padding-bottom:15px;margin-bottom:20px;gap:15px}.hero-top .eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.04em}.hero-top .icon{width:16px;height:16px}.hero-plan h2{font-family:"Iowan Old Style","Noto Serif SC","Songti SC",SimSun,serif;font-weight:500;font-size:25px;line-height:1.6}.hero-plan>p{color:#767c6d;font-size:12px}.assignment{background:none;border:0;border-top:1px solid #e5e6dc;border-radius:0;padding:17px 0 0;margin-top:18px;gap:11px}.assignment-icon{width:29px;height:33px;background:#f1eee3;color:#97754f;border-radius:3px}.assignment-icon .icon{width:17px}.assignment strong{font-size:15px;font-weight:550}.assignment p{font-size:13px;line-height:1.8;margin:5px 0 12px}.content-parent .section{border-radius:5px;padding:25px;margin-bottom:24px;background:var(--surface)}.content-parent .section h2{font-size:19px;font-weight:600}.home-journal .section{margin:0}.practice-trail .week-dots{margin:20px 0 21px}.week-day{font-size:11px;color:#737c69}.day-dot{width:37px;height:39px;border-radius:4px;background:#f0f0e7;border:1px solid #e2e4d6;color:#969e89}.day-dot.done{background:#657455;border-color:#657455;color:#fff}.teacher-letter .feedback-preview{border-top:1px solid #e5e4da}.teacher-letter .feedback-preview:first-of-type{margin-top:12px}.feedback-preview p{font-size:13px}.feedback-preview small{font-size:11px}.teacher-letter::before,.blessing-postcard::after{display:none}.home-journal .blessing-postcard{grid-column:1/-1;background:#eee8db;border-color:#dcd2c0}.blessing-postcard>p.muted{font-size:12px;margin:8px 0 20px;color:#706c60}.blessing-postcard .tags{gap:8px}.blessing-postcard .chip{background:#faf7ef;border-color:#d6ccb9;font-size:12px;min-height:40px}.blessing-postcard textarea{background:#fffdf7}.blessing-postcard form>button{align-self:flex-start;min-width:132px}.home-notice{background:#e9ede1;border-radius:4px;color:#57684a}.home-journal .home-notice{grid-column:1/-1}.home-notice p{color:#69785b}
/* Stars stay encouraging and interactive, with a calmer presentation. */
.star-garden{background:#efe9d9;border:1px solid #d8cdb4;border-radius:5px;box-shadow:none;margin:0 0 24px;padding:25px}.star-garden-home{height:100%}.star-heading h2{font-size:18px;font-weight:600}.star-heading .eyebrow{font-size:9px;letter-spacing:.08em;color:#7f704f}.star-mascot{font-size:30px;animation:none;text-shadow:none;color:#a57d35}.star-balance{margin:18px 0 14px;gap:13px}.star-balance>strong{font-family:Georgia,serif;font-size:46px;font-weight:400;color:#574c35}.star-balance>strong>span{font-size:25px;color:#a57d35}.star-balance>span{font-size:12px;color:#685e46}.star-balance small{font-size:10px;color:#7c7158}.star-facts{gap:7px 15px;font-size:11px;color:#776d55}.star-facts strong{color:#63573d;font-weight:650}.star-next{font-size:12px;font-weight:500;margin-top:14px}.star-garden .muted{font-size:11px;color:#776e56}.star-earned{background:#faf4df;border-color:#cebd89;border-radius:4px;font-size:12px}.star-goal,.star-goal strong{font-size:11px;font-weight:450;color:#776a4e}.star-milestone{margin-top:17px}.star-milestone progress{height:4px;margin:9px 0 12px}.star-milestone progress::-webkit-progress-bar{background:#d8cfba}.star-milestone progress::-webkit-progress-value{background:#a98b4c}.star-milestone progress::-moz-progress-bar{background:#a98b4c}.star-collection{border-top:1px solid #d8ceb7;padding-top:3px}.star-collection summary,.star-rules summary{font-size:11px;font-weight:500;min-height:36px;padding:8px 0}.star-badges{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.star-badges li{border-radius:4px;background:#f8f4e9;border-color:#d6ccb3;box-shadow:none;padding:10px 5px}.star-badges .earned{box-shadow:none;border-color:#bdab7c;background:#f8f0d5}.star-badges .waiting{background:#e6e3d8;color:#797669}.star-badges span{font-size:24px}.star-badges strong{font-size:11px;font-weight:500}.star-badges small{font-size:9px}.star-actions{gap:7px;margin-top:13px}.star-actions .btn{font-size:11px;min-height:40px;padding:8px 12px;background:#fffaf0;color:#745f36;border-color:#cfc2a5}.star-actions .btn.soft{background:none;border-color:transparent}.star-rules{padding-top:3px;margin-top:10px;border-color:#d6cbb2}.star-rules ul{font-size:11px;line-height:1.9}.star-garden-compact .star-facts{display:none}.star-garden-compact{padding:20px}.star-garden-compact .star-balance{margin:8px 0}
/* Interior pages use the same typography and functional controls. */
.encouragement:not(.editorial-welcome){border:1px solid #d7d8cb;border-radius:5px;background:#eeeee3;padding:23px;margin-bottom:25px;gap:21px}.practice-emblem{display:block;width:78px;flex:none;color:#9d583b}.practice-emblem svg{display:block;width:100%;height:auto}.encouragement:not(.editorial-welcome) h2{font-family:"Iowan Old Style","Noto Serif SC","Songti SC",SimSun,serif;font-size:25px;font-weight:500;line-height:1.5}.encouragement:not(.editorial-welcome) p{font-size:12px}.encouragement .btn{background:#e2e1d2;color:#657050;border:0;font-size:11px}.photo-ritual{background:#f4f0e5;border:1px dashed #c8bda6;border-radius:4px;padding:22px}.photo-ritual h2{font-size:17px!important}.photo-ritual p{font-size:12px}.practice-photo{border-radius:4px}.resource-card{border-radius:5px;box-shadow:none;padding:22px;background:#fffefb;gap:15px}.resource-card h3{font-size:16px;font-weight:550}.resource-icon{width:38px;height:43px}.resource-card p{font-size:12px}.resource-card .chip{min-height:38px}.progress-stat{background:#ecefe4;border:1px solid #d9ddce;border-radius:5px;padding:22px;margin:0 0 24px}.progress-stat strong{font-size:19px;font-weight:550}.progress-stat .eyebrow{font-size:10px}.progress-stat p{font-size:12px}.timeline-marker{border-radius:4px}.timeline-card{border-color:#e0e2d7;padding:20px 0}.timeline-card strong{font-weight:550}.timeline-card .muted{color:#747c69}.pwa-install-area{margin-top:38px;border-top-color:#d5d7ca;font-size:11px}.pwa-install-area .btn{font-size:11px;border-color:#c6cbb9;color:#636f55}.pwa-install-area p{font-size:10px;color:#78816c}
/* Public cover. The brand logo and installed app icons are unchanged. */
.auth-page{background:var(--bg);grid-template-columns:1.05fr 1fr}.auth-art{background:#eae4d8;background-image:none;padding:6vh 6vw;justify-content:flex-start;color:var(--ink)}.auth-art .login-logo-image{width:145px;height:78px;object-fit:contain;mix-blend-mode:multiply;margin:0 0 32px}.auth-art .eyebrow{font-size:9px;letter-spacing:.18em;color:#756b54;margin-bottom:22px}.auth-art h1{font-family:"Iowan Old Style","Noto Serif SC","Songti SC",SimSun,serif;font-weight:400;font-size:clamp(44px,5vw,68px);line-height:1.23;white-space:normal;color:#30392e;letter-spacing:-.04em;margin-bottom:22px}.auth-art>p:not(.eyebrow){font-size:12px;line-height:1.9;color:#706b59}.login-editorial-picture{width:112%;max-width:560px;align-self:center;margin:12px -6% 0;object-fit:contain;mix-blend-mode:multiply}.auth-art-footer{width:100%;margin-top:auto;padding-top:25px;border-top:1px solid #c7c0af;color:#77745f;display:flex;justify-content:space-between;gap:10px;font-size:10px}.auth-art-footer span{font-size:9px}.auth-panel{width:min(390px,calc(100% - 80px));padding:45px 0;margin:0}.auth-brand{font-size:13px;font-weight:500;color:#58634e;gap:14px;margin-bottom:58px}.auth-brand .brand-image{width:105px;height:55px}.auth-panel>.eyebrow{font-size:9px;letter-spacing:.13em;margin-bottom:13px;color:#9c7550}.auth-panel h2{font-family:"Iowan Old Style","Noto Serif SC","Songti SC",SimSun,serif;font-size:38px;font-weight:500;letter-spacing:-.03em}.auth-panel>p.muted{font-size:12px;margin:10px 0 32px;color:#747c6b}.auth-panel .form-large{gap:23px}.auth-panel .btn.primary{min-height:50px;background:#343d34;border-color:#343d34}.auth-panel .btn.primary:hover{background:#465240}.auth-hint{font-size:11px;color:#747d69;margin-top:23px}.invite-page{border-radius:6px;background:#fffefb;border-color:#d7d9cb;box-shadow:none}
@media(min-width:1100px){.dashboard-grid{grid-template-columns:1.15fr 1fr}.parent-resources{grid-template-columns:repeat(2,minmax(0,1fr))}.blessing-postcard form{display:grid;grid-template-columns:1fr auto;gap:18px}.blessing-postcard form .tags{grid-column:1/-1}.blessing-postcard form label{grid-column:1}.blessing-postcard form>button{grid-column:2;align-self:end;margin-bottom:0}}
@media(max-width:1000px){.home-journal{gap:18px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.content-parent .section,.hero-plan,.star-garden{padding:22px}.editorial-welcome.encouragement{gap:30px}.welcome-copy h1 span{font-size:44px}.teacher-mode .content{padding:28px 24px 100px}}
@media(max-width:800px){.mobile-header{height:67px;padding:0 22px}.brand-image{width:88px;height:45px}.mobile-brand{font-size:13px;gap:12px}.content-parent{padding:18px 22px 105px}.teacher-mode .content{padding:22px 20px 100px}.page-tabs{gap:24px}.page-tabs a{font-size:12px}.swipe-hint{font-size:10px;margin-bottom:20px}.home-journal{grid-template-columns:1fr;gap:20px}.editorial-welcome.encouragement{grid-template-columns:1.05fr 1fr;gap:25px;padding:18px 0 26px}.welcome-copy h1{font-size:22px}.welcome-copy h1 span{font-size:40px;margin-top:12px}.welcome-copy .eyebrow{font-size:10px}.welcome-copy .eyebrow span{display:block;font-size:8px;margin:4px 0 0}.welcome-copy .welcome-note{font-size:12px}.editorial-art img{min-height:240px;object-fit:cover}.editorial-art figcaption{font-size:8px;flex-wrap:wrap;gap:4px}.home-actions{gap:12px}.action-tile{padding:20px;column-gap:12px}.action-tile strong{font-size:16px}.home-journal .blessing-postcard{grid-column:auto}.home-journal .star-garden-home{height:auto}.star-garden-home{display:grid;grid-template-columns:1fr auto;gap:0 20px}.star-garden-home .star-heading{grid-column:1}.star-garden-home .star-balance{grid-column:2;grid-row:1/3;align-items:center;justify-self:end;margin:0}.star-garden-home .star-balance>strong{font-size:42px}.star-garden-home .star-facts,.star-garden-home .star-next,.star-garden-home .star-earned,.star-garden-home>p,.star-garden-home .star-milestone,.star-garden-home .star-actions,.star-garden-home .star-rules,.star-garden-home .star-collection{grid-column:1/-1}.auth-page{grid-template-columns:1fr}.auth-art{display:none}.auth-panel{width:min(420px,calc(100% - 48px));padding:35px 0 45px;margin:0 auto}.auth-brand{margin-bottom:55px;justify-content:space-between}.auth-panel h2{font-size:37px}.auth-panel .pwa-install-area{margin-top:32px}.auth-panel>.eyebrow{margin-bottom:10px}.page-heading h1{font-size:30px}.resource-card{padding:22px}.encouragement:not(.editorial-welcome) h2{font-size:23px}}
@media(max-width:480px){.mobile-header{padding:0 18px}.mobile-brand{gap:10px;font-size:12px}.brand-image{width:83px;height:44px}.content-parent{padding:14px 18px 100px}.page-tabs{gap:23px}.page-tabs a{font-size:12px;gap:6px;padding:10px 0}.page-tabs a .icon{width:15px;height:15px}.swipe-hint{font-size:9px;margin-bottom:15px}.family-switch{padding:3px 0 8px}.family-topline{gap:8px}.family-current strong{font-size:15px}.family-children a,.family-children span{font-size:10px;padding:6px 8px;min-height:34px}.family-switch .family-help summary{font-size:9px}.editorial-welcome.encouragement{position:relative;grid-template-columns:1.05fr 1fr;gap:13px;align-items:stretch;padding:18px 0 24px}.welcome-copy .eyebrow{font-size:9px;letter-spacing:.1em;margin-bottom:13px}.welcome-copy .eyebrow span{font-size:7px;letter-spacing:.13em}.welcome-copy h1{font-size:19px;margin-bottom:14px;line-height:1.45}.welcome-copy h1 span{font-size:34px;line-height:1.28;margin-top:12px;letter-spacing:-.06em}.welcome-copy .welcome-note{font-size:11px;line-height:1.8;margin-bottom:9px}.cheer-link{font-size:10px;gap:5px}.cheer-link .icon{width:13px;height:13px}.cheer-link .icon:last-child{display:none}.editorial-art{justify-content:center}.editorial-art img{min-height:0;height:234px;object-fit:cover;object-position:53% center}.editorial-art figcaption{font-size:7px;line-height:1.5;padding-top:7px;letter-spacing:.03em}.editorial-art figcaption span:last-child{display:none}.home-actions{gap:10px;margin-bottom:20px}.action-tile{padding:16px 12px;grid-template-columns:21px minmax(0,1fr);column-gap:9px;min-height:90px}.action-tile .action-symbol{width:21px}.action-symbol .icon{width:19px}.action-tile .tile-arrow{display:none}.action-tile strong{font-size:14px;line-height:1.6}.action-tile small{font-size:10px;line-height:1.6}.rest-notice{font-size:10px;padding:11px 12px;margin-bottom:22px}.rest-notice .icon{width:14px;height:14px}.content-parent .section,.hero-plan,.star-garden{padding:20px}.content-parent .section h2{font-size:18px}.hero-plan h2{font-size:23px}.hero-top{padding-bottom:12px;margin-bottom:15px}.hero-top .eyebrow{font-size:10px}.week-tag{padding:4px 8px;font-size:10px}.section-top{gap:10px}.section-top .text-link{font-size:11px}.section-sticker{width:21px}.section-sticker .icon{width:19px}.star-heading h2{font-size:16px}.star-heading .eyebrow{font-size:8px}.star-mascot{display:none}.star-garden-home{gap:0 10px}.star-garden-home .star-balance{gap:7px}.star-garden-home .star-balance>strong{font-size:35px}.star-balance>span{font-size:10px}.star-balance>strong>span{font-size:19px}.star-balance small{font-size:9px}.star-facts{font-size:10px;gap:6px 13px}.star-actions .btn{flex:0 1 auto;font-size:10px;padding:8px 10px}.blessing-postcard .chip{font-size:11px}.blessing-postcard>p.muted{font-size:11px}.practice-emblem{width:52px}.encouragement:not(.editorial-welcome){padding:20px 16px;gap:15px}.encouragement:not(.editorial-welcome) h2{font-size:21px}.encouragement:not(.editorial-welcome) p{font-size:11px}.photo-ritual{padding:17px}.photo-ritual h2{font-size:16px!important}.page-heading h1{font-size:29px}.page-heading .muted{font-size:12px}.topline h1{font-size:28px}.teacher-mode .content{padding:20px 17px 100px}.metric{padding:15px 12px;min-height:144px}.metric strong{font-size:29px}.metric span{font-size:10px}.metric small{font-size:9px}.resource-card{padding:20px}.resource-card h3{font-size:15px}.timeline-card{gap:10px}.timeline-marker{width:27px;height:30px}.progress-stat strong{font-size:17px}.auth-panel{padding-top:28px}.auth-brand{margin-bottom:58px;font-size:12px;gap:12px}.auth-brand .brand-image{width:110px;height:58px}.auth-panel h2{font-size:37px}.auth-panel>p.muted{font-size:12px;margin-bottom:30px}.auth-panel .pwa-install-area p{font-size:9px}.install-dialog{padding:22px}}
@media(max-width:360px){.content-parent{padding-left:14px;padding-right:14px}.welcome-copy h1 span{font-size:30px}.welcome-copy h1{font-size:18px}.welcome-copy .welcome-note{font-size:10px}.editorial-art img{height:220px}.welcome-copy .eyebrow span{font-size:6px}.action-tile{padding:14px 10px;column-gap:7px}.action-tile strong{font-size:13px}.action-tile small{font-size:9px}.star-garden-home{display:block}.star-garden-home .star-balance{justify-content:flex-start;margin:14px 0}.star-heading h2{font-size:17px}.family-children{gap:4px}.auth-brand{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Accessible voice controls retained from the verified player. */
.voice-note{border:1px solid #dfc9a1;border-radius:13px 17px 12px 16px;background:#f7edcf;padding:13px 15px;margin:12px 0;box-shadow:0 3px 0 #e7d6ad55}.voice-note audio{width:100%;max-width:100%}.voice-note[data-voice-ready="true"]>audio{display:none}.voice-controls{display:flex;align-items:center;gap:13px}.voice-play{display:grid;place-items:center;min-width:47px;min-height:47px;width:47px;height:47px;background:#b38144;border:1px solid #a67840;box-shadow:0 3px 0 #946735;border-radius:14px 17px 13px 16px;color:#fff9e9;flex:none;cursor:pointer}.voice-play .icon{width:23px;height:23px;stroke-width:2}.voice-play:hover{background:#a4773e}.voice-playing .voice-play{background:#947544}.voice-content{min-width:0;flex:1}.voice-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.voice-title{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#8e7249}.voice-title .icon{width:16px;height:16px;stroke-width:1.7}.voice-time{font-size:12px;color:#8b6739;white-space:nowrap;font-variant-numeric:tabular-nums}.voice-note input.voice-seek{display:block;width:100%;height:26px;min-height:26px;padding:0;margin:3px 0;background:transparent;border:0;box-shadow:none;accent-color:#b58b50;cursor:pointer}.voice-note input.voice-seek:disabled{opacity:.45;cursor:default}.voice-status{margin:0;font-size:10px;line-height:1.6;color:#a08964;min-height:16px}.voice-file-link{display:block;text-align:right;font-size:10px;color:#ab8e67;margin-top:6px;text-decoration:underline;text-underline-offset:3px}.voice-playing .voice-title .icon{animation:voice-rock 1.8s ease-in-out 2}.teacher-mode .voice-note{margin-top:14px}.teacher-mode .voice-caption{gap:5px}.teacher-mode .voice-time{font-size:11px}


.voice-note{background:#f2eee5;border-color:#d8cebf;border-radius:6px;box-shadow:none;padding:16px}.voice-play{background:#a24f36;border-color:#a24f36;box-shadow:none;border-radius:50%}.voice-play:hover,.voice-playing .voice-play{background:#803e2b}.voice-title,.voice-time{color:#695d50}.voice-status,.voice-file-link{color:#74685b}.voice-playing .voice-title .icon{animation:none}.voice-note input.voice-seek{appearance:none;-webkit-appearance:none}.voice-seek::-webkit-slider-runnable-track{height:3px;background:#d0c5b6;border-radius:2px}.voice-seek::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;margin-top:-5.5px;border-radius:50%;background:#a24f36;border:2px solid #f7f4ee;box-shadow:0 0 0 1px #a24f36}.voice-seek::-moz-range-track{height:3px;background:#d0c5b6}.voice-seek::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:#a24f36;border:2px solid #f7f4ee}
@media(max-width:480px){.voice-note{padding:12px}.voice-controls{gap:10px}.voice-play{width:44px;height:44px;min-width:44px;min-height:44px}.voice-title,.voice-time{font-size:11px}.voice-caption{gap:2px 6px}.voice-status{font-size:10px}.voice-title .icon{width:14px;height:14px}}
.family-switch{background:none}
@media(min-width:801px){.parent-mode .bottom-nav{display:none}.content-parent{padding-bottom:60px}.home-journal .hero-plan{align-self:start}.home-journal .star-garden-home{grid-column:2;grid-row:1/3;align-self:stretch}.home-journal .practice-trail{grid-column:1}.home-journal .teacher-letter{grid-column:1/-1}.home-journal .teacher-letter .feedback-preview{display:grid;grid-template-columns:1fr 1fr;column-gap:36px;align-items:start;padding-top:22px}.home-journal .teacher-letter .feedback-preview>p{grid-column:1;font-size:15px;line-height:1.9}.home-journal .teacher-letter .feedback-preview>small{grid-column:1;grid-row:2}.home-journal .teacher-letter .voice-note{grid-column:2;grid-row:1/3;margin:0}.home-journal .teacher-letter .feedback-preview>small{align-self:start}}

/* Native file inputs remain visible, focusable and usable without JavaScript. */
.file-picker{display:flex;flex-direction:column;gap:9px;min-width:0}.file-picker>label{display:block;font-size:13px;color:#494f45;font-weight:550}.file-picker label .req{margin-left:7px}.picker-actions{display:flex;gap:8px;flex-wrap:wrap}.picker-actions .btn{font-size:12px;min-height:42px;padding:9px 12px}.file-picker input[type=file]{min-height:48px}.picker-status{margin:0!important;color:#685e4c;font-size:12px;overflow-wrap:anywhere}.file-picker>small{font-size:12px;line-height:1.7;color:#74786e}.picker-browser-help{padding:16px;background:#eeeee3;border-left:2px solid #9eab8c;border-radius:4px}.picker-browser-help>strong{font-size:14px}.picker-browser-help p,.picker-fallback p{font-size:12px;line-height:1.8;margin:6px 0 12px}.picker-fallback{border-top:1px solid #deddd4;padding-top:4px}.picker-fallback summary{font-size:12px;color:#7b6145;font-weight:500}.picker-fallback .copy-line{margin-bottom:10px}.picker-fallback input{font-size:12px!important}.picker-browser-help .btn{font-size:12px}.picker-fallback .btn{white-space:normal}@media(max-width:480px){.picker-actions{gap:6px}.picker-actions .btn{font-size:11px;min-height:44px;padding:9px 10px}.picker-status,.file-picker>small{font-size:11px}}

/* Reward feedback is visible even when the pocket is below the fold. */
.star-balance>strong>[data-star-count]{font:inherit;color:inherit}
.home-journal .star-garden-home{height:auto}
.star-bonus{position:relative;overflow:hidden;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;column-gap:12px;padding:18px;margin:18px 0 10px;background:#fff8e6;border:1px solid #cbb06d;border-radius:5px;color:#594622}
.bonus-spark{font-size:34px;color:#aa741f;align-self:start}.bonus-caption{font-size:11px;letter-spacing:.04em;color:#7d6336}.bonus-copy p{font-size:15px;line-height:1.7;margin:5px 0 0}.bonus-copy strong{display:inline-block;font-size:26px;color:#875020;font-variant-numeric:tabular-nums;margin:0 3px}.bonus-steps{display:flex;flex-wrap:wrap;gap:7px;grid-column:2;margin-top:12px}.bonus-steps span{font-size:23px;color:#a79b7d;line-height:1.3}.bonus-steps .lit{color:#a57119}
.bonus-revealed .bonus-spark{animation:bonus-twinkle 1.1s ease-out 2}.bonus-revealed .bonus-steps .lit{animation:bonus-light .9s ease-out both}.star-garden .star-confetti{z-index:1}.star-garden>*:not(.star-confetti){position:relative;z-index:2}
.star-reward-toast{position:fixed;z-index:1300;left:50%;top:max(84px,calc(env(safe-area-inset-top) + 12px));transform:translateX(-50%);display:flex;align-items:center;gap:16px;width:min(460px,calc(100% - 32px));padding:20px;background:#fff8e5;border:1px solid #c9aa61;border-radius:10px;box-shadow:0 14px 45px #4a321c2b;animation:reward-arrive .45s ease-out;color:#60471f}.reward-toast-star{font-size:48px;line-height:1;color:#ad791e;animation:bonus-twinkle .8s ease-in-out 3}.star-reward-toast>div{min-width:0;flex:1}.star-reward-toast strong{display:block;font-size:18px;line-height:1.5}.star-reward-toast p{font-size:12px;margin:5px 0 0}.star-reward-toast button{flex:none;align-self:flex-start;border:0;background:none;color:#785d33;font-size:25px;width:36px;min-height:36px;cursor:pointer}
@keyframes reward-arrive{from{opacity:0;translate:0 -20px}to{opacity:1;translate:0 0}}@keyframes bonus-twinkle{0%,100%{transform:scale(1) rotate(0)}45%{transform:scale(1.2) rotate(12deg)}}@keyframes bonus-light{from{opacity:.25;transform:scale(.7)}to{opacity:1;transform:scale(1)}}
@media(min-width:801px){.home-journal .star-garden-home{grid-column:1;grid-row:auto;align-self:start}.home-journal .practice-trail{grid-column:2;grid-row:1}.home-journal .hero-plan{grid-column:1/-1;grid-row:auto}}
@media(max-width:800px){.star-garden-home .star-bonus{grid-column:1/-1}}
@media(max-width:480px){.star-reward-toast{padding:16px;gap:10px}.reward-toast-star{font-size:36px}.star-reward-toast strong{font-size:16px}.star-bonus{padding:14px;column-gap:8px}.bonus-copy p{font-size:15px}.bonus-copy strong{font-size:25px}}
@media(prefers-reduced-motion:reduce){.star-reward-toast,.star-reward-toast *{animation:none!important}.star-garden *{animation:none!important;transition:none!important}}

/* Child-first entry points: the two daily actions are always easy to find. */
.today-actions{margin:12px 0 24px}.today-actions>h2{display:flex;align-items:center;gap:9px;font-size:20px;margin:0 0 14px;color:#434b38}.today-actions>h2>span{color:#ba852e;font-size:24px}.today-actions .home-actions{margin:0;gap:16px}
.today-actions .action-tile{position:relative;overflow:hidden;border-radius:18px;min-height:136px;grid-template-columns:48px minmax(0,1fr) 22px;padding:24px;column-gap:16px;border:1px solid #bccdb5;box-shadow:0 4px 0 #c9d4bf;background:linear-gradient(135deg,#e4f0db,#f2f5df);color:#334c32}
.today-actions .action-tile:first-child{background:linear-gradient(135deg,#dfecd5,#edf4dc);border-color:#b9cdae;color:#334c32}.today-actions .action-tile:nth-child(2){background:linear-gradient(135deg,#ffecd0,#fff4e5);border-color:#e4c292;box-shadow:0 4px 0 #ecd8b7;color:#754a25}
.today-actions .action-tile .action-symbol{height:48px;width:48px;border-radius:16px;display:grid;place-items:center;background:#fffdf3;color:#577147;transform:rotate(-6deg)}.today-actions .action-tile:nth-child(2) .action-symbol{color:#b76a36;transform:rotate(6deg)}.today-actions .action-symbol .icon{width:30px;height:30px}.today-actions .action-tile strong{font-size:21px;line-height:1.5}.today-actions .action-tile small{font-size:13px;color:#667455}.today-actions .action-tile:nth-child(2) small{color:#8e6a43}.today-actions .action-tile .tile-arrow{color:inherit}.today-actions .action-tile:hover{filter:brightness(.98)}.today-actions .action-tile:active{transform:translateY(2px);box-shadow:0 2px 0 #c9d4bf}
@media(max-width:800px), (hover:none) and (pointer:coarse){
 .parent-mode .page-tabs,.parent-mode .swipe-hint{display:none}
 .parent-mode .content-parent{padding-bottom:calc(130px + env(safe-area-inset-bottom));scroll-padding-bottom:130px}
 .parent-mode .child-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;align-items:center;padding:8px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#fffdf7;border-top:1px solid #ded9c6;box-shadow:0 -5px 24px #5d4e2510}
 .child-bottom-nav a{display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;min-height:66px;padding:4px 0;border-radius:14px;font-size:12px;font-weight:600;line-height:1.3;color:#7b7e6e;white-space:nowrap}
 .child-bottom-nav .icon{height:22px;width:22px}.child-bottom-nav .nav-action-icon{display:grid;place-items:center;width:36px;height:34px;border-radius:12px}.child-bottom-nav .nav-action-icon .icon{width:24px;height:24px;stroke-width:2.2}
 .child-bottom-nav .nav-practice{color:#43663c}.child-bottom-nav .nav-practice .nav-action-icon{background:#e5eed8}.child-bottom-nav .nav-performance{color:#995d2e}.child-bottom-nav .nav-performance .nav-action-icon{background:#ffead0}
 .child-bottom-nav a.active{color:#754528;background:#f4eddd}.child-bottom-nav .nav-practice.active{background:#e9f1e0;color:#31582e}.child-bottom-nav .nav-performance.active{background:#fff0dc;color:#87471f}.child-bottom-nav a.active>span:last-child{font-weight:750}
 .today-actions{margin:8px 0 24px}.today-actions>h2{font-size:20px}.today-actions .home-actions{gap:12px}.today-actions .action-tile{min-height:142px;padding:18px 14px;grid-template-columns:minmax(0,1fr);grid-template-rows:46px auto auto;row-gap:5px;column-gap:0;border-radius:17px}.today-actions .action-tile .action-symbol{grid-column:1;grid-row:1;width:44px;height:44px;border-radius:14px}.today-actions .action-symbol .icon{width:28px;height:28px}.today-actions .action-tile strong{grid-column:1;grid-row:2;font-size:20px}.today-actions .action-tile small{grid-column:1;grid-row:3;font-size:12px}.today-actions .action-tile .tile-arrow{display:none}
 .parent-mode .editorial-welcome.encouragement{padding:12px 0 24px;gap:20px}.parent-mode .welcome-copy h1 span{font-size:32px}.parent-mode .editorial-art img{height:180px;min-height:0}
 .parent-mode .form-large label,.parent-mode .file-picker>label{font-size:15px}.parent-mode .form-large>.btn.primary{min-height:52px;font-size:16px;border-radius:14px}
}
@media(max-width:360px){.child-bottom-nav a{font-size:11px}.today-actions .action-tile{padding:16px 12px}.today-actions .action-tile strong{font-size:18px}.today-actions .action-tile small{font-size:11px}.parent-mode .welcome-copy h1 span{font-size:28px}}
@media(prefers-reduced-motion:reduce){.today-actions .action-tile{transition:none!important}.today-actions .action-tile:active{transform:none}}

/* Distinct collectible illustrations, including the first one-star milestone. */
.badge-picture{display:block;width:64px;height:64px;flex:none;color:inherit;overflow:visible}
.badge-spark{color:#ac761c}.badge-drum{color:#b56d35}.badge-keys{color:#42817d}.badge-sprout{color:#5b8144}.badge-compass{color:#587f9b}.badge-melody{color:#ac6479}.badge-trophy{color:#a77c28}
.current-badge{display:grid;place-items:center;flex:none;width:54px;height:54px}.current-badge .badge-picture{width:52px;height:52px}.badge-waiting{color:#a69a7c}.star-heading>div:first-child{min-width:0}
.next-badge{display:flex;align-items:center;gap:10px;min-width:0}.next-badge .badge-picture{width:44px;height:44px}.next-badge>span{color:#716449;font-size:11px;line-height:1.6}.star-goal .next-badge strong{font-size:14px;font-weight:650;color:#5d4b29}.first-badge-note{padding:10px 12px;border-radius:8px;background:#fff8e1;color:#775522;font-size:13px;line-height:1.7}.first-badge-note strong{color:#855018}
.star-badges{gap:12px}.star-badges li{padding:15px 8px;border-radius:12px;background:#fffaf0;display:flex;align-items:center;flex-direction:column;gap:7px}.star-badges li .badge-picture{width:68px;height:68px}.star-badges li strong{font-size:13px;color:#554b39;font-weight:650}.star-badges li small{font-size:11px;color:#796d54;margin:0}.star-badges li.earned{border-color:#cfb66c;background:#fff8e4;box-shadow:0 3px 0 #e6dbbc}.star-badges li.waiting{background:#f4f1e9;border-color:#ded9cc;color:#949385}.star-badges li.waiting strong,.star-badges li.waiting small{color:#858374}.star-collection summary{min-height:44px;font-size:12px;font-weight:600}
.reward-toast-badge-wrap{display:block;width:54px;height:54px;flex:none}.reward-toast-badge{display:block;width:54px;height:54px}.star-reward-toast .reward-new-badge{font-size:13px;font-weight:650;color:#7e5726;margin-top:8px}.stars-celebrate .current-badge{animation:bonus-twinkle .75s ease-in-out 2}
@media(max-width:480px){.current-badge{width:46px;height:46px}.current-badge .badge-picture{width:44px;height:44px}.star-garden-home .star-heading{grid-column:1/-1}.star-garden-home .star-balance{grid-column:1/-1;grid-row:auto;justify-self:start;margin:12px 0}.star-goal{gap:10px}.star-badges li .badge-picture{width:62px;height:62px}.star-badges li strong{font-size:12px}.reward-toast-badge-wrap,.reward-toast-badge{width:45px;height:45px}.star-reward-toast .reward-new-badge{font-size:12px}}
@media(prefers-reduced-motion:reduce){.current-badge{animation:none!important}}

.star-badges li.earned.badge-spark{color:#ac761c}.star-badges li.earned.badge-drum{color:#b56d35}.star-badges li.earned.badge-keys{color:#42817d}.star-badges li.earned.badge-sprout{color:#5b8144}.star-badges li.earned.badge-compass{color:#587f9b}.star-badges li.earned.badge-melody{color:#ac6479}.star-badges li.earned.badge-trophy{color:#a77c28}

/* Plan editors may contain long option labels on narrow screens. */
.plan-card,.plan-editor,.plan-editor .stack,.plan-editor label{min-width:0;max-width:100%}.plan-editor input,.plan-editor select,.plan-editor textarea{min-width:0;max-width:100%}.plan-card{overflow-wrap:anywhere}

/* Teacher metrics lead to matching lists and individual practice records. */
.video-recording{min-width:0}.video-status{margin:9px 0;line-height:1.7;overflow-wrap:anywhere}.video-status.video-error{color:#9b4630}.video-file-actions{display:flex;gap:8px;flex-wrap:wrap}.video-file-actions .btn{min-height:40px;font-size:12px}.video-recording video{display:block;width:100%;max-height:70vh;background:#171914}
.metric-link{color:inherit;text-decoration:none;cursor:pointer}.metric-link small{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.metric-link small .icon{height:14px;width:14px}.metric-link:hover{border-color:#9b8460;background:#fffdf5}.metric-link:focus-visible,.practice-student:focus-visible{outline:3px solid #86663d;outline-offset:4px}
.practice-week-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:18px 0}.practice-week-form label{display:grid;gap:6px;max-width:100%;font-size:13px}.practice-week-form input{min-width:0;max-width:100%}.practice-filters{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.practice-filters .btn{gap:10px}.practice-filters .btn strong{font-variant-numeric:tabular-nums}.practice-student-list{display:grid;gap:12px}.practice-student{display:flex;align-items:center;gap:14px;padding:18px 16px;border:1px solid #dedbcf;border-radius:10px;background:#fffdf7;color:inherit;text-decoration:none}.practice-student:hover{background:#f4f0e4;border-color:#b8ab8b}.practice-student .grow{min-width:0}.practice-student strong{display:block;font-size:17px;overflow-wrap:anywhere}.practice-student small{display:block;font-size:12px;line-height:1.8;color:#757260}.practice-student>.text-link{flex:none;display:flex;align-items:center;gap:4px;font-size:12px}.practice-dates{font-size:13px;color:#756843;overflow-wrap:anywhere}#practice-detail,#plan-list,[id^=submission-]{scroll-margin-top:25px}#practice-detail .item-row .grow{min-width:0;overflow-wrap:anywhere}#practice-detail h3{margin-top:26px}
@media(max-width:800px){#practice-detail,#plan-list,[id^=submission-]{scroll-margin-top:90px}}
@media(max-width:480px){.practice-filters{gap:7px}.practice-filters .btn{padding:10px 9px;font-size:12px;gap:6px}.practice-student{padding:14px 10px;gap:9px}.practice-student .mini-avatar{width:30px;height:34px;flex:none}.practice-student strong{font-size:16px}.practice-student small{font-size:11px}.practice-student>.text-link{font-size:11px}.practice-week-nav .btn{font-size:12px}.practice-week-form .btn{min-height:44px}.metric-link small{line-height:1.6}#practice-detail .item-row{flex-wrap:wrap}#practice-detail .item-row>.btn{margin-left:auto}}

/* Same-screen score reading & media playback workspace for teacher review. */
.review-nav-bar{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin:0 0 12px;min-width:0;max-width:100%}
.review-back-links{display:flex;align-items:center;gap:6px 14px;flex-wrap:wrap}
.review-back-links .back-link{margin:0;font-size:12.5px}
.review-switcher{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;overflow-x:auto;min-width:0;max-width:100%;padding-bottom:2px;scrollbar-width:thin}
.review-switcher>*{flex:none;white-space:nowrap}
.review-switcher .chip{min-height:32px;padding:4px 10px;font-size:12px}
.review-switcher .chip.active{background:var(--primary);border-color:var(--primary);color:#fffdf7;font-weight:600}
.submission-grid.review-workspace-grid{grid-template-columns:minmax(0,1fr)}
.submission-list-card{display:flex;flex-direction:column;justify-content:space-between;min-width:0}
.submission-card-actions{margin-top:auto;padding-top:6px}
.review-feedback-notice{justify-content:space-between;align-items:center;flex-wrap:wrap}
.review-workspace{min-width:0;max-width:100%;padding:22px}
.review-workspace-head{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:18px}
.review-head-row{align-items:flex-start;padding:0;border-bottom:0;flex-wrap:wrap;gap:12px}
.review-student-line{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.review-work-title{margin:3px 0 0;font-size:21px;line-height:1.35;overflow-wrap:anywhere}
.review-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.review-note{margin:10px 0 0;font-size:13px;color:var(--body)}
.review-stage-layout{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(300px,.95fr);gap:20px;align-items:start;min-width:0}
.review-score-pane{min-width:0;border:1px solid var(--line);border-radius:6px;background:#faf8f2;padding:14px;display:flex;flex-direction:column;gap:12px}
.score-toolbar{display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:5px;padding:12px;min-width:0}
.score-toolbar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.score-toolbar-title{min-width:0;flex:1 1 170px}
.score-toolbar-title strong{display:flex;align-items:center;gap:7px;font-size:14px;overflow-wrap:anywhere}
.score-status{margin:2px 0 0!important;font-size:12px;line-height:1.5;color:var(--muted)}
.score-status.score-status-error{color:#9b3b28;font-weight:600}
.score-toolbar-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.score-quick-pager{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.score-page-indicator{font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums;padding:0 4px;white-space:nowrap}
.score-toolbar-body{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:10px}
.score-jump-controls,.score-zoom-controls,.score-file-actions{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.score-jump-label{font-size:12px;color:var(--body);font-weight:550;white-space:nowrap}
input.score-page-input{width:64px!important;min-width:54px;min-height:38px!important;padding:4px 7px!important;font-size:13px!important;text-align:center;font-variant-numeric:tabular-nums}
.score-zoom-label{min-width:44px;text-align:center;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.score-error-banner{justify-content:space-between;align-items:center;flex-wrap:wrap;margin:0}
.score-viewport{width:100%;min-width:0;max-width:100%;min-height:460px;max-height:74vh;overflow:auto;touch-action:pan-x pan-y;overscroll-behavior-x:contain;overscroll-behavior-y:auto;background:#e9e5da;border:1px solid #d5d1c4;border-radius:4px;padding:10px;position:relative}
.score-viewport:focus-visible{outline:3px solid var(--primary);outline-offset:2px}
.score-viewport.is-dragging{cursor:grabbing;user-select:none}
.score-stage{margin:0 auto;display:flex;justify-content:center;align-items:flex-start;min-width:0}
.score-canvas,.score-image{display:block;max-width:none;background:#fff;box-shadow:0 2px 12px rgba(40,44,41,.08);border-radius:2px}
.score-empty-box{text-align:center;padding:44px 18px;display:flex;flex-direction:column;align-items:center;gap:8px;background:var(--surface);border:1px dashed var(--line);border-radius:6px}
.score-empty-box h3{margin:4px 0 0;font-size:17px}
.score-empty-box p{margin:0;max-width:420px;font-size:13px}
.review-media-pane{position:sticky;top:18px;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:16px;display:flex;flex-direction:column;gap:11px;z-index:8}
.media-dock-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.media-dock-info{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;font-size:13px}
.media-dock-info strong{display:inline-flex;align-items:center;gap:6px}
.media-dock-time{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.media-dock-controls{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
input.dock-seek{display:block;width:100%;height:22px;min-height:22px!important;padding:0!important;margin:0;background:transparent;border:0;box-shadow:none;accent-color:var(--primary);cursor:pointer}
input.dock-seek:disabled{opacity:.45;cursor:default}
.media-player-slot{min-width:0}
.review-media-pane .video-recording video{margin:4px 0 10px;max-height:260px}
.review-media-pane.is-video-collapsed .media-player-slot video{height:0!important;max-height:0!important;min-height:0!important;margin:0!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;border:0!important}
.review-meta-card{border-top:1px solid var(--line);padding-top:10px;display:flex;flex-direction:column;gap:8px}
.review-meta-line{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.review-meta-note{margin:0;font-size:12.5px;color:var(--body);line-height:1.5}
.review-workspace.is-workspace-fullscreen{position:fixed;inset:0;z-index:1200;width:100vw;height:100dvh;max-width:100vw;margin:0;border-radius:0;overflow-y:auto;background:var(--bg);padding:16px 20px calc(24px + env(safe-area-inset-bottom))}
.review-workspace.is-workspace-fullscreen .score-viewport{max-height:calc(100dvh - 200px)}
@media(max-width:1080px){
 .review-stage-layout{grid-template-columns:minmax(0,1.42fr) minmax(245px,.95fr);gap:15px}
}
@media(max-height:520px) and (min-width:640px){
 .teacher-mode .sidebar{width:184px;padding:14px 10px;overflow-y:auto}
 .teacher-mode .brand{padding:0 8px 14px;gap:6px}.teacher-mode .brand .brand-image{width:92px;height:46px}
 .teacher-mode .side-links a{min-height:36px;padding:6px 10px;font-size:12px}
 .teacher-mode .content{width:calc(100% - 184px);padding:14px 16px 28px}
 .teacher-mode .topline{margin-bottom:12px;padding-bottom:10px}.teacher-mode .topline h1{font-size:24px}
 .review-workspace{padding:14px}
 .review-stage-layout{grid-template-columns:minmax(0,1.45fr) minmax(220px,.95fr);gap:12px}
 .score-viewport{min-height:200px;max-height:calc(100dvh - 110px);padding:6px}
 .review-media-pane{position:sticky;top:8px;padding:10px;gap:6px}
 .review-media-pane .video-recording video{max-height:125px;margin:2px 0 6px}
}
@media(max-width:719px){
 .review-stage-layout{grid-template-columns:minmax(0,1fr);gap:12px}
 .review-score-pane,.review-score-pane button,.review-score-pane input,.review-score-pane a{scroll-margin-top:76px;scroll-margin-bottom:235px}
 .score-viewport{min-height:280px;max-height:54vh}
 .review-media-pane{position:sticky;bottom:calc(64px + env(safe-area-inset-bottom));top:auto;z-index:12;background:rgba(255,254,251,.98);border-color:#c9c7b8;box-shadow:0 -4px 16px rgba(40,44,41,.08);padding:8px 10px;gap:5px}
 .review-media-pane .video-recording video{max-height:84px;margin:2px 0 4px}
 .review-media-pane .video-recording:not(.is-error) .video-status,.review-media-pane .video-recording:not(.is-error) .video-file-actions{display:none}
 .review-media-pane .review-meta-note,.review-media-pane .review-meta-line{display:none}
 .review-media-pane .review-meta-card{border-top:0;padding-top:2px}
 .review-media-pane .review-meta-card .btn{min-height:34px;padding:4px 10px;font-size:12px}
}
@media(max-width:480px){
 .review-workspace{padding:12px 10px}
 .review-work-title{font-size:17px}
 .review-score-pane{padding:8px;gap:7px}
 .score-toolbar{padding:8px;gap:6px}
 .score-toolbar-body{padding-top:6px;gap:6px}
 .score-toolbar .btn.sm,.review-media-pane .btn.sm,.review-head-actions .btn.sm{padding:4px 8px;font-size:11.5px;min-height:34px}
 input.score-page-input{width:50px!important;min-width:44px;min-height:34px!important;padding:2px 4px!important;font-size:12px!important}
 .score-viewport{min-height:240px;max-height:48vh;padding:6px}
 .review-media-pane{padding:7px 9px;gap:4px}
 .review-media-pane .video-recording video{max-height:72px;margin:1px 0 2px}
 .review-media-pane .video-file-actions .btn{min-height:32px;padding:3px 7px;font-size:11px}
}
@media(max-width:360px){
 .teacher-mode .content{padding-left:10px;padding-right:10px}
 .review-workspace{padding:10px 8px}
 .score-toolbar{padding:6px}
 .score-quick-pager{gap:4px}
 .score-page-indicator{font-size:11px}
 .score-toolbar .btn.sm,.review-media-pane .btn.sm{padding:3px 6px;font-size:11px;min-height:32px}
 .review-media-pane .video-recording video{max-height:60px}
}

.review-workspace.is-workspace-fullscreen .review-media-pane{bottom:env(safe-area-inset-bottom)}
@media(max-width:719px){
 .review-head-row>.grow{flex:1 1 calc(100% - 52px);min-width:0}
 .review-head-actions{width:100%;justify-content:space-between}
}

.reset-fields{border:0;padding:0;margin:0;min-width:0}.guardian-account{margin-bottom:18px}.guardian-recovery{padding:12px 0;border-bottom:1px solid var(--line)}.guardian-recovery summary{font-weight:600;cursor:pointer}.guardian-recovery form{margin-top:12px}
.feedback-video-upload{padding:20px;border:1px solid var(--line);border-radius:14px;min-width:0}
.feedback-video-upload input{max-width:100%}
.feedback-video-upload video{max-height:380px;margin-top:12px}
.feedback-composer{min-width:0}.feedback-composer h3{margin:0 0 6px}.feedback-items{display:grid;gap:16px;margin:16px 0}.feedback-compose-item{min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--surface,#fffdf8);padding:18px}.feedback-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.feedback-compose-item label{display:grid;gap:8px}.feedback-compose-item input[type=file]{width:100%;max-width:100%;min-width:0}.feedback-compose-item textarea{width:100%;resize:vertical}.feedback-compose-item video{max-height:340px;max-width:100%}.feedback-compose-item audio{max-width:100%}.feedback-compose-item [data-record-toggle]{margin-top:10px}.feedback-add-actions{display:flex;flex-wrap:wrap;gap:10px}.feedback-content-item+.feedback-content-item{margin-top:16px}.feedback-content-item{min-width:0}.feedback-compose-item>.btn{margin-top:12px}.feedback-composer .upload-error{overflow-wrap:anywhere}
@media(max-width:480px){.feedback-compose-item{padding:12px}.feedback-add-actions{gap:7px}.feedback-add-actions .btn{font-size:13px;padding:9px 11px}.feedback-composer>.section-top{align-items:flex-start;flex-wrap:wrap}}
