/* Scoped to the standalone water page; home visuals intentionally remain unchanged. */
.water-mobile-active .app>header,.water-mobile-active #guest-notice{display:none!important}.water-mobile-active .app{padding-top:max(16px,env(safe-area-inset-top))}.water-mobile{--water:#71cfff;--water-soft:#71cfff12}.water-mobile [hidden]{display:none!important}.water-mobile svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.water-mobile-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.water-mobile-heading h1{font-size:26px;line-height:1.2;margin:0;letter-spacing:-.035em}.water-mobile-back{display:flex;align-items:center;gap:4px;padding:6px 0;min-height:44px;border:0;background:none;color:var(--ink);font-size:12px}.water-native-gear{display:grid;place-items:center;border:1px solid var(--line);border-radius:13px;width:43px;min-height:43px;padding:0;background:var(--surface);color:var(--ink)}.water-mobile-guest{border:1px solid var(--line);border-radius:18px;padding:7px 10px;min-height:32px;margin:-4px 0 16px;background:var(--surface);color:var(--muted);font-size:10px}.water-mobile .water-page-date{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:0;border:1px solid var(--line);background:var(--surface);border-radius:14px;overflow:hidden;margin:0 0 15px}.water-mobile .water-page-date>button{border:0;border-radius:0;min-height:45px;background:none;display:grid;place-items:center;color:var(--ink)}.water-mobile .water-page-date>label{position:relative;min-height:45px;display:grid;place-items:center;margin:0;overflow:hidden}.water-mobile .water-page-date>label>span{font-size:12px;color:var(--ink);margin:0;line-height:1.5}.water-mobile .water-page-date input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.water-mobile .water-hero{padding:0;margin:0 0 20px;border:0;background:none;box-shadow:none;border-radius:0;overflow:visible}.water-mobile .water-hero:before,.water-mobile .water-hero:after{display:none}.water-mobile .water-hero-body{display:flex;flex-direction:column;align-items:center;gap:3px;padding:0;text-align:center}.water-mobile .water-glass{width:152px;height:198px;flex:0 0 198px;margin:0 auto 0}.water-mobile .water-glass>svg{width:100%;height:100%;stroke-width:1;fill:initial;stroke:initial}.water-mobile .water-glass-outline{stroke:#c4e8fa;stroke-width:1.15}.water-mobile .water-glass-reflection{stroke:#effbff;stroke-width:2;stroke-opacity:.48}.water-mobile .water-glass-rim{stroke:#c4e8fa;stroke-width:1;stroke-opacity:.7}.water-mobile .water-mobile-amount{display:grid;justify-items:center;gap:6px}.water-mobile #water-page-total{display:block;font-size:34px;line-height:1.2;letter-spacing:-.04em;white-space:nowrap;font-weight:750;color:var(--ink)}.water-mobile #water-page-target{font-size:13px;color:var(--muted)}.water-mobile #water-page-caption{font-size:13px;color:var(--water);line-height:1.5;margin:3px 0 0}.water-mobile .water-add-section{margin:0 0 17px}.water-mobile .water-page-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0}.water-mobile .water-page-quick button{display:flex;justify-content:center;align-items:baseline;gap:3px;min-height:49px;padding:13px 6px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--ink);font-size:15px;font-weight:650}.water-mobile .water-page-quick button small{font-size:12px;font-weight:500}.water-mobile .water-page-quick button.is-primary{background:var(--water);color:#092333;border-color:var(--water)}.water-mobile .water-custom-open{display:block;min-height:42px;padding:9px;margin:4px auto 0;background:none;border:0;color:var(--water);font-size:12px;text-align:center;text-decoration:underline;text-underline-offset:4px}.water-mobile .water-page-undo:not(:empty){display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 12px;margin:6px 0 0;border:1px solid var(--line);border-radius:12px;background:var(--surface);min-height:44px;color:var(--muted);font-size:11px}.water-mobile .water-page-undo button{min-height:32px;background:none;border:0;color:var(--water);font-size:11px;padding:5px 0}.water-mobile .water-section-heading{margin:0 0 13px;display:flex;align-items:baseline;justify-content:space-between;gap:10px}.water-mobile .water-section-heading h2{font-size:17px;margin:0}.water-mobile #water-page-journal-count{font-size:11px;color:var(--muted)}.water-mobile #water-page-history{border:1px solid var(--line);background:var(--surface);border-radius:16px;overflow:visible}.water-mobile #water-page-history:has(.water-journal-empty){background:none;border:0}.water-mobile .water-journal-row{display:flex;align-items:center;gap:12px;padding:11px 14px;min-height:56px;border:0;border-bottom:1px solid var(--line);margin:0;border-radius:0;background:none}.water-mobile .water-journal-row:last-child{border-bottom:0}.water-mobile .water-journal-icon{width:22px;height:25px;flex:0 0 22px;border:0;background:none;color:var(--water)}.water-mobile .water-journal-icon svg{width:20px;height:23px;fill:#71cfff22}.water-mobile .water-journal-row>strong{font-size:14px;color:var(--ink);white-space:nowrap}.water-mobile .water-journal-row time{font-size:11px;color:var(--muted)}.water-mobile-row-actions{position:relative;margin-left:auto}.water-mobile-row-actions>summary{display:grid;place-items:center;list-style:none;width:35px;min-height:35px;cursor:pointer;color:var(--muted);font-size:22px;line-height:1}.water-mobile-row-actions>summary::-webkit-details-marker{display:none}.water-mobile-row-actions>button{position:absolute;z-index:3;right:0;top:35px;white-space:nowrap;border:1px solid var(--line);border-radius:10px;padding:10px 13px;min-height:44px;background:#242c36;color:#ffaca8;font-size:12px;box-shadow:0 7px 18px #0004}.water-mobile .water-show-all{width:100%;border:0;background:none;min-height:43px;color:var(--water);font-size:12px;margin:0}.water-mobile .water-journal-empty{padding:18px 10px;text-align:center}.water-mobile .water-journal-empty strong{font-size:13px;color:var(--muted)}.water-mobile .water-journal-empty p{font-size:12px;line-height:1.6}.water-mobile-week{margin:12px 0 0}.water-mobile-week>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;cursor:pointer;color:var(--water);font-size:12px;list-style:none}.water-mobile-week>summary svg{width:15px;height:15px;transition:transform .2s}.water-mobile-week[open]>summary svg{transform:rotate(90deg)}.water-mobile-settings{margin-top:13px}.water-mobile-settings>summary{display:none}.water-mobile-settings[open]{padding:17px;border:1px solid var(--line);background:var(--surface);border-radius:18px}.water-mobile-settings .water-page-form-panel{margin:0 0 14px;padding:0;background:none;border:0}.water-mobile-settings .water-page-form-panel>summary{font-size:14px;min-height:42px}.water-mobile-settings .water-page-form-panel label{font-size:13px}.water-mobile-settings .water-page-form-panel input{font-size:16px}.water-mobile-settings p{font-size:12px;line-height:1.7;color:var(--muted)}.water-mobile-settings #water-page-sync{width:100%;min-height:44px;height:auto;padding:10px;font-size:13px;border-radius:12px;color:var(--water)}.water-mobile-settings .water-page-help{margin:14px 0 0;border:0;background:none;padding:0}.water-mobile .water-page-progress.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%)}
@media(max-width:350px){.water-mobile .water-glass{width:132px;height:172px;flex-basis:172px}.water-mobile #water-page-total{font-size:30px}.water-mobile .water-page-quick{gap:7px}.water-mobile .water-page-quick button{font-size:14px;padding:12px 4px}.water-mobile .water-journal-row{padding:10px 11px;gap:9px}}@media(max-height:500px) and (orientation:landscape){.water-mobile .water-glass{height:143px;width:110px;flex-basis:143px}}@media(prefers-reduced-motion:reduce){.water-mobile-week>summary svg{transition:none}}

.water-mobile .water-page-quick button{flex-direction:row;text-align:center}.water-mobile-row-actions>summary{min-height:40px}

.water-mobile-status{font-size:11px;line-height:1.6;color:var(--muted);padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin:0 0 14px}

/* v218: compact mobile hierarchy; shared home card and glass stay untouched. */
.water-mobile-heading{margin-bottom:14px}
.water-mobile .water-page-date{margin-bottom:14px;border-radius:16px;background:#ffffff04}
.water-mobile .water-hero{margin-bottom:18px;padding:18px 16px;border:1px solid #71cfff20;border-radius:24px;background:radial-gradient(ellipse at 18% 50%,#71cfff12,transparent 70%),#ffffff02}
.water-mobile .water-hero-body{display:grid;grid-template-columns:116px minmax(0,1fr);gap:16px;text-align:left;align-items:center}
.water-mobile .water-glass{width:116px;height:154px;min-width:0;margin:0;filter:drop-shadow(0 7px 16px #71cfff0c)}
.water-mobile .water-mobile-amount{justify-items:start;gap:9px;min-width:0}
.water-mobile #water-page-total{font-size:32px;font-variant-numeric:tabular-nums;letter-spacing:-.045em}
.water-mobile #water-page-target{font-size:12px;line-height:1.5}
.water-mobile #water-page-caption{font-size:12px;line-height:1.65;margin:0;max-width:23ch}
.water-mobile .water-add-section{margin-bottom:16px}
.water-mobile .water-custom-open{width:100%;margin:10px 0 0;min-height:46px;border:1px solid #71cfff30;border-radius:14px;background:#71cfff08;font-size:13px;font-weight:600;text-decoration:none}
.water-mobile .water-page-journal{margin-top:18px;padding-top:18px;border-color:#ffffff0d}
.water-mobile .water-section-heading{margin-bottom:11px}
.water-mobile .water-section-heading h2{font-size:16px}
.water-mobile #water-page-history{border-radius:18px;background:#ffffff03}
.water-mobile .water-journal-row{min-height:58px}
.water-mobile .water-mobile-guest{margin-bottom:12px;background:none;font-size:11px}
@media(max-width:350px){.water-mobile .water-hero{padding:15px 12px}.water-mobile .water-hero-body{grid-template-columns:90px minmax(0,1fr);gap:12px}.water-mobile .water-glass{width:90px;height:125px}.water-mobile #water-page-total{font-size:27px}.water-mobile #water-page-caption{font-size:11px}}

/* Fluid entry and linked supplement controls. */
.water-drink-row{display:grid;gap:3px}.water-drink-row strong{font-size:14px}.water-drink-row small{font-size:11px;color:var(--muted)}
.water-drink-types{display:flex;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:0 0 16px}.water-drink-types legend{font-size:13px;margin-bottom:10px}.water-drink-types label{position:relative;margin:0}.water-drink-types input{position:absolute;opacity:0;width:1px;height:1px}.water-drink-types span{display:grid;place-items:center;min-height:44px;padding:8px 13px;border:1px solid var(--line);border-radius:12px;color:var(--muted);font-size:13px}.water-drink-types input:checked+span{color:#9ee4ff;border-color:#71cfff;background:#71cfff15}.water-drink-types input:focus-visible+span{outline:2px solid #71cfff;outline-offset:3px}.water-drink-note{font-size:12px;color:var(--muted);line-height:1.6}.water-supplement{padding:0 14px 14px;display:grid;gap:8px}.water-supplement button{min-height:44px;color:#9ee4ff;border-color:#71cfff35}.water-supplement small,.water-supplement p{font-size:11px;color:var(--muted);line-height:1.6;margin:0}.water-mobile .water-glass{filter:drop-shadow(0 9px 12px #50b9ee16)}

.water-drink-sheet{--water:#71cfff}.water-drink-sheet #water-page-custom{display:block!important;border:0;background:none;padding:0;margin:0}.water-drink-sheet #water-page-custom>summary{display:none}.water-drink-sheet form{margin:0}.water-drink-sheet input[name=ml]{font-size:30px;text-align:center;font-variant-numeric:tabular-nums;min-height:64px}.water-drink-sheet button.primary{background:#71cfff;color:#092333;border-color:#71cfff}.water-drink-sheet .water-drink-types label{flex:1 0 27%;}.water-drink-sheet .water-drink-types span{padding:10px}.water-drink-sheet .nutrition-sheet-content{max-height:65dvh}.water-drink-sheet form>label{font-size:13px;color:var(--muted)}.water-drink-sheet form>button{width:100%;min-height:48px;margin-top:12px}.water-drink-sheet form>label>input{width:100%;margin-top:8px}.water-drink-sheet .water-drink-types input{min-height:0;margin:0}

.water-total-label{font-size:11px;color:var(--muted);line-height:1.4}.water-mobile #water-page-plain{font-size:11px;color:var(--muted);line-height:1.5}.water-mobile .water-mobile-amount{gap:7px}

.water-drink-stepper{display:flex;align-items:center;gap:8px;margin-top:8px}.water-drink-sheet .water-drink-stepper input{min-width:0;width:100%;margin:0;font-size:27px}.water-drink-stepper button{flex:0 0 44px;min-height:54px;padding:0;border:1px solid var(--line);border-radius:12px;background:#ffffff04;color:#9ee4ff;font-size:24px}
