:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f1f5f9;background:#020617;font-synthesis:none;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid transparent;color:inherit;transition:background .15s,transform .15s}button:hover{filter:brightness(1.15)}button:active{transform:scale(.98)}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #93c5fd;outline-offset:3px}a{color:inherit;text-decoration:none}header{position:sticky;top:0;background:#0f172af5;border-bottom:1px solid #1e293b;z-index:10}.header-inner{max-width:1100px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:16px 24px}.brand{font-size:25px;font-weight:750;letter-spacing:-1px}.brand span{font-size:10px;letter-spacing:1px;margin-left:12px;color:#94a3b8;vertical-align:middle}.icon{width:38px;height:38px;border-radius:50%;background:#1e293b;border-color:#334155;font-size:23px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}main{max-width:1100px;margin:auto;padding:26px 24px 120px}.date-heading,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.date-heading{font-size:14px;color:#94a3b8}.pill{background:#2563eb;color:#fff;border-radius:30px;padding:7px 16px;font-size:12px;font-weight:600}.local-note{font-size:12px;color:#94a3b8;margin:16px 0 22px;line-height:1.6}.dashboard-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.card{background:#0f172a;border:1px solid #1e293b;border-radius:25px;padding:24px}h1,h2,h3,p{margin:0}h2{font-size:17px;letter-spacing:-.3px}h3{font-size:14px}.eyebrow{color:#60a5fa;text-transform:uppercase;font-size:11px;font-weight:750;letter-spacing:1px}.hero{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}h1{font-size:28px;letter-spacing:-1px}h1 span{font-size:16px;color:#94a3b8;white-space:nowrap}.hero p{color:#94a3b8;font-size:12px;margin-top:8px}.ring{width:96px;height:96px;position:relative;flex-shrink:0}.ring svg{width:100%;transform:rotate(-90deg);fill:none;stroke:#1e293b;stroke-width:7}.ring .ring-progress{stroke:#3b82f6;stroke-linecap:round;transition:stroke-dasharray .4s}.ring>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.ring strong{font-size:18px}.ring small{font-size:10px;color:#94a3b8;text-transform:uppercase}.macro-bars{display:grid;gap:18px;margin-top:28px}.macro>div{display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px}.macro span{color:#94a3b8}progress{display:block;width:100%;height:9px;appearance:none;border:0;border-radius:10px;overflow:hidden;background:#1e293b}progress::-webkit-progress-bar{background:#1e293b}progress::-webkit-progress-value{background:#3b82f6;border-radius:10px}progress::-moz-progress-bar{background:#3b82f6}.carbs progress::-webkit-progress-value{background:#fbbf24}.carbs progress::-moz-progress-bar{background:#fbbf24}.fat progress::-webkit-progress-value{background:#a78bfa}.fat progress::-moz-progress-bar{background:#a78bfa}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid #1e293b;padding-top:18px;margin-top:24px}.stats>div,.summary-grid>div{background:#02061799;border:1px solid #1e293b;padding:13px;border-radius:15px}.stats small,.summary-grid small{display:block;color:#94a3b8;font-size:10px;font-weight:700}.stats strong,.summary-grid strong{display:block;font-size:15px;margin-top:5px}.quick-section>h2{margin:3px 0 14px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick{border-radius:24px;text-align:left;padding:20px;background:#0f172a;border-color:#1e293b;display:flex;flex-direction:column}.primary{background:#2563eb;color:#fff;border-radius:15px;padding:13px 18px;font-size:14px;font-weight:700}.quick.primary{border-radius:24px}.quick-icon{display:flex;align-items:center;justify-content:center;background:#3b82f622;color:#60a5fa;border-radius:50%;width:38px;height:38px;font-size:24px;margin-bottom:25px}.primary .quick-icon{color:#fff;background:#ffffff30}.quick strong{font-size:16px}.quick small{color:#94a3b8;font-size:11px;margin-top:5px}.quick.primary small{color:#dbeafe}.summary{margin-top:18px;padding:20px}.summary p{color:#94a3b8;font-size:12px;margin-top:8px}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0 12px}.summary-grid>div{padding:10px;text-align:center}.summary-grid small{font-size:9px}.text-button{background:transparent;color:#60a5fa;padding:8px 2px;font-size:12px;font-weight:650}.today{grid-column:1/-1}.today>.section-heading{margin:4px 4px 14px}.section-heading>span{color:#94a3b8;font-size:12px}.empty{text-align:center;padding:12px 0}.empty p{font-size:13px;color:#94a3b8;margin-bottom:20px}.secondary{background:#3b82f615;color:#60a5fa;border-color:#3b82f64d;border-radius:15px;padding:13px 18px;font-size:13px;font-weight:650}.full{width:100%}.meal{display:flex;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid #1e293b}.meal:first-child{padding-top:0}.meal:last-child{border-bottom:0}.meal-symbol{color:#60a5fa;border-radius:14px;background:#1e293b;padding:12px}.meal-info{flex:1;min-width:0}.meal h3{overflow-wrap:anywhere}.meal p{font-size:12px;color:#cbd5e1;margin-top:6px;line-height:1.8}.meal p span{color:#94a3b8}.delete{font-size:18px;width:29px;height:29px;color:#94a3b8}.delete:hover{color:#f87171}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#0f172aeb;backdrop-filter:blur(14px);border-top:1px solid #1e293b;padding:12px 24px max(12px,env(safe-area-inset-bottom));z-index:10}.bottom-nav>div{max-width:430px;display:flex;align-items:center;justify-content:space-between;margin:auto}.add{width:53px;height:53px;border-radius:50%;background:#2563eb;font-size:30px;box-shadow:0 8px 25px #2563eb33}.bottom-nav .text-button{min-width:85px}dialog{border:1px solid #334155;border-radius:26px;padding:0;background:#0f172a;color:#f1f5f9;width:min(480px,calc(100% - 28px));max-height:90dvh}dialog::backdrop{background:#020617cc;backdrop-filter:blur(5px)}.dialog-content{padding:25px}.dialog-content>.section-heading{margin-bottom:20px}.muted{font-size:13px;color:#94a3b8;line-height:1.7;margin-bottom:16px}.small{font-size:11px;margin-bottom:0}form{display:grid;gap:18px}label{display:grid;gap:8px;font-size:12px;color:#cbd5e1;font-weight:650}input{width:100%;min-width:0;background:#020617;border:1px solid #334155;border-radius:13px;padding:13px;color:#fff;font-size:14px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.storage-settings{border-top:1px solid #334155;margin-top:24px;padding-top:20px}.storage-settings h3{margin-bottom:8px}.toast{position:fixed;top:88px;left:50%;transform:translate(-50%);background:#1e293b;border:1px solid #475569;border-radius:16px;padding:14px 20px;font-size:13px;z-index:100;box-shadow:0 8px 25px #0005;width:max-content;max-width:90%}.error{color:#fecaca;background:#450a0a;padding:15px;border-radius:14px;font-size:13px;margin-bottom:20px}.error button{background:transparent;text-decoration:underline}dialog label{margin-bottom:14px}@media(max-width:760px){main{max-width:500px;padding:20px 16px 115px}.header-inner{max-width:500px;padding:14px 20px}.dashboard-grid{grid-template-columns:1fr;gap:22px}.card{padding:21px}.quick{padding:18px}.summary{margin-top:16px}.today{grid-column:auto}.hero h1{font-size:25px}.hero h1 span{font-size:14px}.ring{width:82px;height:82px}.local-note{font-size:11px}.meal-symbol{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.capture-dialog{color-scheme:dark;background:#0f172a;color:#f1f5f9;border:1px solid #334155;border-radius:28px;width:min(580px,calc(100% - 28px));box-shadow:0 14px 44px #0005}.capture-dialog .dialog-content{padding:24px}.capture-dialog .dialog-heading{position:absolute;right:15px;top:15px;margin:0}.capture-dialog .dialog-heading h2{display:none}.capture-dialog .dialog-heading .icon{width:28px;height:28px;font-size:20px;color:#94a3b8;background:#1e293b;border:0}.capture-form{gap:14px}.capture-heading{text-align:center;padding:0 18px 4px}.capture-heading>p{color:#60a5fa;text-transform:uppercase;letter-spacing:.7px;font-size:11px;font-weight:800;margin-bottom:6px}.capture-heading h2{font-size:28px;font-weight:800;letter-spacing:-.6px}.capture-heading>span{display:block;color:#94a3b8;font-size:15px;line-height:21px;margin-top:6px}.capture-modes{background:#020617;border:1px solid #334155;border-radius:22px;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.capture-mode{min-height:58px;padding:10px 14px;background:#fff;border:1px solid #334155;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:8px;color:#cbd5e1;font-size:15px;font-weight:700}.capture-mode.active{background:#2563eb;border-color:#60a5fa;color:#fff}.capture-mode.compact{min-height:50px;padding:9px 12px}.capture-mode:disabled{opacity:.6;cursor:not-allowed;filter:none;transform:none}.capture-input-shell{background:#0f172a;border:1px solid #334155;border-radius:22px;padding:14px}.capture-input-shell label{font-size:16px;font-weight:800;color:#f1f5f9;margin-bottom:4px}.capture-input-shell>p{font-size:13px;line-height:18px;color:#94a3b8}.capture-input-shell textarea{display:block;width:100%;min-height:104px;margin-top:10px;background:#020617;color:#f1f5f9;border:1px solid #334155;border-radius:16px;padding:12px 14px;font:inherit;font-size:16px;resize:vertical}.capture-input-shell textarea::placeholder{color:#64748b}.capture-input-shell .capture-example{font-size:12px;line-height:17px;color:#94a3b8;text-align:center;margin-top:8px}.capture-details{background:#020617;border:1px solid #334155;border-radius:16px;padding:12px 14px}.capture-details-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;color:#cbd5e1;padding:0;font-size:13px;font-weight:700}.capture-details>p,.capture-hint{color:#94a3b8;font-size:11px;line-height:1.6;margin-top:6px}.capture-details #meal-nutrition-details:not([hidden]){margin-top:16px}.capture-details label{color:#cbd5e1}.capture-details input{background:#0f172a;border-color:#334155;color:#f1f5f9}.capture-details .field-grid label{margin-bottom:0}.capture-actions{display:flex;gap:8px}.capture-actions button{flex:1;min-height:52px;padding:12px 14px;border-radius:16px;font-size:16px;font-weight:700}.capture-cancel{background:#1e293b;color:#cbd5e1}.capture-add{background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;gap:8px}.capture-hint{margin-top:0;background:#172554;border-radius:12px;padding:10px;color:#cbd5e1}.capture-dialog :focus-visible{outline:2px solid #93c5fd;outline-offset:3px}@media(max-width:480px){.capture-dialog .dialog-content{padding:20px}.capture-heading>span{font-size:14px}.capture-input-shell .capture-example{font-size:11px}}.capture-details fieldset{border:0;padding:0;margin:0;min-width:0}.account-actions{display:flex;align-items:center;gap:16px}.account-name{max-width:180px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:12px;color:#94a3b8}.entry-page{max-width:520px;padding:36px 20px 60px}.entry-page>.brand{display:block;text-align:center;margin-bottom:30px}.entry-card{background:#0f172a;border:1px solid #1e293b;border-radius:28px;padding:30px}.entry-card>h1{font-size:27px;letter-spacing:-.6px;margin-top:10px}.entry-card>.eyebrow,.entry-card>h1,.entry-subtitle{text-align:center}.entry-subtitle{font-size:14px;color:#94a3b8;line-height:1.6;margin-top:10px;margin-bottom:24px}.entry-symbol{width:60px;height:60px;border-radius:20px;background:#2563eb;color:#fff;font-size:36px;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}.entry-card fieldset{border:0;padding:0;margin:0;display:grid;gap:18px;min-width:0}.entry-card button:disabled{opacity:.55;cursor:wait}.entry-card fieldset:disabled input{opacity:.65}.entry-divider{display:flex;align-items:center;gap:14px;color:#64748b;font-size:12px;margin:16px 0}.entry-divider:before,.entry-divider:after{content:"";height:1px;background:#334155;flex:1}.social-logins{display:grid;gap:10px}.entry-switch{text-align:center;margin-top:14px;font-size:12px;color:#94a3b8}.guest-button{width:100%;border-radius:15px;padding:14px;margin-top:18px;border:1px solid #475569;background:#1e293b;font-weight:700;font-size:14px}.entry-footnote{font-size:11px;line-height:1.6;color:#94a3b8;text-align:center;margin-top:14px}.entry-error{font-size:12px;color:#fecaca;background:#450a0a;padding:12px;border-radius:12px;margin-top:14px;line-height:1.6}.entry-message{font-size:12px;color:#bfdbfe;background:#172554;padding:12px;border-radius:12px;margin-top:14px;line-height:1.6}.setup-dialog{width:min(520px,calc(100% - 28px))}.setup-dialog .dialog-heading>h2{font-size:13px;color:#94a3b8}.setup-flow>.eyebrow,.setup-flow>h2{text-align:center}.setup-flow>h2{font-size:26px;margin-top:8px}.setup-progress{display:flex;gap:8px;margin:24px 0}.setup-progress>span{height:5px;background:#334155;border-radius:10px;flex:1}.setup-progress>.active{background:#3b82f6}.setup-step{display:grid;gap:16px}.setup-step h3{font-size:19px}.setup-step .muted{margin-bottom:0}.setup-step select{font:inherit;width:100%;background:#020617;color:#f1f5f9;border:1px solid #334155;border-radius:13px;padding:13px;font-size:14px}.setup-step select:focus-visible{outline:2px solid #93c5fd;outline-offset:3px}.goal-options{border:0;padding:0;margin:0;display:grid;gap:10px;min-width:0}.goal-options label{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #334155;border-radius:16px;background:#020617;cursor:pointer;margin:0}.goal-options label.selected{border-color:#3b82f6;background:#172554}.goal-options input{width:16px;margin:0;accent-color:#3b82f6}.goal-options strong{display:block;font-size:14px}.goal-options small{display:block;font-size:12px;color:#94a3b8;margin-top:6px;font-weight:400}.setup-estimate{padding:20px;background:#172554;border:1px solid #1d4ed8;border-radius:20px;text-align:center}.setup-estimate>small{color:#93c5fd;font-size:12px}.setup-estimate>strong{display:block;font-size:32px;margin:8px 0}.setup-estimate strong span{font-size:16px;color:#93c5fd}.setup-estimate p{font-size:12px;color:#cbd5e1;line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.recalculate{margin-bottom:20px}@media(max-width:480px){.entry-card{padding:24px 20px}.account-name{display:none}.account-actions{gap:12px}.setup-flow>h2{font-size:23px}}.capture-loading{display:flex;gap:10px;align-items:center;justify-content:center;font-size:13px;color:#cbd5e1;padding:12px}.capture-spinner{width:18px;height:18px;border:2px solid #334155;border-top-color:#60a5fa;border-radius:50%;animation:capture-spin 1s linear infinite}@keyframes capture-spin{to{transform:rotate(360deg)}}.capture-estimate{background:#172554;border:1px solid #1e3a8a;padding:14px;border-radius:16px;color:#cbd5e1;font-size:12px;line-height:1.6}.capture-estimate strong{font-size:13px}.capture-estimate p{margin-top:6px;overflow-wrap:anywhere}.capture-error{color:#fecdd3;background:#4c0519;border:1px solid #881337;padding:12px;border-radius:12px;font-size:12px;line-height:1.6}.capture-manual-toggle{background:transparent;color:#60a5fa;font-size:12px;font-weight:650;padding:4px}.capture-availability{text-align:center;font-size:11px;color:#94a3b8;line-height:1.6}.capture-nutrition-fields{margin-top:14px}.capture-add:disabled,.capture-manual-toggle:disabled{opacity:.65;cursor:wait;transform:none}.capture-input-shell textarea:disabled{opacity:.7}@media(prefers-reduced-motion:reduce){.capture-spinner{animation:none}}.capture-dialog:has(.meal-result){background:#0f172a;width:min(680px,calc(100% - 28px))}.capture-dialog:has(.meal-result) .dialog-content{padding:22px}.capture-dialog:has(.meal-result) .dialog-heading{z-index:2}.meal-result{display:flex;flex-direction:column;gap:14px}.result-heading{display:flex;align-items:center;gap:14px;margin-bottom:4px;padding-right:28px}.result-heading>button{width:32px;height:32px;background:#1e293b;border:1px solid #334155;border-radius:50%;font-size:28px;line-height:1;color:#60a5fa}.result-heading h2{font-size:20px;color:#f1f5f9;outline:none}.result-summary{background:#172554;border:1px solid #334155;border-radius:24px;padding:18px}.result-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.result-summary>div>span:first-child{text-transform:uppercase;color:#60a5fa;letter-spacing:.6px;font-size:11px;font-weight:800}.result-badge{font-size:11px;background:#1e293b;border:1px solid #334155;color:#60a5fa;border-radius:30px;padding:5px 10px;font-weight:750}.result-summary h3{font-size:22px;color:#f1f5f9;line-height:1.3;margin:10px 0 6px;overflow-wrap:anywhere}.result-summary>p{font-size:13px;line-height:1.6;color:#94a3b8;overflow-wrap:anywhere}.result-updated{display:inline-block;background:#1e293b;border:1px solid #334155;border-radius:30px;padding:6px 10px;margin-top:10px;color:#60a5fa;font-size:11px;font-weight:750}.result-card{background:#020617;border:1px solid #334155;border-radius:24px;padding:18px}.result-card h3{font-size:17px;font-weight:800;color:#f1f5f9}.result-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.result-section-heading>span,.result-section-heading>div>span{font-size:11px;color:#94a3b8;font-weight:650}.result-section-heading>div{display:flex;align-items:center;gap:10px}.result-macro-row{display:grid;grid-template-columns:repeat(4,1fr);margin-top:6px}.result-macro{display:flex;flex-direction:column;align-items:center;border-right:1px solid #334155;padding:0 4px;min-width:0}.result-macro:last-child{border:0}.result-macro-accent{height:4px;width:28px;border-radius:10px;background:#3b82f6;margin-bottom:10px}.result-macro.protein .result-macro-accent{background:#2dd4bf}.result-macro.carbs .result-macro-accent{background:#fbbf24}.result-macro.fat .result-macro-accent{background:#a78bfa}.result-macro strong{font-size:20px;color:#f1f5f9;margin-bottom:4px}.result-macro strong small{font-size:13px;font-weight:650}.result-macro>span:last-child{font-size:12px;font-weight:600;color:#94a3b8}.result-edit{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 10px;background:#172554;border:1px solid #334155;border-radius:30px;color:#60a5fa;font-size:12px;font-weight:750}.result-ingredient{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #1e293b}.result-ingredient:last-child{border:0;padding-bottom:0}.result-ingredient>span:nth-child(2){flex:1;color:#cbd5e1;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.ingredient-dot{width:8px;height:8px;flex-shrink:0;background:#3b82f6;border-radius:50%}.result-ingredient-fields{display:grid;grid-template-columns:70px 75px minmax(0,1fr) 28px;gap:8px;width:100%}.meal-result input{background:#020617;border:1px solid #334155;border-radius:12px;padding:11px;color:#f1f5f9;font-size:13px}.meal-result label{color:#cbd5e1}.result-ingredient-fields>button{background:#4c0519;color:#fda4af;border-radius:10px;font-size:20px;padding:0}.result-add-ingredient{margin-top:16px}.result-edit-nutrition{display:flex;align-items:center;justify-content:space-between;width:100%;background:transparent;color:#60a5fa;font-weight:700;font-size:13px;padding:0}.result-edit-fields{margin-top:18px}.result-edit-fields .field-grid label{margin-bottom:0}.result-footer{position:sticky;bottom:-22px;background:#0f172af5;backdrop-filter:blur(12px);padding:12px 0 0;display:grid;gap:10px;z-index:1}.result-log{background:#2563eb;color:#fff;width:100%;min-height:52px;border-radius:16px;padding:14px;font-size:16px;font-weight:800}.result-log:disabled,.meal-result button:disabled{opacity:.6;cursor:not-allowed}.result-discard{background:#1e293b;border:1px solid #334155;border-radius:16px;color:#60a5fa;padding:12px;font-size:13px;font-weight:700}.result-hero{height:270px;position:relative;border-radius:26px;overflow:hidden;background:#183153}.result-hero>img{width:100%;height:100%;object-fit:cover}.result-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#091023b3);pointer-events:none}.result-hero-caption{position:absolute;bottom:12px;left:14px;right:14px;z-index:1;padding:14px;border:1px solid #ffffff35;background:#14223880;backdrop-filter:blur(14px);border-radius:22px;color:#fff}.result-hero-caption>span{font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.5px}.result-hero-caption>h3{font-size:21px;margin-top:8px}.result-hero-caption>p{font-size:12px;color:#e2e8f0;line-height:1.5;margin-top:5px}.result-hero.without-image{height:190px}.result-detail{font-size:14px;color:#cbd5e1;margin-top:12px}.result-portion{display:grid;gap:12px;margin-top:20px}.result-portion>button{background:#172554;border:1px solid #334155;border-radius:13px;color:#60a5fa;padding:12px;font-weight:750}.result-portion>p{font-size:12px;color:#2dd4bf}@media(max-width:480px){.capture-dialog:has(.meal-result) .dialog-content{padding:16px}.result-section-heading{gap:6px}.result-section-heading h3{font-size:15px}.result-macro strong{font-size:17px}.result-macro>span:last-child{font-size:10px}.result-summary h3{font-size:20px}.result-ingredient-fields{grid-template-columns:58px 60px minmax(0,1fr) 24px;gap:5px}.result-ingredient-fields input{padding:9px 6px;font-size:12px}.result-hero{height:230px}.result-footer{bottom:-16px}}.history-dialog{width:min(820px,calc(100% - 28px));background:#0f172a}.history-dialog .dialog-heading>h2{display:none}.history-dialog .dialog-heading{position:absolute;right:18px;top:16px}.history-dialog .dialog-heading .icon{width:28px;height:28px;font-size:20px}.history-dialog .dialog-content{padding:26px}.meal-history{display:grid;gap:18px}.history-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-right:30px}.history-header h2{font-size:25px;margin-top:6px}.history-header>div>p:last-child{font-size:12px;line-height:1.6;color:#94a3b8;margin-top:7px}.history-star{background:#1e293b;border:1px solid #334155;border-radius:13px;width:42px;height:42px;color:#fbbf24;font-size:23px;flex-shrink:0}.history-star.selected{background:#422006;border-color:#a16207}.history-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;background:#020617;padding:5px;border:1px solid #1e293b;border-radius:16px}.history-tabs>button{border-radius:12px;padding:12px;background:transparent;color:#94a3b8;font-size:13px;font-weight:700}.history-tabs>button.active{background:#2563eb;color:#fff}.history-summary-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:14px}.history-card{background:#020617;border:1px solid #1e293b;border-radius:20px;padding:18px}.history-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.history-section-heading h3{font-size:15px}.history-section-heading>span{font-size:11px;color:#94a3b8}.history-date>.history-section-heading>span{color:#93c5fd;background:#172554;border:1px solid #1e3a8a;border-radius:20px;padding:5px 8px;font-size:10px}.history-date input{margin-top:14px;background:#0f172a;border-color:#334155}.history-date>p{font-size:12px;line-height:1.6;color:#94a3b8;margin-top:10px}.history-date-navigation{display:flex;justify-content:space-between;gap:8px;margin-top:10px}.history-date-navigation button{background:#1e293b;border-radius:9px;color:#93c5fd;padding:7px 14px;font-size:12px}.history-snapshot{background:linear-gradient(140deg,#172554,#0f172a);border-color:#1e3a8a}.history-snapshot>p{font-size:12px;color:#93c5fd}.history-snapshot h3{font-size:26px;margin-top:9px}.history-snapshot>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.history-snapshot strong,.history-totals strong{display:block;font-size:21px}.history-snapshot small,.history-totals small{display:block;font-size:11px;color:#94a3b8;margin-top:6px}.history-snapshot>p:last-child:not(:first-child){margin-top:16px;font-size:11px}.history-totals>div:last-child{display:grid;grid-template-columns:1fr 1fr;text-align:center;margin-top:20px}.history-totals>div:last-child>span+span{border-left:1px solid #334155}.history-totals>div:last-child>span:first-child strong{color:#60a5fa}.history-totals>div:last-child>span:last-child strong{color:#fbbf24}.history-meal-list{display:grid;gap:12px}.history-meal-card{background:#020617;border:1px solid #334155;border-radius:22px;padding:16px}.history-meal-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.history-type{background:#172554;border:1px solid #1e3a8a;color:#93c5fd;border-radius:20px;padding:6px 10px;font-size:11px;font-weight:650}.history-meal-heading>div{display:flex;gap:7px}.history-action{width:34px;height:34px;border-radius:10px;background:#1e293b;color:#94a3b8;font-size:18px}.history-action.favorite{color:#a16207}.history-action.favorite.selected{color:#fbbf24;background:#422006}.history-action.danger{color:#fda4af}.history-meal-time{font-size:11px;color:#94a3b8;margin-top:12px}.history-meal-card>h3{font-size:16px;line-height:1.5;margin-top:10px;overflow-wrap:anywhere}.history-meal-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.history-meal-tags>span{font-size:11px;font-weight:650;padding:7px 10px;border-radius:12px;color:#93c5fd;background:#172554}.history-meal-tags>span+span{background:#422006;color:#fcd34d}.history-empty{text-align:center;background:#020617;border:1px dashed #334155;border-radius:20px;padding:30px 20px}.history-empty>span{display:flex;width:60px;height:60px;border-radius:50%;align-items:center;justify-content:center;margin:0 auto 18px;background:#1e293b;color:#94a3b8;font-size:30px}.history-empty>p{font-size:12px;line-height:1.7;color:#94a3b8;margin:10px 0 20px}.history-message{font-size:12px;line-height:1.6;padding:12px;border:1px solid #1e3a8a;border-radius:13px;background:#172554;color:#bfdbfe}.history-trend{display:flex;align-items:flex-end;gap:3px;height:125px;margin-top:20px}.history-trend>button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;background:transparent;padding:0;gap:8px}.history-trend>button>span{display:block;width:70%;background:#334155;border-radius:5px 5px 0 0;min-width:3px}.history-trend>button.logged>span{background:#3b82f6}.history-trend small{font-size:9px;color:#94a3b8}.history-trend-hint{font-size:11px;line-height:1.6;color:#94a3b8;margin-top:12px}@media(max-width:560px){.history-dialog .dialog-content{padding:20px 16px}.history-summary-grid{grid-template-columns:1fr}.history-header h2{font-size:22px}.history-header{padding-right:26px;gap:8px}.history-snapshot>div{margin-top:14px}.history-trend small{font-size:8px}.history-trend{gap:2px}.history-totals strong{font-size:19px}}.public-app header nav{display:flex;align-items:center;gap:20px;font-size:13px;color:#94a3b8}.public-main{max-width:1100px;padding:60px 24px}.public-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:55px;align-items:center}.public-hero h1{font-size:clamp(36px,5vw,58px);line-height:1.1;letter-spacing:-2px;margin:18px 0}.public-hero h1>span{font-size:inherit;color:#60a5fa;white-space:normal}.public-hero>div>p:not(.eyebrow){color:#94a3b8;line-height:1.8;font-size:16px;max-width:490px}.public-benefits{display:grid;gap:12px;font-size:13px;color:#cbd5e1;margin-top:26px}.public-meal-form{background:#0f172a;border:1px solid #334155;border-radius:28px;padding:28px;box-shadow:0 20px 70px #2563eb15;gap:16px}.public-meal-form>label{font-size:18px;color:#f1f5f9}.public-meal-form textarea{width:100%;font:inherit;font-size:14px;line-height:1.7;color:#f1f5f9;background:#020617;border:1px solid #334155;border-radius:16px;padding:16px;resize:vertical}.public-meal-form>p{font-size:11px;line-height:1.7;color:#94a3b8}.public-how{margin-top:85px;scroll-margin-top:100px}.public-how>h2,.public-faq>h2{font-size:25px;margin-bottom:28px}.public-how>div{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.public-how article{border-top:1px solid #334155;padding-top:22px}.public-how article>span{color:#60a5fa;font-size:13px;font-weight:750}.public-how article h3{font-size:18px;margin-top:12px}.public-how article p{font-size:13px;line-height:1.8;color:#94a3b8;margin-top:10px}.public-membership{margin-top:70px;border:1px solid #334155;border-radius:28px;padding:30px;background:#0f172a;display:grid;grid-template-columns:1.3fr 1fr;gap:40px}.public-membership h2{font-size:25px;margin-top:12px}.public-membership p:not(.eyebrow){font-size:13px;line-height:1.8;color:#94a3b8;margin:14px 0}.public-membership>div+div{border-left:1px solid #334155;padding-left:30px}.public-membership a{display:block;color:#60a5fa;font-size:13px;margin-top:15px}.public-faq{margin-top:65px;max-width:850px}.public-faq details{border-bottom:1px solid #1e293b;padding:18px 0}.public-faq summary{cursor:pointer;font-size:15px;font-weight:650}.public-faq details p{font-size:13px;line-height:1.8;color:#94a3b8;margin-top:14px}.public-footer{max-width:1100px;margin:auto;padding:24px;display:flex;gap:24px;border-top:1px solid #1e293b;color:#94a3b8;font-size:12px}.public-footer span{margin-left:auto}.allowance-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;padding:12px 16px;border:1px solid #1e3a8a;border-radius:14px;background:#172554;color:#bfdbfe;font-size:12px}.allowance-strip button{background:transparent;color:#93c5fd;font-weight:700;white-space:nowrap;font-size:12px}.plans-dialog{width:min(760px,calc(100% - 28px))}.subscription-panel{display:grid;gap:18px}.subscription-panel>h2{font-size:25px}.subscription-panel>.muted{margin:0}.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.plan-card{background:#020617;border:1px solid #334155;border-radius:22px;padding:22px}.plan-card.featured{border-color:#2563eb;background:#17255455}.plan-card>span{color:#60a5fa;font-size:12px;font-weight:700}.plan-card h3{font-size:22px;line-height:1.4;margin:12px 0}.plan-card p{font-size:13px;color:#94a3b8;line-height:1.7}.plan-card ul{padding-left:18px;color:#cbd5e1;font-size:12px;line-height:1.8;display:grid;gap:8px;margin:18px 0}.plan-card small{display:block;color:#94a3b8;font-size:10px;line-height:1.7;margin-top:14px}.plan-card .primary:disabled{opacity:.6;cursor:not-allowed}.plan-card .plan-active{color:#6ee7b7}.plan-usage{font-size:12px;color:#bfdbfe;line-height:1.7}.manage-subscription{display:block;text-align:center;color:#60a5fa;font-size:13px}@media(max-width:760px){.public-main{padding:36px 20px}.public-hero{grid-template-columns:1fr;gap:30px}.public-hero h1{font-size:42px}.public-how{margin-top:55px}.public-how>div{grid-template-columns:1fr;gap:20px}.public-membership{grid-template-columns:1fr;gap:26px;padding:24px}.public-membership>div+div{border-left:0;border-top:1px solid #334155;padding:22px 0 0}.public-app header nav{gap:12px}.public-app header nav>a{display:none}.public-footer{flex-wrap:wrap}.public-footer span{margin-left:0}.plan-grid{grid-template-columns:1fr}.allowance-strip{align-items:flex-start;font-size:11px}.account-actions{gap:10px}}.browser-capture video{width:100%;max-height:360px;object-fit:cover;border-radius:18px;background:#020617}.browser-capture>div{display:flex;gap:12px;margin:12px 0}.photo-preview{display:grid;gap:12px;margin-bottom:20px}.photo-preview img{width:100%;max-height:320px;object-fit:contain;border-radius:18px}.local-meal-photo{width:80px;height:80px;object-fit:cover;border-radius:12px}.history-meal-card .local-meal-photo{width:100%;height:160px;margin:10px 0}.capture-optional-details summary{color:#60a5fa;cursor:pointer;font-size:13px;font-weight:650;list-style:none;padding:8px 0}.capture-optional-details summary::-webkit-details-marker{display:none}.capture-optional-details[open] summary{margin-bottom:6px}.language-selector{display:inline-flex;align-items:center}.language-selector select{width:auto;max-width:135px;margin:0;padding:8px 10px;background:#0f172a;border:1px solid #334155;color:#f1f5f9;border-radius:10px;font:inherit;font-size:13px}.entry-page>.language-selector{align-self:flex-end}.account-actions{flex-wrap:wrap}.public-app nav{flex-wrap:wrap}@media(max-width:600px){.header-inner{flex-wrap:wrap;gap:12px}.account-actions{gap:8px}}.public-footer .language-links{display:flex;flex-wrap:wrap;gap:16px;width:100%}.public-footer{flex-wrap:wrap}.language-links [aria-current=page]{color:#f1f5f9;text-decoration:underline}.settings-language{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #334155}.settings-language h3{margin:0}.settings-language .language-selector select{max-width:none;min-width:145px}.public-guide{margin-top:65px;max-width:850px;scroll-margin-top:100px}.public-guide h2{font-size:25px;margin-bottom:24px}.public-guide article{margin:24px 0}.public-guide h3{font-size:18px;margin-bottom:10px}.public-guide p{font-size:14px;line-height:1.8;color:#94a3b8}.public-guide a{display:inline-block;color:#60a5fa;font-size:14px;line-height:1.6}#public-description{scroll-margin-top:110px}
