@import "https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Sora:wght@400;500;600;700&display=swap";:root{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#0f1d2d;--ink:#0f1d2d;--ink-muted:#4b5563;--brand:#0b5f6b;--brand-strong:#07414d;--surface:#ffffffbf;--surface-strong:#fff;--border:#0f172a1f;--shadow:0 30px 60px -45px #0f172a80;--shadow-soft:0 16px 40px -34px #0f172a66;background-color:#f4f1ea;font-family:Manrope,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth;height:100%}body{height:100%;min-height:100%;color:var(--ink);background:radial-gradient(1200px 600px at 12% -10%,#dff3ff 0%,#dff3ff00 60%),radial-gradient(900px 500px at 90% 10%,#ffe7c9 0%,#ffe7c900 55%),linear-gradient(#f9f5ef 0%,#eef2f8 100%);margin:0}#root{height:auto;min-height:100%}.app-html,.app-body{overflow:hidden}.app-body #root{height:var(--app-height,100dvh)}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button{font-family:inherit}.lang-switch{border:1px solid var(--lang-border,#0f172a26);background:var(--lang-bg,#ffffffbf);box-shadow:var(--shadow-soft);border-radius:999px;align-items:center;gap:4px;padding:4px;display:inline-flex}.lang-switch-button{color:var(--lang-text,var(--ink-muted));cursor:pointer;letter-spacing:.08em;text-transform:uppercase;background:0 0;border:none;border-radius:999px;padding:6px 10px;font-size:.7rem;font-weight:700}.lang-switch-button.is-active{background:var(--lang-active-bg,var(--brand));color:var(--lang-active-text,#fff);box-shadow:0 10px 18px -14px #07414dcc}.lang-switch--landing{--lang-bg:#ffffffd9;--lang-border:var(--border);--lang-text:var(--ink-muted);--lang-active-bg:var(--brand);--lang-active-text:#fff}.lang-switch--app{--lang-bg:#0f172ab3;--lang-border:#33415599;--lang-text:#94a3b8;--lang-active-bg:#22d3ee;--lang-active-text:#0f172a;box-shadow:none}.app-root{min-height:var(--app-height,100dvh);height:var(--app-height,100dvh);color:#e2e8f0;background:radial-gradient(1200px 600px at 20% -10%,#1e40af40,#0000 60%),radial-gradient(900px 500px at 90% 10%,#06b6d42e,#0000 55%),#0f172a;flex-direction:column;font-family:Manrope,sans-serif;display:flex;overflow:hidden}html{scrollbar-color:#1f2937 transparent;scrollbar-width:thin}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:linear-gradient(#1f2937,#0b1220);border:2px solid #0f172a;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:linear-gradient(#0f172a,#1f2937)}.app-root--start,.app-root--auth{height:var(--app-height,100dvh);min-height:var(--app-height,100dvh)}.app-root--onboarding{color:#e2e8f0;background:radial-gradient(1200px 600px at 20% -10%,#1e40af40,#0000 60%),radial-gradient(900px 500px at 90% 10%,#06b6d42e,#0000 55%),#0f172a}.app-shell{min-height:var(--app-height,100dvh);height:var(--app-height,100dvh);flex-direction:column;flex:1;display:flex;overflow:hidden}.app-shell--start,.app-shell--auth,.app-shell--onboarding{height:var(--app-height,100dvh);min-height:var(--app-height,100dvh)}.app-root button,.app-root input{font-family:inherit}.app-content{overscroll-behavior:contain;scrollbar-width:none;flex:auto;width:100%;max-width:1200px;min-height:0;margin:0 auto;padding:24px 20px 32px;overflow-y:auto}.app-content::-webkit-scrollbar{width:0;height:0}.app-content--start,.app-content--auth{width:100%;max-width:100%;height:var(--app-height,100dvh);min-height:var(--app-height,100dvh);padding:0;overflow:hidden}.app-content--onboarding{width:100%;max-width:100%;height:var(--app-height,100dvh);min-height:var(--app-height,100dvh);padding:0}.app-nav{box-sizing:border-box;width:100%;padding:12px 10px calc(18px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:20;background:#020617eb;border-top:1px solid #33415599;flex:none;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.app-nav--admin{grid-template-columns:repeat(5,minmax(0,1fr))}.app-nav-link{color:#94a3b8;flex-direction:column;align-items:center;gap:4px;font-size:.7rem;font-weight:600;text-decoration:none;display:flex}.app-nav-link--active{color:#22d3ee}@media (max-width:960px){.app-content{padding:20px 16px 28px}.app-content--start,.app-content--auth{padding:0}}.app-section-title{margin:0 0 4px;font-family:Sora,sans-serif;font-size:clamp(1.4rem,3vw,2rem)}.app-modal-card .app-section-title{color:#f8fafc;text-shadow:0 12px 20px #0f172a59;margin-bottom:14px}.app-section-sub{color:#94a3b8;margin:0;font-size:.95rem}.app-card{background:#0b1220;border:1px solid #33415599;border-radius:16px;padding:16px;box-shadow:0 16px 40px -30px #0f172ab3}.app-card--elevated{box-shadow:0 24px 60px -40px #0f172acc}.app-card--soft{background:#0f172a99}.app-btn{cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-family:Manrope,sans-serif;font-weight:700;transition:transform .15s,box-shadow .15s;display:inline-flex}.app-btn--loading{cursor:progress}.app-btn__spinner{border:2px solid #e2e8f059;border-top-color:currentColor;border-radius:50%;width:14px;height:14px;animation:.8s linear infinite spin}.app-btn:disabled{cursor:not-allowed;opacity:.6}.app-btn--primary{color:#fff;background:linear-gradient(135deg,#06b6d4,#3b82f6);box-shadow:0 16px 30px -22px #0e7490e6}.app-btn--secondary{color:#e2e8f0;background:#1f2937;border:1px solid #94a3b866}.app-btn--ghost{color:#94a3b8;background:0 0;border:1px solid #94a3b859}.app-btn--danger{color:#fff;background:#ef4444}.app-btn--success{color:#fff;background:#22c55e}.app-btn--sm{border-radius:10px;padding:8px 12px;font-size:.85rem}.app-chip{color:#cbd5e1;cursor:pointer;background:#1f2937;border:1px solid #94a3b866;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:.75rem;font-weight:700;transition:all .2s;display:inline-flex}.app-chip--active{color:#fff;background:#0891b2;border-color:#0891b2}.app-chip--outline{color:#22d3ee;background:0 0;border-color:#22d3ee}.app-input{color:#e2e8f0;background:#1f2937;border:1px solid #33415599;border-radius:10px;width:100%;padding:10px 12px;font-size:.95rem}.app-input::placeholder{color:#64748b}.app-input[type=time]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.app-input[type=time]::-webkit-calendar-picker-indicator{filter:brightness(0)saturate()invert(77%)sepia(18%)saturate(1855%)hue-rotate(141deg)brightness(92%)contrast(92%);opacity:1;cursor:pointer}.app-input--error{border-color:#f87171}.app-checkbox{cursor:pointer;background:0 0;border:2px solid #94a3b8;border-radius:4px;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex}.app-checkbox--checked{background:#22c55e;border-color:#22c55e}.app-avatar{object-fit:cover;border:3px solid #06b6d4}.app-label{color:#cbd5e1;margin-bottom:6px;font-size:.8rem;font-weight:600;display:block}.app-modal-overlay{z-index:40;background:#020617c7;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.app-modal-backdrop{cursor:pointer;z-index:1;background:0 0;border:none;position:absolute;inset:0}.app-modal-card{z-index:2;background:#111827;border:1px solid #33415599;border-radius:16px;flex-direction:column;width:min(92vw,460px);max-height:85vh;padding:18px;display:flex;position:relative;overflow:hidden}.app-modal-body{padding:4px 6px 4px 2px;overflow-y:auto}.app-modal-footer{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.photo-guides{gap:14px;margin-bottom:14px;display:grid}.photo-guides-block{background:#0f172ab3;border:1px solid #33415580;border-radius:12px;padding:12px}.photo-guides-title{color:#f8fafc;margin-bottom:6px;font-size:.85rem;font-weight:800}.photo-guides-list{color:#cbd5e1;gap:6px;margin:0;padding-left:18px;font-size:.85rem;display:grid}.photo-guides-text{color:#94a3b8;margin:0 0 10px;font-size:.85rem}.photo-guides-meta{gap:4px;margin-bottom:8px;display:grid}.photo-guides-flag{color:#38bdf8;letter-spacing:.2px;text-transform:uppercase;font-size:.72rem;font-weight:700}.photo-guides-preview{color:#94a3b8;white-space:nowrap;text-overflow:ellipsis;font-size:.8rem;overflow:hidden}.photo-ref-toggle,.photo-ref-options{flex-wrap:wrap;gap:8px;display:flex}.app-toast{left:50%;bottom:calc(110px + env(safe-area-inset-bottom));color:#f8fafc;letter-spacing:.2px;-webkit-backdrop-filter:blur(12px)saturate(1.3);pointer-events:none;z-index:60;background:linear-gradient(135deg,#0f172af5,#020617fa);border:1px solid #94a3b859;border-radius:14px;align-items:center;gap:10px;max-width:min(92vw,520px);padding:14px 18px;font-size:.9rem;font-weight:700;line-height:1.3;animation:.35s toast-in;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 24px 60px -36px #020617e6,inset 0 0 0 1px #0f172a99}.app-toast:before{content:"";background:var(--toast-accent,#22d3ee);width:10px;height:10px;box-shadow:0 0 0 4px var(--toast-accent-soft,#22d3ee33),0 0 16px var(--toast-accent-soft,#22d3ee40);border-radius:999px;flex:none}.app-toast--error{--toast-accent:#f87171;--toast-accent-soft:#f8717140;border-color:#f8717173;box-shadow:0 24px 60px -36px #020617d9,0 18px 40px -30px #f8717173,inset 0 0 0 1px #0f172a99}.app-toast--warning{--toast-accent:#facc15;--toast-accent-soft:#facc1538;border-color:#facc1573;box-shadow:0 24px 60px -36px #020617d9,0 18px 40px -30px #facc1566,inset 0 0 0 1px #0f172a99}.app-toast--success{--toast-accent:#22c55e;--toast-accent-soft:#22c55e38;border-color:#22c55e73;box-shadow:0 24px 60px -36px #020617d9,0 18px 40px -30px #22c55e66,inset 0 0 0 1px #0f172a99}.delete-task-actions{flex:1;gap:12px;width:100%;display:grid}.delete-task-cancel{width:100%}.delete-task-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.delete-task-option{background:#0f172a99;border:1px solid #33415599;border-radius:14px;gap:10px;padding:14px;display:grid}.delete-task-option--danger{background:#f8717114;border-color:#f8717173}.delete-task-option-title{color:#e2e8f0;margin-bottom:4px;font-weight:700}.delete-task-option-text{color:#94a3b8;font-size:.85rem;line-height:1.4}.delete-confirm{color:#e2e8f0;gap:8px;display:grid}.delete-confirm-actions{justify-content:flex-end;gap:10px;width:100%;display:flex}.delete-task-hint{margin:8px 0 0;font-size:.85rem}.delete-task-warning{color:#f8fafc;gap:6px;display:grid}@media (max-width:520px){.delete-task-row{grid-template-columns:1fr}}.app-table{gap:8px;display:grid}.app-table-head,.app-table-row{grid-template-columns:1.1fr 2fr 1.2fr;gap:12px;font-size:.75rem;display:grid}.app-table-head{text-transform:uppercase;color:#cbd5e1;border-bottom:1px solid #33415599;padding-bottom:6px;font-weight:700}.app-table-row{color:#e2e8f0;border-bottom:1px solid #33415559;padding:6px 0}.app-fab{right:20px;bottom:calc(110px + env(safe-area-inset-bottom));z-index:25;cursor:pointer;border-radius:50%;place-items:center;width:54px;height:54px;font-size:1.8rem;font-weight:700;display:grid;position:fixed;box-shadow:0 18px 40px -24px #0f172acc}.app-fab--cyan{color:#fff;background:#06b6d4}.app-fab--green{color:#fff;background:#22c55e}.app-banner{color:#fff;text-align:left;cursor:pointer;background:#3b82f6;border:none;border-radius:12px;margin-bottom:16px;padding:12px 14px}.app-banner-title{margin-bottom:4px;font-weight:800}.app-banner-text{color:#e2e8f0;font-size:.9rem}.app-inline-link{color:#22d3ee;cursor:pointer;font-weight:700;text-decoration:underline}.app-section{flex-direction:column;gap:16px;margin-top:18px;display:flex}.app-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.app-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.stat-value{color:#22d3ee;text-align:center;font-size:1.8rem;font-weight:800}.stat-value--green{color:#22c55e}.stat-label{color:#94a3b8;text-align:center;margin-top:4px;font-size:.8rem}.bmi-card{text-align:center;align-items:center;gap:10px;display:grid}.bmi-title{text-transform:uppercase;letter-spacing:.12em;color:#94a3b8;font-size:.7rem;font-weight:700}.bmi-value-row{justify-content:center;align-items:center;gap:8px;display:flex}.bmi-icon{color:#94a3b8;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.bmi-value{color:#e2e8f0;font-size:2rem;font-weight:800;line-height:1}.bmi-value--healthy{color:#22c55e}.bmi-badge{border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:4px 10px;font-size:.75rem;font-weight:700;display:inline-flex}.bmi-badge--underweight{color:#7dd3fc;background:#7dd3fc1f;border:1px solid #7dd3fc59}.bmi-badge--healthy{color:#22c55e;background:#22c55e1f;border:1px solid #22c55e59}.bmi-badge--overweight{color:#f59e0b;background:#f59e0b1f;border:1px solid #f59e0b59}.bmi-badge--obese{color:#f87171;background:#f871711f;border:1px solid #f8717159}.bmi-badge--missing{color:#94a3b8;background:#94a3b81f;border:1px solid #94a3b859}.bmi-bar{gap:4px;width:100%;height:8px;display:flex}.bmi-bar-segment{background:var(--bmi-bar-color);opacity:.45;border-radius:999px;flex:1;transition:opacity .2s;position:relative}.bmi-bar-segment--underweight{--bmi-bar-color:#7dd3fc66;color:#7dd3fc}.bmi-bar-segment--healthy{--bmi-bar-color:#22c55e66;color:#22c55e}.bmi-bar-segment--overweight{--bmi-bar-color:#f59e0b66;color:#f59e0b}.bmi-bar-segment--obese{--bmi-bar-color:#f8717166;color:#f87171}.bmi-bar-segment--active{opacity:1;box-shadow:0 0 0 1px,0 0 12px #0f172a59}.bmi-marker{top:-4px;left:clamp(3px,var(--bmi-marker,50%),calc(100% - 3px));pointer-events:none;background:currentColor;border-radius:999px;width:6px;height:6px;transition:left .2s;position:absolute;transform:translate(-50%);box-shadow:0 0 10px #0f172a66}.bmi-hint{color:#94a3b8;font-size:.75rem}.bmi-limits{color:#cbd5e1;flex-wrap:wrap;justify-content:center;gap:6px 10px;font-size:.72rem;display:flex}.weekly-chart{grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:12px;display:grid}.weekly-bar{flex-direction:column;align-items:center;gap:6px;display:flex}.weekly-bar-fill{border-radius:8px 8px 0 0;width:24px;transition:height .6s}.weekly-value{color:#e2e8f0;min-height:14px;font-size:.7rem}.weekly-label{text-transform:uppercase;color:#94a3b8;font-size:.65rem}.bmi-history{grid-template-columns:minmax(0,64px) minmax(0,1fr);align-items:start;gap:12px;display:grid}.bmi-history-y{height:var(--bmi-history-height,180px);color:#94a3b8;flex-direction:column;justify-content:space-between;padding-right:6px;font-size:.7rem;display:flex}.bmi-history-y-label{text-align:right}.bmi-history-area{gap:8px;display:grid}.bmi-history-plot{height:var(--bmi-history-height,180px);background:linear-gradient(#0f172abf,#020617e6);border:1px solid #33415599;border-radius:16px;position:relative;overflow:visible}.bmi-history-tooltip{color:#e2e8f0;white-space:nowrap;pointer-events:none;z-index:2;background:#0f172af2;border:1px solid #334155b3;border-radius:8px;padding:4px 8px;font-size:.68rem;position:absolute;transform:translate(-50%,-120%);box-shadow:0 10px 20px -16px #0f172ae6}.bmi-history-svg{width:100%;height:100%;display:block}.bmi-history-grid line{stroke:#94a3b833;stroke-dasharray:4 6}.bmi-history-line{fill:none;stroke:#94a3b8;stroke-width:1.2px;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity .6s}.bmi-history-plot--animate .bmi-history-line{opacity:1}.bmi-history-dot{fill:#0b1220;stroke:#22d3ee;stroke-width:1.4px;opacity:0;transform-box:fill-box;transform-origin:50%;transition:opacity .4s,transform .4s;transform:translateY(6px)}.bmi-history-plot--animate .bmi-history-dot{opacity:1;transform:translateY(0)}.bmi-history-x{color:#94a3b8;text-transform:uppercase;letter-spacing:.08em;gap:6px;font-size:.65rem;display:grid}.bmi-history-x-label{text-align:center}.calorie-history{grid-template-columns:minmax(0,64px) minmax(0,1fr);align-items:start;gap:12px;display:grid}.calorie-history-y{height:var(--calorie-history-height,180px);color:#94a3b8;flex-direction:column;justify-content:space-between;padding-right:6px;font-size:.7rem;display:flex}.calorie-history-y-label{text-align:right}.calorie-history-area{gap:8px;display:grid}.calorie-history-plot{height:var(--calorie-history-height,180px);background:linear-gradient(#0f172abf,#020617e6);border:1px solid #33415599;border-radius:16px;position:relative;overflow:visible}.calorie-history-tooltip{color:#e2e8f0;white-space:nowrap;pointer-events:none;z-index:2;background:#0f172af2;border:1px solid #334155b3;border-radius:8px;gap:4px;padding:6px 10px;font-size:.68rem;display:grid;position:absolute;transform:translate(-50%,-120%);box-shadow:0 10px 20px -16px #0f172ae6}.calorie-history-tooltip-title{letter-spacing:.02em;font-weight:700}.calorie-history-tooltip-row{align-items:center;gap:6px;display:inline-flex}.calorie-history-tooltip-dot{background:currentColor;border-radius:999px;width:6px;height:6px;box-shadow:0 0 8px #0f172a73}.calorie-history-tooltip-dot--consumed{color:#22d3ee}.calorie-history-tooltip-dot--maintenance{color:#94a3b8}.calorie-history-svg{width:100%;height:100%;display:block}.calorie-history-grid line{stroke:#94a3b833;stroke-dasharray:4 6}.calorie-history-line{fill:none;stroke:#22d3ee;stroke-width:1.4px;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity .6s}.calorie-history-line--maintenance{stroke:#94a3b8a6;stroke-width:1.1px;stroke-dasharray:4 5}.calorie-history-plot--animate .calorie-history-line{opacity:1}.calorie-history-dot{fill:#0b1220;stroke:#22d3ee;stroke-width:1.6px;opacity:0;transform-box:fill-box;transform-origin:50%;transition:opacity .4s,transform .4s;transform:translateY(6px)}.calorie-history-plot--animate .calorie-history-dot{opacity:1;transform:translateY(0)}.calorie-history-x{color:#94a3b8;text-transform:uppercase;letter-spacing:.08em;gap:6px;font-size:.65rem;display:grid}.calorie-history-x-label{text-align:center}.calorie-progress{flex-direction:column;gap:6px;display:flex}.calorie-track{background:#334155;border-radius:999px;width:100%;height:10px;overflow:hidden}.calorie-fill{background:#22c55e;height:100%;transition:width .4s}.calorie-meta{text-align:right;color:#94a3b8;font-size:.75rem}.app-muted{color:#94a3b8}.loader{border:3px solid #94a3b84d;border-top-color:#22d3ee;border-radius:50%;width:32px;height:32px;margin:0 auto;animation:1s linear infinite spin}.routine-loading-overlay{-webkit-backdrop-filter:blur(6px);z-index:80;background:#0206178c;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.routine-loading-card{text-align:center;color:#e2e8f0;background:#0f172aeb;border:1px solid #33415599;border-radius:16px;gap:12px;padding:18px 22px;font-weight:600;display:grid;box-shadow:0 24px 60px -40px #0f172acc}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{0%{background-position:-200px 0}to{background-position:200px 0}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,10px)scale(.98)}to{opacity:1;transform:translate(-50%)scale(1)}}.calendar-field-button{color:#e2e8f0;cursor:pointer;background:#1f2937;border:1px solid #33415599;border-radius:12px;justify-content:space-between;align-items:center;width:100%;padding:12px 14px;display:flex}.calendar-field-title{text-transform:capitalize;font-weight:700}.calendar-field-action{color:#22d3ee;font-size:.75rem;font-weight:800}.calendar{background:#0b1220;border:1px solid #33415599;border-radius:12px;gap:10px;padding:12px;display:grid}.calendar-header{justify-content:space-between;align-items:center;display:flex}.calendar-title{text-transform:capitalize;font-weight:700}.calendar-nav{color:#cbd5e1;cursor:pointer;background:#1f2937;border:none;border-radius:8px;width:32px;height:32px}.calendar-week,.calendar-row{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.calendar-week span{text-align:center;color:#94a3b8;font-size:.7rem}.calendar-day{color:#cbd5e1;cursor:pointer;background:0 0;border:none;border-radius:8px;height:32px}.calendar-day--selected{color:#fff;background:#0891b2;font-weight:700}.calendar-day--today{border:1px solid #0891b2}.calendar-day--out{opacity:.5}.calendar-footer{justify-content:flex-end;display:flex}.calendar-today{color:#22d3ee;cursor:pointer;background:0 0;border:none;font-weight:700}.weekday-selector{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:8px;display:grid}.weekday-chip{color:#cbd5e1;cursor:pointer;background:#1f2937;border:1px solid #33415599;border-radius:10px;padding:8px 0;font-weight:700}.weekday-chip--active{color:#fff;background:#0891b2;border-color:#0891b2}.divider-row{color:#94a3b8;text-transform:lowercase;align-items:center;gap:10px;font-size:.8rem;display:flex}.divider-row span:first-child,.divider-row span:last-child{background:#33415599;flex:1;height:1px}.error-text{color:#f87171;margin-top:6px;font-size:.75rem}@media (max-width:960px){.app-grid-3{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.app-toast{animation:none}}@media (max-width:720px){.app-grid-2{grid-template-columns:1fr}}.records-tabs{background:#1f2937;border:1px solid #33415566;border-radius:12px;margin-bottom:20px;padding:4px;display:flex}.records-tab{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;padding:8px;font-family:inherit;font-size:.9rem;font-weight:700;transition:all .2s}.records-tab:hover{color:#e2e8f0}.records-tab.records-tab-active{color:#fff;background:#334155;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.records-content{gap:16px;display:grid}.dashboard{flex-direction:column;gap:24px;display:flex}.dashboard-header{text-align:center;margin-bottom:14px}.dashboard-brand{align-items:center;gap:16px;display:inline-flex}.dashboard .app-grid-2,.dashboard .app-grid-3{gap:20px}.dashboard .app-section{gap:20px;margin-top:24px}.dashboard .app-card{padding:20px}.dashboard-brand img{background:#0b1220;border:1px solid #33415599;border-radius:22px;width:82px;height:82px;padding:10px;box-shadow:0 14px 28px -18px #0f172ae6}.dashboard-brand-text{text-align:left}.section-card-title{margin:0 0 10px;font-size:1rem;font-weight:700}.activity-header{justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.activity-header .section-card-title{margin:0}.activity-filter{align-items:center;gap:12px;display:flex}.activity-filter-label{text-transform:uppercase;letter-spacing:.14em;color:#94a3b8;font-size:.65rem;font-weight:700}.activity-filter-select{position:relative}.activity-filter-select select{color:#e2e8f0;cursor:pointer;appearance:none;background:#0b1220;border:1px solid #33415599;border-radius:999px;padding:6px 32px 6px 12px;font-size:.8rem;font-weight:700}.activity-filter-select:after{content:"▾";color:#22d3ee;pointer-events:none;font-size:.8rem;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.dashboard-meta{color:#94a3b8;justify-content:space-between;margin-top:16px;font-size:.75rem;display:flex}.dashboard .card-toggle{margin-bottom:12px}.dashboard .card-list{gap:10px}.dashboard .goal-select{gap:10px;margin-bottom:10px}@media (max-width:640px){.activity-header{flex-direction:column;align-items:flex-start}.activity-filter{justify-content:space-between;width:100%}.activity-filter-select,.activity-filter-select select{width:100%}}.goal-select{gap:6px;margin-bottom:8px;display:grid}.goal-select-row{position:relative}.goal-select-input{color:#e2e8f0;cursor:pointer;appearance:none;background:#0b1220;border:1px solid #33415599;border-radius:12px;width:100%;padding:10px 38px 10px 12px;font-size:.9rem;font-weight:700}.goal-select-row:after{content:"▾";color:#22d3ee;pointer-events:none;font-size:.9rem;position:absolute;top:50%;right:14px;transform:translateY(-50%)}.card-toggle{width:100%;color:inherit;cursor:pointer;background:0 0;border:none;justify-content:space-between;align-items:center;margin-bottom:8px;padding:0;display:flex}.card-toggle-text{color:#94a3b8;font-size:.75rem;font-weight:700}.card-list{color:#e2e8f0;gap:6px;display:grid}.card-list-item{font-size:.9rem}.card-expanded{transform:scale(1.01);box-shadow:0 24px 60px -40px #0009}.dashboard-profile-card{background:linear-gradient(#0f172af5,#0f172ac7);border:1px solid #38bdf840;gap:18px;max-width:520px;margin:60px auto 0;display:grid;box-shadow:0 24px 60px -40px #0f172acc}.dashboard-profile-hero{grid-template-columns:auto 1fr;align-items:center;gap:16px;display:grid}.dashboard-profile-icon{background:linear-gradient(135deg,#22d3ee,#3b82f6);border-radius:16px;justify-content:center;align-items:center;width:52px;height:52px;display:flex;box-shadow:0 16px 30px -18px #0e7490e6}.dashboard-profile-text{gap:6px;display:grid}.dashboard-profile-eyebrow{text-transform:uppercase;letter-spacing:.16em;color:#7dd3fc;margin:0;font-size:.65rem;font-weight:700}.dashboard-profile-title{margin:0;font-family:Sora,sans-serif;font-size:1.35rem}.dashboard-profile-sub{color:#cbd5e1;margin:0;font-size:.95rem}.dashboard-profile-benefits{gap:10px;display:grid}.dashboard-profile-benefit{color:#94a3b8;grid-template-columns:auto 1fr;align-items:start;gap:10px;font-size:.85rem;display:grid}.dashboard-profile-dot{background:linear-gradient(135deg,#22d3ee,#38bdf8);border-radius:999px;width:10px;height:10px;margin-top:4px;box-shadow:0 0 12px #22d3ee59}.tasks-page{flex-direction:column;gap:16px;display:flex}.task-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.task-tab{color:#cbd5e1;cursor:pointer;background:#1f2937;border:1px solid #33415599;border-radius:10px;padding:10px 12px;font-size:.8rem;font-weight:700}.task-tab--active{color:#fff;background:#0891b2;border-color:#0891b2}.task-list{gap:16px;display:grid}.task-category-title{color:#22d3ee;border-bottom:2px solid #334155;margin-bottom:10px;padding-bottom:6px;font-size:1.1rem;font-weight:800}.task-row{align-items:center;gap:10px;padding:8px 0;display:flex}.task-text{color:#e2e8f0;font-size:.95rem}.task-text--done{color:#94a3b8;text-decoration:line-through}.task-meta{color:#64748b;font-size:.75rem}.task-ai{margin-right:6px}.meals-page{flex-direction:column;gap:16px;display:flex}.meal-total{color:#22d3ee;text-align:center;font-size:1.8rem;font-weight:800}.meal-total span{color:#cbd5e1;font-size:1rem}.meal-list{gap:12px;display:grid}.meal-stepper{justify-content:space-between;align-items:center;display:flex}.meal-stepper-label{color:#94a3b8;letter-spacing:.04em;text-transform:uppercase;font-size:.75rem;font-weight:700}.meal-stepper-dots{gap:6px;display:flex}.meal-step-dot{background:#94a3b859;border-radius:999px;width:8px;height:8px}.meal-step-dot.is-active{background:#22d3ee;box-shadow:0 0 10px #22d3ee66}.meal-step-section{gap:12px;display:grid}.meal-photo-note{color:#94a3b8;text-align:center;margin:0;font-size:.75rem}.meal-row{border-bottom:1px solid #33415580;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.meal-title{color:#e2e8f0;align-items:center;font-weight:700;display:flex}.meal-meta{color:#94a3b8;align-items:center;gap:10px;margin-top:4px;font-size:.85rem;display:flex}.meal-macros{color:#cbd5e1;gap:8px;font-size:.78rem;font-weight:700;display:inline-flex}.meal-actions{align-items:center;gap:8px;display:flex}.meal-kcal{color:#e2e8f0;font-weight:800}.meal-kcal span{color:#94a3b8;font-size:.8rem;font-weight:600}.meal-ingredient{gap:8px;display:grid}.meal-ingredient-divider{background:#33415580;height:1px;margin-top:4px}.meal-ingredient-row{grid-template-columns:1fr 80px 40px auto;align-items:center;gap:8px;display:grid}.meal-field{flex-direction:column;gap:4px;min-width:0;display:flex}.meal-field-label{color:#94a3b8;font-size:.75rem;font-weight:600;line-height:1}.meal-required-field{position:relative}.meal-required-field .app-input{padding-right:26px}.meal-required-asterisk{color:#f8fafc;pointer-events:none;font-size:.85rem;font-weight:800;position:absolute;top:22px;right:10px}.meal-ingredient-unit{color:#94a3b8;font-size:.8rem}.meal-ingredient-macros{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;display:grid}.meal-ingredient-macro{align-items:center;display:flex;position:relative}.meal-ingredient-macro .app-input{padding-right:30px}.meal-ingredient-macro-unit{color:#94a3b8;pointer-events:none;font-size:.8rem;position:absolute;bottom:10px;right:12px}.meal-ingredient-list{gap:10px;display:grid}.meal-ingredient-item{background:#0f172a99;border:1px solid #33415599;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.meal-ingredient-item-title{color:#e2e8f0;font-weight:700}.meal-ingredient-item-subtitle{color:#94a3b8;margin-top:4px;font-size:.8rem}.meal-ingredient-item-actions{align-items:center;gap:8px;display:flex}.meal-ingredient-empty{text-align:center;color:#94a3b8;margin:0;font-size:.85rem}.meal-ingredient-hint{color:#94a3b8;margin:0;font-size:.8rem}.meal-required-mark{color:#f8fafc;margin-left:2px;font-weight:800}.meal-wizard-content{gap:12px;display:grid}.meal-wizard-macros{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;display:grid}.meal-ai-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.meal-ai-note{color:#94a3b8;font-size:.75rem}.chat-page{flex-direction:column;gap:12px;height:calc(100vh - 160px);display:flex}.chat-thread{flex:1;gap:12px;padding-right:4px;display:grid;overflow-y:auto}.chat-row{align-items:flex-end;gap:6px;display:flex}.chat-row--user{justify-content:flex-end}.chat-avatar{border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.chat-avatar--ai{background:#0b1220;border:1px solid #33415599}.chat-avatar--user{background:#0891b226;border:1px solid #22d3ee59}.chat-bubble{border-radius:16px;max-width:72%;padding:12px;font-size:.95rem}.chat-bubble p{margin:0}.chat-bubble--user{color:#fff;background:#0891b2;border-bottom-right-radius:4px}.chat-bubble--ai{background:#0b1220;border:1px solid #33415599;border-bottom-left-radius:4px}.chat-suggest{color:#fff;cursor:pointer;background:#06b6d4;border:none;border-radius:10px;margin-top:8px;padding:8px 10px;font-size:.75rem;font-weight:800}.chat-input{border-top:1px solid #33415599;grid-template-columns:1fr auto;align-items:center;gap:8px;padding:12px 0;display:grid}.profile-page{flex-direction:column;gap:24px;padding-bottom:80px;display:flex}.profile-hero{flex-direction:column;align-items:center;gap:12px;padding:24px 0 8px;display:flex;position:relative}.profile-avatar-wrapper{justify-content:center;width:max-content;margin-bottom:4px;display:flex;position:relative}.profile-photo-input{display:none}.profile-photo-edit-btn{color:#fff;cursor:pointer;z-index:10;background:#0891b2;border:4px solid #0f172a;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;padding:0;transition:transform .2s;display:flex;position:absolute;bottom:0;right:-6px;box-shadow:0 4px 10px #0000004d}.profile-photo-edit-btn:active{transform:scale(.9)}.profile-email-display{color:#e2e8f0;text-align:center;font-family:Sora,sans-serif;font-size:1.1rem;font-weight:600}.profile-language{margin-top:4px}.profile-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.profile-records-card{margin-top:16px;padding:16px}.profile-records-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.profile-records-header h3{color:#e2e8f0;margin:0 0 4px;font-size:1rem}.profile-records-header p{color:#94a3b8;margin:0;font-size:.85rem}.profile-records-note{color:#94a3b8;margin:10px 0 0;font-size:.85rem}.records-page{gap:16px;display:grid}.records-header{margin-bottom:4px}.records-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;display:grid}.records-year-nav{justify-content:center;align-items:center;gap:12px;display:flex}.records-year-label{color:#e2e8f0;font-family:Sora,sans-serif;font-weight:600}.records-card{gap:12px;display:grid}.records-card-header h3{color:#e2e8f0;margin:0 0 4px;font-size:1rem}.records-card-header p{color:#94a3b8;margin:0;font-size:.85rem}.records-list{gap:10px;display:grid}.records-row{background:#0f172a73;border:1px solid #33415566;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.records-value{color:#f1f5f9;font-family:Sora,sans-serif;font-weight:600}.records-meta{color:#94a3b8;font-size:.8rem}.stat-card{background:#1e293b;border:1px solid #33415580;border-radius:20px;flex-direction:column;gap:8px;min-height:100px;padding:16px;display:flex;position:relative;overflow:hidden}.stat-card-header{color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;align-items:center;gap:8px;font-size:.7rem;font-weight:700;display:flex}.stat-card-icon{color:#22d3ee;opacity:.8}.stat-card-value{color:#f1f5f9;margin-top:auto;font-family:Sora,sans-serif;font-size:1.8rem;font-weight:700;line-height:1.1}.stat-card-unit{color:#64748b;margin-left:2px;font-size:.9rem;font-weight:500}.stat-card-meta{margin-top:6px;font-size:.75rem;font-weight:500;display:block}.stat-card-input{color:#e2e8f0;background:#0f172a80;border:1px solid #33415599;border-radius:8px;width:100%;margin-top:auto;padding:8px 10px;font-family:Sora,sans-serif;font-size:1.2rem;font-weight:700}.stat-card-input-row{align-items:center;gap:8px;margin-top:auto;display:flex}.stat-card-input-row .stat-card-input{flex:1;margin-top:0}.stat-card-input-unit{color:#94a3b8;font-size:.85rem;font-weight:600}.stat-card-select-row{flex-wrap:wrap;gap:4px;margin-top:auto;display:flex}.stat-card-chip{color:#94a3b8;cursor:pointer;text-align:center;background:#0f172a80;border:1px solid #33415599;border-radius:8px;flex:1;padding:8px 4px;font-size:.75rem;font-weight:600}.stat-card-chip--active{color:#fff;background:#0891b2;border-color:#0891b2}.account-card{background:linear-gradient(135deg,#1e293b,#0f172a);border:1px solid #33415580;border-radius:20px;gap:14px;padding:20px;display:grid}.account-card-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.account-info h3{color:#e2e8f0;margin:0 0 4px;font-size:1rem}.account-info p{color:#94a3b8;margin:0;font-size:.85rem}.plan-badge{color:#22d3ee;text-transform:uppercase;letter-spacing:.05em;background:#22d3ee1a;border:1px solid #22d3ee40;border-radius:999px;padding:6px 14px;font-size:.8rem;font-weight:700}.plan-badge--premium{color:#22c55e;background:#22c55e1f;border-color:#22c55e59}.account-plan-note{color:#94a3b8;margin:0;font-size:.8rem}.coupon-redeem{gap:10px;display:grid}.coupon-label{text-transform:uppercase;letter-spacing:.12em;color:#94a3b8;font-size:.7rem;font-weight:700}.coupon-input-row{grid-template-columns:auto auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;display:grid}.coupon-static{color:#e2e8f0;letter-spacing:.08em;background:#0f172a99;border:1px solid #33415599;border-radius:10px;padding:8px 10px;font-size:.85rem;font-weight:700}.coupon-divider{color:#64748b;font-weight:700}.coupon-input-field{color:#e2e8f0;letter-spacing:.08em;text-transform:uppercase;text-align:center;background:#0f172a99;border:1px solid #33415599;border-radius:10px;width:100%;min-width:0;padding:8px 10px;font-size:.85rem;font-weight:700}.coupon-input-field--campaign,.coupon-input-field--random{width:100%}.coupon-actions{align-items:center;gap:8px;display:flex}.coupon-help{color:#94a3b8;margin:0;font-size:.75rem}.coupon-help-link{color:#7dd3fc;font-weight:600;text-decoration:none}.coupon-help-link:hover{text-decoration:underline}.coupon-success{color:#4ade80;font-size:.75rem}@media (max-width:640px){.account-card-header{flex-direction:column;align-items:flex-start}.coupon-input-row{grid-template-columns:auto auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);gap:4px}.coupon-static,.coupon-input-field{padding:6px 8px;font-size:.75rem}}.profile-actions{flex-direction:column;gap:12px;margin-top:12px;display:flex}.profile-logout{color:#ef4444;cursor:pointer;background:#ef44440d;border:1px solid #ef444433;border-radius:14px;justify-content:center;align-items:center;gap:8px;width:100%;margin-top:8px;padding:14px;font-size:.9rem;font-weight:600;display:flex}.profile-logout:active{background:#ef44441a}.profile-empty{max-width:520px;margin:72px auto 0;padding:0 16px}.profile-empty-card{background:linear-gradient(#0f172af2,#0f172abf);border:1px solid #38bdf840;gap:20px;padding:24px;display:grid;position:relative;overflow:hidden;box-shadow:0 24px 60px -40px #0f172acc}.profile-empty-card:before{content:"";background:radial-gradient(circle,#38bdf859,#0000 70%);width:260px;height:260px;position:absolute;top:-160px;right:-80px}.profile-empty-card:after{content:"";background:radial-gradient(circle,#0e749059,#0000 70%);width:240px;height:240px;position:absolute;bottom:-180px;left:-120px}.profile-empty-card>*{z-index:1;position:relative}.profile-empty-lang{justify-content:flex-end;display:flex}.profile-empty-hero{grid-template-columns:auto 1fr;align-items:center;gap:16px;display:grid}.profile-empty-icon{background:linear-gradient(135deg,#22d3ee,#3b82f6);border-radius:16px;justify-content:center;align-items:center;width:52px;height:52px;display:flex;box-shadow:0 16px 30px -18px #0e7490e6}.profile-empty-text{gap:6px;display:grid}.profile-empty-eyebrow{text-transform:uppercase;letter-spacing:.16em;color:#7dd3fc;margin:0;font-size:.65rem;font-weight:700}.profile-empty-title{margin:0;font-family:Sora,sans-serif;font-size:1.45rem}.profile-empty-sub{color:#cbd5e1;margin:0;font-size:.95rem}.profile-empty-benefits{gap:12px;display:grid}.profile-empty-benefit{background:#0f172a8c;border:1px solid #334155b3;border-radius:12px;grid-template-columns:auto 1fr;gap:12px;padding:12px;display:grid}.profile-empty-dot{background:linear-gradient(135deg,#22d3ee,#38bdf8);border-radius:999px;width:10px;height:10px;margin-top:6px;box-shadow:0 0 12px #22d3ee59}.profile-empty-benefit-title{color:#e2e8f0;margin:0;font-size:.95rem;font-weight:700}.profile-empty-benefit-text{color:#94a3b8;margin:4px 0 0;font-size:.85rem}.profile-empty-actions{justify-content:center;display:flex}.profile-empty-actions .app-btn{width:100%;max-width:320px}.sex-options{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.auth-page{flex-direction:column;width:100%;height:100dvh;display:flex;overflow:hidden}.auth-header{border-bottom:1px solid #33415599;grid-template-columns:32px 1fr 32px;align-items:center;padding:12px 20px;display:grid}.auth-back{cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:flex}.auth-title{text-align:center;font-size:1.1rem;font-weight:800}.auth-card{box-sizing:border-box;background:#0b1220;border:1px solid #33415599;border-radius:16px;gap:12px;width:100%;padding:20px;display:grid}.auth-hero{text-align:center;gap:16px;display:grid}.auth-hero-icon{background:linear-gradient(135deg,#22d3ee,#3b82f6);border-radius:18px;justify-content:center;align-items:center;width:54px;height:54px;margin:0 auto;display:flex;box-shadow:0 16px 30px -18px #0e7490e6}.auth-hero-text{gap:6px;display:grid}.auth-hero-eyebrow{text-transform:uppercase;letter-spacing:.16em;color:#7dd3fc;margin:0;font-size:.65rem;font-weight:700}.auth-hero-title{margin:0;font-family:Sora,sans-serif;font-size:1.3rem}.auth-hero-sub{color:#cbd5e1;margin:0;font-size:.95rem}.auth-hero-list{text-align:left;gap:10px;display:grid}.auth-hero-item{color:#94a3b8;grid-template-columns:auto 1fr;align-items:start;gap:10px;font-size:.85rem;display:grid}.auth-hero-dot{background:linear-gradient(135deg,#22d3ee,#38bdf8);border-radius:999px;width:10px;height:10px;margin-top:4px;box-shadow:0 0 12px #22d3ee59}.auth-body{box-sizing:border-box;flex:auto;justify-content:center;align-items:center;width:100%;max-width:520px;min-height:0;margin:0 auto;padding:20px;display:flex}.auth-step{text-align:center;margin:0}.auth-step-eyebrow{text-transform:uppercase;letter-spacing:.16em;color:#7dd3fc;text-align:center;margin:0;font-size:.65rem;font-weight:700}.auth-step-title{text-align:center;margin:6px 0 0;font-size:1.2rem}.auth-step-sub{color:#cbd5e1;text-align:center;margin:8px 0 0;font-size:.92rem}.auth-actions{width:100%;padding:22px 20px calc(26px + env(safe-area-inset-bottom));box-sizing:border-box;transform:translateY(calc(-1*var(--keyboard-offset,0px)));background:#0b1220eb;border-top:1px solid #33415599;border-radius:18px 18px 0 0;margin-top:auto;transition:transform .25s}.auth-inputs{gap:10px;display:grid}.auth-actions-inner{gap:16px;width:100%;max-width:520px;margin:0 auto;display:grid}.start-viewport{--start-card-height:clamp(120px,18vh,180px);text-align:center;flex-direction:column;width:100%;height:100dvh;display:flex;position:relative}.start-content{width:100%;max-width:560px;min-height:0;max-height:calc(100dvh - var(--start-card-height));box-sizing:border-box;flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:clamp(8px,1.8vh,16px);margin:0 auto;padding:clamp(12px,3vh,28px) 16px;display:flex}.start-header{color:#e2e8f0;margin:0;font-size:1rem;font-weight:800}.start-lang{top:calc(12px + env(safe-area-inset-top));z-index:5;position:absolute;right:16px}.start-hero{flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.start-hero h1{margin:0;font-family:Sora,sans-serif;font-size:clamp(1.4rem,2.2vw,1.8rem)}.start-logo{background:#0b1220;border:1px solid #33415599;border-radius:28px;place-items:center;width:clamp(120px,20vw,168px);height:clamp(120px,20vw,168px);padding:8px;display:grid}.start-logo img{object-fit:contain;width:clamp(100px,16vw,148px);height:clamp(100px,16vw,148px)}.start-rotator{color:#94a3b8;min-height:24px;margin:0;font-size:.95rem;transition:opacity .35s}.start-logo.is-loading{background:#33415566;border-color:#94a3b84d}.start-skeleton{color:#0000;position:relative}.start-skeleton:after{content:"";background:linear-gradient(90deg,#1e293b99,#94a3b833,#1e293b99) 0 0/200px 100%;border-radius:999px;animation:1.2s ease-in-out infinite shimmer;position:absolute;inset:0}.start-rotator--fade{opacity:0}.start-card{width:100%;padding:22px 20px calc(26px + env(safe-area-inset-bottom));height:var(--start-card-height);box-sizing:border-box;background:#0b1220eb;border-top:1px solid #33415599;border-radius:18px 18px 0 0;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex}.start-card--loading,.start-card--ready{justify-content:center}.start-loading{color:#cbd5e1;justify-content:center;align-items:center;gap:10px;min-height:80px;font-size:.9rem;display:flex}.start-error{text-align:center;color:#f8fafc;gap:6px;font-size:.9rem;display:grid}.start-error p{color:#e2e8f0;margin:0}.start-button{width:100%}.onboarding-page{--onboarding-primary:#22d3ee;--onboarding-primary-strong:#0ea5e9;--onboarding-primary-soft:#22d3ee24;--onboarding-primary-tint:#0f172aa6;--onboarding-text:#e2e8f0;--onboarding-muted:#94a3b8;--onboarding-border:#33415599;--onboarding-surface:#0b1220;box-sizing:border-box;width:100%;max-width:480px;min-height:100%;color:var(--onboarding-text);text-align:left;flex-direction:column;gap:24px;margin:0 auto;padding:clamp(24px,4vw,32px);display:flex}.onboarding-header{justify-content:flex-end;align-items:center;display:flex}.onboarding-body{flex:1;align-items:center;display:flex}.onboarding-skip.app-btn--ghost{color:#cbd5e1;background:0 0;border:none;padding:6px 10px;font-weight:600}.onboarding-card{background:var(--onboarding-surface);border:1px solid var(--onboarding-border);border-radius:20px;gap:18px;width:100%;padding:clamp(20px,3vw,28px);animation:.25s onboarding-fade;display:grid;box-shadow:0 18px 40px -30px #020617b3}.onboarding-card-header{align-items:start;gap:14px;display:grid}.onboarding-icon{border:1px solid var(--onboarding-border);width:64px;height:64px;color:var(--onboarding-primary);background:#0f172a99;border-radius:18px;justify-content:center;align-items:center;display:flex}.onboarding-card-text{gap:6px;display:grid}.onboarding-eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--onboarding-muted);margin:0;font-size:.7rem;font-weight:600}.onboarding-title{margin:0;font-family:Sora,sans-serif;font-size:clamp(1.45rem,2.8vw,1.8rem);font-weight:600;line-height:1.2}.onboarding-subtitle{color:var(--onboarding-muted);margin:0;font-size:.98rem;line-height:1.6}.onboarding-visual{margin-top:4px}.onboarding-graph{background:var(--onboarding-primary-tint);border:1px solid var(--onboarding-border);border-radius:16px;gap:12px;padding:16px;display:grid}.onboarding-graph-bars{align-items:flex-end;gap:8px;height:90px;display:flex}.onboarding-graph-bar{background:#94a3b859;border-radius:10px;flex:1}.onboarding-graph-bar.is-active{background:var(--onboarding-primary)}.onboarding-graph-axis{background:#94a3b840;border-radius:999px;height:2px}.onboarding-bullets{gap:14px;margin-top:4px;display:grid}.onboarding-bullet{grid-template-columns:auto 1fr;align-items:start;gap:12px;display:grid}.onboarding-bullet-head{align-items:center;gap:8px;min-width:88px;display:flex}.onboarding-bullet-icon{width:28px;height:28px;color:var(--onboarding-primary);background:#0f172a99;border-radius:10px;justify-content:center;align-items:center;display:flex}.onboarding-bullet-label{text-transform:none;letter-spacing:0;color:var(--onboarding-text);font-size:.9rem;font-weight:600}.onboarding-bullet-dot{background:#94a3b873;border-radius:999px;width:8px;height:8px;margin-top:8px}.onboarding-bullet-text{color:var(--onboarding-muted);margin:0;font-size:.95rem;line-height:1.6}.onboarding-note{color:var(--onboarding-muted);margin:0;font-size:.85rem;line-height:1.5}.onboarding-footer{padding-bottom:calc(8px + env(safe-area-inset-bottom));gap:16px;margin-top:auto;display:grid}.onboarding-progress{justify-content:center;display:flex}.onboarding-dots{gap:8px;display:flex}.onboarding-dot{background:#e2e8f040;border-radius:999px;width:8px;height:8px}.onboarding-dot.is-active{background:var(--onboarding-primary)}.onboarding-actions{display:flex}.onboarding-action{width:100%}.onboarding-page .app-btn{border-radius:14px;min-height:52px;font-size:1rem;font-weight:600}.onboarding-page .app-btn--primary{background:var(--onboarding-primary);color:#fff;box-shadow:none}.onboarding-page .app-btn--primary:active{background:var(--onboarding-primary-strong);transform:scale(.98)}.onboarding-page .app-btn:disabled{opacity:.55}.onboarding-page .onboarding-skip{min-height:auto;padding:4px 8px;font-size:.85rem}.onboarding-page .app-toast{background:var(--onboarding-surface);color:var(--onboarding-text);border:1px solid var(--onboarding-border);box-shadow:0 12px 28px -22px #0f172a38}.onboarding-page .app-toast:before{background:var(--onboarding-primary);box-shadow:none}.onboarding-page--meals .onboarding-bullets{gap:12px}.onboarding-page--meals .onboarding-bullet{background:#0f172a99;border-radius:14px;grid-template-columns:1fr;gap:8px;padding:14px 16px}.onboarding-page--meals .onboarding-bullet-head{min-width:0}.onboarding-page--meals .onboarding-bullet-text{font-size:.9rem}.onboarding-page--habits .onboarding-bullet-icon{border:1px solid var(--onboarding-border);width:22px;height:22px;color:var(--onboarding-primary);background:0 0;border-radius:999px}.onboarding-page--habits .onboarding-bullet{align-items:center}.onboarding-page--habits .onboarding-bullet-head{min-width:auto}.onboarding-page--habits .onboarding-bullet-text{color:var(--onboarding-text)}@keyframes onboarding-fade{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (max-width:600px){.dashboard-brand{flex-direction:column}.dashboard-brand-text{text-align:center}.dashboard-profile-card{margin-top:40px}.dashboard-profile-hero{text-align:center;grid-template-columns:1fr}.dashboard-profile-icon{margin:0 auto}.profile-empty{margin-top:48px}.profile-empty-hero{text-align:center;grid-template-columns:1fr}.profile-empty-icon{margin:0 auto}}@media (max-width:720px){.goal-selector{grid-template-columns:1fr}}@media (max-height:720px){.start-content{gap:10px;padding:12px 16px}.start-logo{width:clamp(104px,18vw,140px);height:clamp(104px,18vw,140px)}.start-logo img{width:clamp(90px,14vw,120px);height:clamp(90px,14vw,120px)}.start-card{min-height:120px}}.admin-page{flex-direction:column;gap:24px;padding-bottom:80px;display:flex}.admin-header{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.admin-title{color:#f8fafc;margin:0 0 6px;font-family:Sora,sans-serif;font-size:1.4rem}.admin-sub{color:#94a3b8;margin:0;font-size:.9rem}.admin-card{gap:16px;display:grid}.admin-card-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.admin-card-title{color:#f8fafc;margin:0;font-size:1rem;font-weight:700}.admin-card-sub{color:#94a3b8;margin:0;font-size:.85rem}.admin-form{grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:12px;display:grid}.admin-field{color:#cbd5e1;gap:6px;font-size:.8rem;font-weight:600;display:grid}.admin-field span{color:#94a3b8;text-transform:uppercase;letter-spacing:.14em;font-size:.65rem}.admin-generate-btn{align-self:end}.admin-error{color:#fca5a5;margin:0;font-size:.85rem}.admin-loading{color:#94a3b8;font-size:.75rem;font-weight:600}.admin-coupon-list{gap:12px;display:grid}.admin-coupon-row{background:#0b1220;border:1px solid #33415599;border-radius:14px;justify-content:space-between;gap:12px;padding:12px;display:flex}.admin-coupon-row--void{opacity:.75}.admin-coupon-code{color:#f8fafc;margin:0;font-family:Sora,sans-serif;font-weight:600}.admin-coupon-meta{color:#94a3b8;margin:4px 0 0;font-size:.75rem}.admin-coupon-actions{align-items:center;gap:10px;display:flex}.admin-coupon-status{text-transform:uppercase;letter-spacing:.16em;color:#cbd5e1;border:1px solid #94a3b866;border-radius:999px;padding:4px 8px;font-size:.65rem}.admin-coupon-status--issued{color:#38bdf8;border-color:#38bdf8}.admin-coupon-status--activated{color:#22c55e;border-color:#22c55e}.admin-coupon-status--consumed{color:#f59e0b;border-color:#f59e0b}.admin-coupon-status--void{color:#f87171;border-color:#f87171}.admin-empty{color:#94a3b8;margin:0;font-size:.85rem}.admin-empty-card{text-align:center;padding:32px}.admin-empty-title{color:#f8fafc;margin:0;font-size:1.1rem;font-weight:700}.admin-empty-sub{color:#94a3b8;margin:6px 0 0}.admin-modal-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.admin-modal-title{color:#f8fafc;margin:0;font-size:1rem;font-weight:700}.admin-modal-sub{color:#94a3b8;margin:4px 0 0;font-size:.8rem}.admin-coupon-codes{gap:8px;margin-top:8px;display:grid}.admin-coupon-code-chip{color:#e2e8f0;background:#0b1220;border:1px solid #33415599;border-radius:10px;padding:8px 10px;font-family:Sora,sans-serif;font-size:.85rem}.admin-copy-message{color:#22c55e;margin:8px 0 0;font-size:.8rem}.admin-pagination{justify-content:space-between;align-items:center;gap:12px;margin-top:6px;display:flex}.admin-pagination-info{color:#94a3b8;font-size:.8rem}@media (max-width:700px){.admin-form{grid-template-columns:1fr}.admin-generate-btn{width:100%}.admin-coupon-row{flex-direction:column;align-items:flex-start}.admin-coupon-actions{justify-content:space-between;width:100%}}.landing{min-height:100vh;position:relative;overflow:hidden}.landing:before{content:"";z-index:0;background:radial-gradient(circle,#0b5f6b40,#0000 70%);width:520px;height:520px;position:absolute;top:-220px;right:-120px}.landing:after{content:"";z-index:0;background:radial-gradient(circle,#f4aa5c40,#0000 70%);width:520px;height:520px;position:absolute;bottom:-240px;left:-140px}.hero{z-index:1;max-width:1200px;margin:0 auto;padding:48px 24px 80px;position:relative}.nav{justify-content:space-between;align-items:center;gap:16px;display:flex}.nav-actions{align-items:center;gap:12px;display:flex}.brand{align-items:center;gap:14px;display:flex}.brand img{width:84px;height:84px;box-shadow:var(--shadow-soft);background:#fff;border-radius:26px;padding:10px}.brand-name{color:var(--ink);font-family:Sora,sans-serif;font-size:1.2rem;font-weight:600;display:block}.brand-tag{text-transform:uppercase;letter-spacing:.2em;color:var(--ink-muted);font-size:.7rem;display:block}.nav-cta{border:1px solid var(--border);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-soft);cursor:pointer;border-radius:999px;padding:10px 20px;font-family:inherit;font-weight:600;text-decoration:none}.hero-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:48px;margin-top:48px;display:grid}.hero-copy{animation:.9s ease-out fadeUp}.eyebrow{text-transform:uppercase;letter-spacing:.3em;color:var(--brand);margin:0;font-size:.75rem;font-weight:600}.hero-copy h1{color:var(--ink);margin:18px 0;font-family:Sora,sans-serif;font-size:clamp(2.4rem,4vw,3.8rem);line-height:1.05}.lead{color:var(--ink-muted);max-width:520px;margin:0 0 16px;font-size:1.1rem}.cta-row{flex-wrap:wrap;gap:16px;margin-top:24px;display:flex}.cta{cursor:pointer;border:none;border-radius:999px;justify-content:center;align-items:center;padding:12px 22px;font-family:inherit;font-weight:600;text-decoration:none;transition:transform .2s,box-shadow .2s;display:inline-flex}.cta.primary{background:linear-gradient(135deg,var(--brand),var(--brand-strong));color:#fff;box-shadow:0 16px 30px -20px #0c5365cc}.cta.secondary{border:1px solid var(--brand);color:var(--brand);background:#ffffffb3}.cta:hover{transform:translateY(-2px)}.hero-stats{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;margin-top:24px;display:grid}.stat{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:18px;padding:14px 16px}.stat-value{font-family:Sora,sans-serif;font-size:1.1rem;font-weight:600}.stat-label{color:var(--ink-muted);margin-top:4px;font-size:.85rem;display:block}.hero-card{background:var(--surface-strong);box-shadow:var(--shadow);border:1px solid #0f172a14;border-radius:28px;padding:28px;animation-name:fadeUp,float;animation-duration:.9s,7s;animation-timing-function:ease-out,ease-in-out;animation-iteration-count:1,infinite;animation-direction:normal,normal;animation-play-state:running,running;animation-delay:.1s,0s;animation-fill-mode:both;animation-timeline:auto,auto;position:relative;overflow:hidden}.hero-card:before{content:"";opacity:.7;background:radial-gradient(circle at 100% 0,#0b5f6b2e,#0000 55%);position:absolute;inset:0}.hero-card>*{z-index:1;position:relative}.card-top{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.hero-logo{width:110px;height:110px;box-shadow:var(--shadow-soft);background:#fff;border-radius:28px;padding:12px}.pill{color:var(--brand-strong);background:#0b5f6b1f;border-radius:999px;padding:6px 12px;font-size:.75rem;font-weight:600}.card-header{margin-bottom:20px}.card-kicker{letter-spacing:.25em;text-transform:uppercase;color:var(--ink-muted);margin:0;font-size:.7rem}.hero-card h3{margin:8px 0 0;font-family:Sora,sans-serif;font-size:1.4rem}.card-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px;display:grid}.metric{background:#0b5f6b14;border-radius:16px;padding:14px}.metric-value{font-family:Sora,sans-serif;font-size:1.5rem;font-weight:600}.metric-label{color:var(--ink-muted);margin-top:4px;font-size:.8rem;display:block}.progress{margin-bottom:18px}.progress-row{color:var(--ink-muted);justify-content:space-between;font-size:.85rem;display:flex}.progress-track{background:#0f172a1a;border-radius:999px;height:10px;margin-top:8px;overflow:hidden}.progress-fill{border-radius:inherit;background:linear-gradient(90deg,#0b5f6b,#1a9bb0);width:75%;height:100%;display:block}.card-tags{flex-wrap:wrap;gap:8px;display:flex}.card-tags span{color:var(--ink-muted);background:#0f172a0f;border-radius:999px;padding:6px 12px;font-size:.75rem}.features{z-index:1;max-width:1200px;margin:0 auto;padding:0 24px 60px;position:relative}.section-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:32px;display:flex}.section-heading h2{margin:0;font-family:Sora,sans-serif;font-size:clamp(1.8rem,3vw,2.6rem)}.section-heading p{color:var(--ink-muted);max-width:520px;margin:0}.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;display:grid}.feature-card{background:var(--surface);border:1px solid var(--border);min-height:200px;box-shadow:var(--shadow-soft);border-radius:24px;flex-direction:column;gap:12px;padding:22px;animation:.9s ease-out both fadeUp;display:flex}.feature-card:nth-child(2){animation-delay:.1s}.feature-card:nth-child(3){animation-delay:.2s}.feature-icon{width:42px;height:42px;color:var(--brand);background:#0b5f6b26;border-radius:14px;justify-content:center;align-items:center;font-family:Sora,sans-serif;font-weight:600;display:flex}.feature-card h3{margin:0;font-family:Sora,sans-serif;font-size:1.2rem}.feature-card p{color:var(--ink-muted);margin:0}.install{z-index:1;max-width:1200px;margin:0 auto;padding:40px 24px 80px;position:relative}.install-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px;display:grid}.install-action{background:#0b5f6b1f;border:1px solid #0b5f6b40;border-radius:20px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:20px;padding:18px 20px;display:flex}.install-action h3{margin:0 0 6px;font-family:Sora,sans-serif;font-size:1.1rem}.install-action p{color:var(--ink-muted);margin:0}.install-card{background:var(--surface-strong);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:24px;padding:24px}.install-card h3{margin:0 0 12px;font-family:Sora,sans-serif;font-size:1.3rem}.install-card p{color:var(--ink-muted);margin:0 0 16px}.install-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.install-step{align-items:flex-start;gap:12px;display:flex}.step-index{background:var(--brand);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-top:2px;font-size:.8rem;font-weight:600;display:flex}.step-text{color:var(--ink);font-size:.95rem}.install-note{text-align:center;color:var(--ink-muted);background:#0b5f6b14;border:1px dashed #0b5f6b40;border-radius:18px;margin-top:24px;padding:16px 18px}.footer{text-align:center;color:var(--ink-muted);padding:24px;font-size:.85rem}@keyframes fadeUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@media (max-width:960px){.hero-grid{grid-template-columns:1fr}.nav{flex-direction:column;align-items:flex-start}.nav-actions{flex-direction:column;align-items:stretch;width:100%}.lang-switch--landing{align-self:flex-start}.feature-grid,.install-grid{grid-template-columns:1fr}}@media (max-width:720px){.nav-cta{text-align:center;width:100%}.cta{flex:100%}.install-action{text-align:left}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
