:root{--bg:#f2f2f7;--glow-1:#ffd8bf;--glow-2:#c9eedf;--glow-3:#d9e4ff;--surface:#ffffff9e;--surface-solid:#fff;--surface-border:#fffc;--surface-shadow:0 10px 30px #2832461a, inset 0 1px 0 #ffffffe6;--ink:#000;--ink-2:#3c3c43bf;--ink-3:#3c3c434d;--sep:#3c3c431f;--p:#1da90f;--f:#0093d3;--c:#6d33d7;--k-a:#e31029;--k-b:#e90b83;--k-t:#e3102924;--k-ink:#c7054a;--p-a:#1da90f;--p-b:#8bbb04;--p-t:#1da90f26;--p-ink:#227702;--f-a:#0093d3;--f-b:#15b6a9;--f-t:#0093d324;--f-ink:#0a6e88;--c-a:#5e3cf0;--c-b:#c13de4;--c-t:#5e3cf024;--c-ink:#6d33d7;--ring-shadow:#0000004d;--ring-gloss:0;--on:#1da37a;--ok-bg:#bfe6d0;--ok-ink:#0e6b47;--under-bg:#f8e3a6;--under-ink:#7a5200;--over-bg:#f6c9c2;--over-ink:#a8281c;--accent:#000;--accent-ink:#fff;--r-card:20px;--r-ctl:12px;--blur:24px;--ease:cubic-bezier(.22, 1, .36, 1);--font:-apple-system, "SF Pro Text", "SF Pro Display", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;--safe-top:var(--tg-viewport-safe-area-inset-top,env(safe-area-inset-top,0px));--content-top:var(--tg-viewport-content-safe-area-inset-top,0px);--safe-bottom:var(--tg-viewport-safe-area-inset-bottom,env(safe-area-inset-bottom,0px));--tabbar:68px;--bite:radial-gradient(21.4% 21.4% at 89.1% 10.9%, #0000 calc(100% - 1px), #000)}:root[data-theme=dark]{--bg:#000;--glow-1:#3a2a22;--glow-2:#1e3a30;--glow-3:#1f2a44;--surface:#1c1c1ea8;--surface-solid:#1c1c1e;--surface-border:#ffffff1f;--surface-shadow:0 10px 30px #0006, inset 0 1px 0 #ffffff14;--ink:#fff;--ink-2:#ebebf599;--ink-3:#ebebf54d;--sep:#ffffff1a;--p:#a6ff00;--f:#00fff6;--c:#b98cff;--k-a:#fa2519;--k-b:#ff2990;--k-t:#fa114f3d;--k-ink:#fa114f;--p-a:#98ff00;--p-b:#d8ff00;--p-t:#a6ff0033;--p-ink:#a6ff00;--f-a:#00d0fa;--f-b:#00ffa8;--f-t:#00fff633;--f-ink:#00fff6;--c-a:#7558ff;--c-b:#c86aff;--c-t:#a06eff42;--c-ink:#b98cff;--ring-shadow:#0009;--ok-bg:#22473a;--ok-ink:#86d9b4;--under-bg:#46391c;--under-ink:#f0c66b;--over-bg:#4a2523;--over-ink:#f09389;--accent:#fff;--accent-ink:#000}:root[data-scheme=mono]{--glow-1:#e4e4e9;--glow-2:#ececf0;--glow-3:#e0e0e6;--p:#3a3a3c;--f:#6e6e73;--c:#8e8e93;--k-a:#3a3a3c;--k-b:#000;--k-t:#00000014;--k-ink:#000;--p-a:#636366;--p-b:#3a3a3c;--p-t:#00000012;--p-ink:#3a3a3c;--f-a:#8e8e93;--f-b:#636366;--f-t:#00000012;--f-ink:#545458;--c-a:#aeaeb2;--c-b:#8e8e93;--c-t:#00000012;--c-ink:#6c6c70;--ring-shadow:#00000059;--on:#1c1c1e}:root[data-scheme=glass]{--glow-1:#ffc2a0;--glow-2:#a4ebd1;--glow-3:#bfd0ff;--surface:#fff6;--surface-border:#fffffff2;--surface-shadow:0 12px 32px #28325a24, inset 0 1px 1px #fffffff2, inset 0 -1px 1px #fff6;--p:#097552;--f:#0a6fb5;--c:#6a45e0;--k-a:#ff4f86;--k-b:#ff7fb4;--k-t:#fff9;--k-ink:#cc1659;--p-a:#1fbf86;--p-b:#5fe0b1;--p-t:#fff9;--p-ink:#097552;--f-a:#2a9df0;--f-b:#6cc6ff;--f-t:#fff9;--f-ink:#0a6fb5;--c-a:#8a66ff;--c-b:#b79bff;--c-t:#fff9;--c-ink:#6a45e0;--ring-shadow:#28285a40;--ring-gloss:.65}:root[data-theme=dark][data-scheme=mono]{--glow-1:#1f1f22;--glow-2:#242427;--glow-3:#1c1c20;--p:#e5e5ea;--f:#c7c7cc;--c:#aeaeb2;--k-a:#e5e5ea;--k-b:#fff;--k-t:#ffffff1f;--k-ink:#fff;--p-a:#c7c7cc;--p-b:#e5e5ea;--p-t:#ffffff1a;--p-ink:#e5e5ea;--f-a:#9c9ca1;--f-b:#c7c7cc;--f-t:#ffffff1a;--f-ink:#c7c7cc;--c-a:#7c7c80;--c-b:#9c9ca1;--c-t:#ffffff1a;--c-ink:#aeaeb2;--ring-shadow:#000000b3;--on:#8e8e93}:root[data-theme=dark][data-scheme=glass]{--glow-1:#4a2a3a;--glow-2:#1e4a3c;--glow-3:#26346a;--surface:#2c2c346b;--surface-border:#ffffff38;--surface-shadow:0 12px 32px #00000073, inset 0 1px 1px #ffffff38, inset 0 -1px 1px #ffffff0f;--p:#7febc3;--f:#8fd3ff;--c:#c3adff;--k-a:#ff4d85;--k-b:#ff8dc0;--k-t:#ffffff1a;--k-ink:#ff8fc0;--p-a:#1fc98c;--p-b:#7eefc4;--p-t:#ffffff1a;--p-ink:#7febc3;--f-a:#2e9bff;--f-b:#8dd2ff;--f-t:#ffffff1a;--f-ink:#8fd3ff;--c-a:#8562ff;--c-b:#c7aeff;--c-t:#ffffff1a;--c-ink:#c3adff;--ring-shadow:#0009;--ring-gloss:.35}:root[data-scheme=glass] .macro-bar>i:first-child{box-shadow:inset 0 1px #fff9,inset 0 -1px #00000014}*,:before,:after{box-sizing:border-box}html,body{height:100%;margin:0}body{font-family:var(--font);font-variant-numeric:tabular-nums;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}a{color:inherit;text-decoration:none}button,input{font:inherit;color:inherit}button{cursor:pointer}h1,h2,p{margin:0}.app{min-height:100%}.screen{padding:calc(var(--safe-top) + var(--content-top) + 4px) 20px calc(var(--tabbar) + var(--safe-bottom) + 40px);flex-direction:column;gap:12px;display:flex}.title{margin-bottom:8px}.title h1{letter-spacing:-.02em;font-size:34px;font-weight:700;line-height:1.05}.title p{margin-top:4px;font-size:15px}.muted{color:var(--ink-2)}body:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(70% 50% at 15% 12%, var(--glow-1) 0%, transparent 70%), radial-gradient(60% 45% at 95% 55%, var(--glow-2) 0%, transparent 70%), radial-gradient(50% 40% at 50% 100%, var(--glow-3) 0%, transparent 70%);position:fixed;inset:0}.glass{background:var(--surface);border:1px solid var(--surface-border);box-shadow:var(--surface-shadow)}.tabbar.glass{-webkit-backdrop-filter:blur(var(--blur)) saturate(1.5);backdrop-filter:blur(var(--blur)) saturate(1.5)}.sheet.glass{background:var(--surface-solid);overscroll-behavior:contain}.sheet-backdrop{touch-action:none}:root[data-glass=off] .glass{background:var(--surface-solid);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}.group.flat .row{padding:10px 0;position:relative}.group.flat .row+.row:before{content:"";background:var(--sep);height:1px;position:absolute;top:0;left:68px;right:0}.stat.flat{padding:4px}.bite{-webkit-mask:var(--bite);-webkit-mask:var(--bite);mask:var(--bite)}.bite-mark{background:var(--ink-3);border-radius:50%;flex:none;display:block}.card{border-radius:var(--r-card);padding:18px}.tabbar{left:16px;right:16px;bottom:calc(var(--safe-bottom) + 12px);height:var(--tabbar);border-radius:calc(var(--tabbar) / 2);z-index:10;justify-content:space-around;align-items:center;padding:0 6px;display:flex;position:fixed}.tab{width:56px;height:56px;color:var(--ink-2);transition:color .3s var(--ease);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:10px;font-weight:500;display:flex}.tab.active{color:var(--ink)}.shutter{width:56px;height:56px;color:var(--accent-ink);filter:drop-shadow(0 8px 20px #00000040);transition:transform .4s var(--ease);justify-content:center;align-items:center;display:flex;position:relative}.shutter:before{content:"";z-index:-1;background:var(--accent);-webkit-mask:var(--bite);-webkit-mask:var(--bite);mask:var(--bite);border-radius:50%;position:absolute;inset:0}.shutter:active{transform:scale(.92)}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.reveal{animation:reveal .55s var(--ease) both}@keyframes reveal{0%{opacity:0;transform:translateY(12px)}}.macro-bar>i{animation:bar-in .8s var(--ease) .15s both;transition:transform .8s var(--ease)}@keyframes bar-in{0%{transform:translate(-100%)}}.macro-bar>.macro-bar-lap{animation:.3s ease-out .95s both fade-in}.line-ink{stroke-dasharray:1;animation:line-in 1.1s var(--ease) .15s both}@keyframes line-in{0%{stroke-dashoffset:1px}}.chart-area,.chart-dots{animation:fade-in .6s var(--ease) .5s both}.sheet{will-change:transform;animation:.42s cubic-bezier(.32,.72,0,1) both sheet-in}.sheet.closing{animation:.28s cubic-bezier(.32,.72,0,1) forwards sheet-out}.sheet-backdrop{animation:.25s ease-out both fade-in}.sheet-backdrop.closing{animation:.25s ease-out forwards fade-out}.sheet-handle{touch-action:none;cursor:grab;margin:-8px -20px 0;padding:12px 20px}@keyframes sheet-in{0%{transform:translateY(100%)}}@keyframes sheet-out{to{transform:translateY(100%)}}@keyframes fade-in{0%{opacity:0}}@keyframes fade-out{to{opacity:0}}.between{justify-content:space-between;align-items:flex-end;display:flex}.avatar{background:var(--surface-solid);border:1px solid var(--surface-border);width:36px;height:36px;color:var(--ink);border-radius:18px;justify-content:center;align-items:center;font-size:14px;font-weight:600;display:flex}.h2{letter-spacing:-.01em;margin:12px 0 8px;font-size:20px;font-weight:700}.sr-only{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.rings{flex:none;width:min(140px,36vw);height:min(140px,36vw);display:block}.hero{align-items:center;gap:16px;padding:16px 16px 16px 14px;display:flex}.hero-nums{flex-direction:column;flex:1;gap:7px;min-width:0;display:flex}.hero-nums b{font-family:ui-rounded, var(--font);white-space:nowrap;font-size:16px;font-weight:700;line-height:1.1;display:block}.hero-nums div>span{color:var(--ink-2);margin-top:1px;font-size:11px;display:block}.hero-kcal b{letter-spacing:-.03em;font-size:min(28px,7.4vw);font-weight:700;line-height:1}.hero-kcal small{letter-spacing:-.01em;font-size:min(15px,4vw);font-weight:600}.hero-kcal>span{margin-top:3px;font-size:12px}.ring{flex:none;position:relative}.ring-center{text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.ring-value{letter-spacing:-.03em;font-size:min(32px,8.6vw);font-weight:700;line-height:1}.ring-label{color:var(--ink-2);margin-top:4px;font-size:13px}.bar-head{justify-content:space-between;gap:6px;margin-bottom:6px;font-size:min(13px,3.6vw);display:flex}.bar-head b{font-weight:600}.bar-head span{white-space:nowrap}.hero.classic{gap:14px;padding:18px 18px 18px 14px}.hero.classic .rings{width:min(140px,33vw);height:min(140px,33vw)}.hero.classic .bars{flex-direction:column;flex:1;gap:12px;display:flex}.hero-tablo{flex-direction:column;gap:12px;display:flex}.tablo-kcal b{font-family:ui-rounded, var(--font);letter-spacing:-.035em;white-space:nowrap;font-size:min(48px,12vw);font-weight:700;line-height:.95}.tablo-kcal b small{letter-spacing:-.01em;font-size:min(20px,5.4vw);font-weight:700}.tablo-kcal>span{color:var(--ink-2);margin-top:4px;font-size:13px;display:block}.hero-tablo>.macro-bar{border-radius:5px;height:10px}.tablo-cols{border-top:1px solid var(--sep);grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:12px;display:grid}.tablo-cols span{color:var(--ink-2);font-size:12px;display:block}.tablo-cols b{font-family:ui-rounded, var(--font);white-space:nowrap;margin:2px 0 7px;font-size:18px;font-weight:700;display:block}.tablo-cols b small{color:var(--ink-2);font-size:12px;font-weight:600}.tablo-cols .macro-bar{border-radius:2px;height:4px}.macro-bar{border-radius:3px;height:6px;position:relative;overflow:hidden}.macro-bar>i{border-radius:inherit;position:absolute;inset:0}.macro-bar>.macro-bar-lap{width:calc(var(--lap) * 100%);box-shadow:2px 0 4px var(--ring-shadow);right:auto}.row-seg{padding:0 12px 12px 56px}.cta{justify-content:space-between;align-items:center;gap:12px;display:flex}.cta b{font-size:17px;font-weight:600;display:block}.cta .muted{margin-top:3px;font-size:13px;display:block}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.stat{border-radius:16px;align-items:center;gap:12px;padding:12px 14px;display:flex}.stat b{font-size:17px;font-weight:600;line-height:1.1;display:block}.stat small{color:var(--ink-2);margin-top:2px;font-size:12px;display:block}.group{padding:0;overflow:hidden}.group>*+*{border-top:1px solid var(--sep)}.row{text-align:left;width:100%;color:var(--ink);background:0 0;border:0;align-items:center;gap:12px;padding:10px 12px;display:flex}.row-thumb{background:var(--sep);width:56px;height:56px;color:var(--ink-2);border-radius:12px;flex:none;justify-content:center;align-items:center;display:flex;overflow:hidden}.row-thumb img{object-fit:cover;width:100%;height:100%}.row-body{flex:1;min-width:0}.row-title{font-size:16px;font-weight:600;line-height:1.2;display:block}.row-sub{color:var(--ink-2);margin-top:3px;font-size:13px;display:block}.row-value{white-space:nowrap;font-size:15px;font-weight:600}.row-value small{color:var(--ink-2);font-size:12px;font-weight:400}.row-chevron{color:var(--ink-3);flex:none;display:flex}.btn{cursor:pointer;height:52px;transition:transform .3s var(--ease), opacity .3s var(--ease);border:0;border-radius:14px;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-size:17px;font-weight:600;display:inline-flex;position:relative}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.5}.btn-primary{background:var(--accent);color:var(--accent-ink)}.btn-secondary{background:var(--surface);color:var(--ink);border:1px solid var(--surface-border)}.btn-sm{border-radius:10px;height:36px;padding:0 14px;font-size:15px}.btn-block{width:100%}.seg{background:var(--sep);border-radius:9px;gap:2px;padding:2px;display:flex}.seg-opt{white-space:nowrap;height:30px;color:var(--ink);background:0 0;border:0;border-radius:7px;flex:1;padding:0 4px;font-size:13px;font-weight:500;position:relative}.seg-opt.on{color:var(--accent-ink);font-weight:600}.seg-pill{background:var(--accent);border-radius:7px;position:absolute;inset:0}.seg-label{position:relative}.stepper{background:var(--surface-solid);border:1px solid var(--surface-border);border-radius:10px;align-items:center;display:inline-flex;overflow:hidden}.stepper button{background:0 0;border:0;justify-content:center;align-items:center;width:40px;height:36px;display:flex}.stepper span{text-align:center;min-width:56px;font-size:15px;font-weight:600}.sheet-backdrop{z-index:20;background:#0000004d;position:fixed;inset:0}.sheet{z-index:21;max-height:92dvh;padding:8px 20px calc(var(--safe-bottom) + 20px);touch-action:pan-y;border-radius:24px 24px 0 0;position:fixed;bottom:0;left:0;right:0;overflow-y:auto}.sheet-grabber{background:var(--ink-3);border-radius:3px;width:36px;height:5px;margin:0 auto}.skeleton{background:var(--sep);position:relative;overflow:hidden}.skeleton:after{content:"";background:linear-gradient(90deg, transparent, var(--surface), transparent);animation:1.4s linear infinite shimmer;position:absolute;inset:0;transform:translate(-100%)}@keyframes shimmer{to{transform:translate(100%)}}.picker{min-height:240px;color:var(--ink-2);justify-content:center;align-items:center;padding:0;display:flex;overflow:hidden}.picker img{object-fit:cover;width:100%;height:100%}.dock{left:20px;right:20px;bottom:calc(var(--tabbar) + var(--safe-bottom) + 24px);z-index:9;gap:10px;display:flex;position:fixed}.dock .btn-primary{flex:1;box-shadow:0 8px 20px #00000040}.dock .btn-secondary{background:var(--surface-solid);box-shadow:var(--surface-shadow);flex:none}.dock-space{height:48px}.repeat-head{align-items:center;gap:12px;display:flex}.repeat-head .row-thumb{border-radius:14px;width:64px;height:64px}.repeat-head p{margin-top:4px}.grams-big{padding-bottom:4px;font-size:22px;font-weight:600;line-height:1}.stack{flex-direction:column;gap:12px;display:flex}.steps{margin-bottom:4px;font-size:13px}.small{font-size:13px}.nowrap{white-space:nowrap}.actions{gap:10px;margin-top:8px;display:flex}.actions .btn-secondary{flex:none;padding:0 18px}.field{align-items:center;gap:12px;padding:12px 16px;display:flex}.field>span:first-child{flex:1;font-size:16px}.field input{text-align:right;background:0 0;border:0;outline:none;width:110px;padding:0;font-size:17px;font-weight:600}.field input::placeholder{color:var(--ink-3);font-weight:400}.field .unit{color:var(--ink-2);width:24px;font-size:15px}.row-check{color:var(--ink);flex:none;display:flex}.wheels-card{padding:12px 8px 4px}.wheel-caps,.wheels{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.wheel-caps span{color:var(--ink-2);text-align:center;font-size:12px}.wheels{--wheel-row:36px;isolation:isolate;position:relative}.wheels:before{content:"";height:var(--wheel-row);background:var(--sep);z-index:-1;border-radius:10px;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.wheel{height:calc(var(--wheel-row) * 5);padding-block:calc(var(--wheel-row) * 2);overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;overflow-y:auto;-webkit-mask-image:linear-gradient(#0000,#000 35% 65%,#0000);mask-image:linear-gradient(#0000,#000 35% 65%,#0000)}.wheel::-webkit-scrollbar{display:none}.wheel-item{height:var(--wheel-row);scroll-snap-align:center;justify-content:center;align-items:center;font-size:21px;font-weight:500;display:flex}.plan-big{letter-spacing:-.03em;font-size:48px;font-weight:700;line-height:1}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{background:var(--surface-solid);border:1px solid var(--surface-border);border-radius:16px;align-items:center;gap:7px;height:32px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.dot{border-radius:4px;width:8px;height:8px}.picker{position:relative}.picker.busy img{filter:blur(6px)brightness(.8);transition:filter .6s var(--ease), transform .6s var(--ease);transform:scale(1.03)}.picker-status{color:#fff;text-shadow:0 1px 8px #0006;justify-content:center;align-items:center;gap:10px;font-size:15px;font-weight:600;display:flex;position:absolute;inset:0}.spinner{border:2px solid #fff6;border-top-color:#fff;border-radius:50%;width:18px;height:18px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.photo{aspect-ratio:4/3;min-height:0}.picker.has-photo{height:clamp(200px,36vh,380px);min-height:0}.input{align-items:center;gap:10px;height:48px;padding:0 16px;display:flex}.input input{min-width:0;color:var(--ink);background:0 0;border:0;outline:none;flex:1;font-size:15px}.input input::placeholder{color:var(--ink-3)}.input svg{color:var(--ink-3);flex:none}.input .clear{width:28px;height:28px;color:var(--ink-3);background:0 0;border:0;justify-content:center;align-items:center;margin-right:-6px;padding:0;display:flex}.group-label{color:var(--ink-2);margin-bottom:-4px;padding-left:12px;font-size:13px}.dock{transition:transform .3s var(--ease)}body:has(input:focus:not([type=date])) .dock{transform:translateY(400%)}.card.solid{background:var(--surface-solid);border-radius:14px;padding:12px 14px}.card.solid.group{padding:0}.card.solid.input{height:44px;padding:0 14px}.top{align-items:flex-start}.sheet-title{letter-spacing:-.02em;margin:0;font-size:24px;font-weight:700;line-height:1.1}.badge{white-space:nowrap;align-items:center;gap:5px;margin-top:6px;font-size:12px;font-weight:600;display:inline-flex}.badge .dot{background:currentColor;width:7px;height:7px}.badge.ok{color:#17865f}.badge.so-so{color:#b97300}.kcal-big{letter-spacing:-.03em;font-size:40px;font-weight:700;line-height:1}.kcal-big .muted{letter-spacing:0;font-size:17px;font-weight:500}.macros{justify-content:space-between;display:flex}.macros>span{align-items:center;gap:8px;display:flex}.macros b{font-size:15px;line-height:1;display:block}.macros small{color:var(--ink-2);margin-top:3px;font-size:11px;display:block}.item-row{align-items:center;gap:14px;padding:10px 14px;font-size:15px;display:flex}.item-row+.item-row{border-top:1px solid var(--sep)}.item-name{flex:1;min-width:0}.item-row b{text-align:right;min-width:36px}.item-remove{width:36px;height:36px;color:var(--ink-3);background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;margin:-8px -10px -8px -6px;display:flex}.item-remove:focus-visible{outline:2px solid var(--ink);outline-offset:-4px}.news-capsule{border:1px solid var(--surface-border);background:var(--surface-solid);width:100%;height:44px;color:var(--ink);font:inherit;text-align:left;white-space:nowrap;cursor:pointer;transition:transform .3s var(--ease);border-radius:22px;align-items:center;gap:8px;padding:0 12px 0 14px;font-size:15px;display:flex}.news-capsule:active{transform:scale(.98)}.news-capsule:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.news-capsule b{font-weight:600}.news-capsule svg{color:var(--ink-3);flex:none}.news-capsule-title{text-overflow:ellipsis;min-width:0;color:var(--ink-2);flex:1;overflow:hidden}.news-dot{background:var(--ink);border-radius:50%;flex:none;width:8px;height:8px}.news-entry{flex-direction:column;gap:4px;display:flex}.news-entry+.news-entry{border-top:1px solid var(--sep);padding-top:12px}.news-entry b{font-size:17px;font-weight:600}.news-entry p{font-size:15px;line-height:1.4}.notice b{margin-bottom:4px;font-size:17px;font-weight:600;display:block}.notice p{font-size:15px;line-height:1.4}.tight{gap:8px}.q{font-size:15px;font-weight:600}.back{background:var(--surface-solid);border:1px solid var(--surface-border);border-radius:18px;justify-content:center;align-items:center;width:36px;height:36px;margin-bottom:4px;display:flex}.btn.danger{color:#fff;background:#d83a2b}.h3{margin:0;font-size:17px;font-weight:700}.card-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.card-value{letter-spacing:-.01em;font-size:17px;font-weight:700}.card-value small{color:var(--ink-2);font-size:13px;font-weight:400}.chart-wrap{touch-action:pan-y;-webkit-user-select:none;user-select:none;position:relative}.chart{width:100%;height:auto;display:block;overflow:visible}.chart-grid{stroke:var(--sep);stroke-width:1px}.chart-target{stroke:var(--ink-2);stroke-width:1px;stroke-dasharray:4 4}.chart-note,.chart-axis{fill:var(--ink-2);font-size:11px;font-family:var(--font)}.fade-top{stop-color:var(--ink);stop-opacity:.16}.fade-bottom{stop-color:var(--ink);stop-opacity:0}.line-ink{fill:none;stroke:var(--ink);stroke-width:2.5px;stroke-linejoin:round;stroke-linecap:round}.dot-ink{fill:var(--ink);stroke:var(--surface-solid);stroke-width:1.5px}.dot-ink.over{fill:var(--over-ink)}.chart-pick .dot-ink{stroke-width:2.5px}.chart-hair{stroke:var(--ink-3);stroke-width:1px}.chart-tip{background:var(--ink);color:var(--accent-ink);white-space:nowrap;pointer-events:none;border-radius:10px;flex-direction:column;gap:1px;padding:6px 10px;font-size:12px;display:flex;position:absolute;top:-6px;transform:translate(-50%,-100%)}.chart-tip b{font-size:13px}.tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.tile{border-radius:16px;flex-direction:column;gap:2px;padding:12px 12px 10px;display:flex}.tile b{letter-spacing:-.02em;font-size:24px;font-weight:700;line-height:1.1}.tile small{color:var(--ink-2);font-size:11px}.weigh{align-items:center;gap:10px;display:flex}.weigh .input{border-radius:12px;flex:1;height:40px;padding:0 14px}.weigh .input.solid{background:var(--surface-solid);border:1px solid var(--surface-border)}.me-card{border-radius:16px}.rank{text-align:center;width:24px;color:var(--ink-2);font-variant-numeric:tabular-nums;font-size:15px;font-weight:600}.avatar.small{flex:none;width:36px;height:36px;font-size:13px}.row.me{background:#3c3c430f}:root[data-theme=dark] .row.me{background:#ffffff0f}.center{text-align:center}.empty{text-align:center;padding:24px 0}.locked{display:grid}.locked>*{grid-area:1/1}.ghost{filter:blur(5px);opacity:.85;pointer-events:none;-webkit-user-select:none;user-select:none}.locked-card{text-align:center;flex-direction:column;align-self:center;align-items:center;gap:10px;margin:0 14px;display:flex;position:relative}.locked-card h2{letter-spacing:-.01em;text-wrap:balance;font-size:20px;font-weight:700;line-height:1.15}.locked-card p{text-wrap:pretty;font-size:15px;line-height:1.4}.locked-card .btn{margin-top:6px}.person{align-items:center;gap:14px;display:flex}.person-text{flex:1;min-width:0}.person h1{overflow-wrap:anywhere;font-size:24px;line-height:1.1}.person p{margin-top:2px}.preview{pointer-events:none;background:#3c3c430f;border-radius:14px;padding:12px 14px}:root[data-theme=dark] .preview{background:#ffffff0f}.sheet p{text-wrap:pretty}.sheet p.balance{text-wrap:balance}.daynav{justify-content:space-between;align-items:center;padding:0 4px;display:flex}.daynav-date{background:var(--surface-solid);border:1px solid var(--surface-border);border-radius:18px;align-items:center;height:36px;padding:0 14px;font-size:15px;font-weight:600;display:inline-flex;position:relative}.daynav-date input{opacity:0;width:100%;height:100%;font-size:16px;position:absolute;inset:0}.daynav-btn{border:1px solid var(--surface-border);background:var(--surface-solid);width:36px;height:36px;color:var(--ink);border-radius:18px;justify-content:center;align-items:center;display:flex}.daynav-btn:disabled{opacity:.35}.switch{cursor:pointer;flex:none;display:inline-flex}.switch input{opacity:0;width:1px;height:1px;position:absolute}.switch-track{background:var(--ink-3);width:50px;height:30px;transition:background .3s var(--ease);border-radius:15px;position:relative}.switch-knob{width:26px;height:26px;transition:transform .3s var(--ease);background:#fff;border-radius:13px;position:absolute;top:2px;left:2px;box-shadow:0 2px 6px #00000040}.switch input:checked+.switch-track{background:var(--on)}.switch input:checked+.switch-track .switch-knob{transform:translate(20px)}.switch input:focus-visible+.switch-track{outline:2px solid var(--ink);outline-offset:2px}.avatar{flex:none;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%;display:block}.avatar-link{display:inline-flex}.tabbar{transition:transform .3s var(--ease)}body:has(input:focus:not([type=date])) .tabbar{transform:translateY(140%)}.link{color:var(--ink-2);text-underline-offset:3px;background:0 0;border:0;align-self:center;padding:6px 0;font-size:13px;text-decoration:underline}.rules{text-wrap:pretty;flex-direction:column;gap:8px;margin:0;padding-left:18px;font-size:15px;line-height:1.4;display:flex}.token{border-radius:var(--r-ctl);word-break:break-all;-webkit-user-select:all;user-select:all;background:#3c3c430f;padding:10px 12px;font:500 13px/1.45 ui-monospace,SF Mono,Menlo,monospace;display:block}:root[data-theme=dark] .token{background:#ffffff0f}.iconbtn{background:var(--surface-solid);border:1px solid var(--surface-border);width:36px;height:36px;color:var(--ink);border-radius:18px;flex:none;justify-content:center;align-items:center;padding:0;display:flex}.iconbtn:disabled{opacity:.35}.caption{color:var(--ink-2);align-items:center;gap:6px;font-size:13px;display:flex}.caption .dot{background:var(--on);width:7px;height:7px}.caption.closed .dot{background:var(--ink-3)}.tile.flat{text-align:center;align-items:center;padding:4px 0}.month-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.month-nav{gap:8px;display:flex}.month{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px 4px;display:grid}.wd{color:var(--ink-2);text-align:center;font-size:11px}.day{aspect-ratio:1;font:inherit;color:var(--ink-3);background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;padding:0;font-size:12px;font-weight:600;display:flex}.day.none{background:var(--sep);color:var(--ink-2)}.day.ok{background:var(--ok-bg);color:var(--ok-ink)}.day.under{background:var(--under-bg);color:var(--under-ink)}.day.over{background:var(--over-bg);color:var(--over-ink)}.day.sel,.day:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.day.out{visibility:hidden}.day.off{opacity:.5}.legend{color:var(--ink-2);flex-wrap:wrap;gap:6px 14px;font-size:11px;display:flex}.legend span{align-items:center;gap:5px;display:inline-flex}.legend i{width:11px;height:11px;box-shadow:inset 0 0 0 1px var(--sep);border-radius:50%}.legend .l-ok{background:var(--ok-bg)}.legend .l-under{background:var(--under-bg)}.legend .l-over{background:var(--over-bg)}.legend .l-none{background:var(--sep)}.day-head{justify-content:space-between;align-items:baseline;gap:12px;margin-top:8px;display:flex}.day-head .h2{margin:0}.row-ico{background:var(--sep);width:32px;height:32px;color:var(--ink);border-radius:9px;flex:none;justify-content:center;align-items:center;display:flex}.row.danger .row-title,.row.danger .row-ico{color:#d83a2b}.sticker{filter:drop-shadow(0 12px 28px #00000038);animation:sticker-in .6s var(--ease) both;flex:none;display:block;overflow:visible}:root[data-theme=dark] .sticker{filter:drop-shadow(0 12px 28px #00000080)}.sticker-server{animation:sticker-in .6s var(--ease) both, sticker-shake .7s ease .6s both}.sticker-dash{animation:4s linear infinite sticker-crawl}.sticker-z{animation:2.4s ease-in-out infinite sticker-zz}.sticker-z2{animation-delay:.6s}.sticker-hands{transform-box:fill-box;transform-origin:50% 100%;animation:12s linear infinite sticker-tick}.sticker text{font-family:var(--font)}@keyframes sticker-in{0%{opacity:0;transform:scale(.6)translateY(14px)}}@keyframes sticker-shake{20%{transform:rotate(-7deg)}40%{transform:rotate(5deg)}60%{transform:rotate(-3deg)}80%{transform:rotate(2deg)}}@keyframes sticker-crawl{to{stroke-dashoffset:-80px}}@keyframes sticker-zz{0%,to{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-5px)}}@keyframes sticker-tick{to{transform:rotate(360deg)}}.screen:has(>.error-state){min-height:100dvh}.error-state{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px;min-height:50vh;padding:12px 0 24px;display:flex}.error-state h2{letter-spacing:-.02em;margin:16px 0 0;font-size:24px;font-weight:700;line-height:1.1}.error-state p{max-width:290px}.error-state .btn{width:100%;max-width:320px;margin-top:20px}.error-dev{min-height:44px;color:var(--ink);background:0 0;border:0;padding:0 12px;font-size:15px;font-weight:600}.error-row{align-items:center;gap:14px;padding:4px 2px;display:flex}.error-row .sticker{filter:drop-shadow(0 8px 18px #00000038)}.error-row>div{flex-direction:column;gap:3px;display:flex}.error-row b{font-size:16px;font-weight:600;line-height:1.2}.error-row span{line-height:1.35}.sheet .error-state{min-height:0;padding-bottom:0}
