.week-strip{align-items:center;gap:4px;display:flex}.week-strip ol{flex:1;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:0;padding:0;list-style:none;display:grid}.week-strip-arrow{border-radius:var(--radius-sm);width:32px;height:56px;color:var(--muted);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.week-day{background:var(--surface);width:100%;min-height:56px;color:var(--text);border:none;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:4px 0;display:flex}.week-day[aria-current=date]{background:var(--accent);color:var(--on-accent)}.week-day-name{opacity:.8;font-size:11px;font-weight:700}.week-day-number{font-size:17px;font-weight:800}.week-day-dot{background:currentColor;border-radius:50%;width:5px;height:5px}.week-day-dot.is-empty{background:0 0}.progress-card{border-radius:var(--radius-lg);background:var(--accent);color:var(--on-accent);align-items:center;gap:16px;padding:16px;display:flex}.progress-ring{flex-shrink:0;width:64px;height:64px;position:relative}.progress-ring span{justify-content:center;align-items:center;font-size:16px;font-weight:800;display:flex;position:absolute;inset:0}.progress-title{margin:0;font-size:17px;font-weight:700}.progress-detail{color:var(--on-accent);margin:2px 0 0;font-size:13px;font-weight:500;line-height:1.35}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.tile{background:var(--surface);border-radius:18px;flex-direction:column;gap:6px;padding:12px;display:flex}.tile-label{color:var(--accent);margin:0;font-size:13px;font-weight:700}.tile-label-water{color:var(--water)}.tile-value{margin:0;font-size:22px;font-weight:800}.tile-value span{color:var(--muted);font-size:14px;font-weight:600}.tile-button{min-height:40px;font-size:14px}.water-buttons{gap:8px;display:flex}.water-minus,.water-plus{border-radius:var(--radius-sm);border:none;height:40px;font-size:20px;font-weight:700}.water-minus{background:var(--water-soft);width:44px;color:var(--water)}.water-plus{background:var(--water);color:var(--on-water);flex:1}.water-minus:disabled{opacity:.5;cursor:not-allowed}.meal-list{flex-direction:column;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.meal{border-radius:var(--radius-md);text-align:left;width:100%;min-height:56px;color:var(--text);align-items:center;gap:12px;padding:8px 12px;display:flex}.meal-filled{background:var(--surface);border:none}.meal-empty{border:1.5px dashed var(--border-dashed);background:0 0}.meal-icon{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.meal-icon-done{background:var(--accent-soft);color:var(--accent)}.meal-icon-add{background:var(--accent);color:var(--on-accent)}.meal-body{flex-direction:column;min-width:0;display:flex}.meal-label{color:var(--muted);font-size:12px;font-weight:700}.meal-label-strong{font-size:14px;font-weight:700}.meal-text{overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.3}.meal-hint{color:var(--muted);font-size:12px;font-weight:500}.meal-editor{border-radius:var(--radius-md);background:var(--surface);border:1.5px solid var(--accent);flex-direction:column;gap:8px;padding:12px;display:flex}.meal-editor-label{font-size:14px;font-weight:800}.meal-editor-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.week-nav{gap:6px;display:flex}.week-actions{flex-wrap:wrap;gap:8px;display:flex}.week-actions .button{flex:160px}.week-view-bar{justify-content:space-between;align-items:center;gap:8px;display:flex}.week-tip{color:var(--muted);margin:0;font-size:13px}.week-zoom{color:var(--accent);flex-shrink:0;padding:0 8px;font-size:14px}.sheet-scroll.is-fit{overflow:hidden}.sheet-fit{transform-origin:0 0;width:1123px}.sheet-scroll{border-radius:var(--radius-md);background:var(--surface);box-shadow:0 0 0 1px var(--border);overflow-x:auto}.week-sheet{--bg:#f4f7f5;--surface:#fff;--text:#13201a;--muted:#4f5d56;--border:#dce5e0;--accent:#1c7c54;--accent-strong:#176a47;--accent-soft:#e3f1ea;box-sizing:border-box;width:1123px;min-height:794px;color:var(--text);background:#fff;flex-direction:column;gap:16px;padding:30px 36px;display:flex}.sheet-header{border-bottom:2px solid var(--text);justify-content:space-between;align-items:flex-end;gap:24px;padding-bottom:14px;display:flex}.sheet-brand{flex-direction:column;gap:10px;display:flex}.sheet-brand svg{display:block}.sheet-title{letter-spacing:-.01em;margin:0;font-size:20px;font-weight:800}.sheet-range{margin:0;font-size:15px;font-weight:700}.sheet-table{table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid var(--border);border-radius:var(--radius-md);width:100%;overflow:hidden}.sheet-table thead th,.sheet-table thead td{background:var(--accent-soft);color:var(--accent-strong);text-align:left;padding:10px;font-size:13px;font-weight:700}.sheet-table thead td{background:var(--surface);width:120px}.sheet-table thead span{font-weight:500}.sheet-day-button{color:inherit;font:inherit;text-align:left;background:0 0;border:none;padding:0}.sheet-table tbody th,.sheet-table tbody td{border-top:1px solid var(--border);vertical-align:top;overflow-wrap:anywhere;height:74px;padding:8px 10px;font-size:12px;line-height:1.35}.sheet-table tbody th{text-align:left;vertical-align:middle;width:120px;font-size:13px;font-weight:700}.sheet-table tbody td{border-left:1px solid var(--border);font-weight:500}.sheet-table tbody tr:nth-child(2n)>*{background:var(--bg)}.sheet-table tbody .sheet-short-row>*{vertical-align:middle;height:36px}.sheet-notes{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.sheet-notes h3{margin:0 6px 0 0;font-size:14px;font-weight:800}.sheet-notes ul{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.sheet-notes li{background:var(--accent-soft);color:var(--accent-strong);border-radius:999px;padding:6px 12px;font-size:12px;font-weight:600}@page{size:A4 landscape;margin:8mm}@media print{html,body{background:#fff}.app-bar,.bottom-nav,.week-screen>:not(.sheet-scroll){display:none!important}.week-screen{padding:0}.sheet-scroll{box-shadow:none;border-radius:0;overflow:visible}.sheet-fit{width:100%;height:auto!important;transform:none!important}.week-sheet{width:100%;min-height:0;padding:0}.sheet-table thead th,.sheet-table thead td,.sheet-table tbody tr>*,.sheet-notes li{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.weight-form{flex-direction:column;gap:12px;display:flex}.weight-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.weight-list{flex-direction:column;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.weight-row{background:var(--surface);border-radius:var(--radius-md);align-items:center;gap:12px;padding:8px 8px 8px 14px;display:flex}.weight-row>div{flex:1}.weight-kg{margin:0;font-size:17px;font-weight:800}.weight-date{color:var(--muted);margin:0;font-size:13px;font-weight:500}.weight-delta{color:var(--muted);font-size:13px;font-weight:700}.icon-button-plain{color:var(--muted);background:0 0}.empty-note{color:var(--muted);margin:8px 0 0;font-size:14px}.guideline-list{border-radius:var(--radius-md);background:var(--surface);margin:0;padding:0;list-style:none;overflow:hidden}.guideline-list li+li{border-top:1px solid var(--border)}.guideline-row{width:100%;min-height:64px;color:var(--muted);text-align:left;background:0 0;border:none;align-items:center;gap:12px;padding:12px 14px 12px 16px;display:flex}.guideline-row:active{background:var(--bg)}.guideline-body{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.guideline-label{letter-spacing:.08em;text-transform:uppercase;color:var(--accent);font-size:12px;font-weight:700}.guideline-text{color:var(--text);overflow-wrap:anywhere;font-size:15px;font-weight:500;line-height:1.4}.guideline-empty{color:var(--muted);font-size:15px}.install-button{background:var(--accent-soft);min-height:36px;color:var(--accent-strong);font:inherit;cursor:pointer;border:none;border-radius:999px;align-items:center;gap:6px;padding:0 14px;font-size:14px;font-weight:700;display:inline-flex}.install-button:active{background:var(--border)}.install-steps{flex-direction:column;gap:8px;margin:0;padding-left:22px;line-height:1.45;display:flex}.install-note{color:var(--muted);margin:12px 0 16px;line-height:1.45}.install-done{width:100%}:root{--bg:#f4f7f5;--surface:#fff;--text:#13201a;--muted:#4f5d56;--border:#dce5e0;--border-dashed:#a9b8b0;--accent:#1c7c54;--accent-strong:#176a47;--accent-soft:#e3f1ea;--on-accent:#fff;--water:#2b6cb0;--water-strong:#24598f;--water-soft:#e6eff8;--on-water:#fff;--danger:#b4532a;--radius-sm:12px;--radius-md:16px;--radius-lg:20px;--font:"Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font-family:var(--font);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:3px solid var(--water);outline-offset:2px}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app{flex-direction:column;max-width:480px;min-height:100dvh;margin:0 auto;display:flex}.app-bar{padding:calc(14px + env(safe-area-inset-top)) 20px 2px;justify-content:space-between;align-items:center;gap:12px;display:flex}.lockup{min-height:36px;color:var(--text);align-items:center;gap:10px;display:inline-flex}.lockup svg{display:block}.screen{flex-direction:column;flex:1;gap:12px;padding:0 16px 104px;display:flex}.screen-header{justify-content:space-between;align-items:center;gap:12px;padding:8px 4px 4px;display:flex}.screen-header p{color:var(--muted);margin:0;font-size:13px;font-weight:600}.screen-header h1{letter-spacing:-.02em;margin:0;font-size:28px;font-weight:800}.section-title{margin:8px 0 0;font-size:17px;font-weight:800}.card{background:var(--surface);border-radius:var(--radius-md);padding:14px}.icon-button{background:var(--accent-soft);width:44px;height:44px;color:var(--accent);border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.button{border-radius:var(--radius-sm);border:none;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-size:15px;font-weight:700;display:inline-flex}.button-primary{background:var(--accent);color:var(--on-accent)}.button-outline{background:var(--surface);color:var(--accent);border:1.5px solid var(--accent)}.button-ghost{color:var(--muted);background:0 0}.button-danger{color:var(--danger);background:0 0}.button:disabled{opacity:.5;cursor:not-allowed}.field{flex-direction:column;gap:6px;display:flex}.field label{color:var(--muted);font-size:13px;font-weight:700}.input,.textarea{border-radius:var(--radius-sm);border:1.5px solid var(--border);background:var(--surface);width:100%;min-height:44px;padding:10px 12px;font-size:16px}.textarea{field-sizing:content;resize:none;border-radius:14px;min-height:calc(3lh + 24px);max-height:40dvh;padding:12px 14px;line-height:1.45}.textarea::placeholder{color:var(--muted);opacity:.8}.input:focus,.textarea:focus{border-color:var(--accent);outline:none}.form-error{color:var(--danger);margin:0;font-size:13px;font-weight:600}.status-message{color:var(--accent);margin:0;font-size:13px;font-weight:600}.edit-dialog{width:calc(100% - 32px);max-width:448px;margin:calc(16px + env(safe-area-inset-top)) auto auto;border-radius:var(--radius-lg);background:var(--surface);color:var(--text);border:none;padding:0;box-shadow:0 16px 40px #13201a2e}.edit-dialog::backdrop{background:#13201a73}.edit-dialog[open]{animation:.18s ease-out edit-dialog-in}@keyframes edit-dialog-in{0%{opacity:0;transform:translateY(-8px)}}@media (prefers-reduced-motion:reduce){.edit-dialog[open]{animation:none}}.edit-dialog-panel{flex-direction:column;gap:12px;padding:18px 16px 16px;display:flex}.edit-dialog-title{letter-spacing:-.01em;margin:0;padding-inline:2px;font-size:22px;font-weight:700}.edit-dialog-form{flex-direction:column;gap:12px;display:flex}.edit-dialog-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.backup{flex-direction:column;gap:10px;display:flex}.backup-title{margin:0}.backup-note{color:var(--muted);margin:0;font-size:14px;line-height:1.4}.backup-actions{flex-wrap:wrap;gap:8px;display:flex}.bottom-nav{z-index:10;background:var(--surface);box-shadow:0 -1px 0 var(--border);padding:8px 10px calc(10px + env(safe-area-inset-bottom));position:fixed;bottom:0;left:0;right:0}.bottom-nav ul{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;max-width:480px;margin:0 auto;padding:0;list-style:none;display:grid}.bottom-nav button{width:100%;min-height:52px;color:var(--muted);background:0 0;border:none;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:12px;font-weight:600;display:flex}.bottom-nav button[aria-current=page]{background:var(--accent-soft);color:var(--accent);font-weight:700}
