:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;color:#23233a;background:#f7f6fc;font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}.shell{min-height:100vh;display:flex}.sidebar{width:252px;padding:30px 18px;background:#fff;border-right:1px solid #eceaf3;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:20px}.brand{display:flex;gap:12px;align-items:center;padding:3px 9px}.mark{width:43px;height:43px;border-radius:15px;display:grid;place-items:center;font-size:23px}.brand b{font-size:19px;letter-spacing:-.5px}.brand small{display:block;color:#8b879c;font-size:12px}.nav{display:grid;gap:6px}.nav button{border:0;text-align:left;background:none;border-radius:14px;padding:13px 14px;color:#69657d;font-weight:650;display:flex;gap:12px;align-items:center}.nav button.active{background:var(--tint);color:var(--accent)}.sidebar-footer{margin-top:auto;padding:10px;font-size:12px;color:#8d8a9d;line-height:1.5}.main{width:min(100%,880px);padding:34px 36px 110px;margin:auto}.topline{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}.eyebrow{text-transform:uppercase;color:var(--accent);font-size:11px;font-weight:800;letter-spacing:2px}.page-title{font-size:clamp(26px,4.4vw,36px);letter-spacing:-1.1px;margin:6px 0 6px;font-weight:850;line-height:1.12}.muted{color:#89869a}.sub{font-size:14px;color:#89869a;line-height:1.55}.circle-icon{width:48px;height:48px;border-radius:18px;background:var(--tint);display:grid;place-items:center;font-size:26px}.card{background:#fff;border:1px solid #eae8f0;border-radius:22px;padding:20px;box-shadow:0 6px 25px rgba(40,24,70,.025)}.card + .card{margin-top:12px}.hero{border:none;padding:24px;position:relative;overflow:hidden;background:linear-gradient(115deg,var(--hero),var(--hero2));color:#fff}.hero:after{content:'✦';font-size:140px;color:#ffffff15;position:absolute;right:10px;top:-45px;pointer-events:none}.hero h2{margin:10px 0;font-size:24px;letter-spacing:-.5px;position:relative;z-index:1}.hero p{line-height:1.5;max-width:480px;position:relative;z-index:1}.pill{display:inline-block;background:#fff3;border:1px solid #ffffff25;border-radius:50px;padding:6px 10px;font-size:11px;font-weight:700}.tag{display:inline-block;border-radius:30px;background:var(--tint);color:var(--accent);padding:6px 10px;font-size:11px;font-weight:750}.btn{border:0;padding:12px 17px;border-radius:14px;font-weight:750;background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;text-align:center}.btn:hover{filter:brightness(.96)}.btn.secondary{background:var(--tint);color:var(--accent)}.btn.ghost{background:#fff;border:1px solid #dedbe8;color:#56516d}.btn.white{background:#fff;color:var(--accent)}.btn.small{padding:8px 11px;min-height:34px;font-size:12px;border-radius:11px}.btn.warn{background:#fff1e9;color:#ad5e36}.btn.block{width:100%}.buttons{display:flex;gap:9px;flex-wrap:wrap}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kpi b{display:block;font-size:26px;letter-spacing:-1px;margin:5px 0}.kpi span{font-size:12px;color:#8c879b}.kpi .glyph{font-size:23px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:25px 0 12px}.section-title h3{font-size:17px;margin:0;letter-spacing:-.3px}.stack{display:grid;gap:12px}.row{display:flex;gap:12px;align-items:center;justify-content:space-between}.label{font-size:12px;font-weight:750;color:#817c92;margin:12px 0 7px;display:block}.field{width:100%;border:1px solid #e2dfeb;border-radius:12px;padding:12px 13px;color:#343044;background:#fff;outline:none;min-height:44px}.field:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--tint)}textarea.field{min-height:86px;resize:vertical;line-height:1.5}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hr{height:1px;background:#eeedf3;margin:15px 0}.list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #f0eef5;padding:13px 0}.list-row:last-child{border-bottom:0}.list-row strong{font-size:14px}.list-row small{display:block;color:#928da0;font-size:12px;margin-top:4px}.tone{background:#f8f7fb;border-radius:14px;padding:13px 14px;font-size:13px;line-height:1.5}.progress{height:9px;border-radius:20px;background:#eceaf3;overflow:hidden}.progress>div{height:100%;background:var(--accent);border-radius:20px;transition:width .4s}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.day{padding:11px 4px;text-align:center;background:#f3f0f9;border-radius:12px;color:#88849a;font-size:11px;font-weight:750}.day.done{background:var(--tint);color:var(--accent)}.day b{display:block;font-size:18px;margin-top:5px}.fullw{width:100%}.hint{font-size:12px;color:#8a8698;line-height:1.5}.error{background:#fff0ed;color:#a85038;border-radius:10px;padding:11px;margin-top:10px;font-size:13px}.success{background:#e4f7ed;color:#267b51;border-radius:10px;padding:11px;margin-top:10px;font-size:13px}.flash{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);background:#302a48;color:white;border-radius:20px;padding:12px 18px;font-size:13px;z-index:30;box-shadow:0 10px 30px #0003;max-width:92vw;text-align:center}.bottom-nav{display:none}.seg{display:flex;gap:6px;padding:5px;background:#f1eff7;border-radius:14px}.seg button{border:0;background:transparent;border-radius:10px;padding:9px 11px;font-size:12px;font-weight:700;flex:1;color:#777287}.seg button.on{background:white;box-shadow:0 2px 6px #0001;color:var(--accent)}.tiny{font-size:11px}.empty{color:#9390a1;font-size:13px;text-align:center;padding:20px}.exercise-card{border:1px solid #ece9f1;border-radius:14px;padding:13px}.exercise-card b{font-size:14px}.exercise-card p{font-size:12px;color:#898497;line-height:1.5;margin:6px 0}.task-pill{display:inline-flex;border-radius:30px;padding:6px 10px;background:#fff4;border:1px solid #fff3;font-size:11px;font-weight:700}.number{font-variant-numeric:tabular-nums}.adventure{height:165px;border-radius:17px;position:relative;overflow:hidden;background:linear-gradient(#ded5ff,#f6dfff 61%,#b1dfc3 62%,#64b891)}.adventure .hill{position:absolute;bottom:-50px;border-radius:50%;width:290px;height:125px;background:#54ae86;left:-35px}.adventure .hill.two{left:150px;background:#78c49e;bottom:-58px}.adventure .world{position:absolute;left:25px;bottom:34px;font-size:52px;filter:drop-shadow(0 6px 8px #0002)}.adventure .flag{position:absolute;right:23px;top:22px;font-weight:800;color:#614394;background:#fffd;padding:8px 12px;border-radius:14px}.modal-wrap{position:fixed;inset:0;background:#211b3588;z-index:20;display:flex;align-items:flex-end;justify-content:center}.modal{width:min(100%,530px);background:white;border-radius:24px 24px 0 0;padding:22px 20px 35px;max-height:88vh;overflow:auto;box-shadow:0 -8px 35px #0002}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.modal-head h3{margin:0}.close{border:0;background:#f4f1f8;border-radius:50%;width:34px;height:34px;font-size:18px}.chipset{display:flex;gap:6px;flex-wrap:wrap}.chip{border:1px solid #e7e2ed;border-radius:30px;padding:7px 10px;font-size:12px;background:#fff}.chip.active{background:var(--tint);border-color:var(--accent);color:var(--accent)}.check{accent-color:var(--accent)}.food-item{display:grid;grid-template-columns:1fr 72px 28px;gap:7px;align-items:center;padding:8px 0;border-bottom:1px solid #efedf4}.food-item:last-child{border-bottom:none}input[type=number]{min-width:0}.footer-note{font-size:11px;color:#a09cad;line-height:1.5;margin:18px 0}.hide{display:none!important}
body.rics{--accent:#7450c9;--tint:#efe9fd;--hero:#8a69dc;--hero2:#6342ae}body.fit{--accent:#1d8a70;--tint:#e0f5ec;--hero:#26a989;--hero2:#117c78}body.home{--accent:#7450c9;--tint:#efe9fd;--hero:#8a69dc;--hero2:#6342ae}
@media(max-width:760px){.sidebar{display:none}.main{padding:22px 16px 105px}.bottom-nav{display:flex;position:fixed;z-index:10;bottom:0;left:0;right:0;background:#fffe;border-top:1px solid #eceaf2;justify-content:space-around;padding:7px 6px calc(6px + env(safe-area-inset-bottom))}.bottom-nav button{border:0;background:none;color:#8d8999;font-size:10px;font-weight:700;display:grid;gap:4px;justify-items:center;padding:5px 4px;min-width:55px}.bottom-nav button.active{color:var(--accent)}.bottom-nav .emoji{font-size:21px}.grid3{gap:8px}.grid2{gap:10px}.card{padding:16px;border-radius:19px}.hero{padding:21px}.hero h2{font-size:23px}.page-title{font-size:29px}.field-row{gap:8px}.modal{max-height:90vh}.footer-note{margin-bottom:25px}}@media(min-width:761px){.modal-wrap{align-items:center}.modal{border-radius:24px;padding-bottom:24px}}@media(max-width:365px){.grid3{grid-template-columns:1fr 1fr}.buttons .btn{flex:1}.main{padding-left:12px;padding-right:12px}}
.week-settings{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
.week-settings label{display:flex;align-items:center;gap:4px;border:1px solid #e7e2ef;border-radius:10px;padding:9px 10px;background:#fcfbff;font-size:12px;font-weight:650;color:#5b536a}
.week-settings input{accent-color:var(--accent)}
