/* Shared visual standard for standalone Water and Supplements. No home overrides. */
:is(.water-mobile,.supplements-native,.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet){--muted:#b0bdc9;--module-radius:18px;--module-gap:16px}
:is(.water-mobile-heading,.supplement-native-header){display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;margin:0 0 20px;min-height:46px}
:is(.water-mobile-heading,.supplement-native-header) h1{margin:0;text-align:center;font-size:25px;line-height:1.25;letter-spacing:-.035em;color:var(--ink);overflow-wrap:anywhere}
.water-mobile .water-mobile-back{display:grid;place-items:center;width:44px;min-height:44px;padding:0;border-radius:14px}.water-mobile-back>span{display:none}
:is(.water-native-gear,.supplement-native-header button){width:44px;min-height:44px;border-radius:14px;box-sizing:border-box}
:is(.water-mobile,.supplements-native) button{touch-action:manipulation}
:is(.water-mobile,.supplements-native) :is(button,input,select,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.water-mobile :is(button,input,select,summary):focus-visible{outline-color:var(--water)}
:is(.water-mobile-guest,.supplement-native-guest){font-size:12px;line-height:1.6;margin:0 0 14px}
.water-mobile .water-hero{border-radius:22px;padding:18px 16px;margin-bottom:20px}.water-mobile #water-page-target,.water-mobile #water-page-caption{font-size:13px;line-height:1.6}.water-mobile .water-total-label,.water-mobile #water-page-plain{font-size:12px;line-height:1.6}.water-mobile .water-hero-body{gap:14px}.water-mobile .water-mobile-amount{gap:7px}
.water-mobile .water-page-quick .water-shortcut{border-radius:var(--module-radius);min-height:104px;gap:5px}.water-mobile .water-shortcut strong{font-size:14px;color:#d4dee6;font-weight:550}.water-mobile .water-shortcut>span:not(.water-shortcut-plus){font-size:17px}.water-mobile .water-shortcuts-heading button{font-size:13px;min-height:44px}.water-mobile .water-shortcuts-hint{font-size:12px;line-height:1.6}.water-mobile .water-custom-open{font-size:14px;min-height:48px;border-radius:14px}.water-mobile :is(.water-journal-row time,#water-page-journal-count){font-size:12px}.water-mobile .water-drink-row small{font-size:12px;line-height:1.5}.water-mobile .water-journal-row{gap:12px;min-height:62px;padding:12px 14px}.water-mobile .water-journal-row strong{font-size:15px}.water-mobile .water-show-all{font-size:13px;min-height:46px}.water-mobile .water-mobile-week>summary{font-size:13px;min-height:46px}.water-mobile .water-page-undo:not(:empty){font-size:12px;line-height:1.6}.water-mobile .water-page-undo button{font-size:12px;min-height:40px}.water-mobile .water-mobile-settings{border-radius:var(--module-radius)}.water-mobile .water-mobile-settings p{font-size:13px;line-height:1.7}
.supplements-native .supplement-native-tabs button{font-size:14px}.supplement-week small{font-size:11px;color:#b6c3cf}.supplement-week strong{font-size:17px}.supplements-native .supplement-native-summary>strong{font-size:20px}.supplements-native .supplement-native-summary p{font-size:12px;line-height:1.6}.supplements-native .supplement-slot-heading{font-size:16px;margin:20px 0 9px}.supplements-native .supplement-row{border-radius:var(--module-radius);margin:9px 0}.supplements-native .supplement-check{padding-top:15px;padding-bottom:15px;min-height:80px}.supplements-native .supplement-check strong{color:#f2f6fa;font-size:17px;font-weight:650}.supplements-native .supplement-check small{color:var(--muted);font-size:12px;line-height:1.65}.supplements-native .supplement-row.is-taken .supplement-check strong{color:#e4edf4}.supplements-native .water-supplement{padding-bottom:15px;gap:8px}.supplements-native .water-supplement button{font-size:13px;min-height:44px;border:1px solid #71cfff35;border-radius:12px}.supplements-native .water-supplement small{font-size:11px;line-height:1.7}.supplements-native .supplement-native-manage{font-size:14px;min-height:48px;margin-top:10px}.supplements-native .supplement-help{border-radius:14px}.supplements-native .supplement-help summary{font-size:13px;min-height:48px}.supplements-native .supplement-help p{font-size:13px;line-height:1.75}.supplements-native .supplement-native-library-card{border-radius:var(--module-radius);padding-top:16px;padding-bottom:16px}.supplements-native .supplement-native-library-card h2{font-size:17px;color:#f2f6fa}.supplements-native .supplement-native-library-card small{font-size:12px;line-height:1.7}.supplements-native .supplement-native-library-heading p{font-size:13px}.supplements-native .supplement-native-water{font-size:12px}.supplements-native .supplement-archive-row>button{font-size:12px;min-height:44px}.supplements-native .supplement-archive-row small{font-size:12px}.supplements-native .supplement-restore-date>summary{font-size:12px;min-height:40px}.supplements-native .supplement-archive>p{font-size:12px;line-height:1.7}.supplements-native .supplement-editor label{font-size:13px;line-height:1.6}.supplements-native .supplement-editor label>small{font-size:12px}.supplements-native .supplement-editor .supplement-actions button{font-size:14px;min-height:48px;border-radius:14px}.supplements-native .supplement-reminder-settings p{font-size:12px;line-height:1.75}.supplements-native .supplement-native-settings p{font-size:13px;line-height:1.7}
/* Respect the visible viewport for modal panels when the keyboard takes space. */
:is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet).nutrition-native-sheet{max-height:min(88dvh,calc(var(--visible-viewport-height,100dvh) - 16px));border-radius:24px 24px 0 0}
body.keyboard-open :is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet){bottom:var(--visible-viewport-bottom,0px)}
:is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet).nutrition-native-sheet .nutrition-sheet-heading{padding:0 20px 16px;gap:12px}
:is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet) .nutrition-sheet-heading h2{font-size:23px;line-height:1.3}
:is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet) .nutrition-sheet-heading p{font-size:13px;line-height:1.6}
:is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet).nutrition-native-sheet .nutrition-sheet-content{max-height:none;min-height:0;padding:14px 20px max(18px,env(safe-area-inset-bottom));scroll-padding-block:18px 80px}
:is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet) .nutrition-sheet-close{width:44px;min-height:44px;border-radius:12px}
:is(.water-drink-sheet,.supplement-correction-sheet) form>button[type=submit]{position:sticky;bottom:0;z-index:2;min-height:48px;font-size:14px;border-radius:14px;box-shadow:0 7px 0 7px #1b222b;margin-bottom:7px}
:is(.water-drink-sheet,.supplement-correction-sheet) form>button[data-supplement-correction-close],.water-drink-sheet #water-mobile-custom-cancel{font-size:13px;min-height:44px}
:is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet) :is(.water-drink-note,.water-shortcut-note,.supplement-correction-hint){font-size:12px;line-height:1.75}
.water-shortcut-sheet .water-shortcut-edit-row strong{font-size:14px}.water-shortcut-sheet .water-shortcut-edit-row small{font-size:12px}.water-shortcut-sheet .water-shortcut-presets button{font-size:13px;min-height:44px}.water-shortcut-sheet #water-shortcut-save{min-height:48px;font-size:14px;border-radius:14px}
@media(max-width:350px){:is(.water-mobile-heading,.supplement-native-header){gap:8px}:is(.water-mobile-heading,.supplement-native-header) h1{font-size:22px}.water-mobile .water-hero{padding:15px 12px}.water-mobile .water-hero-body{grid-template-columns:86px minmax(0,1fr);gap:10px}.water-mobile .water-glass{width:86px;height:122px}.water-mobile #water-page-total{font-size:27px}.water-mobile #water-page-target,.water-mobile #water-page-caption{font-size:12px}.water-mobile .water-total-label,.water-mobile #water-page-plain{font-size:11px}.water-mobile .water-shortcut strong{font-size:13px}.water-mobile .water-shortcut>span:not(.water-shortcut-plus){font-size:16px}.supplements-native .supplement-native-tabs button{font-size:13px}.supplement-week small{font-size:10px}.supplements-native .supplement-check strong{font-size:16px}.supplements-native .water-supplement{padding-left:16px}:is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet).nutrition-native-sheet .nutrition-sheet-content{padding-left:16px;padding-right:16px}:is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet) .nutrition-sheet-heading h2{font-size:21px}}
@media(max-height:500px){:is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet) .nutrition-sheet-handle{margin:8px auto 10px}:is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet).nutrition-native-sheet .nutrition-sheet-heading{padding-bottom:11px}:is(.water-drink-sheet,.water-shortcut-sheet,.supplement-correction-sheet) .nutrition-sheet-heading h2{font-size:20px}}
