/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}.static{position:static}.border{border-style:var(--tw-border-style);border-width:1px}:root{color-scheme:light;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*,:before,:after{box-sizing:border-box}body{color:#1f2933;background:linear-gradient(#f5f9ff,#fff 40%);min-height:100dvh;margin:0}#root{min-height:100dvh}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}:root{color-scheme:light;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}#root{width:100%;max-width:1100px;margin:0 auto;padding:2rem 1.5rem 7.5rem;color:#1f2933}body{margin:0;background:linear-gradient(180deg,#f5f9ff,#fff 40%)}.auth{display:flex;flex-direction:column;gap:1rem;align-items:center;text-align:center;width:100%}.auth .auth-language{align-self:flex-end}.auth .auth-language select{min-width:140px}.app-shell{display:flex;flex-direction:column;gap:1.5rem;min-height:100vh;min-height:100dvh}.topbar{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap}.brand h1{margin:0;font-size:1.8rem}.brand p{margin:.25rem 0 0;color:#5a6b91;font-weight:500}.topbar-profile{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;background:#fffc;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:.75rem 1.15rem;border-radius:999px;box-shadow:0 12px 24px -18px #2f46af66;justify-content:center}.topbar-actions{display:flex;align-items:center;gap:.45rem}.language-selector{display:inline-flex;align-items:center;font-size:.875rem;color:#3f4c6b}.language-selector select{border-radius:999px;border:1px solid rgba(47,70,175,.3);padding:.2rem .9rem;background:#fff;color:inherit;font-weight:500;-webkit-appearance:none;-moz-appearance:none;appearance:none}.language-selector select:focus-visible{outline:2px solid rgba(47,70,175,.4);outline-offset:2px}.topbar-profile-info{display:flex;align-items:center;gap:.75rem;background:transparent;border:none;cursor:pointer;padding:0;color:inherit}.topbar-profile-info:focus-visible{outline:2px solid rgba(47,70,175,.5);outline-offset:2px}.topbar-profile-info.active .topbar-profile-email{color:#2f46af}.topbar-profile-icon{font-size:1.25rem;line-height:1}.topbar-profile .button,.topbar-profile button{border-radius:999px;min-height:40px;flex:0 0 auto}.topbar-profile .button.ghost,.topbar-profile button.ghost{border-color:#3a57f180;color:#3a57f1}.topbar-profile-text{display:flex;flex-direction:column;gap:.2rem;text-align:right;flex:1 1 auto}.topbar-profile-email{font-weight:600}.topbar-profile-meta{font-size:.75rem;color:#4b5c83}.topbar-icon-button{min-height:40px;width:40px;padding:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;border-color:#3a57f180;color:#3a57f1}.topbar-icon-button:hover{background:#3a57f11f}.topbar-icon{width:1.2rem;height:1.2rem}.button.small,button.small{padding:.45rem 1.1rem;min-height:36px;font-size:.85rem}.content{flex:1;display:flex;justify-content:center}.tab-container{width:100%;max-width:960px;display:flex;flex-direction:column;gap:2rem}.tab-panel{display:flex;flex-direction:column;gap:1.5rem}.tab-panel>h2,.tab-panel>p.description{width:min(100%,720px);margin:0 auto}.tab-stack{gap:1.25rem}.assistant-panel{align-items:stretch}.tabbar{margin-top:auto;position:sticky;bottom:1.5rem;align-self:center;width:min(100%,680px);display:flex;flex-wrap:nowrap;gap:.75rem;padding:.85rem;padding-bottom:calc(.85rem + env(safe-area-inset-bottom,0));border-radius:1.1rem;background:#ffffffd8;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 24px 44px -28px #2f46af8c}.tab-button{border:none;background:transparent;color:#3a57f1;padding:.55rem .5rem .65rem;border-radius:.85rem;font-weight:600;transition:background .2s ease,color .2s ease,box-shadow .2s ease;display:flex;flex-direction:column;gap:.25rem;align-items:center;justify-content:center;flex:1 1 0;min-width:0}.tab-icon{width:1.6rem;height:1.6rem;display:block}@media (max-width: 1200px){#root{max-width:none;margin:0;padding:1.5rem 1rem 7.5rem}.tabbar{position:fixed;left:0;right:0;bottom:0;width:100vw;max-width:none;border-radius:0;padding:.75rem 1.25rem calc(.85rem + env(safe-area-inset-bottom));gap:.6rem;background:#fffe;box-shadow:0 -4px 32px -12px #2f46af73}.app-shell{padding-bottom:0}}.tab-label{font-size:.85rem}.tab-button:hover{background:#3a57f11f}.tab-button.active{background:linear-gradient(135deg,#5b7cff,#3a57f1);color:#fff;box-shadow:0 14px 24px -18px #1e3fb499}.profile-meta{display:flex;align-items:center;justify-content:space-between;gap:1rem}.profile-meta-text{display:flex;flex-direction:column;gap:.2rem}.profile-meta-label{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#5a6b91}.profile-meta-value{font-weight:600}.auth h1{font-size:2.4rem;margin:0}.auth .toggle{display:flex;gap:.5rem}.auth .toggle button{padding:.6rem 1.5rem;border-radius:999px;background:transparent;border:1px solid #5b7cff;color:#5b7cff;cursor:pointer}.auth .toggle button.active,.auth .toggle button:hover{background:#5b7cff;color:#fff}.card{background:#fffc;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:1rem;padding:1.5rem;box-shadow:0 20px 40px -24px #2f46af66;text-align:left;display:flex;flex-direction:column;gap:1.25rem}.form-card{width:min(100%,720px);margin:0 auto;padding:1.75rem 1.75rem 1.85rem;gap:1.35rem}.nutrition-photo-card{display:flex;flex-direction:column;gap:1.25rem}.photo-upload{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem}.photo-upload-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.6rem 1.1rem;border-radius:.75rem;background:#3c56ff;color:#fff;font-weight:600;border:none;cursor:pointer;transition:background .2s ease,transform .2s ease;box-shadow:0 10px 20px -15px #233c8c99}.photo-upload-button:hover,.photo-upload-button:focus-visible{background:#2a45e6;transform:translateY(-1px)}.photo-upload-button:focus-visible{outline:3px solid rgba(60,86,255,.35);outline-offset:2px}.photo-upload-button.disabled{opacity:.6;cursor:default;pointer-events:none;box-shadow:none}.photo-hint{font-size:.85rem;color:#6c789b;font-weight:500}.photo-preview-wrapper{display:flex;flex-direction:column;gap:.75rem}.photo-preview{max-width:100%;border-radius:1rem;border:1px solid #dbe4ff;background:#f8faff;-o-object-fit:cover;object-fit:cover}.photo-meta{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;justify-content:space-between}.photo-name{margin:0;font-weight:600;color:#2f3a4c;word-break:break-word}.photo-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.photo-debug{background:#fff8f0;border:1px dashed #f08c00;border-radius:.9rem;padding:.8rem 1rem;color:#824100;font-size:.9rem}.photo-debug summary{font-weight:600;cursor:pointer;outline:none}.photo-debug ul{margin:.6rem 0 0;padding-left:1.1rem;display:flex;flex-direction:column;gap:.35rem}.photo-debug code{background:#ffffffa6;border-radius:.4rem;padding:.2rem .35rem;display:inline-block;max-width:100%;word-break:break-word}.photo-result{display:flex;flex-direction:column;gap:.9rem;background:#f8faff;border:1px solid #dbe4ff;border-radius:1rem;padding:1.1rem 1.2rem}.photo-calories{margin:0;font-weight:700;color:#2f46af;font-size:1.1rem}.photo-confidence{margin:0;color:#4b5c83;font-size:.95rem}.photo-notes h4,.photo-ingredients h4{margin:0;color:#2f3a4c;font-size:1rem}.photo-notes p{margin:.35rem 0 0}.photo-ingredients ul{margin:.45rem 0 0;padding-left:1.2rem;display:flex;flex-direction:column;gap:.35rem}.photo-ingredients li{color:#3b4764}.card label,.card input,.card select,.card button,.card textarea{font-size:.95rem}.password-input{display:flex;gap:.5rem;align-items:center}.password-input input{flex:1}label{display:flex;flex-direction:column;gap:.55rem;font-weight:600;color:#2f3a4c}input,select,textarea{padding:0 1rem;border-radius:.7rem;border:1px solid #cbd5f5;background:#fff;font:inherit;color:#1f2933;min-height:44px;transition:border-color .2s ease,box-shadow .2s ease}input::-moz-placeholder,textarea::-moz-placeholder{color:#7a869f}input::placeholder,textarea::placeholder{color:#7a869f}textarea{min-height:120px;resize:vertical}input:focus,select:focus,textarea:focus{outline:none;border-color:#5b7cff;box-shadow:0 0 0 3px #5b7cff26}input[type=date]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:.75rem}input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer}button,.button{cursor:pointer;border:none;background:#3a57f1;color:#fff;padding:.65rem 1.6rem;border-radius:.9rem;font-weight:600;transition:background .2s ease;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;text-decoration:none;min-height:44px}button:hover,.button:hover{background:#2b44c8}button:disabled{opacity:.6;cursor:not-allowed}button:disabled:hover{background:#3a57f1}button.ghost:disabled:hover,.button.ghost:disabled:hover{background:transparent}.ghost{background:transparent;border:1px solid #3a57f1;color:#3a57f1}.ghost:hover{background:#3a57f11a}.error{color:#c53030;margin:0}.muted{color:#6c789b;margin:0;font-size:.95rem}section{margin-bottom:2.5rem}section h2{margin-bottom:1rem;color:#1c2753}.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.list{list-style:none;padding:0;margin:1rem 0 0;display:flex;flex-direction:column;gap:.8rem}.list li{display:flex;flex-direction:column;gap:.3rem;padding:1rem;border-radius:.8rem;background:#f7f9ff;border:1px solid #e0e6ff}.list li button{align-self:flex-start;margin-top:.4rem;background:#ff5b5b}.list li button:hover{background:#d94141}.note{color:#4a5d9d;font-size:.9rem}.diary-form,.search,.food-form{display:flex;flex-wrap:wrap;gap:.8rem}.diary-form select{flex:1 1 220px}.diary-form input[type=number],.diary-form input[type=text],.diary-form textarea{flex:1 1 140px}.diary-items{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.diary-item{background:#eef3ff;border-radius:.8rem;padding:1rem;display:flex;flex-direction:column;gap:.3rem}.form-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:flex-end;margin-top:.5rem}.form-actions .error{flex-basis:100%;text-align:right}.advice-result h3{margin:0}.advice-text{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;white-space:pre-wrap;line-height:1.6}.photo-card{gap:1rem}.photo-upload{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;font-weight:600}.photo-upload input[type=file]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.photo-preview{max-width:100%;border-radius:.9rem;border:1px solid #dbe3ff;box-shadow:0 12px 30px -20px #143c7866}.photo-result{gap:.6rem}.photo-result-header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.photo-result ul{padding-left:1.2rem;margin:0;display:flex;flex-direction:column;gap:.4rem;list-style:disc}.history-card{display:block}.history-card summary{font-size:1.05rem}.history-list{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-direction:column;gap:1.5rem}.history-item{background:#f6f8ff;border:1px solid #dbe3ff;border-radius:1rem;padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.8rem}.history-meta{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-bottom:.75rem;max-width:655px}.history-tag{padding:.25rem .75rem;border-radius:999px;background:#eef2ff;color:#1c2753;font-size:.85rem;font-weight:600}.metric-tags{display:flex;flex-wrap:wrap;gap:.4rem}.metric-tag{padding:.25rem .7rem;border-radius:999px;background:#e8ecff;color:#1c2753;font-weight:600;font-size:.85rem}.history-question{margin:0;color:#4d5c8f;line-height:1.5}.history-question strong{color:#2f46af}.history-comment{margin:.25rem 0 0;color:#4f566b;line-height:1.5}.history-comment strong{color:#334155}.history-advice{margin:0;padding:.85rem 1rem;border-radius:.9rem;border:1px solid #dbe3ff;background:#fff;white-space:pre-wrap;line-height:1.55;font-family:inherit;font-size:.95rem;max-width:625px}.photo-history-item h4{margin:0 0 .5rem}.photo-history-item ul{padding-left:1.1rem;margin:.5rem 0 0;display:flex;flex-direction:column;gap:.35rem;list-style:disc}.history-user,.history-assistant{margin:.35rem 0;white-space:pre-wrap}.badge{padding:.3rem .8rem;border-radius:999px;font-weight:600;font-size:.85rem}.badge.healthy{background:#e2fbe2;color:#1f7a36}.badge.balanced{background:#f3f6ff;color:#3a57f1}.badge.caution{background:#fff4e5;color:#b15c00}.assistant{gap:1rem}.assistant-header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.assistant-log{max-height:260px;overflow-y:auto;display:flex;flex-direction:column;gap:.75rem;padding-right:.25rem}.assistant-message{padding:.75rem 1rem;border-radius:1rem;max-width:85%;box-shadow:0 12px 24px -18px #21389659}.assistant-message span{white-space:pre-wrap;line-height:1.5}.assistant-message.assistant{align-self:flex-start;background:#f6f8ff;color:#1c2753}.assistant-form{display:flex;gap:.75rem}.assistant-form input{flex:1 1 auto}.assistant-actions .ghost{border-color:#3a57f166}.assistant-actions .ghost:disabled{opacity:.6;cursor:not-allowed}.assistant-actions .ghost:not(:disabled):hover{background:#3a57f114}details summary{cursor:pointer;font-weight:600}@media (max-width: 1024px){#root{padding:1.75rem 1.25rem 7rem}.app-shell{gap:1.25rem}.tab-container{gap:1.75rem}}@media (max-width: 768px){#root{padding:1.5rem 1.25rem 6.5rem}.topbar{flex-direction:column;align-items:flex-start;gap:.75rem}.brand{width:100%}.topbar-profile{width:100%;justify-content:space-between}.topbar-profile-text{text-align:left}.content{padding-bottom:1rem}.form-card{padding:1.5rem 1.35rem 1.6rem}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}@media (max-width: 640px){#root{padding:1.25rem 1rem calc(5.5rem + env(safe-area-inset-bottom,0))}.brand h1{font-size:1.6rem}.brand p{font-size:.95rem}.topbar{gap:.75rem}.topbar-profile{flex-wrap:wrap;gap:.6rem;padding:.75rem .95rem;border-radius:1rem}.topbar-profile .button,.topbar-profile button{flex:1 1 48%;width:100%}.tab-container{gap:1.5rem}.form-card{width:100%;margin:0;padding:1.35rem 1.1rem 1.5rem;border-radius:1rem}.metrics-grid{grid-template-columns:1fr}.form-actions{flex-direction:column;align-items:stretch;justify-content:stretch}.form-actions button{width:100%}.form-actions .error{order:3;text-align:left}.advice-result,.history-card{padding:1.25rem 1.1rem}.history-meta{gap:.6rem}.assistant-form{flex-direction:column}.assistant-message{max-width:100%}.assistant-actions{justify-content:stretch}.assistant-actions button{flex:1 1 auto;width:100%}.settings-overlay{padding:clamp(1.5rem,7vh,2.5rem) clamp(.75rem,4vw,1.25rem);padding-top:calc(env(safe-area-inset-top,0) + clamp(1.5rem,7vh,2.5rem));padding-bottom:calc(env(safe-area-inset-bottom,0) + clamp(1.5rem,7vh,2.5rem));scroll-padding-top:clamp(1.5rem,7vh,2.5rem);scroll-padding-bottom:clamp(1.5rem,7vh,2.5rem)}.settings-card{width:100%;border-radius:1.2rem;padding:1.6rem;margin:0}.settings-grid{grid-template-columns:1fr}.settings-actions{justify-content:stretch}.settings-actions button{flex:1 1 auto}.settings-actions .settings-success,.settings-actions .error{margin-left:0;text-align:left;width:100%}.tabbar{position:fixed;left:1rem;right:1rem;bottom:1rem;width:auto;border-radius:1rem;padding:.75rem;padding-bottom:calc(.75rem + env(safe-area-inset-bottom,0))}}@media (max-width: 480px){.brand h1{font-size:1.45rem}.brand p{font-size:.9rem}.topbar-profile{gap:.5rem}.topbar-profile .button,.topbar-profile button{flex:1 1 100%}.tab-button{padding:.5rem;gap:.2rem}.tab-label{font-size:.75rem}.history-meta{flex-direction:column;align-items:flex-start}.settings-card{padding:1.5rem}}@media (max-width: 400px){.brand h1{font-size:1.35rem}.tab-label{display:none}.tab-button{padding:.6rem}}.metrics-grid{display:grid;gap:1.1rem 1.25rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.form-card .metrics-grid{width:100%}.assistant-card{gap:1.25rem}.assistant-messages{display:flex;flex-direction:column;gap:.9rem;max-height:420px;overflow-y:auto;padding-right:.25rem}.assistant-message{border-radius:.9rem;padding:.9rem 1rem;box-shadow:0 12px 30px -24px #2f46af99;display:flex;flex-direction:column;gap:.35rem}.assistant-message.user{align-self:flex-end;background:linear-gradient(135deg,#5b7cff,#3a57f1);color:#fff}.assistant-message.assistant{align-self:flex-start;background:#eef3ff;color:#1c2753}.assistant-role{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;opacity:.8}.assistant-message.assistant .assistant-role{color:#2f46af}.assistant-form{display:flex;flex-direction:column;gap:.75rem}.assistant-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:flex-end}.assistant-actions .error{flex-basis:100%;text-align:right}.settings-overlay{position:fixed;inset:0;background:#1e293b59;display:flex;justify-content:center;align-items:flex-start;padding:clamp(2rem,7vh,4rem) clamp(1rem,4vw,1.75rem);padding-top:calc(env(safe-area-inset-top,0) + clamp(2rem,7vh,4rem));padding-bottom:calc(env(safe-area-inset-bottom,0) + clamp(2rem,7vh,4rem));scroll-padding-top:clamp(2rem,7vh,4rem);scroll-padding-bottom:clamp(2rem,7vh,4rem);min-height:100vh;min-height:100dvh;width:100%;box-sizing:border-box;z-index:100;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.settings-card{width:min(640px,100%);background:#fff;gap:1.6rem;padding:2rem 2.25rem;margin:0 auto}.settings-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.settings-heading h2{margin:0;font-size:1.6rem}.settings-heading p{margin:.35rem 0 0;color:#5a6b91;font-weight:500}.settings-tabs{display:flex;gap:.75rem;flex-wrap:wrap;margin:.5rem 0 1.5rem}.settings-tab{border:1px solid rgba(58,87,241,.35);background:#3a57f114;color:#2f46af;border-radius:999px;padding:.45rem 1.4rem;font-weight:600;cursor:pointer;transition:background .2s ease,color .2s ease,box-shadow .2s ease}.settings-tab.active,.settings-tab:hover{background:linear-gradient(135deg,#5b7cff,#3a57f1);color:#fff;box-shadow:0 12px 24px -18px #1e3fb499}.settings-form{display:flex;flex-direction:column;gap:1.5rem}.settings-grid{display:grid;gap:1.1rem 1.25rem;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid>label{width:100%}.settings-actions{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;justify-content:flex-end}.settings-success{color:#1b8a4b;font-weight:600}.settings-actions .settings-success,.settings-actions .error{margin-left:auto}.billing-section{margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(15,23,42,.08);display:flex;flex-direction:column;gap:1.5rem}.billing-section h3{margin:0;font-size:1.35rem}.billing-summary{display:grid;gap:1rem 1.5rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.billing-summary-card{display:flex;flex-direction:column;gap:.4rem;padding:1.25rem 1.35rem;border-radius:1rem;border:1px solid rgba(15,23,42,.08);background:#ffffffbf;box-shadow:inset 0 1px #fff9}.billing-label{font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:#64748b;display:block;margin-bottom:.35rem}.billing-summary strong{display:block;font-size:1.25rem;color:#0f172a}.billing-form{display:flex;flex-direction:column;gap:.75rem;padding:1.25rem;border-radius:1rem;border:1px solid rgba(15,23,42,.08);background:#ffffffb3;box-shadow:inset 0 1px #fff9}.billing-form h4{margin:0;font-size:1.1rem;color:#0f172a}.billing-plan-description{margin:0;color:#4b5c83;line-height:1.5}.billing-plan-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-top:.75rem}.plan-options{display:flex;flex-direction:column;gap:.75rem;max-height:min(45vh,360px);overflow-y:auto;padding-right:.35rem;scrollbar-width:thin;scrollbar-gutter:stable}.plan-options::-webkit-scrollbar{width:6px}.plan-options::-webkit-scrollbar-thumb{background:#64748b66;border-radius:999px}.plan-options::-webkit-scrollbar-track{background:transparent}.plan-option{display:flex;gap:.75rem;padding:.75rem .85rem;border-radius:.9rem;border:1px solid rgba(15,23,42,.12);background:#f8fafccc;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;cursor:pointer}.plan-option:hover{border-color:#2563eb66}.plan-option.active{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26;background:#edf2ffeb}.plan-option input{margin-top:.4rem}.plan-option-body{display:flex;flex-direction:column;gap:.35rem;flex:1}.plan-option-header{display:flex;justify-content:space-between;align-items:center;font-weight:600;color:#0f172a}.plan-price{color:#2563eb;font-size:.95rem}.plan-features{margin:0;padding-left:1.1rem;color:#475569;font-size:.9rem}.billing-note{margin:0;font-size:.85rem}.billing-section.loading{display:flex;align-items:center;justify-content:center;min-height:160px}@media (max-width: 600px){.settings-overlay{padding:clamp(1.25rem,8vh,2.25rem) clamp(.75rem,5vw,1.1rem);padding-top:calc(env(safe-area-inset-top,0) + clamp(1.25rem,8vh,2.25rem));padding-bottom:calc(env(safe-area-inset-bottom,0) + clamp(1.25rem,8vh,2.25rem));scroll-padding-top:clamp(1.25rem,8vh,2.25rem);scroll-padding-bottom:clamp(1.25rem,8vh,2.25rem)}.settings-card{padding:1.75rem;margin:0}.settings-header{flex-direction:column;align-items:stretch}.settings-heading h2{font-size:1.4rem}.settings-grid,.billing-summary,.billing-grid{grid-template-columns:1fr}}.photo-history{display:block}.photo-history summary{font-size:1.05rem;font-weight:600}.photo-history-list{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-direction:column;gap:1.25rem}.photo-history-item{background:#f6f8ff;border:1px solid #dbe4ff;border-radius:1rem;padding:1rem 1.2rem;display:flex;flex-direction:column;gap:.75rem}.photo-history-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem}.photo-history-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}.photo-history-name{font-weight:600;color:#1c2753;word-break:break-word}.photo-history-calories,.photo-history-confidence{margin:0;font-weight:600;color:#2f46af}.photo-history-notes p,.photo-history-ingredients ul{margin:.5rem 0 0;color:#3a4d7a;line-height:1.5}.photo-history-ingredients ul{padding-left:1.1rem;display:flex;flex-direction:column;gap:.35rem}.photo-history-notes h4,.photo-history-ingredients h4{margin:0;color:#1f2a4b}.photo-history .ghost.small{padding:.35rem .75rem}
