:root{--brand-soft:#e6eddc;--brand-softer:#f5f8ef;--brand-pale:#dfebce;--brand-on-dark:#e7eedc;--brand-muted-on-dark:#b6cbc0}
.heading{background:var(--brand-soft);border-color:var(--line)}.heading p,.eyebrow,.toolbar select,.access,.link,.stat-icon,.stat span,.calendar,.calendar small,.schedule-day h3,.schedule-slot time,.subject-tags span,.exam-contents summary,.steps strong{color:var(--muted)}.heading .hero-lines span{border-color:var(--green)}.brand>.logo,.mobile-brand>.logo,.auth-identity>.logo{flex-shrink:0}.logo.school-logo{background:#fff!important;padding:4px;color:var(--green)}.school-logo img{width:100%;height:100%;object-fit:contain;border-radius:8px}.mobile-brand>.school-logo img{border-radius:5px}.brand small,.school span,.side-bottom,.side-bottom small{color:var(--brand-muted-on-dark)}nav button{color:var(--brand-muted-on-dark)}nav button.active{background:var(--brand-pale);color:var(--green)}nav button.active:hover{background:var(--brand-pale);color:var(--green)}.brand>.logo,.logo{background:var(--brand-pale);color:var(--green)}.primary:hover{background:var(--green);filter:brightness(1.15)}.tip h2,.tip{color:var(--brand-on-dark)}.tip p,.tip .eyebrow{color:var(--brand-muted-on-dark)}.toolbar select,.access,.stat-icon,.calendar,.mini-avatar,.subject-tags span,.schedule-day,.exam-contents,.app-preview{background:var(--brand-softer);border-color:var(--line)}.stat:nth-child(2) .stat-icon,.stat:nth-child(3) .stat-icon{background:var(--brand-soft);color:var(--muted)}.note{border-color:var(--line);background:var(--brand-softer);color:var(--muted)}input,textarea,dialog select{border-color:var(--line);background:#fff}.check input{accent-color:var(--green)}fieldset,.entry-foot,.event,.schedule-slot,.account-row,table td,table th{border-color:var(--line)}.auth-card,.auth-note{border-color:var(--line)}#auth{background:radial-gradient(ellipse at 15% 15%,var(--brand-soft),transparent 65%),var(--bg)}.auth-identity .logo{background:var(--green);color:var(--brand-on-dark)}.empty{color:var(--muted);border-color:var(--line)}.palette-picker{max-height:none;padding:18px;margin:22px 0;border-color:var(--line)}.palette-picker legend{color:var(--ink);font-size:12px;font-weight:600}.palette-picker .help{margin:0 0 15px;font-size:11px}.palette-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.palette-option{position:relative;display:flex!important;flex-direction:column;gap:9px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;font-size:10px!important;font-weight:400!important;margin:0!important;min-width:0}.palette-option:has(input:checked){outline:2px solid var(--green);border-color:transparent;background:var(--brand-softer)}.palette-option input{position:absolute;right:7px;top:7px;width:13px;height:13px;min-height:0;margin:0;accent-color:var(--green);padding:0}.palette-swatches{display:flex;gap:3px;padding-right:12px;height:25px}.palette-swatches i{display:block;flex:1;border-radius:4px}.palette-option>span:last-child{font-size:10px;line-height:1.5}.logo-upload{padding:4px 0 18px}.logo-upload label{font-size:12px}.logo-upload input[type=file]{font-size:11px;padding:11px;min-height:42px}.logo-upload .help{margin:8px 0 3px}.logo-status{font-size:11px;color:var(--muted);line-height:1.7;margin-top:5px}.identity-preview{display:grid;grid-template-columns:125px minmax(0,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:15px 0 0;min-height:184px;font-family:'DM Sans',system-ui,sans-serif}.preview-sidebar{background:var(--green);color:var(--brand-on-dark);padding:19px 14px;display:flex;flex-direction:column;gap:13px}.preview-sidebar strong{font-size:10px;line-height:1.6;overflow-wrap:anywhere;font-weight:600}.preview-sidebar>span:last-child{padding:7px;background:var(--brand-pale);color:var(--green);border-radius:5px;font-size:8px}.preview-logo{display:grid;place-items:center;width:40px;height:41px;background:#fff;border-radius:9px;font:800 31px Manrope,sans-serif;color:var(--green);padding:3px}.preview-logo img{width:100%;height:100%;object-fit:contain}.preview-main{background:var(--bg);padding:24px 20px;color:var(--ink)}.preview-main .eyebrow{font-size:7px;color:var(--muted);display:block;margin-bottom:12px}.preview-main h3{font:800 17px/1.5 Manrope,sans-serif;margin:0 0 8px;letter-spacing:-.4px}.preview-main p{font-size:9px;color:var(--muted)}.preview-button{display:inline-block;background:var(--green);color:#fff;padding:9px 12px;border-radius:6px;font-size:9px;margin-top:16px}.auth-card .palette-options{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-card .identity-preview{grid-template-columns:90px minmax(0,1fr)}.auth-card .preview-main{padding:17px 13px}.auth-card .preview-main h3{font-size:14px}.auth-card .palette-picker{padding:13px}
@media(max-width:700px){nav button.active,nav button:hover{background:var(--brand-softer);color:var(--green)}.mobile-brand>.logo{background:var(--green);color:var(--brand-on-dark)}.palette-options{grid-template-columns:repeat(2,minmax(0,1fr))}.identity-preview{grid-template-columns:95px minmax(0,1fr)}.preview-main{padding:19px 14px}.preview-main h3{font-size:15px}.preview-sidebar{padding:16px 10px}.palette-picker{padding:14px}.logo-upload input[type=file]{max-width:100%;font-size:11px}.auth-card .palette-picker .help{font-size:10px}.settings .palette-option input{font-size:12px}.settings .logo-upload input{font-size:12px}}
.school-identity{display:flex;align-items:center;gap:11px;min-width:0}.school .school-identity>.logo{display:grid;width:42px;height:44px;margin:0;flex:0 0 42px;font-size:34px;letter-spacing:0;border-radius:10px}.school-identity>strong{min-width:0;line-height:1.65;overflow-wrap:anywhere;font-size:12px}.school .school-identity>.school-logo{padding:4px}.preview-school{display:flex;align-items:center;gap:8px;min-width:0}.preview-school .preview-logo{width:30px;height:32px;flex:0 0 30px;font-size:25px}.preview-school strong{font-size:9px;line-height:1.5;overflow-wrap:anywhere;min-width:0}.auth-identity>strong{overflow-wrap:anywhere;line-height:1.25}.mobile-brand>strong{overflow-wrap:anywhere;white-space:normal;line-height:1.4;max-width:160px}.mobile-brand{min-width:0}@media(max-width:900px){.school-identity{gap:8px}.school .school-identity>.logo{width:34px;height:36px;flex-basis:34px;font-size:29px}.school-identity>strong{font-size:11px}}@media(max-width:700px){.mobile-brand>strong{max-width:140px;font-size:12px!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.mobile-brand .school-logo{width:34px;height:36px}.profile .account-label{max-width:70px}.preview-school{gap:6px}.preview-school .preview-logo{width:26px;height:28px;flex-basis:26px;font-size:22px}.preview-school strong{font-size:8px}}
/* Shared school identity stays visible across all application sections. */
.school-page-header{height:auto;min-height:132px;display:flex;align-items:center;justify-content:space-between;gap:26px;padding:22px 40px;background:linear-gradient(110deg,#fff 45%,var(--brand-softer));border-bottom:3px solid var(--green);position:sticky;top:0;z-index:25;box-shadow:0 3px 14px #00000005}.header-school{display:flex;align-items:center;gap:20px;flex:1;min-width:0}.school-page-header .header-school>.logo{width:78px;height:80px;flex:0 0 78px;border-radius:16px;display:grid;place-items:center;background:var(--brand-soft);color:var(--green);font-size:62px;border:1px solid var(--line)}.school-page-header .header-school>.school-logo{padding:7px;background:white!important}.header-school>.school-logo img{width:100%;height:100%;object-fit:contain;border-radius:8px}.header-school-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.header-school-copy>small{font-size:9px;font-weight:600;letter-spacing:1.8px;color:var(--muted)}.school-page-header .header-school-copy>[data-school-title]{font:800 clamp(24px,2.3vw,34px)/1.25 Manrope,system-ui,sans-serif;letter-spacing:-.8px;color:var(--green);overflow-wrap:anywhere}.header-school-copy .header-section{font-size:10px;color:var(--muted);line-height:1.6;display:block}.header-section b{margin:0 9px;font-weight:400;color:var(--muted)}.header-school-copy #viewLabel{font-size:10px;font-weight:500;color:var(--ink)}.school-page-header>.profile{flex-shrink:0;max-width:230px}.school-page-header .account-label{max-width:150px}.auth-identity>.logo{width:84px;height:86px;font-size:70px}.auth-identity>strong{font-size:42px}
@media(max-width:1100px){.school-page-header{padding:20px 28px;gap:20px;min-height:126px}.school-page-header .header-school>.logo{width:66px;height:68px;flex-basis:66px;font-size:55px}.header-school{gap:15px}.school-page-header .header-school-copy>[data-school-title]{font-size:27px}.school-page-header .account-label{max-width:105px}.school-page-header>.profile{max-width:170px}}
@media(max-width:850px) and (min-width:701px){.school-page-header{align-items:flex-start;flex-wrap:wrap;gap:12px;padding:20px 24px}.header-school{flex-basis:100%}.school-page-header>.profile{margin-left:auto;max-width:none}.school-page-header .account-label{max-width:200px}}
@media(max-width:700px){.school-page-header{padding:18px 18px 10px;padding-top:calc(18px + env(safe-area-inset-top));min-height:0;flex-direction:column;align-items:stretch;gap:13px;border-bottom-width:3px;position:sticky;top:0}.header-school{gap:14px;width:100%;flex:initial;align-items:center}.school-page-header .header-school>.logo{width:64px;height:66px;flex-basis:64px;font-size:52px;border-radius:13px}.school-page-header .header-school>.school-logo{padding:5px}.header-school-copy{gap:6px;flex:1}.header-school-copy>small{font-size:8px;letter-spacing:1.4px}.school-page-header .header-school-copy>[data-school-title]{font-size:23px!important;line-height:1.3;letter-spacing:-.5px;display:block;max-width:none;white-space:normal;overflow-wrap:anywhere}.header-school-copy .header-section,.header-school-copy #viewLabel{font-size:9px}.school-page-header>.profile{max-width:none;width:100%;padding-top:8px;border-top:1px solid var(--line);justify-content:flex-end;gap:9px}.school-page-header .account-label{max-width:calc(100% - 90px);font-size:10px}.school-page-header .account-label small{font-size:8px}.school-page-header .avatar{width:29px;height:29px}.school-page-header .profile .link{padding:8px 5px}.auth-identity{align-items:center}.auth-identity>.logo{width:56px;height:58px;font-size:47px;flex:0 0 56px}.auth-identity>strong{font-size:27px;line-height:1.3}}
