:root{--surface-canvas:#f8f7f2;--surface-card:#fffefa;--surface-raised:#fff;--surface-soft:#fbfcf9;--surface-muted:#f8faf6;--surface-brand:#eef3e9;--surface-brand-strong:#e5efe3;--surface-warm:#f8f0e3;--surface-warm-strong:#f0e9d9;--surface-rose:#fae4dd;--surface-violet:#f0f0f8;--surface-translucent:#fffefabf;--surface-translucent-strong:#fffefaf5;--border-subtle:#e9eee7;--border-default:#dfe7dc;--border-emphasis:#b5cbaa;--text-primary:#26392e;--text-heading:#304536;--text-secondary:#476c51;--text-muted:#7c887e;--text-quiet:#9ba69d;--text-on-accent:#fff;--accent-primary:#5b8062;--accent-strong:#345a3f;--accent-soft:#7fa987;--accent-cool:#8da9b2;--accent-violet:#9aa2c4;--accent-gold:#dfb678;--accent-orange:#c79f78;--accent-rose:#d99c92;--accent-danger:#9b674d;--shadow-soft:#19281c1f;--shadow-strong:#19281c38;--shadow-trace:#31443209;--overlay-backdrop:#1f302494;--overlay-subtle:#1c2b1f6b}:root[data-theme=dark]{--surface-canvas:#26241e;--surface-card:#22251f;--surface-raised:#1c211c;--surface-soft:#252a22;--surface-muted:#232920;--surface-brand:#253024;--surface-brand-strong:#2a392a;--surface-warm:#30291f;--surface-warm-strong:#3a3022;--surface-rose:#352621;--surface-violet:#292936;--surface-translucent:#22251fbf;--surface-translucent-strong:#22251ff5;--border-subtle:#30392f;--border-default:#3b4639;--border-emphasis:#6b8969;--text-primary:#dce6da;--text-heading:#d0dfd1;--text-secondary:#b9cdbb;--text-muted:#a7b5a8;--text-quiet:#94a195;--text-on-accent:#1c211c;--accent-primary:#a9c9ac;--accent-strong:#c3d9c4;--accent-soft:#8faf92;--accent-cool:#9abcc6;--accent-violet:#b2b9df;--accent-gold:#d6ac6d;--accent-orange:#d2a881;--accent-rose:#d9a29a;--accent-danger:#d7a384;--shadow-soft:#0003;--shadow-strong:#00000061;--shadow-trace:#00000009;--overlay-backdrop:#000000a6;--overlay-subtle:#0000007a}@font-face{font-family:DM Sans;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/dm-sans-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/dm-sans-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text-primary);background:var(--surface-canvas);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:DM Sans,ui-sans-serif,system-ui,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:radial-gradient(circle at 0 0, var(--surface-brand) 0, transparent 29rem), radial-gradient(circle at 100% 18%, var(--surface-warm) 0, transparent 27rem), var(--surface-canvas);min-width:320px;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.58;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--border-emphasis);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--text-primary)}h1,h2{letter-spacing:-.035em;font-family:Georgia,Times New Roman,serif;font-weight:500}h3{font-weight:700}p{line-height:1.6}small{font-size:.8rem}.muted{color:var(--text-muted)}.eyebrow{color:var(--accent-primary);letter-spacing:.16em;align-items:center;gap:.38rem;font-size:.68rem;font-weight:800;display:inline-flex}.card{background:var(--surface-card);border:1px solid var(--border-default);box-shadow:0 9px 28px var(--shadow-trace), 0 1px 3px var(--shadow-trace);border-radius:22px}.brand{color:var(--text-heading);letter-spacing:-.045em;white-space:nowrap;align-items:center;gap:.12rem;font-family:Georgia,Times New Roman,serif;font-size:1.65rem;font-weight:700;display:inline-flex}.brand-mark{object-fit:cover;border-radius:12px;width:36px;height:36px;margin-right:.53rem;display:inline-block}.brand-dot{color:var(--accent-soft)}.brand-button{background:0 0;border:0;padding:0}.theme-toggle{border:1px solid var(--border-default);background:var(--surface-card);width:36px;height:36px;color:var(--accent-primary);cursor:pointer;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.theme-toggle:hover{background:var(--surface-brand);color:var(--accent-strong)}.global-theme-toggle{z-index:1100;box-shadow:0 4px 16px var(--shadow-soft);position:fixed;bottom:16px;left:16px}:root[data-theme-dialog=open] .global-theme-toggle{display:none}body:has(.milestone-celebration) .global-theme-toggle{bottom:160px}.app-shell{flex-direction:column;min-height:100vh;display:flex}.topbar{background:var(--surface-translucent);border-bottom:1px solid var(--border-subtle);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:10;height:76px;position:sticky;top:0}.topbar-inner{justify-content:space-between;align-items:center;gap:24px;max-width:1220px;height:100%;margin:auto;padding:0 32px;display:flex}.topbar nav{border:1px solid var(--border-subtle);background:var(--surface-muted);border-radius:14px;align-items:center;gap:4px;padding:5px;display:flex}.topbar nav button{color:var(--text-muted);background:0 0;border:0;border-radius:10px;align-items:center;gap:8px;padding:9px 16px;font-size:.84rem;font-weight:700;display:flex}.topbar nav button:hover{color:var(--text-secondary)}.topbar nav button.active{background:var(--surface-raised);color:var(--text-secondary);box-shadow:0 1px 5px var(--border-default)}.user-avatar{border:2px solid var(--surface-raised);background:var(--border-default);width:36px;height:36px;box-shadow:0 0 0 1px var(--border-default);color:var(--text-secondary);border-radius:50%;place-items:center;font-weight:800;display:grid;overflow:hidden}.user-avatar img{object-fit:cover;width:100%;height:100%}.feedback-shortcut{border:1px solid var(--border-default);background:var(--surface-muted);width:36px;height:36px;color:var(--accent-primary);border-radius:50%;flex:none;place-items:center;display:grid}.feedback-shortcut:hover{background:var(--surface-brand)}.tour-shortcut{border:1px solid var(--border-default);background:var(--surface-card);width:36px;height:36px;color:var(--accent-primary);cursor:pointer;border-radius:50%;flex:none;place-items:center;display:grid}.tour-shortcut:hover{background:var(--surface-brand)}.content{flex:1;width:min(100%,1220px);margin:0 auto;padding:45px 32px 90px}.impersonation-banner{background:var(--surface-brand-strong);color:var(--accent-strong);flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 20px;padding:11px 24px;font-size:.86rem;font-weight:700;display:flex}.impersonation-banner button{color:var(--accent-strong);background:0 0;border:0;font-weight:800;text-decoration:underline}.admin-page .page-heading{align-items:center}.admin-metrics{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:28px;display:grid}.admin-metrics .card{flex-direction:column;gap:7px;padding:20px 24px;display:flex}.admin-metrics span{color:var(--text-muted);font-size:.78rem;font-weight:700}.admin-metrics strong{color:var(--accent-strong);font-family:Georgia,serif;font-size:2rem;font-weight:500}.admin-tabs{border-bottom:1px solid var(--border-default);gap:5px;margin-bottom:20px;display:flex}.admin-tabs button{color:var(--text-muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:12px 19px;font-weight:700}.admin-tabs button.selected{border-color:var(--accent-primary);color:var(--accent-strong)}.admin-panel{min-height:360px;padding:28px}.admin-panel-head{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.admin-panel-head h2{margin:0 0 5px;font-size:1.55rem}.admin-panel-head p{color:var(--text-muted);margin:0;font-size:.86rem}.admin-filters{gap:8px;display:flex}.admin-filters input,.admin-filters select{border:1px solid var(--border-default);background:var(--surface-raised);max-width:200px;color:var(--accent-strong);border-radius:10px;padding:9px 12px}.admin-user{border-top:1px solid var(--border-subtle);grid-template-columns:42px minmax(150px,1fr) 150px 95px auto;align-items:center;gap:14px;padding:16px 2px;display:grid}.admin-user-avatar{width:42px;height:42px;color:var(--text-secondary);background:var(--surface-brand-strong);border-radius:14px;place-items:center;font-weight:800;display:grid;overflow:hidden}.admin-user-avatar img{object-fit:cover;width:100%;height:100%}.admin-user-name,.admin-user-usage{flex-direction:column;min-width:0;display:flex}.admin-user-name strong,.admin-user-name small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.admin-user-name strong{font-size:.9rem}.admin-user-name small,.admin-user-usage small{color:var(--text-quiet);font-size:.72rem}.admin-user-usage strong{color:var(--accent-strong);font-size:1.25rem}.admin-credit-switch{white-space:nowrap;color:var(--accent-primary);align-items:center;gap:7px;font-size:.78rem;font-weight:700;display:flex}.admin-credit-switch input{accent-color:var(--accent-primary);width:17px;height:17px}.admin-outline-button{border:1px solid var(--border-default);background:var(--surface-muted);color:var(--text-secondary);white-space:nowrap;border-radius:10px;padding:9px 12px;font-size:.78rem;font-weight:800}.admin-outline-button:hover{background:var(--surface-brand-strong)}.admin-history-entry,.admin-log-entry{border-top:1px solid var(--border-subtle);padding:15px 2px}.admin-history-entry summary,.admin-log-entry summary{cursor:pointer;justify-content:space-between;align-items:center;gap:15px;list-style:none;display:flex}.admin-history-entry summary>span:first-child{flex-direction:column;min-width:0;display:flex}.admin-history-entry summary strong,.admin-log-message{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.admin-history-entry summary small,.admin-log-entry time{color:var(--text-quiet);font-size:.72rem}.admin-status{background:var(--surface-brand-strong);color:var(--text-secondary);white-space:nowrap;border-radius:20px;padding:5px 10px;font-size:.72rem}.admin-status.error,.admin-severity.error{background:var(--surface-rose);color:var(--accent-danger)}.admin-history-detail{grid-template-columns:1fr 1fr;gap:12px;padding:16px 0 4px;display:grid}.admin-history-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-muted);border-radius:9px;max-height:300px;padding:12px;font-size:.73rem;line-height:1.5;overflow:auto}.admin-history-detail>small{color:var(--text-muted);grid-column:1/-1}.admin-log-entry summary{justify-content:flex-start}.admin-severity{color:var(--accent-primary);flex:0 0 80px;font-size:.7rem;font-weight:800}.admin-severity.warning{color:var(--accent-orange)}.admin-log-message{flex:1;font-size:.82rem}.admin-log-entry>div{color:var(--text-quiet);margin:9px 0 0 80px;font-size:.75rem}.admin-denied{max-width:500px;padding:35px}@media (width<=850px){.admin-user{grid-template-columns:42px 1fr auto}.admin-user-usage{grid-column:2}.admin-credit-switch{grid-area:1/3}.admin-user .admin-outline-button{grid-area:2/3}.admin-panel-head{flex-wrap:wrap}}@media (width<=600px){.admin-metrics{grid-template-columns:repeat(3,1fr);gap:7px}.admin-metrics .card{padding:14px 10px}.admin-metrics strong{font-size:1.45rem}.admin-metrics span{font-size:.65rem}.admin-panel{padding:18px}.admin-page .date-chip{display:none}.admin-history-detail{grid-template-columns:1fr}.admin-user{grid-template-columns:34px minmax(0,1fr) auto;gap:8px}.admin-user-avatar{width:34px;height:34px}.admin-log-entry time{display:none}}.page-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:30px;display:flex}.page-heading h1{margin:10px 0 9px;font-size:clamp(2.25rem,4vw,3.5rem);line-height:1.1}.page-heading p{color:var(--text-muted);margin:0}.heading-period{color:var(--accent-soft)}.date-chip,.period-pill{white-space:nowrap;border:1px solid var(--border-default);background:var(--surface-card);color:var(--accent-primary);border-radius:100px;align-items:center;gap:8px;padding:10px 16px;font-size:.82rem;font-weight:700;display:flex}.dashboard-grid{grid-template-columns:minmax(0,1.67fr) minmax(280px,1fr);align-items:stretch;gap:22px;display:grid}.hydration-card{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:28px;margin-top:16px;padding:18px 24px;display:flex}.hydration-copy{gap:3px;display:grid}.hydration-copy strong{color:var(--accent-strong);font-size:1.24rem}.hydration-copy strong small{color:var(--text-quiet);font-size:.8rem;font-weight:500}.hydration-copy .muted{font-size:.74rem}.hydration-actions{justify-items:end;gap:7px;width:min(38%,280px);display:grid}.hydration-track{background:var(--border-subtle);border-radius:8px;width:100%;height:7px;overflow:hidden}.hydration-track span{border-radius:inherit;background:var(--accent-soft);height:100%;transition:width .3s;display:block}.hydration-actions .manual-link{padding:4px 0}.hydration-quick{border-top:1px solid var(--border-subtle);gap:8px;width:100%;padding-top:12px;display:grid}.hydration-quick>.muted{font-size:.72rem}.hydration-quick-list{flex-wrap:wrap;gap:7px;display:flex}.hydration-quick-list button{border:1px solid var(--border-default);background:var(--surface-muted);color:var(--text-secondary);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:5px;padding:7px 10px;font-size:.75rem;display:inline-flex}.hydration-quick-list button:hover{background:var(--surface-brand)}.hydration-quick-list button:disabled{cursor:wait;opacity:.6}.hydration-quick-list small{color:var(--text-quiet)}.fluid-toggle{color:var(--text-secondary);cursor:pointer;align-items:center;gap:9px;margin:14px 0 6px;font-size:.83rem;display:flex}.fluid-toggle input{accent-color:var(--accent-primary)}.composer{min-width:0;padding:27px 29px 24px}.composer-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.composer h2{margin:14px 0 6px;font-size:2rem}.composer>.muted{margin-bottom:20px;font-size:.88rem}.manual-link,.quiet-button{color:var(--accent-primary);background:0 0;border:0;font-size:.8rem;font-weight:700}.manual-link{text-decoration:underline;-webkit-text-decoration-color:var(--border-default);text-decoration-color:var(--border-default);text-underline-offset:4px;align-items:center;gap:7px;display:flex}.entry-box{border:1px solid var(--border-default);background:var(--surface-soft);border-radius:15px;transition:border-color .2s,box-shadow .2s;overflow:hidden}.entry-box:focus-within{border-color:var(--border-emphasis);box-shadow:0 0 0 3px var(--surface-brand-strong)}.photo-drop-overlay{z-index:90;background:var(--shadow-strong);pointer-events:none;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.photo-drop-target{border:2px dashed var(--accent-soft);background:var(--surface-card);width:min(100%,620px);min-height:260px;color:var(--accent-primary);text-align:center;box-shadow:0 18px 50px var(--shadow-soft);border-radius:24px;align-content:center;justify-items:center;gap:14px;padding:32px;display:grid}.photo-drop-target strong{color:var(--text-heading);font-size:clamp(1.45rem,3vw,2.1rem)}.photo-drop-target span{color:var(--text-muted);font-size:.87rem}.entry-box textarea{resize:vertical;width:100%;min-height:122px;color:var(--text-primary);background:0 0;border:0;outline:0;padding:19px 20px 10px;font-size:.97rem;line-height:1.5;display:block}.entry-box textarea::placeholder{color:var(--text-quiet)}.entry-actions{justify-content:space-between;align-items:center;gap:15px;padding:10px 12px 12px 15px;display:flex}.entry-tools{gap:2px;display:flex}.tool-button{color:var(--text-muted);background:0 0;border:0;border-radius:9px;align-items:center;gap:8px;padding:9px 10px;font-size:.8rem;font-weight:700;display:flex}.tool-button:hover{background:var(--surface-brand)}.tool-button.listening{background:var(--surface-rose);color:var(--accent-danger);animation:1s infinite pulse}.photo-entry-options{flex-wrap:wrap;gap:8px;padding:0 15px 13px;display:flex}.photo-entry-options button{border:1px solid var(--border-default);background:var(--surface-muted);min-height:38px;color:var(--text-secondary);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:.78rem;font-weight:700;display:inline-flex}.photo-entry-options button:hover,.photo-entry-options button:focus-visible{border-color:var(--accent-soft);background:var(--surface-brand)}.primary-button{border:1px solid var(--accent-primary);background:var(--accent-primary);min-height:44px;color:var(--text-on-accent);box-shadow:0 5px 13px var(--shadow-soft);border-radius:11px;justify-content:center;align-items:center;gap:10px;padding:10px 17px;font-size:.84rem;font-weight:800;transition:transform .15s,background .15s;display:inline-flex}.primary-button:hover:not(:disabled){background:var(--accent-primary);transform:translateY(-1px)}.primary-button.full{width:100%;margin-top:20px}.image-preview{background:var(--surface-brand);color:var(--accent-primary);border-radius:10px;align-items:center;gap:10px;margin:0 16px;padding:8px;font-size:.75rem;font-weight:700;display:flex}.image-preview img{object-fit:cover;border-radius:7px;width:40px;height:40px}.image-preview button{color:var(--text-secondary);background:0 0;border:0;margin-left:auto;padding:3px}.question-box,.result-box{border:1px solid var(--border-default);background:var(--surface-muted);border-radius:15px;margin-top:20px;padding:17px}.question-box strong{margin:10px 0 13px;font-size:.97rem;display:block}.question-row{gap:8px;display:flex}.question-row input{border:1px solid var(--border-default);background:var(--surface-raised);border-radius:9px;flex:1;min-width:0;padding:10px 12px}.result-top{gap:16px;display:flex}.result-summary{justify-content:space-between;align-items:flex-end;gap:15px;display:flex}.result-summary h3{margin:6px 0 0;font-family:Georgia,Times New Roman,serif;font-size:1.45rem;font-weight:500}.result-summary>strong{color:var(--text-secondary);white-space:nowrap}.result-hint{margin:9px 0 0;font-size:.77rem}.result-item{border-top:1px solid var(--border-default);margin-top:18px;padding-top:18px}.result-item-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px;display:grid}.result-item-options .field select{background:var(--surface-raised);min-height:37px;padding:7px 9px}.remove-result{color:var(--text-muted);margin-top:13px;padding:0;text-decoration:none}.result-food-photo{border-radius:12px;width:82px;height:82px}.result-top h3{margin:5px 0 2px}.result-top p{color:var(--text-muted);margin:0;font-size:.8rem}.confidence{color:var(--accent-primary);margin-top:5px;font-size:.68rem;font-weight:700;display:inline-block}.food-photo{flex:none;position:relative}.food-photo-button{border-radius:inherit;cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0;display:block;position:relative}.food-photo-button img{display:block}.crop-image-frame{border-radius:inherit;background:var(--surface-brand);width:100%;height:100%;position:relative;overflow:hidden}.crop-image-frame img{pointer-events:none;-webkit-user-select:none;user-select:none;max-width:none;position:absolute}.crop-image-interactive{cursor:grab;touch-action:none}.crop-image-interactive:active{cursor:grabbing}.photo-edit-dialog{width:min(100%,500px)}.photo-edit-dialog>.muted{margin:-8px 0 15px;font-size:.82rem}.photo-crop-preview{aspect-ratio:1;background:var(--surface-brand);border-radius:16px;width:min(100%,330px);margin:0 auto;overflow:hidden}.photo-zoom-row{align-items:center;gap:12px;max-width:330px;margin:16px auto 18px;display:flex}.photo-zoom-row button{border:1px solid var(--border-default);background:var(--surface-muted);width:34px;height:34px;color:var(--text-secondary);cursor:pointer;border-radius:10px}.photo-zoom-row input{accent-color:var(--accent-primary);flex:1}.photo-source-actions{flex-wrap:wrap;gap:9px 17px;margin-bottom:18px;display:flex}.photo-source-actions button{align-items:center;gap:6px;padding:2px 0;display:inline-flex}.photo-search-choices{border:1px solid var(--border-default);background:var(--surface-muted);border-radius:15px;margin:-2px 0 18px;padding:15px}.photo-search-form label{color:var(--text-secondary);margin-bottom:7px;font-size:.76rem;font-weight:700;display:block}.photo-search-form>div{gap:8px;display:flex}.photo-search-form input{border:1px solid var(--border-default);background:var(--surface-raised);min-width:0;color:var(--text-primary);font:inherit;border-radius:9px;flex:1;padding:10px 11px}.photo-search-form button{border:1px solid var(--accent-primary);background:var(--accent-primary);color:var(--text-on-accent);cursor:pointer;border-radius:9px;padding:0 13px;font-weight:700}.photo-search-form button:disabled{opacity:.55;cursor:default}.photo-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:345px;margin-top:13px;display:grid;overflow-y:auto}.photo-choice{background:var(--surface-raised);min-width:0;color:var(--text-heading);cursor:pointer;text-align:left;border:2px solid #0000;border-radius:11px;padding:5px;position:relative}.photo-choice:hover,.photo-choice:focus-visible,.photo-choice.selected{border-color:var(--accent-primary)}.photo-choice img,.photo-choice-unavailable{aspect-ratio:1;object-fit:cover;border-radius:7px;width:100%;display:block}.photo-choice-unavailable{background:var(--surface-brand);color:var(--text-muted);text-align:center;place-items:center;font-size:.72rem;display:grid}.photo-choice-title{white-space:nowrap;text-overflow:ellipsis;padding:5px 2px 1px;font-size:.7rem;display:block;overflow:hidden}.photo-choice-check{background:var(--accent-primary);width:23px;height:23px;color:var(--text-on-accent);border-radius:50%;place-items:center;display:grid;position:absolute;top:10px;right:10px}.photo-search-hint{color:var(--text-muted);margin:11px 0 0;font-size:.72rem;line-height:1.4}@media (width<=480px){.photo-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.food-photo-icon{border:1px solid var(--border-default);background:var(--surface-translucent-strong);width:27px;height:27px;color:var(--accent-primary);box-shadow:0 2px 8px var(--shadow-soft);opacity:0;border-radius:9px;place-items:center;transition:opacity .16s;display:grid;position:absolute;bottom:6px;right:6px}.food-photo-button:focus-visible .food-photo-icon,.food-photo-busy .food-photo-icon{opacity:1}@media (hover:hover){.food-photo-button:hover .food-photo-icon{opacity:1}}.food-photo-error{background:var(--surface-translucent-strong);color:var(--accent-danger);text-align:center;padding:4px;font-size:.59rem;line-height:1.15;position:absolute;inset:auto 0 0}.result-values{margin-top:17px}.result-actions{justify-content:flex-end;align-items:center;gap:12px;margin-top:18px;display:flex}.nutrient-inputs{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:8px;display:grid}.nutrient-inputs label{color:var(--text-muted);gap:5px;font-size:.7rem;font-weight:700;display:grid}.nutrient-inputs label span{border:1px solid var(--border-default);background:var(--surface-raised);color:var(--text-muted);border-radius:8px;align-items:center;gap:3px;padding:7px;display:flex}.nutrient-inputs input{width:100%;min-width:0;color:var(--text-heading);background:0 0;border:0;outline:0;font-size:.8rem;font-weight:700}.error-message{color:var(--accent-danger);margin:13px 0 0;font-size:.8rem}.kcal-card{flex-direction:column;align-items:center;padding:26px;display:flex}.kcal-title{justify-content:space-between;align-items:center;width:100%;display:flex}.kcal-icon{background:var(--surface-brand);width:36px;height:36px;color:var(--accent-primary);border-radius:50%;place-items:center;display:grid}.ring{border-radius:50%;place-items:center;width:184px;height:184px;margin:8px auto 18px;padding:13px;display:grid}.ring>div{background:var(--surface-card);border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.ring span{color:var(--text-quiet);letter-spacing:.16em;font-size:.61rem;font-weight:800}.ring strong{margin-top:5px;font-family:Georgia,Times New Roman,serif;font-size:2.8rem;font-weight:500;line-height:1}.ring small{color:var(--text-quiet);margin-top:4px;font-size:.77rem}.kcal-bottom{border-top:1px solid var(--border-subtle);text-align:center;grid-template-columns:1fr 1fr;width:100%;padding-top:18px;display:grid}.kcal-bottom>div{gap:4px;display:grid}.kcal-bottom>div+div{border-left:1px solid var(--border-subtle)}.kcal-bottom strong{font-size:1.06rem}.kcal-bottom span{color:var(--text-quiet);font-size:.7rem}.day-goal-label{justify-content:center;align-items:center;gap:2px;display:inline-flex}.day-goal-edit{width:24px;height:22px;color:var(--accent-soft);opacity:.65;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;margin:-4px -14px -4px 0;padding:0;display:inline-grid}.day-goal-edit:hover,.day-goal-edit:focus-visible{background:var(--surface-brand);opacity:1}.goal-progress{color:var(--accent-primary);text-align:center;margin:15px 0 0;font-size:.72rem;font-weight:700}.goal-over-note{max-width:270px;color:var(--accent-danger);text-align:center;margin:10px auto 0;font-size:.75rem;line-height:1.5}.kcal-card-over .goal-progress{color:var(--accent-danger)}.goal-override-note{max-width:100%;color:var(--text-quiet);text-align:center;overflow-wrap:anywhere;margin:6px 0 0;font-size:.68rem}.set-goal{color:var(--accent-primary);background:0 0;border:0;align-items:center;gap:5px;margin-top:17px;font-size:.75rem;font-weight:700;display:flex}.nutrient-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:17px;display:grid}.nutrient-card{padding:20px 20px 18px}.nutrient-card-over{border-color:var(--surface-rose);background:var(--surface-card)}.nutrient-card-over .nutrient-top,.nutrient-over-note{color:var(--accent-danger)}.nutrient-over-note,.nutrient-partial-note,.nutrient-reached-note{margin-top:7px;font-size:.67rem;display:block}.nutrient-partial-note{color:var(--text-quiet)}.nutrient-reached-note{color:var(--accent-primary)}.nutrient-top{color:var(--text-muted);justify-content:space-between;align-items:center;font-size:.77rem;font-weight:700;display:flex}.nutrient-dot{border-radius:50%;width:8px;height:8px}.nutrient-card strong{margin:14px 0 12px;font-size:1.38rem;font-weight:800;display:block}.nutrient-card strong small{color:var(--text-quiet);font-size:.77rem;font-weight:600}.track{background:var(--border-subtle);border-radius:100px;height:5px;overflow:hidden}.track div{border-radius:100px;height:100%}.nutrient-card>.muted{margin-top:10px;font-size:.66rem;display:block}.progress-section{display:contents}.progress-trigger{z-index:11;border:1px solid var(--border-default);background:linear-gradient(135deg, var(--surface-muted), var(--surface-brand-strong));height:48px;box-shadow:-4px 6px 20px var(--shadow-soft);color:var(--text-secondary);cursor:pointer;white-space:nowrap;border-right:0;border-radius:18px 0 0 18px;align-items:center;gap:7px;padding:0 11px 0 10px;display:flex;position:fixed;top:34vh;right:0}.progress-trigger:hover,.progress-trigger:focus-visible{background:var(--surface-brand-strong);box-shadow:-5px 8px 24px var(--shadow-soft)}.progress-trigger-mark{background:var(--surface-brand-strong);width:27px;height:27px;color:var(--text-secondary);border-radius:9px;place-items:center;display:grid}.progress-trigger-count{color:var(--text-secondary);font-variant-numeric:tabular-nums;font-size:.76rem;font-weight:800}.progress-trigger-copy{max-width:0;color:var(--accent-strong);opacity:0;font-size:.74rem;font-weight:700;transition:max-width .22s,opacity .18s;overflow:hidden}.progress-trigger:hover .progress-trigger-copy,.progress-trigger:focus-visible .progress-trigger-copy{opacity:1;max-width:130px}.progress-backdrop{z-index:49;background:var(--shadow-soft);cursor:pointer;border:0;position:fixed;inset:0}.progress-panel{z-index:50;background:var(--surface-canvas);width:min(440px,100vw);box-shadow:-16px 0 50px var(--shadow-soft);padding:28px 24px 36px;animation:.32s ease-out both progress-panel-in;position:fixed;inset:0 0 0 auto;overflow-y:auto}.progress-panel-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.progress-panel-header h2{margin:0;font-size:1.75rem}.progress-panel-header .icon-button{flex:none}.progress-grid{gap:12px;display:grid}.progress-card{background:linear-gradient(145deg, var(--surface-card), var(--surface-canvas));flex-direction:column;min-height:165px;padding:19px 20px 17px;display:flex;position:relative;overflow:hidden}.progress-card-steps{background:linear-gradient(145deg, var(--surface-card), var(--surface-brand))}.progress-card-yesterday{background:linear-gradient(145deg, var(--surface-card), var(--surface-warm))}.progress-art{object-fit:contain;pointer-events:none;width:102px;height:102px;animation:4s ease-in-out infinite progress-float;position:absolute;top:13px;right:10px}.progress-card-steps .progress-art{animation-delay:-1.2s}.progress-card-yesterday .progress-art{animation-delay:-2.1s}.progress-card-celebrating .progress-art{animation:.7s ease-out both progress-bloom,4s ease-in-out .7s infinite progress-float}.progress-card .eyebrow,.progress-value,.progress-card p{max-width:calc(100% - 104px);position:relative}.progress-card .eyebrow{font-size:.62rem}.progress-value{color:var(--text-heading);margin:12px 0 4px;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.36rem,2vw,1.85rem);line-height:1.12;display:block}.progress-card p{color:var(--text-muted);margin:0;font-size:.78rem;line-height:1.45}.progress-caption{color:var(--accent-primary);margin-top:auto;padding-top:10px;font-size:.72rem;font-weight:700;display:block}.progress-dots{gap:7px;margin:10px 0 0;display:flex}.progress-dots span{background:var(--border-default);border-radius:99px;width:21px;height:6px}.progress-dots .done{background:var(--accent-soft);animation:.45s ease-out both progress-fill}.milestone-gallery{margin-top:26px}.milestone-gallery h3{color:var(--text-heading);margin:0 0 12px;font-size:1.1rem}.milestone-gallery h4{color:var(--text-muted);margin:16px 0 8px;font-size:.8rem;font-weight:700}.milestone-gallery h3+h4{margin-top:0}.milestone-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.milestone-list-daily{grid-template-columns:repeat(3,minmax(0,1fr))}.milestone-list-daily .milestone-item{text-align:center;flex-direction:column;gap:2px}.milestone-list-daily .milestone-item img{width:72px;height:72px}.milestone-item{border:1px solid var(--border-default);background:var(--surface-card);border-radius:13px;align-items:center;gap:8px;min-width:0;padding:7px;display:flex}.milestone-item img{object-fit:contain;filter:grayscale(.55);opacity:.65;flex:none;width:54px;height:54px}.milestone-item-reached{border-color:var(--surface-warm-strong);background:var(--surface-warm)}.milestone-item-reached img{filter:none;opacity:1}.milestone-item span{min-width:0}.milestone-item strong,.milestone-item small{display:block}.milestone-item strong{color:var(--text-heading);font-size:.77rem}.milestone-item small{color:var(--text-muted);margin-top:2px;font-size:.66rem}.milestone-celebration{z-index:55;border:1px solid var(--surface-warm-strong);background:var(--surface-warm);width:min(390px,100vw - 32px);min-height:130px;box-shadow:0 17px 45px var(--shadow-soft);border-radius:20px;grid-template-columns:98px 1fr;align-items:center;gap:9px;padding:16px 36px 16px 12px;animation:.45s cubic-bezier(.2,1.4,.4,1) both milestone-pop;display:grid;position:fixed;bottom:24px;right:24px;overflow:hidden}.milestone-celebration>img{object-fit:contain;width:98px;height:98px;animation:.7s ease-out both progress-bloom;position:relative}.milestone-celebration-copy{gap:5px;display:grid;position:relative}.milestone-celebration-copy strong{color:var(--text-heading);font-family:Georgia,Times New Roman,serif;font-size:1.1rem}.milestone-celebration-copy span{color:var(--text-muted);font-size:.74rem;line-height:1.35}.milestone-celebration-copy button{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;justify-self:start;padding:2px 0;font-size:.74rem;font-weight:800;text-decoration:underline}.milestone-confetti{pointer-events:none;position:absolute;inset:0}.milestone-dismiss{background:var(--surface-warm-strong);width:24px;height:24px;color:var(--text-secondary);cursor:pointer;border:0;border-radius:8px;place-items:center;display:grid;position:absolute;top:12px;right:12px}.milestone-confetti i{background:var(--accent-gold);border-radius:2px;width:7px;height:11px;animation:1.5s ease-out both milestone-confetti;position:absolute;top:45%;left:25%}.milestone-confetti i:nth-child(2n){background:var(--accent-violet)}.milestone-confetti i:nth-child(3n){background:var(--accent-rose)}.milestone-confetti i:nth-child(2){--x:-70px;--y:-65px;--turn:140deg}.milestone-confetti i:nth-child(3){--x:35px;--y:-75px;--turn:210deg}.milestone-confetti i:nth-child(4){--x:130px;--y:-44px;--turn:300deg}.milestone-confetti i:nth-child(5){--x:-25px;--y:60px;--turn:150deg}.milestone-confetti i:nth-child(6){--x:105px;--y:55px;--turn:240deg}.milestone-confetti i:nth-child(7){--x:220px;--y:-25px;--turn:100deg}@keyframes progress-panel-in{0%{opacity:0;transform:translate(25px)}}@keyframes milestone-pop{0%{opacity:0;transform:translateY(18px)scale(.94)}}@keyframes milestone-confetti{to{transform:translate(var(--x,55px), var(--y,-40px)) rotate(var(--turn,180deg));opacity:0}}@keyframes progress-float{50%{transform:translateY(-4px)rotate(2deg)}}@keyframes progress-bloom{45%{transform:scale(1.08)rotate(-3deg)}}@keyframes progress-fill{0%{transform-origin:0;transform:scaleX(.3)}}.history-section{margin-top:50px}.suggestions-section{margin-top:43px}.suggestions-section .section-heading p{margin:6px 0 0;font-size:.75rem}.section-heading{justify-content:space-between;align-items:flex-end;margin-bottom:16px;display:flex}.section-heading h2{margin:8px 0 0;font-size:1.75rem}.suggestions-section .section-heading h2,.history-section .section-heading h2{margin-top:0}.history-count{color:var(--text-quiet);font-size:.78rem}.empty-state{text-align:center;padding:43px 20px}.empty-symbol{background:var(--surface-brand-strong);width:55px;height:55px;color:var(--accent-soft);border-radius:17px;place-items:center;margin:0 auto 15px;font-size:2rem;display:grid}.empty-state h3{margin-bottom:6px}.empty-state p{max-width:410px;color:var(--text-quiet);margin:0 auto;font-size:.83rem}.meal-list{gap:11px;display:grid}.meal-edit-moment{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:10px;display:grid}.time-picker{border:1px solid var(--border-default);background:var(--surface-soft);min-height:45px;color:var(--text-heading);font-variant-numeric:tabular-nums;border-radius:11px;align-items:center;gap:2px;padding:4px 10px;display:flex}.time-picker:focus-within{border-color:var(--accent-soft);box-shadow:0 0 0 3px var(--shadow-soft)}.time-picker select{width:auto;min-height:34px;color:inherit;font:inherit;appearance:none;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:2px 3px;font-size:.89rem;font-weight:700}.time-picker select:focus-visible{outline:2px solid var(--accent-soft);outline-offset:1px}.time-picker>span{font-size:.9rem;font-weight:700}.time-picker svg{width:17px;height:17px;color:var(--text-muted);flex:none;margin-left:auto}.meal-moment-presets{flex-wrap:wrap;gap:7px;margin-bottom:18px;display:flex}.meal-moment-presets button{border:1px solid var(--border-default);background:var(--surface-muted);color:var(--accent-primary);cursor:pointer;border-radius:100px;padding:6px 10px;font-size:.72rem}.meal-moment-presets button span{color:var(--text-quiet);margin-left:3px}.meal-moment-presets button:hover,.meal-moment-presets button.selected{border-color:var(--border-emphasis);background:var(--surface-brand);color:var(--text-secondary)}.days-toolbar{justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:18px 22px;display:flex}.days-month-controls,.days-month-summary{align-items:center;gap:14px;display:flex}.days-month-controls h2{text-align:center;text-transform:capitalize;min-width:170px;margin:0;font-size:1.3rem}.days-month-controls button{border:1px solid var(--border-default);background:var(--surface-muted);width:34px;height:34px;color:var(--text-secondary);border-radius:10px;place-items:center;display:grid}.days-month-controls button:first-child svg{transform:rotate(180deg)}.days-month-summary{color:var(--text-muted);font-size:.76rem}.days-month-summary strong{color:var(--text-secondary)}.days-layout{grid-template-columns:minmax(300px,400px) minmax(0,1fr);align-items:start;gap:24px;display:grid}.days-overview{scrollbar-color:var(--border-default) transparent;align-content:start;gap:9px;max-height:820px;padding:2px 8px 12px 2px;display:grid;overflow-y:auto}.days-day{text-align:left;width:100%;color:var(--accent-strong);grid-template-columns:46px minmax(0,1fr);gap:3px 13px;padding:14px 16px;display:grid}.days-day:hover{border-color:var(--border-default);background:var(--surface-soft)}.days-day.selected{border-color:var(--accent-soft);background:var(--surface-muted);box-shadow:0 0 0 2px var(--surface-brand-strong)}.days-day-date{border-right:1px solid var(--border-default);flex-direction:column;grid-row:span 2;justify-content:center;display:flex}.days-day-date strong{font-family:Georgia,serif;font-size:1.45rem;font-weight:500;line-height:1}.days-day-date span{color:var(--text-quiet);text-transform:capitalize;margin-top:5px;font-size:.65rem}.days-day-main{justify-content:space-between;align-items:baseline;gap:9px;display:flex}.days-day-main>span{color:var(--text-quiet);font-size:.74rem}.days-day-main strong{white-space:nowrap;font-size:1rem}.days-day-main small{color:var(--text-quiet);font-size:.68rem;font-weight:500}.days-day-nutrients{color:var(--text-quiet);flex-wrap:wrap;gap:3px 10px;font-size:.65rem;display:flex}.days-detail{min-width:0;scroll-margin-top:20px}.days-detail-head{justify-content:space-between;align-items:center;gap:15px;padding:22px 24px;display:flex}.days-detail-head h2{text-transform:capitalize;margin:7px 0 3px;font-size:1.6rem}.days-detail-head p{color:var(--text-muted);margin:0;font-size:.8rem}.days-detail-head .admin-outline-button{align-items:center;gap:5px;display:flex}.days-goal-line{align-items:center;gap:5px;display:inline-flex}.days-goal-line .day-goal-edit{margin:0}.days-detail-head .day-goal-reason{overflow-wrap:anywhere;margin-top:4px;font-size:.72rem}.days-detail .history-section{margin-top:25px}.days-loading{color:var(--text-quiet);padding:24px}@media (width<=900px){.days-layout{grid-template-columns:1fr}.days-overview{max-height:510px}.days-toolbar{flex-wrap:wrap}}@media (width<=600px){.days-toolbar{padding:14px}.days-month-controls{justify-content:space-between;width:100%}.days-month-controls h2{min-width:0}.days-month-summary{justify-content:space-around;width:100%}.days-detail-head{padding:18px}.days-detail-head h2{font-size:1.35rem}.days-day{padding:12px}.meal-edit-moment{grid-template-columns:1fr 1fr}}.meal-group{overflow:hidden}.meal-group-header{border-bottom:1px solid var(--border-subtle);background:var(--surface-canvas);justify-content:space-between;align-items:center;gap:16px;padding:16px 19px 14px;display:flex}.meal-group-photo{border-radius:12px;width:94px;height:72px}.meal-group-heading{flex:1;gap:5px;min-width:0;display:grid}.meal-group-heading>small{color:var(--text-muted);font-size:.7rem}.meal-group-header .eyebrow{font-size:.62rem}.meal-group-header>strong{color:var(--text-heading);flex:none;font-size:1.03rem}.meal-group-header small{color:var(--text-quiet);font-size:.69rem;font-weight:500}.meal-group-items .meal-row+.meal-row{border-top:1px solid var(--border-subtle)}.meal-row{align-items:center;gap:18px;min-width:0;padding:11px 16px 11px 11px;display:flex}.meal-row-grouped{padding:12px 18px}.meal-food-photo{border-radius:13px;width:83px;height:78px}.meal-food-photo.grouped{width:66px;height:66px}.meal-description{flex:1;min-width:0}.meal-meta{color:var(--text-quiet);text-transform:capitalize;font-size:.7rem;font-weight:700}.meal-description h3{text-overflow:ellipsis;white-space:nowrap;margin:4px 0 2px;font-size:.94rem;overflow:hidden}.meal-description p{text-overflow:ellipsis;white-space:nowrap;color:var(--text-quiet);margin:0;font-size:.73rem;overflow:hidden}.meal-minors{color:var(--text-quiet);flex-wrap:wrap;gap:9px;margin-top:7px;font-size:.65rem;display:flex}.meal-end{flex-direction:column;justify-content:space-between;align-self:stretch;align-items:flex-end;min-width:105px;display:flex}.meal-end strong{color:var(--text-heading);margin-top:8px;font-size:1.03rem}.meal-end small{color:var(--text-quiet);font-size:.69rem}.meal-end button{color:var(--text-quiet);background:0 0;border:0;padding:5px}.meal-end button:hover{color:var(--accent-danger)}.meal-actions{gap:5px;display:flex}.meal-actions button:first-child:hover{color:var(--accent-primary)}.product-filters{grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:14px;padding:19px;display:grid}.product-group{margin-top:30px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.product-tile{min-width:0;overflow:hidden}.product-food-photo{width:100%;height:135px}.product-tile-body{padding:16px}.product-tile h3{margin:8px 0 4px;font-size:.91rem}.product-tile p{min-height:35px;color:var(--text-quiet);margin:0 0 14px;font-size:.72rem;line-height:1.45}.product-tile-bottom{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.product-tile-bottom>strong{font-size:.82rem}.product-tile-bottom>div{align-items:center;gap:7px;display:flex}.small-add{border:1px solid var(--border-default);background:var(--surface-brand);color:var(--accent-primary);border-radius:8px;align-items:center;gap:4px;padding:7px 9px;font-size:.71rem;font-weight:800;display:inline-flex}.small-add:hover{background:var(--surface-brand-strong)}.footer{text-align:center;color:var(--text-quiet);padding:30px;font-size:.72rem}.footer span{padding:0 6px}.footer button{color:var(--accent-primary);text-underline-offset:3px;background:0 0;border:0;padding:0;text-decoration:underline}.feedback-page{max-width:920px}.feedback-page .page-heading{margin-bottom:28px}.feedback-card{padding:clamp(24px,5vw,45px)}.feedback-card form{gap:24px;display:grid}.feedback-kind{border:1px solid var(--border-default);background:var(--surface-muted);border-radius:12px;gap:5px;width:fit-content;padding:4px;display:inline-flex}.feedback-kind button{color:var(--text-muted);background:0 0;border:0;border-radius:9px;padding:9px 16px;font-weight:700}.feedback-kind button.selected{background:var(--surface-raised);color:var(--text-secondary);box-shadow:0 1px 5px var(--border-default)}.feedback-field{color:var(--text-secondary);gap:9px;font-size:.82rem;font-weight:700;display:grid}.feedback-field input{border:1px solid var(--border-default);background:var(--surface-raised);width:100%;color:var(--text-primary);border-radius:11px;padding:14px 16px}.feedback-editor{border:1px solid var(--border-default);background:var(--surface-raised);border-radius:13px;overflow:hidden}.feedback-toolbar{border-bottom:1px solid var(--border-subtle);background:var(--surface-soft);gap:4px;padding:7px 9px;display:flex}.feedback-toolbar button{width:36px;height:34px;color:var(--accent-primary);background:0 0;border:0;border-radius:7px}.feedback-toolbar button:hover,.feedback-toolbar button.active{background:var(--surface-brand)}.feedback-editor-content{min-height:180px;color:var(--text-primary);outline:none;padding:16px;font-size:.95rem;font-weight:400;line-height:1.6}.feedback-editor-content:focus-visible{outline:3px solid var(--border-emphasis);outline-offset:-3px}.feedback-editor-content [data-slate-placeholder]{color:var(--text-quiet)!important}.feedback-editor-content h2{margin:0 0 9px;font-size:1.35rem}.feedback-editor-content blockquote,.feedback-body blockquote{border-left:3px solid var(--border-emphasis);color:var(--text-secondary);margin:10px 0;padding:4px 16px}.feedback-attachments{border-top:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:16px;padding-top:5px;display:flex}.feedback-attachments strong{color:var(--accent-strong);font-size:.9rem}.feedback-attachments p{color:var(--text-muted);margin:4px 0 0;font-size:.78rem}.feedback-attachments label{cursor:pointer;flex:none;position:relative}.feedback-attachments input{opacity:0;width:1px;height:1px;position:absolute}.feedback-file-list{gap:8px;display:grid}.feedback-file{border:1px solid var(--border-subtle);border-radius:11px;align-items:center;gap:12px;padding:8px 10px;display:flex}.feedback-file img,.feedback-file video{object-fit:cover;background:var(--border-subtle);border-radius:8px;width:55px;height:55px}.feedback-file span{flex:1;gap:3px;min-width:0;display:grid}.feedback-file strong{text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.feedback-file small{color:var(--text-quiet)}.feedback-file button{color:var(--text-muted);background:0 0;border:0}.feedback-submit{width:fit-content}.feedback-success{text-align:center;padding:35px 12px}.feedback-success-icon{background:var(--surface-brand-strong);width:55px;height:55px;color:var(--accent-primary);border-radius:50%;place-items:center;margin-bottom:15px;display:inline-grid}.feedback-success p{color:var(--text-muted)}.admin-feedback-list{gap:14px;display:grid}.admin-feedback-entry{border:1px solid var(--border-subtle);background:var(--surface-soft);border-radius:15px;padding:22px}.admin-feedback-entry header{color:var(--text-quiet);justify-content:space-between;align-items:center;gap:10px;font-size:.78rem;display:flex}.feedback-type{background:var(--surface-brand);color:var(--text-secondary);border-radius:999px;padding:5px 10px;font-weight:700}.admin-feedback-entry h3{margin:17px 0 3px;font-family:Georgia,serif;font-size:1.35rem;font-weight:500}.admin-feedback-author{color:var(--text-muted);word-break:break-word;margin:0 0 18px;font-size:.77rem}.feedback-body p{white-space:pre-wrap;margin:0 0 10px}.feedback-body h3{margin:16px 0 8px;font-size:1.1rem}.admin-feedback-gallery{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:17px;display:grid}.admin-feedback-media{gap:4px;min-width:0;display:grid}.admin-feedback-media img,.admin-feedback-media video{background:var(--border-subtle);border-radius:10px;max-width:100%;max-height:320px}.admin-feedback-media small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=700px){.admin-tabs{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.admin-tabs button{white-space:nowrap;width:100%}.feedback-shortcut{margin-left:auto}.user-avatar{margin-left:0}.feedback-attachments{flex-direction:column;align-items:flex-start}.feedback-submit{width:100%}.admin-feedback-panel{padding:20px}.admin-feedback-entry{padding:16px}}.stats-page .page-heading,.settings-page .page-heading{margin-bottom:31px}.stats-summary{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.summary-card{padding:22px 24px}.summary-card span{color:var(--text-muted);font-size:.76rem;font-weight:700;display:block}.summary-card strong{margin:15px 0 2px;font-family:Georgia,Times New Roman,serif;font-size:2.25rem;font-weight:500;display:block}.summary-card small{color:var(--text-quiet)}.chart-card{margin-top:18px;padding:26px 28px 20px}.chart-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.chart-heading h2{margin:7px 0 0;font-size:1.65rem}.chart-heading select{border:1px solid var(--border-default);background:var(--surface-muted);color:var(--text-secondary);border-radius:10px;padding:9px 13px;font-size:.76rem;font-weight:700}.chart-unit{color:var(--text-quiet);font-size:.75rem}.line-chart{background:repeating-linear-gradient(to bottom, transparent 0, transparent calc(50% - 1px), var(--border-subtle) 50%, transparent calc(50% + 1px));height:220px;margin-top:34px;padding:0 0 0 50px;display:flex;position:relative}.chart-grid{color:var(--text-quiet);flex-direction:column;justify-content:space-between;font-size:.69rem;display:flex;position:absolute;inset:0 auto 0 0}.line-chart svg{width:100%;height:100%;overflow:visible}.chart-axis{color:var(--text-quiet);justify-content:space-between;margin:13px 0 0 50px;font-size:.69rem;display:flex}.bar-chart{grid-template-columns:repeat(7,1fr);gap:14px;height:200px;margin:28px 20px 4px;display:grid}.bar-item{flex-direction:column;align-items:center;min-width:0;display:flex}.bar-item>span{height:23px;color:var(--text-muted);font-size:.66rem;font-weight:700}.bar-column{background:var(--surface-canvas);border-radius:8px 8px 3px 3px;align-items:flex-end;width:min(100%,48px);height:145px;display:flex;overflow:hidden}.bar-column div{background:linear-gradient(var(--border-emphasis), var(--accent-soft));border-radius:8px 8px 3px 3px;width:100%;min-height:4px}.bar-item small{color:var(--text-quiet);text-transform:capitalize;margin-top:7px;font-size:.67rem}.data-note{color:var(--text-quiet);align-items:center;gap:8px;margin:19px 0;font-size:.73rem;display:flex}.settings-layout{grid-template-columns:minmax(0,1.5fr) minmax(270px,.8fr);gap:20px;display:grid}.settings-simple{max-width:970px}.settings-day-goal{background:var(--surface-muted);justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:16px;padding:26px 29px;display:flex}.settings-day-goal-value{color:var(--text-heading);margin:8px 0 4px;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.1rem,5vw,3rem);font-weight:500;line-height:1.05;display:block}.settings-day-goal-value small{color:var(--text-muted);font-family:DM Sans,sans-serif;font-size:.85rem}.settings-day-goal .muted{margin:8px 0 0;font-size:.78rem}.settings-goal-editor{min-width:215px;padding-top:5px}.settings-goal-editor summary{color:var(--accent-primary);cursor:pointer;text-align:right;font-size:.8rem;font-weight:700}.settings-goal-editor[open]{width:min(280px,100%)}.settings-goal-editor .field{margin:18px 0 12px}.settings-goal-editor .primary-button{width:100%}.settings-sections{gap:11px;display:grid}.settings-section{padding:0;overflow:hidden}.settings-section>summary{cursor:pointer;align-items:center;gap:16px;min-height:89px;padding:18px 27px;list-style:none;display:flex}.settings-section>summary::-webkit-details-marker{display:none}.settings-section>summary:hover{background:var(--surface-muted)}.settings-section-heading{flex:1;gap:5px;display:grid}.settings-section-heading strong{color:var(--text-heading);font-family:Georgia,Times New Roman,serif;font-size:1.35rem;font-weight:500}.settings-section-heading small{color:var(--text-muted);font-size:.78rem}.settings-section>summary>svg{color:var(--accent-primary);flex:none;transition:transform .18s}.settings-section[open]>summary>svg{transform:rotate(180deg)}.settings-unsaved{background:var(--accent-gold);border-radius:50%;width:7px;height:7px}.settings-section-body{border-top:1px solid var(--border-subtle);padding:6px 27px 25px}.settings-section-actions{border-top:1px solid var(--border-subtle);flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px;padding-top:19px;display:flex}.settings-section-actions .save-message{margin:0}.settings-section-body>.form-grid,.settings-section-body>.goal-settings{margin-top:20px}.settings-section-body>.hydration-settings,.settings-section-body>.notification-settings{border-top:0;margin:0;padding-top:20px}.settings-secondary-options{gap:10px;display:grid}.settings-secondary-options .advanced-settings,.settings-more{margin:0}.settings-more[open]>.form-grid,.settings-more[open]>.field,.settings-more[open]>.nutrition-goals{margin-top:18px}.settings-account-content{gap:16px;margin-top:18px;display:grid}.settings-account-content>.credit-shop{box-shadow:none}.settings-account-content>.account-card{border-top:1px solid var(--border-subtle);padding:18px 0 0}.settings-simple .install-settings{border-top:0;padding-top:20px}@media (width<=650px){.settings-day-goal{padding:22px;display:block}.settings-goal-editor{min-width:0;margin-top:17px}.settings-goal-editor summary{text-align:left}.settings-section>summary{min-height:80px;padding:16px 20px}.settings-section-body{padding:4px 20px 22px}}.settings-form{padding:27px}.settings-form h2{margin-bottom:5px;font-size:1.75rem}.settings-form>.muted{margin-bottom:25px;font-size:.83rem}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:23px;display:grid}.field{color:var(--text-muted);gap:8px;font-size:.76rem;font-weight:700;display:grid}.field.wide{grid-column:1/-1}.field input,.field select{border:1px solid var(--border-default);background:var(--surface-soft);width:100%;min-height:45px;color:var(--text-heading);border-radius:10px;padding:10px 13px;font-size:.86rem}.field input::placeholder{color:var(--text-quiet)}.computed-value{border:1px solid var(--border-default);background:var(--surface-canvas);min-height:45px;color:var(--text-secondary);border-radius:10px;align-items:center;padding:10px 13px;font-size:.86rem;display:flex}.goal-settings{border:1px solid var(--border-default);background:var(--surface-muted);border-radius:13px;gap:16px;margin:0 0 22px;padding:19px;display:grid}.nutrition-goals{border-top:1px solid var(--border-default);color:var(--accent-strong);gap:10px;padding-top:14px;font-size:.8rem;display:grid}.nutrition-goals>p{color:var(--text-muted);margin:0;line-height:1.5}.nutrition-goal-row{grid-template-columns:minmax(105px,1fr) minmax(112px,.85fr) 90px 25px;align-items:center;gap:8px;display:grid}.nutrition-goal-row select,.nutrition-goal-row input,.nutrition-add-goal{border:1px solid var(--border-default);background:var(--surface-raised);width:100%;min-height:37px;color:var(--accent-strong);font:inherit;border-radius:9px;padding:7px 9px}.nutrition-goal-row label{align-items:center;gap:4px;display:flex}.nutrition-goal-row button{color:var(--accent-danger);cursor:pointer;background:0 0;border:0;font-size:1.2rem}.nutrition-add-goal{max-width:270px;color:var(--accent-primary)}.nutrition-settings-list{display:grid}.nutrition-setting-row{border-bottom:1px solid var(--border-subtle);grid-template-columns:minmax(0,1fr) 158px;align-items:center;gap:12px;padding:9px 0;display:grid}.nutrition-setting-row:last-child{border-bottom:0}.nutrition-setting-toggle{color:var(--text-heading);align-items:center;gap:9px;font-size:.8rem;display:flex}.nutrition-reference-input{color:var(--text-muted);grid-template-columns:1fr 65px auto;align-items:center;gap:5px;font-size:.71rem;display:grid}.nutrition-reference-input input{border:1px solid var(--border-default);background:var(--surface-raised);width:100%;min-width:0;color:var(--accent-strong);border-radius:8px;padding:7px}.nutrition-disclaimer{color:var(--text-muted);line-height:1.5}.advanced-settings{border:1px solid var(--border-default);background:var(--surface-soft);border-radius:13px;margin:0 0 26px;padding:17px 19px}.advanced-settings summary{color:var(--text-secondary);cursor:pointer;font-size:.86rem;font-weight:700}.advanced-settings>p{margin:14px 0;font-size:.78rem}.kcal-mode-picker{border:1px solid var(--border-default);background:var(--surface-brand);border-radius:11px;gap:5px;width:fit-content;max-width:100%;padding:4px;display:flex}.kcal-mode-picker button{color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:9px 13px;font-size:.76rem;font-weight:700}.kcal-mode-picker button.selected{background:var(--surface-raised);color:var(--text-secondary);box-shadow:0 1px 5px var(--shadow-soft)}.advanced-settings>.kcal-week-hint{margin:19px 0 8px}.kcal-week-list{display:grid}.kcal-week-row{border-bottom:1px solid var(--border-subtle);min-height:53px;color:var(--text-heading);grid-template-columns:minmax(80px,1fr) 110px 92px;align-items:center;gap:12px;font-size:.8rem;display:grid}.kcal-week-row:last-child{border-bottom:0}.kcal-week-input{position:relative}.kcal-week-input input{border:1px solid var(--border-default);background:var(--surface-raised);width:100%;min-height:35px;color:var(--text-heading);font:inherit;border-radius:8px;padding:6px 35px 6px 10px}.kcal-week-input small{color:var(--text-quiet);pointer-events:none;font-size:.68rem;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.kcal-week-row strong{color:var(--accent-primary);text-align:right;font-size:.75rem}.notification-settings{border-top:1px solid var(--border-subtle);gap:19px;margin:0 0 26px;padding-top:26px;display:grid}.hydration-settings{border-top:1px solid var(--border-subtle);gap:13px;margin:0 0 26px;padding-top:26px;display:grid}.hydration-settings h2{margin:0}.hydration-settings>.muted{margin:0 0 4px;font-size:.79rem}.hydration-target-field{max-width:220px;margin-top:5px}.hydration-advanced{margin:0}.hydration-weekdays{flex-wrap:wrap;gap:7px;margin-bottom:16px;display:flex}.hydration-weekdays button{border:1px solid var(--border-default);background:var(--surface-raised);color:var(--text-muted);cursor:pointer;border-radius:999px;padding:7px 11px;font-size:.74rem}.hydration-weekdays button.selected{border-color:var(--accent-soft);background:var(--surface-brand);color:var(--text-secondary);font-weight:700}.hydration-reminder{border-top:1px solid var(--border-subtle);gap:12px;padding-top:16px;display:grid}.hydration-reminder>.field{max-width:220px;margin-left:30px}.volume-field{max-width:220px;margin:12px 0}.volume-input-wrap{position:relative}.volume-input-wrap input{padding-right:36px}.volume-input-wrap small{color:var(--text-quiet);pointer-events:none;font-size:.73rem;position:absolute;top:50%;right:13px;transform:translateY(-50%)}.drink-volume{color:var(--text-muted);font-size:.73rem;font-weight:700}.notification-settings h2{margin:6px 0}.notification-settings .muted{font-size:.79rem}.reminder-list{gap:9px;display:grid}.reminder-row{border:1px solid var(--border-default);background:var(--surface-soft);border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:10px 13px;display:flex}.reminder-row label{color:var(--text-secondary);align-items:center;gap:7px;font-size:.8rem;display:flex}.reminder-row input[type=checkbox]{accent-color:var(--accent-primary)}.reminder-row .time-picker{flex:none;width:118px}.nudge-options{gap:12px;padding-left:28px;display:grid}.notification-zone{color:var(--text-quiet);margin:0;font-size:.72rem}.goal-checkbox{color:var(--accent-strong);align-items:center;gap:12px;display:flex}.goal-checkbox input{width:18px;height:18px;accent-color:var(--accent-primary)}.goal-checkbox span{gap:4px;display:grid}.goal-checkbox small{color:var(--text-quiet);font-weight:400}.percent-input{max-width:145px;position:relative}.percent-input input{padding-right:32px}.percent-input span{color:var(--text-muted);position:absolute;top:13px;right:13px}.save-message{color:var(--accent-primary);margin:12px 0 0;font-size:.78rem}.settings-aside{align-content:start;gap:18px;display:grid}.goal-preview,.account-card,.credit-shop{padding:24px}.credit-balance{color:var(--text-heading);margin:16px 0 5px;font-family:Georgia,Times New Roman,serif;font-size:2.2rem;font-weight:500;display:block}.credit-balance small{color:var(--text-muted);font-family:DM Sans,sans-serif;font-size:.78rem;font-weight:500}.credit-access-title{color:var(--text-heading);margin-top:16px;font-family:Georgia,Times New Roman,serif;font-size:1.45rem;font-weight:500;display:block}.credit-shop .muted,.credit-limit-note,.credit-test-note{color:var(--text-muted);margin:8px 0 0;font-size:.76rem;line-height:1.5}.credit-test-note{color:var(--accent-danger)}.credit-pack-list{gap:8px;margin-top:19px;display:grid}.credit-pack-list button{border:1px solid var(--border-default);background:var(--surface-muted);width:100%;color:var(--accent-strong);cursor:pointer;text-align:left;border-radius:13px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.credit-pack-list button:hover,.credit-pack-list button:focus-visible{border-color:var(--accent-soft);background:var(--surface-brand)}.credit-pack-list button:disabled{opacity:.6;cursor:wait}.credit-pack-list button span{gap:2px;display:grid}.credit-pack-list button small{color:var(--text-quiet);font-size:.72rem}.credit-pack-list button b{white-space:nowrap}.goal-preview strong{margin:17px 0 10px;font-family:Georgia,Times New Roman,serif;font-size:2.6rem;font-weight:500;display:block}.goal-preview strong small{color:var(--text-quiet);font-family:DM Sans,sans-serif;font-size:.85rem}.goal-preview p{color:var(--text-quiet);margin:0;font-size:.77rem}.account-line{align-items:center;gap:12px;margin:21px 0;display:flex}.account-line img,.avatar-fallback{object-fit:cover;background:var(--border-default);width:44px;height:44px;color:var(--accent-primary);border-radius:50%;place-items:center;font-weight:800;display:grid}.account-line div{gap:2px;min-width:0;display:grid}.account-line strong{font-size:.85rem}.account-line small{text-overflow:ellipsis;color:var(--text-quiet);overflow:hidden}.account-card .quiet-button{padding:0}.modal-backdrop{background:var(--overlay-subtle);z-index:30;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:var(--surface-card);width:min(100%,520px);max-height:calc(100vh - 40px);box-shadow:0 25px 80px var(--shadow-soft);border-radius:22px;padding:27px;overflow:auto}.day-quick-add{width:min(100%,750px)}.day-quick-add .composer{box-shadow:none;border:0;padding:0}.modal-header{justify-content:space-between;align-items:flex-start;margin-bottom:22px;display:flex}.modal-header h2{margin:7px 0 0;font-size:1.8rem}.modal>.field{margin-bottom:17px}.day-goal-editor>.muted{margin:-7px 0 20px;font-size:.8rem}.day-goal-editor>.primary-button{margin-top:8px}.day-goal-reset{color:var(--text-muted);cursor:pointer;background:0 0;border:0;margin:14px auto 0;padding:5px 8px;font-size:.75rem;font-weight:700;display:block}.day-goal-reset:hover{text-decoration:underline}.manual-values{margin-top:24px}.icon-button{background:var(--surface-brand);width:32px;height:32px;color:var(--accent-primary);border:0;border-radius:8px;place-items:center;display:grid}.toast{z-index:20;border:1px solid var(--border-default);background:var(--surface-card);box-shadow:0 9px 30px var(--shadow-soft);color:var(--accent-primary);border-radius:11px;align-items:center;gap:18px;padding:12px 15px;font-size:.81rem;font-weight:700;display:flex;position:fixed;bottom:25px;right:25px}.toast button{color:var(--accent-primary);background:0 0;border:0;place-items:center;padding:2px;display:grid}.center-shell{flex-direction:column;justify-content:center;align-items:center;gap:30px;min-height:100vh;padding:24px;display:flex}.center-shell .login-card{max-width:490px}.login-page{background:radial-gradient(circle at 11% 12%, var(--surface-brand-strong), transparent 32%), radial-gradient(circle at 95% 80%, var(--surface-warm-strong), transparent 35%), var(--surface-canvas);min-height:100vh}.login-header{justify-content:space-between;align-items:center;max-width:1210px;margin:auto;padding:29px 35px;display:flex}.login-header>span{color:var(--text-quiet);font-size:.76rem;font-weight:700}.login-main{grid-template-columns:1.1fr .78fr;align-items:center;gap:8vw;max-width:1210px;margin:0 auto;padding:80px 35px 70px;display:grid}.login-intro h1{max-width:650px;margin:20px 0;font-size:clamp(3.6rem,6.2vw,6.6rem);line-height:1.03}.login-intro h1 em{color:var(--accent-soft);font-style:normal}.login-intro p{max-width:540px;color:var(--text-muted);font-size:1.08rem}.login-features{flex-wrap:wrap;gap:11px;margin-top:35px;display:flex}.login-features span{border:1px solid var(--border-default);background:var(--surface-card);color:var(--accent-primary);border-radius:100px;padding:9px 13px;font-size:.75rem;font-weight:700}.login-card{text-align:center;padding:30px}.login-card h2{margin:16px 0 8px;font-size:1.7rem}.login-card p{max-width:310px;color:var(--text-quiet);margin:0 auto 25px;font-size:.85rem}.login-card>small{color:var(--text-quiet);margin-top:20px;display:block}.login-illustration{background:radial-gradient(circle at 80% 22%, var(--surface-warm-strong), transparent 30%), linear-gradient(150deg, var(--surface-brand-strong), var(--surface-brand) 64%, var(--surface-warm));text-align:left;border-radius:15px;height:220px;padding:30px;position:relative;overflow:hidden}.login-illustration>span{background:var(--surface-card);width:45px;height:45px;color:var(--accent-soft);border-radius:13px;place-items:center;font-size:1.8rem;display:grid}.mock-line{background:var(--surface-translucent-strong);border-radius:20px;width:47%;height:9px;margin-top:12px}.mock-line.long{width:69%;margin-top:20px}.mock-bars{align-items:flex-end;gap:8px;height:100px;display:flex;position:absolute;bottom:25px;right:28px}.mock-bars i{background:var(--accent-soft);border-radius:6px 6px 0 0;width:20px;display:block}.mock-bars i:first-child{height:50%}.mock-bars i:nth-child(2){height:77%}.mock-bars i:nth-child(3){height:58%}.mock-bars i:nth-child(4){height:96%}.mock-bars i:nth-child(5){height:70%}.google-button{border:1px solid var(--border-default);background:var(--surface-raised);width:100%;color:var(--accent-strong);border-radius:11px;justify-content:center;align-items:center;gap:13px;padding:13px;font-weight:800;display:flex}.google-button svg{margin-left:auto}.google-g{color:var(--accent-violet);font-size:1.15rem;font-weight:800}.google-button:hover{background:var(--surface-muted)}.login-form{text-align:left;gap:14px;display:grid}.login-form .field{font-size:.8rem}.login-form .field input{background:var(--surface-raised)}.login-submit{width:100%;margin-top:3px}.login-forgot{justify-self:end;margin-top:-5px}.login-text-button{color:var(--accent-primary);text-decoration:underline;-webkit-text-decoration-color:var(--border-emphasis);text-decoration-color:var(--border-emphasis);text-underline-offset:3px;background:0 0;border:0;padding:0;font-size:.8rem;font-weight:700}.login-text-button:disabled{opacity:.55}.login-separator{color:var(--text-quiet);align-items:center;gap:15px;margin:18px 0;font-size:.78rem;display:flex}.login-separator:before,.login-separator:after{content:"";background:var(--border-default);flex:1;height:1px}.login-switch{color:var(--text-muted);margin-top:20px;font-size:.8rem}.login-notice{color:var(--accent-primary)!important;margin:15px 0 0!important}.verification-card{justify-items:center;gap:15px;width:min(100%,490px);display:grid}.verification-card h1{margin:0;font-size:2rem}.verification-card p{overflow-wrap:anywhere;margin:0 0 7px}.account-password{border-top:1px solid var(--border-subtle);text-align:left;gap:10px;margin-top:18px;padding:19px 0;display:grid}.account-password>strong{font-size:.85rem}.account-password p{color:var(--text-muted);margin:0;font-size:.78rem}.account-password form{gap:10px;display:grid}.account-password .quiet-button{justify-self:start;padding:0}@keyframes pulse{50%{opacity:.5}}@media (width<=950px){.dashboard-grid{grid-template-columns:1fr}.kcal-card{grid-template-columns:auto 1fr;column-gap:20px;display:grid}.kcal-title{grid-column:1/-1}.kcal-card .ring{grid-row:2/4}.kcal-bottom{align-self:center}.nutrient-cards{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-main{gap:4vw}.login-intro h1{font-size:clamp(3.2rem,6vw,5rem)}}@media (width<=700px){.hydration-card{flex-direction:column;align-items:flex-start;gap:13px}.hydration-actions{flex-direction:row;align-items:center;gap:16px;width:100%;display:flex}.hydration-actions .manual-link{flex:none}.progress-panel{border-radius:24px 24px 0 0;width:100%;max-height:88dvh;padding:22px 18px 30px;animation-name:progress-panel-mobile-in;inset:auto 0 0}.progress-trigger{border-right:1px solid var(--border-default);height:38px;box-shadow:none;border-radius:14px;padding:0 8px;position:static}.progress-trigger-mark{width:24px;height:24px}.progress-trigger-copy{display:none}.milestone-celebration{bottom:16px;right:16px}.topbar{height:auto;position:static}.topbar-inner{flex-wrap:wrap;gap:8px;padding:12px 18px}.topbar .brand{font-size:1.35rem}.brand-mark{width:31px;height:31px;font-size:1.2rem}.topbar nav{order:3;justify-content:space-around;width:100%}.topbar nav button{white-space:nowrap;flex:1;justify-content:center;gap:4px;padding:8px 5px;font-size:.69rem}.topbar nav button svg{width:16px}.user-avatar{margin-left:auto}.content{padding:28px 18px 65px}.page-heading{align-items:flex-start}.page-heading h1{font-size:2.3rem}.page-heading p{font-size:.84rem}.date-chip,.period-pill{display:none}.composer{padding:23px 19px}.composer h2{font-size:1.8rem}.composer-heading{align-items:flex-start}.manual-link{font-size:.72rem}.nutrient-cards{gap:10px}.nutrient-card{padding:16px}.nutrient-card strong{font-size:1.18rem}.history-section{margin-top:39px}.meal-row{gap:11px;padding:9px}.meal-group-header{align-items:flex-start;padding:14px}.meal-group-photo{width:68px;height:64px}.meal-group-header>strong{text-align:right}.meal-group-header small{display:block}.meal-row-grouped{padding:10px 12px}.meal-food-photo{width:68px;height:72px}.meal-food-photo.grouped{width:56px;height:60px}.meal-end{min-width:70px}.meal-minors{display:none}.stats-summary{grid-template-columns:repeat(3,1fr);gap:8px}.summary-card{padding:15px}.summary-card span{min-height:31px;font-size:.63rem}.summary-card strong{font-size:1.6rem}.summary-card small{font-size:.62rem}.chart-card{padding:20px 17px}.chart-heading h2{font-size:1.35rem}.line-chart{height:175px}.bar-chart{gap:6px;margin-left:0;margin-right:0}.settings-layout,.product-grid{grid-template-columns:1fr}.product-tile{display:flex}.product-tile>.product-food-photo{width:104px;height:auto;min-height:110px}.product-tile-body{flex:1}.product-tile p{min-height:0}.login-header{padding:19px}.login-header>span{display:none}.login-main{grid-template-columns:1fr;gap:35px;padding:35px 19px 55px}.login-intro h1{font-size:3.3rem}.login-intro p{font-size:.95rem}.login-features{margin-top:20px}.login-illustration{height:170px}.login-card{padding:20px}}@media (width<=450px){.topbar nav:has(button:nth-child(5)) button svg{display:none}.topbar nav:has(button:nth-child(5)) button{padding:8px 3px}.topbar nav:has(button:nth-child(6)){scrollbar-width:none;justify-content:flex-start;overflow-x:auto}.topbar nav:has(button:nth-child(6)) button{flex:none;padding:8px 6px}.topbar nav button{font-size:.62rem}.composer-heading .eyebrow{font-size:.59rem}.tool-button span{display:none}.entry-actions{padding-left:9px}.nutrient-inputs{grid-template-columns:repeat(3,1fr)}.nutrition-goal-row{grid-template-columns:minmax(0,1fr) 100px 26px}.nutrition-goal-row>span{grid-column:1/-1}.nutrition-setting-row{grid-template-columns:minmax(0,1fr) 132px}.nutrition-reference-input{grid-template-columns:1fr 48px auto}.result-food-photo{width:65px;height:65px}.result-top h3{font-size:.9rem}.result-item-options,.product-filters{grid-template-columns:1fr}.kcal-card{display:block}.kcal-card .ring{margin:8px auto 18px}.stats-summary{grid-template-columns:1fr 1fr}.summary-card:last-child{grid-column:1/-1}.form-grid{gap:12px}.login-intro h1{font-size:2.7rem}}.settings-goals-link{background:var(--surface-muted);justify-content:space-between;align-items:center;gap:24px;margin-bottom:16px;padding:27px 30px;display:flex}.settings-goals-link h2{margin:8px 0 4px;font-size:1.75rem}.settings-goals-link p{margin:0;font-size:.83rem}.settings-goals-link .primary-button{flex:none}.goals-page{max-width:1120px}.goal-back-link{color:var(--accent-primary);background:0 0;border:0;align-items:center;gap:8px;margin-bottom:20px;padding:0;font-size:.8rem;font-weight:700;display:inline-flex}.goal-back-link svg{transform:rotate(180deg)}.goal-progress-label{color:var(--text-muted);font-size:.84rem;font-weight:700}.goal-progress-track{background:var(--border-subtle);border-radius:999px;height:8px;margin:12px 0 38px;overflow:hidden}.goal-progress-track span{border-radius:inherit;background:var(--accent-soft);height:100%;transition:width .18s;display:block}.goal-step-narrow{max-width:700px;margin:0 auto}.goal-step-narrow h1,.goals-page>h1{margin-bottom:9px;font-size:clamp(2.15rem,5vw,3rem)}.goal-step-lead{max-width:750px;color:var(--text-muted);font-size:1rem}.goal-choice-list{gap:12px;margin:28px 0;display:grid}.goal-choice{text-align:left;border:1px solid var(--border-default);background:var(--surface-card);width:100%;min-height:94px;color:var(--text-primary);box-shadow:0 5px 18px var(--shadow-trace);border-radius:20px;align-items:center;gap:17px;padding:17px 20px;display:flex}.goal-choice.selected{border-color:var(--accent-soft);background:var(--surface-muted)}.goal-choice-radio{border:2px solid var(--text-quiet);border-radius:50%;flex:none;place-items:center;width:22px;height:22px;display:grid}.goal-choice.selected .goal-choice-radio{border-color:var(--accent-strong)}.goal-choice.selected .goal-choice-radio:after{content:"";background:var(--accent-strong);border-radius:50%;width:11px;height:11px}.goal-choice-icon{background:var(--surface-brand);width:48px;height:48px;color:var(--accent-primary);border-radius:50%;flex:none;place-items:center;display:grid}.goal-choice strong{font-family:Georgia,Times New Roman,serif;font-size:1.2rem;font-weight:500;display:block}.goal-choice small{color:var(--text-muted);margin-top:4px;line-height:1.4;display:block}.goal-reassurance{color:var(--text-muted);text-align:center;margin:20px 0 35px}.goal-step-actions{align-items:center;gap:20px;margin-top:30px;display:flex}.goal-step-actions .primary-button{justify-content:center;min-width:190px}.goal-subheading{margin:34px 0 0;font-size:1.75rem}.goal-calculation{padding:22px}.goal-calculation>p{color:var(--text-muted);margin-bottom:16px;font-size:.86rem}.goal-personal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.goal-personal-grid .wide{grid-column:1/-1}.goal-personal-grid .field{margin:0}.goal-main-input{max-width:330px;margin-top:23px}.goal-main-input small{color:var(--text-muted);margin-top:6px;display:block}.goal-percent-field{max-width:300px;margin-top:18px}.goal-unit-input{align-items:center;gap:8px;display:flex}.goal-unit-input input{width:100%}.goal-live-target{background:var(--surface-brand);color:var(--text-secondary);border-radius:16px;justify-content:space-between;gap:12px;margin-top:20px;padding:18px 20px;display:flex}.goal-live-target strong{color:var(--accent-strong)}.goal-advanced{border:1px solid var(--border-default);background:var(--surface-card);border-radius:16px;margin-top:20px;padding:16px 18px}.goal-advanced summary{color:var(--accent-primary);cursor:pointer;font-size:.82rem;font-weight:700}.goal-advanced .field,.goal-advanced .goal-checkbox{margin-top:15px}.goal-weekday{align-items:center;gap:10px;padding-top:10px;display:flex}.goal-weekday span{flex:1}.goal-weekday input{border:1px solid var(--border-default);border-radius:10px;width:110px;padding:8px 10px}.goal-weekday small{color:var(--text-muted)}.goal-nutrient-editor .goal-choice-list,.goal-other-metric{margin:20px 0}.goal-value-row{grid-template-columns:1.5fr 1fr 1fr auto;align-items:end;gap:12px;padding:18px;display:grid}.goal-value-row strong,.goal-value-row small{display:block}.goal-value-row small{color:var(--text-muted);margin-top:5px}.goal-value-row .field{margin:0}.goal-insight-card{color:var(--accent-primary);text-align:center;justify-items:center;gap:10px;margin-top:28px;padding:35px;display:grid}.goal-insight-card strong{color:var(--accent-strong);font-family:Georgia,Times New Roman,serif;font-size:1.5rem;font-weight:500}.goal-review-layout{grid-template-columns:minmax(0,1fr) 315px;gap:25px;margin-top:30px;display:grid}.goal-summary{gap:13px;margin-bottom:24px;display:grid}.goal-summary-main{padding:24px 27px}.goal-summary-main strong{margin-top:12px;font-family:Georgia,Times New Roman,serif;font-size:2rem;font-weight:500;display:block}.goal-summary-main p{margin:7px 0 0;font-size:.85rem}.goal-summary-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:20px 25px;display:flex}.goal-summary-row>div:first-child>strong,.goal-summary-row>div:first-child>small{display:block}.goal-summary-row>div:first-child>strong{font-family:Georgia,Times New Roman,serif;font-size:1.2rem;font-weight:500}.goal-summary-row>div:first-child>small{color:var(--text-muted);margin-top:4px}.goal-inline-editor summary{color:var(--accent-primary);cursor:pointer;font-size:.78rem;font-weight:700}.goal-inline-editor[open]{border-top:1px solid var(--border-subtle);flex:1 0 100%;padding-top:15px}.goal-inline-editor .goal-choice-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.goal-inline-editor .goal-choice{gap:8px;min-height:80px;padding:10px}.goal-inline-editor .goal-choice-icon{display:none}.goal-inline-editor .goal-choice strong{font-size:.95rem}.goal-inline-editor .goal-value-row{grid-template-columns:repeat(2,1fr)}.goal-inline-editor .field{margin-top:12px}.goal-preview{background:var(--surface-muted);align-self:start;padding:24px}.goal-preview h2{font-size:1.45rem}.goal-preview>strong{border:1px solid var(--border-default);background:var(--surface-card);color:var(--text-heading);text-align:center;border-radius:20px;margin:20px 0 10px;padding:22px 8px;font-family:Georgia,Times New Roman,serif;font-size:1.7rem;font-weight:500;display:block}.goal-preview p{font-size:.82rem}.goal-success{background:var(--surface-brand-strong);color:var(--text-secondary);border-radius:12px;padding:13px 17px}.kcal-no-goal{flex-direction:column;display:flex}.kcal-no-goal-label{color:var(--text-muted);letter-spacing:.1em;margin-top:25px;font-size:.72rem;font-weight:800}.kcal-no-goal-value{color:var(--text-heading);margin:4px 0 10px;font-family:Georgia,Times New Roman,serif;font-size:clamp(2.5rem,5vw,4rem);font-weight:500;display:block}.kcal-no-goal-value small{color:var(--text-quiet);font-family:DM Sans,sans-serif;font-size:.9rem}.kcal-no-goal .set-goal{align-self:flex-start;margin-top:auto}@media (width<=760px){.settings-goals-link{flex-direction:column;align-items:flex-start;padding:22px}.goal-review-layout{grid-template-columns:1fr}.goal-preview{order:-1}.goal-value-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.goal-progress-track{margin-bottom:28px}.goal-choice{gap:12px;min-height:86px;padding:13px 14px}.goal-choice-icon{width:42px;height:42px}.goal-choice strong{font-size:1.08rem}.goal-choice small{font-size:.76rem}.goal-step-actions{flex-direction:column;align-items:stretch}.goal-step-actions .primary-button{width:100%}.goal-step-actions .quiet-button{align-self:center}.goal-personal-grid{gap:10px}.goal-calculation{padding:16px}.goal-inline-editor .goal-choice-list,.goal-value-row,.goal-inline-editor .goal-value-row{grid-template-columns:1fr}}.photo-credit,.meal-minors a,.meal-nutrition-source{color:var(--text-quiet);text-decoration:underline;-webkit-text-decoration-color:var(--border-emphasis);text-decoration-color:var(--border-emphasis);text-underline-offset:2px;font-size:.65rem;display:inline-block}.meal-nutrition-source{margin-top:5px}.photo-credit{margin-top:4px;display:block}@media (prefers-reduced-motion:reduce){.progress-trigger-copy{transition:none}.progress-art,.progress-card-celebrating .progress-art,.progress-dots .done,.progress-panel,.milestone-celebration,.milestone-celebration>img,.milestone-confetti i{animation:none}}@keyframes progress-panel-mobile-in{0%{opacity:0;transform:translateY(20px)}}@media (width<=700px){.feedback-shortcut,.user-avatar{margin-left:0}}.catalog-search-panel{border:1px solid var(--border-default);background:var(--surface-muted);border-radius:16px;margin:0 0 1.2rem;padding:1rem}.catalog-search-panel .field{margin:0}.catalog-search-panel .muted,.catalog-search-panel .error-message{margin:.7rem 0 0}.catalog-results{border:1px solid var(--border-default);background:var(--surface-raised);border-radius:12px;max-height:280px;margin-top:.7rem;display:grid;overflow-y:auto}.catalog-result{border:0;border-bottom:1px solid var(--border-subtle);width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;align-items:center;gap:.75rem;padding:.55rem .7rem;display:flex}.catalog-result:last-child{border-bottom:0}.catalog-result:hover,.catalog-result:focus-visible{background:var(--surface-muted)}.catalog-photo{object-fit:cover;background:var(--border-subtle);border-radius:8px;flex:0 0 46px;width:46px;height:46px}.catalog-photo-empty{color:var(--text-muted);place-items:center;font-family:Georgia,serif;font-size:1.1rem;display:grid}.catalog-result-copy{flex:1;gap:.05rem;min-width:0;display:grid}.catalog-result-copy strong,.catalog-result-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.catalog-result-copy small,.catalog-attribution{color:var(--text-muted);font-size:.73rem}.catalog-attribution a{color:inherit;-webkit-text-decoration-color:var(--border-default);text-decoration-color:var(--border-default);text-underline-offset:2px}.catalog-attribution{margin-top:.7rem;display:block}.nutriscore{width:24px;height:24px;color:var(--text-on-accent);border-radius:6px;flex:0 0 24px;place-items:center;font-size:.73rem;font-weight:700;display:inline-grid}.nutriscore-a{background:var(--accent-primary)}.nutriscore-b{background:var(--accent-soft)}.nutriscore-c,.nutriscore-d{background:var(--accent-gold)}.nutriscore-e{background:var(--accent-danger)}.catalog-selected{border:1px solid var(--border-default);background:var(--surface-muted);border-radius:12px;flex-wrap:wrap;align-items:center;gap:.7rem 1rem;margin:0 0 1.1rem;padding:.8rem 1rem;font-size:.84rem;display:flex}.catalog-selected>span{flex:1;display:grid}.catalog-selected small{color:var(--text-muted)}.catalog-selected a,.catalog-review-portion a{color:var(--accent-primary);-webkit-text-decoration-color:var(--border-emphasis);text-decoration-color:var(--border-emphasis);text-underline-offset:2px}.catalog-selected .field{width:100%;margin:0}.catalog-suggestion{color:var(--text-muted);flex-wrap:wrap;align-items:baseline;gap:.2rem .35rem;margin:.28rem 0 .35rem;font-size:.76rem;line-height:1.5;display:flex}.catalog-suggestion button{color:var(--accent-primary);font:inherit;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.catalog-suggestion button.selected{font-weight:700}.catalog-suggestion-more{flex-wrap:wrap;flex-basis:100%;gap:.3rem .8rem;display:flex}.catalog-review-portion{flex-wrap:wrap;align-items:end;gap:.5rem 1rem;margin:.7rem 0;font-size:.8rem;display:flex}.catalog-review-portion .field{flex:0 220px;margin:0}.quantity-controls{grid-template-columns:minmax(90px,1fr) 84px minmax(160px,1.5fr);gap:.6rem;margin:.8rem 0;display:grid}.quantity-controls .field{min-width:0}.quantity-nutrients>.muted{margin:.3rem 0 .8rem}.product-amount{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:.55rem;font-size:.78rem;display:flex}.product-amount-controls{align-items:center;gap:.25rem;display:inline-flex}.product-amount input{border:1px solid var(--border-default);width:4.2rem;color:inherit;background:0 0;border-radius:.5rem;padding:.25rem .4rem}.product-amount-unit{min-width:1.1rem}.product-amount-stepper{gap:.25rem;margin-left:.2rem;display:inline-flex}.product-amount-stepper button{border:1px solid var(--border-default);background:var(--surface-brand);width:1.75rem;height:1.75rem;color:var(--accent-primary);font:inherit;cursor:pointer;border-radius:.5rem;place-items:center;padding:0;font-size:1rem;font-weight:700;line-height:1;display:grid}.product-amount-stepper button:hover:not(:disabled){background:var(--surface-brand-strong)}.product-amount-stepper button:disabled{opacity:.4;cursor:default}@media (width<=600px){.quantity-controls{grid-template-columns:minmax(90px,1fr) 75px}.quantity-controls .field:last-child{grid-column:1/-1}.catalog-search-panel{padding:.8rem}.catalog-result{gap:.55rem}.catalog-suggestion{max-width:100%}}.updates-page{max-width:1050px}.updates-heading{align-items:center;padding-bottom:22px}.updates-heading h1{margin:9px 0 7px}.updates-heading p{color:var(--text-muted);margin:0}.updates-heading-mark{border:1px solid var(--border-default);background:var(--surface-brand);width:64px;height:64px;color:var(--accent-primary);border-radius:22px;flex:none;place-items:center;display:grid;transform:rotate(-8deg)}.updates-timeline{border-left:1px solid var(--border-default);gap:28px;padding-left:22px;display:grid;position:relative}.updates-day{position:relative}.updates-day:before{content:"";border:3px solid var(--surface-canvas);background:var(--accent-soft);width:12px;height:12px;box-shadow:0 0 0 1px var(--border-default);border-radius:50%;position:absolute;top:9px;left:-29px}.updates-day h2{color:var(--accent-primary);letter-spacing:.03em;margin:0 0 14px;font-family:inherit;font-size:.78rem;font-weight:800}.updates-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.updates-card{align-items:flex-start;gap:15px;min-height:192px;padding:24px;display:flex}.updates-card-icon{background:var(--surface-brand);width:42px;height:42px;color:var(--accent-primary);border-radius:14px;flex:none;place-items:center;display:grid}.updates-card:nth-child(3n+2) .updates-card-icon{background:var(--surface-warm);color:var(--accent-orange)}.updates-card:nth-child(3n) .updates-card-icon{background:var(--surface-violet);color:var(--accent-violet)}.updates-card>div{flex-direction:column;align-items:flex-start;min-height:142px;display:flex}.updates-card h3{margin:2px 0 8px;font-size:1.05rem;line-height:1.35}.updates-card p{color:var(--text-muted);margin:0 0 19px;font-size:.84rem;line-height:1.6}.updates-card-link{color:var(--accent-primary);text-align:left;background:0 0;border:0;align-items:center;gap:7px;margin-top:auto;padding:0;font-size:.81rem;font-weight:800;display:inline-flex}.updates-card-link:hover{color:var(--accent-strong);text-underline-offset:3px;text-decoration:underline}.updates-notice{z-index:25;border:1px solid var(--border-default);background:var(--surface-translucent-strong);width:min(350px,100vw - 44px);box-shadow:0 12px 36px var(--shadow-soft);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:17px;align-items:flex-start;gap:11px;padding:13px 34px 13px 13px;display:flex;position:fixed;bottom:20px;left:22px}.updates-notice-icon{background:var(--surface-brand-strong);width:31px;height:31px;color:var(--accent-primary);border-radius:11px;flex:none;place-items:center;display:grid}.updates-notice-copy{gap:4px;padding-top:1px;display:grid}.updates-notice-copy strong{color:var(--accent-strong);font-size:.77rem;line-height:1.4}.updates-notice-copy>button{color:var(--accent-primary);background:0 0;border:0;justify-self:start;align-items:center;gap:5px;padding:0;font-size:.73rem;font-weight:800;display:inline-flex}.updates-notice-copy>button:hover{text-underline-offset:3px;text-decoration:underline}.updates-notice-close{width:22px;height:22px;color:var(--text-muted);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid;position:absolute;top:10px;right:10px}.updates-notice-close:hover{background:var(--surface-brand)}@media (width<=700px){.updates-grid{grid-template-columns:1fr}.updates-card{min-height:0;padding:19px}.updates-card>div{min-height:0}.updates-notice{width:min(350px,100vw - 24px);bottom:12px;left:12px}}.install-settings,.photo-settings,.tour-settings{border-top:1px solid var(--border-subtle);padding:24px 0}.install-settings h2,.photo-settings h2,.tour-settings h2{margin:8px 0}.install-settings>p,.photo-settings p,.tour-settings p{margin:0 0 16px}.install-settings .quiet-button,.install-settings-status{align-items:center;gap:8px;display:inline-flex}.install-settings .quiet-button{cursor:pointer;min-height:36px}.install-settings-status{color:var(--accent-primary);font-size:.85rem;font-weight:700}.install-settings .install-settings-help{border:1px solid var(--border-default);background:var(--surface-soft);max-width:540px;color:var(--text-primary);border-radius:10px;margin:12px 0 0;padding:12px 14px;font-size:.87rem;line-height:1.5}.tour-backdrop,.tour-layer{z-index:1000;position:fixed;inset:0}.tour-backdrop{background:var(--overlay-backdrop);place-items:center;padding:20px;display:grid;overflow:auto}.tour-catalog,.tour-card{border:1px solid var(--border-default);background:var(--surface-card);box-shadow:0 20px 60px var(--shadow-strong);color:var(--text-heading);position:relative}.personal-tour{border:1px solid var(--border-default);background:var(--surface-card);width:min(100%,470px);max-height:min(90vh,700px);box-shadow:0 20px 60px var(--shadow-strong);color:var(--text-heading);padding:30px;overflow:auto}.personal-tour-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.personal-tour h2{margin:12px 0;font-size:1.8rem}.personal-tour h2:focus{outline:none}.personal-tour>p{line-height:1.6}.personal-tour-field{margin-top:22px}.personal-tour-field input{width:100%}.tour-catalog{width:min(100%,560px);max-height:min(85vh,760px);padding:30px;overflow:auto}.tour-catalog h2,.tour-card h2{margin:8px 0 12px;font-size:1.8rem}.tour-catalog h2:focus,.tour-card h2:focus{outline:none}.tour-close{background:var(--surface-brand);width:34px;height:34px;color:var(--accent-primary);cursor:pointer;border:0;border-radius:9px;place-items:center;display:grid}.tour-catalog-controls{gap:8px;display:flex;position:absolute;top:24px;right:24px}.tour-card-controls{align-items:center;gap:8px;display:flex}.tour-catalog-list{gap:8px;margin-top:20px;display:grid}.tour-catalog-list button{border:1px solid var(--border-default);background:var(--surface-muted);width:100%;color:var(--accent-strong);text-align:left;cursor:pointer;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:15px 16px;display:flex}.tour-catalog-list button:hover{border-color:var(--accent-soft);background:var(--surface-brand)}.tour-catalog-list span{gap:4px;display:grid}.tour-catalog-list small{color:var(--text-muted);line-height:1.4}.tour-layer{pointer-events:auto}.tour-shade,.tour-spotlight{pointer-events:none;position:fixed}.tour-shade{background:var(--overlay-backdrop);inset:0}.tour-spotlight{border:2px solid var(--surface-muted);box-shadow:0 0 0 200vmax var(--overlay-backdrop), 0 8px 28px var(--shadow-soft);border-radius:20px}.tour-card{z-index:1;pointer-events:auto;width:min(430px,100vw - 32px);max-height:min(85vh,680px);padding:26px;position:fixed;bottom:clamp(16px,5vh,56px);right:clamp(16px,5vw,70px);overflow:auto}.tour-card.tour-card-top{top:16px;bottom:auto}.tour-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.tour-card>p{color:var(--text-muted);margin:0 0 18px;line-height:1.6}.tour-preference,.tour-metrics label{cursor:pointer;align-items:center;gap:9px;font-size:.86rem;display:flex}.tour-preference{border:1px solid var(--border-default);background:var(--surface-muted);border-radius:10px;padding:12px}.tour-preference input,.tour-metrics input{accent-color:var(--accent-primary)}.tour-metrics{grid-template-columns:1fr 1fr;gap:10px;padding:12px 0;display:grid}.tour-error{color:var(--accent-danger)!important}.tour-progress{gap:5px;margin:20px 0;display:flex}.tour-progress span{background:var(--border-default);border-radius:10px;flex:1;height:4px}.tour-progress span.active{background:var(--accent-soft)}.tour-actions,.tour-actions>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.tour-actions .primary-button{min-height:39px;padding:10px 15px}@media (width<=700px){.personal-tour{padding:24px 20px}.tour-card{width:auto;padding:20px;bottom:16px;left:16px;right:16px}.tour-catalog{padding:24px 18px}.tour-catalog-controls{top:18px;right:18px}.tour-metrics{gap:8px}}
