/* Meraki creative learning studio. Canonical presentation tokens, loaded last.
   Curriculum, permission, progress and assessment logic remain in their existing modules. */
:root{--paper:#f6f4ed;--paper-2:#fffdf7;--card:#fffefb;--ink:#20211f;--muted:#62645d;--soft:#dedfd5;--orange:#f66c35;--radius:16px;--radius-sm:10px;--border:1.5px solid var(--ink);--shadow:3px 3px 0 var(--ink);--shadow-sm:2px 2px 0 var(--ink);--sidebar:232px;--content:1560px;--studio-line:#d9dbd0;--studio-accent:#f4df8b;--studio-ease:cubic-bezier(.2,.8,.2,1)}
html{scroll-padding-top:96px}body{font-size:15px;line-height:1.6}h2,h3,h4{font-family:'DM Sans',sans-serif;letter-spacing:-.035em;font-weight:800}h1{letter-spacing:-.045em}button,input,textarea,select{font:inherit}button:disabled{transform:none!important;box-shadow:none!important}button,a,input,select,textarea,summary{scroll-margin:100px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #a93c12;outline-offset:4px}input[type=radio],input[type=checkbox]{accent-color:var(--ink)}
.app-shell{grid-template-columns:var(--sidebar) minmax(0,1fr)}.sidebar{padding:28px 16px 20px;background:#20211f}.sidebar .brand-lockup{font-size:12px;gap:10px;padding:0 8px 28px;letter-spacing:.025em}.side-nav{gap:8px;margin:28px 0}.nav-link{padding:12px 14px;border-radius:9px;font-size:14px;transition:background .18s,color .18s}.nav-link.active{background:var(--studio-accent);color:var(--ink)}.sidebar-profile{padding-top:20px;gap:12px}.topbar{height:72px;background:rgba(246,244,237,.96);border-bottom:1px solid var(--studio-line);backdrop-filter:blur(12px);padding:0 32px}.topbar-title{font-size:13px;color:var(--muted);font-weight:700}.topbar-actions{gap:12px}.topbar .button{background:transparent;box-shadow:none;border-color:var(--studio-line)}.content{padding:40px 32px 80px}.page-head{margin-bottom:32px;gap:24px}.page-head h1{font-size:clamp(30px,3.3vw,46px);line-height:1.1;margin:8px 0 16px;max-width:24ch}.page-head p{font-size:15px;line-height:1.65;max-width:68ch}.eyebrow{font-size:10px;letter-spacing:.13em;font-weight:800}.section{margin-top:32px}.section-title h2,.panel h2,.welcome-card h2{font-size:24px;line-height:1.25}.section>h2{font-size:24px;margin-bottom:12px}.section>p{max-width:90ch;color:var(--muted)}
.button{min-height:40px;padding:9px 16px;border:1.5px solid var(--ink);border-radius:9px;font-weight:700;font-size:13px;gap:8px;box-shadow:var(--shadow-sm);transition:transform .18s var(--studio-ease),box-shadow .18s var(--studio-ease),background .18s}.button.small{min-height:36px;padding:7px 12px;font-size:12px}.button:hover:not(:disabled){transform:translate(-1px,-2px);box-shadow:3px 4px 0 var(--ink)}.button:active:not(:disabled){transform:translate(1px,1px);box-shadow:0 0 0 var(--ink)}.button.primary{background:var(--ink);color:var(--paper-2)}.button.text-button{box-shadow:none}.icon-button{width:40px;height:40px;border-width:1.5px;box-shadow:none;border-radius:9px}.chip{font-size:10px;line-height:1.5;padding:5px 9px;border-width:1px;letter-spacing:.04em}.progress-track{height:8px;border:0;background:var(--soft)}.progress-fill{transition:width .4s var(--studio-ease)}.panel,.module-card,.trainer-checkpoint,.clock-card,.school-id,.quote-card,.notice,.welcome-card,.stat-card,.staff-stat,.quiz-card,.exercise-box{border:1.5px solid var(--ink);border-radius:var(--radius);box-shadow:var(--shadow-sm);background:var(--card)}.panel,.trainer-checkpoint,.module-copy{padding:24px}.panel p{line-height:1.75}.module-actions{gap:12px;margin-top:20px}.two-grid,.checkpoint-grid,.review-grid{gap:24px}.trainer-checkpoint h3{font-size:22px;margin:8px 0 16px}.trainer-checkpoint>p{font-size:14px}.trainer-checkpoint .session-invite{background:var(--paper);box-shadow:none;border-color:var(--studio-line);padding:16px}.session-invite{border:1px solid var(--studio-line);border-radius:12px;background:var(--paper-2);padding:20px}.session-invite h3{font-size:20px}.session-invite p{font-size:13px}.session-invite .chip{background:var(--studio-accent)}
.dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:24px;align-items:stretch;margin-bottom:32px}.dashboard-side{gap:16px}.clock-card{padding:20px 24px;box-shadow:none;background:#eceee5;border-color:var(--studio-line)}.clock-card b{font-size:clamp(26px,2.5vw,36px);white-space:nowrap}.clock-card span{font-size:10px;color:var(--muted)}.course-hero[data-discipline]{border:1.5px solid var(--ink);border-radius:var(--radius);box-shadow:var(--shadow);padding:32px;gap:24px;grid-template-columns:minmax(0,1.7fr) minmax(100px,.7fr);background:var(--paper-2)}.course-hero[data-discipline]:before{inset:0 0 0 76%;border-left:1.5px solid var(--ink)}.course-hero[data-discipline]>.course-art{max-width:170px;transform:rotate(-3deg)}.course-hero h2{font-family:'Archivo Black',sans-serif;font-size:clamp(28px,3vw,42px);line-height:1.12;margin:20px 0 16px;overflow-wrap:normal}.course-hero p{font-size:14px;line-height:1.7;margin-bottom:16px}.course-hero .progress-track{height:9px;border:1px solid var(--ink);background:var(--soft)}.course-hero .track-meta{margin:12px 0;font-size:11px;gap:12px;flex-wrap:wrap}.course-hero .hero-actions{margin-top:20px}.school-id{box-shadow:none}.id-top{background:#e9ebdf;color:var(--ink);border-bottom:1px solid var(--studio-line)}.compact .id-top{padding:12px 16px}.compact .id-body{padding:20px 16px}.id-body h2{font-family:'DM Sans',sans-serif!important}.compact .id-body h2{font-size:17px}.compact .portrait{width:60px;height:76px;flex-basis:60px;border-width:1.5px}.id-medals p{color:var(--muted)}
.collection-tabs,.activity-tabs{padding:4px;background:#e9ebe2;border:1px solid var(--studio-line);border-radius:12px;gap:4px;width:fit-content;max-width:100%;margin:24px 0}.collection-tabs .button,.activity-tabs .button,.trainer-tabs .button{border:1px solid transparent;box-shadow:none;background:transparent;min-height:38px;padding:8px 16px;color:var(--muted);font-weight:700}.collection-tabs .button.primary,.activity-tabs .button.primary,.trainer-tabs .button.primary{background:var(--ink);color:white;border-color:var(--ink);box-shadow:none}.collection-tabs .button:hover,.activity-tabs .button:hover,.trainer-tabs .button:hover{transform:none;box-shadow:none;background:var(--card);color:var(--ink)}.library-controls{gap:16px;margin-bottom:32px;align-items:end}.library-controls label{display:grid;font-size:12px;color:var(--muted);gap:8px;min-width:200px}.library-controls select{width:100%;min-width:0;min-height:44px;padding:10px 36px 10px 12px;border:1px solid var(--studio-line);border-radius:9px;background:var(--card);color:var(--ink)}.course-grid{gap:24px}.course-card[data-discipline]{border:1.5px solid var(--ink);border-radius:14px;box-shadow:var(--shadow-sm);transition:transform .22s var(--studio-ease),box-shadow .22s var(--studio-ease)}.course-card[data-discipline]:hover{transform:translateY(-3px);box-shadow:3px 6px 0 var(--ink)}.course-card[data-discipline] .course-visual{height:172px;min-height:172px;border-bottom:1.5px solid var(--ink);padding:16px}.course-card[data-discipline] .course-art{width:140px;max-width:140px;height:140px}.course-card[data-discipline] .course-copy{padding:24px;gap:12px;background:var(--card)}.course-card[data-discipline] h2{font-size:23px;line-height:1.2;font-family:'DM Sans',sans-serif;letter-spacing:-.035em}.course-card[data-discipline] p{font-size:14px;line-height:1.65}.course-card[data-discipline] .chip{border:0;padding:0;background:transparent;color:var(--tone-deep);font-size:10px}.course-card[data-discipline] .status-note{font-size:12px;line-height:1.5;padding-left:8px;font-weight:600}.course-card[data-discipline] .module-actions{padding-top:8px;gap:8px}.course-card[data-discipline] .module-actions .button{padding:9px 12px;flex:1 1 auto}.course-card[data-discipline] .module-actions .button:last-child{background:var(--paper);color:var(--ink);box-shadow:none}.module-art{padding:16px 24px;border-bottom-width:1.5px}.module-art>b{font-size:36px}.module-art .course-art{height:76px;width:76px}.module-copy h2{font-size:22px}.module-copy p{font-size:14px}.course-locked .course-visual{filter:saturate(.55)}
.skill-reader{grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}.skill-contents{top:96px;padding:16px;background:#eceee5;border:1px solid var(--studio-line);border-radius:12px;box-shadow:none}.skill-contents summary{font-size:12px;line-height:1.6}.skill-contents nav{gap:4px}.skill-contents button{font-size:13px;padding:12px;line-height:1.6;border-radius:8px}.skill-contents button[aria-current]{background:var(--studio-accent);border-left:0;color:var(--ink);font-weight:700}.skill-chapter{padding:32px;max-width:none;box-shadow:none;border:1px solid var(--studio-line);border-radius:14px}.skill-chapter h2{font-family:'DM Sans',sans-serif;font-size:30px;line-height:1.25;max-width:28ch}.chapter-reading{font-size:16px;line-height:1.85;max-width:68ch}.chapter-reading p{margin-bottom:24px;line-height:1.85}.chapter-reading h3{font-family:'DM Sans',sans-serif;font-size:21px;line-height:1.4;margin:32px 0 16px}.chapter-reading h2{font-family:'DM Sans',sans-serif;font-size:25px}.skill-overview{max-width:960px}.skill-overview p{max-width:75ch;font-size:15px;line-height:1.85}.skill-syllabus{padding-left:24px}.skill-syllabus button{font-size:14px;padding:16px 8px}.reader-actions{border-top:1px solid var(--studio-line);margin-top:32px;padding-top:24px;gap:16px}.reader-actions .button{flex:0 1 auto}.reader-actions .muted{font-size:12px}.skill-diagram{margin:24px 0}.skill-diagram img{border-color:var(--studio-line);border-radius:12px}.skill-contents button:hover:not([aria-current]){background:var(--card)}
.learning-shell{grid-template-columns:240px minmax(0,1fr);margin:-40px -32px -80px}.lesson-side{top:72px;height:calc(100dvh - 72px);padding:24px 20px;border-right:1px solid var(--studio-line)}.lesson-side h2{font-size:20px}.lesson-main{max-width:100%;padding:40px 32px 64px}.lesson-main h1{font-size:clamp(28px,3.3vw,44px);line-height:1.15}.lesson-main .lede{font-size:16px;line-height:1.75}.lesson-content h2{font-size:25px}.lesson-footer{border-top:1px solid var(--studio-line);padding:16px 0;bottom:0;background:var(--paper)}.step-button{font-size:12px;line-height:1.5}.step-button.active{background:var(--studio-accent);color:var(--ink)}.chapter-toc{border-bottom:1px solid var(--studio-line)}.chapter-callout{border-left:3px solid var(--orange);border-radius:0 12px 12px 0}.quiz-card{box-shadow:none;padding:24px}.quiz-q legend,.quiz-q h3{font-size:16px;line-height:1.7}.option{border:1px solid var(--studio-line);padding:14px 16px;line-height:1.65;cursor:pointer;transition:background .15s,border-color .15s}.option:has(input:checked){border-color:var(--ink);background:#f5edcc;box-shadow:inset 3px 0 var(--ink)}.option:focus-within{outline:2px solid #a93c12;outline-offset:2px}.option input{margin-top:5px!important}.feedback-item{border-bottom:1px solid var(--studio-line)}
.calendar-layout{gap:32px;grid-template-columns:minmax(240px,1fr) minmax(0,1.2fr)}.calendar-month h3{font-size:18px}.calendar-days{gap:6px;margin:20px 0}.calendar-day{border:0;border-radius:8px;background:#eff0e9;min-height:40px;font-size:12px}.calendar-day:hover{background:#e0e3d6}.calendar-day.has-session{background:var(--studio-accent);border:1px solid var(--ink)}.calendar-day[aria-pressed=true]{outline:2px solid var(--ink);outline-offset:2px}.calendar-agenda>h3{font-size:18px;margin-top:0}.academy-calendar .back-link{font-size:12px}.academy-calendar .calendar-agenda{max-height:540px}.calendar-month .button{box-shadow:none;border-color:var(--studio-line);background:var(--card)}.score-table th{background:#e9ebe2;color:var(--ink)}.score-table td,.score-table th{padding:16px}.academy-dialog{border-width:1.5px;border-radius:16px}.inbox-list button{line-height:1.6}.quote-card blockquote{font-family:'DM Sans',sans-serif!important}.panel input,.panel select,.panel textarea,.profile-form input,.profile-form select,.profile-form textarea{border:1px solid var(--studio-line);background:var(--card);font-size:14px}.empty{border:1px dashed var(--muted);padding:32px;background:var(--card)}
.auth-story{background:#e7eadc;color:var(--ink);border-right:1.5px solid var(--ink)}.auth-story:after{display:none}.auth-story .eyebrow.light{color:#555e47}.auth-story h1{font-size:clamp(38px,4.8vw,72px);line-height:1.08;letter-spacing:-.05em;max-width:15ch}.auth-story h1 span{color:#a83b16}.auth-story>p:not(.eyebrow){line-height:1.75;max-width:38ch;font-size:17px}.auth-card{background:var(--paper)}.auth-card-inner{padding:40px;border-radius:18px;box-shadow:4px 4px 0 var(--ink)}.auth-card h2{font-size:30px}.auth-card .muted{line-height:1.75}.auth-card input{border-width:1.5px}.auth-card .fine-print{font-size:12px;line-height:1.7}.auth-proof{padding-top:24px;border-top:1px solid #bac0ad;align-items:start;line-height:1.6}.auth-story .brand-lockup{color:var(--ink)}
@media(min-width:1500px){.course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content{padding-left:48px;padding-right:48px}.learning-shell{margin-left:-48px;margin-right:-48px}.course-card[data-discipline] h2{font-size:22px}}
@media(max-width:1200px){.dashboard-grid{grid-template-columns:1fr}.dashboard-side{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:24px}.dashboard-grid .course-hero{min-height:320px}.clock-card{align-content:center}.course-hero[data-discipline]{grid-template-columns:minmax(0,1.6fr) minmax(120px,.6fr)}.skill-reader{grid-template-columns:190px minmax(0,1fr);gap:20px}.skill-chapter{padding:24px}.skill-contents{padding:12px}.learning-shell{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:1000px){.calendar-layout{grid-template-columns:1fr}.skill-reader{grid-template-columns:1fr}.skill-contents{position:static}.skill-contents nav{grid-template-columns:1fr 1fr;max-height:none}.skill-chapter{padding:32px}.learning-shell{grid-template-columns:180px minmax(0,1fr)}.lesson-main{padding:32px 24px}.course-card[data-discipline] .course-copy{padding:20px}.course-card[data-discipline] h2{font-size:21px}}
@media(max-width:820px){.app-shell{display:block}.sidebar{width:min(300px,calc(100vw - 48px))}.topbar{height:64px;padding:0 20px}.topbar .topbar-title{display:block;font-size:12px;margin-right:auto;margin-left:12px}.content{padding:28px 20px 64px}.page-head h1{font-size:34px}.course-grid,.module-grid,.checkpoint-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.course-card[data-discipline] .course-visual{height:152px;min-height:152px}.course-card[data-discipline] .course-art{height:124px;width:124px}.course-card[data-discipline] .course-copy{padding:20px}.skill-contents nav{grid-template-columns:1fr 1fr}.skill-chapter{padding:24px}.learning-shell{display:block;margin:-28px -20px -64px}.lesson-side{position:relative;top:0;height:auto;padding:20px;border-bottom:1px solid var(--studio-line);border-right:0}.lesson-side .step-list{display:flex;overflow-x:auto}.lesson-side .step-button{min-width:max-content}.lesson-main{padding:28px 20px 48px}.chapter-reading{font-size:16px}.auth-story{border-right:0;border-bottom:1.5px solid var(--ink);min-height:initial;padding:40px 28px}.auth-story .brand-lockup{margin-bottom:40px}.auth-story h1{font-size:clamp(36px,6.5vw,58px);max-width:18ch}.auth-card{padding:32px 24px 48px}.auth-card-inner{padding:32px}.auth-story>p:not(.eyebrow){max-width:48ch}.auth-proof{margin-top:24px}.academy-calendar .calendar-agenda{max-height:none}.calendar-layout{gap:24px}.button{min-height:44px}.button.small{min-height:40px}.collection-tabs .button,.activity-tabs .button{min-height:40px}}
@media(max-width:600px){.dashboard-side{grid-template-columns:1fr}.dashboard-grid{gap:20px}.dashboard-grid .course-hero{min-height:initial}.clock-card{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:16px}.clock-card b{font-size:26px}.clock-card span:last-child{flex-basis:100%}.page-head h1{font-size:30px}.page-head p{font-size:14px}.course-grid,.module-grid,.checkpoint-grid,.review-grid,.two-grid{grid-template-columns:1fr}.course-hero[data-discipline]{grid-template-columns:1fr;padding:24px;padding-top:164px}.course-hero[data-discipline]:before{inset:0 0 auto;height:140px;border-left:0;border-bottom:1.5px solid var(--ink)}.course-hero[data-discipline]>.course-art{top:4px;right:calc(50% - 65px);width:130px;height:130px;position:absolute}.course-hero h2{font-size:32px}.hero-actions .button{width:auto;flex:1 1 auto}.course-card[data-discipline] .course-visual{height:172px;min-height:172px}.course-card[data-discipline] .course-art{height:140px;width:140px}.course-card[data-discipline] .course-copy{padding:24px}.course-card[data-discipline] h2{font-size:23px}.skill-contents nav{grid-template-columns:1fr}.skill-contents nav{max-height:240px;overflow:auto}.skill-chapter{padding:20px}.skill-chapter h2{font-size:25px}.collection-tabs,.activity-tabs{width:100%;flex-wrap:wrap}.activity-tabs{display:grid;grid-template-columns:1fr 1fr}.skill-page-head{margin-bottom:16px}.skill-page-head .back-link{margin:0}.skill-page-head+.activity-tabs{margin-top:16px}.collection-tabs .button,.activity-tabs .button{flex:1 1 auto;padding:8px 10px;font-size:12px}.library-controls{gap:16px}.library-controls label{min-width:0;flex:1 1 130px;width:0}.panel,.trainer-checkpoint,.quiz-card{padding:20px}.panel h2,.section-title h2,.section>h2{font-size:22px}.section-title{flex-wrap:wrap;gap:12px}.skill-overview{padding:20px}.reader-actions .button{flex:1 1 120px}.reader-actions .muted{width:100%}.lesson-main h1{font-size:30px}.lesson-footer .button{min-width:0;font-size:12px}.session-invite .module-actions{display:flex;flex-wrap:wrap}.session-invite .module-actions .button{width:auto;flex:1 1 120px}.topbar-actions{gap:8px}.topbar .topbar-title{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar{padding:0 16px}.button.small{padding:8px 12px}.auth-story{padding:32px 24px}.auth-card{padding:24px 20px 40px}.auth-card-inner{padding:28px 20px}.auth-card h2{font-size:26px}.auth-proof{align-items:start}.auth-proof span{line-height:1.6}.auth-story .brand-lockup{margin-bottom:32px}.auth-story h1{font-size:38px}.auth-story>p:not(.eyebrow){font-size:16px}}
@media(max-width:380px){.content{padding:24px 16px 64px}.learning-shell{margin:-24px -16px -64px}.course-hero[data-discipline]{padding-left:20px;padding-right:20px}.page-head h1{font-size:28px}.course-card[data-discipline] .course-copy,.panel,.trainer-checkpoint,.skill-chapter{padding:16px}.calendar-days{gap:4px}.calendar-day{min-height:40px}.auth-story h1{font-size:34px}.topbar .topbar-title{max-width:70px;margin-left:8px}.skill-chapter h2{font-size:24px}.chapter-reading{font-size:16px}.calendar-month h3{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.course-card[data-discipline]:hover,.button:hover{transform:none}}
@media print{.content{padding:0}.skill-contents,.activity-tabs,.reader-actions{display:none}.skill-reader{display:block}.skill-chapter{border:0;padding:0}}
.skip-link{position:fixed;top:12px;left:16px;z-index:200;padding:12px 16px;background:var(--studio-accent);border:2px solid var(--ink);border-radius:8px;font-weight:700;transform:translateY(-180%)}.skip-link:focus{transform:translateY(0)}

/* October 20 review: Meraki orange graph paper, compact rail and learning analytics. */
.app-shell{--paper:#f5f0e7;--paper-2:#fffaf1;--card:#fffdf8;--soft:#e1d7ca;--studio-line:#d4c6b5;--studio-accent:#bc4217;--orange:#bc4217;background-color:var(--paper);background-image:linear-gradient(#8c765c14 1px,transparent 1px),linear-gradient(90deg,#8c765c14 1px,transparent 1px);background-size:24px 24px}
body:has(.app-shell){background:#f5f0e7}.app-shell .main-wrap{background:transparent}.app-shell .topbar{background:#20211f;border-bottom:1.5px solid #20211f;backdrop-filter:none;gap:12px}.app-shell .topbar-title{color:#fffaf1;margin-right:auto;font-size:18px;font-weight:800;letter-spacing:-.02em}.app-shell .topbar .button,.app-shell .topbar .icon-button{border-color:#686963;background:#333530;color:#fffaf1}.app-shell .nav-link.active{background:#bc4217;color:#fff}.nav-link svg{stroke-width:2.6;width:22px;height:22px;flex:0 0 22px}.nav-label{min-width:0}.desktop-nav-toggle{background:#f1d8bf;border-color:#9e7454;flex:0 0 40px}.app-shell.nav-collapsed{--sidebar:88px}.nav-collapsed .sidebar{padding-left:16px;padding-right:16px}.nav-collapsed .sidebar .brand-lockup{justify-content:center;padding-left:0;padding-right:0}.nav-collapsed .brand-lockup>b,.nav-collapsed .nav-label,.nav-collapsed .sidebar-profile>span{display:none}.nav-collapsed .nav-link{justify-content:center;padding:14px 0}.nav-collapsed .sidebar-profile{justify-content:center}.nav-collapsed .side-nav{gap:12px}.app-shell .id-top{background:#20211f;border-bottom:1.5px solid #20211f;color:#fffaf1}.app-shell .clock-card{background:var(--card);border:1.5px solid var(--ink);box-shadow:var(--shadow-sm)}.app-shell .clock-card span{color:var(--muted)}.app-shell .progress-track{height:16px;border:1px solid #a98567;background:#ead9c7}.app-shell .progress-fill{background:#d75c28}.app-shell .course-hero .progress-track{height:18px}.app-shell .dashboard-side{gap:24px}.app-shell .dashboard-grid,.app-shell .two-grid,.app-shell .course-grid,.app-shell .checkpoint-grid,.app-shell .review-grid{gap:24px}.app-shell .section{margin-top:32px}.app-shell .dashboard-grid{margin-bottom:32px}.app-shell .collection-tabs,.app-shell .activity-tabs{background:#e8dfd2;border-color:#d4c6b5}.app-shell .skill-contents{background:#ece5d9;border-color:#d4c6b5}.app-shell .skill-contents button[aria-current],.app-shell .step-button.active{background:#bc4217;color:#fff}.app-shell .calendar-day.has-session,.app-shell .session-invite .chip{background:#f7af7a}.app-shell .option:has(input:checked){background:#ffe0be}.app-shell .skip-link{background:#f58a49}.app-shell .calendar-day{background:#eedecb}.app-shell .calendar-day:hover{background:#e3ba95}.app-shell .score-table th{background:#e2b58d}.app-shell .course-coming-soon .course-copy>.button{background:#e9d8c6;color:#5f4634;border-color:#af8d70;opacity:1;gap:8px}.course-coming-soon .course-copy>.button svg{flex:0 0 18px}.skills-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}.skills-columns>.section{min-width:0;margin-top:0!important}.skills-columns>.section>h2{font-size:20px;min-height:56px;display:flex;align-items:center;margin:0 0 16px;padding-bottom:12px;border-bottom:2px solid #af7854}.skills-columns .course-grid{grid-template-columns:1fr!important}.skills-columns .course-card[data-discipline] h2{font-size:21px}.skills-columns .course-card[data-discipline] .course-copy{padding:20px}.skills-columns .course-card .module-actions .button{flex:1 1 100%}.results-metrics{gap:24px;margin-bottom:32px}.results-metrics .staff-stat:nth-child(1){background:#f2b17d}.results-metrics .staff-stat:nth-child(2){background:#c8d0b5}.results-metrics .staff-stat:nth-child(3){background:#dfc4d1}.results-metrics .staff-stat:nth-child(4){background:#edcc85}.results-analytics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0}.results-analytics>.panel{min-width:0}.results-analytics h3{font-size:21px;line-height:1.3;margin:0 0 24px}.completion-donut{width:min(180px,100%);aspect-ratio:1;margin:0 auto 24px;border-radius:50%;background:var(--donut);padding:20px}.completion-donut>div{height:100%;border-radius:50%;background:var(--card);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:8px}.completion-donut strong{font-size:30px;line-height:1.3}.completion-donut small{font-size:15px;font-weight:500}.completion-donut span{font-size:10px}.chart-key{list-style:none;padding:0;margin:0;display:grid;gap:12px;font-size:13px}.chart-key li{display:flex;align-items:center;gap:8px}.chart-key b{margin-left:auto}.legend-dot{width:12px;height:12px;border-radius:3px;border:1px solid #946d4e}.result-bars{display:grid;gap:24px}.result-bar>div:first-child{display:flex;align-items:start;gap:12px;justify-content:space-between;font-size:13px;line-height:1.5;margin-bottom:8px}.result-bar b{white-space:nowrap}.result-bar small{font-size:11px;color:var(--muted)}.chart-note{font-size:12px;line-height:1.6;color:var(--muted);margin:24px 0 0}.results-analytics .result-bar .progress-track{height:18px}.results-analytics .panel:nth-child(3) .progress-fill{background:#9a5d79}
@media(max-width:1200px){.skills-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.skills-columns .course-card[data-discipline] .course-copy{padding:16px}.skills-columns .course-card[data-discipline] h2{font-size:19px}.results-analytics{grid-template-columns:1fr 1fr}.results-analytics>.panel:last-child{grid-column:1/-1}}
@media(min-width:821px) and (max-width:1050px){.skills-columns{grid-template-columns:1fr}.skills-columns .course-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.skills-columns>.section>h2{min-height:0}.skills-columns>.section{margin-bottom:16px}.skills-columns .course-card .module-actions .button{flex:1 1 auto}}
@media(max-width:820px){.desktop-nav-toggle{display:none}.app-shell.nav-collapsed{--sidebar:232px}.nav-collapsed .brand-lockup>b,.nav-collapsed .nav-label,.nav-collapsed .sidebar-profile>span{display:block}.nav-collapsed .sidebar .brand-lockup,.nav-collapsed .sidebar-profile{justify-content:flex-start}.nav-collapsed .nav-link{justify-content:flex-start;padding:12px 14px}.app-shell .topbar{gap:8px}.app-shell .topbar-title{margin-left:4px}.skills-columns{gap:16px}.skills-columns .course-card[data-discipline] .course-copy{padding:16px}.skills-columns .course-card[data-discipline] h2{font-size:18px}.skills-columns>.section>h2{font-size:18px;min-height:64px}.skills-columns .course-card[data-discipline] .course-visual{height:128px;min-height:128px}.skills-columns .course-card[data-discipline] .course-art{height:108px;width:108px}.results-metrics{grid-template-columns:1fr 1fr}.results-analytics{grid-template-columns:1fr}.results-analytics>.panel:last-child{grid-column:auto}}
@media(max-width:650px){.skills-columns{grid-template-columns:1fr;gap:32px}.skills-columns>.section>h2{min-height:0;font-size:22px}.skills-columns .course-card[data-discipline] h2{font-size:23px}.skills-columns .course-card[data-discipline] .course-copy{padding:24px}.skills-columns .course-card .module-actions .button{flex:1 1 auto}.skills-columns .course-card[data-discipline] .course-visual{height:172px;min-height:172px}.skills-columns .course-card[data-discipline] .course-art{height:140px;width:140px}.app-shell .results-metrics{gap:16px}.results-metrics .staff-stat{padding:16px}.results-metrics .staff-stat b{font-size:28px}.results-analytics{gap:24px}.completion-donut{width:180px}.results-metrics .staff-stat span{font-size:12px}}
.app-shell .collection-tabs .button.primary,.app-shell .activity-tabs .button.primary,.app-shell .trainer-tabs .button.primary{background:#bc4217;color:#fff;border-color:#bc4217}

/* Cream and charcoal finishing pass. The Meraki brand mark is the navigation toggle. */
.brand-nav-toggle{width:100%;background:transparent;color:inherit;border:0;text-align:left;font:inherit;cursor:pointer}.brand-nav-toggle .brand-icon{transition:transform .18s var(--studio-ease)}.brand-nav-toggle:hover .brand-icon{transform:scale(1.06)}.brand-nav-toggle:active .brand-icon{transform:scale(.96)}
.app-shell .page-head{animation:studio-arrive .24s var(--studio-ease) both}.app-shell .dashboard-grid>.course-hero,.app-shell .dashboard-side,.app-shell .skills-columns>.section,.app-shell .results-analytics>.panel{animation:studio-arrive .32s var(--studio-ease) both}.app-shell .skills-columns>.section:nth-child(2),.app-shell .results-analytics>.panel:nth-child(2){animation-delay:45ms}.app-shell .skills-columns>.section:nth-child(3),.app-shell .results-analytics>.panel:nth-child(3){animation-delay:90ms}.app-shell .calendar-day{transition:background .16s}.app-shell .nav-link{transition:background .18s,color .18s}.app-shell .topbar .icon-button:hover{background:#474a43}
@keyframes studio-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:820px){.app-shell .topbar-title{font-size:17px;max-width:none;min-width:0;flex:1;margin-left:4px}.app-shell .topbar-actions{flex:0 0 auto}}
@media(max-width:380px){.app-shell .topbar-title{font-size:16px}.app-shell .topbar{gap:8px}.app-shell .topbar .button.small{padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.app-shell .page-head,.app-shell .dashboard-grid>.course-hero,.app-shell .dashboard-side,.app-shell .skills-columns>.section,.app-shell .results-analytics>.panel{animation:none!important}.brand-nav-toggle .brand-icon{transition:none;transform:none!important}}

/* Soft yellow status accents and compact future checkpoints — October 20 review. */
.app-shell{--status-yellow:#f4df8b}.app-shell .calendar-day[aria-pressed=true],.app-shell .calendar-day[aria-pressed=true]:hover{background:var(--status-yellow);color:var(--ink)}.app-shell .calendar-day.has-session:not([aria-pressed=true]){background:#ede6cf}.app-shell .session-invite .chip{background:var(--paper-2)}.app-shell .session-invite .chip.attendance-confirmed{background:var(--status-yellow);color:var(--ink)}
.app-shell .dashboard-learning-summary{margin-top:32px;margin-bottom:32px;gap:24px}.app-shell .checkpoint-grid:has(.checkpoint-compact){grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:24px}.checkpoint-grid:has(.checkpoint-compact)>.trainer-checkpoint:not(.checkpoint-compact){grid-column:1/-1}.app-shell .checkpoint-compact{padding:0;box-shadow:none}.checkpoint-compact summary{padding:16px;cursor:pointer;line-height:1.5;min-height:88px}.compact-kicker{font-size:10px;letter-spacing:.1em;font-weight:800}.compact-title{display:block;font-size:18px;font-weight:800;margin:4px 0}.compact-hint{display:block;font-size:12px;color:var(--muted)}.checkpoint-more{padding:0 16px 16px;border-top:1px solid var(--studio-line)}.checkpoint-more>p:first-child{margin-top:16px}.checkpoint-more .button{max-width:100%}.app-shell .core-action-card{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:24px}.core-action-card>h2,.core-action-card>p{margin:0}.core-action-card>.button{margin-top:auto}.core-action-card>.eyebrow{margin:0}.core-action-card>.eyebrow+h2{margin-top:0}.collection-tabs+.page-head{margin-top:24px}.app-shell .panel>.button+.button{margin-left:12px}
@media(max-width:820px){.app-shell .checkpoint-grid:has(.checkpoint-compact){grid-template-columns:1fr}.app-shell .core-action-card{padding:20px}.checkpoint-compact summary{min-height:0}}
@media(max-width:420px){.app-shell .panel>.button+.button{margin-left:0;margin-top:12px}}

/* Keep only header actions and a clear divider; page titles already live in content. */
.app-shell .topbar{background-color:var(--paper);background-image:linear-gradient(#8c765c14 1px,transparent 1px),linear-gradient(90deg,#8c765c14 1px,transparent 1px);background-size:24px 24px;border-bottom:2px solid var(--ink);box-shadow:none}.app-shell .topbar-actions{margin-left:auto}

/* The collection switcher retains one position below every collection intro. */
.app-shell .collection-head{align-items:start;margin-bottom:24px}.collection-head>div{min-width:0}.app-shell .collection-head>div>p:last-child{min-height:3.3em}.app-shell .collection-head+.collection-tabs{margin-top:0;margin-bottom:24px}
@media(max-width:600px){.app-shell .collection-head>div>p:last-child{min-height:4.95em}}
@media(max-width:380px){.app-shell .collection-head>div>p:last-child{min-height:6.6em}}

/* Profile: one introduction, equal identity cards and results without repeated headings. */
.app-shell .profile-identity-grid{align-items:stretch;grid-auto-rows:1fr}.profile-identity-grid>.school-id{align-self:stretch;height:100%;display:flex;flex-direction:column}.profile-identity-grid>.school-id .id-medals{margin-top:auto}.profile-identity-grid>.panel{height:100%;min-width:0}.app-shell .profile-results-section{margin-top:32px}.profile-results-section>.results-metrics{margin-top:0}

/* Background updates retain the current page without replaying its entrance. */
.app-shell.interaction-update .page-head,
.app-shell.interaction-update .dashboard-grid>.course-hero,
.app-shell.interaction-update .dashboard-side,
.app-shell.interaction-update .skills-columns>.section,
.app-shell.interaction-update .results-analytics>.panel{animation:none!important;opacity:1;transform:none}
.academy-startup{position:fixed;inset:0;z-index:200;background:var(--paper,#f7f2e7);overflow:auto}

/* Theme foundations: the restored sign-in page never loads this stylesheet. */
:root{color-scheme:light}
:root[data-theme=dark]{color-scheme:dark;--paper:#171918;--paper-2:#101010;--card:#090909;--ink:#f5f1e9;--muted:#c8c8c8;--soft:#484848;--studio-line:#757575;--orange:#ff9a70;--red:#ffa39c;--success:#9fdbb4;--shadow:3px 3px 0 #090909;--shadow-sm:2px 2px 0 #090909;--border:1.5px solid #757575}
html[data-theme=dark] body{background:var(--paper);color:var(--ink)}
html[data-theme=dark] .app-shell{--paper:#171918;--paper-2:#101010;--card:#090909;--ink:#f5f1e9;--muted:#c8c8c8;--soft:#484848;--studio-line:#757575;--orange:#ff9a70;--studio-accent:#a83b16;--status-yellow:#f4df8b;background-color:var(--paper);background-image:linear-gradient(#b9c2b00b 1px,transparent 1px),linear-gradient(90deg,#b9c2b00b 1px,transparent 1px)}
html[data-theme=dark] .app-shell .topbar{background-color:var(--paper);background-image:linear-gradient(#b9c2b00b 1px,transparent 1px),linear-gradient(90deg,#b9c2b00b 1px,transparent 1px);border-color:var(--studio-line)}
html[data-theme=dark] .sidebar,html[data-theme=dark] .app-shell .id-top{background:#121212;border-color:var(--studio-line);color:var(--ink)}
html[data-theme=dark] :is(.panel,.module-card,.trainer-checkpoint,.clock-card,.school-id,.quote-card,.notice,.welcome-card,.stat-card,.staff-stat,.quiz-card,.exercise-box,.course-card,.course-hero,.founder-letter,.inbox-row,.academy-dialog,.badge-card,.result-card){background:var(--card);border-color:var(--studio-line);color:var(--ink);box-shadow:var(--shadow-sm)}
html[data-theme=dark] :is(.course-copy,.skill-chapter,.skill-overview,.skill-practice,.skill-resources,.feedback-item,.lesson-side,.lesson-footer,.chapter-overview,.chapter-reading aside,.session-invite,.table-wrap){background:var(--card);color:var(--ink);border-color:var(--studio-line)}
html[data-theme=dark] .app-shell .course-hero[data-discipline]{background:var(--paper-2);border-color:var(--studio-line)}
html[data-theme=dark] .app-shell .clock-card{background:var(--card);border-color:var(--studio-line)}
html[data-theme=dark] :is(input,select,textarea){background:var(--paper-2);color:var(--ink);border-color:var(--studio-line)}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#bcbcbc;opacity:1}
html[data-theme=dark] .button,html[data-theme=dark] .icon-button{background:#3b3b3b;color:var(--ink);border-color:#888888;box-shadow:var(--shadow-sm)}
html[data-theme=dark] .button.primary,html[data-theme=dark] .app-shell :is(.collection-tabs,.activity-tabs,.trainer-tabs) .button.primary,html[data-theme=dark] .app-shell :is(.step-button.active,.skill-contents button[aria-current]){background:#a83b16;color:#fff8f2;border-color:#df815c}
html[data-theme=dark] .button.gradient{background:linear-gradient(135deg,#a03a17,#8f2917);color:#fff;border-color:#df815c}
html[data-theme=dark] .button.text-button,html[data-theme=dark] .back-link{background:transparent;color:var(--ink);box-shadow:none}
html[data-theme=dark] .app-shell :is(.collection-tabs,.activity-tabs,.trainer-tabs,.skill-contents){background:#242424;border-color:var(--studio-line)}
html[data-theme=dark] .app-shell :is(.collection-tabs,.activity-tabs,.trainer-tabs) .button:not(.primary){background:transparent;color:#dedede}
html[data-theme=dark] .app-shell :is(.collection-tabs,.activity-tabs,.trainer-tabs) .button:hover,html[data-theme=dark] .skill-contents button:hover:not([aria-current]){background:#4a4a4a;color:#fff}
html[data-theme=dark] .app-shell .progress-track{background:#484848;border-color:#888888}
html[data-theme=dark] .app-shell .progress-fill{background:#f28a5e}
html[data-theme=dark] .results-analytics .panel:nth-child(3) .progress-fill{background:#d4a5bf}
html[data-theme=dark] .app-shell .calendar-day{background:#3a3a3a;color:var(--ink)}
html[data-theme=dark] .app-shell .calendar-day:hover{background:#505050}
html[data-theme=dark] .app-shell .calendar-day.has-session:not([aria-pressed=true]){background:#4d482e;color:#fff0bc;border-color:#bfb17d}
html[data-theme=dark] .app-shell .calendar-day[aria-pressed=true],html[data-theme=dark] .app-shell .calendar-day[aria-pressed=true]:hover,html[data-theme=dark] .app-shell .session-invite .chip.attendance-confirmed{background:#f4df8b;color:#26261e}
html[data-theme=dark] .app-shell .session-invite{background:var(--paper-2);border-color:var(--studio-line)}
html[data-theme=dark] .app-shell .session-invite .chip:not(.attendance-confirmed){background:#3a3a3a;color:var(--ink);border-color:#888888}
html[data-theme=dark] .chip{background:#3a3a3a;color:var(--ink);border-color:#888888}
html[data-theme=dark] .chip.orange{background:#56321f;color:#ffd1b5}
html[data-theme=dark] .chip.dark{background:#141414;color:#f5f1e9}
html[data-theme=dark] .app-shell .option{background:var(--paper-2);color:var(--ink);border-color:#888888}
html[data-theme=dark] .app-shell .option:hover{background:#414141}
html[data-theme=dark] .app-shell .option:has(input:checked){background:#4b3927;color:#fff3d4;border-color:#f4df8b;box-shadow:inset 3px 0 #f4df8b}
html[data-theme=dark] :is(input[type=radio],input[type=checkbox]){accent-color:#f4df8b}
html[data-theme=dark] .app-shell :is(.score-table th,.score-table td){border-color:var(--studio-line)}
html[data-theme=dark] .app-shell .score-table th{background:#3a3a3a;color:var(--ink)}
html[data-theme=dark] .score-table tr:nth-child(even){background:#242424}
html[data-theme=dark] .app-shell .results-metrics .staff-stat:nth-child(1){background:#0b0b0b}
html[data-theme=dark] .app-shell .results-metrics .staff-stat:nth-child(2){background:#101010}
html[data-theme=dark] .app-shell .results-metrics .staff-stat:nth-child(3){background:#0d0d0d}
html[data-theme=dark] .app-shell .results-metrics .staff-stat:nth-child(4){background:#060606}
html[data-theme=dark] .completion-donut>div{background:var(--card);color:var(--ink)}
html[data-theme=dark] .app-shell .course-coming-soon .course-copy>.button{background:#383838;color:#d4d4d4;border-color:#888888}
html[data-theme=dark] .course-card[data-discipline] .chip{background:transparent;color:#ffd2ac}
html[data-theme=dark] .course-card[data-discipline] .status-note{color:#dedede;border-color:#b8a5d3}
html[data-theme=dark] .app-shell .course-card[data-discipline] .module-actions .button:last-child{background:#3b3b3b;color:var(--ink);border-color:#888888}
html[data-theme=dark] .app-shell :is(.library-controls select,.profile-form input,.profile-form textarea,.panel input,.panel textarea,.panel select){background:var(--paper-2);color:var(--ink);border-color:#888888}
html[data-theme=dark] .app-shell .course-art{filter:drop-shadow(0 3px 3px #0002)}
html[data-theme=dark] .module-art,html[data-theme=dark] .section-art{color:#151b16}
html[data-theme=dark] .skill-diagram img{background:#fffaf1;border-color:#888888}
html[data-theme=dark] .founder-hero,html[data-theme=dark] .founder-hero h2,html[data-theme=dark] .founder-hero .founder-cta{color:#fffaf1}
html[data-theme=dark] :is(.founder-letter-body,.founder-letter-label,.founder-letter-byline,.founder-signature>p:not(.founder-script),.inbox-meta){color:var(--muted)}
html[data-theme=dark] .founder-letter-body{color:var(--ink)}
html[data-theme=dark] :is(.founder-signature .founder-script,.founder-letter-label>span,.inbox-row-marker){color:#ffae82}
html[data-theme=dark] .inbox-row.unread{background:#101010}
html[data-theme=dark] .academy-inbox-button .inbox-count{background:#f4a36a;color:#201c15;border-color:#303030}
html[data-theme=dark] :is(.chapter-toc,.chapter-callout,.founder-letter-header,.founder-letter-action,.chapter-reading table,.reader-actions){border-color:var(--studio-line)}
html[data-theme=dark] .empty{background:var(--paper-2);color:var(--muted)}
html[data-theme=dark] .academy-dialog{background:var(--card);color:var(--ink)}
html[data-theme=dark] .academy-dialog::backdrop{background:#000b}
html[data-theme=dark] .toast{background:#f5f1e9;color:#20251f;border-color:#a2ad99}
html[data-theme=dark] :focus-visible{outline-color:#ffbd92}
html[data-theme=dark] .button:disabled{opacity:.65}
.academy-theme-toggle{flex:0 0 40px}.academy-theme-toggle svg{pointer-events:none}
.app-shell .progress-fill{transform-origin:left center}
.academy-celebration{position:fixed;bottom:24px;right:24px;z-index:150;display:flex;align-items:flex-start;gap:16px;width:min(420px,calc(100vw - 32px));padding:20px 20px 16px;border:1.5px solid var(--ink);border-radius:14px;box-shadow:var(--shadow);background:var(--card);color:var(--ink)}
.academy-celebration strong{font-size:18px;line-height:1.4}.academy-celebration p{font-size:13px;line-height:1.6;margin:8px 0 0}.academy-celebration .icon-button{flex:0 0 36px;width:36px;height:36px;font-size:22px;box-shadow:none}
.academy-confetti{position:fixed;inset:72px 0 0;z-index:145;pointer-events:none;overflow:hidden}.academy-confetti i{position:absolute;top:0;width:9px;height:14px;border-radius:2px}
.crew-activity-list{display:grid;gap:16px}.crew-notice.unread{border-left:4px solid #bc4217}.crew-notice h3{margin:16px 0 8px;font-size:20px}.crew-notice-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:20px}.crew-notice-footer time{font-size:12px;color:var(--muted)}.crew-nav-count{margin-left:auto;min-width:20px;border-radius:6px;padding:1px 5px;background:#f4df8b;color:#24251f;text-align:center;font-size:11px;font-weight:800}.nav-collapsed .crew-nav-count{position:absolute;right:4px;top:4px}.nav-link:has(.crew-nav-count){position:relative}
html[data-theme=dark] .academy-celebration{border-color:var(--studio-line)}
@media(max-width:600px){.academy-celebration{bottom:16px;right:16px;padding:16px}.app-shell .topbar-actions{gap:10px}.academy-confetti{top:64px}}
@media(prefers-reduced-motion:reduce){.academy-confetti{display:none}.app-shell .progress-fill{transition:none}}
@media print{.academy-theme-toggle,.academy-celebration,.academy-confetti{display:none}html[data-theme=dark]{--paper:#fff;--paper-2:#fff;--card:#fff;--ink:#111;--muted:#444}}
html[data-theme=dark] .sidebar-profile{color:#f5f1e9}
html[data-theme=dark] .sidebar-profile small{color:#c8c8c8}
html[data-theme=dark] .portrait-empty{color:#20251f;background:#ff9a70;border-color:#888888}
html[data-theme=dark] .crew-notice.unread{border-left-color:#ff9a70}
/* Lesson video: maintain a single clipped 16:9 viewport on narrow devices. */
.lesson-main .chapter-video{min-width:0;max-width:100%;}
.lesson-main .chapter-video-player{position:relative;width:100%;max-width:100%;aspect-ratio:16 / 9;overflow:hidden;border:2px solid var(--ink);border-radius:14px;background:#111;isolation:isolate;}
.lesson-main .chapter-video-player>iframe{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;aspect-ratio:auto;border:0;border-radius:0;margin:0;padding:0;}
@media(max-width:600px){
  .lesson-main .chapter-video-player{border-radius:10px;container-type:inline-size;}
  /* Google Drive's mobile embed crops its preview at narrow iframe widths.
     Give its internal player a desktop-sized viewport, then scale the complete
     16:9 player down into the Academy's responsive video placeholder. */
  .lesson-main .chapter-video-player>iframe[src*="drive.google.com"]{
    inset:0 auto auto 0;width:800px;height:450px;max-width:none;max-height:none;
    transform-origin:top left;transform:scale(var(--drive-embed-scale, .45));
  }
}
