/* Usability improvements built on the existing school blue and slate palette. */
:root{--muted:#52627a;--blue:#3046d3}
body{color:#1d2b43}
.workspace{max-width:1360px;padding:28px 36px 40px}
.sidebar{padding:22px 18px;gap:18px}
.brand{font-size:24px}.brand-sub{font-size:11px;line-height:1.5}
.school-block{padding-bottom:16px}.school-block strong{font-size:13px}
#side-nav{display:grid;gap:12px}
#side-nav button{min-height:42px;padding:10px 13px;color:#c7d2e5;font-size:14px}
#side-nav button.active{color:#fff;background:#3046d3}
.nav-label,.nav-group summary{display:block;font-size:11px;font-weight:650;letter-spacing:.5px;color:#a8b8d3;margin:4px 12px 7px}
.nav-group summary{cursor:pointer;min-height:32px;padding-top:7px;display:list-item;list-style:disclosure-closed}
.nav-group[open] summary{list-style:disclosure-open}
.nav-group button{width:100%;margin:2px 0}
.sidebar-footer{margin-top:auto}.sidebar-footer span{color:#b2c0d7}
.topbar{height:64px;padding:0 36px;color:#42536d}
.top-actions button{color:#42536d;font-size:13px}
#connection-notice{background:#edf2fb;color:#4c5e7a;font-size:12px;padding:8px 36px}
.page-heading{position:relative;gap:18px;margin-bottom:24px;align-items:flex-start}
.page-heading h1{font-size:29px;line-height:1.4;letter-spacing:-.6px}
.page-heading p{color:#52627a;font-size:14px;line-height:1.7}
.anchor-date{margin-left:auto}.anchor-date span{color:#52627a;font-size:12px}
.jump-today{align-self:flex-end;min-height:42px;white-space:nowrap}
.help,.event-dates,.detail-source,.detail-grid dt,.form-grid label,.form-stack>label,.doc-card p,.update-card p,.footnote{color:#52627a}
.help{font-size:14px}.footnote{font-size:12px}
.tag{color:#405777;background:#edf2fa;font-size:12px}
.status{font-size:12px;padding:4px 8px}.status.documented{color:#46566e;background:#edf1f7}
.status.confirmed{color:#176647;background:#e5f5ec}.status.needs_review{color:#805415;background:#fff0ca}
.status.cancelled{color:#962a3d;background:#ffe8ed}.status.tentative{color:#6946a5;background:#f0eafd}
.event-card{padding:20px;box-shadow:0 2px 6px #22375305;border-color:#dbe2ee}
.event-title{font-size:17px;font-weight:650;line-height:1.6}
.event-dates{font-size:14px;line-height:1.7}.event-category{font-size:12px}
.icon-button{min-width:44px;min-height:44px;color:#425db0;background:#edf2fc}
.event-card:focus-within{border-color:#3046d3}
.summary-card span,.summary-card b{color:#52627a}.summary-card:first-child span,.summary-card:first-child b{color:#fff}
.summary-card{border-radius:12px}.summary-card strong{font-size:32px}
.button,.text-button,.export-actions button,.action-grid button,.action-grid a,.admin-tabs button,.calendar-header button,.close{min-height:44px}
.button.secondary,.action-grid button,.action-grid a,.admin-row button{color:#365291;border-color:#cbd7ec}
.segmented button{min-height:42px;color:#425674}.segmented button[aria-pressed=true]{color:#233ba6}
.export-actions{gap:8px}.export-actions button{padding:8px 12px;border:1px solid #d3dcec;border-radius:7px;color:#405575;background:#fff}
#active-filters{color:#52627a;font-size:13px;margin-bottom:12px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #3046d3;outline-offset:3px}
input,select,textarea{color:#22334d;border-color:#c7d1e1}input::placeholder,textarea::placeholder{color:#65738a}
.day-summary{border:1px solid #ccd8ed;border-radius:12px;background:#fff;padding:23px;margin:0 0 24px;box-shadow:0 3px 14px #22375305}
.day-summary-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.day-summary h2{font-size:20px;line-height:1.5;margin:5px 0 0}
.day-summary-heading label{display:grid;gap:6px;color:#52627a;font-size:12px;min-width:140px}
.day-summary-heading select{min-height:44px;background:#f8faff}
.day-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.day-facts>div{border:1px solid #e0e6f0;border-radius:9px;background:#f7f9fd;padding:15px;display:grid;gap:8px}
.day-facts span{color:#52627a;font-size:13px}.day-facts strong{font-size:23px;line-height:1.45}
.day-state.regular{color:#176647}.day-state.suspended,.day-state.holiday{color:#8c3b23}.day-state.unknown{font-size:18px;color:#6e5634}
.day-explanation,.context-hint{font-size:14px;line-height:1.8;color:#52627a;margin:15px 0 0}
.day-exceptions{display:flex;gap:4px 14px;flex-wrap:wrap;margin-top:10px}
.day-exceptions .text-button{text-align:left;font-size:14px}
.day-evidence{font-size:13px;color:#52627a;line-height:1.8;border-top:1px solid #e0e6f0;margin-top:16px;padding-top:12px}
.day-evidence summary{cursor:pointer;min-height:32px;color:#365291}.day-evidence p{margin:8px 0}
.admin-heading h2{font-size:22px}.admin-heading p{font-size:14px;color:#52627a}
.admin-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}
.admin-tab-group{background:#edf2fa;border:1px solid #dae2ef;padding:10px;border-radius:10px;display:flex;align-content:flex-start;flex-wrap:wrap;gap:5px}
.admin-tab-group>span{width:100%;font-size:12px;font-weight:650;color:#52627a;margin:0 4px 3px}
.admin-tabs button{background:transparent;color:#405575;font-size:13px;padding:8px 10px}
.admin-tabs button.active{background:#3046d3;color:white}
.stat{display:block;text-align:left;color:#1d2b43;width:100%}.stat strong{color:#3046d3}.stat span{color:#52627a;font-size:13px}
button.stat:hover{border-color:#3046d3;background:#f8faff}
.admin-row{padding:16px}.admin-row h3{font-size:16px;line-height:1.5}.admin-row p{color:#52627a;font-size:13px}
.admin-row-actions{gap:7px}.admin-row-actions .button{font-size:13px}
.admin-row details{position:relative}.admin-row summary{cursor:pointer;min-height:44px;padding:10px 12px;color:#365291;font-size:13px;border:1px solid #cbd7ec;border-radius:7px;list-style:none}
.admin-row details[open]{display:flex}.admin-row details[open] .secondary-actions{display:flex;flex-wrap:wrap;gap:6px;padding-top:7px}
.admin-pagination{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:18px 0;color:#52627a;font-size:14px}
.admin-pagination>div{display:flex;gap:8px}.admin-pagination button{min-height:44px}
.large-text .help,.large-text .event-dates,.large-text .tag,.large-text .day-explanation{font-size:16px}
@media(max-width:1100px){.workspace{padding:24px}.admin-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .workspace{padding:22px 16px 100px}.sidebar{gap:14px}.topbar{padding:0 12px;min-height:60px}.top-actions button{font-size:12px;min-height:44px}#language{display:block}
 #connection-notice{padding:8px 16px;font-size:12px}.page-heading h1{font-size:25px}.page-heading p{font-size:14px}.page-heading{display:flex;flex-wrap:wrap;gap:12px}
 .page-heading>div{width:100%}.anchor-date{flex:1;margin:0;min-width:0}.anchor-date input{min-height:44px;min-width:0}.jump-today{padding:8px;font-size:13px}
 .day-summary{padding:17px}.day-summary-heading{align-items:flex-start;gap:10px}.day-summary h2{font-size:18px}.day-summary-heading label{min-width:106px}
 .day-facts{grid-template-columns:1fr 1fr;gap:8px}.day-facts>div:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.day-facts>div{padding:12px}.day-facts strong{font-size:20px}
 .summary-grid{gap:8px}.summary-card{padding:13px 10px}.summary-card span{font-size:12px;line-height:1.6}.summary-card b{font-size:13px}.summary-card strong{font-size:28px}
 .event-card{padding:17px 12px;grid-template-columns:40px minmax(0,1fr)}.event-title{font-size:16px}.event-category{padding-right:88px;font-size:12px;line-height:1.8}.status{white-space:normal;display:inline-block}.event-dates{font-size:14px}
 .event-actions{right:8px;top:9px}.tag{font-size:12px}.event-actions .icon-button{width:44px;height:44px}
 .export-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-start}.export-actions button{font-size:13px;padding:8px 10px}
 .bottom-nav button{min-height:52px;color:#52627a;font-size:11px}.bottom-nav button.active{color:#233ba6}
 .week-grid{grid-template-columns:repeat(7,minmax(132px,1fr))}.week-event{font-size:14px;line-height:1.7}
 .admin-tabs{grid-template-columns:1fr 1fr;gap:8px}.admin-tab-group{padding:7px}.admin-tabs button{font-size:12px;padding:7px;min-height:44px}
 .admin-row>div{min-width:0;width:100%}.admin-row-actions{width:100%;flex-wrap:wrap}.admin-row h3{font-size:16px}.admin-row p{font-size:13px}
 .action-grid button,.action-grid a{font-size:13px}.detail-grid{grid-template-columns:80px minmax(0,1fr)}.detail-grid dd{overflow-wrap:anywhere}.detail-source{font-size:13px}
 .form-grid label,.form-stack>label{font-size:14px}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px}
 .footnote{display:block;font-size:12px}.footnote span{display:block}.month-day .day-count{color:#365291;font-size:13px;min-height:40px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.day-summary,.jump-today{display:none}}

/* Restrained editorial finish: information leads, decoration stays quiet. */
:root{--blue:#294878;--navy:#172336;background:#f5f6f8}
body{background:#f5f6f8}
.brandmark{background:#e6ebf3;color:#243b5c;border-radius:9px}
.brand{letter-spacing:1px}.brand-sub{letter-spacing:.6px}
.school-block{padding:15px 0;color:#b9c5d8;border-color:#334055}
.school-block strong{font-weight:500}
.eyebrow{letter-spacing:.6px;font-weight:550}.blue{color:#526b8d}
.page-heading h1{font-size:30px;font-weight:650;letter-spacing:0;margin-top:8px}
#side-nav button.active{background:#2b3d58;border-radius:7px;box-shadow:none}
.day-summary{border-color:#d8dfe8;border-radius:10px;box-shadow:none;padding:24px}
.day-summary h2{font-size:20px;font-weight:650}
.day-facts{gap:0;margin:4px 0 20px}
.day-facts>div{border:0;border-right:1px solid #dde3eb;border-radius:0;background:transparent;padding:8px 20px;gap:10px}
.day-facts>div:first-child{padding-left:0}.day-facts>div:last-child{border-right:0}
.day-facts strong{font-size:25px;font-weight:650}
.day-explanation{margin-top:8px}.day-exceptions .text-button,.text-button{color:#294878}
.summary-grid{background:transparent;border-top:1px solid #d9e0e9;border-bottom:1px solid #d9e0e9;gap:0;margin:4px 0 28px}
.summary-card,.summary-card:first-child{border:0;border-right:1px solid #d9e0e9;background:transparent;box-shadow:none;border-radius:0;padding:17px 20px;position:relative}
.summary-card:last-child{border-right:0}.summary-card:first-child{padding-left:0}
.summary-card strong{font-size:27px;font-weight:550;color:#253b59}
.summary-card:first-child strong{color:#253b59}
.summary-card b,.summary-card:first-child b{color:#253b59;font-size:14px;font-weight:600}
.summary-card span,.summary-card:first-child span{color:#52627a;font-size:12px}
.summary-card:hover{background:#edf1f6}
.callout{background:#edf1f6;color:#445a78;border-radius:8px}
.event-card{box-shadow:none;border-radius:9px}.event-card:hover{box-shadow:none;border-color:#aebbd0}
.event-title{font-weight:600}.date-tile strong{font-weight:500;color:#314765}
.upcoming{background:#eef1f5;border-color:#d9e0e9;border-radius:9px;box-shadow:none}
.upcoming h3{color:#253b59;font-weight:600}.upcoming strong{color:#435c80;font-weight:550}
.admin-tabs button.active{background:#294878}.stat strong{color:#294878;font-weight:550}
.button{background:#294878}.button.secondary{background:#f5f7fa;color:#294878}
.segmented button[aria-pressed=true]{color:#294878}.bottom-nav button.active{color:#294878}
.day-evidence summary{color:#294878}
.source-resolved h3{font-size:16px;margin:0 0 9px;color:#253b59}
.source-resolved p{margin:6px 0;line-height:1.8}
body[data-view="me"] .anchor-date,body[data-view="me"] .jump-today,body[data-view="admin"] .anchor-date,body[data-view="admin"] .jump-today,body[data-view="documents"] .anchor-date,body[data-view="documents"] .jump-today,body[data-view="updates"] .anchor-date,body[data-view="updates"] .jump-today{display:none}
.preference-options{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.preference-options legend{font-size:14px;color:#52627a;margin-bottom:10px}
.preference-options label{display:flex;align-items:center;gap:8px;min-height:44px;border:1px solid #d5ddea;border-radius:7px;padding:9px 12px;background:#f9fafc;color:#334864;cursor:pointer}
.preference-options label:has(input:checked){border-color:#8198b8;background:#eaf0f8;color:#203d68}
.preference-options input{width:17px;height:17px;accent-color:#294878}
.preference-options p{width:100%;margin:4px 0}
.preference-details summary{cursor:pointer;min-height:44px;font-size:16px;font-weight:600;color:#253b59}
.preference-details[open] summary{margin-bottom:15px}
@media(max-width:760px){
 .page-heading h1{font-size:27px}.day-summary{padding:18px}.day-summary h2{font-size:18px}
 .day-facts{gap:10px;margin-bottom:15px}.day-facts>div{padding:8px 10px;border-right:0;border-bottom:1px solid #e0e5ec}
 .day-facts>div:first-child{padding-left:0}.day-facts>div:last-child{padding:4px 0;border-bottom:0}
 .day-facts strong{font-size:23px}.summary-card,.summary-card:first-child{padding:14px 10px}
 .summary-card strong{font-size:25px}.summary-card b,.summary-card:first-child b{font-size:12px;line-height:1.6}
 .summary-card span,.summary-card:first-child span{font-size:11px;line-height:1.6}.summary-card:first-child{padding-left:0}
}

@media(min-width:761px){.month-day .week-event{font-size:13px;line-height:1.7;color:#475569}.month-day .more{font-size:12px;color:#52647c}.weekday{font-size:12px;color:#52647c}}

body[data-public-preview="true"] [data-action="bookmark"],body[data-public-preview="true"] #notifications,body[data-public-preview="true"] [data-view="mine"],body[data-public-preview="true"] [data-view="saved"],body[data-public-preview="true"] [data-view="updates"]{display:none}

.grade-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.grade-choice{border:1px solid #dce3ec;border-radius:8px;padding:9px 14px;background:#fff;color:#45546a;font-weight:600}.grade-choice[aria-pressed="true"]{background:#edf2f8;border-color:#7185a1;box-shadow:inset 0 -3px var(--grade-color,#536b89)}.grade-J1{--grade-color:#36867f}.grade-J2{--grade-color:#527eaf}.grade-J3{--grade-color:#8568a3}.grade-S1{--grade-color:#ae7c3c}.grade-S2{--grade-color:#b26979}.grade-S3{--grade-color:#628253}.grade-school{--grade-color:#455b77}.grade-badge{display:inline-block;border-left:3px solid var(--grade-color,#7e8999);padding:2px 7px;font-size:11px;font-weight:600;color:#465368;background:#f1f4f7;border-radius:3px;margin:2px 4px 2px 0}.grade-overview-row{display:grid;grid-template-columns:90px 145px 1fr;gap:18px;padding:15px 0;border-top:1px solid #e8edf3;align-items:start}.grade-overview-row>strong{width:fit-content;font-size:13px}.grade-overview-row small{display:block;margin-top:5px;color:#68788c}.grade-day-events{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.grade-day-events button{text-align:left}.school-day-notices{padding:12px;background:#f0f4f8;border-radius:8px;margin-bottom:12px}.week-event .grade-badge{font-size:10px}.week-event>span:last-child{display:block}.month-day .week-event{white-space:normal}.top-actions [hidden]{display:none!important}@media(max-width:650px){.grade-overview-row{grid-template-columns:75px 1fr;gap:10px}.grade-day-events{grid-column:1/-1}.grade-filter{gap:6px}.grade-choice{padding:8px 10px}}

.date-view-tabs{display:flex;gap:6px;margin:0 0 24px;border-bottom:1px solid #dce4ed;padding-bottom:12px}.date-view-tabs button{padding:9px 22px;background:transparent;border:0;border-radius:7px;color:#60718a}.date-view-tabs [aria-current]{background:#e4ebf4;color:#233e60;font-weight:650}.today-brief{max-width:980px}.today-school,.today-focus{margin-bottom:26px}.today-brief h2{font-size:17px;margin:0 0 14px}.today-school-event{display:flex;justify-content:space-between;align-items:center;width:100%;padding:20px 24px;border:1px solid #dce5ef;border-left:4px solid #455b77;border-radius:9px;background:#edf2f8;text-align:left;color:#263c56;font-size:18px;font-weight:600;margin-bottom:8px}.focus-list{display:grid;gap:10px}.focus-event{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:18px 48px 18px 22px;background:#fff;border:1px solid #e0e6ee;border-radius:10px;text-align:left;color:#26374e;width:100%}.focus-event:hover{border-color:#9bafc8;background:#fbfcfe}.focus-event strong{font-size:17px;line-height:1.45}.focus-note{color:#63748a;font-size:13px;line-height:1.6}.focus-arrow{position:absolute;right:22px;top:45%;font-size:24px;color:#8190a4}.regular-grades{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:15px 0;color:#526b60}.regular-grades>span:first-child{margin-right:10px;font-weight:600}.all-grades-details{margin-top:18px;border-top:1px solid #dfe6ee}.all-grades-details>summary{padding:17px 0;color:#536987;cursor:pointer;font-size:14px}.all-grades-details .grade-overview{padding:0 18px;background:white;border-radius:8px}.status-only{background:#f8fafc}@media(max-width:650px){.date-view-tabs button{padding:9px 13px}.focus-event{padding:16px 40px 16px 16px}.today-school-event{padding:17px;font-size:16px}}

.simple-event-detail .dialog-title{margin-bottom:20px}.simple-event-date{font-size:19px;font-weight:600;color:#405a7c;line-height:1.6;padding-bottom:14px}.simple-event-time{font-size:15px;font-weight:400;margin-top:6px}.simple-event-time small{display:block;font-size:12px;color:#7c899a;margin-top:3px}.simple-event-grades{margin-bottom:18px}.simple-event-summary{font-size:15px;line-height:1.8;color:#3f5067;margin:12px 0;white-space:pre-line}.simple-event-facts{display:grid;grid-template-columns:100px 1fr;gap:10px;font-size:14px;margin:16px 0}.simple-event-facts dt{color:#7a899c}.simple-event-facts dd{margin:0;color:#34475f;line-height:1.6}.simple-event-actions{margin-top:24px}.simple-event-actions button{padding:9px 16px;border:1px solid #d4dfed;border-radius:7px;background:#f7f9fc;color:#506a8c}.event-admin-details{margin-top:24px;border-top:1px solid #e6ebf2}.event-admin-details summary{padding-top:16px;font-size:12px;color:#7b8a9f;cursor:pointer}.event-admin-details .detail-source{word-break:break-word;font-size:12px}

.inline-event-note{font-size:14px;line-height:1.7;color:#586c83;margin:9px 0;white-space:pre-line}.inline-bookmark{align-self:flex-start;padding:6px 10px;border:1px solid #dbe3ee;border-radius:6px;background:#f8fafc;color:#566e8e;font-size:12px;cursor:pointer}.focus-event.inline-event{padding-right:22px}.inline-event .focus-arrow{display:none}.focus-event.inline-event .inline-bookmark{margin-top:4px}.today-school-event.inline-event{display:block}.today-school-event.inline-event>span[aria-hidden]{display:none}.today-school-event.inline-event .inline-bookmark{display:block;margin-top:10px}.week-event.inline-event{display:block;text-align:left}.week-event.inline-event>summary{cursor:pointer;list-style:none}.week-event.inline-event>summary::after{content:'⌄';float:right;color:#7a8ca2}.inline-expanded{margin-top:8px;padding-top:8px;border-top:1px solid #dfe6ef;font-size:12px;line-height:1.65}.inline-expanded p{margin:5px 0}.inline-event .grade-day-events{display:block}.event-title:not(button){display:block}
