:root{--ink:#1e3732;--muted:#78817c;--line:#e5e8e1;--paper:#f7f8f3;--green:#0d5149;--lime:#e3efcd;--radius:16px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--paper);font-size:14px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #46a18d;outline-offset:3px}button{color:inherit}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:234px;background:#fff;border-right:1px solid var(--line);padding:35px 23px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font-size:29px;font-weight:750;letter-spacing:-1.5px}.brand-icon{font-size:29px;letter-spacing:-3px;background:var(--green);color:#e8f2d7;width:40px;height:40px;border-radius:12px;text-align:center;padding-right:5px}.brand-dot{color:#648c50}.workspace-label{margin:48px 10px 14px;color:#a0a79f;font-size:10px;font-weight:700;letter-spacing:1.4px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;border:0;background:none;border-radius:9px;padding:13px 12px;margin-bottom:5px;text-align:left;font-size:13px}.nav-item>span:first-child{font-size:20px}.nav-item.active{color:var(--green);background:#edf4e7;font-weight:650}.nav-mark{width:6px;height:6px;background:var(--green);border-radius:100%;margin-left:auto}.sidebar-section{margin-top:39px}.section-label{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.4px;color:#909a91;font-weight:700;margin:0 9px 17px}.subject-filter{border:0;background:none;display:flex;align-items:center;gap:10px;width:100%;font-size:12px;text-align:left;padding:10px 8px;line-height:1.5;color:#606e63;border-radius:7px}.subject-filter:hover,.subject-filter.chosen{background:#f0f3ec;color:var(--ink)}.subject-dot{flex-shrink:0;width:8px;height:8px;border-radius:3px;background:var(--accent)}.reset-filter{border:0;background:none;text-decoration:underline;color:var(--green);font-size:11px;padding:12px 8px}.sidebar-bottom{display:flex;gap:9px;margin-top:auto;padding:25px 6px 0;font-size:10px;align-items:flex-start;color:#68796b}.sidebar-bottom small{display:block;margin-top:6px;font-size:9px;color:#9ca59d}.local-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:#6a9666;flex-shrink:0;margin-top:3px}main{margin-left:234px;padding:0 38px 20px;max-width:1900px}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.breadcrumb{font-size:12px;color:#8a948b}.breadcrumb span{margin:0 13px;color:#b9bfb7}.breadcrumb strong{font-weight:500;color:#3a5146}.button,.icon-button{border:1px solid #dde3d8;background:#fff;border-radius:8px;min-height:35px;padding:8px 13px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.button:hover,.icon-button:hover{background:#f0f5eb}.button.subtle{border-color:#dde4d7;background:transparent}.button.subtle>span{font-size:19px}.icon-button{font-size:23px;padding:0;width:33px;line-height:1}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.intro{display:flex;justify-content:space-between;align-items:flex-end;padding:34px 0 27px;gap:16px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#7b906c}.intro h1{font-size:34px;font-weight:600;letter-spacing:-1.4px;margin:10px 0}.intro h1>span{color:#779960}.intro p{font-size:13px;margin:0;color:#869080}.semester-pill{border:1px solid var(--line);background:#f0f3e9;border-radius:20px;padding:9px 12px;font-size:10px;white-space:nowrap;display:flex;gap:7px;margin-bottom:4px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:25px}.stats article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 21px;display:flex;align-items:center;gap:15px}.stat-icon{display:grid;place-items:center;width:43px;height:43px;background:#edf0df;color:#819758;border-radius:12px;font-size:22px}.stat-icon.mint{background:#e8f2eb;color:#5c9e8f}.stat-icon.peach{background:#fbefe3;color:#c29c70}.stat-label{font-size:9px;font-weight:650;letter-spacing:1.1px;color:#90978b}.stat-value{font-size:26px;font-weight:600;letter-spacing:-.8px;margin-top:5px}.stat-value small{font-size:12px;color:#8e978a;font-weight:400;letter-spacing:0}.schedule-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.schedule-toolbar{padding:22px 23px 17px;display:flex;justify-content:space-between;gap:12px;align-items:center}.week-heading{display:flex;align-items:center;gap:12px}.week-heading h2{font-size:17px;letter-spacing:-.4px;font-weight:600;margin:0}.week-badge{padding:5px 7px;background:#f0f4ea;color:#8b9780;font-size:10px;border-radius:5px}.week-controls{display:flex;align-items:center;gap:6px}.date-control input{border:0;background:#f6f8f3;border-radius:6px;padding:7px;width:124px;font-size:11px;color:#697964}.filter-row{display:flex;align-items:center;justify-content:space-between;padding:0 23px 17px;gap:10px}.view-tabs{display:flex;border:1px solid #edf0e8;background:#f8faf5;border-radius:7px;padding:3px}.view-tabs button{border:0;padding:6px 11px;border-radius:5px;background:none;font-size:10px;color:#94a08c}.view-tabs button.selected{background:#fff;color:#344c3d;box-shadow:0 1px 4px #0000000c}.filters{display:flex;gap:8px}.filters select,.filters input{border:1px solid #e5e9df;background:#fff;padding:8px 10px;border-radius:7px;font-size:10px;color:#63765e}.filters input{width:175px}.calendar-scroll{overflow-x:auto}.calendar{--row-height:58px;display:grid;min-width:760px;position:relative}.time-header{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.day-header{border:1px solid var(--line);border-right:0;padding:12px 8px;text-align:center;background:#fcfdf9;cursor:pointer}.day-header .weekday{display:block;text-transform:uppercase;font-size:9px;letter-spacing:1px;color:#96a08f;margin-bottom:5px}.day-header .daynum{font-size:18px;font-weight:500;display:inline-grid;place-items:center;width:28px;height:28px}.day-header.is-today .daynum{background:var(--green);border-radius:50%;color:white}.day-header.is-selected{background:#f0f5e9}.time-column{position:relative;min-height:var(--grid-height);background:#fff}.time-label{position:absolute;right:10px;font-size:9px;color:#a7afa2;transform:translateY(-50%)}.time-label:first-child{transform:none}.day-column{position:relative;border-left:1px solid var(--line);min-height:var(--grid-height);background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--row-height) - 1px),#edf0e8 calc(var(--row-height) - 1px),#edf0e8 var(--row-height))}.day-column.today-column{background-color:#fcfdf9}.event{position:absolute;left:5px;right:5px;padding:9px 8px;text-align:left;border:1px solid color-mix(in srgb,var(--accent) 18%,transparent);border-left:3px solid var(--accent);border-radius:7px;background:var(--tint);color:var(--tone);overflow:hidden;display:flex;flex-direction:column;gap:4px;transition:filter .15s}.event:hover{filter:brightness(.96);z-index:2}.event.practice{border-left-style:dashed}.event-time{font-size:9px;font-weight:600;letter-spacing:.2px;opacity:.8}.event-title{font-size:11px;font-weight:650;line-height:1.4}.event-room{font-size:9px;opacity:.7;margin-top:auto}.event-tag{font-size:8px;opacity:.65}.now-line{position:absolute;left:0;right:0;height:2px;background:#c67c65;z-index:3;pointer-events:none}.now-line:before{content:"";position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:#c67c65}.calendar-footer{padding:13px 22px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#9aa28f}.calendar-footer>span:first-child{display:flex;align-items:center;gap:7px}.legend-square{display:inline-block;width:8px;height:10px;border-left:3px solid #879c70}.legend-square.dashed{border-left-style:dashed;margin-left:12px}.bottom-row{display:grid;grid-template-columns:1.1fr 1fr;gap:19px;margin-top:23px}.agenda-panel,.semester-panel{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:22px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.panel-heading h2,.semester-panel h2{margin:0;font-size:14px;font-weight:600;letter-spacing:-.2px}.panel-heading>span{font-size:10px;color:#98a08f}.agenda-item{border:0;border-top:1px solid #f0f2eb;background:none;padding:13px 0;text-align:left;width:100%;display:flex;gap:15px;align-items:center}.agenda-time{font-size:11px;color:#7d8b75;min-width:42px}.agenda-item .subject-dot{height:30px;width:3px;border-radius:2px}.agenda-info strong{font-size:12px;font-weight:550;display:block}.agenda-info small{display:block;font-size:10px;color:#99a08e;margin-top:4px}.agenda-arrow{margin-left:auto;color:#a0aa95}.semester-panel{background:#eef3e5;border-color:#e2e9d8;display:flex;flex-direction:column;justify-content:center;padding:24px 28px}.semester-panel h2{font-size:20px;margin:11px 0;letter-spacing:-.6px}.semester-panel p{font-size:12px;color:#859178;line-height:1.8;margin:0;max-width:420px}.data-note{display:flex;gap:8px;color:#7f8b72;font-size:10px;margin-top:18px}.page-footer{display:flex;justify-content:space-between;font-size:10px;color:#a6ad9d;margin:24px 0 4px}.page-footer>span:first-child{font-weight:700;color:#778a6e}.page-footer>span:first-child>span{font-weight:400;color:#a6ad9d;margin-left:12px}.event-list{padding:0 23px 15px}.list-day-title{font-size:12px;font-weight:600;margin:18px 0 4px;color:#657a5d}.empty-state{text-align:center;padding:60px 20px;color:#8b987f}.empty-state>span{font-size:40px;color:#b7c999}.empty-state h3{font-size:19px;color:#45623f;font-weight:500;margin:12px}.empty-state p{font-size:12px;line-height:1.8}.empty-state .button{margin-top:10px}.error-banner{background:#fff0eb;border:1px solid #e6b6a4;border-radius:9px;padding:14px;margin:10px 0;color:#914c33}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:1px solid var(--line);border-radius:20px;padding:27px;width:min(490px,calc(100% - 32px));color:var(--ink);box-shadow:0 25px 100px #173b332c}dialog::backdrop{background:#142b2859;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}dialog h2{font-size:24px;letter-spacing:-.8px;font-weight:600;margin:12px 0}dialog p{font-size:13px;line-height:1.7;color:#82907a}.detail-kind{display:inline-block;background:var(--tint);color:var(--tone);padding:6px 10px;border-radius:6px;font-size:11px}.detail-rows{margin:22px 0 0}.detail-rows>div{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-size:12px}.detail-rows dt{color:#91a085}.detail-rows dd{margin:0;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.file-drop{border:1px dashed #c1d0b4;border-radius:13px;padding:23px 15px;display:flex;flex-direction:column;align-items:center;gap:10px;background:#f8faf4;margin:22px 0 15px;text-align:center;cursor:pointer}.upload-icon{font-size:32px;color:#7f9c6d}.file-drop strong{font-size:13px}.file-drop>span:last-of-type{font-size:11px;color:#8d9e81}.file-drop input{font-size:11px;max-width:100%;margin-top:8px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}#importPreview{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.import-summary{background:#eef5e8;border-radius:10px;padding:15px}.import-error{color:#a2593e}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--green);color:white;border-radius:11px;padding:15px 22px;box-shadow:0 5px 25px #0002;z-index:20;font-size:12px}
@media(min-width:1500px){main{padding-left:50px;padding-right:50px}.calendar{--row-height:65px}.event-title{font-size:12px}.event{padding:10px}.event-time,.event-room{font-size:10px}}
@media(max-width:1150px){.sidebar{width:195px;padding:30px 16px}main{margin-left:195px;padding:0 23px 18px}.intro h1{font-size:30px}.intro{align-items:flex-start;flex-direction:column;gap:14px}.stats article{padding:15px 12px;gap:10px}.stat-icon{width:36px;height:36px}.stat-label{font-size:8px}.date-control{display:none}.calendar-footer>span:last-child{display:none}.event-title{font-size:10px}.calendar{min-width:680px}}
@media(max-width:760px){.sidebar{position:static;width:auto;padding:17px 20px;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:23px}.brand-icon{width:31px;height:31px;font-size:23px;border-radius:9px}.workspace-label,.sidebar nav,.sidebar-section,.sidebar-bottom{display:none}main{margin-left:0;padding:0 16px 18px}.topbar{height:58px}.breadcrumb{font-size:10px}.button.subtle{font-size:10px;padding:6px 10px;min-height:30px}.intro{padding:25px 2px 22px;gap:12px}.intro h1{font-size:30px;margin:9px 0}.intro p{font-size:12px}.semester-pill{font-size:9px;padding:7px 10px}.stats{gap:8px;margin-bottom:18px}.stats article{display:block;padding:13px 10px;border-radius:11px}.stat-icon{display:none}.stat-label{font-size:7px;letter-spacing:.4px}.stat-value{font-size:23px}.stat-value small{font-size:10px}.schedule-toolbar{padding:17px 13px 15px;align-items:flex-start}.week-heading{align-items:flex-start;flex-direction:column;gap:5px}.week-heading h2{font-size:14px}.week-badge{font-size:9px;padding:3px 5px}.week-controls .button{font-size:10px;padding:5px 8px}.week-controls{gap:4px}.icon-button{width:29px;min-height:30px}.filter-row{flex-wrap:wrap;padding:0 13px 14px;gap:11px}.filters{width:100%}.filters label:last-child{flex:1}.filters input{width:100%}.filters select{max-width:140px}.view-tabs button{font-size:10px}.calendar{min-width:700px}.calendar-footer{padding:11px 13px}.bottom-row{grid-template-columns:1fr;margin-top:16px;gap:16px}.agenda-panel{padding:19px}.semester-panel{padding:22px}.semester-panel h2{font-size:19px}.page-footer{font-size:9px;gap:10px;line-height:1.7}.page-footer>span:first-child>span{display:none}.event-list{padding:0 14px 12px}.event-list .agenda-info strong{font-size:11px}.agenda-item{gap:12px}.agenda-info small{font-size:9px}.date-control{display:block}.date-control input{width:27px;color:transparent;padding:5px 0;border:1px solid var(--line);background:#fff;min-height:30px}.date-control input::-webkit-datetime-edit{display:none}.date-control input::-webkit-calendar-picker-indicator{margin:0 auto;padding:2px}.toast{width:calc(100% - 40px);text-align:center;bottom:18px}}

/* The start page focuses on the weekly calendar on every device. */
.week-only main{margin:0 auto;padding:0 24px 24px;max-width:1600px}.week-only .topbar{height:76px;border:0}.week-only .schedule-card{margin-top:6px}.week-only .brand{font-size:23px}.week-only .brand-icon{width:33px;height:33px;font-size:24px;border-radius:10px}@media(max-width:760px){.week-only main{padding:0 10px 15px}.week-only .topbar{height:62px}.week-only .filter-row>.eyebrow{font-size:9px}.week-only .calendar{min-width:700px}}

.today-panel{margin-top:20px}.agenda-date{font-size:11px;color:#839179;margin:8px 0 0}.today-panel .agenda-time{line-height:1.7;min-width:48px}.agenda-time small{font-size:9px}.today-empty{font-size:12px;line-height:1.8;color:#839179;margin:0}

/* Installed iPhone web app: keep the timetable clear of system cutouts. */
@media(display-mode:standalone){.week-only .topbar{display:none}.week-only main{padding-top:calc(10px + env(safe-area-inset-top));padding-bottom:calc(18px + env(safe-area-inset-bottom));padding-left:calc(10px + env(safe-area-inset-left));padding-right:calc(10px + env(safe-area-inset-right))}.week-only .schedule-card{margin-top:0}}

.sync-status{font-size:11px;line-height:1.6;color:#6c7f65;margin:8px 4px 12px}@media(display-mode:standalone){.sync-status{margin-top:0}}
