:root{--cream: #FCF4F5;--cream-2: #F6E6E9;--card: #FFFFFF;--ink: #3A2A30;--ink-2: #5C4850;--muted: #7D6870;--line: #F0DDE2;--accent: #D97F98;--accent-d: #B4566F;--accent-dd: #8F3F55;--accent-l: #FBE4EA;--accent-xl: #FDF0F3;--blush: #E8A0B4;--butter: #FFF3CF;--butter-l: #FFF8E3;--butter-m: #F2D98C;--butter-d: #9A720F;--butter-ring: #C99A1E;--sky: #E2F0F8;--sky-m: #B9D9EC;--sky-d: #2F6D92;--sage: #E5EDDE;--sage-m: #C3DABC;--sage-d: #4A6644;--red: #B5483F;--red-l: #F8E3DF;--r: 1.25rem;--r-sm: .875rem;--shadow: 0 2px 10px rgba(120, 55, 75, .07), 0 1px 2px rgba(120, 55, 75, .05);--font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--safe-b: env(safe-area-inset-bottom, 0px);--safe-t: env(safe-area-inset-top, 0px);color-scheme:light}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}body{min-height:100dvh;overflow-x:clip}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0;padding:0}a{color:var(--accent-d)}:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:10px}h1,h2,h3{margin:0;font-weight:800;letter-spacing:-.01em}h1{font-size:1.5rem}h2{font-size:1.12rem}h3{font-size:1rem}p{margin:.3em 0}.muted{color:var(--muted)}.small{font-size:.88rem}.tiny{font-size:.78rem}.center{text-align:center}.nowrap{white-space:nowrap}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}#root{max-width:560px;margin:0 auto;min-height:100dvh;position:relative;overflow-x:clip}.main{padding:calc(1rem + var(--safe-t)) 1.125rem calc(6.5rem + var(--safe-b));display:flex;flex-direction:column;gap:.875rem;position:relative}.blob{position:absolute;border-radius:50%;z-index:-1;pointer-events:none}.blob-a{width:240px;height:240px;background:radial-gradient(circle,var(--butter-l),transparent 70%);top:-80px;right:-70px}.blob-b{width:280px;height:280px;background:radial-gradient(circle,var(--accent-l),transparent 70%);top:420px;left:-120px}.tabbar{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:560px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fffffff2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:.375rem .25rem calc(.375rem + var(--safe-b));z-index:20}.tab{display:flex;flex-direction:column;align-items:center;gap:2px;padding:.375rem 0;min-height:2.75rem;font-size:.76rem;color:var(--muted);border-radius:12px}.tab.on{color:var(--accent-d);font-weight:800}.tab.on svg{stroke-width:2.1}.sec-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:.25rem}.page{min-height:100dvh;display:flex;flex-direction:column}.page-head{display:grid;grid-template-columns:3rem 1fr 3rem;align-items:center;padding:calc(.75rem + var(--safe-t)) .875rem .5rem;position:sticky;top:0;background:var(--cream);z-index:5}.page-head h1{font-size:1.2rem;text-align:center}.page-head-r{justify-self:end}.page-body{flex:1 0 auto;padding:.5rem 1.125rem calc(2.5rem + var(--safe-b));display:flex;flex-direction:column;gap:.875rem}.card{background:var(--card);border-radius:var(--r);box-shadow:var(--shadow);padding:.875rem 1rem;border:1px solid var(--line)}.card.list{padding-top:.125rem;padding-bottom:.125rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:3rem;padding:0 1.125rem;border-radius:999px;font-weight:700;transition:transform .08s,background .2s;text-decoration:none}.btn:active{transform:scale(.98)}.btn.primary{background:var(--accent-d);color:#fff;box-shadow:0 3px 10px #b4566f40}.btn.primary:hover{background:var(--accent-dd)}.btn.soft{background:var(--card);color:var(--ink);border:1px solid var(--line);box-shadow:var(--shadow)}.btn.danger{background:var(--red-l);color:var(--red)}.btn.small{min-height:2.75rem;padding:0 1rem;font-size:.9rem}.btn.block{width:100%}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-row{display:flex;gap:10px;margin-top:.5rem}.btn-row>.btn{flex:1}.link{color:var(--accent-d);font-weight:700;padding:.375rem 0;text-decoration:none;display:inline-flex;align-items:center;gap:4px;min-height:2.75rem}.icon-btn{width:2.75rem;height:2.75rem;display:grid;place-items:center;border-radius:50%;color:var(--ink-2);flex:none}.icon-btn:hover{background:var(--cream-2)}.field{display:flex;flex-direction:column;gap:.4rem}.field-label{font-weight:700}.field-label em{font-style:normal;font-weight:500;color:var(--muted);font-size:.88rem}.field-error{color:var(--red);font-size:.85rem}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;background:var(--card);border:1.5px solid var(--line);border-radius:var(--r-sm);padding:.7rem .875rem;min-height:3rem;outline:none;font-size:1rem}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-l)}input::placeholder{color:#a8959c}.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.two-one{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{display:inline-flex;align-items:center;gap:5px;padding:.4rem .8rem;border-radius:999px;background:var(--card);border:1.5px solid var(--line);font-size:.9rem;font-weight:600;color:var(--ink-2);min-height:2.5rem}.chip.on{background:var(--accent-l);border-color:var(--accent);color:var(--accent-d)}.chip b{color:var(--muted);font-weight:700}.switch{appearance:none;-webkit-appearance:none;width:48px;height:28px;border-radius:999px;background:var(--line);position:relative;flex:none;cursor:pointer;transition:background .2s;margin:0}.switch:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .2s}.switch:checked{background:var(--accent)}.switch:checked:after{transform:translate(20px)}.switch:disabled{opacity:.5}.check{display:flex;gap:10px;align-items:flex-start;font-size:.88rem;color:var(--ink-2)}.check input{width:1.25rem;height:1.25rem;margin:2px 0 0;flex:none;accent-color:var(--accent-d)}.check a{font-weight:700}.row{display:flex;align-items:center;gap:12px;padding:.75rem 0;width:100%;text-align:left;min-height:3.25rem}.row+.row{border-top:1px solid var(--line)}.row.tap:active{opacity:.7}.row-main{flex:1;display:flex;flex-direction:column;min-width:0}.row-title{font-weight:700}.row-sub{color:var(--muted);font-size:.86rem}.row-off{opacity:.6}.row-ic{width:2.4rem;height:2.4rem;border-radius:50%;display:grid;place-items:center;flex:none}.ic-food{background:var(--butter);color:var(--butter-d)}.ic-water{background:var(--sky);color:var(--sky-d)}.ic-move{background:var(--sage);color:var(--sage-d)}.alert{display:flex;gap:10px;align-items:flex-start;padding:.7rem .8rem;border-radius:var(--r-sm);font-size:.9rem;color:var(--ink-2)}.alert>svg{flex:none;margin-top:2px}.alert.soft{background:var(--cream-2)}.alert.soft>svg{color:var(--accent-d)}.alert.under{background:var(--butter-l)}.alert.under>svg{color:var(--butter-d)}.alert.over{background:var(--accent-xl)}.alert.over>svg{color:var(--accent-d)}.alert.ok{background:var(--sage);color:var(--sage-d)}.alert.info{background:var(--accent-xl);color:var(--accent-dd)}.alert.error{background:var(--red-l);color:var(--red)}.disc{font-size:.78rem;color:var(--muted);text-align:center;padding:.25rem 1rem;margin:0}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:2rem 1.4rem;gap:.6rem;background:var(--card);border-radius:var(--r);border:1.5px dashed var(--line)}.empty p{color:var(--ink-2);max-width:18rem;margin:0}.empty-ic{width:4rem;height:4rem;border-radius:50%;background:var(--accent-l);color:var(--accent-d);display:grid;place-items:center}.empty.small{padding:1.2rem;color:var(--muted)}.toasts{position:fixed;left:50%;transform:translate(-50%);bottom:calc(5.5rem + var(--safe-b));display:flex;flex-direction:column;gap:8px;z-index:60;width:min(92%,420px)}.toast{background:var(--ink);color:#fff;padding:.75rem 1rem;border-radius:14px;display:flex;justify-content:space-between;align-items:center;gap:12px;box-shadow:0 6px 20px #0003;animation:rise .25s ease-out;font-weight:700}.toast>span{min-width:0;overflow-wrap:anywhere}.toast-action{color:var(--butter);font-weight:800;flex:none;min-height:2.75rem;padding:0 .25rem}@keyframes rise{0%{transform:translateY(10px);opacity:0}}.sheet-wrap{position:fixed;inset:0;background:#3a2a3059;z-index:40;display:flex;align-items:flex-end;justify-content:center}.sheet{background:var(--cream);width:100%;max-width:560px;border-radius:24px 24px 0 0;padding:.6rem 1.125rem calc(1.5rem + var(--safe-b));max-height:92dvh;overflow:auto;display:flex;flex-direction:column;gap:.875rem;animation:rise .25s ease-out}.sheet-grip{width:40px;height:5px;border-radius:3px;background:var(--line);align-self:center}.sheet-head{display:flex;justify-content:space-between;align-items:center}.sheet-head h2{font-size:1.25rem}.home-head{display:flex;align-items:center;gap:14px;padding-top:.25rem}.home-head>div:first-child{flex:1;min-width:0}.home-head p{margin:2px 0 0;font-size:.9rem;color:var(--muted)}.avatar{width:2.9rem;height:2.9rem;border-radius:50%;display:grid;place-items:center;background:var(--accent-l);color:var(--accent-d);font-weight:800;box-shadow:0 0 0 4px var(--card);flex:none}.summary{display:grid;grid-template-columns:repeat(var(--n, 3),minmax(0,1fr));gap:10px}.sum{border-radius:var(--r);padding:.875rem .25rem .75rem;display:flex;flex-direction:column;align-items:center;gap:2px;box-shadow:var(--shadow);text-align:center;min-height:8.6rem}.summary.wide .sum{flex-direction:row;justify-content:flex-start;text-align:left;gap:12px;padding:.875rem 1rem;min-height:0}.summary.wide .sum .sum-txt{display:flex;flex-direction:column}.sum-food{background:var(--butter)}.sum-food .sum-ic{color:var(--butter-d)}.sum-water{background:var(--sky)}.sum-water .sum-ic{color:var(--sky-d)}.sum-move{background:var(--sage)}.sum-move .sum-ic{color:var(--sage-d)}.sum-txt{display:contents}.sum-l{font-size:.9rem;font-weight:700;margin-top:.25rem}.summary.wide .sum-l{margin-top:0}.sum-v{font-size:1.35rem;font-weight:800;letter-spacing:-.02em;white-space:nowrap}.sum-s{font-size:.76rem;color:var(--ink-2)}.ringwrap{display:flex;gap:16px;align-items:center}.ring{position:relative;width:6.25rem;height:6.25rem;flex:none}.ring.sm{width:4rem;height:4rem}.ring svg{width:100%;height:100%;transform:rotate(-90deg)}.ring-bg{fill:none;stroke:var(--accent-l);stroke-width:12}.ring-fg{fill:none;stroke:var(--accent-d);stroke-width:12;stroke-linecap:round;transition:stroke-dashoffset .6s ease}.ring-fg.over{stroke:var(--butter-ring)}.ring-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.ring-in b{font-size:1.45rem;font-weight:800;letter-spacing:-.02em;line-height:1.1}.ring-in span{font-size:.72rem;color:var(--muted)}.ring-side{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.food-list{margin-top:.25rem}.food-li{display:flex;align-items:center;gap:10px;padding:.5rem 0;width:100%;text-align:left}.food-li+.food-li{border-top:1px solid var(--line)}.food-li i{width:8px;height:8px;border-radius:50%;background:#e8c45a;flex:none}.food-li span:nth-child(2){flex:1;font-weight:600;min-width:0;overflow-wrap:anywhere}.food-li span:last-child{font-size:.84rem;color:var(--muted)}.glasses{display:flex;flex-wrap:wrap;gap:6px;margin-top:.6rem}.glass{width:1.9rem;height:2.4rem;border-radius:4px 4px 9px 9px;border:2px solid var(--sky-m)}.glass.full{border-color:var(--sky-d);background:var(--sky)}.quick{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}.quick .btn{padding:0 .4rem;font-size:.9rem}.timeline{list-style:none;margin:0;padding:0;position:relative}.timeline:before{content:"";position:absolute;left:15px;top:18px;bottom:18px;width:2px;background:var(--line)}.tl{display:grid;grid-template-columns:32px 3.4rem minmax(0,1fr);align-items:center;gap:8px;padding:.3rem 0;width:100%;text-align:left;position:relative;min-height:2.75rem}.tl:active{opacity:.7}.tl-dot{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;z-index:1;box-shadow:0 0 0 3px var(--cream)}.tl-food .tl-dot{background:var(--butter);color:var(--butter-d)}.tl-water .tl-dot{background:var(--sky);color:var(--sky-d)}.tl-move .tl-dot{background:var(--sage);color:var(--sage-d)}.tl-time{font-weight:700;font-size:.9rem;font-variant-numeric:tabular-nums}.tl-t{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.tl-s{color:var(--muted);font-size:.84rem;display:block}.day-head{font-size:.95rem;margin-top:.5rem;color:var(--ink-2)}.bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;align-items:end;height:7rem;margin-top:.5rem}.bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;height:100%;font-size:.72rem;color:var(--muted)}.bar i{display:block;width:70%;border-radius:6px 6px 3px 3px;min-height:3px}.bar.today b{font-weight:800;color:var(--ink)}.bar b{font-weight:500}.bars-food i{background:var(--butter-m)}.bars-food .today i{background:var(--butter-ring)}.bars-water i{background:var(--sky-m)}.bars-water .today i{background:var(--sky-d)}.bars-move i{background:var(--sage-m)}.bars-move .today i{background:var(--sage-d)}.win{background:var(--accent-xl);border-radius:var(--r-sm);padding:.75rem .875rem;font-size:.92rem;color:var(--ink-2);display:flex;gap:10px;align-items:flex-start}.win svg{color:var(--accent-d);flex:none;margin-top:2px}.auth{min-height:100dvh;padding:calc(2.5rem + var(--safe-t)) 1.125rem 2.5rem;display:flex;flex-direction:column;gap:1.25rem;position:relative;overflow:hidden}.auth-brand{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}.auth-brand h1{font-size:1.9rem;margin-top:.3rem}.auth-brand p{max-width:20rem;color:var(--ink-2)}.auth-card{display:flex;flex-direction:column;gap:1rem;padding:1.25rem;position:relative;z-index:1}.seg{display:flex;gap:8px}.seg-opt{flex:1;min-height:2.75rem;border-radius:999px;background:var(--card);border:1.5px solid var(--line);font-weight:600;font-size:.92rem;color:var(--ink-2);padding:0 .5rem}.seg-opt.on{background:var(--accent-l);border-color:var(--accent);color:var(--accent-d);font-weight:800}.captcha{min-height:65px}.captcha>div:first-child{width:100%}.footer-links{text-align:center;font-size:.78rem;color:var(--muted)}.footer-links a{font-weight:700}.loading{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;color:var(--muted)}.diag pre{margin:0;white-space:pre-wrap;word-break:break-word;font-size:.72rem;background:var(--cream-2);padding:10px;border-radius:12px}@media(min-width:700px){body{background:radial-gradient(1200px 600px at 80% -10%,var(--butter-l),transparent),var(--cream)}#root{box-shadow:0 0 0 1px var(--line);background:var(--cream)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
