:root{font-family:Arial,system-ui,sans-serif;background:#f8f5ec;color:#1f2f41}
body{background:#f8f5ec}body[data-view] header{margin-left:98px}body[data-view] main{max-width:1180px;width:calc(100% - 140px);margin:24px 22px 24px auto;padding:0}body[data-view="home"] header{display:none}body[data-view="home"] main{margin-top:0}
body[data-view] nav{position:fixed;inset:0 auto 0 0;width:90px;margin:0;padding:24px 6px;z-index:30;display:flex;flex-direction:column;justify-content:flex-start;gap:15px;border:0;border-right:1px solid #eae6d8;border-radius:0;box-shadow:none;background:#fffefa}
body[data-view] nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:72px;width:100%;padding:10px 3px;border-radius:16px;font-size:11px;font-weight:400;white-space:normal;color:#46525c}
nav button svg{width:23px;height:23px;flex-shrink:0}body[data-view] nav button.active{background:#fff1b2;color:#173b56;box-shadow:none}body[data-view] nav button.active svg{stroke-width:2}
.home-loading{padding:40px}.home-hero{position:relative;isolation:isolate;overflow:hidden;color:#fff;min-height:390px;border-radius:0 0 30px 30px;background:#0c2c50;--sun-x:78%;--sun-y:38%}
.sky-scene{position:absolute;inset:0;z-index:-2;overflow:hidden;background:linear-gradient(180deg,#0c1b38,#15355e 70%,#31506a);transition:background 4s}
.sky-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0a234dd9 0,#0a234d85 48%,#0a234d26 100%);z-index:4}
.sky-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 85% 75%,#ee925b88,transparent 55%);opacity:0;transition:opacity 3s}
.sky-sun{position:absolute;left:var(--sun-x);top:var(--sun-y);width:92px;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 42% 38%,#fffef2 0,#fff6c2 48%,#ffd966 75%,#ed983c 100%);box-shadow:0 0 38px 15px #ffe6a06b,0 0 95px 45px #ffb84035;transform:translate(-50%,-50%);transition:left 15s linear,top 15s linear,opacity 4s;animation:sun-breathe 8s ease-in-out infinite;opacity:0}
.sky-moon{position:absolute;right:13%;top:38px;width:58px;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fffce4,#dddac4 52%,#aaa99d);box-shadow:0 0 36px #eaf0ff33;opacity:.9}
.sky-moon:after{content:'';position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 30% 65%,#7775 0 8%,transparent 9%),radial-gradient(circle at 66% 28%,#7774 0 12%,transparent 13%),radial-gradient(circle at 70% 70%,#7773 0 8%,transparent 9%)}
.sky-stars{position:absolute;inset:0}.sky-stars i{position:absolute;width:2px;height:2px;border-radius:50%;background:#fff;opacity:.75;box-shadow:0 0 4px #fff;animation:star-twinkle 6s ease-in-out infinite;animation-delay:var(--delay)}
.sky-sea{position:absolute;left:-10%;bottom:-65px;width:120%;height:160px;border-radius:50% 50% 0 0;background:linear-gradient(180deg,#94b7ce22,#071f4266);border-top:1px solid #c8d7e744;animation:sea-drift 12s ease-in-out infinite alternate}
[data-sky="dawn"] .sky-scene{background:linear-gradient(#536b9c,#e39783 68%,#f7c47b)}[data-sky="dawn"] .sky-glow,[data-sky="sunset"] .sky-glow{opacity:1}
[data-sky="day"] .sky-scene{background:linear-gradient(#237eb4,#87bcd6 70%,#c7dfda)}[data-sky="sunset"] .sky-scene{background:linear-gradient(#334870,#b56e78 64%,#f6af6c)}
[data-sky="dawn"] .sky-sun,[data-sky="day"] .sky-sun,[data-sky="sunset"] .sky-sun{opacity:1}
[data-sky="day"] .sky-moon,[data-sky="dawn"] .sky-moon,[data-sky="sunset"] .sky-moon,[data-sky="day"] .sky-stars,[data-sky="dawn"] .sky-stars,[data-sky="sunset"] .sky-stars{opacity:0}
.hero-content{position:relative;z-index:2;padding:25px 28px 48px}.hero-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.hero-brand{display:flex;align-items:center;gap:15px}.hero-brand svg{width:140px;height:33px;filter:none}.hero-brand>span{font-size:11px;font-weight:bold;letter-spacing:.22em;border-left:1px solid #ffffff55;padding-left:15px}.hero-exit{background:#ffffff14;border:1px solid #ffffff35;font-size:12px;min-height:36px;padding:8px 13px;color:#fff}
.hero-date{text-transform:capitalize;font-size:14px;color:#e3eaf0;margin:0 0 9px}.hero-content h1{font-size:clamp(25px,3vw,36px);line-height:1.12;max-width:75%;margin:0 0 9px;letter-spacing:-.04em}.hero-role{font-size:14px;color:#d8e5f2;margin:0}.hero-wish{font-size:13px;color:#dde7f0;margin:10px 0 0;max-width:75%}
.hero-shift{border:1px solid #ffffff35;background:#eaf2ff16;backdrop-filter:blur(6px);border-radius:23px;margin-top:25px;padding:20px}.hero-shift-top{display:flex;align-items:center;justify-content:space-between}.hero-chip{background:#ffd23e;color:#393414;padding:5px 10px;border-radius:20px;font-size:11px;font-weight:bold}.hero-shift-top strong{font-size:26px}.hero-shift-top small{font-size:16px;opacity:.6}.hero-shift h2{color:#fff;font-size:19px;letter-spacing:-.02em;margin:10px 0 6px}.hero-shift-note{font-size:13px;color:#d2dfed;margin:0}.shift-segments{display:flex;gap:5px;margin-top:20px}.shift-segments span{height:5px;background:#dceaff33;flex:1;border-radius:8px}.shift-segments .filled{background:#ffd23e;box-shadow:0 0 6px #ffd23e25}.hero-dates{display:flex;justify-content:space-between;margin-top:10px;color:#d2dfed;font-size:11px}.hero-wave{position:absolute;inset:auto 0 -1px;width:100%;height:26px;z-index:3}
.home-main{padding-top:20px}.home-dashboard .card{border:1px solid #ece8dc;box-shadow:0 3px 8px #283e5710;border-radius:20px;padding:22px}.home-weather{display:flex;align-items:center;gap:20px;margin-bottom:18px;min-height:100px;background:#fffdf6}
#homeWeather{display:flex;align-items:center;gap:24px;width:100%}.weather-main{display:flex;gap:14px;align-items:center;flex-shrink:0}.weather-symbol{color:#b28b17;font-size:40px}.weather-main>div{display:flex;flex-direction:column}.weather-main strong{font-size:30px;color:#153b61}.weather-main span{font-size:13px}.weather-details{display:flex;flex-direction:column;gap:5px;font-size:13px}.weather-details strong{font-size:14px}.weather-details small{color:#76818b;font-size:11px}.weather-details a{color:#48728d}.weather-sun{display:flex;flex-direction:column;gap:8px;margin-left:auto;color:#6d726d;font-size:12px;white-space:nowrap}
.home-columns{display:grid;grid-template-columns:1.25fr 1fr;gap:18px}.home-card-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-dashboard h2{font-size:17px;margin:0 0 18px;color:#20364a;letter-spacing:-.02em}.home-card-title h2{display:flex;align-items:center;gap:9px;margin:0}.home-card-title svg{width:22px;height:22px;color:#32657d}.home-link{color:#315b71;background:transparent;font-size:12px;padding:5px;min-height:34px;white-space:nowrap}
.home-empty{border:1px dashed #e2ddc9;background:#f8f6ee;padding:18px;border-radius:18px;margin:20px 0;font-size:14px;line-height:1.45}.home-empty p{font-size:13px;color:#757971;margin-bottom:0}.home-primary{border-radius:24px;width:100%;font-size:13px;background:#103b63;margin-top:16px}.home-event-group{padding:16px 0;border-bottom:1px solid #edece5}.home-event-label{font-size:11px;display:inline-block;background:#fff0b5;color:#6b5419;padding:4px 8px;border-radius:20px;margin-bottom:10px}.home-event-group+ .home-event-group .home-event-label{background:#eaf1f6;color:#3c6680}.home-event-group h3{font-size:16px;margin:0 0 7px}.home-event-group p{font-size:13px;margin:5px 0;line-height:1.4}.home-event-group small{font-size:11px;color:#6e7c83}.home-event-group article+article{margin-top:14px}.home-access>p{font-size:13px}.home-access>button{display:flex;align-items:center;gap:12px;background:#f8f7f1;width:100%;text-align:left;color:#244660;border-radius:13px;margin-top:12px;font-size:14px;font-weight:400;padding:15px}.home-access>button svg{height:23px;width:23px}.home-access>button span{margin-left:auto}.home-time-note{margin-top:22px;color:#86918f;font-size:11px!important}
@keyframes star-twinkle{0%,100%{opacity:.3}50%{opacity:.9}}@keyframes sun-breathe{0%,100%{box-shadow:0 0 38px 15px #ffe6a06b,0 0 95px 45px #ffb84035}50%{box-shadow:0 0 48px 20px #ffe6a080,0 0 105px 55px #ffb84040}}@keyframes sea-drift{from{transform:translateX(-1%) rotate(-1deg)}to{transform:translateX(1%) rotate(1deg)}}
@media(max-width:700px){body[data-view] header{margin-left:0}body[data-view] main{width:auto;margin:18px 12px 90px}body[data-view="home"] main{margin:0 0 85px}body[data-view] nav{inset:auto 0 0;width:100%;height:auto;min-height:64px;padding:5px 3px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #e6e2d5;border-right:0;flex-direction:row;gap:0;align-items:stretch;justify-content:space-around;background:#fffefaed;backdrop-filter:blur(12px)}body[data-view] nav button{width:auto;flex:1 1 0;min-width:0;min-height:55px;max-width:100px;font-size:10px;padding:6px 1px;gap:4px;border-radius:13px;white-space:nowrap}nav button svg{height:21px;width:21px}.hero-content{padding:24px 18px 42px}.hero-top{margin-bottom:32px}.hero-brand svg{width:115px;height:27px}.hero-brand{gap:10px}.hero-brand>span{font-size:9px;padding-left:10px}.hero-exit{font-size:11px;padding:7px 10px;min-height:32px}.hero-content h1{font-size:29px;max-width:90%;letter-spacing:-.035em}.hero-wish{max-width:82%;font-size:12px;line-height:1.4}.hero-date,.hero-role{font-size:13px}.hero-shift{padding:18px 16px;border-radius:23px;margin-top:24px}.hero-shift h2{font-size:18px;line-height:1.3;max-width:93%}.hero-shift-top strong{font-size:25px}.home-main{padding:16px 12px 0}.home-columns{grid-template-columns:1fr;gap:16px}.home-dashboard .card{padding:18px;border-radius:20px}.home-weather{margin-bottom:16px}#homeWeather{flex-wrap:wrap;gap:12px 16px}.weather-main{gap:10px}.weather-symbol{font-size:32px}.weather-main strong{font-size:27px}.weather-details{flex:1;min-width:150px;font-size:12px}.weather-details strong{font-size:12px}.weather-sun{flex-direction:row;margin-left:0;border-top:1px solid #ece7d7;width:100%;padding-top:10px;gap:20px}.sky-sun{width:74px}.sky-moon{width:47px;right:11%;top:90px}.hero-content h1,.home-event-group h3{overflow-wrap:anywhere}body[data-view] footer{padding-bottom:90px}}
@media(prefers-reduced-motion:reduce){.sky-sun,.sky-stars i,.sky-sea{animation:none!important;transition:none!important}.sky-scene,.sky-glow{transition:none!important}}

.home-dashboard .hero-shift h2{color:#fff}

.child-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0;border-bottom:1px solid #e6e5dc}.child-row p{margin:7px 0;font-size:14px}.child-row small{color:#647b8d}dd{margin:4px 0 16px;overflow-wrap:anywhere}dt{font-weight:bold}.export-link{display:inline-block;background:#edf3fd;padding:13px;border-radius:12px;color:#074eac}.check-task{display:flex;align-items:center;gap:12px;margin:16px 0;font-weight:400}.check-task input{width:22px;height:22px;flex-shrink:0;margin:0}@media(max-width:700px){body[data-view] nav{overflow-x:auto;justify-content:flex-start}body[data-view] nav button{flex:0 0 68px}body[data-view] nav button span{font-size:9px}}
/* Staff notification inbox */
.notice-intro,.notice-compose,.notice-item,.notice-empty{margin-bottom:16px}.notice-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.notice-heading svg{width:38px;height:38px;color:#0b55a7}.notice-heading h2{margin:5px 0}.notice-eyebrow{font-size:11px;letter-spacing:.12em;color:#657b90}.notice-badge{background:#ffd254;color:#16334f;border-radius:20px;padding:2px 6px;font-size:11px}.notice-badge[hidden]{display:none}.notice-compose summary{cursor:pointer;font-weight:700;color:#104f95}.notice-compose form{padding-top:20px}.notice-compose textarea{width:100%;font:inherit;border:1px solid #c7dbe7;border-radius:10px;padding:12px;margin:8px 0 16px}.notice-compose fieldset{border:1px solid #dbe5ef;border-radius:12px;margin-bottom:18px}.notice-compose .notice-check{display:flex;gap:12px;align-items:center;padding:6px;font-weight:400}.notice-check input{width:auto;margin:0}.notice-new{border-left:5px solid #f6c950}.notice-meta,.notice-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.notice-meta{font-size:12px;color:#6c7f92;justify-content:space-between}.notice-meta>span{background:#edf4fb;color:#0c548f;border-radius:20px;padding:6px 10px}.notice-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.notice-item h3{overflow-wrap:anywhere}.notice-receipts ul{list-style:none;padding:0}.notice-receipts li{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e6edf4;padding:10px 0;font-size:14px}.notice-receipts li span{color:#65798e}.notice-error{color:#a12a39}@media(max-width:600px){.notice-receipts li{display:block}.notice-receipts li span{display:block;margin-top:5px}}

.home-child-stats{margin-bottom:18px}.home-child-stats label{font-size:13px}.child-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px}.child-stat{padding:16px 14px;border-radius:15px;background:#f1f5fa;display:flex;flex-direction:column;gap:6px}.child-stat strong{font-size:29px;color:#0b4e9e}.child-stat span{font-size:12px;color:#50697e}.child-stat[data-stat=present]{background:#e9f5ee}.child-stat[data-stat=absent]{background:#fff1ed}.child-stat[data-stat=temporary]{background:#fff7db}.child-stats-note{font-size:12px;line-height:1.6}@media(max-width:600px){.child-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.child-stat[data-stat=total]{grid-column:1/-1;flex-direction:row;align-items:center;gap:12px}}

/* A clear role label and a calm daily thought for the team. */
.home-hero .hero-role{font-size:17px;font-weight:700;line-height:1.4;color:#e5edf6}
.hero-quote{margin:16px 0 0;max-width:640px;padding:0 0 0 14px;border-left:3px solid #ffda54;color:#f1f5fa}
.hero-quote blockquote{margin:0;font-size:15px;line-height:1.55;font-weight:400}
.hero-quote figcaption{margin-top:7px;font-size:13px}
.hero-quote a{color:#ffe28a;text-decoration:none}
.hero-quote a:hover{text-decoration:underline}
@media(max-width:700px){.home-hero .hero-role{font-size:16px}.hero-quote{max-width:100%;margin-top:15px}.hero-quote blockquote{font-size:14px}.hero-quote figcaption{font-size:12px}}

.home-weather .weather-date{margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid #e6e2d5;font-size:16px;font-weight:700;line-height:1.4;text-transform:capitalize;color:#193d59}

/* Calendar and temperature share a stable top row. */
.home-dashboard .home-weather{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 22px;align-items:center}
.home-weather .weather-date{grid-column:1;grid-row:1;display:flex;align-items:center;gap:12px;margin:0;padding:0;border:0;min-width:0;font-size:14px}
.calendar-tile{display:flex;flex-direction:column;align-items:center;flex:0 0 62px;border:1px solid #e5dfcc;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 2px 5px #193d5909}
.calendar-month{display:block;width:100%;background:#fff0ad;text-align:center;font-size:11px;line-height:24px;font-weight:700;text-transform:capitalize;white-space:nowrap}
.calendar-tile>strong{font-size:29px;line-height:38px;font-variant-numeric:tabular-nums;color:#153b61}
.calendar-caption{display:flex;flex-direction:column;gap:5px;min-width:0}
.calendar-caption>strong{font-size:14px;white-space:nowrap;text-transform:capitalize}
.calendar-caption>span{font-size:12px;color:#75818b;white-space:nowrap}
.home-weather #homeWeather{display:contents}
.home-weather .weather-main{grid-column:2;grid-row:1;display:flex;align-items:center;gap:9px;justify-content:flex-end}
.home-weather .weather-main strong{display:block;font-size:32px;line-height:1.15;white-space:nowrap;font-variant-numeric:tabular-nums}
.home-weather .weather-main .weather-symbol{font-size:27px;line-height:1}
.home-weather .weather-main>div>span{font-size:12px;white-space:nowrap}
.home-weather .weather-details{grid-column:1/-1;min-width:0;gap:6px;padding-top:15px;border-top:1px solid #e8e2d4}
.home-weather .weather-details strong{font-size:14px}
.home-weather .weather-sun{grid-column:1/-1;display:flex;flex-direction:row;justify-content:space-between;margin:0;padding-top:12px;border-top:1px solid #e8e2d4;gap:12px;width:100%}
@media(max-width:370px){.home-dashboard .home-weather{gap:15px 10px;padding:15px}.home-weather .weather-date{gap:8px}.calendar-tile{flex-basis:52px}.calendar-caption>strong{font-size:12px}.home-weather .weather-main{gap:5px}.home-weather .weather-main strong{font-size:27px}.home-weather .weather-main .weather-symbol{font-size:22px}}

.home-hero .hero-day-theme{color:#ffe28a;font-size:19px;line-height:1.4;margin:12px 0 0;font-weight:700}
.day-theme-note{padding:16px;border-left:3px solid #f5cf56;background:#fcf8e9;border-radius:12px;margin:16px 0}.day-theme-note h3{margin:0 0 8px}.day-theme-note p{margin:0;line-height:1.5}
.home-duty{margin-bottom:18px}.home-duty h2{display:flex;align-items:center;gap:10px;font-size:19px;margin:0 0 16px}.home-duty h2 svg{width:23px;height:23px}.home-duty .duty-squad{display:block;font-size:23px;color:#153b61;background:#fff2b5;border-radius:12px;padding:14px 16px}.home-duty>p{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;line-height:1.5}.home-duty>p>span{color:#75818b}.home-duty>p>strong{color:#193d59}

/* Compact shared duty banner and a clock-driven program rail. */
.duty-alert{display:flex;align-items:center;gap:12px;padding:14px 16px;margin:0 0 20px;background:#fff0ee;border:1px solid #f2c4be;border-left:4px solid #cf443d;border-radius:14px;color:#752823}
.duty-alert-icon{font-size:23px;color:#c13d35;flex:none}.duty-alert>div{min-width:0}.duty-alert-label{display:block;font-size:11px;font-weight:600;color:#a34941;margin-bottom:4px}.duty-alert strong{display:block;font-size:14px;line-height:1.4;color:#752823}.duty-alert-person{margin-left:auto;padding-left:14px;border-left:1px solid #ecc0ba}
.plan-time-track{--track-color:#d64c42;margin-top:16px;color:#244660}.plan-time-track.is-next{--track-color:#168ba1}.track-caption,.track-times{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px;line-height:1.5}.track-caption strong{font-size:11px}.track-rail{position:relative;height:7px;border-radius:10px;background:#e9e4da;margin:10px 0;overflow:visible}.track-fill{display:block;height:100%;border-radius:10px;background:var(--track-color);width:var(--track-from);animation:track-grow var(--track-seconds) linear forwards;overflow:hidden;position:relative}.track-fill:after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent,#ffffff70,transparent);background-size:70px 100%;animation:track-shine 2.8s linear infinite}.track-cursor{position:absolute;left:var(--track-from);top:50%;width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:var(--track-color);box-shadow:0 0 0 3px #d64c4220;transform:translate(-50%,-50%);animation:track-move var(--track-seconds) linear forwards}.track-times{color:#7c8589;font-variant-numeric:tabular-nums}.is-live .track-caption>span:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#d64c42;margin-right:5px;animation:live-beacon 2s ease-in-out infinite}
@keyframes track-grow{from{width:var(--track-from)}to{width:100%}}@keyframes track-move{from{left:var(--track-from)}to{left:100%}}@keyframes track-shine{from{background-position:-70px 0}to{background-position:140px 0}}@keyframes live-beacon{50%{opacity:.35}}
@media(max-width:420px){.duty-alert{gap:9px;padding:12px 10px}.duty-alert strong{font-size:12px}.duty-alert-label{font-size:10px}.duty-alert-person{padding-left:9px}.duty-alert-icon{font-size:20px}.track-caption{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.track-fill,.track-cursor,.track-fill:after,.is-live .track-caption>span:before{animation:none!important}}

.lesson-class{font-size:12px;color:#6b808a}.lesson-status{color:#12656b;font-size:12px;font-weight:700}.lesson-live h3{margin:8px 0;font-size:21px}.lesson-live article{background:#f0f7f5;padding:16px;border-radius:16px}.lesson-day{margin-top:20px}.lesson-row{display:flex;gap:16px;align-items:center;border-bottom:1px solid #e5e4da;padding:14px 0}.lesson-row>div{flex:1}.lesson-row small,.race-ranking small{display:block;color:#6c8089;margin-top:6px}.lesson-row>strong{white-space:nowrap;font-size:13px}.race-score-pair{display:flex;gap:18px;margin:12px 0}.race-score-pair span{display:flex;flex-direction:column;font-size:12px;color:#617986}.race-score-pair b{font-size:32px;color:#12656b}.race-home-scores>div{padding:14px;border-radius:14px;background:#fff8da;margin-bottom:10px}.race-ranking{display:flex;align-items:center;gap:14px;padding:16px 10px;border-bottom:1px solid #e7e5d8}.race-ranking>div{flex:1;min-width:0}.race-ranking>div>strong{overflow-wrap:anywhere}.race-ranking>b{font-size:27px;color:#12656b}.race-place{display:grid;place-items:center;min-width:32px;height:32px;background:#f1ecd8;border-radius:50%;font-weight:700}.race-ranking.is-mine{background:#fff4bc;border-radius:14px}.race-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e5e4da;padding:14px 0}.race-entry p{font-size:13px;line-height:1.5}.race-entry.is-void{opacity:.55}.race-entry.is-void strong{text-decoration:line-through}.race-page summary{font-weight:700}.race-page textarea{min-height:80px}.personal-plan-squad{padding:14px;border-radius:14px;background:#f7f5e9;margin:12px 0}.personal-plan-squad h3{margin:6px 0}@media(max-width:420px){.home-card-title{gap:10px;flex-wrap:wrap}.lesson-row{flex-wrap:wrap}.race-ranking{gap:10px}.race-entry{flex-wrap:wrap}}

.lesson-kind{display:inline-block;font-size:10px;line-height:1.4;font-weight:700;border-radius:7px;background:#e7eef9;color:#305c88;padding:4px 7px;margin:0 6px 6px 0}.lesson-kind.kind-additional{background:#ede6fa;color:#654087}.lesson-kind.kind-extracurricular{background:#e0f3eb;color:#226851}.lesson-kind.kind-educational{background:#fcebdc;color:#865123}.lesson-kind.kind-squad{background:#fff1b5;color:#6e5718}.lesson-live .lesson-status{display:block}.lesson-live article{margin-top:10px}.lesson-live article.kind-squad{background:#fff8df;border-left:3px solid #e6bd45}.lesson-row.kind-squad{border-left:3px solid #e6bd45;padding-left:12px}.lesson-row>div>.lesson-kind{display:table}

.home-dashboard .home-program{background:linear-gradient(145deg,#fffdf4,#fffefa);border-color:#eee3ba}.home-program h3{font-size:22px;line-height:1.35;margin:14px 0 8px;color:#183d5a}.program-today-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.program-date-chip{display:inline-block;background:#fff0b3;color:#6e571a;font-size:12px;font-weight:700;padding:6px 10px;border-radius:9px}.program-slogan{color:#6e7d81;font-size:14px;line-height:1.5;margin:0 0 14px}.program-preview-list{list-style:none;padding:0;margin:16px 0}.program-preview-list li{padding:9px 0 9px 17px;position:relative;font-size:14px;line-height:1.5;border-bottom:1px solid #ece7d6}.program-preview-list li:before{content:"";position:absolute;left:0;top:17px;width:6px;height:6px;border-radius:50%;background:#d5ab35}.program-more{font-size:12px;margin-bottom:0}.program-day-tabs{display:flex;gap:9px;overflow-x:auto;padding:5px 0 16px;margin:16px 0;scroll-snap-type:x proximity}.program-day-tabs button{flex:0 0 112px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;scroll-snap-align:start;min-height:84px}.program-day-tabs span,.program-day-tabs small{font-size:11px}.program-day-tabs strong{font-size:13px;white-space:nowrap}body[data-view] #content .program-day-tabs button.is-selected{background:#fff0ac;color:#244660;border:1px solid #d9bd58}.program-theme{font-size:25px;line-height:1.35;color:#193d59}.program-full-list{padding-left:25px}.program-full-list li{padding:12px 8px;line-height:1.6;border-bottom:1px solid #e9e6d8}.program-full-list li::marker{color:#b28c29;font-weight:700}.program-page textarea{width:100%;line-height:1.6}
