:root{--bg: #0e0e10;--surface: #17171a;--surface-2: #1c1c1f;--border: #26262b;--border-2: #3a3a40;--text: #f4f4f5;--text-2: #d4d4d8;--muted: #a1a1aa;--yellow: #ffd23f;--celeste: #48c6ef;--danger: #f87171;--radius: 14px;color-scheme:dark}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;background:var(--bg)}body{color:var(--text);font-family:Inter,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}a{color:var(--celeste)}.screen{max-width:480px;min-height:100dvh;margin:0 auto;padding:max(20px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:18px}.screen.center{align-items:center;justify-content:center}.stack{display:flex;flex-direction:column;gap:12px}.row{display:flex;align-items:center;gap:12px}.grow{flex:1 1 auto;min-width:0}.spacer{flex:1 1 auto}.center-text{text-align:center}p{margin:0}.muted{color:var(--muted);line-height:1.5}.small{font-size:13px}.strong{font-weight:600}.brand,.title,.subtitle{margin:0;font-family:Oswald,Inter,sans-serif;font-weight:600}.brand{font-size:38px;font-weight:700;text-transform:uppercase;letter-spacing:1px}.title{font-size:26px}.subtitle{font-size:20px}.section-label{margin:0;font-size:13px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.6px}.login-head{display:flex;flex-direction:column;align-items:center;gap:14px;padding-top:24px}.logo-ring{width:190px;height:190px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 6px var(--yellow)}.logo-sm{width:44px;height:44px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:16px}.field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted)}.field input{height:50px;border-radius:12px;border:1px solid var(--border-2);background:var(--bg);color:var(--text);font:500 16px Inter,sans-serif;padding:0 14px}.field input:focus-visible{outline:2px solid var(--celeste);outline-offset:1px}.btn{height:54px;border-radius:var(--radius);border:1px solid transparent;font:700 16px Inter,sans-serif;cursor:pointer;padding:0 18px}.btn:disabled{opacity:.6;cursor:default}.btn:focus-visible{outline:2px solid var(--celeste);outline-offset:2px}.btn.primary{background:var(--yellow);color:#111}.btn.secondary{background:var(--surface-2);color:var(--text);border-color:#2e2e33;font-weight:600}.btn.ghost{background:transparent;color:var(--muted);font-weight:600}.btn.small-btn{height:44px;font-size:14px;padding:0 14px}.segmented{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;background:var(--surface);border-radius:14px;padding:4px}.segmented button{height:44px;border-radius:10px;border:none;background:transparent;color:var(--muted);font:500 15px Inter,sans-serif;cursor:pointer}.segmented button.on{background:#2e2e33;color:var(--text);font-weight:600}.alert{border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.45}.alert.error{background:#2a1414;border:1px solid #6b2a2a;color:#fca5a5}.alert.info{background:#10222a;border:1px solid #1f4654;color:#bfeaf9}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile{display:flex;flex-direction:column;gap:2px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:14px}.tile.accent{background:#2a2410;border-color:#5c4d14}.tile.accent .tile-num{color:var(--yellow)}.tile-num{font-size:26px;font-weight:700}.badge-circle{width:88px;height:88px;margin:0 auto;border-radius:50%;background:#2a2410;border:2px solid var(--yellow);color:var(--yellow);display:flex;align-items:center;justify-content:center}.stack-sm{display:flex;flex-direction:column;gap:8px}.mini-title{margin:0;font-size:15px;font-weight:700}.body-text{color:var(--text-2);font-size:14px;line-height:1.55}.right{text-align:right}.left{text-align:left}.accent-text{color:var(--yellow)}.field select,.field textarea{border-radius:12px;border:1px solid var(--border-2);background:var(--bg);color:var(--text);font:500 16px Inter,sans-serif;padding:12px 14px}.field select{height:50px;padding:0 12px}.field textarea{resize:vertical;min-height:80px;line-height:1.45}.field select:focus-visible,.field textarea:focus-visible{outline:2px solid var(--celeste);outline-offset:1px}.two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.check{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.5;color:var(--text-2);cursor:pointer}.check input{width:24px;height:24px;margin:0;accent-color:var(--yellow);flex-shrink:0}.icon-btn{width:44px;height:44px;border-radius:12px;border:none;flex-shrink:0;background:var(--surface-2);color:var(--text);display:flex;align-items:center;justify-content:center;cursor:pointer}.progress{height:6px;border-radius:3px;background:#2e2e33;overflow:hidden}.progress>div{height:6px;background:var(--yellow);transition:width .2s ease}.choice{border:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;min-width:0}.choice legend{padding:0;margin-bottom:8px;font-family:Oswald,Inter,sans-serif;font-size:19px;font-weight:600;line-height:1.3}.choice-wrap{display:flex;flex-wrap:wrap;gap:8px}.choice-grid{display:grid;gap:8px}.chip{min-height:44px;padding:8px 14px;border-radius:12px;border:1px solid var(--border-2);background:var(--surface-2);color:var(--text);font:500 15px Inter,sans-serif;line-height:1.3;cursor:pointer;text-align:center}.chip.on{background:var(--yellow);border-color:var(--yellow);color:#111;font-weight:700}.chip:focus-visible{outline:2px solid var(--celeste);outline-offset:2px}.hero-card{background:var(--yellow);color:#111;border-radius:20px;padding:18px}.hero-title{font-family:Oswald,Inter,sans-serif;font-size:24px;font-weight:700;text-transform:uppercase;line-height:1.15}.list-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:16px}.list-row{display:flex;justify-content:space-between;gap:16px;padding:13px 16px;border-bottom:1px solid var(--border);font-size:14px}.list-row:last-child{border-bottom:none}.alert.danger{background:#2a1414;border:1px solid #6b2a2a;color:#fca5a5;border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.45}.switch{width:54px;height:32px;border-radius:16px;border:none;background:#3a3a40;padding:3px;display:flex;justify-content:flex-start;cursor:pointer;flex-shrink:0}.switch span{width:26px;height:26px;border-radius:50%;background:var(--muted)}.switch.on{background:var(--yellow);justify-content:flex-end}.switch.on span{background:#111}.tiles.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card-btn{width:100%;color:var(--text);font:inherit;cursor:pointer}.accent-border{border-color:var(--yellow)}.tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.tabs::-webkit-scrollbar{display:none}.tab{flex:0 0 auto;min-height:40px;padding:8px 14px;border-radius:999px;border:1px solid var(--border-2);background:var(--surface-2);color:var(--text-2);font:500 14px Inter,sans-serif;cursor:pointer;white-space:nowrap}.tab.on{background:var(--text);border-color:var(--text);color:#111;font-weight:700}.tab:focus-visible{outline:2px solid var(--celeste);outline-offset:2px}.pos{width:34px;height:34px;border-radius:10px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background:var(--surface-2);border:1px solid var(--border-2);font-weight:700;color:var(--text)}.pos.done{background:var(--yellow);border-color:var(--yellow);color:#111}.badges{display:flex;flex-wrap:wrap;gap:6px}.badge{display:inline-block;width:fit-content;padding:4px 10px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border-2);color:var(--text-2);font-size:12px;line-height:1.4}.badge.accent{border-color:var(--yellow);color:var(--yellow)}.badge.warn{background:#2a1414;border-color:#6b2a2a;color:#fca5a5}.badge.ok{border-color:#1f4654;color:var(--celeste)}.warn-border{border-color:#6b2a2a!important}.done-border{border-color:#5c4d17!important}.danger-text{color:var(--danger)!important}.inline-input,.rir-cell input,.set-grid input{height:46px;border-radius:12px;border:1px solid var(--border-2);background:var(--bg);color:var(--text);font:500 16px Inter,sans-serif;padding:0 12px;width:100%;min-width:0}.inline-input{margin-top:8px}.inline-input:focus-visible,.rir-cell input:focus-visible,.set-grid input:focus-visible{outline:2px solid var(--celeste);outline-offset:1px}.set-grid input:disabled,.field input:disabled,.field textarea:disabled{opacity:.55}.rir-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.rir-cell{display:flex;flex-direction:column;align-items:center;gap:4px}.rir-cell input{text-align:center;padding:0 4px}.ex-name{margin:0;font-size:17px;font-weight:700;line-height:1.3}.ex-name a{color:var(--text);text-decoration-color:var(--celeste);text-underline-offset:3px}.presc{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:14px;color:var(--text-2)}.presc b{color:var(--text)}.set-grid{display:grid;grid-template-columns:44px minmax(0,1fr) 16px minmax(0,1fr);gap:8px;align-items:center}.set-grid>span{text-align:center}.link-btn{background:none;border:none;color:var(--celeste);font:600 14px Inter,sans-serif;padding:8px 0;cursor:pointer;min-height:44px}.icon-btn:disabled{opacity:.35;cursor:default}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.wday{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0 6px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-family:Inter,sans-serif;cursor:pointer;min-height:72px}.wday .wd{font-size:11px;color:var(--muted)}.wday .dn{font-size:17px;font-weight:700}.wday .ws{font-size:12px;font-weight:700;color:var(--muted);min-height:16px}.wday.today{border-color:var(--text)}.wday.planned{border-color:var(--celeste)}.wday.planned .ws{color:var(--celeste)}.wday.done{background:var(--yellow);border-color:var(--yellow);color:#111}.wday.done .wd,.wday.done .ws{color:#111}.wday:disabled{cursor:default}.wday:focus-visible{outline:2px solid var(--celeste);outline-offset:2px}.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.table-wrap:focus-visible{outline:2px solid var(--celeste)}.vol{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}.vol th,.vol td{padding:10px 8px;text-align:center;border-bottom:1px solid var(--border);white-space:nowrap}.vol thead th{font-size:12px;color:var(--muted);font-weight:600}.vol tbody th,.vol tfoot th{text-align:left;font-weight:500;color:var(--text-2);position:sticky;left:0;background:var(--surface)}.vol tfoot th,.vol tfoot td{font-weight:700;border-bottom:none}.vol .cur{background:#232327;color:var(--text)}.vol thead th.cur{color:var(--yellow)}.vol td.up{color:#4ade80}.vol td.down{color:var(--danger)}.vol td.done{color:var(--yellow);font-weight:700}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.screen>*,.stack-sm,.stack{min-width:0}.table-wrap{max-width:100%}.screen{width:100%}.screen .screen{padding:0;min-height:0}.chip-sm{min-height:38px;padding:6px 12px;font-size:14px}.chip-min{border-style:dashed;color:var(--muted)}.big-num{font-family:Oswald,Inter,sans-serif;font-size:30px;font-weight:700;line-height:1.1}.steps-save{align-self:flex-end;height:50px}.bars{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;align-items:end;height:140px}.bar-col{display:flex;flex-direction:column;align-items:center;gap:4px;height:100%;min-width:0}.bar-track{flex:1 1 auto;width:100%;display:flex;align-items:flex-end}.bar{width:100%;border-radius:4px 4px 0 0;background:#3a3a40}.bar.cur{background:var(--yellow)}.bar-val{font-size:11px;color:var(--text-2);font-variant-numeric:tabular-nums;min-height:14px}.bar-lbl{font-size:10px;color:var(--muted)}.list-btn{width:100%;background:none;border:none;border-bottom:1px solid var(--border);color:var(--text);font:inherit;cursor:pointer;align-items:center;text-align:left}.list-btn:last-child{border-bottom:none}.list-btn:focus-visible{outline:2px solid var(--celeste);outline-offset:-2px}.block{display:block;margin-top:2px}.strike .strong{text-decoration:line-through}.rir-cell select{height:46px;width:100%;border-radius:12px;border:1px solid var(--border-2);background:var(--bg);color:var(--text);font:600 16px Inter,sans-serif;text-align:center;text-align-last:center;padding:0;-moz-appearance:none;appearance:none;-webkit-appearance:none}.rir-cell select:focus-visible{outline:2px solid var(--celeste);outline-offset:1px}.cue{background:var(--surface-2);border-left:3px solid var(--celeste);border-radius:8px;padding:8px 10px;line-height:1.45}.conclusion{border:1px solid #5c4d17;background:#1f1b0e;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:8px;line-height:1.5;font-size:14px}.conclusion ul{margin:0;padding-left:18px}.screen.with-tabbar{padding-bottom:calc(88px + env(safe-area-inset-bottom))}.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:480px;margin:0 auto;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#0e0e10f0;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--border)}.tb{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:52px;background:none;border:none;color:var(--muted);font:500 11px Inter,sans-serif;cursor:pointer;border-radius:10px}.tb.on{color:var(--yellow)}.tb:focus-visible{outline:2px solid var(--celeste)}.tb-dot{position:absolute;top:6px;right:calc(50% - 16px);width:8px;height:8px;border-radius:50%;background:var(--danger)}.cap:first-letter{text-transform:uppercase}.cap{text-transform:none}.chart{width:100%;height:auto;display:block}.chart .grid{stroke:var(--border);stroke-width:1}.chart .tick{fill:var(--muted);font:10px Inter,sans-serif}.chart .line-avg{fill:none;stroke:var(--yellow);stroke-width:2.5;stroke-linejoin:round}.chart .line-exp{fill:none;stroke:var(--celeste);stroke-width:1.5;stroke-dasharray:5 4}.chart .dot{fill:#8a8a93}.chart .dot-avg{fill:var(--yellow);stroke:var(--bg);stroke-width:1.5}.legend{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}.legend span{display:inline-flex;align-items:center;gap:6px}.lg-dot{width:7px;height:7px;border-radius:50%;background:#8a8a93;display:inline-block}.lg-avg{width:16px;height:3px;border-radius:2px;background:var(--yellow);display:inline-block}.lg-exp{width:16px;height:0;border-top:2px dashed var(--celeste);display:inline-block}.lg-box{width:12px;height:12px;border-radius:3px;display:inline-block}.lg-box.done{background:var(--yellow)}.lg-box.plan{border:1.5px solid var(--celeste)}.lg-round{width:8px;height:8px;border-radius:50%;display:inline-block}.lg-round.task{background:#a78bfa}.lg-round.meas{background:#4ade80}.lg-round.ck{background:#f472b6}.vol.wk td.left{text-align:left}.ck-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;color:var(--text-2)}.ck-grid b{color:var(--text)}.range{width:100%;accent-color:var(--yellow);height:32px}.range.unset{opacity:.45}.cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.cal-wd{text-align:center;font-size:11px;color:var(--muted);padding-bottom:2px}.cal-d{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:54px;padding:5px 0 4px;border-radius:10px;border:1px solid transparent;background:var(--surface);color:var(--text);cursor:pointer;font-family:Inter,sans-serif}.cal-d.out{opacity:.35}.cal-d.today{border-color:var(--text)}.cal-d.sel{border-color:var(--yellow);box-shadow:0 0 0 1px var(--yellow) inset}.cal-d:focus-visible{outline:2px solid var(--celeste)}.cal-n{font-size:14px;font-weight:600}.cal-marks{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;min-height:14px;align-items:center}.mk{font-style:normal;display:inline-block}.mk-done{background:var(--yellow);color:#111;font-size:9px;font-weight:800;border-radius:4px;padding:0 3px;line-height:13px}.mk-plan{border:1px solid var(--celeste);color:var(--celeste);font-size:9px;font-weight:700;border-radius:4px;padding:0 3px;line-height:11px}.mk-task,.mk-meas,.mk-ck{width:6px;height:6px;border-radius:50%}.mk-task{background:#a78bfa}.mk-task.ok{background:#5b4a8a}.mk-meas{background:#4ade80}.mk-ck{background:#f472b6}.mk-ck.ok{background:#6b3653}.task-row{align-items:flex-start}.tick{width:28px;height:28px;flex-shrink:0;border-radius:8px;border:1.5px solid var(--border-2);background:var(--bg);color:#111;font-weight:800;cursor:pointer}.tick.on{background:var(--yellow);border-color:var(--yellow)}.tick:disabled{cursor:default}.strike-text{text-decoration:line-through}:root{--mm-body: #2a2a30;--mm-zone: #3d3d45}.mm{margin:0;display:flex;flex-direction:column;gap:10px}.mm svg{width:100%;height:auto;max-height:340px}.mm-cap{fill:var(--muted);font:600 13px Inter,sans-serif}.mm-legend{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--text-2);line-height:1.45}.mm-dot{width:10px;height:10px;border-radius:3px;display:inline-block;vertical-align:-1px}.mm-dot.p{background:var(--yellow)}.mm-dot.s{background:var(--celeste)}.chip.chip-sec{background:#12313d;border-color:var(--celeste);color:var(--celeste);font-weight:600}.ex-link{background:none;border:none;padding:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:var(--celeste);text-underline-offset:3px}.link-btn.inline{min-height:0;padding:0;font-size:13px}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#0009;display:flex;align-items:flex-end;justify-content:center}.sheet{width:100%;max-width:480px;max-height:92dvh;overflow-y:auto;background:var(--bg);border:1px solid var(--border);border-radius:22px 22px 0 0;padding:18px 16px calc(20px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;outline:none}.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.steps li{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.45;color:var(--text-2)}.step-n{width:24px;height:24px;flex-shrink:0;border-radius:50%;background:var(--yellow);color:#111;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center}:root{--anim-body: #c9c9d1;--anim-far: #6e6e78}.anim{position:relative;background:radial-gradient(120% 90% at 50% 20%,#232327 0%,var(--surface) 65%);border:1px solid var(--border);border-radius:18px}.anim svg{width:100%;height:auto;display:block}.anim-btn{position:absolute;right:10px;bottom:10px;width:36px;height:36px;border-radius:10px;border:1px solid var(--border-2);background:#0e0e10b3;color:var(--text);font-size:12px;cursor:pointer}.anim-btn:focus-visible{outline:2px solid var(--celeste)}
