:root{color-scheme:dark;--bg:#1b1b1c;--panel:#242425;--border:#39393b;--red:#c32232;--muted:#b1b0b4}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--bg);color:#f7f7f7;font:16px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--border);background:#29292b;border-radius:12px;padding:12px 18px;color:inherit}button:hover{background:#343436}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #ff6472;outline-offset:4px}button:disabled{opacity:.5;cursor:wait}aside{position:fixed;inset:0 auto 0 0;width:282px;padding:42px 24px;background:#19191a;border-right:1px solid #303032}.brand{font-size:44px;font-weight:800;line-height:1.05;letter-spacing:-2px;white-space:nowrap}.brand em{font-style:normal;color:#e32243}.brand span{display:block;margin-top:17px;font-size:8px;letter-spacing:2px;font-weight:400;color:#bdbbc0;white-space:normal}.cabinet-label{margin-top:37px;color:var(--muted);font-size:14px}nav{display:grid;gap:10px;margin-top:14px}nav button{display:flex;align-items:center;gap:15px;text-align:left;background:linear-gradient(120deg,#29292a,#242425);padding:15px 16px;font-size:15px}nav button.active{background:linear-gradient(110deg,#a81527,#bd2030);border-color:#c12738;color:#fff}nav svg{width:25px;height:25px;flex-shrink:0}.aside-note{position:absolute;bottom:35px;color:#858488;font-size:12px}main{margin-left:282px;max-width:1400px;padding:38px 5% 0}.hero{position:relative;aspect-ratio:1.8;background:#292929 url('lesson-wide-6c92a909922e.webp?v=6c92a909922ea488') center/cover;border:1px solid var(--border);border-radius:22px;overflow:hidden;margin-bottom:35px}.hero-copy{position:absolute;left:48%;right:3%;top:50%;transform:translateY(-50%)}.hero h1{font-family:Impact,'Arial Narrow',sans-serif;text-transform:uppercase;font-size:clamp(25px,3.2vw,54px);line-height:1.13;letter-spacing:-1px;margin:0;font-weight:900}.hero em{font-style:normal;color:#e32243}.hero p{color:#c8c6ca;font-size:clamp(10px,1.25vw,16px);margin:15px 0 0}h2{font-size:34px;line-height:1.2;letter-spacing:-.8px;margin:25px 0 8px}.sub{color:var(--muted);font-size:15px}h3{font-size:22px;line-height:1.3}.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:25px 0}.days button{min-width:0;padding:12px 0;text-align:center;min-height:46px}.days .active,.primary,.video-link{background:#b91d2e;color:#fff;border-color:#c32232}.plan,.lesson,.linkcard{background:linear-gradient(130deg,#282829,#222223);border:1px solid var(--border);border-radius:18px;padding:26px;margin:22px 0}.plan h3{margin-top:0}.plan ol{padding-left:23px;margin-bottom:0}.plan li{padding:7px 0}.plan a{text-decoration:none;color:#eee}.optional{font-size:12px;color:var(--muted)}.lesson-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.lesson h3{font-size:23px;margin:0}.number{color:#c5bec2;font-size:11px;letter-spacing:2.2px;margin-bottom:13px}.number::first-letter{color:#ef394b}.placeholder{min-height:180px;aspect-ratio:2.2;border-radius:12px;background:radial-gradient(ellipse at top,#373739,#242426);border:1px solid #3c3c3f;display:grid;place-content:center;text-align:center;color:#aaa6ab;margin:20px 0}.play{height:55px;width:55px;border-radius:50%;background:#bc2032;color:#fff;display:grid;place-items:center;font-size:30px;margin:auto}.placeholder p{font-size:13px;margin:12px 0 0}video{width:100%;max-height:650px;background:#101011;margin:20px 0;border-radius:12px}.notes{white-space:pre-wrap;color:#c5c2c7;margin:15px 0;overflow-wrap:anywhere}.check{display:flex;align-items:center;gap:10px;font-size:14px;border-top:1px solid #414043;padding-top:16px}.check input{width:21px;height:21px;accent-color:var(--red)}.progress{height:5px;background:#454348;border-radius:5px;margin:14px 0}.progress div{height:100%;background:var(--red);border-radius:5px}footer{color:#8d898f;font-size:12px;text-align:center;padding:30px 0}.owner-tools{display:flex;flex-direction:column;align-items:center;gap:15px}.owner-tools button{font-size:12px;padding:8px 14px;background:transparent}.owner-tools details{max-width:500px;font-size:11px}.owner-tools summary{cursor:pointer}.empty{padding:35px;border:1px dashed #55515a;border-radius:15px;color:var(--muted);margin-top:20px}dialog{color:#f8f6fa;background:#242426;border:1px solid #514950;border-radius:20px;width:min(560px,95%);padding:26px}dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}label{display:block;margin:18px 0;font-size:14px}input:not([type=checkbox]),textarea,select{width:100%;padding:12px;border:1px solid #59535c;background:#1b1a1d;color:#fff;border-radius:9px;font:inherit;margin-top:7px}textarea{resize:vertical}.actions{display:flex;justify-content:flex-end;gap:8px}.edit{font-size:12px;padding:7px 12px}a{color:#ff8491}.external-video{margin:20px 0;padding:30px 20px;text-align:center;background:#303032;border-radius:12px}.video-link{display:inline-block;padding:12px 20px;text-decoration:none;border-radius:10px}.link-lesson{padding:23px 26px}.link-lesson .number{display:none}.link-lesson h3{font-size:18px}.link-lesson .notes{font-size:14px;margin-bottom:0}#uploadStatus{font-size:14px;color:#e9c4cb}#editError{color:#ff8b99;font-size:14px}
@media(min-width:1400px){main{margin-right:auto}.hero{max-height:440px}}
@media(max-width:760px){aside{position:static;width:100%;padding:27px 22px 0;height:auto;border:0;background:none}.brand{font-size:46px}.brand span{font-size:8px;letter-spacing:2.1px;margin-top:14px}.cabinet-label{margin-top:25px;font-size:14px}nav{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:9px}nav button{grid-column:span 2;padding:12px 9px;gap:7px;font-size:12px;min-height:49px;border-radius:11px;justify-content:center}nav button:nth-child(-n+2){grid-column:span 3;font-size:14px;gap:12px}nav svg{width:22px;height:22px}.aside-note{display:none}main{margin:0;padding:23px 15px 0}.hero{border-radius:17px;margin-bottom:28px;aspect-ratio:1.7}.hero-copy{left:47%;right:2%}.hero h1{font-size:clamp(22px,5.8vw,42px);letter-spacing:-.7px}.hero p{font-size:clamp(9px,2.2vw,14px);margin-top:10px}h2{font-size:29px;margin-top:25px}#content>h2,#content>.sub{margin-left:7px}.sub{font-size:14px}.plan,.lesson,.linkcard{padding:20px 16px;border-radius:15px;margin:19px 0}.lesson h3{font-size:21px}.number{font-size:10px;letter-spacing:2px}.placeholder{min-height:160px}.days{gap:5px}.days button{font-size:14px;border-radius:9px}.edit{padding:6px 9px;font-size:11px}.lesson-head{align-items:flex-start}.notes{font-size:14px}.link-lesson h3{font-size:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.instructions .lesson:first-of-type .placeholder{background:linear-gradient(0deg,#161616d9,transparent 70%),url('lesson-wide-6c92a909922e.webp?v=6c92a909922ea488') 30% 35%/cover;aspect-ratio:2.2;min-height:190px;position:relative}.instructions .lesson:first-of-type .placeholder p{position:absolute;bottom:12px;left:0;right:0;color:#ddd}.instructions .lesson:first-of-type .play{box-shadow:0 5px 30px #0005}
/* Lady core — light edition */
:root{color-scheme:light;--bg:#fafafb;--panel:#fff;--border:#e6e6eb;--red:#e42c48;--muted:#777b86}
body{background:var(--bg);color:#20252f}
aside{background:#fff;border-color:#ececf0}.brand em{color:#e52b47}.brand span{color:#7e8290}.aside-note{color:#8b8e98}
button{background:#fff;color:#252a34;border-color:#e2e4ea}button:hover{background:#f1f2f5}button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#cf2440}
nav button{background:#f3f4f6;border-color:transparent;color:#303642}nav button.active{background:linear-gradient(115deg,#ec3450,#dc2340);border-color:transparent;color:#fff;box-shadow:0 5px 15px #dd244012}
.hero{background-color:#eeeef0;background-image:url('lesson-wide-6c92a909922e.webp?v=6c92a909922ea488');border-color:#eeeef0}.hero h1{color:#1f242d}.hero em{color:#df2743}.hero p{color:#727783}
.plan,.lesson,.linkcard{background:#fff;border-color:#e7e8ee;box-shadow:0 6px 24px #24263604}.plan a{color:#363a44}.plan ol{list-style:none;counter-reset:step;padding:0}.plan li{counter-increment:step;display:flex;align-items:baseline;gap:13px;padding:8px 0}.plan li:before{content:counter(step);flex:0 0 27px;width:27px;line-height:27px;text-align:center;border-radius:50%;color:#d82b45;background:#fff0f3;font-size:14px}.plan li a{flex:1}.plan h3{color:#242934}.optional{color:#80838c}.number{color:#8c8289}.number::first-letter{color:#df2743}
.days .active,.primary,.video-link{background:#e32c48;border-color:#e32c48;color:#fff}.primary:hover,.video-link:hover{background:#ce203b;color:#fff}.days button{box-shadow:0 2px 5px #20253202}
.placeholder{background:linear-gradient(130deg,#f5f5f7,#eaecef);border-color:#e8e9ee;color:#7a7f89}.play{background:#e32c48;color:white}.notes{color:#666c77}.check{border-color:#eeeef1}.check input{accent-color:#e32c48}.progress{background:#e8e9ed}.progress div{background:#e32c48}.empty{border-color:#d7dae1;color:#777e89;background:#fff}.external-video{background:#f1f2f5}.owner-tools button{color:#777c87}.owner-tools details{color:#898d97}footer{color:#9599a2}a{color:#c5223b}
dialog{color:#262b36;background:#fff;border-color:#e5e7ec;box-shadow:0 22px 80px #20253026}dialog::backdrop{background:#252a3b55}input:not([type=checkbox]),textarea,select{background:#f9f9fb;border-color:#dce0e7;color:#282d38}#uploadStatus{color:#87515d}#editError{color:#b81f38}
.instructions .lesson:first-of-type .placeholder{background:linear-gradient(0deg,#ffffffed,transparent 65%),url('lesson-wide-6c92a909922e.webp?v=6c92a909922ea488') 30% 35%/cover}.instructions .lesson:first-of-type .placeholder p{color:#606773}.instructions .lesson:first-of-type .play{box-shadow:0 5px 25px #b21b3826}
@media(max-width:760px){aside{background:none}nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}nav button,nav button:nth-child(-n+2){grid-column:auto;flex-direction:column;gap:9px;padding:13px 2px;min-height:78px;font-size:clamp(9px,2.55vw,15px);border-radius:14px}nav svg{width:25px;height:25px}.brand{font-size:46px}.hero{aspect-ratio:1.75}.hero-copy{left:47%;right:2%}.hero h1{font-size:clamp(21px,5.5vw,41px)}.plan li{font-size:14px;gap:10px;flex-wrap:wrap}.plan li .optional{margin-left:37px;margin-top:-5px}.plan li a{min-width:70%}}

/* Native-resolution portrait and live type retain detail on high-density displays. */
@font-face{font-family:LadyCoreBanner;src:url('../fonts/oswald-cyrillic.woff2?v=99465f1b7970abe7') format('woff2');font-weight:200 700;font-display:swap}
.hero{aspect-ratio:812/441;max-height:none;border:0;background-image:linear-gradient(110deg,#e4e5e7,#f5f5f6 65%,#f1f2f4);container-type:inline-size}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(144deg,transparent 13%,#ffffff8a 13% 17%,transparent 17% 25%,#ffffffa0 25% 31%,transparent 31% 40%,#ffffff80 40% 46%,transparent 46%);-webkit-mask-image:linear-gradient(90deg,#000,transparent 36%);mask-image:linear-gradient(90deg,#000,transparent 36%);filter:blur(4px);opacity:.65;pointer-events:none}
.hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:12%;background:linear-gradient(0deg,#dfe0e38a,transparent);pointer-events:none}
.hero>.hero-image{display:block;position:absolute;left:1%;bottom:2%;width:51%;height:94%;object-fit:contain;object-position:bottom;z-index:1}
.hero-copy{position:absolute;left:45%;right:3%;top:50%;transform:translateY(-50%);width:auto;height:auto;padding:0;margin:0;overflow:visible;clip-path:none;white-space:normal;text-align:center;z-index:2}
.hero h1{font-family:LadyCoreBanner,Impact,'Arial Narrow',sans-serif;font-size:clamp(21px,5.5vw,96px);font-size:7.8cqw;line-height:1.18;letter-spacing:-.03em;font-weight:700;margin:0;text-transform:uppercase;color:#1f242d;white-space:nowrap}
.hero em{font-style:normal;color:#df2743}
.hero p{color:#727783;font-size:clamp(9px,2.2vw,39px);font-size:3.15cqw;line-height:1.35;margin:3.2cqw -5% 0;white-space:nowrap}

/* Nutrition entry; existing timetable and lesson styles are unchanged. */
.nutrition-card{display:flex;align-items:center;gap:22px;width:100%;text-align:left;margin:26px 0 22px;padding:28px 26px;border:1px solid #efbdc8;border-radius:20px;background:#fae7ec;color:#20252f}
.nutrition-card:hover{background:#f8e0e7}.nutrition-icon{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;background:#ec244b;color:white;border-radius:16px}.nutrition-icon svg{width:34px;height:34px}.nutrition-copy{flex:1;min-width:0}.nutrition-copy strong{display:block;font-size:25px;line-height:1.25;margin-bottom:9px}.nutrition-copy>span{display:block;color:#666;font-size:18px;line-height:1.5}.nutrition-arrow{flex:0 0 20px;width:20px;height:24px;color:#d73542}.nutrition-week-title{margin:22px 0 12px;font-size:22px}
@media(max-width:760px){.nutrition-card{gap:12px;padding:19px 15px;border-radius:17px;margin:22px 0 17px}.nutrition-icon{flex-basis:44px;width:44px;height:44px;border-radius:12px}.nutrition-icon svg{width:27px;height:27px}.nutrition-copy strong{font-size:20px;margin-bottom:7px}.nutrition-copy>span{font-size:14px}.nutrition-arrow{flex-basis:15px;width:15px}.nutrition-week-title{font-size:20px;margin:18px 0 12px}.nutrition-break{display:none}}

@media(max-width:760px){.instructions .lesson:first-of-type .placeholder{background-image:linear-gradient(0deg,#ffffffed,transparent 65%),url('lesson-mobile-e0c58a34d6be.webp?v=e0c58a34d6be18d7')}}

/* Authenticated photographs use the author's saved width, with no cropping. */
.lesson-photo{max-width:100%;margin:18px auto}.lesson-photo img{display:block;width:100%;height:auto;border-radius:12px}
.media-stage iframe{display:block;width:100%;height:100%;border:0}

.rich-lesson,.rich-text-block{overflow-wrap:anywhere}.rich-text-block p{margin:0 0 1em}.rich-text-block ul,.rich-text-block ol{padding-left:1.5em}.rich-text-block h2,.rich-text-block h3{margin:1.1em 0 .5em}.rich-text-block a{color:#c52243;text-decoration:underline}.rich-lesson .lesson-photo{margin:18px auto}.rich-lesson .lesson-photo img{height:auto;max-width:100%}

.chat-entry{display:block;margin:16px 0;color:#c52243;text-decoration:none;font-weight:600;font-size:14px}@media(max-width:760px){.chat-entry{margin:12px 0 0;text-align:right}}

/* Preserve authored line breaks and the height of intentionally empty paragraphs. */
.rich-text-block{white-space:pre-wrap}
.rich-text-block p{min-height:1lh}
