@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{--ink:#173c42;--muted:#778b8c;--teal:#167868;--line:#e4ece8;--bg:#f5f7f3}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'Noto Sans SC',sans-serif}button,a,select{ -webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #d3ad50;outline-offset:3px}aside{position:fixed;width:230px;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:32px 24px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:23px;font-weight:800;letter-spacing:2px}.brand b{background:var(--ink);color:white;border-radius:14px;padding:8px 15px;font-size:30px;position:relative}.brand b span{color:#e8c675;font-size:18px;position:absolute;right:4px;top:1px}small{display:block;color:var(--muted);font-size:10px;font-weight:500;letter-spacing:1px;margin-top:3px}.nav-label{font-size:11px;color:var(--muted);margin:42px 10px 14px}nav button{width:100%;text-align:left;background:none;border:0;padding:15px;border-radius:11px;margin:3px 0;color:#647b7c;font-size:18px}nav span{font-size:14px;margin-left:12px}nav .active{background:#e7f2ec;color:var(--teal);font-weight:700}.aside-note{margin-top:auto;background:#f4f5ee;padding:22px;border-radius:15px;position:relative;overflow:hidden}.aside-note span{font-size:9px;letter-spacing:2px}.aside-note h3{line-height:1.8;font-size:19px}.aside-note p{font-size:12px;color:var(--muted);line-height:1.8}.aside-note i{position:absolute;right:-10px;bottom:-30px;color:#c5d9c7;font-size:120px;font-style:normal}.profile{display:flex;gap:12px;align-items:center;margin-top:24px}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e3ebe2;color:var(--teal);font-weight:700}.mini{width:30px;height:30px}main{margin-left:230px}header{height:84px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}header>div{display:flex;align-items:center;gap:20px}.demo{background:#fff2d6;color:#8d6d26;padding:6px 12px;border-radius:20px}#app{padding:32px 40px 100px;max-width:1600px;margin:auto}.eyebrow{font-size:10px;letter-spacing:3px;font-weight:700;color:var(--teal)}h1{font-size:30px;margin:8px 0 10px;letter-spacing:-1px}h2{font-size:19px;margin:0}p{line-height:1.8}.muted{color:var(--muted)}.hero{padding:35px 40px;border-radius:23px;background:#173f43;color:#fff;display:flex;justify-content:space-between;position:relative;overflow:hidden;margin-bottom:26px}.hero .eyebrow{color:#aad8c2}.hero h1{font-size:35px}.hero p{color:#b9cfca}.hero-art{width:190px;display:grid;place-items:center;font-size:130px;color:#b5d7b4;transform:rotate(12deg)}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.btn{border:1px solid var(--line);border-radius:9px;padding:11px 18px;background:white;color:var(--ink);font-weight:600}.primary{background:var(--teal);border-color:var(--teal);color:white}.hero .primary{background:#dfc174;color:#263d39;border:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}.stat{display:flex;align-items:center;justify-content:space-between;background:white;border:1px solid var(--line);border-radius:14px;padding:21px}.stat b{font-size:29px;display:block;margin-top:8px}.stat span{font-size:12px;color:var(--muted)}.stat i{font-size:26px;font-style:normal;background:#f1f5ed;padding:13px;border-radius:12px}.columns{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:17px;padding:24px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.rank{display:flex;align-items:center;padding:15px 0;gap:15px;border-bottom:1px solid #f0f3ef}.rank:last-child{border:0}.rank>span{width:22px;color:#a4afa7;font-size:18px}.rank strong{margin-left:auto}.rank small{font-size:11px;letter-spacing:0}.recognition{background:#f6f5e9;border-radius:12px;padding:20px;margin-bottom:16px}.recognition p{font-size:13px;margin-bottom:0}.tabs{display:flex;gap:6px;background:#e9eeea;border-radius:10px;padding:5px;width:fit-content;margin:24px 0}.tabs button{border:0;background:none;color:#6e827d;padding:10px 22px;border-radius:7px}.tabs button.active{background:white;color:var(--ink);box-shadow:0 2px 5px #15352b0b}.week{display:flex;align-items:center;justify-content:space-between;margin:20px 0}.grid{display:grid;grid-template-columns:85px repeat(3,minmax(175px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:15px;overflow:hidden}.cell{padding:13px;background:#fff;min-height:130px}.grid .head{min-height:auto;background:#edf2ec;text-align:center;font-size:12px;padding:16px}.day{background:#f8faf6;font-size:12px;padding:20px 10px}.day b{display:block;font-size:18px;margin-top:8px}.course{width:100%;text-align:left;background:#f2f7f2;border:1px solid #dce8de;border-left:3px solid #76a789;border-radius:9px;padding:14px;color:var(--ink)}.course b{display:block;font-size:14px}.course small{font-size:11px;margin:8px 0;letter-spacing:0}.course.selected{background:#d6ece1;border:2px solid var(--teal)}.course:disabled{cursor:default;opacity:.65}.tag{font-size:10px;border-radius:5px;padding:4px 7px;display:inline-block;background:#e3eee6;color:#48705e}.empty{color:#bdc7be;text-align:center;padding-top:30px}.submitbar{position:fixed;bottom:22px;left:270px;right:40px;max-width:1290px;background:var(--ink);color:white;padding:15px 24px;border-radius:14px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 8px 25px #173c4230}.submitbar small{color:#b4cec7}.submitbar .btn{background:#d9c584;border:0}.btn:disabled{opacity:.5;cursor:not-allowed}.booking-row{display:flex;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.booking-row>div{flex:1}.booking-row .tag{color:#967321;background:#fbf1d5}.notice{background:#e9f1eb;border-radius:10px;padding:13px 17px;font-size:12px;margin:20px 0;color:#5a7469}#toast{position:fixed;top:20px;left:50%;transform:translateX(-50%);background:#203e39;color:white;border-radius:10px;padding:15px 24px;display:none;z-index:5}@media(max-width:950px){aside{width:180px;padding:24px 15px}main{margin-left:180px}header{padding:0 22px}#app{padding:25px 22px 110px}.columns{grid-template-columns:1fr}.hero{padding:28px}.hero-art{display:none}.submitbar{left:202px;right:22px}.grid{min-width:680px}.table-wrap{overflow:auto}.brand{font-size:18px}}@media(max-width:600px){aside{position:static;width:auto;padding:15px;display:block;border-bottom:1px solid var(--line)}.brand{font-size:16px}.brand b{font-size:20px}.nav-label,.aside-note,.profile{display:none}nav{display:flex;margin-top:14px}nav button{padding:10px;font-size:14px}nav span{margin-left:5px;font-size:12px}main{margin:0}header{height:54px;padding:0 16px}#breadcrumb{display:none}#app{padding:20px 16px 130px}.hero h1{font-size:27px}.stats{gap:8px}.stat{padding:13px}.stat i{display:none}.stat b{font-size:24px}.stat span{font-size:10px}.submitbar{left:12px;right:12px;bottom:12px;padding:14px;font-size:12px}.tabs button{padding:9px 13px}.hero{border-radius:16px;padding:24px}.panel{padding:18px}}
.month-label{display:flex;align-items:center;gap:8px}input[type=month]{font:inherit;color:var(--ink);border:1px solid var(--line);padding:9px;border-radius:8px;background:white}.live-table{border-collapse:separate;border-spacing:1px;width:100%;background:var(--line);border-radius:14px;overflow:hidden}.live-table th{background:#edf2ec;padding:16px;min-width:130px;font-size:12px}.live-table td{background:white;padding:12px;min-width:190px;vertical-align:top}.live-table tbody th{position:sticky;left:0;z-index:1}.live-course{margin-bottom:10px}.table-wrap{overflow:auto}.tag.approved{background:#e3eee6;color:#286a50}.tabs{max-width:100%;overflow:auto;flex-shrink:0}.tabs button{white-space:nowrap}.booking-row b{overflow-wrap:anywhere}@media(max-width:600px){header{height:auto;min-height:70px;padding:12px 16px}header>div{gap:8px;flex-wrap:wrap}.month-label{font-size:12px}header .btn{padding:8px}.hero h1{overflow-wrap:anywhere}.booking-row{gap:10px}.live-table th{min-width:105px}}
.account-dialog{border:1px solid var(--line);border-radius:20px;padding:28px;width:min(650px,92vw);color:var(--ink)}.account-dialog::backdrop{background:#12383d66}.permission-list{display:grid;gap:12px;max-height:45vh;overflow:auto}.permission-list label{display:flex;align-items:center;gap:10px;font-size:13px}nav button[hidden]{display:none}
.account-dialog form label{display:block;margin:18px 0 8px}.account-dialog input:not([type=checkbox]),.account-dialog textarea{display:block;width:100%;font:inherit;margin-top:8px;padding:12px;border:1px solid #cbded7;border-radius:9px}.account-dialog textarea{min-height:90px;word-break:break-all}
/* Shared controls in the authenticated workspace. */
#app select{font:inherit;color:var(--ink,#203c40);background:#fff;border:1px solid #ccdedb;border-radius:10px;padding:10px 30px 10px 12px;min-height:44px;max-width:100%}
#app .actions>label{display:flex;align-items:center;gap:8px}
#approval-list .booking-row>label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#647b78}
#approval-list .booking-row>div{flex:1}
#approval-list .booking-row{gap:16px;flex-wrap:wrap}
#approval-list .booking-row p{font-size:14px;color:#647b78;line-height:1.6;margin:8px 0}
@media(max-width:640px){#approval-list .booking-row>div{flex-basis:100%}#approval-list .booking-row>label{flex:1}#app .actions{flex-wrap:wrap}}

.module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.module-grid .panel{margin-top:20px}.module-grid p{white-space:pre-wrap;overflow-wrap:anywhere}

.seat-teacher{border-top:1px solid #dce7e8;margin-top:10px;padding-top:9px;display:grid;gap:4px}.seat-teacher strong{font-size:14px}.seat-teacher small{color:#536e79}
/* Timetable colors represent booking state; personal bookings use text, not a color override. */
.live-course.state-approved{background:#e8f5e9;border:1px solid #b8dcbc;border-left:5px solid #388449}
.live-course.state-pending{background:#fff3dd;border:1px solid #edce95;border-left:5px solid #bb7914}
.live-course.state-open{background:#eaf2ff;border:1px solid #bdd0ef;border-left:5px solid #3771b9}
.live-course.state-closed{background:#f1f2f4;border:1px solid #d4d7dd;border-left:5px solid #89919e}
.live-course.state-cancelled{background:#fcebec;border:1px solid #edbdc1;border-left:5px solid #bd4855}
.live-course .tag{background:#ffffffb8;color:#334155}.live-course small{color:#46576b}
.schedule-legend{display:flex;flex-wrap:wrap;gap:12px 20px;margin:18px 0;font-size:12px;font-weight:600}.legend-approved{color:#286837}.legend-pending{color:#925c09}.legend-open{color:#285d9e}.legend-closed{color:#626b78}.legend-cancelled{color:#a23140}
/* Consistent, readable schedule typography. */
.live-table th{font-size:14px;line-height:1.5;font-weight:700}
.live-table th small{font-size:13px;line-height:1.5;letter-spacing:0;color:#52616c}
.live-table .live-course{font-size:14px;line-height:1.55;padding:14px}
.live-table .live-course>b{font-size:16px;line-height:1.5;font-weight:700}
.live-table .live-course>small{font-size:15px;line-height:1.5;font-weight:600;color:#243c49;margin:5px 0 9px;letter-spacing:0}
.live-table .live-course .tag{font-size:13px;line-height:1.5;font-weight:600;padding:4px 7px;margin:2px 3px 2px 0}
.live-table .seat-teacher strong{font-size:15px;line-height:1.5;font-weight:700}
.live-table .seat-teacher small{font-size:13px;line-height:1.5;font-weight:500;color:#3e5260;letter-spacing:0;margin:2px 0}
.schedule-legend{font-size:13px;line-height:1.6}
.statement-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6;font-variant-numeric:tabular-nums}.statement-table th{text-align:left;background:#eef2f5;color:#344654;padding:13px 12px;border-bottom:2px solid #ced8df;white-space:nowrap}.statement-table td{padding:13px 12px;border-bottom:1px solid #e0e6eb;vertical-align:top}.statement-table tbody tr:nth-child(even){background:#f8fafb}.statement-table td:nth-child(2),.statement-table td:nth-child(3){white-space:nowrap}.statement-table small{font-size:12px;letter-spacing:0;color:#566774}.statement-table .numeric{text-align:right;font-weight:700}.statement-table tfoot{background:#eef2f5;font-weight:700}
@media print{aside,main>header,.statement-print,.notice{display:none!important}main{margin:0!important}#app{max-width:none;padding:0!important}.table-wrap{overflow:visible!important}.panel{border:0;padding:10px 0;break-inside:auto}.statement-table{font-size:10px}.statement-table th,.statement-table td{padding:7px 5px}.statement-table tr{break-inside:avoid}.statement-table thead{display:table-header-group}.stats{display:flex;gap:20px}.stat{flex:1;padding:10px}body{background:white}h1{font-size:24px}}
.approval-buttons{display:flex;gap:8px;flex-wrap:wrap;flex:0 1 auto!important}.approval-approve{border-color:#82b58c;color:#276b37}.approval-cancel{border-color:#dba1a7;color:#a63343}.approval-approve[aria-pressed=true]{background:#276b37;color:white}.approval-cancel[aria-pressed=true]{background:#a63343;color:white}
.booking-pick{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 0;font-size:14px;font-weight:600}.booking-pick input{width:20px;height:20px}.booking-tray{margin-top:24px}.booking-tray p{overflow-wrap:anywhere}
.assistant-control{display:grid;gap:7px;font-size:14px;font-weight:600}.assistant-control select{width:100%;padding:10px;border:1px solid #aab8c3;background:white;border-radius:8px;font:inherit;color:#213b48}.live-course.assistant-draft{outline:3px solid #dc9c32;outline-offset:-2px}.assistant-save{margin-top:20px;position:sticky;bottom:12px;box-shadow:0 4px 20px #173c4214;z-index:2}.assistant-save button{margin-left:16px}
aside{overflow-y:auto}aside nav{flex-shrink:0}.statement-table input:not([type=checkbox]),.statement-table select{min-height:40px;font:inherit;border:1px solid #b8c7cf;border-radius:7px;padding:7px;max-width:180px}.statement-table input[type=checkbox]{width:18px;height:18px}
.schedule-editor label{display:block;margin:9px 0;font-size:13px;font-weight:600}.schedule-editor input:not([type=checkbox]),.schedule-editor select{display:block;width:100%;min-height:38px;padding:7px;border:1px solid #b4c4ce;border-radius:6px;font:inherit;background:white;color:#213a49}.schedule-editor details{margin:10px 0}.schedule-editor summary{cursor:pointer;font-size:13px}.schedule-editor input[type=checkbox]{width:18px;height:18px;vertical-align:middle}

/* Hidden editor controls must stay hidden despite component display rules. */
[hidden]{display:none!important}
.schedule-feedback{padding:16px 20px;border:1px solid #d8a746;border-left:5px solid #d8a746;background:#fff7df;color:#503b0e;border-radius:12px;font-size:16px;line-height:1.6;font-weight:600}
.work-hours-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.work-hours-card{margin:0;min-width:0}.work-time-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.work-time-pair label{display:grid;gap:8px}.work-time-pair select{width:100%;min-height:44px}.work-hours-card [data-work-duration]{font-size:22px;font-weight:700;color:#20796c}.work-hours-card [data-work-error]{color:#a83c31}
/* Grouped responsive workspace navigation. */
.workspace-shell aside{width:250px;padding:24px 18px;z-index:60;gap:16px}
.workspace-shell main{margin-left:250px;min-width:0}
.workspace-shell nav{display:block;margin:0}
.workspace-shell .menu-group{padding:12px 0;border-bottom:1px solid var(--line)}
.workspace-shell .menu-group h2{font-size:12px;letter-spacing:1px;color:#6c817d;margin:0 12px 7px}
.workspace-shell nav button{display:flex;align-items:center;min-height:46px;padding:11px 13px;margin:2px 0}
.workspace-shell nav span{font-size:15px}
.workspace-shell .aside-note{display:none}
.workspace-shell .profile{margin-top:auto;padding-top:16px;border-top:1px solid var(--line);flex-shrink:0}
.workspace-shell .menu-toggle,.workspace-shell .menu-close,.workspace-shell .menu-backdrop{display:none}
@media(max-width:1100px){
 .workspace-shell main{margin:0}
 .workspace-shell aside{position:fixed;inset:0 auto 0 0;width:min(310px,86vw);height:100dvh;display:flex;padding:20px;transform:translateX(-105%);transition:transform .18s ease;visibility:hidden;border:0;box-shadow:8px 0 35px #173c4226}
 .workspace-shell.menu-open aside{transform:translateX(0);visibility:visible}
 .workspace-shell .menu-toggle,.workspace-shell .menu-close{display:block;min-height:44px;flex-shrink:0}
 .workspace-shell .menu-close{align-self:flex-end}
 .workspace-shell .menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:59;background:#102f3b70;border:0}
 .workspace-shell.menu-open{overflow:hidden}
 .workspace-shell .profile{display:flex}
 .workspace-shell header{height:auto;min-height:76px;padding:14px 20px;gap:12px;flex-wrap:wrap}
 .workspace-shell #breadcrumb{display:block;flex:1}
 .workspace-shell header>div{gap:8px;flex-wrap:wrap}
 .workspace-shell #app{padding:24px 20px 100px}
}
@media(max-width:600px){.workspace-shell header{padding:12px 16px}.workspace-shell header>div{width:100%;justify-content:flex-start}.workspace-shell #app{padding:20px 14px 100px}.workspace-shell input,.workspace-shell select{font-size:16px}.workspace-shell nav span{font-size:16px}}
@media(prefers-reduced-motion:reduce){.workspace-shell aside{transition:none}}
@media print{.workspace-shell .menu-toggle,.workspace-shell .menu-backdrop{display:none!important}}
.statement-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.statement-controls{display:flex;gap:20px;align-items:end;flex-wrap:wrap;margin:20px 0}.statement-controls label{display:grid;gap:8px;font-weight:600;flex:1;min-width:190px}.statement-controls select{font:inherit;min-height:46px;padding:10px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink)}.statement-controls small{flex-basis:100%;font-size:13px;letter-spacing:0}.compact-statement td{font-size:15px}.statement-totals{margin-top:20px}
@media(max-width:600px){.statement-heading{align-items:start;flex-wrap:wrap}.compact-statement thead{display:none}.compact-statement,.compact-statement tbody,.compact-statement tr,.compact-statement td{display:block;width:100%}.compact-statement tr{padding:12px 0;border-bottom:2px solid var(--line)}.compact-statement td{display:grid;grid-template-columns:90px 1fr;gap:10px;padding:7px 0;border:0}.compact-statement td:before{content:attr(data-label);color:var(--muted);font-weight:500}.compact-statement td small{grid-column:2}.statement-totals{grid-template-columns:1fr}.statement-totals .stat b{font-size:25px}}
@media print{.statement-controls{display:none!important}.compact-statement thead{display:table-header-group}.compact-statement{display:table}.compact-statement tbody{display:table-row-group}.compact-statement tr{display:table-row}.compact-statement td{display:table-cell}.compact-statement td:before{display:none}}
.compact-statement .statement-day-total{background:#edf4ef}.compact-statement .statement-day-total th,.compact-statement .statement-day-total td{padding:13px 12px;font-weight:700;border-top:1px solid #d7e4da}.compact-statement .statement-month-total{background:#173c42;color:white}.compact-statement .statement-month-total th,.compact-statement .statement-month-total td{padding:18px 12px;font-weight:800;color:white}
@media(max-width:600px){.compact-statement .statement-day-total th{display:block;text-align:left}.compact-statement tfoot{display:block}.compact-statement .statement-month-total th{display:block;text-align:left}.compact-statement .statement-month-total td{display:block}}
/* Monthly statements: neutral detail, warm daily totals, distinct status cues. */
.statement-heading .eyebrow{color:#56717d}.statement-controls{background:#f8fafb;border-color:#dce5e9}.statement-totals .stat{border-top:4px solid #7596b5;background:#f2f6fb}.statement-totals .stat:nth-child(2){border-top-color:#9385b1;background:#f6f3fa}.statement-totals .stat:nth-child(3){border-top-color:#d3a452;background:#fff8e9}.statement-totals .stat span{color:#465c69}.statement-totals .stat b{color:#243f50}.compact-statement thead th{background:#e9eff5;color:#304c62}.compact-statement .statement-detail td{background:#fff;color:#2e434e;border-bottom:1px solid #edf0f2}.compact-statement .statement-detail:hover td{background:#f7f9fc}.compact-statement td small{color:#637580;letter-spacing:0}.compact-statement .statement-day-total th,.compact-statement .statement-day-total td{background:#f8f0dd;color:#715522;border-top:1px solid #e9d9b4;border-bottom:2px solid white}.compact-statement .statement-month-total th,.compact-statement .statement-month-total td{background:#29485f;color:#fff}.statement-status{display:inline-block;width:fit-content;border-radius:7px;padding:5px 10px;font-weight:600;font-size:13px;white-space:nowrap}.statement-status.approved{background:#e8f3ed;color:#286342}.statement-status.pending{background:#fff0cf;color:#886014}.statement-status.cancelled{background:#f0f1f3;color:#67717a}
@media print{.statement-day-total,.statement-month-total,.statement-status{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* Cancellation and handover: readable on tablet and phone. */
.change-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.change-types label{padding:18px;border:1px solid #cedcda;border-radius:14px;cursor:pointer;background:#f8faf9}.change-types label:has(input:checked){border-color:#257b72;background:#e8f3ef}.change-types small{display:block;margin:8px 0 0 24px;color:#51676a}.change-form{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:18px 0}.change-form label{display:grid;gap:8px;font-weight:650;min-width:0}.change-form select,.change-form input,.change-form textarea{width:100%;min-width:0;box-sizing:border-box;padding:12px;border:1px solid #b8ccca;border-radius:10px;background:white;color:#183b43;font:inherit}.change-flow{background:#edf2fa;color:#28496c;padding:16px;border-radius:12px}.change-record{border-top:1px solid #dce5e3;padding:22px 0}.change-slots{display:grid;grid-template-columns:1fr 1fr;gap:16px}.change-slot{padding:14px;background:#f3f6f5;border-radius:12px;margin-top:8px}.change-slot p{margin:8px 0}.change-badge{padding:8px 12px;border-radius:20px;font-size:14px;font-weight:700}.change-badge.approved{background:#e3f3e7;color:#21653d}.change-badge.pending{background:#fff0cf;color:#78520c}.change-badge.closed{background:#eef0f3;color:#54616c}.change-record details{color:#536b71}.change-record summary{cursor:pointer}.change-record h3{margin:0}.change-record .section-head{gap:12px;flex-wrap:wrap}@media(max-width:650px){.change-types,.change-form,.change-slots{grid-template-columns:1fr}.change-types{gap:8px}.change-types label{padding:14px}.change-record .section-head{align-items:flex-start}}
.change-week-grid{display:grid;grid-template-columns:repeat(7,minmax(140px,1fr));overflow:auto;gap:10px;margin:18px 0;padding-bottom:10px}.change-day{background:#f0f4f2;border-radius:12px;padding:10px;min-width:0}.change-day h3{font-size:15px;margin:6px 0 14px;color:#35555c}.change-course{display:grid;gap:8px;text-align:left;width:100%;padding:14px 10px;margin:0 0 10px;border:1px solid #bed4c8;border-radius:10px;background:#fff;color:#243f48;cursor:pointer;font:inherit;font-size:14px}.change-course strong{font-size:15px}.change-course small{color:#526c65}.change-course.picked{background:#dceee5;outline:3px solid #277c65;outline-offset:-2px}.change-course:disabled{opacity:.55;cursor:default}.change-chosen{border-left:4px solid #297d68;padding:12px 16px;background:#e9f3ed}.change-summary{background:#fff7e6;border:1px solid #ebd49c;padding:20px;margin-top:20px;border-radius:14px}.change-teacher{display:grid;gap:10px;max-width:600px;margin:20px 0}.change-teacher select,.change-teacher textarea{font:inherit;padding:12px;border:1px solid #b9cccc;border-radius:10px;width:100%;box-sizing:border-box}@media(max-width:700px){.change-week-grid{grid-template-columns:1fr;overflow:visible}.change-day{padding:14px}.change-course{font-size:16px;min-height:80px}}

/* Account permissions: grouped, touch-friendly controls. */
.account-dialog{max-height:90dvh;overflow:auto}.permission-groups{display:grid;gap:14px;margin:18px 0}.permission-group{border:1px solid #d6e2df;border-radius:14px;background:#f8faf9;padding:16px}.permission-group summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:32px}.permission-group summary:before{content:'▸';color:#52716a}.permission-group[open] summary:before{content:'▾'}.permission-group summary strong{flex:1}.permission-group summary span{font-size:12px;color:#526e66;white-space:nowrap}.permission-group p{font-size:13px;margin:10px 0}.permission-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.permission-options label{display:flex;align-items:center;gap:10px;background:white;border:1px solid #e1e9e6;border-radius:9px;padding:12px;min-height:48px;font-size:14px;line-height:1.5}.permission-options input{width:20px;height:20px;flex-shrink:0;accent-color:#217768}.permission-options label:has(input:checked){background:#e9f4ef;border-color:#a9d2bf}.permission-options label:focus-within{outline:2px solid #217768;outline-offset:2px}@media(max-width:600px){.permission-options{grid-template-columns:1fr}.account-dialog{padding:18px}.permission-group{padding:12px}}

.account-category + .account-category{border-top:2px solid var(--line);margin-top:28px;padding-top:20px}.account-category h2{display:flex;align-items:center;gap:12px;font-size:21px}.account-category h2 .tag{font-size:13px;font-weight:500}

.library-filters{display:flex;gap:18px;flex-wrap:wrap}.library-filters label{display:grid;gap:8px;flex:1;min-width:140px}.library-filters input,.library-filters select{font:inherit;padding:12px;border:1px solid var(--line);border-radius:10px;min-width:0;width:100%}.library-shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,280px));gap:24px}.library-book{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden}.library-cover{display:flex;width:100%;height:330px;align-items:center;justify-content:center;padding:14px;background:#eaf0ed;border:0;cursor:pointer}.library-cover img{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 5px 15px #163d3420}.cover-fallback{font-size:24px;padding:20px}.cover-fallback[hidden],.library-cover img[hidden]{display:none}.cover-fallback small{display:block;font-size:13px;margin-top:16px}.library-book-info{padding:18px}.library-book-info h2{font-size:20px;margin:14px 0}.library-reader{width:96vw;max-width:1200px;height:94dvh;max-height:94dvh;border:1px solid var(--line);border-radius:16px;padding:0;overflow:hidden;color:var(--ink)}.library-reader[open]{display:flex;flex-direction:column}.library-reader::backdrop{background:#102b35bb}.library-reader header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;flex-shrink:0}.library-reader header small{display:block;margin-top:6px;font-size:13px}.library-reader iframe{flex:1;width:100%;min-height:0;border:0;background:#333}.library-reader footer{padding:10px 16px;font-size:12px;flex-shrink:0}.library-reader footer a{margin-left:10px}@media(max-width:600px){.library-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.library-cover{height:230px;padding:8px}.library-book-info{padding:12px}.library-book-info h2{font-size:17px}.library-reader{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.library-reader header{padding:12px}.library-reader header small{font-size:11px}}

/* Joy team home: warm editorial welcome with practical personal overview. */
.joy-welcome{display:grid;grid-template-columns:1.4fr 1fr;overflow:hidden;background:#f3eee4;border:1px solid #e7dfd0;border-radius:28px;margin-bottom:22px;min-height:360px}.joy-welcome-copy{padding:40px}.joy-welcome h1{font-size:22px;margin:20px 0 12px;color:#3e5b56}.joy-welcome .joy-headline{font-size:clamp(30px,3.5vw,48px);font-weight:750;line-height:1.35;letter-spacing:-1px;color:#233f3c;margin:0 0 20px}.joy-welcome-copy>p:not(.joy-headline){line-height:1.9;color:#596b63;font-size:15px}.joy-welcome .actions{margin-top:26px;flex-wrap:wrap}.joy-team-art{position:relative;min-height:330px;align-self:stretch;overflow:hidden;background:radial-gradient(ellipse at center,#e4e9d9 0,transparent 70%)}.joy-orbit{position:absolute;border:1px solid #bdcbbb;border-radius:50%;width:280px;height:280px;top:25px;left:50%;transform:translateX(-50%)}.orbit-two{width:210px;height:210px;top:60px}.joy-person{position:absolute;display:grid;place-items:center;width:90px;height:112px;border-radius:50px 50px 24px 24px;font-size:48px;font-weight:750;box-shadow:0 8px 0 #243f3c0a;top:110px}.person-one{background:#718d74;color:white;left:calc(50% - 123px);transform:rotate(-12deg)}.person-two{background:#e6b65e;color:#4e4229;left:calc(50% - 45px);top:75px;z-index:1}.person-three{background:#ca8370;color:white;left:calc(50% + 32px);transform:rotate(12deg)}.joy-art-caption{position:absolute;top:270px;left:0;right:0;text-align:center;font-size:12px;font-weight:700;letter-spacing:3px;color:#476052}.joy-art-caption span{display:block;letter-spacing:1px;font-size:15px;margin-top:10px}.joy-team-note{display:flex;gap:22px;align-items:center;padding:24px 30px;background:#284d47;color:#fff;border-radius:20px;margin:22px 0}.joy-team-note .eyebrow{color:#cbdccf;font-size:11px}.joy-team-note h2{font-size:23px;margin:8px 0}.joy-team-note p{color:#dbe8df;margin:8px 0;line-height:1.7}.joy-note-symbol{color:#e5bc72;font-size:48px;flex-shrink:0}.joy-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0 38px}.joy-values article{padding:10px 24px;border-left:3px solid #9aac93}.joy-values article:nth-child(2){border-color:#d4b26f}.joy-values article:nth-child(3){border-color:#c88e7e}.joy-value-number{font-size:11px;letter-spacing:1.5px;color:#647870;font-weight:700}.joy-values h2{font-size:20px;margin:12px 0}.joy-values p{font-size:14px;line-height:1.85;color:#5b6b66;margin:0}.joy-personal-heading{flex-wrap:wrap;gap:12px}.joy-personal-heading h2{margin:8px 0 16px}.joy-personal-heading>span{font-size:14px}@media(max-width:900px){.joy-welcome-copy{padding:28px}.joy-team-art{min-width:240px}.joy-values{gap:12px}.joy-values article{padding:8px 14px}}@media(max-width:600px){.joy-welcome{grid-template-columns:1fr;border-radius:20px}.joy-welcome-copy{padding:24px}.joy-welcome h1{font-size:19px}.joy-desktop-break{display:none}.joy-team-art{min-height:230px}.joy-orbit{top:-50px}.orbit-two{top:-15px}.joy-person{top:40px;width:74px;height:90px;font-size:38px}.person-two{top:12px;left:calc(50% - 37px)}.person-one{left:calc(50% - 105px)}.person-three{left:calc(50% + 30px)}.joy-art-caption{top:165px}.joy-team-note{padding:22px;gap:14px}.joy-note-symbol{font-size:30px}.joy-team-note h2{font-size:20px;line-height:1.5}.joy-team-note p{font-size:14px}.joy-values{grid-template-columns:1fr;gap:20px;margin-bottom:28px}.joy-values article{padding-left:18px}}

.joy-community{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:26px 0}.joy-community-panel{border:1px solid #dce4df;border-radius:22px;background:#fff;padding:28px;min-width:0}.joy-community-panel h2{margin:12px 0;font-size:23px}.joy-community-panel .eyebrow{font-size:11px}.joy-community-panel>p{color:#64756c;font-size:14px;line-height:1.7;margin:18px 0}.joy-community-empty{padding:24px;border:1px dashed #ccd8cb;border-radius:14px;background:#f7f9f5}.joy-community-empty strong{font-size:17px;color:#425b4c}.joy-community-empty p{font-size:14px;line-height:1.8;color:#647267;margin:10px 0 18px}.joy-community-empty small{font-size:12px;color:#707b71}.joy-appreciation{background:#fffcf7;border-color:#eadfce}.joy-appreciation .joy-community-empty{background:#fcf6ec;border-color:#e3cfb3}.joy-appreciation .joy-community-empty strong{color:#775d3e}@media(max-width:760px){.joy-community{grid-template-columns:1fr;gap:16px}.joy-community-panel{padding:22px}.joy-community-panel h2{font-size:21px}.joy-community-empty{padding:20px}}

.joy-community-panel:last-child{grid-column:1/-1}.home-post{border-top:1px solid #dce4df;padding:20px 0}.home-post-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.home-post small{color:#5d7168}.home-post .actions{margin-top:16px}.home-poll-choice{display:flex;align-items:center;gap:12px;border:1px solid #dce4df;border-radius:12px;padding:14px;margin:10px 0;cursor:pointer}.home-poll-choice span{flex:1;overflow-wrap:anywhere}.home-poll-choice input{width:20px;height:20px;accent-color:#356b58}.home-poll-choice:has(input:checked){background:#e9f3eb;border-color:#6f9980}.home-editor{width:min(560px,90vw);max-height:90dvh;overflow:auto;border:1px solid #ccd9d0;border-radius:20px;padding:26px;color:#29473e}.home-editor::backdrop{background:#102f36a0}.home-editor label{display:grid;gap:8px;margin:18px 0}.home-editor input,.home-editor textarea{font:inherit;padding:12px;border:1px solid #b9cdc1;border-radius:10px;width:100%;box-sizing:border-box}.home-editor [readonly]{background:#f0f2ef}.home-editor .actions{flex-wrap:wrap}.home-post h3{overflow-wrap:anywhere}

.home-editor select{font:inherit;padding:12px;border:1px solid #b9cdc1;border-radius:10px;width:100%;box-sizing:border-box}

.option-author{display:block;margin-top:5px;font-weight:400}.poll-suggestion{margin-top:20px;padding-top:18px;border-top:1px dashed #ccd8cb}.poll-suggestion label{display:grid;gap:8px}.poll-suggestion input{font:inherit;padding:12px;border:1px solid #b9cdc1;border-radius:10px;width:100%;box-sizing:border-box;margin-bottom:12px}

.career-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.career-controls,.career-meta{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.career-controls label{display:grid;gap:8px}.career-controls select{font:inherit;padding:12px;border:1px solid #becfc7;border-radius:10px;min-width:220px}.career-overview{background:#edf3ed}.career-track ol{list-style:none;padding:0}.career-track li{padding:18px;margin:12px 0;border-left:3px solid #c9d7cf;background:#f6f8f5;border-radius:0 12px 12px 0}.career-track li.current{border-left-color:#347057;background:#e2efdf}.career-track.tuition li.current{border-left-color:#5474a0;background:#eaf0fa}.career-track li>div{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.career-track li p{font-size:14px;line-height:1.8;margin-bottom:0;color:#52665b}.career-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.career-meta{font-size:14px}details.panel>summary{cursor:pointer;font-weight:650}@media(max-width:800px){.career-paths{grid-template-columns:1fr}}

.career-destination{background:#fffcf5}.career-directions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.career-directions article{padding:20px;border:1px solid #dfdfd2;border-radius:16px;background:white}.career-directions article.selected{border:2px solid #628c6c;background:#edf5e9}.career-directions article p{font-size:14px;line-height:1.9;color:#596d60}.career-next{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:#eee9db;padding:20px;border-radius:14px}.career-next h3{margin:8px 0}.career-next small{color:#58675c}@media(max-width:750px){.career-directions{grid-template-columns:1fr}.career-next{grid-template-columns:1fr}}

.career-map-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.career-map-heading h2{font-size:26px;line-height:1.5}.career-map-heading svg{flex-shrink:0}.career-route{list-style:none;padding:0;margin:24px 0}.career-route li{display:flex;align-items:flex-start;gap:12px;position:relative;padding:0 0 26px;font-weight:600;font-size:16px}.career-route li:last-child{padding-bottom:0}.career-route li:not(:last-child):before{content:'';position:absolute;left:7px;top:16px;bottom:0;width:2px;background:#d7dfd2}.route-dot{display:block;width:16px;height:16px;border:3px solid #9cae98;border-radius:50%;background:#fff;box-sizing:border-box;margin-top:3px;flex-shrink:0}.career-route .here .route-dot{background:#39775c;border-color:#39775c;box-shadow:0 0 0 4px #d6e7d2}.career-route small{display:block;font-size:12px;color:#356a50;margin-top:6px}.career-task-list{padding-left:28px}.career-task-list li{padding:12px 10px;line-height:1.7;border-bottom:1px solid #e5e7dc}.career-more{margin-top:20px;padding:18px;border:1px solid #dddcca;border-radius:12px}.career-more summary{cursor:pointer;font-weight:700}.career-fine{font-size:12px;margin-top:24px}.home-editor details{margin:20px 0}.home-editor summary{cursor:pointer;font-weight:650}@media(max-width:600px){.career-map-heading svg{width:74px;height:74px}.career-map-heading h2{font-size:22px}}

.homework-career-bridge{margin:24px 0;padding:24px;background:#edf3e9;border:1px solid #d0dfc6;border-radius:18px}.homework-career-bridge>p{line-height:1.7}.homework-career-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:22px 0}.homework-career-steps li{display:flex;gap:12px;align-items:center;background:white;border-radius:12px;padding:16px}.homework-career-steps li>span{display:grid;place-items:center;background:#426d52;color:white;border-radius:50%;width:30px;height:30px;flex-shrink:0}.homework-career-steps li:nth-child(n+4)>span{background:#a47935}.homework-career-steps b{font-size:16px}@media(max-width:650px){.homework-career-steps{grid-template-columns:1fr}.homework-career-bridge{padding:18px}}

.career-origins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.career-origins article{background:white;border:1px solid #d9e2d1;border-radius:12px;padding:18px}.career-origins article.selected{border:2px solid #4f7a59}.career-origins p{font-size:14px;line-height:1.9}.career-origins small{color:#426d52;font-weight:700}.career-junction{text-align:center;margin-bottom:0;font-weight:650;color:#426d52}@media(max-width:750px){.career-origins{grid-template-columns:1fr}}
/* Training centre */
.training-summary{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.training-summary strong{font-size:2rem}.training-summary h2{margin:0}.training-filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.training-filters label{display:grid;gap:8px}.training-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px}.training-card{padding:24px;border:1px solid #d8e4df;border-top:5px solid #55a392;border-radius:18px;background:#fff}.training-card.homework{border-top-color:#d9a75a}.training-card.tuition{border-top-color:#729cca}.training-card.leadership{border-top-color:#a58bc6}.training-card h2{font-size:1.25rem;line-height:1.5}.training-card .actions{margin-top:20px;display:flex;gap:8px;flex-wrap:wrap}.training-content{white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere}.training-dialog{max-width:720px;width:calc(100% - 32px)}.training-dialog form>label{display:grid;gap:8px;margin:16px 0}.training-dialog input[type=checkbox]{width:20px;height:20px}.training-dialog fieldset{max-height:220px;overflow:auto;border:1px solid #d8e4df;border-radius:12px}.training-dialog fieldset label{display:flex;align-items:center;gap:10px;padding:8px}.training-dialog [hidden]{display:none!important}.training-dialog .actions{display:flex;gap:12px;flex-wrap:wrap}@media(max-width:600px){.training-filters>label{width:100%}.training-summary{gap:12px}.training-card{padding:18px}}
.training-filters input:not([type=checkbox]){min-height:44px;padding:10px 12px;border:1px solid #d8e4df;border-radius:12px;font:inherit;max-width:100%;box-sizing:border-box}.training-filters label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px;min-height:44px}.training-filters input[type=checkbox]{width:20px;height:20px}

/* Per-booking status for hourly teaching support. */
.work-booking{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 18px;margin:12px 0;border:1px solid;border-left-width:5px;border-radius:12px}.work-booking-person{display:flex;gap:8px 18px;flex-wrap:wrap;align-items:center;font-size:17px}.work-booking-status{display:inline-flex;align-items:center;font-size:15px;font-weight:800;line-height:1.5;padding:7px 12px;border-radius:8px}.work-booking-approved{background:#eef8f1;border-color:#acd3b8}.work-booking-approved .work-booking-status{background:#d3eedc;color:#155b32}.work-booking-pending{background:#fff8e9;border-color:#e8c371}.work-booking-pending .work-booking-status{background:#ffe5ac;color:#754500}@media(max-width:600px){.work-booking{align-items:flex-start;padding:14px}.work-booking-status{font-size:14px}.work-booking-person{width:100%}}

.company-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;padding:20px 24px;color:#71847c;font-size:11px;line-height:1.8;text-align:center}.company-footer strong{font-weight:600}.company-footer span:last-child{flex-basis:100%}@media(max-width:600px){.company-footer{flex-direction:column;gap:2px;padding:18px 16px;font-size:10px}}

.company-footer nav{flex-basis:100%}.company-footer a{color:#426c59;text-underline-offset:3px}
/* Daily home dashboard */
.hd-root{max-width:1300px;margin:auto}.hd-welcome{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.hd-welcome h1{font-size:28px;margin:8px 0}.hd-muted,.hd-welcome p{color:#6e8179;font-size:13px;line-height:1.8}.hd-date{text-align:right;color:#4f6b61;font-size:14px}.hd-date small{margin-top:8px}.hd-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:20px}.hd-card{background:white;border:1px solid #dfe7df;border-radius:15px;padding:24px}.hd-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.hd-root h2{font-size:18px;margin:0}.hd-link{border:0;background:none;color:#1d6250;font-size:12px;font-weight:600;cursor:pointer;padding:5px 0}.hd-head>div{display:flex;align-items:center;gap:9px}.hd-next{background:#1d5347;color:#fff;padding:23px;border-radius:11px}.hd-next small{color:#c5d9c9;font-size:11px}.hd-next h3{font-size:27px;font-weight:500;margin:12px 0}.hd-next strong{font-size:16px}.hd-next p{color:#d6e4d7;font-size:12px;margin:17px 0 0}.hd-lesson{display:flex;gap:20px;align-items:center;padding:17px 0;border-bottom:1px solid #e6ece4;font-size:13px}.hd-lesson:last-child{border:0;padding-bottom:0}.hd-lesson b{white-space:nowrap}.hd-lesson small{letter-spacing:0}.hd-todo{display:flex;gap:12px;justify-content:space-between;padding:17px 0;border-bottom:1px solid #e1e8df}.hd-todo:first-child{padding-top:0}.hd-todo:last-child{border:0;padding-bottom:0}.hd-todo h3{font-size:14px;margin:0 0 7px}.hd-todo p{font-size:12px;margin:0;color:#6e8179;line-height:1.8}.hd-todo .hd-link{white-space:nowrap}.hd-news{margin-top:20px}.hd-notice{display:flex;gap:18px;border-top:1px solid #e1e8df;padding:19px 0}.hd-notice:last-child{padding-bottom:0}.hd-notice-date{min-width:48px;max-width:65px;font-size:12px;color:#6e8179;padding-top:3px}.hd-notice-body{min-width:0;flex:1}.hd-notice h3{font-size:15px;margin:0 0 8px;line-height:1.7}.hd-notice p{font-size:12px;line-height:1.9;color:#61786d;overflow-wrap:anywhere;margin:0 0 8px}.hd-notice .actions{gap:12px;margin-top:12px}.hd-notice .btn{font-size:12px;padding:8px 11px}.hd-tag{font-size:10px;color:#927021;background:#f5ecd5;border-radius:4px;padding:3px 6px;margin-right:6px}.hd-growth{background:#ecf1e8;border:1px solid #dbe4d6;border-radius:14px;padding:23px;margin-top:20px}.hd-growth h3{font-size:23px}.hd-growth p{font-size:12px;line-height:1.8;color:#6e8179}.hd-progress{height:5px;border-radius:8px;background:#d6e1d0;overflow:hidden}.hd-progress span{display:block;height:100%;background:#1d6250}.hd-quick{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.hd-quick button{flex:1;background:transparent;border:1px solid #dfe7df;border-radius:8px;padding:13px 9px;color:#62776c;font-size:12px}.hd-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.hd-stats>div{border:1px solid #dfe7df;background:#fff;border-radius:12px;padding:19px}.hd-stats span{font-size:12px;color:#6e8179}.hd-stats strong{font-size:29px;display:block;margin:8px 0}.hd-stats small{letter-spacing:0}.hd-empty{background:#edf2eb;padding:22px;border-radius:10px}.hd-empty h3{font-size:18px}.hd-empty p{font-size:13px;color:#6e8179;line-height:1.8}.hd-team{margin-top:26px}.hd-team .joy-team-note{margin-top:0}.hd-team .joy-values{margin-bottom:0}@media(max-width:1100px){.hd-layout{grid-template-columns:1fr}.hd-layout>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hd-growth{margin-top:0}.hd-quick{grid-column:1/-1;margin-top:0}}@media(max-width:650px){.hd-layout>div:last-child{display:block}.hd-date{display:none}.hd-card{padding:19px}.hd-head{align-items:flex-start}.hd-head>div{flex-wrap:wrap;justify-content:flex-end}.hd-growth,.hd-quick{margin-top:18px}.hd-stats{gap:7px}.hd-stats>div{padding:12px}.hd-notice{gap:10px}.hd-welcome h1{font-size:25px}.hd-next h3{font-size:24px}}
.hd-root .hd-welcome{height:auto;min-height:0;padding:0 0 4px;border:0;color:var(--ink);flex-wrap:nowrap}.hd-root .hd-welcome>div{display:block}.hd-root .hd-welcome h1{color:var(--ink);letter-spacing:-.5px}.hd-root .hd-welcome .eyebrow{font-size:10px}.hd-root .hd-welcome p{margin:0}.hd-root .hd-date small{display:block}@media(min-width:1001px) and (max-width:1100px){.hd-layout{grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr)}.hd-layout>div:last-child{display:block}.hd-growth,.hd-quick{margin-top:20px}}
/* Refined home composition */
.hd-root{--hd-forest:#205548;--hd-soft:#eff3ec;--hd-border:#dde6dc}.hd-root .hd-welcome{padding:4px 0 22px;margin-bottom:22px;border-bottom:1px solid var(--hd-border)}.hd-root .hd-welcome h1{font-size:30px;font-weight:700;letter-spacing:-1px;margin:10px 0 9px}.hd-root .hd-welcome .eyebrow{letter-spacing:2.8px;color:#658477}.hd-date{font-size:13px}.hd-stats{gap:14px;margin-bottom:24px}.hd-stats>div{position:relative;padding:19px 23px;border-radius:12px;box-shadow:0 3px 13px #244e4503}.hd-stats>div:nth-child(2){background:#e9f1e8;border-color:#c9d9c8}.hd-stats strong{font-size:34px;line-height:1.15;margin:11px 0 10px;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums}.hd-stats span{font-weight:600;color:#526d60}.hd-stats small{font-size:10px;color:#7c8b80}.hd-layout{gap:22px;grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr)}.hd-card{padding:25px;border-radius:15px;border-color:var(--hd-border);box-shadow:0 4px 20px #214c3b03}.hd-head{margin-bottom:20px}.hd-root h2{font-size:17px;letter-spacing:.1px}.hd-link{font-size:11px;transition:color .15s}.hd-link:hover{color:#a37c2d;text-decoration:underline;text-underline-offset:4px}.hd-next{padding:24px 25px;background:linear-gradient(115deg,#173f38,#28614f);border-radius:11px}.hd-next h3{font-size:28px;font-weight:600;letter-spacing:-.5px;margin:11px 0}.hd-next small{font-size:10px;letter-spacing:1.2px}.hd-next p{font-size:12px;margin-top:10px}.hd-next .actions{margin:20px 0 0}.hd-next .btn{background:#f1f4e9;border:0;color:#214e40;font-size:12px;font-weight:700;padding:10px 15px;border-radius:7px}.hd-lesson{padding:16px 2px;gap:23px;line-height:1.6}.hd-lesson b{min-width:100px;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.hd-lesson small{font-size:10px;color:#7b8b80;margin-top:4px}.hd-todo h3{font-size:15px}.hd-todo p{font-size:11px}.hd-todo .hd-link{padding:8px 0}.hd-growth{background:#edf1e7;padding:24px;border-color:#dce4d5}.hd-growth .actions{gap:8px;margin-top:18px}.hd-growth .btn{font-size:12px;padding:9px 12px;border-radius:7px;background:#f9fbf5;border-color:#d6e0cf}.hd-growth p{font-size:12px}.hd-quick{gap:8px;margin-top:16px}.hd-quick button{padding:12px 6px;border:0;background:#eaf0e6;color:#627b68;border-radius:8px;font-size:11px}.hd-quick button:hover{background:#dce8d7}.hd-news{margin-top:22px}.hd-notice-date{font-size:11px;color:#9b885e}.hd-notice h3{font-size:15px}.hd-notice p{font-size:12px;line-height:1.9}.hd-notice .actions{margin-top:15px}.hd-team{margin-top:32px;padding-top:24px;border-top:1px solid var(--hd-border)}.hd-team .joy-team-note{border-radius:13px;padding:25px 28px;gap:23px}.hd-team .joy-team-note h2{font-size:21px;line-height:1.5;margin:7px 0}.hd-team .joy-team-note p{font-size:12px;line-height:1.8}.hd-team .joy-note-symbol{font-size:36px}.hd-team .joy-values{gap:24px;margin-top:23px}.hd-team .joy-values article{padding:2px 17px}.hd-team .joy-values h2{font-size:16px;margin:12px 0 8px}.hd-team .joy-values p{font-size:12px;line-height:1.85}.hd-team .joy-value-number{font-size:9px;letter-spacing:1.5px}@media(max-width:1000px){.hd-layout{grid-template-columns:1fr}.hd-layout>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hd-growth{margin-top:0}.hd-quick{margin-top:0}}@media(max-width:650px){.hd-root .hd-welcome h1{font-size:25px}.hd-stats{gap:8px}.hd-stats>div{padding:15px 11px}.hd-stats strong{font-size:29px}.hd-stats span{font-size:11px}.hd-stats small{font-size:9px;line-height:1.6}.hd-card{padding:19px}.hd-next{padding:21px}.hd-next h3{font-size:24px}.hd-layout>div:last-child{display:block}.hd-growth,.hd-quick{margin-top:18px}.hd-team .joy-team-note{padding:21px;gap:14px}.hd-team .joy-team-note h2{font-size:18px}.hd-team .joy-values{gap:19px}.hd-team .joy-values article{padding:2px 14px}}
.hd-grid-legend{font-size:11px;color:#7c8273;margin:13px 0}.hd-grid-legend>span{display:inline-block;background:#fbefdb;color:#966a25;border-left:3px solid #c49b4e;padding:4px 8px;margin-right:8px}.hd-shortage-scroll{overflow-x:auto;border:1px solid #e5e8dc;border-radius:10px;margin-top:15px}.hd-shortage-table{width:100%;min-width:860px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px}.hd-shortage-table th,.hd-shortage-table td{border-right:1px solid #e7eade;border-bottom:1px solid #e7eade;padding:12px 9px;vertical-align:top;text-align:left}.hd-shortage-table tr>*:last-child{border-right:0}.hd-shortage-table tbody tr:last-child>*{border-bottom:0}.hd-shortage-table thead th{background:#edf2e9;padding:14px 12px;color:#426052;font-size:12px}.hd-shortage-table thead th:first-child{width:93px}.hd-shortage-table small{display:block;letter-spacing:0;font-size:10px;color:#7b8a78;margin-top:5px}.hd-shortage-table tbody th{background:#f7f9f3;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.hd-gap{background:#fcf4e5;border-left:3px solid #c6a15c;border-radius:5px;padding:10px 8px;min-height:70px}.hd-gap b{display:block;color:#926923;font-size:11px;margin-bottom:8px}.hd-gap span{display:block;line-height:1.7;font-size:11px;color:#526650;overflow-wrap:anywhere;margin-top:4px}.hd-no-gap{color:#b8c3b2;display:block;text-align:center;padding:18px 0}

.hd-shortage-table tbody th{position:sticky;left:0;z-index:1}.hd-shortage-table thead th:first-child{position:sticky;left:0;z-index:2}.hd-shortage-table td{min-width:110px}

/* Compact announcement list, with full text on demand. */
.hd-notice.hd-notice-compact{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:20px;padding:24px 0;align-items:start}.hd-notice-compact .hd-notice-date span{display:block;font-size:11px;color:#647c73}.hd-notice-compact .hd-notice-date strong{display:block;font-size:26px;line-height:1.2;margin-top:8px;color:#183f3c;font-weight:600}.hd-notice-compact .hd-notice-body h3{font-size:15px;line-height:1.6;margin:0 0 9px}.hd-notice-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal;color:#657d73;line-height:1.8;margin:0 0 10px}.hd-notice-side{display:flex;flex-direction:column;gap:12px;align-items:flex-end}.hd-notice-side .btn{white-space:nowrap;font-size:12px;padding:10px}.hd-notice-full{line-height:1.9;overflow-wrap:anywhere;margin:20px 0;max-height:55vh;overflow:auto}@media(max-width:650px){.hd-notice.hd-notice-compact{grid-template-columns:40px minmax(0,1fr);gap:14px}.hd-notice-side{grid-column:2;flex-direction:row;align-items:center}.hd-notice-compact .hd-notice-date strong{font-size:23px}}

.home-editor label:has(>input[type="checkbox"]){display:flex;align-items:center;gap:10px;line-height:1.5;cursor:pointer}.home-editor label>input[type="checkbox"]{width:18px;height:18px;flex:0 0 18px;margin:0;padding:0;accent-color:#1d6958}

/* Date-grouped personal timetable with authorized income estimates. */
.schedule-day{border:1px solid #d6e3db;border-radius:16px;overflow:hidden;margin:22px 0;background:white}.schedule-day>header{background:#eaf2ee;padding:20px;display:flex;justify-content:space-between;gap:16px}.schedule-day>header>div{display:flex;gap:14px;align-items:center}.schedule-day header span,.schedule-day small{color:#72877d;font-size:12px}.schedule-day strong,.schedule-month-total strong{color:#1c5a47;font-size:18px}.schedule-columns,.schedule-price-row{display:grid;grid-template-columns:1fr 1.2fr 1.6fr .8fr;gap:20px;padding:20px}.schedule-columns{padding-top:12px;padding-bottom:12px;background:#f8faf8;color:#7b8a83;font-size:12px}.schedule-price-row{border-top:1px solid #e4ebe6;align-items:center}.schedule-price-row small,.schedule-month-total small{display:block;margin-top:6px;line-height:1.6}.schedule-price-row>strong,.schedule-columns>span:last-child{text-align:right}.schedule-month-total{display:flex;justify-content:space-between;align-items:center;padding:24px;background:#eaf2ee;border-radius:14px}.schedule-price-panel{padding:24px}@media(max-width:650px){.schedule-day>header,.schedule-day>header>div{flex-wrap:wrap;gap:8px}.schedule-columns{display:none}.schedule-price-row{grid-template-columns:1fr 1fr;gap:14px;padding:16px}.schedule-price-row>strong{align-self:end}.schedule-price-panel{padding:12px}.schedule-month-total{padding:16px;gap:12px}}@media print{.schedule-day{break-inside:avoid}.schedule-price-row{padding:10px}}

@media print{.schedule-day>header{display:flex!important;break-after:avoid;page-break-after:avoid;background:#eaf2ee!important;color:#173c42!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.schedule-day>header b,.schedule-day>header span,.schedule-day>header strong{color:#173c42!important}.schedule-columns{display:grid;grid-template-columns:1fr 1.2fr 1.6fr .8fr}.schedule-price-row{grid-template-columns:1fr 1.2fr 1.6fr .8fr}}

.payroll-total{background:#204f43;color:white;padding:28px;border-radius:16px;margin-bottom:24px}.payroll-total>strong{display:block;font-size:36px;margin:12px 0}.payroll-total p{color:#d5e6db;margin-bottom:0}.payroll-table{border-collapse:collapse;width:100%;min-width:780px;font-size:14px}.payroll-table th{background:#eaf2ee;text-align:left;padding:16px}.payroll-table td{padding:18px 16px;border-bottom:1px solid #dde6df}.payroll-table td:last-child{max-width:250px;color:#7e704b;font-size:12px}.payroll-table strong{color:#205b48;white-space:nowrap}@media print{.payroll-table{min-width:0;font-size:10px}.payroll-table th,.payroll-table td{padding:8px}.payroll-table tr{break-inside:avoid}.payroll-table thead{display:table-header-group}.payroll-total{background:white;color:#173c42;border:1px solid #ccd9d0}.payroll-total p{color:#173c42}}

.tc-personal-actions{display:flex;gap:12px;flex-wrap:wrap}.tc-compensation>.tc-private{margin:24px 0 40px}

.ts-settings{background:#fff;border:1px solid #cfddd4;border-radius:22px;padding:28px;margin-bottom:28px}.ts-settings-head h2{margin:8px 0}.ts-settings-head p,.ts-settings-grid p{color:#617970;line-height:1.7}.ts-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.ts-settings-grid article{background:#f3f6f1;border:1px solid #dce5dc;border-radius:14px;padding:20px;display:flex;flex-direction:column;align-items:flex-start}.ts-settings-grid h3{margin:0}.ts-settings-grid p{flex:1}.ts-history{margin-top:22px;border-top:1px solid #dce5dc;padding-top:20px}.ts-history summary{cursor:pointer;font-weight:700}.td-person-footer{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:800px){.ts-settings-grid{grid-template-columns:1fr}.ts-settings{padding:20px}}
