@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root,[data-theme=chiaro]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f3f4f6;--surface:#fff;--sunken:#f0f2f5;--hover:#e8ebef;--border:#dde1e7;--border-strong:#c3c9d1;--text:#14181d;--text-2:#47515e;--text-3:#626c79;--accent:#3d4ccb;--accent-fg:#fff;--accent-soft:#e8eafb;--accent-text:#3443bf;--scrim:#14181d61;--shadow:0 12px 32px #1018282e;--shadow-1:0 1px 2px #1018280f;--fit:#3d4ccb;--fat:#c8437a;--form:#0b8576;--intake:#3a4350;--spend:#a05f00;--target:#626c79;--deficit:#1d7f96;--surplus:#be3d68;--ok:#2e9e62;--warn:#d9a514;--over:#e07b2a;--bad:#d64545;--none:#9aa3ae;--ok-text:#1f7a49;--warn-text:#8a6500;--over-text:#a8500f;--bad-text:#b92f2f;--ok-soft:#e4f4eb;--warn-soft:#fbf1d3;--over-soft:#fce9da;--bad-soft:#fbe3e3;--prot:#7c5cc4;--carb:#c9932b;--fatm:#4f9a92;--grid:#e6e9ee}[data-theme=scuro]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0d1014;--surface:#151a20;--sunken:#1b2129;--hover:#232b34;--border:#29313b;--border-strong:#3a4450;--text:#e8ecf1;--text-2:#aeb8c4;--text-3:#8e99a7;--accent:#8f9cff;--accent-fg:#0d1014;--accent-soft:#222a52;--accent-text:#a9b3ff;--scrim:#0000008c;--shadow:0 12px 32px #0000008c;--shadow-1:none;--fit:#8f9cff;--fat:#f0759f;--form:#3cc8b7;--intake:#c6ced8;--spend:#e3a548;--target:#8e99a7;--deficit:#4db5cc;--surplus:#f0759f;--ok:#3db574;--warn:#e0b43a;--over:#ec8e44;--bad:#eb6161;--none:#6b7683;--ok-text:#5fd093;--warn-text:#e8c25a;--over-text:#f2a262;--bad-text:#f58585;--ok-soft:#16301f;--warn-soft:#332a0e;--over-soft:#37220f;--bad-soft:#3a1818;--prot:#a58be6;--carb:#e0b04f;--fatm:#6fbdb4;--grid:#232a33}:root{--z1:#9aa5b1;--z2:#4c9be8;--z3:#3fb37f;--z4:#e5b93c;--z5:#ee8a3a;--z6:#e2574c;--z7:#a45bd6;--font:"Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--fs-micro:11px;--fs-small:12px;--fs-dense:13px;--fs-body:14px;--fs-phone:16px;--fs-md:16px;--fs-lg:20px;--fs-xl:28px;--fs-kpi:36px;--fs-sm:14px;--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:20px;--sp-6:24px;--r-chip:4px;--r-control:6px;--r-panel:8px;--r-sheet:12px;--control-h:44px;--sidebar-w:0px;--card:var(--surface);--field:var(--surface);--line:var(--border);--dim:var(--text-2);--on-accent:var(--accent-fg);--track:var(--sunken)}@media (width>=768px){:root{--control-h:34px}}@media print{[data-theme=scuro],[data-theme=chiaro],:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f3f4f6;--surface:#fff;--sunken:#f0f2f5;--hover:#e8ebef;--border:#dde1e7;--border-strong:#c3c9d1;--text:#14181d;--text-2:#47515e;--text-3:#626c79;--accent:#3d4ccb;--accent-fg:#fff;--accent-soft:#e8eafb;--accent-text:#3443bf;--scrim:#14181d61;--shadow:0 12px 32px #1018282e;--shadow-1:0 1px 2px #1018280f;--fit:#3d4ccb;--fat:#c8437a;--form:#0b8576;--intake:#3a4350;--spend:#a05f00;--target:#626c79;--deficit:#1d7f96;--surplus:#be3d68;--ok:#2e9e62;--warn:#d9a514;--over:#e07b2a;--bad:#d64545;--none:#9aa3ae;--ok-text:#1f7a49;--warn-text:#8a6500;--over-text:#a8500f;--bad-text:#b92f2f;--ok-soft:#e4f4eb;--warn-soft:#fbf1d3;--over-soft:#fce9da;--bad-soft:#fbe3e3;--prot:#7c5cc4;--carb:#c9932b;--fatm:#4f9a92;--grid:#e6e9ee}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{font-family:var(--font);font-size:var(--fs-phone);background:var(--bg);color:var(--text);font-variant-numeric:tabular-nums;font-feature-settings:"cv11", "ss01";margin:0;line-height:1.45}@media (width>=768px){body{font-size:var(--fs-body)}}@media (width>=1200px){body{font-size:var(--fs-dense)}}h1{letter-spacing:-.01em;margin:0;font-size:18px;font-weight:650}h2{margin:0 0 10px;font-size:15px;font-weight:650}h3{color:var(--text-2);margin:14px 0 6px;font-size:13px;font-weight:600}p{margin:0 0 8px}a{color:var(--accent-text)}.dim{color:var(--text-2)}.faint{color:var(--text-3)}.small{font-size:var(--fs-sm)}@media (width>=768px){:root{--fs-sm:13px}}.right{text-align:right}.num{font-variant-numeric:tabular-nums}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}::selection{background:var(--accent-soft)}.card,.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-panel);padding:var(--sp-4);margin:0 0 var(--sp-3);min-width:0}.card>.row:first-child h2,.panel-title{margin:0;font-size:14px;font-weight:650}.card>.row:first-child{margin-bottom:10px}.row{justify-content:space-between;align-items:center;gap:10px;display:flex}.grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;display:grid}.stack>*+*{margin-top:10px}.actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}label.field,div.field{display:block}label.field>span,div.field>label{color:var(--text-2);margin-bottom:4px;font-size:12px;font-weight:500;display:block}input,select,textarea{width:100%;min-height:var(--control-h);font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--r-control);padding:6px 10px}input:hover,select:hover,textarea:hover{border-color:var(--text-3)}input::placeholder,textarea::placeholder{color:var(--text-3)}textarea{resize:vertical;min-height:72px}input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:var(--accent)}label.check{align-items:center;gap:10px;min-height:44px;display:flex}@media (width>=768px){label.check{min-height:32px}}.btn{min-height:var(--control-h);font:inherit;border-radius:var(--r-control);border:1px solid var(--accent);background:var(--accent);color:var(--accent-fg);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:6px;padding:0 14px;font-weight:550;text-decoration:none;display:inline-flex}.btn:hover:not(:disabled){filter:brightness(1.06)}.btn.ghost{background:var(--surface);color:var(--text);border-color:var(--border-strong)}.btn.ghost:hover:not(:disabled){background:var(--hover);filter:none}.btn.quiet{color:var(--text-2);background:0 0;border-color:#0000}.btn.quiet:hover:not(:disabled){background:var(--hover);color:var(--text);filter:none}.btn.danger{border-color:var(--border-strong);background:var(--surface);color:var(--bad-text)}.btn.danger:hover:not(:disabled){background:var(--bad-soft);filter:none}.btn.small-btn{min-height:36px;font-size:var(--fs-sm);padding:0 10px}@media (width>=768px){.btn.small-btn{min-height:28px}}button:disabled{opacity:.5;cursor:default}button.link{min-height:44px;font:inherit;color:var(--accent-text);text-align:left;cursor:pointer;background:0 0;border:0;padding:0}@media (width>=768px){button.link{min-height:28px}}.icon-btn{min-width:var(--control-h);min-height:var(--control-h);border:1px solid var(--border-strong);background:var(--surface);color:var(--text-2);border-radius:var(--r-control);font:inherit;cursor:pointer;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-btn:hover:not(:disabled){background:var(--hover);color:var(--text)}.msg{border-radius:var(--r-control);background:var(--sunken);color:var(--text-2);font-size:var(--fs-sm);margin:10px 0 0;padding:8px 12px}.msg.error{background:var(--bad-soft);color:var(--bad-text)}.msg.warn{background:var(--warn-soft);color:var(--warn-text)}.msg.ok{background:var(--ok-soft);color:var(--ok-text)}.tag{background:var(--sunken);height:20px;color:var(--text-2);font-size:var(--fs-small);white-space:nowrap;border-radius:999px;align-items:center;margin-left:6px;padding:0 7px;font-weight:500;display:inline-flex}.tag.ok{background:var(--ok-soft);color:var(--ok-text)}.tag.warn{background:var(--warn-soft);color:var(--warn-text)}.tag.bad{background:var(--bad-soft);color:var(--bad-text)}.tag.accent{background:var(--accent-soft);color:var(--accent-text)}ul.list{margin:0;padding:0;list-style:none}ul.list>li{border-top:1px solid var(--border);padding:8px 0}ul.list>li:first-child{border-top:0}.entry{width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;padding:0;display:flex}@media (width>=768px){.entry{min-height:32px}}.kcal{white-space:nowrap;font-variant-numeric:tabular-nums}.editor{background:var(--sunken);border:1px solid var(--border);border-radius:var(--r-panel);margin-top:8px;padding:12px}table.kv{border-collapse:collapse;width:100%}table.kv td{vertical-align:top;padding:5px 0}table.kv td:last-child{text-align:right;white-space:nowrap}table.kv tr.total td{border-top:1px solid var(--border);padding-top:8px;font-weight:650}table.data{border-collapse:collapse;width:100%}table.data th,table.data td{border-bottom:1px solid var(--border);text-align:right;padding:7px 8px}table.data th:first-child,table.data td:first-child{text-align:left}table.data th{text-transform:uppercase;letter-spacing:.04em;color:var(--text-3);white-space:nowrap;font-size:11px;font-weight:600}table.data input{text-align:right;min-height:36px;padding:4px 8px}.scroll-x{position:relative;overflow-x:auto}details>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}@media (width>=768px){details>summary{min-height:32px}}details[open]>summary{margin-bottom:8px}details>summary{gap:10px;list-style:none}details>summary::-webkit-details-marker{display:none}details>summary:before{content:"";opacity:.7;border-bottom:2px solid;border-right:2px solid;flex:none;width:7px;height:7px;transition:transform .12s ease-out;transform:rotate(-45deg)}details[open]>summary:before{transform:rotate(45deg)}@media (prefers-reduced-motion:reduce){details>summary:before{transition:none}}.hero{text-align:center;padding:6px 0 2px}.hero .big{font-size:2.4rem;font-weight:700;line-height:1.1}.hero .big.over{color:var(--warn-text)}.bar{background:var(--sunken);border-radius:4px;height:8px;margin:10px 0 8px;overflow:hidden}.bar>div{background:var(--intake);border-radius:4px;height:100%}.bar.over>div{background:var(--warn)}.triple{text-align:center;grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.triple b{font-size:1.1rem;display:block}.macro{margin-top:8px}.macro .bar{height:6px;margin:3px 0 0}.chart{width:100%}.chart .u-legend{color:var(--text-2);font-size:12px}.suggest{border:1px solid var(--border);border-radius:var(--r-control);background:var(--surface);max-height:300px;margin-top:6px;overflow-y:auto}.suggest button{border:0;border-top:1px solid var(--border);width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;justify-content:space-between;gap:10px;padding:6px 12px;display:flex}.suggest.tall{max-height:min(60vh,520px)}.suggest-head{color:var(--text-2);border-bottom:1px solid var(--border);margin:0;padding:6px 12px;font-size:12px}.suggest-head+button{border-top:0}.suggest button:hover{background:var(--hover)}.suggest button:first-child{border-top:0}@media (width>=768px){.suggest button{min-height:34px}}.datenav{align-items:center;gap:4px;display:flex}.datenav .label{text-align:center;min-width:9.5em;min-height:var(--control-h);font-weight:600}.chat{padding-bottom:96px}ul.bubbles{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.bubble{border-radius:var(--r-sheet);border:1px solid var(--border);background:var(--surface);overflow-wrap:anywhere;max-width:94%;padding:10px 12px}.bubble.mine{background:var(--accent-soft);border-color:#0000;align-self:flex-end}.bubble.coach{align-self:flex-start}.bubble p:last-child{margin-bottom:0}.bubble .who{font-size:var(--fs-small);color:var(--text-3);margin-bottom:2px;font-weight:650;display:block}.bubble .understood{background:var(--sunken);color:var(--text-2);border-radius:999px;align-items:center;gap:6px;margin:0 0 6px;padding:2px 8px;font-size:12px;display:inline-flex}.bubble .scroll-x{margin:8px 0}.bubble details ul{color:var(--text-2);margin:0;padding-left:18px}.bubble table.data th,.bubble table.data td{white-space:nowrap}.bubble table.data td.wrap{white-space:normal;text-align:left;min-width:11em}.chips{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.chip{min-height:44px;font:inherit;font-size:var(--fs-sm);color:var(--text);background:var(--surface);border:1px solid var(--border-strong);cursor:pointer;text-align:left;border-radius:999px;padding:6px 14px}.chip:hover{background:var(--hover)}@media (width>=768px){.chip{min-height:32px}}.composer{left:var(--sidebar-w);right:0;bottom:calc(var(--bottomnav-h,0px) + env(safe-area-inset-bottom));z-index:9;background:var(--bg);border-top:1px solid var(--border);padding:8px 14px;position:fixed}.composer-row{align-items:flex-end;gap:8px;max-width:760px;margin:0 auto;display:flex}.composer textarea{resize:none;min-height:44px;max-height:120px}.composer .msg{max-width:760px;margin:0 auto 8px}.qr{overflow-wrap:anywhere;text-align:center;flex-direction:column;align-items:center;gap:6px;margin:10px 0;display:flex}.qr img{background:#fff;border-radius:10px}.access-state{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;display:flex}.access-dot{background:var(--text-2);border-radius:50%;flex:none;width:10px;height:10px}.access-dot.on{background:var(--ok)}.iface-list{border:0;min-width:0;margin:12px 0;padding:0}.iface{border:1px solid var(--border);cursor:pointer;overflow-wrap:anywhere;border-radius:10px;align-items:center;gap:10px;min-height:48px;margin-top:6px;padding:6px 10px;display:flex}.iface.on{border-color:var(--accent);background:var(--accent-soft)}.iface input{flex:none;width:20px;height:20px}.iface .tag{margin-left:6px}.access-diagnose{margin:12px 0}.access-diagnose>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.checks{gap:8px;margin:8px 0;padding:0;list-style:none;display:grid}.check{background:var(--surface);border:1px solid var(--border);border-radius:10px;gap:10px;padding:8px 10px;display:flex}.check p{margin:2px 0 0}.check-icon{flex:none;padding-top:2px}.check.ok .check-icon{color:var(--ok-text)}.check.attenzione .check-icon{color:var(--warn-text)}.check.errore .check-icon{color:var(--bad-text)}.check.info .check-icon{color:var(--text-2)}.check-cmd{flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;display:flex}.check-cmd code{background:var(--accent-soft);overflow-wrap:anywhere;border-radius:6px;min-width:0;padding:4px 6px;font-size:12px}.tag.k-easy{background:color-mix(in srgb, var(--z2) 20%, transparent);color:var(--text)}.tag.k-medium{background:color-mix(in srgb, var(--z4) 24%, transparent);color:var(--text)}.tag.k-quality{background:color-mix(in srgb, var(--z5) 24%, transparent);color:var(--text)}.tag.k-long{background:color-mix(in srgb, var(--fit) 22%, transparent);color:var(--text)}.tag.k-race{background:color-mix(in srgb, var(--z7) 24%, transparent);color:var(--text)}.kpi{flex-direction:column;gap:2px;min-width:0;display:flex}.kpi-center{text-align:center;align-items:center}.kpi-label{font-size:var(--fs-sm);color:var(--text-2);align-items:center;gap:5px;display:inline-flex}.kpi-value{letter-spacing:-.01em;font-weight:650;line-height:1.15}.kpi-md .kpi-value{font-size:24px}.kpi-hero .kpi-value{font-size:var(--fs-kpi);font-weight:700}.kpi-unit{font-size:var(--fs-sm);color:var(--text-2);font-weight:500}.kpi-sub{font-size:var(--fs-sm);color:var(--text-2)}.kpi-over .kpi-value,.kpi-warn .kpi-value{color:var(--warn-text)}.kpi-bad .kpi-value{color:var(--bad-text)}.btn:disabled:not(.ghost):not(.quiet):not(.danger){background:var(--surface);color:var(--text-3);border-color:var(--border-strong);opacity:1}.app{--bottomnav-h:64px;min-height:100vh}.app-main-col{flex-direction:column;min-width:0;min-height:100vh;display:flex}.page{padding:12px 14px calc(var(--bottomnav-h) + 24px + env(safe-area-inset-bottom));width:100%;min-width:0;container:page/inline-size}.page-narrow,.page--narrow>*{max-width:880px;margin-inline:auto}.page--wide>*{max-width:1600px;margin-inline:auto}.weight-layout{gap:var(--sp-3);flex-direction:column;display:flex}.weight-layout>.card{margin:0}@container page (width>=1000px){.weight-layout{grid-template-columns:minmax(320px,400px) minmax(0,1fr);align-items:start;display:grid}.weight-layout .w-side{grid-column:1}.weight-layout .w-main{grid-column:2}.weight-layout .w-chart{grid-row:1/span 2}}.sidebar{display:none}@media (width<=767px){body{overflow-x:clip}.btn{max-width:100%}}.bottomnav{z-index:20;background:var(--surface);border-top:1px solid var(--border);padding:4px 4px env(safe-area-inset-bottom);align-items:flex-end;display:flex;position:fixed;bottom:0;left:0;right:0}.bottomnav a,.bottomnav button{min-width:0;min-height:56px;color:var(--text-2);font:inherit;font-size:var(--fs-small);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:2px;font-weight:500;text-decoration:none;display:flex}.bottomnav .bn-label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.bottomnav a[aria-current=page]{color:var(--accent-text);font-weight:650}.bottomnav .fab{background:var(--accent);width:52px;height:52px;color:var(--accent-fg);box-shadow:var(--shadow);border-radius:26px;justify-content:center;align-items:center;margin-top:-20px;display:inline-flex}.topbar{z-index:15;min-height:56px;padding:calc(6px + env(safe-area-inset-top)) 14px 6px;background:var(--bg);border-bottom:1px solid #0000;flex-wrap:wrap;align-items:center;gap:8px;display:flex;position:sticky;top:0}.topbar h1{font-size:20px;font-weight:700}.topbar .grow{flex:auto}.topbar .desk-only{display:none}@media (width>=768px){.app{grid-template-columns:var(--sidebar-w) minmax(0, 1fr);--sidebar-w:60px;--bottomnav-h:0px;display:grid}.bottomnav{display:none}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;gap:2px;height:100vh;padding:12px 8px;display:flex;position:sticky;top:0;overflow-y:auto}.topbar{background:var(--surface);border-bottom-color:var(--border);gap:10px;padding:0 20px}.topbar h1{font-size:18px;font-weight:650}.topbar .desk-only{display:flex}.topbar .phone-only{display:none}.page{padding:16px 20px 32px}}@media (width>=1200px){.app{--sidebar-w:216px}.app.nav-collapsed{--sidebar-w:60px}}.brand{color:var(--text);letter-spacing:-.01em;white-space:nowrap;align-items:center;gap:8px;padding:4px 8px 14px;font-size:15px;font-weight:700;display:flex;overflow:hidden}.brand-mark{background:var(--accent);width:24px;height:24px;color:var(--accent-fg);border-radius:6px;flex:none;justify-content:center;align-items:center;display:inline-flex}.navlink{border-radius:var(--r-control);min-height:36px;color:var(--text-2);white-space:nowrap;align-items:center;gap:10px;padding:0 10px;font-size:14px;font-weight:500;text-decoration:none;display:flex;overflow:hidden}.navlink:hover{background:var(--hover);color:var(--text)}.navlink[aria-current=page]{background:var(--accent-soft);color:var(--accent-text);font-weight:600}.navlink svg{flex:none}.sidebar .spacer{flex:auto}.sync-status{color:var(--text-3);white-space:nowrap;align-items:center;gap:8px;padding:8px 10px;font-size:12px;display:flex;overflow:hidden}.dot{background:var(--none);border-radius:50%;flex:none;width:8px;height:8px}.dot.ok{background:var(--ok)}.dot.warn{background:var(--warn)}.dot.bad{background:var(--bad)}@media (width>=768px) and (width<=1199px){.sidebar .label,.brand .label,.sync-status .label{display:none}.navlink{justify-content:center;padding:0}.brand{justify-content:center;padding:4px 0 14px}.brand .app-logo{width:36px;height:36px}.sync-status{justify-content:center}}@media (width>=1200px){.nav-collapsed .sidebar .label,.nav-collapsed .brand .label,.nav-collapsed .sync-status .label{display:none}.nav-collapsed .navlink{justify-content:center;padding:0}.nav-collapsed .brand,.nav-collapsed .sync-status{justify-content:center}.nav-collapsed .brand .app-logo{width:36px;height:36px}}.collapse-toggle{display:none}@media (width>=1200px){.collapse-toggle{display:flex}}.search{height:var(--control-h);border-radius:var(--r-control);border:1px solid var(--border-strong);background:var(--surface);width:240px;color:var(--text-3);align-items:center;gap:8px;padding:0 10px;display:flex;position:relative}.search input{background:0 0;border:0;outline:none;height:100%;min-height:0;padding:0}.search kbd,kbd{font-family:inherit;font-size:var(--fs-small);border:1px solid var(--border);color:var(--text-3);background:var(--surface);border-radius:4px;padding:0 5px}.search-results{width:min(460px,100vw - 24px);max-height:min(70vh,520px);padding:4px;overflow-y:auto}.search-hit{border-radius:var(--r-control);width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:6px 8px;font-size:13px;text-decoration:none;display:flex}.search-hit[data-active=true],.search-hit:hover{background:var(--hover)}.search-text{flex-direction:column;min-width:0;display:flex}.search-text .label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.search-hit .sub{color:var(--text-3);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.search-grp{list-style:none}.search-group{letter-spacing:.04em;text-transform:uppercase;color:var(--text-3);padding:8px 8px 2px;font-size:11px;font-weight:600}.overlay{background:var(--scrim);z-index:40;position:fixed;inset:0}.dialog{z-index:41;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-sheet);width:min(560px,100vw - 24px);max-height:calc(100vh - 48px);box-shadow:var(--shadow);padding:18px 20px 20px;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%)}.drawer{z-index:41;background:var(--surface);border-left:1px solid var(--border);width:min(480px,100vw);box-shadow:var(--shadow);padding:16px 20px 24px;position:fixed;top:0;bottom:0;right:0;overflow-y:auto}@media (width<=767px){.dialog,.drawer{border-radius:var(--r-sheet) var(--r-sheet) 0 0;width:100%;max-height:92vh;padding-bottom:calc(20px + env(safe-area-inset-bottom));inset:auto 0 0;transform:none}}.dialog-head{align-items:center;gap:8px;margin-bottom:12px;display:flex}.dialog-head h2{flex:auto;margin:0;font-size:17px}.dialog-desc{color:var(--text-2);margin:-6px 0 12px}.popover,.menu{z-index:50;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-panel);box-shadow:var(--shadow);min-width:180px}.popover{padding:12px}.menu{padding:4px}.menu-item{border-radius:var(--r-control);min-height:36px;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none;outline:none;align-items:center;gap:10px;padding:0 10px;font-size:14px;display:flex}.menu-item[data-highlighted]{background:var(--hover)}.menu-item[data-disabled]{color:var(--text-3);cursor:default}.menu-item .hint{color:var(--text-3);margin-left:auto;font-size:12px}.menu-sep{background:var(--border);height:1px;margin:4px 0}@media (width>=768px){.menu-item{min-height:30px;font-size:13px}}.tooltip{z-index:60;background:var(--text);color:var(--bg);border-radius:var(--r-chip);max-width:280px;padding:4px 8px;font-size:12px}.toast-viewport{z-index:70;bottom:calc(var(--bottomnav-h,0px) + 16px + env(safe-area-inset-bottom));outline:none;flex-direction:column;gap:8px;width:min(420px,100vw - 24px);margin:0;padding:0;list-style:none;display:flex;position:fixed;left:50%;transform:translate(-50%)}.toast{border-radius:var(--r-panel);background:var(--text);color:var(--bg);box-shadow:var(--shadow);align-items:center;gap:12px;padding:10px 12px 10px 14px;font-size:14px;display:flex}.toast .toast-title{flex:auto}.toast .toast-action{color:var(--bg);border-radius:var(--r-control);min-height:32px;font:inherit;cursor:pointer;background:0 0;border:1px solid;padding:0 10px;font-weight:600}.tabs-list{border-bottom:1px solid var(--border);gap:18px;margin-bottom:12px;display:flex;overflow-x:auto}.tabs-trigger{font:inherit;color:var(--text-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;min-height:40px;padding:8px 2px;font-weight:500}.tabs-trigger[data-state=active]{color:var(--text);border-bottom-color:var(--accent);font-weight:600}.segmented{background:var(--sunken);border:1px solid var(--border);border-radius:7px;gap:2px;padding:2px;display:inline-flex}.segmented button{min-height:calc(var(--control-h) - 6px);font:inherit;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:0 12px;font-weight:500}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--text);box-shadow:var(--shadow-1);font-weight:600}.select-trigger{min-height:var(--control-h);width:100%;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--r-control);cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding:0 10px;display:inline-flex}.select-content{z-index:55;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-panel);box-shadow:var(--shadow);max-height:320px;padding:4px}.label-caps{letter-spacing:.04em;text-transform:uppercase;color:var(--text-3);font-size:11px;font-weight:600}.stat{white-space:nowrap;align-items:baseline;gap:4px;display:inline-flex}.stat .value{color:var(--text);font-weight:600;line-height:1.15}.stat .unit{color:var(--text-3)}.progress{background:var(--sunken);border-radius:3px;height:6px;display:block;position:relative}.progress>span{border-radius:3px;height:100%;display:block}.progress .tick{background:var(--text-2);width:2px;position:absolute;top:-2px;bottom:-2px}.stackbar{border-radius:3px;gap:1px;display:flex;overflow:hidden}.macro-rows{flex-direction:column;gap:7px;display:flex}.macro-row{grid-template-columns:86px 1fr auto;align-items:center;gap:8px;font-size:12px;display:grid}.macro-row .goal{color:var(--text-3)}.legend{flex-wrap:wrap;gap:4px 14px;display:flex}.legend span{font-size:var(--fs-small);color:var(--text-2);white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.legend i{flex:none;display:inline-block}.dtable{border-collapse:collapse;width:100%}.dtable th{text-transform:uppercase;letter-spacing:.04em;color:var(--text-3);text-align:right;border-bottom:1px solid var(--border);white-space:nowrap;padding:6px 8px;font-size:11px;font-weight:600}.dtable th button{font:inherit;color:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex}.dtable td{text-align:right;border-bottom:1px solid var(--border);white-space:nowrap;padding:7px 8px}.dtable th:first-child,.dtable td:first-child{text-align:left}.dtable tbody tr:hover{background:var(--sunken)}.skeleton{border-radius:var(--r-chip);background:linear-gradient(90deg, var(--sunken), var(--hover), var(--sunken));background-size:200% 100%;animation:1.4s ease-in-out infinite shimmer;display:block}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}.state{border:1px dashed var(--border-strong);border-radius:var(--r-panel);color:var(--text-2);flex-direction:column;align-items:flex-start;gap:6px;padding:14px;display:flex}.state strong{color:var(--text);font-weight:600}.state.error{background:var(--bad-soft);color:var(--bad-text);border-style:solid;border-color:#0000}.chart-box{position:relative}.chart-box svg{width:100%;display:block;overflow:visible}.chart-axis{font-size:var(--fs-small);color:var(--text-3);justify-content:space-between;margin-top:4px;display:flex}.chart-tip{pointer-events:none;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-control);box-shadow:var(--shadow);white-space:nowrap;z-index:5;padding:6px 8px;font-size:12px;position:absolute;top:0}.chart-tip .row{justify-content:space-between;gap:12px}.chart-head{flex-wrap:wrap;align-items:flex-start;gap:8px 12px;margin-bottom:10px;display:flex}.chart-head-text{flex:220px;min-width:0}.chart-tools{flex-wrap:wrap;align-items:center;gap:4px;margin-left:auto;display:flex}.chart-head h3{color:var(--text);margin:0;font-size:14px}.chart-head .why{color:var(--text-3);margin:2px 0 0;font-size:12px}@keyframes spin{to{transform:rotate(360deg)}}.spin{animation:.9s linear infinite spin}@media (prefers-reduced-motion:reduce){.spin{animation:none}}.menu-item.danger{color:var(--bad-text)}.ellipsis{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.panel-title{margin:0;font-size:14px;font-weight:650}details.panel>summary{cursor:pointer;align-items:center;min-height:28px;font-size:14px;font-weight:650;display:flex}details.panel[open]>summary{margin-bottom:10px}.dash-tools{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;display:flex}.dash-grid{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.dash-grid>*>.panel,.dash-grid>.panel{height:100%;margin:0}@media (width>=768px){.dash-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:dense}.dash-grid .span-2{grid-column:span 2}}.dash-rgl{position:relative}.dash-rgl .react-grid-item>.panel{flex-direction:column;height:100%;margin:0;display:flex;overflow:hidden}.dash-rgl.editing .react-grid-item>.panel{outline:2px dashed var(--border-strong);outline-offset:-2px}.dash-rgl .react-grid-placeholder{background:var(--accent-soft);border-radius:var(--radius-lg,12px);opacity:1}.dash-rgl .react-resizable-handle{filter:var(--handle-filter,none)}[data-theme=scuro] .dash-rgl .react-resizable-handle{--handle-filter:invert(1)}.tile-body{flex:auto;min-height:0;overflow:hidden auto}.tile-handle{cursor:grab;color:var(--text-3);padding:4px;display:inline-flex}.w-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.w-row .grow{flex:auto}.w-today .progress{margin-top:10px}.w-links{gap:16px;margin-top:10px;font-size:13px;display:flex}.w-links a{align-items:center;gap:2px;min-height:32px;display:inline-flex}.w-balance .legend{margin:6px 0 4px}.w-balance table.kv{width:100%}.w-activity{color:inherit;border-radius:8px;text-decoration:none;display:block}.w-activity:hover b{color:var(--accent-text)}.week-bars{grid-template-columns:repeat(7,1fr);align-items:end;gap:6px;height:112px;margin-top:10px;display:grid}.week-bar{height:100%;font-size:var(--fs-small);flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;display:flex}.week-bar i{background:var(--fat);opacity:.85;border-radius:4px 4px 1px 1px;width:100%;max-width:28px;display:block}.week-bar b{color:var(--text-3);font-weight:600}.week-bar.now b{color:var(--accent-text)}.phone-today{flex-direction:column;gap:12px;display:flex}.phone-today>.panel{margin:0}.diary-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.diary-main{flex-direction:column;gap:12px;min-width:0;display:flex}.diary-main>.panel,.diary-side>.panel{margin:0}.diary-side{display:none}.phone-summary .panel{margin:0}@container page (width>=880px){.diary-layout{grid-template-columns:minmax(0,1fr) clamp(300px,32%,360px)}.diary-side{flex-direction:column;gap:12px;display:flex;position:sticky;top:72px}.phone-summary,.phone-shortcuts{display:none}}.phone-shortcuts>.panel{margin:0}.meal-list{flex-direction:column;gap:12px;display:flex}.meal-group{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg,12px);padding:10px 12px 6px}.meal-head{flex-wrap:wrap;align-items:center;gap:8px;min-height:40px;display:flex}.meal-head h2{margin:0;font-size:15px;font-weight:650}.meal-head .grow{flex:auto}.meal-time{color:var(--text-3);font-variant-numeric:tabular-nums;align-items:center;gap:3px;font-size:12px;display:inline-flex}.meal-kcal{font-size:14px;font-weight:650}.meal-macros{align-items:center;gap:10px;margin:2px 0 6px;display:flex}.meal-macros .stackbar{flex:auto}.meal-empty{border:1px dashed var(--border);width:100%;min-height:44px;color:var(--text-2);font:inherit;cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:6px;margin-bottom:6px;padding:0 4px;font-size:14px;display:flex}.meal-empty:hover{border-color:var(--accent);color:var(--accent-text)}.entry-list{margin:0;padding:0;list-style:none}.swipe-row{border-top:1px solid var(--border);touch-action:pan-y;position:relative;overflow:hidden}.swipe-bg{background:var(--bad);color:#fff;justify-content:flex-end;align-items:center;gap:6px;padding-right:16px;font-size:13px;font-weight:600;display:flex;position:absolute;inset:0}.swipe-fg{background:var(--surface);transition:transform .15s ease-out;position:relative}.entry-row{align-items:center;gap:8px;min-height:48px;display:flex}.entry-name{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:15px;overflow:hidden}.entry-kcal{text-align:right;width:52px;font-weight:600}.qty-btn{min-height:44px;color:var(--text-2);font:inherit;font-variant-numeric:tabular-nums;cursor:text;white-space:nowrap;background:0 0;border:0;border-radius:6px;padding:0 8px;font-size:13px}.qty-btn:hover{background:var(--hover);color:var(--text)}.qty-edit{align-items:center;gap:4px;display:inline-flex}.qty-edit input{text-align:right;width:72px;min-height:36px}.summary-kcal{align-items:flex-end;gap:8px;margin-bottom:8px;display:flex}.more-tools>summary{color:var(--text-2)}.more-list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg,12px);margin:0 0 16px;padding:0;list-style:none}.more-list li+li{border-top:1px solid var(--border)}.more-list a{min-height:60px;color:inherit;align-items:center;gap:12px;padding:8px 14px;text-decoration:none;display:flex}.more-icon{color:var(--accent-text);display:inline-flex}.more-text{flex-direction:column;flex:auto;display:flex}.catalog{flex-direction:column;gap:12px;display:flex}.catalog>.panel{margin:0}.catalog-row{flex-wrap:wrap;align-items:flex-start;gap:12px;display:flex}@media (width<=767px){.chart-head a,.w-links a{align-items:center;min-height:44px;display:inline-flex}details.panel>summary,.btn.small-btn,.segmented button,.tabs-trigger,table input,table select,.chip,table.data input{min-height:44px}.dtable th button{justify-content:center;min-width:44px;min-height:44px}}.dash-grid{grid-auto-flow:dense}@media (width<=767px){.phone-shortcuts .chips{scrollbar-width:none;flex-wrap:nowrap;margin-right:-16px;padding-right:16px;overflow-x:auto}.phone-shortcuts .chip{white-space:nowrap;flex:none}}.drawer.wide{width:min(680px,100vw)}.dialog.wide{width:min(880px,100vw - 24px)}.w-planned{border:1px dashed var(--border-strong);border-radius:8px;margin-top:10px;padding:8px 10px}.workout-bars.compact svg{margin-top:6px;display:block}.week-bar-col{justify-content:center;align-items:flex-end;width:100%;display:flex;position:relative}.week-bar-col u{border:1.5px dashed var(--text-3);border-radius:4px 4px 1px 1px;width:100%;max-width:28px;position:absolute;bottom:0}.week-bar-col i{position:relative}.cal-tools{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.cal-group{flex-wrap:nowrap;align-items:center;gap:6px;display:flex}.cal-period{min-width:132px;margin:0 4px;font-size:14px;font-weight:600}.calendar{--cal-side:220px}.whead{z-index:6;grid-template-columns:minmax(0, 1fr) var(--cal-side);background:var(--bg);text-transform:uppercase;letter-spacing:.04em;color:var(--text-3);gap:8px;padding:4px 0;font-size:11px;font-weight:600;display:grid;position:sticky;top:56px}.whead.tablet{grid-template-columns:minmax(0,1fr)}.whead .wgrid span{padding-left:6px}.wgrid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.wrow-cal{grid-template-columns:minmax(0, 1fr) var(--cal-side);gap:8px;padding-bottom:8px;display:grid}.wrow-cal.tablet{grid-template-columns:minmax(0,1fr)}.wrow-cal.month{grid-template-columns:minmax(0,1fr) 90px;padding-bottom:4px}.whead.month{grid-template-columns:minmax(0,1fr) 90px}.wside{min-width:0}.dcell{background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:8px;flex-direction:column;gap:4px;min-width:0;min-height:150px;padding:4px 5px 6px;display:flex;position:relative}.dcell:hover{border-color:var(--border-strong)}.dcell.today{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.dcell.future{background:var(--bg)}.dcell.over{background:var(--accent-soft);border-color:var(--accent)}.dcell.outside{background:var(--bg);border-style:dashed}.dcell.compact{min-height:74px}.dcell-head{align-items:center;gap:4px;min-height:24px;display:flex}.dcell-head .grow{flex:auto}.dcell-date{min-width:24px;height:24px;font:inherit;color:var(--text-2);cursor:pointer;font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:6px;padding:0 4px;font-size:12px;font-weight:650}.dcell.today .dcell-date{background:var(--accent);color:var(--accent-fg)}.dcell-menu.icon-btn{opacity:0;width:24px;height:24px;min-height:24px}.dcell:hover .dcell-menu,.dcell-menu:focus-visible,.dcell-menu[data-state=open]{opacity:1}.dtype{background:var(--sunken);color:var(--text-2);white-space:nowrap;border-radius:4px;padding:1px 5px;font-size:10px}.dcell-items{flex-direction:column;gap:3px;display:flex}.ccard{touch-action:manipulation;border-radius:6px}.ccard.planned{border:1.5px dashed var(--border-strong);background:0 0}.ccard.planned.skipped{border-color:var(--bad);opacity:.8}.ccard.planned.over{border-color:var(--accent);background:var(--accent-soft)}.ccard.done{border:1px solid var(--border);background:var(--sunken);border-left:3px solid var(--accent)}.ccard.done.ctx-outdoor{border-left-color:var(--form)}.ccard.dragging{opacity:.85;box-shadow:var(--shadow);cursor:grabbing}.ccard-main{width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;gap:1px;min-width:0;padding:3px 5px;display:flex}.ccard-title{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:4px;font-size:12px;font-weight:600;display:flex;overflow:hidden}.ccard-meta{font-size:var(--fs-small);color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ccard-icon{color:var(--text-3);flex:none}.ccard-warn{color:var(--bad-text);flex:none}.cdot{border-radius:50%;flex:none;width:8px;height:8px;display:inline-block}.ebar{align-items:center;gap:6px;margin-top:auto;display:flex}.ebar-track{background:var(--track);border-radius:3px;flex:auto;height:6px;position:relative;overflow:hidden}.ebar-track span{border-radius:3px;position:absolute;top:0;bottom:0;left:0}.ebar-track i{background:var(--text-2);width:1.5px;position:absolute;top:-2px;bottom:-2px}.ebar-text{font-size:var(--fs-small);text-align:right;min-width:34px;font-weight:600}.ebar.estimate{justify-content:flex-end}.mbar{border-radius:2px;gap:1px;height:3px;display:flex;overflow:hidden}.dcell-tags{flex-wrap:wrap;align-items:center;gap:3px;display:flex}.small-tag{padding:0 5px;font-size:10px}.dcell-dots{flex-wrap:wrap;gap:3px;display:flex}.mdot{border-radius:50%;width:9px;height:9px;display:inline-block}.mdot.planned{border:1.5px dashed var(--text-3)}.wsum{border:1px solid var(--border);background:var(--surface);border-radius:8px;height:100%;padding:8px 10px;font-size:12px}.wsum-head{align-items:center;min-height:24px;display:flex}.wsum-head .grow{flex:1}.wsum-big{margin:2px 0 4px;font-size:20px;font-weight:700}.wsum-big .faint{font-size:13px;font-weight:500}.wsum .wrow{justify-content:space-between;gap:6px;padding:1px 0;display:flex}.zbar{border-radius:3px;height:6px;margin:5px 0;display:flex;overflow:hidden}.wrow-cal.tablet .wsum{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));column-gap:16px;display:grid}.wrow-cal.tablet .wsum-head,.wrow-cal.tablet .wsum-big{grid-column:1/-1}.wrow-cal.tablet .wsum{grid-template-columns:repeat(auto-fill,minmax(min(210px,100%),1fr))}.wrow-cal.tablet .wsum-link{display:contents}.wsum .wrow .num{white-space:nowrap}.wsum .wrow>.faint{min-width:0}.dcell-head .dtype{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.dcell-head .num{white-space:nowrap;flex:none}.clip-bar{background:var(--accent-soft);color:var(--accent-text);border-radius:8px;align-items:center;gap:8px;margin-bottom:8px;padding:6px 10px;display:flex}.cal-legend{margin:10px 0 0}.filters{flex-direction:column;gap:8px;min-width:240px;display:flex}.agenda{flex-direction:column;gap:10px;display:flex}.agenda-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.agenda-day{display:block}.agenda .dcell-date{padding:0 8px;font-size:14px}.agenda-date{flex-direction:column;align-items:center;padding-top:6px;display:flex}.agenda-date b{font-size:18px}.agenda .dcell{min-height:64px}.agenda .ccard-title{font-size:14px}.agenda .ccard-meta{font-size:12px}.agenda .ccard-main{justify-content:center;min-height:44px}.agenda .dcell-menu.icon-btn{opacity:1;width:44px;height:44px}.agenda .dcell-date{min-width:44px;height:44px}@media (width<=767px){.cal-tools .cal-period{flex:100%;order:10;min-width:0}}.template-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.template-card{border:1px solid var(--border);border-radius:8px;padding:10px 12px}.template-head{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.template-head .grow{flex:1}.editor-grid{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}@media (width>=900px){.editor-grid{grid-template-columns:minmax(0,1fr) 260px}.editor-side{align-self:start;position:sticky;top:0}}.est{grid-template-columns:repeat(4,1fr);gap:6px;margin:10px 0;display:grid}.est div{flex-direction:column;display:flex}.est dt{color:var(--text-3);text-transform:uppercase;letter-spacing:.04em;font-size:11px}.est dd{margin:0;font-size:18px;font-weight:650}.structure-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.structure-list.inner{border-left:2px solid var(--border);margin:6px 0;padding-left:10px}.step-row,.repeat-row{border:1px solid var(--border);border-radius:8px;padding:6px 8px}.repeat-row{background:var(--sunken)}.structure-head{align-items:center;gap:8px;min-height:32px;display:flex}.structure-head .grow{flex:1}.row-tools{gap:2px;display:flex}.step-fields{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:6px;display:grid}.sf{font-size:var(--fs-small);color:var(--text-3);flex-direction:column;gap:2px;display:flex}.sf input,.sf select{min-height:var(--control-h);font-size:13px}.sf.wide{grid-column:span 2}.sf.reps{flex-direction:row;align-items:center;gap:6px}.sf.reps input{width:60px}.day-panel{flex-direction:column;gap:14px;display:flex}.day-stats{flex-wrap:wrap;align-items:flex-end;gap:18px;display:flex}.day-stats .grow{flex:1}.day-stat{flex-direction:column;display:flex}.day-stat .num{font-size:22px;font-weight:700}.day-section h3{margin:0 0 6px;font-size:13px;font-weight:650}.day-columns{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:14px;display:grid}.day-list{margin:0 0 8px;padding:0;list-style:none}.day-list li{border-bottom:1px solid var(--border);align-items:center;gap:8px;min-height:36px;font-size:13px;display:flex}.day-list .time{width:46px;color:var(--text-3)}.day-list .grow{flex:1;min-width:0}.planned-label{border:1.5px dashed var(--border-strong);border-radius:5px;padding:1px 6px}.day-full{flex-direction:column;gap:16px;display:flex}.day-full-top{max-width:980px}.energy-timeline .chart-box svg{display:block}.msg.small svg{vertical-align:-2px}.dcell-head{min-width:0;overflow:hidden}.dcell-menu.icon-btn{min-width:24px;padding:0}@media (width<=767px){.dcell.compact .dcell-date{width:100%;height:44px}.dcell.compact{padding:2px}.wrow-cal.month,.whead.month{grid-template-columns:minmax(0,1fr)}.wrow-cal.month .wside,.whead.month .wside-head{display:none}.month-view .wgrid{gap:2px}.dcell.compact .dcell-head{display:block}}.analysis{flex-direction:column;gap:12px;display:flex}.an-bar{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.an-bar .tabs-list{margin:0}.an-bar .tabs-trigger{align-items:center;text-decoration:none;display:inline-flex}.an-filters{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.an-dates{align-items:center;gap:6px;display:inline-flex}.an-dates input{width:auto}.an-range{flex-basis:100%;margin:0}.an-grid{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.an-grid>div>.panel,.an-grid>.panel{height:100%;margin:0}@container page (width>=1000px){.an-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.an-grid>.an-wide{grid-column:1/-1}}.echart{width:100%}.an-empty{text-align:center;border:1px dashed var(--border-strong);border-radius:var(--r-panel);color:var(--text-2);justify-content:center;align-items:center;padding:16px;font-size:13px;display:flex}.an-empty p{max-width:44ch;margin:0}.an-stats{flex-wrap:wrap;gap:12px 24px;margin-top:10px;display:flex}.an-sub{margin:14px 0 6px;font-size:13px;font-weight:600}.an-list{margin-top:8px}.an-foods{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:0 16px;display:grid}.an-rank{margin:0;padding-left:18px}.an-rank li{display:list-item}.an-rank li>span,.an-rank li>b{vertical-align:bottom;display:inline-block}.an-rank li>span{max-width:calc(100% - 70px)}.an-rank li>b{float:right;font-weight:600}.an-select select{min-height:44px}.insight-list,.insight-strip{flex-direction:column;gap:8px;display:flex}@container page (width>=1000px){.insight-strip{grid-template-columns:repeat(auto-fill,minmax(min(380px,100%),1fr));display:grid}}.insight{border:1px solid var(--border);border-left:3px solid var(--none);border-radius:var(--r-panel);background:var(--surface);align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.insight.sev-bad{border-left-color:var(--bad)}.insight.sev-over{border-left-color:var(--over)}.insight.sev-ok{border-left-color:var(--ok)}.insight-icon{color:var(--text-3);flex:none;margin-top:2px}.sev-bad .insight-icon{color:var(--bad-text)}.sev-over .insight-icon{color:var(--over-text)}.sev-ok .insight-icon{color:var(--ok-text)}.insight-body{flex:auto;min-width:0}.insight-body h3{margin:0;font-size:13px;font-weight:650}.insight-body p{color:var(--text-2);margin:3px 0 6px;font-size:13px}.insight.compact .insight-body p{font-size:12px}.insight-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.insight-type{text-transform:uppercase;letter-spacing:.04em;color:var(--text-3);margin-right:4px;font-size:11px}.act{flex-direction:column;gap:12px;display:flex}.act>.link{align-self:flex-start;align-items:center;gap:4px;min-height:32px;display:inline-flex}.act .panel{margin:0}.act-head{flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.act-title{margin:0;font-size:18px;font-weight:650}.act-head p{margin:2px 0 0}.act-metrics{flex-wrap:wrap;gap:10px 22px;margin-top:12px;display:flex}.act-plan{background:var(--sunken);border-radius:var(--r-control);align-items:center;gap:8px;margin-top:12px;padding:8px 10px;font-size:13px;display:flex}.act-plan .dot{border-radius:50%;flex:none;width:10px;height:10px}.act-layout{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.act-main,.act-side{flex-direction:column;gap:12px;min-width:0;display:flex}@container page (width>=1000px){.act-layout{grid-template-columns:minmax(0,2fr) minmax(300px,1fr);align-items:start}}.streams .chart{width:100%}.stream-title{margin:8px 0 2px;font-size:13px;font-weight:600}.act-sel{border:1px solid var(--accent);border-radius:var(--r-panel);background:var(--accent-soft);margin-top:12px;padding:10px 12px}.act-sel-head{justify-content:space-between;align-items:center;display:flex}.act-sel-tools{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.act-sel-name input{min-width:180px}.link-btn{font:inherit;color:var(--accent-text);cursor:pointer;background:0 0;border:0;min-height:24px;padding:0;text-decoration:underline}.zone-bars{flex-direction:column;gap:6px;display:flex}.zone-row{grid-template-columns:minmax(110px,1.2fr) minmax(40px,1fr) auto;align-items:center;gap:8px;font-size:12px;display:grid}.zone-name{line-height:1.25}.zone-range{font-size:var(--fs-small);display:block}.zone-track{background:var(--sunken);border-radius:4px;height:8px;overflow:hidden}.zone-track>span{height:100%;display:block}.zone-val{text-align:right;white-space:nowrap}.dtable.compact td,.dtable.compact th{padding-top:4px;padding-bottom:4px}.histo{align-items:flex-end;gap:6px;height:110px;display:flex}.histo-col{flex-direction:column;flex:1 1 0;justify-content:flex-end;align-items:center;gap:4px;height:100%;display:flex}.histo-bar{background:var(--form);border-radius:3px 3px 0 0;width:100%;min-height:1px}.weekhours{overflow-x:auto}.wh-grid{grid-template-rows:32px var(--wh-h);border:1px solid var(--border);border-radius:var(--r-panel);background:var(--surface);grid-template-columns:48px repeat(7,minmax(110px,1fr));min-width:820px;display:grid}.wh-corner{border-bottom:1px solid var(--border)}.wh-head{border:0;border-bottom:1px solid var(--border);border-left:1px solid var(--border);font:inherit;color:var(--text-2);cursor:pointer;background:0 0;min-height:32px;font-size:12px}.wh-head.today{color:var(--accent-text);background:var(--accent-soft)}.wh-hours{flex-direction:column;display:flex}.wh-hours span{color:var(--text-3);text-align:right;padding:0 6px;font-size:10px;transform:translateY(-6px)}.wh-col{border-left:1px solid var(--border);position:relative}.wh-col.today{background:color-mix(in srgb, var(--accent-soft) 40%, transparent)}.wh-line{border-top:1px solid var(--grid);position:absolute;left:0;right:0}.wh-now{border-top:2px solid var(--bad);z-index:3;position:absolute;left:0;right:0}.wh-session{z-index:1;font:inherit;font-size:var(--fs-small);text-align:left;cursor:pointer;border:1px solid var(--accent);background:var(--accent-soft);color:var(--text);border-radius:4px;flex-direction:column;align-items:flex-start;padding:2px 5px;display:flex;position:absolute;left:3px;right:3px;overflow:hidden}.wh-session.pianificata{background:var(--surface);border-style:dashed}.wh-session span{color:var(--text-2)}.wh-session .wh-ride{border:1px solid var(--carb);color:var(--text);border-radius:999px;margin-top:2px;padding:0 5px;font-size:10px;line-height:16px}.wh-session b,.wh-session>span:not(.wh-ride){white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.wh-meal{z-index:2;border:1px solid var(--carb);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;border-radius:999px;min-height:18px;padding:1px 5px;font-size:10px;position:absolute;right:3px;transform:translateY(-50%)}.wh-meal.estimated{border-style:dashed}.acts{flex-direction:column;gap:12px;display:flex}.acts .panel{margin:0}.acts-tools{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.acts-search{flex:240px;max-width:360px}.acts-compare{left:50%;bottom:calc(var(--bottomnav-h,0px) + env(safe-area-inset-bottom) + 16px);box-shadow:var(--shadow);background:color-mix(in srgb, var(--accent) 22%, var(--surface));z-index:20;border:1px solid var(--accent);border-radius:var(--r-panel);background:var(--accent-soft);align-items:center;gap:10px;max-width:calc(100vw - 32px);padding:8px 12px;font-size:13px;display:flex;position:fixed;transform:translate(-50%)}.scroll-x.acts-scroll{background:linear-gradient(to right, var(--surface) 40%, transparent) left / 28px 100% no-repeat local, linear-gradient(to left, var(--surface) 40%, transparent) right / 28px 100% no-repeat local, radial-gradient(farthest-side at 0 50%, #000000b3, transparent) left / 18px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, #000000b3, transparent) right / 18px 100% no-repeat scroll}.acts-table tr.selected td{background:var(--accent-soft)}.acts-table td .tag{margin-left:6px}.acts-table tfoot td{border-top:1px solid var(--border-strong);font-weight:600}.acts-table input[type=checkbox]{width:18px;height:18px}.acts-list{border:1px solid var(--border);border-radius:var(--r-panel);background:var(--surface);margin:0;padding:0;list-style:none}.acts-list li+li{border-top:1px solid var(--border)}.acts-list a{min-height:56px;color:inherit;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;text-decoration:none;display:flex}.acts-list-main{flex-direction:column;min-width:0;display:flex}.acts-list-facts{text-align:right;white-space:nowrap}.bubble .who{align-items:center;gap:4px;display:inline-flex}.bubble.coach{border-top-left-radius:4px}.bubble.mine{border-top-right-radius:4px}.bubble.mine .who{color:var(--accent-text)}.bubble table.dtable{font-size:12px}.coach-context{max-width:760px;margin:0 auto 8px}.coach-context.chips{gap:6px;margin-top:0}.coach-context .chips .chip{min-height:32px;padding:4px 10px;font-size:12px}.chat.in-panel{flex-direction:column;flex:auto;min-height:0;padding-bottom:0;display:flex}.chat.in-panel .chat-log{overscroll-behavior:contain;flex:auto;min-height:0;padding:4px 2px 8px;overflow-y:auto}.chat.in-panel .bubble{max-width:100%}.chat.in-panel .composer{flex:none;margin:0 -16px -16px;padding:10px 16px 14px;position:static;left:auto;right:auto}.chat-clear{margin:8px auto 0;display:block}.chat-day{color:var(--text-3);align-items:center;gap:10px;margin:6px 0 0;font-size:12px;font-weight:600;display:flex}.chat-day:before,.chat-day:after{content:"";border-top:1px solid var(--border);flex:1}.bubble-time{color:var(--text-3);font-weight:500}.coach-table{margin:8px 0}.coach-table table.data{table-layout:auto;width:100%;font-size:12.5px}.bubble .coach-table table.data th,.bubble .coach-table table.data td{white-space:normal;overflow-wrap:break-word;word-break:normal;padding:5px 6px}.bubble .coach-table table.data td.text{text-align:left}.bubble .coach-table table.data td.num{text-align:right;white-space:nowrap}.bubble .coach-table table.data th{text-align:left}.coach-drawer{width:min(440px,100vw)!important}.day-calc>summary{cursor:pointer;align-items:center;gap:6px;min-height:44px;font-size:13px;font-weight:600;display:flex}.settings-search{max-width:420px;margin:8px 0 12px;display:block}.hist{margin-top:10px}.hist-line{flex-wrap:wrap;gap:0;margin:4px 0 0;padding:0;list-style:none;display:flex}.hist-line li{border-left:2px solid var(--border-strong);font-size:var(--fs-small);flex-direction:column;gap:1px;padding:4px 12px 4px 10px;display:flex}.hist-line li.current{border-left-color:var(--accent)}.hist-line li b{font-size:13px}.onboarding{padding:24px 0 32px}.ob-lang{margin-bottom:var(--sp-3)}.ob-head{align-items:center;gap:12px;margin-bottom:16px;display:flex}.ob-head h1{margin:0;font-size:20px}.ob-head p{margin:2px 0 0}.ob-steps{counter-reset:none;gap:4px;margin:0 0 16px;padding:0;list-style:none;display:flex}.ob-steps li{border-top:3px solid var(--border);color:var(--text-3);flex:1 1 0;align-items:center;gap:6px;min-width:0;padding:8px 0 0;font-size:12px;display:flex}.ob-steps li.done{border-top-color:var(--ok);color:var(--text-2)}.ob-steps li.current{border-top-color:var(--accent);color:var(--text);font-weight:600}.ob-num{background:var(--sunken);width:20px;height:20px;font-size:var(--fs-small);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.ob-steps li.current .ob-num{background:var(--accent);color:var(--accent-fg)}.ob-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=767px){.ob-steps li:not(.current) .ob-name{display:none}}.skip-link{z-index:100;border-radius:var(--r-control);background:var(--accent);color:var(--accent-fg);padding:8px 14px;font-weight:600;text-decoration:none;position:absolute;top:-48px;left:8px}.skip-link:focus{top:8px}main.page:focus{outline:none}.echart:focus-visible,.chart:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.insight-widget{height:100%;padding-right:2px;overflow-y:auto}.skip-link{align-items:center;min-height:44px;display:inline-flex}.tabs-trigger,.segmented button{min-width:44px}@media (width<=767px){.act>.link,.link-btn,.dtable th a.link{align-items:center;min-height:44px;display:inline-flex}.wh-head{min-height:44px}.wh-grid{grid-template-rows:44px var(--wh-h)}}.ccard.with-menu{align-items:stretch;display:flex}.ccard.with-menu .ccard-main{flex:1;justify-content:center;min-height:44px}.ccard-more{flex:none;align-items:center;display:flex}.ccard-more .icon-btn{min-width:44px;min-height:44px}.session-day{border:1.5px dashed var(--border-strong);border-radius:10px;gap:6px;margin-top:12px;padding:10px 12px;display:grid}.session-fuel{margin:0}.session-actions{flex-wrap:wrap;gap:6px;display:flex}.session-actions .btn{align-items:center;gap:6px;text-decoration:none;display:inline-flex}@media (width<=767px){.session-actions .btn{min-height:44px}}.insight-more{align-items:center;gap:2px;min-height:44px;display:inline-flex}.phone-balance>summary{cursor:pointer;align-items:center;gap:8px;list-style:none;display:flex}.phone-balance>summary::-webkit-details-marker{display:none}.phone-balance-chev{color:var(--text-3);flex:none;transition:transform .15s}.phone-balance[open] .phone-balance-chev{transform:rotate(180deg)}.act-fuel-btn{align-items:center;gap:6px;margin-top:8px;text-decoration:none;display:inline-flex}@media (width<=767px){.act-fuel-btn{min-height:44px}}.wsum-link{min-height:44px;color:inherit;border-radius:6px;margin:2px -4px;padding:2px 4px;text-decoration:none;display:block}.wsum-link:hover{background:var(--accent-soft)}@media (width>=768px){.app.with-coach{grid-template-columns:var(--sidebar-w) minmax(0, 1fr) var(--coach-w);--coach-w:clamp(360px, var(--coach-user-w,460px), 50vw)}.coach-side{background:var(--surface);border-left:1px solid var(--border);flex-direction:column;min-width:0;height:100vh;padding:12px 16px 16px;animation:.16s ease-out coach-in;display:flex;position:sticky;top:0;overflow:hidden}.coach-side>.coach,.coach-side>:last-child{flex:auto;min-height:0}}@keyframes coach-in{0%{opacity:0;transform:translate(12px)}}@media (prefers-reduced-motion:reduce){.coach-side,.phone-balance-chev{transition:none;animation:none}}@media (width<=767px){.an-filters{gap:6px 8px}.an-filters .segmented button{padding:0 9px}.an-filters .an-select select{max-width:150px}}@media (width>=768px){.acts-table td{padding:4px 8px;font-size:13px}.acts-table input[type=checkbox]{width:16px;height:16px}.acts-table td a{font-weight:550;text-decoration:none}.acts-table td a:hover{text-decoration:underline}}.state-icon{background:var(--accent-soft);width:44px;height:44px;color:var(--accent-text);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.page{animation:.14s ease-out page-in}@keyframes page-in{0%{opacity:0;transform:translateY(4px)}}@media (prefers-reduced-motion:reduce){.page{animation:none}}@media (width>=768px){.app.with-coach .topbar .search{width:170px}}@media (width>=768px) and (width<=1500px){.app.with-coach .topbar .search kbd{display:none}}.lib-filters{flex-wrap:wrap;gap:8px;margin-bottom:8px;display:flex}.lib-filters .lib-search{flex:180px;width:auto}.lib-filters select{min-height:var(--control-h)}.chip-row{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.chip.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-text)}.duration-ctl{flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;display:flex}.duration-ctl input[type=range]{min-height:44px;accent-color:var(--accent);flex:160px}.fit-duration{flex-wrap:wrap;align-items:flex-end;gap:8px;margin-bottom:10px;display:flex}.sf-check{min-height:44px;font-size:var(--fs-small);cursor:pointer;align-items:center;gap:6px;display:inline-flex}.sf-check input{width:18px;height:18px}@media (width<=767px){.lib-filters .lib-search,.lib-filters .lib-search input{min-height:44px}}.plan-prompt{border-color:var(--accent);background:linear-gradient(90deg, var(--accent-soft), var(--surface) 70%);align-items:center;gap:14px;display:flex}.plan-prompt-icon{background:var(--accent);width:36px;height:36px;color:var(--accent-fg);border-radius:50%;flex:none;place-items:center;display:inline-grid}.plan-prompt-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.plan-prompt-act{align-items:center;gap:6px;display:flex}@media (width<=767px){.plan-prompt{flex-wrap:wrap}.plan-prompt-act{justify-content:space-between;width:100%}}.coach-links{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.coach-link{border:1px solid var(--accent);min-height:32px;color:var(--accent-text);background:var(--surface);border-radius:999px;align-items:center;gap:4px;padding:4px 10px;font-size:13px;font-weight:550;text-decoration:none;display:inline-flex}.coach-link:hover{background:var(--accent-soft)}.coach-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=767px){.coach-link{min-height:44px;padding:6px 12px}}.recipe-form h3{margin:14px 0 6px;font-size:.95rem}.recipe-items{margin:0 0 10px;padding:0;list-style:none}.recipe-item{border:1px solid var(--border);border-radius:var(--r-panel);background:var(--sunken);padding:8px 10px}.recipe-item+.recipe-item{margin-top:8px}.recipe-item-head{align-items:center;gap:8px;display:flex}.recipe-item-head b{overflow-wrap:anywhere;flex:1;min-width:0}.recipe-total{border-radius:var(--r-panel);background:var(--sunken);border:1px solid var(--border);margin:10px 0;padding:10px 12px}.recipe-total p{margin:0}.recipe-total p+p{margin-top:4px}.food-source .tag{margin:0 6px 0 0}.off-panel .off-search{grid-template-columns:minmax(160px,1fr) auto auto}@media (width<=520px){.off-panel .off-search{grid-template-columns:1fr 1fr}.off-panel .off-search>:first-child{grid-column:1/-1}}.off-result{border-radius:var(--r-panel);border:1px solid var(--border);background:var(--sunken);margin-top:10px;padding:10px 12px}.off-result p{margin:0 0 4px}.scanner{gap:8px;margin-top:10px;display:grid}.scanner video{border-radius:var(--r-panel);object-fit:cover;background:#000;width:100%;max-height:50vh}.off-panel .btn,.recipe-form .actions .btn{white-space:normal;text-align:left;max-width:100%;height:auto;min-height:44px}.readiness-head{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.readiness-light{width:22px;height:22px;box-shadow:0 0 0 4px var(--surface);border-radius:50%;flex:none}.readiness-light.ok{background:var(--ok);box-shadow:0 0 0 4px var(--ok-soft)}.readiness-light.warn{background:var(--warn);box-shadow:0 0 0 4px var(--warn-soft)}.readiness-light.bad{background:var(--bad);box-shadow:0 0 0 4px var(--bad-soft)}.readiness-title{flex-direction:column;flex:1;min-width:0;display:flex}.readiness-title strong{font-size:1.15rem}.readiness-week{gap:6px;margin:0;padding:0;list-style:none;display:flex}.readiness-week li{flex-direction:column;align-items:center;gap:2px;min-width:14px;display:flex}.readiness-week .dot{width:10px;height:10px}.readiness-week .dot.none{border:1px solid var(--border-strong,var(--border));background:0 0}.readiness-signals{gap:4px;margin:10px 0 0;padding:0;list-style:none;display:grid}.readiness-signals li{align-items:baseline;gap:8px;display:flex}.readiness-signals .dot{transform:translateY(-1px)}.readiness-suggestion{margin:10px 0 6px}.readiness-actions{justify-content:flex-start;margin-bottom:6px}.readiness-checkin{flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0 0;display:flex}.checkin-box{border-top:1px solid var(--border);margin-top:10px;padding-top:10px}.checkin-title{margin:0 0 8px;font-size:.95rem}.checkin-numbers{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.checkin-scale{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:8px 0;display:flex}.checkin-label{flex-direction:column;display:flex}.checkin-scale .segmented button{min-width:44px;min-height:44px}.label-actions{flex-wrap:wrap;justify-content:flex-start}.label-preview{border-radius:var(--r-panel);border:1px solid var(--border);object-fit:contain;max-width:100%;max-height:260px;margin:10px 0;display:block}.label-progress{gap:4px;margin:10px 0;display:grid}.label-text{margin:10px 0}.label-text summary{cursor:pointer;align-items:center;gap:6px;min-height:44px;display:inline-flex}.label-text textarea{width:100%;font-family:var(--font-mono,ui-monospace, monospace);font-size:.85rem}.label-result{border-top:1px solid var(--border);margin-top:12px;padding-top:12px}.label-values{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:4px 12px;margin:6px 0 10px;padding:0;list-style:none;display:grid}.label-values li.missing b{color:var(--bad-text)}.label-title{margin:14px 0 6px;font-size:.95rem}.ride-food .meal-head h2{align-items:center;gap:6px;display:inline-flex}.ride-block+.ride-block{margin-top:var(--sp-3);padding-top:var(--sp-3);border-top:1px solid var(--grid)}.ride-head{flex-wrap:wrap;align-items:center;gap:6px 8px;margin-bottom:6px;display:flex}.ride-plan{color:var(--text-2);margin:4px 0 6px}.fuel-meter{margin:4px 0 8px}.fuel-meter-text{margin-bottom:4px}.fuel-meter-value{font-size:20px;font-weight:650}.fuel-meter-value.ok{color:var(--ok-text)}.fuel-meter-value.warn{color:var(--warn-text)}.fuel-meter-value.bad{color:var(--bad-text)}.fuel-meter-track{background:var(--sunken);border-radius:5px;height:10px;position:relative;overflow:hidden}.fuel-meter-band{background:var(--ok-soft);position:absolute;top:0;bottom:0}.fuel-meter-fill{background:var(--carb);border-radius:4px;position:absolute;top:2px;bottom:2px;left:0}.fuel-meter-fill.bad{background:var(--bad)}.fuel-meter-fill.warn{background:var(--warn)}.fuel-meter-target{background:var(--text);width:2px;margin-left:-1px;position:absolute;top:0;bottom:0}.dialog.full{flex-direction:column;width:auto;max-height:none;padding:14px 18px 18px;display:flex;inset:16px;transform:none}@media (width<=700px){.dialog.full{border-radius:0;padding:10px 12px 14px;inset:0}}.expand-body{gap:var(--sp-3);flex-direction:column;flex:auto;min-height:0;display:flex;overflow-y:auto}.expand-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chart-stats{border-collapse:collapse;width:100%;font-size:13px}.chart-stats th,.chart-stats td{border-bottom:1px solid var(--grid);text-align:right;white-space:nowrap;padding:6px 8px}.chart-stats th:first-child,.chart-stats td:first-child{text-align:left;white-space:normal}.chart-stats thead th{color:var(--text-3);font-size:12px;font-weight:500}.chart-stats .swatch{vertical-align:-1px;border-radius:2px;width:10px;height:10px;margin-right:6px;display:inline-block}.expand-btn{margin-left:auto}.expand-chart{flex:none;height:max(340px,100vh - 290px)}.expand-chart .echart{height:100%!important}@media (width<=700px){.expand-chart{height:max(300px,100vh - 240px)}}.stream-tools{flex-wrap:wrap;align-items:center;gap:4px 12px;margin-bottom:4px;display:flex}.stream-readout{z-index:2;border-radius:var(--r-control);background:var(--sunken);flex-wrap:wrap;align-items:center;gap:4px 16px;min-height:36px;padding:6px 10px;font-size:13px;display:flex;position:sticky;top:0}.stream-readout span{align-items:center;gap:4px;display:inline-flex}.stream-readout i{border-radius:2px;width:10px;height:3px;display:inline-block}.stream-readout i.dash{background:repeating-linear-gradient(to right, var(--text-2) 0 4px, transparent 4px 6px)}.stream-readout .sr-hint{color:var(--text-3)}.streams .u-select{background:color-mix(in srgb, var(--accent) 16%, transparent);border-left:2px solid var(--accent);border-right:2px solid var(--accent)}.streams .u-cursor-x{border-right:1px dashed var(--text-2)}.streams .u-cursor-y{display:none}.streams.expanded .stream-title{margin-top:12px;font-size:14px}.stream-mini{border-top:1px solid var(--grid);margin-top:12px;padding-top:8px}.stream-mini .u-select{background:color-mix(in srgb, var(--accent) 24%, transparent)}.chat:not(.in-panel) ul.bubbles{max-width:760px;margin-inline:auto}.sync-strip{border:1px solid var(--border);border-radius:var(--r-panel);background:var(--surface);flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 12px;display:flex}.ok-text{color:var(--ok-text)}.bad-text{color:var(--bad-text)}.act-more{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));align-items:start;gap:12px;display:grid}.act-more>.panel{margin:0}.crumb{align-items:center;gap:4px;min-height:44px;margin-bottom:2px;display:inline-flex}.rec-options li{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.fuel-hint{background:var(--accent-soft);color:var(--text);margin:0 0 8px}@container page (width>=880px){.diary-side.day-side{align-self:start;position:static}}.day-extra>summary{min-height:44px;font-weight:600}.coach-resize{cursor:col-resize;z-index:2;width:8px;position:absolute;top:0;bottom:0;left:-4px}.coach-resize:hover,.coach-resize:focus-visible{background:var(--accent-soft);outline:none}.notice-row{border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:var(--r-panel);background:var(--surface);flex-direction:column;gap:6px;margin-bottom:12px;padding:10px 12px;display:flex}.notice-line{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.notice-act{gap:8px;display:flex}.info-btn{border:1px solid var(--border-strong,var(--border));width:24px;height:24px;color:var(--text-2);cursor:pointer;background:0 0;border-radius:50%;flex:none;font:italic 600 13px/1 Georgia,serif}.info-btn[aria-expanded=true]{background:var(--accent-soft);color:var(--text)}.info-text{color:var(--text-2);margin:0}@media (width<=767px){.info-btn{width:44px;height:44px}}.an-sections{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;display:grid}.an-section{border:1px solid var(--border);border-radius:var(--r-panel);background:var(--surface);min-height:56px;color:var(--text);align-items:center;gap:10px;padding:10px 14px;text-decoration:none;display:flex}.an-section>span{flex-direction:column;min-width:0;display:flex}.an-section:hover{border-color:var(--accent)}.an-section[aria-current=page]{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 -3px 0 var(--accent)}@media (width<=767px){.an-section .small{display:none}.an-section{justify-content:center;min-height:48px;padding:8px}}.w-add-weight{order:99;margin-left:auto}.rb{flex-direction:column;gap:10px;margin-bottom:12px;display:flex}.rb-row{flex-wrap:wrap;gap:8px 12px;display:flex}.rb-num{width:110px}.rb-num input{width:100%}@media (width>=768px){.topbar{flex-wrap:nowrap}.topbar>*{min-width:0}.topbar>h1,.topbar>.desk-only:last-child,.topbar>button,.topbar>span{flex:none}.topbar>.desk-only:not(:last-child){flex:0 280px}.topbar>.desk-only:not(:last-child) input{width:100%;min-width:0}.topbar>.desk-only:not(:last-child)>*{width:100%;min-width:0;max-width:100%}.topbar .desk-only .search{width:100%;min-width:140px}}.settings-top{gap:10px;margin-bottom:4px;display:grid}.settings-top .segmented{flex-wrap:wrap}.settings-top .settings-search{max-width:none;margin:0}.settings-top .settings-search input{width:100%}.an-block-title{text-transform:uppercase;letter-spacing:.06em;color:var(--text-3);margin:4px 0 -4px;font-size:12px;font-weight:600}.an-deep{gap:12px;margin-top:16px;display:grid}.an-deep-toggle{text-align:left;width:100%;min-height:48px;font:inherit;color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-panel);cursor:pointer;align-items:center;gap:10px;padding:10px 14px;display:flex}.an-deep-toggle:hover{border-color:var(--accent)}.an-deep-chev{flex:none;transition:transform .15s}.an-deep-toggle[aria-expanded=true] .an-deep-chev{transform:rotate(90deg)}.coach-side-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.coach-side-head h2{margin:0}.coach-side-head .segmented button{min-height:36px}.coach-side .icon-only{justify-content:center;align-items:center;width:44px;min-width:44px;height:44px;padding:0;display:inline-flex}.coach-focus{border:1px solid var(--border);background:color-mix(in srgb, var(--accent) 8%, transparent);border-radius:999px;align-items:center;gap:6px;max-width:100%;margin:6px 0 4px;padding:4px 4px 4px 10px;display:flex}.coach-focus b{min-width:0}.coach-focus-x{width:32px;height:32px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;flex:none;justify-content:center;align-items:center;margin-left:auto;display:inline-flex}.coach-focus-x:hover{background:var(--border)}.pl{flex-direction:column;gap:10px;padding:6px 2px 12px;display:flex;overflow-y:auto}.pl-search input{width:100%}.pl-topic select{width:100%;min-height:44px}.pl-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.pl-item{text-align:left;width:100%;font:inherit;color:inherit;border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:10px;gap:2px;min-height:44px;padding:10px 12px;display:grid}.pl-item:hover,.pl-item.best{border-color:var(--accent)}.pl-group{color:var(--text-2);margin:4px 0 6px;font-size:12px;font-weight:600}.pl-here{display:grid}.pl-here .pl-list{margin-bottom:10px}.pl-read article h3{margin:8px 0}.pl-read article h4{align-items:center;gap:6px;margin:0 0 4px;display:flex}.readiness-brief{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.readiness-brief-text{flex:200px;min-width:0}.calc-add{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.calc-add-meal select{min-height:44px}.phone-strip{gap:10px;margin-bottom:12px;display:grid}.phone-strip-light{padding:10px 12px}.phone-strip-tiles{grid-template-columns:1fr 1fr;gap:10px;display:grid}.phone-tile{min-height:56px;color:inherit;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;display:flex}.phone-tile>span{display:grid}.ask-coach{flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0;display:flex}.ask-coach .chip{min-height:36px;text-decoration:none}.coach-sheet{flex-direction:column;flex:1;min-height:0;display:flex}.drawer:has(>.coach-sheet){flex-direction:column;display:flex;overflow:hidden}@media (width<=767px){.drawer:has(>.coach-sheet){height:92vh}}.coach-sheet .chat.in-panel .composer{margin:0 -20px -24px;padding:10px 20px 14px}.coach-sheet .pl{flex:1}.quick-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;margin-top:16px;display:grid}.quick-tile{min-height:72px;font:inherit;color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-panel);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:10px;display:flex}.quick-tile:hover{border-color:var(--accent)}.more{gap:16px;max-width:640px;margin:0 auto;display:grid}.more-glance{gap:10px;display:grid}.more-tile{color:inherit;gap:2px;min-height:64px;padding:12px 14px;text-decoration:none;display:grid}.more-tile .small svg{vertical-align:-2px}.more-grid{grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:0;list-style:none;display:grid}.more-grid>li{display:flex}.more-page{min-height:104px;color:inherit;flex:1;align-content:start;gap:4px;padding:14px;text-decoration:none;display:grid}.more-page .more-icon{color:var(--accent)}@media (width<=767px){.bottomnav{padding-bottom:env(safe-area-inset-bottom)}.day-phone{flex-direction:column;display:flex}.day-phone>*{min-width:0;max-width:100%}.day-phone>.day-side{order:-1}.ask-coach .chip{min-height:44px}}.queue-badge{border:1px solid var(--warn,#d9a43a);min-height:36px;color:var(--warn,#d9a43a);background:color-mix(in srgb, var(--warn,#d9a43a) 10%, transparent);font:inherit;cursor:pointer;white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:0 10px;font-size:13px;display:inline-flex}@media (width<=767px){.queue-badge{min-height:44px}}.phone-app-state{gap:4px;margin:8px 0;padding:0;list-style:none;display:grid}.phone-app-steps{gap:6px;padding-left:20px;display:grid}.phone-app-steps code,.phone-app-card code{word-break:break-all}.meal-empty{justify-content:center}a.chip{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.ask-coach .chip{text-align:center}@media (width<=767px){.an-section{text-align:center;flex-direction:column;gap:4px;min-height:60px;padding:8px 4px}.an-section>span{align-items:center}.an-section b,.an-section strong{font-size:14px}.ask-coach{scrollbar-width:none;flex-wrap:nowrap;margin-inline:-4px;padding:2px 4px;overflow-x:auto}.ask-coach .chip{white-space:nowrap;flex:none}}.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0}.quick-tile{text-align:center;min-height:76px;padding:8px 4px;font-size:13px;font-weight:550;line-height:1.2}.quick-repeat{margin-top:12px}.quick-h{margin:18px 0 4px;font-size:15px}.quick-hint{margin:0 0 8px}.acts-phone{gap:14px;display:grid}.acts-summary{gap:12px;padding:14px;display:grid}.acts-summary-kpis{text-align:center;grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.acts-summary-kpis>span{gap:2px;display:grid}.acts-summary-kpis b{font-size:20px}.acts-bars{border-bottom:1px solid var(--border);align-items:flex-end;gap:4px;height:56px;padding:0 2px;display:flex}.acts-bar{background:var(--accent);opacity:.85;border-radius:3px 3px 0 0;flex:1}.acts-bar:last-child{opacity:1}.acts-legend{flex-wrap:wrap;align-items:center;gap:6px;margin:0;display:flex}.acts-dot{border-radius:3px;width:10px;height:10px;margin-left:4px;display:inline-block}.acts-dot.easy,.acts-card.tone-easy{--tone:var(--z2)}.acts-dot.mod,.acts-card.tone-mod{--tone:var(--z3)}.acts-dot.hard,.acts-card.tone-hard{--tone:var(--z4)}.acts-dot.max,.acts-card.tone-max{--tone:var(--z5)}.acts-card.tone-none{--tone:var(--border-strong)}.acts-dot{background:var(--tone)}.acts-week{gap:6px;display:grid}.acts-week-head{justify-content:space-between;align-items:baseline;gap:8px;margin:4px 2px 0;font-size:14px;font-weight:650;display:flex}.acts-cards{gap:6px;margin:0;padding:0;list-style:none;display:grid}.acts-card{border:1px solid var(--border);border-left:4px solid var(--tone);border-radius:var(--r-panel);background:var(--surface);min-height:64px;color:inherit;align-items:center;gap:10px;padding:10px 12px 10px 14px;text-decoration:none;display:flex}.acts-card:hover{border-color:var(--accent);border-left-color:var(--tone)}.acts-card-icon{color:var(--tone);flex:none;display:inline-flex}.acts-card-main{flex:1;min-width:0;display:grid}.acts-card-facts{text-align:right;flex:none;justify-items:end;display:grid}.acts-card-facts b{font-size:16px}.warn-text{color:var(--warn-text)}.insight-mini-list{gap:6px;margin-bottom:10px;display:grid}.insight-mini{border:1px solid var(--border);border-left:4px solid var(--border-strong);border-radius:var(--r-panel);background:var(--surface)}.insight-mini.sev-bad{border-left-color:var(--bad)}.insight-mini.sev-over{border-left-color:var(--warn)}.insight-mini.sev-ok{border-left-color:var(--ok)}.insight-mini>summary{cursor:pointer;align-items:center;gap:8px;min-height:48px;padding:8px 12px;font-weight:550;list-style:none;display:flex}.insight-mini>summary::-webkit-details-marker{display:none}.insight-mini>summary>span{flex:1;min-width:0}.insight-mini[open]>summary{border-bottom:1px solid var(--border)}.insight-mini>.insight{border:0;margin:0}.topbar-tools{display:contents}@media (width<=767px){.topbar{padding:calc(12px + env(safe-area-inset-top)) 16px 8px;gap:8px 6px}.topbar h1{padding-left:2px;font-size:22px;line-height:1.2}.topbar-tools{flex:1 0 100%;order:10;justify-content:center;align-items:center;min-width:0;display:flex}.topbar-tools>*{min-width:0;max-width:100%}.topbar-tools .cal-tools,.topbar-tools .nav-center{flex-wrap:nowrap;justify-content:center;align-items:center;gap:6px;width:100%;display:flex}.nav-center .cal-period{text-align:center;white-space:nowrap;text-overflow:ellipsis;flex:0 auto;order:0;min-width:0;padding:0 4px;font-weight:650;overflow:hidden}.cal-views-phone{margin:0 0 12px}.cal-views-phone .segmented{width:100%}.cal-views-phone .segmented button{flex:1}}.dash-phone{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.dash-phone>*{min-width:0}.dp-card{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.dp-card>*{min-width:0}.dp-card .w-activity{color:inherit;text-decoration:none;display:block}.dp-card .w-activity>*{max-width:100%;margin-top:6px}.dp-head{align-items:center;gap:8px;display:flex}.dp-head h2{margin:0;font-size:16px;font-weight:650}.dp-head .grow{flex:auto}.dp-icon{color:var(--accent);display:inline-flex}.dp-more{min-height:44px;color:var(--accent);align-items:center;gap:2px;padding:0 4px;font-size:14px;font-weight:550;text-decoration:none;display:inline-flex}.dp-sub{margin:-6px 0 0}.dp-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.dp-kpis>span{border-radius:var(--r-control);background:var(--sunken);padding:8px 10px;display:block}.dp-kpis b{font-size:20px;font-weight:700}.dp-bars{grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:6px;display:grid}.dp-bar{justify-items:center;gap:4px;display:grid}.dp-bar>b{color:var(--text-3);font-size:12px;font-weight:600}.dp-bar.now>b{color:var(--accent)}.dp-bar-col{background:var(--sunken);border-radius:6px;width:100%;max-width:30px;height:64px;display:block;position:relative;overflow:hidden}.dp-bar-col u{border:1.5px dashed var(--border-strong);border-bottom:none;border-radius:6px 6px 0 0;text-decoration:none;position:absolute;bottom:0;left:0;right:0}.dp-bar-col i{border-radius:5px 5px 0 0;position:absolute;bottom:0;left:3px;right:3px}.dp-bar-col em{background:var(--bad,#d9534f);border-radius:50%;width:8px;height:8px;margin-left:-4px;position:absolute;bottom:6px;left:50%}.dp-bar-col s{border-top:2px solid var(--text);z-index:1;height:0;text-decoration:none;position:absolute;left:0;right:0}.t-ok{background:var(--ok,#2e9e5b)}.t-warn{background:var(--warn,#d9a43a)}.t-done{background:var(--accent)}.t-food{background:var(--ok)}.t-over{background:var(--over,#d9534f)}.t-part{background:color-mix(in srgb, var(--ok) 30%, transparent)}.dp-legend{flex-wrap:wrap;gap:4px 14px;display:flex}.dp-legend i,.dp-legend u{vertical-align:-1px;border-radius:3px;width:10px;height:10px;margin-right:4px;display:inline-block}.dp-legend u{border:1.5px dashed var(--border-strong)}.dp-links{flex-wrap:wrap;gap:8px;display:flex}.dp-today{gap:12px}.dp-eat{border-radius:var(--r-control);background:var(--sunken);min-height:48px;color:inherit;align-items:center;gap:10px;padding:8px 12px;text-decoration:none;display:flex}.dp-eat>span{flex:1;min-width:0}.dp-eat b{font-size:20px;font-weight:700}.dp-trend{margin:0}.dp-card .w-links{display:none}.crop-box{touch-action:none;-webkit-user-select:none;user-select:none;max-width:520px;margin:22px;position:relative}.crop-box img{pointer-events:none;border-radius:4px;width:100%;height:auto;display:block}.crop-shade{pointer-events:none;background:#00000080;position:absolute;inset:0}.crop-rect{border:2px solid var(--accent);cursor:move;position:absolute;box-shadow:inset 0 0 0 1px #fff9}.crop-handle{width:44px;height:44px;position:absolute}.crop-handle:after{content:"";background:var(--accent);border:2px solid #fff;border-radius:50%;width:20px;height:20px;position:absolute;top:12px;left:12px}.crop-handle.nw{cursor:nwse-resize;top:-22px;left:-22px}.crop-handle.ne{cursor:nesw-resize;top:-22px;right:-22px}.crop-handle.sw{cursor:nesw-resize;bottom:-22px;left:-22px}.crop-handle.se{cursor:nwse-resize;bottom:-22px;right:-22px}.field.suspect input{border-color:var(--warn);background:color-mix(in srgb, var(--warn) 12%, var(--surface))}.field.suspect>span{color:var(--warn);font-weight:600}.label-values li.suspect b{color:var(--warn)}.day-tools{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:4px;display:grid}.day-tools .btn{justify-content:center;min-height:52px}@media (width<=767px){.day-tools{grid-template-columns:1fr}.day-tools .btn{justify-content:flex-start}}.tool-tabs{margin-bottom:12px}.tool-tabs .segmented{width:100%}.tool-tabs .segmented button{flex:1}.day-details{gap:12px;display:grid}.recipes-meals{gap:10px;display:grid}.rm-list>li{gap:4px;display:grid}.rm-title{align-items:center;gap:8px;display:flex}.rm-title svg{color:var(--accent);flex:none}.movement{gap:10px;display:grid}.movement .segmented{width:100%}.movement .segmented button{flex:1;padding-inline:4px}.movement-why{margin:0}.movement-detail{gap:8px;display:grid}.movement-item{grid-template-columns:minmax(0,1fr) 96px 44px;align-items:end;gap:8px;display:grid}.movement-result{border-radius:var(--r-control);background:var(--sunken);align-items:center;gap:8px;padding:8px 10px;display:flex}.movement-result>span{flex:1;min-width:0}.movement-chip{width:100%;min-height:48px;font:inherit;color:inherit;text-align:left;cursor:pointer;align-items:center;gap:10px;display:flex}.movement-chip>span:first-of-type{flex:1}.movement-ask{border-color:color-mix(in srgb, var(--accent) 50%, var(--border));gap:10px;display:grid}.movement-ask-head{grid-template-columns:auto 1fr;align-items:center;gap:2px 8px;display:grid}.movement-ask-head svg{color:var(--accent)}.movement-ask-head .small{grid-column:2}.movement-ask-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}@media (width>=768px){.movement-ask-choices{grid-template-columns:repeat(4,minmax(0,1fr))}}.movement-ask-choices .btn{justify-content:center;padding-inline:4px}.template-why{margin-top:6px}.template-why>summary{cursor:pointer;color:var(--accent);align-items:center;min-height:44px;display:flex}.template-why p{margin:4px 0}.template-refs{gap:2px;margin:4px 0 0;padding-left:18px;display:grid}.lib-filters{flex-wrap:wrap}.garmin-guide{margin-top:10px}.garmin-guide>summary{cursor:pointer;color:var(--accent);align-items:center;min-height:44px;display:flex}.garmin-guide p{margin:6px 0}@media (width<=767px){.lib-cats{scrollbar-width:none;flex-wrap:nowrap;margin-inline:-4px;padding:2px 4px;overflow-x:auto}.lib-cats .chip{white-space:nowrap;flex:none}}.stream-title{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.smooth-ctl{margin-left:auto;font-weight:400}.smooth-ctl .segmented button{min-width:44px;padding-inline:6px;font-size:12px}.how-btn{min-height:36px;font:inherit;color:var(--accent);border-radius:var(--r-control);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0 8px;display:inline-flex}.how-btn:hover{background:var(--sunken)}@media (width<=767px){.how-btn{min-height:44px}}.how-calc{gap:6px;max-width:340px;display:grid}.how-calc .kv{width:100%}.how-notes{gap:2px;margin:4px 0 0;padding-left:16px;display:grid}.dp-today .how-btn{justify-self:start}.wp-why-list{margin:8px 0}.wp-why-list>summary{cursor:pointer;color:var(--accent);align-items:center;min-height:44px;font-weight:600;display:flex}.wp-why-list ul{gap:4px;margin:4px 0 8px;padding-left:18px;display:grid}.wp-equiv{color:var(--text-2)}.rv-print{vertical-align:middle;margin-left:8px}.rv{flex-direction:column;gap:8px;margin:12px 0;display:flex}.rv-head{align-items:center;gap:8px;min-height:36px;display:flex}.rv-head .panel-title{margin:0}.rv-head .grow{flex:1}.rv-icon{color:var(--accent);flex:none}.rv-badges{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.rv-badge{border-radius:var(--r-chip);background:var(--warn-soft);color:var(--warn-text);font-size:var(--fs-small);align-items:center;gap:5px;padding:4px 10px;font-weight:600;display:inline-flex}.rv-headline{font-size:var(--fs-md);margin:2px 0 0;line-height:1.3}.rv-summary{color:var(--text);margin:0;line-height:1.5}.rv-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.rv-list li{align-items:flex-start;gap:8px;line-height:1.45;display:flex}.rv-list li svg{flex:none;margin-top:3px}.rv-list.good li svg{color:var(--ok)}.rv-list.improve li svg{color:var(--warn)}.rv-next{color:var(--text-2);align-items:flex-start;gap:8px;margin:2px 0 0;display:flex}.rv-next svg{flex:none;margin-top:2px}.rv-writing{flex-direction:column;gap:6px;display:flex}.rv-facts>summary{cursor:pointer;color:var(--accent-text);align-items:center;min-height:44px;display:flex}.rv-facts ul{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.rv-fact{color:var(--text-2);align-items:flex-start;gap:6px;display:flex}.rv-fact svg{flex:none;margin-top:3px}.rv-fact.record svg{color:var(--warn)}.rv-fact.positivo svg{color:var(--ok)}.rv-foot{flex-wrap:wrap;align-items:center;gap:4px 12px;display:flex}.rv-foot a,.rv-foot .link-btn{align-items:center;min-height:44px;display:inline-flex}.rv-pre{white-space:pre-wrap;word-break:break-word;font-size:var(--fs-micro);background:var(--sunken);border-radius:var(--r-control);max-height:40vh;margin:4px 0 10px;padding:10px;overflow:auto}.arv-line{flex-direction:column;gap:4px;margin-top:6px;display:flex}.rv-line-text{color:var(--text-2);align-items:center;gap:6px;margin:0;display:flex}.rv-line-text svg{color:var(--accent);flex:none}.ai-tier{flex-direction:column;gap:4px;margin:8px 0;display:flex}.ai-models{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:8px 16px;display:grid}.ai-key{margin-top:8px}.garmin-line{align-items:center;gap:6px;margin:4px 0;display:flex}.garmin-line svg{flex:none}.wp-prefs>summary{cursor:pointer;flex-wrap:wrap;align-items:baseline;gap:10px;min-height:44px;display:flex}.wp-prefs>summary .panel-title{margin:0}.wp-prefs-h{align-items:center;gap:6px;margin:14px 0 6px;display:flex}.wp-prefs-list{flex-direction:column;gap:4px;margin:0 0 6px;padding:0;list-style:none;display:flex}.wp-prefs-list li{align-items:center;gap:8px;display:flex}.wp-prefs-list li>span{flex:1;min-width:0}.wp-fixed-form{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;gap:8px 14px;margin:6px 0;display:grid}.wp-fixed-form .actions{grid-column:1/-1}.wp-fixed-chip,.wp-keep{align-items:center;gap:5px;display:inline-flex}.wp-keep{margin-left:6px}.wp-redo{margin:6px 0 2px}.wp-lock.on,.pref-on.liked{color:var(--accent)}.pref-on.avoid{color:var(--bad)}.blk-grid{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.blk-week{border:1px solid var(--border);border-radius:var(--r-panel);flex-direction:column;gap:6px;min-width:0;padding:12px;display:flex}.blk-week.now{border-color:var(--accent)}.blk-week.deload{background:var(--ok-soft)}.blk-head{align-items:center;gap:8px;display:flex}.blk-head .grow{flex:1}.blk-num{margin:4px 0 0}.blk-target{font-size:var(--fs-lg);font-weight:700}.blk-have,.blk-ctl,.blk-why{margin:0}.blk-ctl{align-items:center;gap:6px;display:flex}.blk-list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.blk-list li{align-items:center;gap:5px;display:flex}@media print{@page{margin:12mm}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body{color:#111!important;background:#fff!important}.sidebar,.bottomnav,.topbar,.no-print,.week-tabs,.coach-side,.toast-viewport,.skip-link,.ask-coach,.rv-next,.plan-prompt,.queue-badge{display:none!important}.app,.app-main-col,.page{max-width:none!important;margin:0!important;padding:0!important;display:block!important}.panel,.rv-kpis>*{break-inside:avoid;box-shadow:none!important;background:#fff!important;border-color:#ccc!important}.review a{color:inherit;text-decoration:none}}.chart-tip{z-index:5;pointer-events:none;background:var(--surface);border:1px solid var(--line);white-space:nowrap;border-radius:8px;padding:6px 9px;font-size:12px;line-height:1.45;position:absolute;box-shadow:0 4px 14px #00000040}.cal-tool{padding-inline:8px}.cal-tool-text{display:none}@media (width>=1600px){.cal-tool-text{display:inline}}.scanner-view{position:relative}.scanner-view video{display:block}.scanner-aim{pointer-events:none;border:2px solid #ffffffd9;border-radius:10px;position:absolute;inset:30% 8%;box-shadow:0 0 0 999px #00000059}.scanner-aim:after{content:"";background:var(--bad,#e5484d);opacity:.8;height:2px;position:absolute;top:50%;left:6%;right:6%}.meal-logger{gap:12px;display:grid}.ml-meals{flex-wrap:wrap;gap:6px;display:flex}.ml-search{align-items:stretch;gap:8px;display:flex}.ml-search input{flex:1;min-width:0;font-size:16px}.ml-target{border-radius:var(--r-control);background:var(--surface-2,var(--hover));flex-direction:column;gap:2px;margin:0;padding:8px 10px;display:flex}.ml-target.level-alto{box-shadow:inset 3px 0 0 var(--carb)}.ml-target.level-medio{box-shadow:inset 3px 0 0 color-mix(in srgb, var(--carb) 55%, transparent)}.ml-target.level-basso{box-shadow:inset 3px 0 0 var(--border-strong)}.ml-results{gap:2px;margin:0;padding:0;list-style:none;display:grid}.ml-row{border-radius:var(--r-control);width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex}.ml-row:hover,.ml-row:focus-visible{background:var(--hover)}.ml-name{flex-wrap:wrap;align-items:baseline;gap:2px 6px;min-width:0;display:flex}.ml-cat{flex-basis:100%}.ml-freq{align-items:center;gap:4px;display:flex}.ml-freq .ml-row{flex:1}.ml-none{padding:8px 10px}.ml-sentence-row{border:1px dashed var(--border-strong)}.ml-yesterday{border:1px solid var(--border);border-radius:var(--r-panel);justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.ml-items{margin:2px 0 0}.ml-suggest{gap:8px;display:grid}.ml-suggest .label-caps{margin:6px 0 0}.ml-picked{gap:4px;display:grid}.ml-added{border-top:1px solid var(--border);padding-top:8px}.ml-added ul{gap:2px;margin:4px 0 0;padding:0;list-style:none;display:grid}.ml-added li{align-items:center;gap:8px;display:flex}.ml-actions{justify-content:flex-end}.portion-chips{margin-top:8px}.dish-composition{max-width:68ch;margin:4px 0 0;font-size:12.5px;line-height:1.45}.dish-sizes .chip{font-variant-numeric:tabular-nums}.meal-target{border:1px solid var(--border);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:12px}.meal-target.level-alto{border-color:var(--carb)}.meal-role{color:var(--text-2);text-transform:lowercase;margin-left:6px;font-size:11px}.meal-plan{gap:6px;margin:0;padding:0;list-style:none;display:grid}.meal-plan li{border-left:3px solid var(--border-strong);align-items:baseline;gap:10px;padding-left:8px;display:flex}.meal-plan li.level-alto{border-left-color:var(--carb)}.meal-plan li.level-medio{border-left-color:color-mix(in srgb, var(--carb) 55%, transparent)}.mp-time{width:42px;color:var(--text-2)}.day-inline{flex-direction:column;gap:12px;margin-top:8px;scroll-margin-top:72px;display:flex}.day-inline-title{font-size:var(--fs-lg,17px);margin:8px 0 0;font-weight:650}.day-inline .day-details{flex-direction:column;gap:12px;display:flex}.day-inline .day-details>.panel,.day-inline .day-details>.card{margin:0}.movement-side{margin:0;padding:0;scroll-margin-top:72px}.movement-side-head{width:100%;min-height:48px;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:inherit;background:0 0;border:0;align-items:center;gap:8px;padding:10px 14px;display:flex}.movement-side-head:hover{background:var(--hover,#ffffff08)}.movement-side-head svg:first-child{color:var(--text-3);flex:none}.movement-side-caret{color:var(--text-3);flex:none;transition:transform .15s}.movement-side.open .movement-side-caret{transform:rotate(180deg)}.movement-side .movement{padding:0 14px 14px}.import-files{flex-direction:column;gap:12px;display:flex}.drop-zone{border:1.5px dashed var(--border-strong,var(--border));border-radius:var(--radius);background:var(--surface-2,transparent);min-height:120px;color:var(--text-2);font:inherit;cursor:pointer;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:16px;display:flex}.drop-zone:hover,.drop-zone.over{border-color:var(--accent);color:var(--text)}.drop-zone:disabled{cursor:progress;opacity:.8}.import-list{flex-direction:column;gap:6px;max-height:50vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.import-row{border:1px solid var(--border);border-radius:10px;grid-template-columns:18px minmax(0,1fr) auto;align-items:start;gap:10px;padding:8px 10px;display:grid}.import-row>div{flex-direction:column;gap:2px;min-width:0;display:flex}.import-row b{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.import-row svg{margin-top:2px}.import-row .ok{color:var(--good,#4ade80)}.import-row .warn{color:var(--warn,#f59e0b)}.import-sum{margin:0}.ftp-est{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:8px 28px;display:grid}.ftp-est-ctx .an-sub{margin-top:4px}.ftp-est-ctx .an-stats{margin:0 0 8px}.ftp-est .stat-mini{flex-direction:column;gap:2px;min-width:96px;display:flex}.ftp-est .stat-mini b{font-size:17px}.ftp-est .ftp-est-main b{font-size:21px}.ftp-est-note{background:var(--accent-soft);border-radius:8px;max-width:90ch;margin:0 0 12px;padding:10px 12px;font-size:14px;line-height:1.45}.ftp-est-ctx p{max-width:62ch;margin:6px 0}.ftp-est-apply{background:var(--sunken);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:6px;padding:8px 10px;display:flex}.cmp-ref{min-width:220px}.cmp-delta{color:var(--text-3);font-size:12px;display:block}.cmp-delta.ok,.cmp-delta-col.ok{color:var(--ok-text)}.cmp-delta.bad,.cmp-delta-col.bad{color:var(--bad-text)}.cmp-delta-col{font-weight:600}.cmp-bar{background:var(--track);border-radius:2px;height:4px;margin-top:3px;display:block;overflow:hidden}.cmp-bar>span{height:100%;display:block}.act-similar{align-self:flex-start}.pm-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;margin:4px 0 10px;display:grid}.pm-wd{text-align:center;color:var(--text-3);padding:2px 0;font-size:11px}.pm-day{border-radius:var(--r-control,8px);min-width:0;min-height:44px;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:2px 0;display:flex}.pm-day.out{color:var(--text-3)}.pm-day.today .pm-num{color:var(--accent-text);font-weight:700}.pm-day.on{border-color:var(--accent);background:var(--accent-soft,var(--surface-2))}.pm-num{font-variant-numeric:tabular-nums;font-size:14px}.pm-dots{gap:2px;min-height:6px;display:flex}.pm-dot{background:var(--accent);border-radius:3px;width:6px;height:6px}.pm-dot.done{background:var(--ok)}.pm-dot.skip{background:var(--text-3)}.pm-open{list-style:none}.weight-layout .w-side .card{margin:0}.goal-sum{flex-direction:column;gap:2px;display:flex}.goal-sum p{margin:0}.goal-big{font-size:28px;font-weight:700;line-height:1.15}.goal-big small{color:var(--text-2);font-size:13px;font-weight:500}.goal-week{margin-top:12px}.goal-week p{margin:0 0 6px}.goal-week-bars{grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:4px;display:grid}.goal-day{color:var(--text-2);flex-direction:column;align-items:center;gap:3px;font-size:11px;display:flex}.goal-day i{background:var(--deficit);border-radius:4px 4px 0 0;width:100%;max-width:26px;display:block}.goal-day i.rec{background:color-mix(in srgb, var(--deficit) 40%, transparent);margin-bottom:-3px}.goal-day.has-rec i:not(.rec){border-radius:0}.goal-day b{color:var(--text-3);font-weight:600}.goal-day.now b{color:var(--accent-text)}.goal-proposal,.wgoal-form{margin-top:12px}.meal-times p{margin:0 0 8px}.meal-times-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.meal-times-list li{grid-template-columns:minmax(70px,90px) 132px minmax(0,1fr);align-items:center;gap:4px 10px;display:grid}.meal-times-list li .link-btn{grid-column:2/-1;justify-self:start}.meal-times-list input[type=time]{min-height:36px}.fill-choice{margin-top:8px}.fill-choice p{margin:4px 0 0}@media (width<=359px){.meal-times-list li{grid-template-columns:minmax(70px,1fr) 132px}.meal-times-list li>span{grid-column:1/-1}}.thresholds li{gap:2px;padding:8px 0;display:grid}.thresholds .th-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.thresholds .th-head .field{max-width:150px;margin:0}.drift-panel .drift-text{max-width:70ch;margin:0 0 6px}.drift-legend{flex-wrap:wrap;gap:14px;margin:4px 0 10px;padding:0;list-style:none;display:flex}.drift-legend li{align-items:center;gap:6px;display:inline-flex}.drift-legend i{border-radius:50%;width:10px;height:10px;display:inline-block}.drift-legend i.ring{background:var(--surface);box-sizing:border-box;border:2.5px solid #3d4ccb}.drift-thirds summary{cursor:pointer;color:var(--accent-text);margin:8px 0;font-weight:600}.act-more>.drift-panel{grid-column:1/-1}@container page (width>=1000px){.weight-layout .w-proj{grid-row:1/span 3}}.weight-layout .w-proj>*{margin:0}.weight-layout details.w-list>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.look-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:6px 0;display:flex}.look-label{flex-direction:column;font-weight:500;display:flex}.look-hint{font-weight:400;font-size:var(--fs-sm);color:var(--text-2)}.look-choices{flex-wrap:wrap;gap:6px;display:flex}.look-choice{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:8px;padding:0 14px;display:inline-flex}.look-choice.on{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 10%, var(--surface));color:var(--accent-text);font-weight:600}.look-choice:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.look-choice .flag{border-radius:2px;flex:none;box-shadow:0 0 0 1px #0000001f}.ftp-est-note.short{padding:8px 12px}.ftp-est-top{grid-template-columns:1.3fr 1fr 1fr;align-items:end;gap:8px;display:grid}.ftp-est-phone .ftp-est-main b{font-size:26px}.ftp-est-more>summary{cursor:pointer;min-height:44px;color:var(--accent-text);align-items:center;font-weight:600;display:flex}.topbar-actions{display:contents}.topbar-logo{display:none}@media (width<=767px){.topbar{grid-template-columns:minmax(44px,1fr) auto minmax(44px,1fr);grid-template-areas:"logo title actions""tools tools tools";align-items:center;display:grid}.topbar>.grow{display:none}.topbar-logo{border-radius:12px;grid-area:logo;justify-content:center;justify-self:start;align-items:center;width:44px;height:44px;margin-left:-6px;display:inline-flex}.topbar-logo:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.topbar h1{text-align:center;white-space:nowrap;text-overflow:ellipsis;grid-area:title;max-width:56vw;padding:0;font-size:18px;font-weight:700;overflow:hidden}.topbar-actions{grid-area:actions;justify-self:end;align-items:center;gap:2px;margin-right:-6px;display:flex}.topbar-tools{grid-area:tools}}.rep-bars{width:100%;max-width:760px;height:auto;margin:2px 0 var(--sp-3);display:block}.rep-sets{border-top:1px solid var(--line);flex-direction:column;display:flex}.rep-set{border-bottom:1px solid var(--line)}.rep-set-head{width:100%;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:8px 4px;display:flex}.rep-set-head:hover{background:var(--hover)}.rep-set-head:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.rep-set-title{flex:220px}.rep-set-meta{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.rep-set .dtable{margin-bottom:var(--sp-2)}.rep-target{font-size:var(--fs-sm);white-space:nowrap}.rep-target.dentro{color:var(--ok-text)}.rep-target.sopra{color:var(--warn-text)}.rep-target.sotto{color:var(--text-2)}@media (width<=767px){.rep-set .rep-wide{display:none}.rep-set-head{padding:8px 0}}.laps-head{width:100%;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0;display:flex}.laps-title{margin:0}.laps-count{font-weight:400}.laps-head:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.laps-why{margin:4px 0 8px}.fill-note{border-left:3px solid var(--accent);background:var(--accent-soft);color:var(--text);border-radius:0 var(--r-chip) var(--r-chip) 0;margin:6px 0 0;padding:6px 10px}.auth-page{justify-content:center;align-items:center;gap:var(--sp-3);min-height:100dvh;padding:var(--sp-5) var(--sp-3);background:var(--bg);flex-direction:column;display:flex}.auth-card{background:var(--card);border:1px solid var(--border);border-radius:var(--r-panel);width:min(420px,100%);box-shadow:var(--shadow-1);padding:var(--sp-5)}.auth-card h1{font-size:var(--fs-xl);margin:var(--sp-3) 0 var(--sp-3)}.auth-card .btn{justify-content:center;width:100%}.auth-brand{color:var(--text);align-items:center;gap:10px;font-size:17px;font-weight:700;display:flex}.auth-foot a{color:var(--text-2)}.pw-field{align-items:center;gap:8px;display:flex}.pw-field input{flex:1;min-width:0}.legal-page{max-width:720px;padding:var(--sp-5) var(--sp-3);margin:0 auto;line-height:1.6}.legal-page h1{margin:var(--sp-4) 0 var(--sp-1)}.legal-page h2{font-size:var(--fs-lg);margin:var(--sp-4) 0 var(--sp-2)}.account-facts{margin:0 0 var(--sp-2);grid-template-columns:max-content 1fr;gap:4px 16px;display:grid}.account-facts dt{color:var(--text-2)}.account-facts dd{overflow-wrap:anywhere;margin:0}.account-devices li{align-items:center;gap:10px;display:flex}.account-devices li>span{flex:1}.admin-page{gap:var(--sp-3);flex-direction:column;display:flex}.admin-kpis{gap:var(--sp-3);grid-template-columns:repeat(auto-fit,minmax(160px,1fr));display:grid}.admin-invite-form{align-items:flex-end;gap:var(--sp-2);margin-bottom:var(--sp-3);flex-wrap:wrap;display:flex}.admin-invite-form .field{flex:240px}.one-time-link{margin:var(--sp-2) 0;gap:8px;display:flex}.one-time-link input{min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:var(--fs-sm);flex:1}.admin-log{font-size:var(--fs-sm);flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}@media (width<=720px){.admin-page .wide-only{display:none}.admin-page .dtable th,.admin-page .dtable td{white-space:normal}.admin-page .dtable td:first-child{overflow-wrap:break-word;min-width:6em}}.tour{z-index:200;position:fixed;inset:0}.tour-catch{position:absolute;inset:0}.tour-catch.dim{background:#0a0c188c}.tour-hole{box-shadow:0 0 0 2px var(--accent), 0 0 0 9999px #0a0c188c;pointer-events:none;border-radius:12px;transition:top .25s,left .25s,width .25s,height .25s;position:fixed}.tour-bubble{background:var(--card);color:var(--text);border:1px solid var(--border);border-radius:14px;padding:14px 16px 12px;transition:top .25s,left .25s;position:fixed;box-shadow:0 12px 40px #00000047}.tour-bubble h2{margin:2px 0 6px;font-size:17px}.tour-bubble p{margin:0 0 10px;line-height:1.5}.tour-head{align-items:center;min-height:24px;display:flex}.tour-head .grow{flex:1}.tour-count{font-size:var(--fs-sm);color:var(--text-2);font-variant-numeric:tabular-nums}.tour-x{color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:6px;margin:-4px -6px 0 0;padding:4px}.tour-x:hover{background:var(--bg)}.tour-actions{align-items:center;gap:8px;margin-top:6px;display:flex}.tour-actions .btn{align-items:center;gap:4px;display:inline-flex}.tour-dots{justify-content:center;gap:5px;margin-top:10px;display:flex}.tour-dots i{background:var(--border);border-radius:50%;width:6px;height:6px}.tour-dots i.done{background:var(--accent-soft)}.tour-dots i.on{background:var(--accent)}.install-how{margin:0 0 8px}.install-how svg{vertical-align:-2px}@media (prefers-reduced-motion:reduce){.tour-hole,.tour-bubble{transition:none}}.tour-offer{background:var(--accent-soft);border-radius:var(--r-panel);margin-bottom:var(--sp-3);align-items:center;gap:14px;padding:14px 44px 14px 16px;display:flex;position:relative}.tour-offer-icon{background:var(--card);width:38px;height:38px;color:var(--accent);border-radius:50%;flex:none;place-items:center;display:grid}.tour-offer-text{flex:1;min-width:0}.tour-offer-text h2{margin:0 0 2px;font-size:16px}.tour-offer-text p{margin:0}.tour-offer-actions{flex:none;gap:8px;display:flex}.tour-offer-x{color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px;position:absolute;top:8px;right:8px}@media (width<=767px){.tour-offer{flex-wrap:wrap;margin:0 0 12px}.tour-offer-text{flex-basis:calc(100% - 52px)}.tour-offer-actions{width:100%}.tour-offer-actions .btn{flex:1;justify-content:center}}.guide{gap:var(--sp-3);flex-direction:column;display:flex}.guide h2{font-size:var(--fs-xl);margin:0 0 4px}.guide h3{font-size:var(--fs-lg);color:var(--text);margin:0 0 4px}.guide-chapter p{margin:0 0 10px;line-height:1.55}.guide-chapter .btn{align-items:center;gap:6px;display:inline-flex}.m-card{background:var(--surface);color:var(--text);border-radius:16px;min-width:0;padding:14px;text-decoration:none;display:block}a.m-card:hover{color:var(--text)}.m-cap{letter-spacing:.04em;text-transform:uppercase;color:var(--text-3);margin:0;font-size:11px;font-weight:600}.m-sub{color:var(--text-2);margin:0;font-size:11px;line-height:1.3}.m-sec-head{justify-content:space-between;align-items:baseline;padding:0 4px 8px;display:flex}.m-sec-head h2,.m-glance h2{margin:0;font-size:15px;font-weight:600}.m-sec-head>span{color:var(--text-3);font-size:12px}.mt-ok{color:var(--ok-text)}.mt-warn{color:var(--warn-text)}.mt-bad{color:var(--bad-text)}.mt-accent{color:var(--accent-text)}.mt-deficit{color:var(--deficit)}.mt-verde{color:var(--ok-text)}.mt-giallo{color:var(--warn-text)}.mt-rosso{color:var(--bad-text)}.m-cta{background:var(--accent);width:100%;min-height:44px;color:var(--accent-fg);font:inherit;cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;font-size:14px;font-weight:600;text-decoration:none;display:flex}a.m-cta:hover{color:var(--accent-fg)}.m-cta.ghost{background:var(--surface);color:var(--text);border:1px solid var(--border-strong)}.m-tabs{background:var(--hover);border-radius:12px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:0;padding:3px;display:grid}.m-tabs button{min-height:38px;font:inherit;color:var(--text-2);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:10px;min-width:0;padding:0 4px;font-size:14px;overflow:hidden}.m-tabs button[aria-selected=true]{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 2px #10182814}.m-tabs.small button{font-size:13px}.m-pills{scrollbar-width:none;gap:8px;padding:0 0 2px;display:flex;overflow-x:auto}.m-pills::-webkit-scrollbar{display:none}.m-pills>*{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;border-radius:18px;flex:none;align-items:center;padding:0 14px;font-size:13px;text-decoration:none;display:inline-flex}.m-pills>[aria-pressed=true],.m-pills>[aria-current=page],.m-pills>[aria-selected=true]{background:var(--text);border-color:var(--text);color:var(--bg);font-weight:600}.m-kv{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;margin:0;display:grid}.m-kv>div{border-bottom:1px solid var(--grid);justify-content:space-between;gap:8px;min-width:0;padding:7px 0;font-size:13px;display:flex}.m-kv dt{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.m-kv dd{white-space:nowrap;margin:0;font-weight:600}.m-group-title{letter-spacing:.05em;text-transform:uppercase;color:var(--text-3);margin:12px 0 2px;font-size:11px;font-weight:600}.m-group-title:first-child{margin-top:4px}.m-oggi{flex-direction:column;gap:12px;margin:-4px -2px 0;display:flex}.m-date{color:var(--text-2);margin:-4px 4px 0;font-size:13px}.m-date:first-letter{text-transform:uppercase}.m-top3{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.m-tile{background:var(--surface);color:var(--text);min-width:0;font:inherit;text-align:left;cursor:pointer;border:0;border-radius:16px;flex-direction:column;gap:4px;padding:12px;text-decoration:none;display:flex}a.m-tile:hover{color:var(--text)}.m-tile-light{justify-content:center}.m-big{white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:20px;font-weight:700;line-height:1.2;overflow:hidden}.m-big small{color:var(--text-3);font-size:12px;font-weight:500}.m-light-name{margin-top:2px;font-size:15px;font-weight:700}.m-lights{gap:6px;margin-top:4px;display:flex}.m-lights i{box-sizing:border-box;border:2px solid;border-radius:7px;width:14px;height:14px}.m-lights i.bad{border-color:color-mix(in srgb, var(--bad) 40%, transparent)}.m-lights i.warn{border-color:color-mix(in srgb, var(--warn) 45%, transparent)}.m-lights i.ok{border-color:color-mix(in srgb, var(--ok) 40%, transparent)}.m-lights i.on{border:0}.m-lights i.on.ok{background:var(--ok);box-shadow:0 0 0 3px var(--ok-soft)}.m-lights i.on.warn{background:var(--warn);box-shadow:0 0 0 3px var(--warn-soft)}.m-lights i.on.bad{background:var(--bad);box-shadow:0 0 0 3px var(--bad-soft)}.m-bar{background:var(--accent-soft);border-radius:3px;height:6px;margin-top:auto;display:block;overflow:hidden}.m-bar i{background:var(--accent);border-radius:3px;height:100%;display:block}.m-bar i.over{background:var(--over)}.m-tile .m-sub{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.m-profile{min-width:0;margin-top:auto;display:block}.m-profile .workout-bars{margin:0}.m-now{flex-direction:column;gap:10px;display:flex}.m-now-row{align-items:flex-start;gap:10px;display:flex}.m-now-icon{background:var(--accent-soft);border-radius:18px;flex:none;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.m-now-icon.mt-warn{background:var(--warn-soft)}.m-now-icon.mt-ok{background:var(--ok-soft)}.m-now-text{min-width:0}.m-now-text .m-cap.mt-warn{color:var(--warn-text)}.m-now-text .m-cap.mt-ok{color:var(--ok-text)}.m-now-text .m-cap.mt-accent{color:var(--accent-text)}.m-now-title{margin:2px 0 0;font-size:15px;font-weight:600}.m-now-sub{color:var(--text-2);margin:2px 0 0;font-size:13px}.m-track{scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;contain:paint;gap:10px;scroll-padding:0;display:flex;overflow-x:auto}.m-track::-webkit-scrollbar{display:none}.m-slide{scroll-snap-align:start;box-sizing:border-box;flex-direction:column;flex:none;gap:8px;width:calc(100% - 104px);min-width:200px;height:168px;padding:12px;display:flex;overflow:hidden}.m-slide-head{color:var(--text-2);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:0 8px;font-size:12px;display:flex}.m-slide-head>b{color:var(--text);font-size:14px;font-weight:600}.m-slide-head .num b{color:var(--text)}.m-slide-foot{color:var(--text-2);flex-wrap:wrap;gap:2px 12px;margin-top:auto;font-size:12px;display:flex}.m-slide-foot i{vertical-align:middle;width:12px;height:2px;margin-right:5px;display:inline-block}.m-slide-foot b{color:var(--text)}.m-slide-foot .grow-r{margin-left:auto}.k-ctl{background:var(--fit)}.k-atl{background:var(--fat)}.m-spark{width:100%;height:52px;display:block}.m-spark polyline{fill:none;vector-effect:non-scaling-stroke;stroke-linejoin:round}.m-spark .s-ctl{stroke:var(--fit);stroke-width:2px}.m-spark .s-atl{stroke:var(--fat);stroke-width:1.5px;opacity:.8}.m-spark .s-avg{stroke:var(--text);stroke-width:2px}.m-spark .s-dot{fill:var(--border-strong)}.m-week{grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:6px;height:78px;display:grid}.m-wbar{flex-direction:column;justify-content:flex-end;align-items:stretch;gap:4px;height:100%;display:flex}.m-wbar i{box-sizing:border-box;border-radius:4px;min-height:4px;display:block}.m-wbar b{color:var(--text-3);text-align:center;font-size:11px;font-weight:400}.m-wbar.now b{color:var(--accent-text);font-weight:700}.m-wbar.ok i{background:var(--ok)}.m-wbar.warn i{background:var(--warn)}.m-wbar.miss i{background:var(--bad-soft);border:1.5px solid var(--bad)}.m-wbar.plan i{border:1.5px dashed var(--border-strong)}.m-wbar.now.plan i{border-color:var(--accent)}.m-wbar.none i{background:var(--grid)}.m-dots{justify-content:center;padding-top:2px;display:flex}.m-dots button{cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;width:24px;height:24px;padding:0;display:flex}.m-dots i{background:var(--border-strong);border-radius:3px;width:6px;height:6px;transition:width .2s}.m-dots button[aria-pressed=true] i{background:var(--accent);width:16px}.m-notice .insight-list,.m-notice .insight-card{margin:0}.m-notice .insight-card{background:0 0;border:0;padding:0;font-size:13px}.m-notice .insight-list{flex-direction:column;flex:1;gap:6px;min-height:0;display:flex}.m-notice .insight{box-shadow:none;background:0 0;border:0;gap:8px;min-height:0;padding:0}.m-notice .insight h3{margin:0 0 2px;font-size:14px;line-height:1.3}.m-notice .insight p{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12.5px;line-height:1.4;display:-webkit-box;overflow:hidden}.m-notice .insight-actions{display:none}.m-notice .insight .icon-btn{border:0;width:32px;min-width:32px;height:32px;min-height:32px}.m-notice .insight-more{margin-top:auto}.m-ride{color:inherit;text-decoration:none}.m-ride .m-slide-head b{min-width:0}.m-ride-nums{color:var(--text-2);gap:12px;font-size:13px;display:flex}.m-ride .arv-line{margin-top:0}.m-ride .rv-line-text{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:13px;display:-webkit-box;overflow:hidden}.m-glance h2{margin:2px 4px 8px}.m-glance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.m-mini{background:var(--surface);color:var(--text);border-radius:14px;flex-direction:column;gap:2px;min-width:0;padding:10px 12px;text-decoration:none;display:flex}a.m-mini:hover{color:var(--text)}.m-mini>span{color:var(--text-2);font-size:12px}.m-mini>b{white-space:nowrap;text-overflow:ellipsis;font-size:18px;font-weight:700;overflow:hidden}.m-mini small{color:var(--text-2);font-size:12px;font-weight:500}.m-mini em{font-size:12px;font-style:normal;font-weight:600}.m-sheet-link{justify-content:center;width:100%;margin-top:12px}.m-profile{overflow:hidden}.m-profile .workout-bars.compact svg{margin-top:0}.m-notice .insight-card .actions,.m-notice .insight-card [aria-haspopup],.m-notice .insight-more{display:none}.m-notice .insight-list{-webkit-line-clamp:6;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.m-oggi .plan-prompt{background:var(--accent-soft);border:0;border-radius:16px;align-items:center;gap:8px;margin:0;padding:8px 8px 8px 14px;display:flex}.m-oggi .plan-prompt-icon,.m-oggi .plan-prompt-text .small{display:none}.m-oggi .plan-prompt-text{flex:1;min-width:0}.m-oggi .plan-prompt-text b{font-size:14px;font-weight:600}.m-oggi .plan-prompt-act{flex:none;align-items:center;gap:2px;margin:0;display:flex}.m-day{flex-direction:column;gap:12px;margin:-4px -2px 0;display:flex}.m-day-layout{display:block}.m-daysum{flex-direction:column;gap:12px;display:flex}.m-daysum-top{align-items:flex-end;gap:10px;display:flex}.m-daysum-top>div:first-child{flex:1;min-width:0}.m-daysum-cap{color:var(--text-2);margin:0;font-size:12px}.m-daysum-big{margin:0;font-size:30px;font-weight:700;line-height:1.1}.m-daysum-big small{color:var(--text-2);font-size:14px;font-weight:500}.m-daysum-side{color:var(--text-2);text-align:right;margin:0;font-size:12px}.m-daysum-bar{border-radius:4px;height:8px;margin-top:0}.m-macros{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.m-macros>div{flex-direction:column;gap:4px;min-width:0;display:flex}.m-macros span:first-child{color:var(--text-2);font-size:12px}.m-macros b{white-space:nowrap;font-size:14px;font-weight:600}.m-macros b small{color:var(--text-2);font-size:14px;font-weight:400}.m-macro-bar{background:var(--grid);border-radius:3px;height:5px;display:block;overflow:hidden}.m-macro-bar i{height:100%;display:block}.m-macro-bar.k-carb i{background:var(--carb)}.m-macro-bar.k-prot i{background:var(--prot)}.m-macro-bar.k-fatm i{background:var(--fatm)}.m-macro-bar.k-carb{background:color-mix(in srgb, var(--carb) 18%, transparent)}.m-macro-bar.k-prot{background:color-mix(in srgb, var(--prot) 16%, transparent)}.m-macro-bar.k-fatm{background:color-mix(in srgb, var(--fatm) 16%, transparent)}.m-pane{flex-direction:column;gap:12px;min-width:0;display:flex}.m-meals{padding:0;overflow:hidden}.m-meal+.m-meal{border-top:1px solid var(--grid)}.m-meal-head{width:100%;min-height:52px;font:inherit;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(0,1fr) 48px 76px 22px;align-items:center;gap:6px;padding:12px 14px;display:grid}.m-meal-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;font-weight:600;overflow:hidden}.m-meal-time{color:var(--text-3);font-size:12px}.m-meal-kcal{text-align:right;white-space:nowrap;font-size:14px;font-weight:600}.m-meal-kcal.todo{color:var(--text-3);font-size:13px;font-weight:400}.m-meal-head svg{color:var(--text-3);justify-self:end}.m-meal.open .m-meal-caret{transform:rotate(180deg)}.m-meal-line{color:var(--text-2);flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:6px;font-size:12px;display:flex}.m-role{background:var(--warn-soft);color:var(--warn-text);border-radius:10px;padding:3px 8px;font-size:11px;font-weight:600}.m-role.dopo{background:var(--ok-soft);color:var(--ok-text)}.m-meal-body{padding:0 14px 10px}.m-meal-body .entry-list{margin:0}.m-meal-body .entry-row{font-size:14px}.m-meal-macros{color:var(--text-3);margin:6px 0 0;font-size:12px}.m-meal-act{flex-wrap:wrap;gap:4px 16px;display:flex}.m-link{min-height:40px;font:inherit;color:var(--accent-text);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.m-day-tools{flex-wrap:wrap;gap:8px;display:flex}.m-day-tools .btn{flex:140px}.m-list{padding:4px 14px}.m-ba{grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:10px 0;display:grid}.m-ba+.m-ba{border-top:1px solid var(--grid)}.m-ba b{font-size:14px;font-weight:600}.m-ba>span:nth-child(2){text-align:right;font-size:13px;font-weight:600}.m-ba .m-sub{grid-column:1/-1;font-size:12px}.m-pane>.panel,.m-pane>section.meal-group,.m-pane>.notice-row,.m-pane .day-details>.panel{background:var(--surface);box-shadow:none;border:0;border-radius:16px;margin:0}.m-pane>.notice-row{padding:12px 14px}.m-pane .day-details{flex-direction:column;gap:12px;display:flex}.m-train{flex-direction:column;gap:6px;display:flex}.m-train-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.m-train-title{min-width:0;margin:0;font-size:15px;font-weight:600}.m-train-meta{font-size:13px}.m-chip{background:var(--hover);color:var(--text-2);white-space:nowrap;border-radius:10px;flex:none;padding:3px 8px;font-size:11px;font-weight:600}.m-chip.accent{background:var(--accent-soft);color:var(--accent-text)}.m-chip.ok{background:var(--ok-soft);color:var(--ok-text)}.m-chip.warn{background:var(--warn-soft);color:var(--warn-text)}.m-train-profile{margin-top:4px;overflow:hidden}.m-train-profile .workout-bars.compact svg{margin-top:0}.m-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:6px;display:grid}.m-two .m-cta{min-height:40px;font-size:13px}.m-pane>.ask-coach,.m-pane>[role=group]{margin:0}.m-pane .garmin-line{margin:2px 0 0}.m-pane>.card{box-shadow:none;border:0;border-radius:16px;margin:0}.m-pane .ride-food h2{font-size:15px}.m-pane .ride-head b{font-size:14px}.m-pane .ride-plan,.m-pane .ride-head .small{font-size:13px}.m-pane .movement-side-head{font-size:14px}.m-pane>p.dim.small{margin:0 4px;font-size:12px}.m-qmeal{background:var(--accent);width:100%;color:var(--accent-fg);font:inherit;text-align:left;cursor:pointer;border:0;border-radius:16px;align-items:center;gap:12px;padding:14px;display:flex}.m-qmeal-icon{background:#ffffff29;border-radius:12px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.m-qmeal-text{flex-direction:column;flex:1;min-width:0;display:flex}.m-qmeal-text b{font-size:15px}.m-qmeal-text span{opacity:.85;font-size:12px}.m-qtext{margin-top:10px}.m-qgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.m-qtile{border:1px solid var(--grid);background:var(--surface);min-height:84px;font:inherit;text-align:left;color:var(--text);cursor:pointer;border-radius:14px;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;padding:12px;display:flex}.m-qtile b{margin-top:6px;font-size:13px}.m-qtile>span:last-child{color:var(--text-2);font-size:11px}.m-qtile-icon{background:var(--hover);width:32px;height:32px;color:var(--text-2);border-radius:9px;justify-content:center;align-items:center;display:flex}.m-qtile.tone-warn .m-qtile-icon{background:var(--warn-soft);color:var(--warn-text)}.m-qtile.tone-deficit .m-qtile-icon{background:color-mix(in srgb, var(--deficit) 14%, transparent);color:var(--deficit)}.m-qtile.tone-form .m-qtile-icon{background:color-mix(in srgb, var(--form) 14%, transparent);color:var(--form)}.m-qtile.tone-fat .m-qtile-icon{background:color-mix(in srgb, var(--fat) 14%, transparent);color:var(--fat)}.m-qtile.tone-accent .m-qtile-icon{background:var(--accent-soft);color:var(--accent-text)}.m-qrepeat{background:var(--sunken);border-radius:14px;margin-top:10px;padding:10px 12px 4px}.m-qrow{border:0;border-bottom:1px solid var(--grid);width:100%;min-height:48px;font:inherit;text-align:left;color:var(--text);cursor:pointer;background:0 0;align-items:center;gap:10px;padding:8px 0;display:flex}.m-qrow svg{color:var(--accent);flex:none}.m-qrow>span{flex-direction:column;flex:1;min-width:0;display:flex}.m-qrow b{font-size:13px}.m-qrow>span>span{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.m-qrow em{color:var(--accent-text);font-size:13px;font-style:normal;font-weight:600}.m-qrecent{margin:8px 0 6px}.m-act{flex-direction:column;gap:12px;margin:-8px -2px 0;display:flex}.m-act>.m-link{align-self:flex-start;min-height:36px}.m-act-sub{color:var(--text-2);margin:-8px 4px 0;font-size:13px}.m-actnums{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.m-actnum{background:var(--surface);border-radius:14px;min-width:0;padding:12px}.m-actnum span{color:var(--text-2);font-size:12px;display:block}.m-actnum b{white-space:nowrap;margin-top:2px;font-size:26px;font-weight:700;line-height:1.15;display:block}.m-actnum small{color:var(--text-2);font-size:14px;font-weight:500}.m-pane>.act-review,.m-pane>article,.m-pane>.act-similar{margin:0}.m-pane>.act-similar{align-self:flex-start}.m-pane .act-more{flex-direction:column;gap:12px;display:flex}.m-pane .act-more>.panel{border:0;border-radius:16px;margin:0}.m-acts{flex-direction:column;gap:4px;display:flex}.m-acts-head{color:var(--text-2);justify-content:space-between;align-items:baseline;gap:8px;margin:12px 4px 6px;font-size:12px;font-weight:400;display:flex}.m-acts-head b{color:var(--text);font-size:13px;font-weight:600}.m-acts-list{margin:0;padding:2px 14px;list-style:none}.m-acts-list li+li{border-top:1px solid var(--grid)}.m-acts-row{color:var(--text);grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:44px;padding:10px 0;text-decoration:none;display:grid}.m-acts-row:hover{color:var(--text)}.m-acts-icon{border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.m-acts-icon.out{background:color-mix(in srgb, var(--form) 14%, transparent);color:var(--form)}.m-acts-icon.in{background:var(--accent-soft);color:var(--accent-text)}.m-acts-main{flex-direction:column;min-width:0;display:flex}.m-acts-main b{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.m-acts-main>span{color:var(--text-2);font-size:12px}.m-acts-tss{text-align:right;border-right:3px solid #0000;flex-direction:column;padding-right:6px;display:flex}.m-acts-tss b{font-size:15px}.m-acts-tss span{color:var(--text-3);font-size:11px}.m-acts-tss.tone-easy{border-right-color:var(--z2,var(--ok))}.m-acts-tss.tone-mod{border-right-color:var(--warn)}.m-acts-tss.tone-hard{border-right-color:var(--over)}.m-acts-tss.tone-max{border-right-color:var(--bad)}@media (width<=767px){.acts-tools{flex-direction:column;align-items:stretch;gap:8px;display:flex}.acts-tools .segmented{border-radius:12px;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;padding:3px;display:grid}.acts-tools .segmented button{border-radius:10px;min-height:36px;font-size:13px}.acts-tools .acts-search{flex:none;width:100%}.acts-tools .acts-search input{border-radius:12px;min-height:44px;font-size:14px}}.m-pane .rv{font-size:14px}.m-pane .rv h3,.m-pane .rv .rv-head b{font-size:15px}.m-tabs button[aria-pressed=true]{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 2px #10182814}.m-an{flex-direction:column;gap:10px;margin:-4px -2px 0;display:flex}.m-an>.m-pills{contain:paint;margin:0 -10px;padding:0 10px 2px}.m-an .insight-mini-list{margin:0}.m-chart{flex-direction:column;gap:10px;padding:14px 14px 12px;display:flex}.m-chead{grid-template-columns:repeat(2,minmax(0,1fr)) 44px;align-items:start;gap:8px;display:grid}.m-chead>div{min-width:0}.m-chead span{color:var(--text-2);font-size:12px;display:block}.m-chead b{white-space:nowrap;text-overflow:ellipsis;font-size:26px;font-weight:700;line-height:1.15;display:block;overflow:hidden}.m-chead small{color:var(--text-2);font-size:12px;font-weight:500}.m-chead em{font-size:12px;font-style:normal;font-weight:600}.m-expand{border:1px solid var(--border);background:var(--surface);width:44px;height:44px;color:var(--text-2);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;padding:0;display:flex}.m-legend{color:var(--text-2);flex-wrap:wrap;align-items:center;gap:4px 14px;font-size:12px;display:flex}.m-legend>span{align-items:center;gap:6px;display:inline-flex}.m-legend i{border-top:2px solid;width:14px;height:0}.m-legend b{color:var(--text)}.m-legend em{color:var(--text);margin-left:auto;font-style:normal;font-weight:600}.m-echart{touch-action:pan-y;margin:0 -4px}.m-hint{color:var(--text-3);margin:0;font-size:12px}.m-trio{border-top:1px solid var(--grid);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:10px;display:grid}.m-trio span{color:var(--text-2);font-size:11px;display:block}.m-trio b{font-size:15px;font-weight:600}.m-curve-table{border-top:1px solid var(--grid);padding-top:4px}.m-curve-table>div:nth-last-child(-n+2){border-bottom:0}.m-meaning p{margin:0;font-size:13px;line-height:1.45}.m-an>.panel,.m-an>div>.panel,.m-an .ftp-est{border:0;border-radius:16px}.m-full{z-index:60;background:var(--surface);padding:calc(8px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left));flex-direction:column;gap:6px;display:flex;position:fixed;inset:0}.m-full-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.m-full-head h2{margin:0;font-size:16px;font-weight:700}.m-full-body{flex-direction:column;flex:1;gap:6px;min-height:0;display:flex}.m-full-body .m-echart-full{flex:1;min-height:0;height:auto!important}@media (width<=767px){.pm{flex-direction:column;gap:12px;display:flex}.pm-grid{background:var(--surface);border-radius:16px;gap:2px;margin:0;padding:8px 8px 10px}.pm-day{border:0;border-radius:12px;min-height:46px}.pm-day.today{background:var(--accent)}.pm-day.today .pm-num{color:var(--accent-fg)}.pm-day.today .pm-dot.todo{border-color:var(--accent-fg)}.pm-day.on:not(.today){background:var(--accent-soft);box-shadow:inset 0 0 0 1.5px var(--accent)}.pm-dot.todo{border:1.5px solid var(--accent);box-sizing:border-box;background:0 0}.pm-dot.skip{background:var(--bad)}.pm-open .dcell{border-radius:16px}.m-cal-legend{color:var(--text-2);flex-wrap:wrap;gap:4px 14px;margin:10px 4px 0;font-size:11px;display:flex}.m-cal-legend span{align-items:center;gap:5px;display:inline-flex}.m-weeklink{justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;font-size:14px;font-weight:600;display:flex}.m-weeklink .num{color:var(--text-2);font-size:13px;font-weight:400}.agenda .wsum{border:0;border-radius:16px;position:static;box-shadow:0 4px 12px #10182814}.agenda-list{gap:8px}.agenda .agenda-day>.dcell{border:0;border-radius:16px}}.m-more{flex-direction:column;gap:12px;margin:-4px -2px 0;display:flex}.m-more-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.m-rows{margin:0;padding:2px 14px;list-style:none}.m-rows li+li{border-top:1px solid var(--grid)}.m-row{min-height:56px;color:var(--text);align-items:center;gap:12px;padding:10px 0;text-decoration:none;display:flex}.m-row:hover{color:var(--text)}.m-row>svg{color:var(--border-strong);flex:none}.m-row-icon{background:var(--accent-soft);width:36px;height:36px;color:var(--accent-text);border-radius:10px;flex:none;justify-content:center;align-items:center;display:flex}.m-row-text{flex-direction:column;flex:1;min-width:0;display:flex}.m-row-text b{font-size:14px;font-weight:600}.m-row-text>span{color:var(--text-2);font-size:12px}.m-foot{text-align:center;color:var(--text-3);margin:0;font-size:12px}.m-weight{flex-direction:column;gap:12px;display:flex!important}.m-weight-bar{justify-content:flex-end;display:flex}.m-weight-add{width:auto;min-height:40px;padding:0 16px;font-size:13px}.m-weight .card{border:0;border-radius:16px;margin:0}.m-weight .card .hero{text-align:left}@media (width<=767px){.settings-top .segmented,.kb-topics.segmented{scrollbar-width:none;padding:0 0 2px;contain:paint;background:0 0;border:0;border-radius:0;flex-wrap:nowrap;gap:8px;margin:0 -10px;padding-inline:10px;display:flex;overflow-x:auto}.settings-top .segmented::-webkit-scrollbar{display:none}.kb-topics.segmented::-webkit-scrollbar{display:none}.settings-top .segmented button,.kb-topics.segmented button{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text);white-space:nowrap;border-radius:18px;flex:none;padding:0 14px;font-size:13px}.settings-top .segmented button[aria-pressed=true],.settings-top .segmented button[aria-checked=true],.kb-topics.segmented button[aria-pressed=true],.kb-topics.segmented button[aria-checked=true]{background:var(--text);border-color:var(--text);color:var(--bg);box-shadow:none;font-weight:600}.settings-search input,.kb-search input{border-radius:12px;min-height:44px;font-size:14px}.kb-head{box-shadow:none;background:0 0;border:0;border-radius:16px;padding:0}.kb-head-text .panel-title{margin:0 0 2px;font-size:15px}.kb-head-text p{margin:0;font-size:12px}.kb-grid{background:var(--surface);border-radius:16px;padding:2px 14px;gap:0!important}.kb-grid>li+li{border-top:1px solid var(--grid)}.kb-grid .kb-item{box-shadow:none;background:0 0;border:0;border-radius:0;padding:12px 0}.settings .card,.settings-page .card{border:0;border-radius:16px}}.m-choose{min-height:24px;margin-left:10px;font-size:12px}.m-choose-list{margin:0;padding:0;list-style:none}.m-choose-list li{border-bottom:1px solid var(--grid);align-items:center;gap:6px;padding:6px 0;display:flex}.m-choose-list label{flex:1;align-items:center;gap:10px;min-height:40px;font-size:15px;display:flex}.m-choose-list input{width:20px;height:20px}.m-qtext textarea{border-radius:14px;min-height:48px;font-size:14px}@media (width<=767px){html,body{overscroll-behavior-y:contain}}.pull-refresh{top:calc(env(safe-area-inset-top,0px) + 8px);z-index:60;background:var(--card);min-height:36px;color:var(--accent-text);box-shadow:var(--shadow-1);border:1px solid var(--border);font-size:var(--fs-sm);opacity:0;pointer-events:none;border-radius:999px;align-items:center;gap:8px;padding:0 14px;font-weight:600;transition:opacity .15s;display:inline-flex;position:fixed;left:50%}.pull-refresh.on{opacity:1}.pull-refresh.busy svg{animation:.9s linear infinite spin}@media (prefers-reduced-motion:reduce){.pull-refresh.busy svg{animation:none}}
