:root{--ink:#123d56;--teal:#08756b}.pilot-ribbon{background:#fff4de;color:#604816;padding:9px 24px;text-align:center;font-size:12px;line-height:1.5}.pilot-ribbon strong{margin-right:8px}.brand img{width:43px;height:40px;object-fit:contain;background:white;border-radius:7px;padding:3px;vertical-align:middle}.brand{font-size:23px}.brand small{letter-spacing:2px}.pilot-public{max-width:1240px;margin:auto;padding:24px 32px 48px}.pilot-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:40px}.master-word{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:26px;font-weight:800}.master-word img{height:55px;width:67px;object-fit:contain}.master-word small{display:block;letter-spacing:2px;font-size:10px;margin-top:4px;text-transform:uppercase}.pilot-hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:52px;margin:35px 0 50px}.pilot-hero h1{font-size:clamp(34px,4vw,53px);line-height:1.12;letter-spacing:-2px}.pilot-hero em{font-style:normal;color:var(--teal)}.pilot-hero p{font-size:17px;line-height:1.8}.hero-classroom{background:#123d56;border-radius:22px;padding:30px;color:white;box-shadow:0 16px 45px #123d5614}.hero-classroom p{color:#cce0e7}.hero-classroom .mini-white{background:white;color:var(--ink);border-radius:13px;padding:18px;margin-top:20px}.mini-white p{color:#50656d;font-size:14px}.hero-flow{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.hero-flow span{background:#ffffff15;padding:8px 12px;border-radius:9px;font-size:12px}.public-three{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.public-three .card{margin:0}.public-three h2{font-size:23px}.pilot-fees{padding:26px;border:1px solid #c7ddd6;background:#eaf5f0;border-radius:17px;margin-top:30px;display:flex;gap:32px;align-items:center}.pilot-fees .big-zero{font-size:58px;font-weight:800;color:var(--teal);white-space:nowrap}.login-layout{display:grid;grid-template-columns:1fr 1fr;gap:35px;max-width:960px;margin:20px auto}.login-card{padding:32px}.login-card button.primary{width:100%;margin-top:20px}.login-accounts{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.login-accounts button{font-size:12px}.sidebar .brand{margin-bottom:12px}.sidebar{position:sticky;top:0;max-height:100vh;min-height:100vh;overflow:auto}.sidebar p{color:#b6d2d0;font-size:12px}.cohort-brand{border:1px solid #cdddd7;background:linear-gradient(110deg,var(--brand-soft,#eaf5f0),white);padding:22px 24px;border-radius:17px;display:flex;align-items:center;gap:20px;margin-bottom:26px}.cohort-brand h2{font-size:25px;margin:3px 0 5px}.cohort-brand p{margin:0}.cohort-brand small{font-size:11px;color:#516b70}.cohort-brand .teacher-portrait{flex-shrink:0}.cohort-brand .brand-actions{margin-left:auto}.pilot-top-actions{display:flex;align-items:center;gap:10px}.pilot-top-actions select{max-width:215px;font-size:12px}.cp-badge{padding:5px 9px;border-radius:7px;background:#e6f1ed;font-size:11px;color:#215e54}.workflow-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:25px}.workflow-step{border:1px solid var(--line);background:white;padding:17px;border-radius:12px}.workflow-step strong{display:block;margin:6px 0;font-size:15px}.workflow-step small{font-size:11px;color:var(--muted)}.workflow-step .step-number{margin-bottom:12px}.workflow-step.complete{border-color:#93c8b8;background:#f3faf6}.assignment-actions{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px;gap:12px;flex-wrap:wrap}.lesson-card-simple{padding:18px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}.lesson-card-simple small{font-size:11px;color:var(--muted)}.lesson-card-simple h3{margin:4px 0}.activity-item{border-top:1px solid var(--line);padding:15px 0}.activity-item:first-child{border-top:0}.activity-item p{font-size:13px}.activity-item time{font-size:10px;color:var(--muted)}.feedback-card{border-left:3px solid #258e80;padding:14px 18px;background:#f2f9f5;margin:12px 0}.feedback-card p{white-space:pre-wrap;overflow-wrap:anywhere}.question-card{border:1px solid var(--line);padding:18px;border-radius:12px;margin:16px 0}.question-card p,.case-message p{white-space:pre-wrap;overflow-wrap:anywhere}.question-card .reply{background:#edf7f2;padding:15px;margin-top:12px;border-radius:10px}.case-list{display:grid;gap:12px}.case-summary{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:19px;border:1px solid var(--line);border-radius:12px;background:white}.case-summary h3{margin:6px 0}.case-summary p{margin:0;font-size:12px}.case-title-line{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.case-message{border-left:2px solid #a7cbbb;padding:0 0 12px 18px;margin:18px 0}.case-message small{font-size:10px;color:var(--muted)}.staff-note{padding:10px;background:#fff5e6;border-radius:8px;font-size:12px}.staff-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.staff-card{padding:20px;border:1px solid var(--line);border-radius:13px;margin-top:16px}.staff-card small{font-size:11px;color:var(--muted)}.brand-editor-layout{display:grid;grid-template-columns:1.3fr .9fr;gap:24px}.brand-preview-card{background:var(--brand-soft,#edf7f3);border:1px solid #bdd9d0;padding:28px;border-radius:16px}.brand-preview-card h2{font-size:29px;margin-top:25px}.brand-preview-card .teacher-portrait{margin-bottom:10px}.profile-options{display:flex;gap:10px;flex-wrap:wrap}.profile-options label{display:flex;align-items:center;gap:7px;border:1px solid var(--line);padding:10px;border-radius:9px}.saved-line{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.saved-dot{width:7px;height:7px;background:#348467;border-radius:50%;display:inline-block}.walkthrough-step{display:flex;gap:14px;padding:15px 0;border-bottom:1px solid var(--line)}.walkthrough-step h3{margin-bottom:4px}.walkthrough-step p{font-size:13px}.walkthrough-step .step-number{flex-shrink:0}.check-message{padding:12px 16px;background:#edf7f2;border-radius:10px}.notice-count{display:inline-grid;place-items:center;min-width:21px;padding:2px 5px;border-radius:6px;background:#def2e7;color:#145849;font-size:11px}.time-note{font-size:11px;color:var(--muted);margin-top:4px}.mobile-nav{display:none}.brand-edit-preview img.business-logo{width:100px;height:70px;object-fit:contain}.file-guidance{font-size:11px;color:var(--muted)}.review-response .response-attempt p{white-space:pre-wrap}.review-instructions p{white-space:pre-wrap}.pilot-footer{font-size:11px;color:#536d74;margin-top:26px}.pilot-link{display:inline-block;padding:10px 16px;text-decoration:none;border:1px solid #bdd5cc;border-radius:9px;background:#fff;font-size:13px}.review-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.topbar{flex-wrap:wrap}.time-select{max-width:240px}.teacher-portrait{max-width:72px;max-height:72px;object-fit:cover;border-radius:14px}.draft-alert{margin-top:12px;font-size:12px}.callout.warn strong{color:#6d4814}.tabs{scrollbar-width:thin}#notice{white-space:pre-wrap}button.text-button{white-space:normal;text-align:left}@media(max-width:1050px){.pilot-hero{gap:25px}.workflow-steps{grid-template-columns:repeat(2,1fr)}.pilot-top-actions{flex-wrap:wrap}.brand-editor-layout,.staff-grid{grid-template-columns:1fr}.review-grid{grid-template-columns:1fr}}@media(max-width:720px){.pilot-public{padding:20px 16px}.pilot-hero,.public-three,.login-layout{grid-template-columns:1fr}.pilot-hero h1{font-size:38px}.pilot-hero{margin-top:15px}.pilot-head{margin-bottom:20px}.pilot-head .actions{max-width:160px}.pilot-fees{align-items:flex-start;gap:20px}.pilot-fees .big-zero{font-size:43px}.mobile-nav{display:flex;gap:6px;overflow:auto;padding:10px 15px;background:white;border-bottom:1px solid var(--line)}.mobile-nav button{white-space:nowrap;font-size:12px;padding:8px 12px}.cohort-brand{padding:18px;gap:13px;flex-wrap:wrap}.cohort-brand h2{font-size:21px}.cohort-brand .brand-actions{margin-left:0}.pilot-top-actions{gap:6px}.pilot-top-actions select{max-width:180px}.topbar{gap:10px}.workflow-step{padding:14px}.case-summary{display:block}.case-summary>button{margin-top:14px}.review-metrics{grid-template-columns:1fr 1fr}.pilot-ribbon{padding:8px 12px;font-size:10px}.time-select{max-width:210px}.studio-choice small{font-size:12px}.heading h1{overflow-wrap:anywhere}}

/* 1.7.2: business identity and personal portrait are separate visual elements. */
.cohort-brand>.business-logo,.brand-preview-card>.business-logo{display:block;width:104px;height:76px;object-fit:contain;flex:0 0 104px;background:#fff;border:1px solid #d5e3df;border-radius:10px;padding:6px}
.cohort-brand-copy{min-width:0;overflow-wrap:anywhere}
.brand-preview-card>.business-logo{margin-bottom:16px}
.mobile-master-brand{display:none}
@media(max-width:720px){
 .mobile-master-brand{display:inline-flex;align-items:center;gap:7px;padding:0;margin:0 0 8px;border:0;background:transparent;color:var(--ink);font-size:17px;font-weight:800}
 .mobile-master-brand img{width:38px;height:30px;object-fit:contain;background:#fff;border-radius:5px}
 .cohort-brand>.business-logo{width:84px;height:62px;flex-basis:84px}
 .cohort-brand-copy{flex:1 1 160px}
 .cohort-brand .brand-actions{flex-basis:100%}
}

/* A compact workspace is a viewing preference; role, account and safety controls remain in the top bar. */
.layout.workspace-menu-collapsed{grid-template-columns:minmax(0,1fr)}
.workspace-menu-collapsed>.sidebar{display:none}
.workspace-navigation-mobile{display:none}
.workspace-top-identity{min-width:0}
.workspace-menu-toggle{display:flex;align-items:center;gap:8px;min-height:40px;margin-bottom:12px;font-size:12px;padding:8px 11px;background:#f5f8f7;border-color:#c3d7d0;white-space:nowrap}
.workspace-menu-toggle>span:first-child{font-size:18px;line-height:1}
.branding-return{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 22px}
.branding-return p{font-size:12px;margin:0}
@media(max-width:720px){.workspace-navigation-mobile{display:block}.workspace-menu-collapsed .workspace-navigation-mobile{display:none}.workspace-menu-toggle{min-height:44px;margin-bottom:10px}.workspace-top-identity{width:100%}.branding-return{gap:8px}}

/* 1.7.3: logo-first teaching identity; a labelled, secondary teacher portrait. */
.teaching-logo-slot{width:156px;min-height:88px;flex:0 0 156px;display:flex;align-items:center;justify-content:center;background:white;border:1px solid #d5e3df;border-radius:12px;padding:10px;overflow:hidden}
.teaching-logo-slot .business-logo{display:block;width:100%;height:76px;max-height:90px;object-fit:contain;border:0;border-radius:0;padding:0;margin:0;background:transparent}
.teaching-logo-initials{font-size:30px;font-weight:800;color:var(--teal);letter-spacing:1px;line-height:1.2}
.teacher-byline{display:flex;gap:10px;align-items:center;margin-top:15px;min-width:0}
.teacher-byline .teacher-portrait{width:36px!important;height:36px!important;max-width:36px;max-height:36px;flex:0 0 36px;border-radius:50%;object-fit:cover;border:2px solid #fff;margin:0!important;font-size:12px;box-shadow:0 0 0 1px #d3e2dc}
.teacher-byline .teacher-avatar svg{width:24px;height:24px}.teacher-byline-label{display:block;font-size:10px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:1px}.teacher-byline strong{display:inline;font-size:13px;font-weight:650}.teacher-byline small{display:inline;margin-left:8px;color:var(--muted);font-size:11px}.teacher-byline>div{min-width:0;overflow-wrap:anywhere}
.cohort-brand .cohort-brand-copy{flex:1 1 200px}.cohort-brand .teacher-byline{margin-top:12px}
.brand-preview-card .teaching-logo-slot{width:190px;min-height:108px;margin-bottom:23px}.brand-preview-card .teaching-logo-slot .business-logo{width:100%;height:86px}.brand-preview-card h2{margin-top:8px}.brand-preview-card .teacher-byline{margin:20px 0;padding:14px 0;border-top:1px solid #cfe0d8;border-bottom:1px solid #cfe0d8}
.brand-section-title{margin-top:24px}.brand-asset-sample{display:flex;align-items:center;justify-content:center;width:100%;height:96px;background:#f7faf9;border:1px dashed #b9d0c5;border-radius:10px;margin:12px 0}.brand-asset-sample .business-logo{display:block;width:240px;max-width:100%;height:76px;object-fit:contain}.logo-empty{font-size:13px;color:var(--muted)}.asset-state{font-size:12px;color:var(--teal);line-height:1.6}.brand-preview-label{font-size:12px;font-weight:700;margin:0 0 10px}
@media(max-width:720px){.cohort-brand{align-items:flex-start}.cohort-brand>.teaching-logo-slot{width:100px;min-height:75px;flex:0 0 100px;padding:8px}.cohort-brand>.teaching-logo-slot .business-logo{height:59px}.cohort-brand .cohort-brand-copy{flex:1 1 145px}.cohort-brand h2{font-size:20px}.teacher-byline small{display:block;margin-left:0}.brand-preview-card .teaching-logo-slot{max-width:100%}.brand-editor-layout>aside{min-width:0}}

/* Task access stays visible within the selected classroom and wraps at narrow widths. */
.teaching-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.teaching-action-grid button{min-height:92px;text-align:left;white-space:normal;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;padding:16px;line-height:1.45}.teaching-action-grid strong{font-size:14px}.teaching-action-grid small{font-size:12px;line-height:1.5;color:inherit;opacity:1}.class-invite-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.class-invite-entry p{margin:0}.portal-class-shortcuts{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--line,#d6e4df)}.portal-class-shortcuts button{font-size:12px;white-space:normal;min-height:40px;flex:1 1 100px}.portal-class-shortcuts button span{display:none}
:where(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #153e67;outline-offset:3px;box-shadow:0 0 0 6px #fff}.sidebar :where(button,a,summary):focus-visible{outline-color:#fff;box-shadow:0 0 0 6px #153e67}#main{scroll-margin-top:15px}.skip:focus{z-index:1000}
@media(max-width:1000px){.teaching-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.pilot-top-actions :is(button,a,select),.workspace-navigation-mobile button,.portal-class-shortcuts button{min-height:44px}.mobile-nav{flex-wrap:wrap;overflow:visible}.mobile-nav .side-tools{flex-basis:100%}.mobile-nav .side-tools[open]{display:grid;gap:7px}.class-invite-entry>button{width:100%}}@media(max-width:420px){.teaching-action-grid{grid-template-columns:1fr}.teaching-action-grid button{min-height:78px}}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}.workflow-step,.portal-class-card,.teaching-action-grid button{transition:none}}

/* Filled task cards inherit the theme’s contrasting button text colour. */
.teaching-actions .teaching-action-grid button.primary small{color:inherit!important;opacity:1}

/* Unified 2.8.1: compact workspace header. The menu control and account context
   share one line instead of reserving a tall blank block above every page. */
.workspace-topbar{min-height:58px;padding:9px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;position:sticky;top:0;z-index:18;box-shadow:0 1px 0 rgba(19,55,59,.03)}
.workspace-top-identity{display:flex;align-items:center;gap:10px;min-width:0;width:auto}
.workspace-menu-toggle{flex:0 0 auto;min-height:36px;margin:0;padding:7px 10px;border-radius:8px}
.workspace-top-context{display:grid;gap:2px;min-width:0}
.workspace-top-line{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap}
.workspace-top-line .portal-badge{margin:0;flex:0 0 auto}
.workspace-top-line .breadcrumb{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-account-name{font-size:13px!important;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto}
.workspace-saved-line{font-size:10px;line-height:1.25;white-space:nowrap}
.pilot-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.workspace-topbar .pilot-top-actions :is(button,a,select){min-height:36px;padding:7px 10px;font-size:12px}
.workspace-topbar .pilot-top-actions select{max-width:190px}
.content.portal-content{padding-top:20px}
.content.portal-content>.portal-back{margin-bottom:12px}
.content.portal-content>.cohort-brand{margin-bottom:16px}
.content.portal-content>.heading{margin-bottom:16px}
.content.portal-content>.tabs{margin-bottom:20px}
@media(max-width:1180px){
 .workspace-topbar{grid-template-columns:1fr;padding:8px 16px;gap:7px}
 .pilot-top-actions{justify-content:flex-start}
}
@media(max-width:720px){
 .workspace-topbar{position:relative;padding:8px 12px}
 .workspace-top-identity{width:100%;align-items:flex-start;flex-wrap:nowrap}
 .workspace-menu-toggle{min-height:40px;margin:0}
 .mobile-master-brand{margin:3px 0 0}
 .workspace-top-context{flex:1;min-width:0}
 .workspace-top-line{flex-wrap:wrap;white-space:normal;gap:5px 7px}
 .workspace-top-line .breadcrumb{flex:1 1 140px}
 .workspace-account-name{max-width:150px}
 .workspace-saved-line{display:none}
 .pilot-top-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
 .workspace-topbar .pilot-top-actions :is(button,a,select){width:100%;min-width:0;max-width:none;text-align:center}
 .content.portal-content{padding-top:14px}
}
@media(max-width:440px){.pilot-top-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-account-name{display:none}}
