@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap";
:root{--brand:#5f8f22;--brand-dark:#466d18;--brand-darker:#355312;--brand-soft:#eef5e5;--brand-text:#3f6415;--lime:#b7de63;--lime-soft:#f2f9e4;--lime-text:#3b580f;--nutrition:#d66a4a;--nutrition-soft:#faece8;--nutrition-text:#8e3a20;--nutrition-textarea-border:#86dfdf;--nutrition-textarea-border-focus:#38c4c4;--hydration:#337a9b;--hydration-soft:#e6f1f6;--hydration-text:#1c4d64;--activity:#2c8c82;--activity-soft:#e4f4f2;--activity-text:#195851;--ai:#7555a6;--ai-soft:#f1ecf8;--ai-text:#4b336f;--canvas:#f7f8f5;--surface:#fff;--surface-soft:#eff3ea;--line:#dbe5d8;--ink:#142211;--muted:#5d6e58;--accent:var(--brand);--accent-dark:var(--brand-dark);--accent-darker:var(--brand-darker);--accent-ink:#142211;--accent-text:var(--brand-text);--accent-soft:var(--brand-soft);--blue:var(--hydration);--blue-soft:var(--hydration-soft);--blue-text:var(--hydration-text);--amber:#d9822b;--amber-soft:#fdf2e4;--amber-text:#8a4b0f;--danger:#c44536;--danger-soft:#fdf0ed;--success:var(--activity);--violet:var(--ai);--pink:#b85c7c;--cyan:var(--activity);--olive:var(--brand);--track:#e2ecd9;--panel:#fffffff0;--sidebar:#ffffffe0;--mobile-header:#f7f8f5f5;--mobile-nav:#fffffff7;--hero-start:#eef5e5;--hero-end:#f7f8f5;--login-start:#e5f0d8;--login-end:#f4f6ee;--inverse:#142211;--inverse-text:#fff;--robot-face:#fff;--shadow:0 18px 45px #14221114;--shadow-small:0 8px 24px #1422110f;--ease-standard:cubic-bezier(.4, 0, .2, 1);--duration-fast:.14s;--duration-base:.2s;--duration-slow:.28s;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark]{--brand:#8ec448;--brand-dark:#5f8f22;--brand-darker:#466d18;--brand-soft:#1b2b10;--brand-text:#b7e67c;--lime:#c9eb7b;--lime-soft:#23340f;--lime-text:#dcf5a2;--nutrition:#e8886c;--nutrition-soft:#381a12;--nutrition-text:#f6b8a5;--nutrition-textarea-border:#86dfdf73;--nutrition-textarea-border-focus:#42b5b5;--hydration:#5ca7cc;--hydration-soft:#102633;--hydration-text:#a2d5ec;--activity:#4fb6aa;--activity-soft:#0e2926;--activity-text:#96e2da;--ai:#a083d0;--ai-soft:#251838;--ai-text:#d2c0ee;--canvas:#11160f;--surface:#182015;--surface-soft:#202a1c;--line:#2a3825;--ink:#f2f7ef;--muted:#9bae96;--accent:var(--brand);--accent-dark:var(--brand-dark);--accent-darker:var(--brand-darker);--accent-ink:#0d1608;--accent-text:var(--brand-text);--accent-soft:var(--brand-soft);--blue:var(--hydration);--blue-soft:var(--hydration-soft);--blue-text:var(--hydration-text);--amber:#f2a452;--amber-soft:#36220e;--amber-text:#f7cb9b;--danger:#ef786b;--danger-soft:#3d1b17;--success:var(--activity);--violet:var(--ai);--pink:#e08ea8;--cyan:var(--activity);--olive:var(--brand);--track:#202d18;--panel:#182015f0;--sidebar:#11160fe6;--mobile-header:#11160ff5;--mobile-nav:#11160ffa;--hero-start:#16240e;--hero-end:#1a1e16;--login-start:#14220c;--login-end:#181c15;--inverse:#0d1608;--inverse-text:#f2f7ef;--robot-face:#f0f7ea;--shadow:0 18px 45px #00000061;--shadow-small:0 8px 24px #00000047;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{background:var(--canvas);scroll-behavior:smooth;min-width:320px;overflow-x:clip}body{background:radial-gradient(circle at 88% 4%, #4076c21a, transparent 25rem), var(--canvas);min-height:100vh;color:var(--ink);margin:0;font-family:DM Sans,system-ui,sans-serif;font-size:15px;line-height:1.55;overflow-x:clip}button,input,select,textarea{max-width:100%;font:inherit}img,video,iframe,svg{max-width:100%}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #4076c252}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-family:Manrope,system-ui,sans-serif;line-height:1.16}h1{letter-spacing:-.055em;margin-bottom:10px;font-size:clamp(2rem,4vw,3.35rem)}h2{letter-spacing:-.04em;margin-bottom:8px;font-size:clamp(1.5rem,3vw,2.25rem)}h3{margin-bottom:8px;font-size:1.05rem}p{color:var(--muted)}button,label,select{-webkit-user-select:none;user-select:none}input,select,textarea{border:1px solid var(--line);background:var(--surface);width:100%;min-height:46px;color:var(--ink);border-radius:13px;padding:10px 13px}textarea{resize:vertical;min-height:112px}input::placeholder,textarea::placeholder{color:#94a5a7}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#78908f}label{color:var(--ink);gap:7px;font-size:.88rem;font-weight:700;display:grid}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.space-y-2>*+*{margin-top:8px}.space-y-3>*+*{margin-top:12px}.space-y-4>*+*{margin-top:16px}.min-w-0{min-width:0}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.eyebrow{color:var(--accent-text);letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px;font-family:Manrope,sans-serif;font-size:.75rem;font-weight:800}.supporting,.section-supporting{max-width:690px;margin-bottom:0;font-size:1rem}.soft-label,.posture-tag{background:var(--accent-soft);width:max-content;min-height:27px;color:var(--accent-text);border-radius:999px;align-items:center;padding:4px 10px;font-size:.75rem;font-weight:800;display:inline-flex}.primary-button,.secondary-button,.ghost-button,.text-button,.danger-ghost-button,.icon-button{cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;font-weight:800;transition:transform .16s,background .16s,border-color .16s,box-shadow .16s;display:inline-flex}.primary-button:active:not(:disabled),.secondary-button:active:not(:disabled),.icon-button:active:not(:disabled){transform:scale(.96)}.schedule-plan,.plan-selector button,.program-teaser-card,.program-card,.posture-routine button,.queue-list button,.meal-history>div,.water-cup,.reminder-day,.summary-card,.education-video{transition:transform var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), background var(--duration-base) var(--ease-standard)}.schedule-plan:hover,.plan-selector button:hover,.program-teaser-card:hover,.program-card:hover,.posture-routine button:hover,.queue-list button:hover,.water-cup:hover,.reminder-day:hover,.summary-card:hover{box-shadow:var(--shadow-small);transform:translateY(-2px)}.schedule-plan:active,.plan-selector button:active,.program-teaser-card:active,.program-card:active,.posture-routine button:active,.queue-list button:active,.water-cup:active:not(:disabled),.reminder-day:active{box-shadow:none;transform:translateY(0)scale(.97)}.primary-button{border:1px solid var(--accent-dark);background:var(--accent-dark);color:var(--inverse-text);padding:10px 16px;box-shadow:0 8px 18px #4b7a1d2e}.primary-button:hover{border-color:var(--accent-darker);background:var(--accent-darker);transform:translateY(-1px)}.secondary-button{border:1px solid var(--line);background:var(--surface);padding:10px 15px}.ghost-button{color:var(--ink);background:0 0;border:1px solid #0000;padding:10px 15px}.secondary-button:hover,.icon-button:hover,.ghost-button:hover{background:var(--surface-soft);border-color:#bcd08f}.text-button,.danger-ghost-button{background:0 0;border:0;min-height:38px;padding:6px 8px}.text-button{color:var(--accent-text)}.danger-ghost-button{color:var(--danger)}.icon-button{border:1px solid var(--line);background:var(--surface);width:44px;min-width:44px;padding:0}.subtle-icon{box-shadow:none;background:0 0;border-color:#0000}.full-button{width:100%}button:disabled{cursor:not-allowed;opacity:.55;transform:none!important}.button-row,.dialog-actions,.player-actions,.tag-row,.quick-prompts{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.theme-toggle{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:9px;padding:9px 12px;font-weight:800;transition:background .16s,border-color .16s,transform .16s;display:inline-flex}.theme-toggle:hover{border-color:var(--accent);background:var(--surface-soft);transform:translateY(-1px)}.theme-toggle svg{width:19px;height:19px;color:var(--accent-text)}.theme-toggle-compact{width:44px;min-width:44px;padding:0}.theme-toggle-compact span{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-shell{grid-template-columns:246px minmax(0,1fr);min-height:100vh;display:grid}.app-sidebar{z-index:20;background:var(--sidebar);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-right:1px solid #dbe5e2e6;flex-direction:column;width:246px;padding:26px 18px 20px;display:flex;position:fixed;inset:0 auto 0 0}.app-brand,.login-brand{color:var(--ink);align-items:center;gap:11px;font-family:Manrope,sans-serif;font-size:1.08rem;font-weight:800;display:flex}.app-brand strong,.login-brand strong{color:var(--accent-text);font-size:1.35em;display:block}.app-brand>span,.login-brand>span{background:var(--accent-dark);color:#fff;border-radius:13px;place-items:center;width:42px;height:42px;font-family:Manrope,sans-serif;font-weight:800;display:grid}.app-brand small,.login-brand small{color:var(--muted);font-size:.68rem;font-weight:700;display:block}.app-navigation{gap:7px;margin-top:34px;display:grid}.app-navigation button{width:100%;min-height:47px;color:var(--muted);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:13px;align-items:center;gap:12px;padding:10px 12px;font-weight:700;display:flex}.app-navigation button:hover,.app-navigation .nav-active{background:var(--accent-soft);color:var(--accent-text)}.sidebar-spacer{flex:1}.app-sidebar>.theme-toggle{width:100%;margin-bottom:10px}.sidebar-profile{border:1px solid var(--line);background:var(--surface);border-radius:16px;align-items:center;gap:10px;padding:10px;display:flex}.sidebar-profile>div:nth-child(2){flex:1;min-width:0}.sidebar-profile strong,.sidebar-profile span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.sidebar-profile span{color:var(--muted)}.profile-bubble,.icon-surface,.entry-icon{background:var(--accent-soft);color:var(--accent-text);border-radius:13px;flex:none;place-items:center;display:grid}.icon-surface,.entry-icon{width:46px;height:46px}.app-content{grid-column:2;width:100%;min-width:0;max-width:1520px;margin:0 auto;padding:40px clamp(24px,4vw,64px) 70px}.app-content>*,.app-section,.app-section>*,.content-grid>*,.summary-grid>*,.workout-layout>*,.nutrition-layout>*,.posture-layout>*,.assistant-layout>*,.nutrition-history-grid>*,.education-video-grid>*{min-width:0;max-width:100%}.mobile-header,.mobile-navigation{display:none}.app-section{animation:.22s both section-in}@keyframes section-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.section-header,.panel-heading,.exercise-card-top,.analysis-item-head,.player-top,.exercise-title-row{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.section-header{margin-bottom:26px}.section-header>div:first-child{max-width:780px}.app-panel{background:var(--panel);box-shadow:var(--shadow-small);border:1px solid #dbe5e2f2;border-radius:22px;padding:clamp(18px,2.5vw,28px)}.content-grid,.summary-grid,.technique-grid,.nutrition-history-grid{gap:18px;display:grid}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(290px,.6fr)}.dashboard-hero{background:radial-gradient(circle at 85% 20%, #ffffff80, transparent 10rem), linear-gradient(135deg, var(--hero-start), var(--hero-end) 72%);border-radius:25px;min-height:300px;padding:clamp(24px,4vw,44px);position:relative;overflow:hidden}.dashboard-hero:after{content:"";border:28px solid #4b7a1d1a;border-radius:50%;width:250px;height:250px;position:absolute;bottom:-68px;right:-52px}.dashboard-hero>*{z-index:1;position:relative}.dashboard-hero p{max-width:610px}.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}.summary-card{border:1px solid var(--line);background:var(--surface);min-height:142px;box-shadow:var(--shadow-small);border-radius:19px;justify-content:space-between;align-items:flex-start;gap:14px;padding:19px;display:flex}.summary-card strong{margin:14px 0 3px;font-family:Manrope,sans-serif;font-size:1.45rem;display:block}.progress-track{background:var(--track);border-radius:999px;height:9px;overflow:hidden}.progress-track>span{border-radius:inherit;background:linear-gradient(90deg, var(--accent), #a9d84a);height:100%;transition:width var(--duration-slow) var(--ease-standard);display:block}.schedule-form{grid-template-columns:minmax(0,1fr) minmax(0,.75fr) auto;gap:10px;margin:18px 0;display:grid}.schedule-list,.queue-list,.analysis-items,.meal-history{gap:10px;display:grid}.schedule-row{border-top:1px solid var(--line);grid-template-columns:68px minmax(0,1fr) minmax(0,.45fr) auto;align-items:center;gap:12px;padding:13px 0 3px;display:grid}.app-panel{container-type:inline-size}@container (max-width:420px){.schedule-row{grid-template-columns:minmax(0,1fr);padding-right:48px;position:relative}.schedule-row>.icon-button{position:absolute;bottom:4px;right:0}.schedule-form{grid-template-columns:minmax(0,1fr)}}.schedule-plan strong,.schedule-plan small{display:block}.schedule-plan{min-height:48px;color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:12px;padding:7px 10px}.schedule-plan:hover{background:var(--surface-soft)}.schedule-plan small{color:var(--muted)}.schedule-label{color:var(--accent-text);text-transform:uppercase;margin-bottom:4px;font-size:.72rem;font-weight:800;display:inline-block}.date-control{border:1px solid var(--line);background:var(--surface);border-radius:12px;align-items:center;gap:7px;min-height:40px;padding:3px 9px;display:flex}.date-control input{border:0;outline:0;min-width:0;min-height:38px;padding:4px}.plan-selector{overscroll-behavior-inline:contain;scrollbar-width:thin;grid-template-columns:repeat(5,minmax(180px,1fr));gap:12px;width:100%;min-width:0;max-width:100%;padding:2px 2px 14px;display:grid;overflow-x:auto}.plan-selector button{border:1px solid var(--line);background:var(--surface);min-height:132px;color:var(--ink);cursor:pointer;text-align:left;border-radius:18px;padding:16px}.plan-selector button:hover,.plan-selector .plan-selected{border-color:var(--accent);background:var(--surface-soft);box-shadow:inset 0 0 0 1px var(--accent)}.plan-selector strong,.plan-selector small{display:block}.plan-selector small{color:var(--muted);margin-top:8px}.workout-layout{grid-template-columns:minmax(0,1.45fr) minmax(270px,.55fr);gap:18px;margin-top:16px;display:grid}.workout-player{min-width:0}.youtube-frame,.video-placeholder,.scanner-window{background:var(--track);aspect-ratio:16/9;border-radius:17px;width:100%;position:relative;overflow:hidden}.youtube-frame iframe{border:0;width:100%;height:100%}.video-placeholder{min-height:210px;color:var(--muted);text-align:center;place-items:center;padding:24px;display:grid}.video-placeholder svg{color:var(--accent-text)}.player-top{margin-bottom:18px}.step-counter{color:var(--muted);white-space:nowrap;font-weight:700}.prescription-row{flex-wrap:wrap;gap:8px;margin:15px 0;display:flex}.prescription-row span,.mini-macros span,.assistant-capabilities span{background:var(--surface-soft);color:var(--accent-text);border-radius:999px;padding:6px 10px;font-size:.78rem;font-weight:800}.technique-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:17px 0}.technique-grid>div{border:1px solid var(--line);border-radius:15px;padding:15px}.technique-grid ul,.posture-routine ol{color:var(--muted);margin:8px 0 0;padding-left:20px}.timer-box{background:var(--inverse);color:var(--inverse-text);border-radius:17px;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.timer-box strong{font-family:Manrope,sans-serif;font-size:1.45rem}.timer-box .icon-button,.timer-box .secondary-button{color:var(--inverse-text);background:#ffffff1f;border-color:#ffffff40}.timer-box .icon-button:hover,.timer-box .secondary-button:hover{color:var(--inverse-text);background:#ffffff38;border-color:#ffffff73}.completion-toggle{border:1px solid var(--accent);width:100%;min-height:49px;color:var(--accent-text);cursor:pointer;background:0 0;border-radius:13px;justify-content:center;align-items:center;gap:9px;margin-top:14px;font-weight:800;display:flex}.exercise-title-row .completion-toggle{flex:none;width:auto;min-width:150px}.completion-toggle.completion-done{background:var(--accent-dark);color:#fff}.queue-list{max-width:100%;margin-top:15px}.queue-list button{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:13px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:58px;padding:8px;display:grid}.queue-list button:hover,.queue-list .queue-current{border-color:var(--line);background:var(--surface-soft)}.queue-list .queue-done{color:var(--accent-text)}.queue-index{background:var(--track);border-radius:10px;place-items:center;width:31px;height:31px;font-size:.78rem;font-weight:800;display:grid}.queue-thumb{flex:none;display:block;position:relative}.queue-check{z-index:1;background:var(--accent-dark);color:#fff;border-radius:50%;place-items:center;width:18px;height:18px;display:grid;position:absolute;top:-5px;right:-5px}.queue-check svg{width:11px;height:11px}.library-controls{grid-template-columns:minmax(0,1fr) 200px 220px;gap:12px;margin-bottom:18px;display:grid}.search-field,.field-with-icon{position:relative}.search-field svg,.field-with-icon svg{z-index:1;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.search-field input,.field-with-icon input{padding-left:43px}.exercise-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;display:grid}.exercise-card{border:1px solid var(--line);background:var(--surface);min-height:235px;box-shadow:var(--shadow-small);border-radius:19px;flex-direction:column;padding:18px;display:flex}.exercise-card .text-button{align-self:flex-start;margin-top:auto}.empty-copy{text-align:center;border:1px dashed #bcd08f;border-radius:18px;grid-column:1/-1;padding:28px}.nutrition-layout{grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);gap:18px;display:grid}.nutrition-summary{grid-column:1/-1}.nutrition-ring-wrap{align-items:center;gap:28px;display:flex}.nutrition-ring{width:152px;height:152px;transition:background var(--duration-slow) var(--ease-standard);background:conic-gradient(var(--accent) var(--progress,0%), var(--track) 0);box-shadow:inset 0 0 0 15px var(--surface);color:var(--ink);text-align:center;border-radius:50%;flex-direction:column;flex:none;justify-content:center;align-items:center;padding:0 14px;font-family:Manrope,sans-serif;display:flex}.nutrition-ring-value{font-size:1.5rem;font-weight:800;line-height:1.15}.nutrition-ring-goal{color:var(--muted);font-size:.72rem;font-weight:700;line-height:1.3}.macro-input-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%;display:grid}.macro-progress{gap:6px;min-width:0;margin-top:6px;display:grid}.macro-progress>div:first-child{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 10px;min-width:0;display:flex}.macro-progress strong{font-size:.9rem}.macro-progress>div:first-child>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.82rem}.hub-tabs{background:var(--surface-soft);border-radius:999px;grid-auto-flow:column;gap:4px;margin-bottom:18px;padding:4px;display:inline-grid}.hub-tabs button{min-height:44px;color:var(--muted);cursor:pointer;transition:background var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard);background:0 0;border:0;border-radius:999px;padding:9px 20px;font-size:.85rem;font-weight:700}.hub-tab-active{background:var(--surface);color:var(--ink);box-shadow:var(--shadow-small)}.meal-mode-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:16px 0;display:grid}.meal-mode-tabs button{border:1px solid var(--line);background:var(--surface);min-height:53px;color:var(--muted);cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:.78rem;font-weight:800;display:flex}.meal-mode-tabs button[aria-pressed=true],.meal-mode-tabs button[aria-selected=true]{border-color:var(--accent);background:var(--surface-soft);color:var(--accent-text)}.entry-mode,.manual-form{gap:12px;display:grid}.file-drop{background:var(--surface-soft);min-height:150px;color:var(--muted);cursor:pointer;text-align:center;border:1px dashed #a9c98a;border-radius:17px;place-items:center;padding:22px;display:grid}.file-drop input{opacity:0;width:1px;height:1px;position:absolute}.privacy-note,.settings-notice,.inline-warning,.safety-banner{border-radius:14px;padding:12px 14px;font-size:.86rem}.privacy-note,.settings-notice{background:var(--blue-soft);color:var(--blue-text)}.settings-notice-ok{background:var(--accent-soft);color:var(--accent-text)}.privacy-note{align-items:flex-start;gap:10px;margin-bottom:10px;display:flex}.privacy-note>svg{flex:none}.privacy-note>div{min-width:0}.privacy-note strong,.privacy-note span{display:block}.privacy-note span{overflow-wrap:anywhere;margin-top:2px}.inline-warning,.safety-banner{background:var(--amber-soft);color:var(--amber-text);align-items:flex-start;gap:10px;display:flex}.inline-warning>svg,.safety-banner>svg{flex:none;width:18px;height:18px;margin-top:2px}.form-error{color:var(--danger);margin:0;font-weight:700}.form-success{color:var(--success);margin:0;font-weight:700}.analysis-empty{min-height:320px;color:var(--muted);text-align:center;place-items:center;display:grid}.analysis-result{gap:15px;display:grid}.confidence{border-radius:999px;width:max-content;padding:5px 10px;font-size:.75rem;font-weight:800;display:inline-flex}.confidence-high{background:var(--accent-soft);color:var(--accent-text)}.confidence-medium{background:var(--amber-soft);color:var(--amber-text)}.confidence-low{background:var(--danger-soft);color:var(--danger)}.analysis-items>div{border:1px solid var(--line);border-radius:15px;padding:13px}.analysis-macros,.mini-macros{color:var(--muted);flex-wrap:wrap;gap:7px;font-size:.82rem;display:flex}.home-hydration-row{border-top:1px solid var(--line);color:var(--muted);align-items:center;gap:9px;margin-top:4px;padding-top:12px;font-size:.85rem;display:flex}.home-hydration-row svg{color:var(--blue);flex:none}.home-reminder-banner{background:var(--accent-soft);color:var(--accent-ink);animation:banner-in var(--duration-slow) var(--ease-standard) both;border-radius:14px;align-items:center;gap:10px;margin-bottom:18px;padding:12px 14px;font-size:.86rem;display:flex}.home-reminder-banner svg{flex:none}@keyframes banner-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.progress-nutrition-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.analysis-total{background:var(--inverse);color:var(--inverse-text);border-radius:16px;padding:15px}.analysis-total p{color:#ffffffb8;margin:0}.nutrition-history-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-top:18px}.water-tracker{gap:14px;display:grid}.water-tracker-summary{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.water-tracker-summary strong{font-size:1.3rem}.water-tracker-summary span{color:var(--muted);font-size:.85rem}.water-cups{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.water-cup{aspect-ratio:1;border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);cursor:pointer;border-radius:12px;place-items:center;transition:background .14s,color .14s,border-color .14s;display:grid}.water-cup:hover{border-color:var(--blue)}.water-cup-filled{border-color:var(--blue);background:var(--blue-soft);color:var(--blue-text);animation:cup-fill var(--duration-slow) var(--ease-standard)}@keyframes cup-fill{0%{transform:scale(.85)}55%{transform:scale(1.12)}to{transform:scale(1)}}.reminder-days{border:0;margin:0;padding:0}.reminder-days legend{color:var(--muted);margin-bottom:8px;padding:0;font-size:.82rem}.reminder-days-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.reminder-day{border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);cursor:pointer;border-radius:10px;padding:8px 0;font-size:.8rem;font-weight:700}.reminder-day-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}.reminder-list{margin-top:18px;display:grid}.reminder-row{border-top:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 0;display:grid}.reminder-row strong,.reminder-row small{display:block}.reminder-row small{color:var(--muted)}.reminder-toggle input{width:20px;height:20px;accent-color:var(--accent)}.help-topics{gap:8px;margin:18px 0;display:grid}.help-topics details{border:1px solid var(--line);border-radius:14px;padding:12px 14px}.help-topics summary{cursor:pointer;align-items:center;gap:10px;font-weight:700;list-style:none;display:flex}.help-topics summary::-webkit-details-marker{display:none}.help-topics summary svg{color:var(--accent-text);flex:none}.help-topics p{color:var(--muted);margin:10px 0 2px;font-size:.88rem}.app-menu-dialog{width:min(380px,100%)}.app-menu-group-label{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;margin:18px 0 8px;font-size:.72rem;font-weight:800}.app-menu-group-label:first-of-type{margin-top:4px}.app-menu-list{gap:8px;margin-top:18px;display:grid}.app-menu-list button{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink);cursor:pointer;text-align:left;border-radius:14px;align-items:center;gap:12px;padding:13px 16px;font-weight:700;display:flex}.app-menu-logout{color:var(--danger)}.education-section{margin-top:30px}.video-carousel{margin-top:15px;position:relative}.education-video-grid{scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;gap:18px;padding-bottom:6px;scroll-padding-left:2px;display:flex;overflow-x:auto}.education-video-grid:focus-visible{outline-offset:2px;outline:3px solid #4076c252}.education-video{scroll-snap-align:start;flex:0 0 min(86%,340px);gap:17px;padding:16px;display:grid}.video-carousel-controls{justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.video-search-trigger{margin-top:16px}.video-search-panel{gap:16px;margin-top:16px;display:grid}.video-search-form{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.video-search-form label{flex:220px}.video-search-note{color:var(--muted);margin:0;font-size:.85rem}.video-search-terms ul{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.video-search-terms a{border:1px solid var(--line);background:var(--surface-soft);color:var(--accent-text);border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-size:.85rem;font-weight:700;text-decoration:none;display:inline-flex}.video-search-terms a:hover{border-color:var(--accent)}.video-search-terms a svg{width:14px;height:14px}.education-video h3{margin-top:10px}.meal-history>article{border-top:1px solid var(--line);padding:12px 0 2px}.meal-history>div,.posture-routine button{border:0;border-top:1px solid var(--line);color:var(--ink);text-align:left;background:0 0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 0 2px;display:grid}.posture-routine button{cursor:pointer;width:100%;min-height:62px}.posture-routine button>span{background:var(--accent-soft);width:34px;height:34px;color:var(--accent-text);border-radius:10px;place-items:center;font-weight:800;display:grid}.posture-routine strong,.posture-routine small{display:block}.posture-routine small{color:var(--muted)}.meal-history strong,.meal-history small{display:block}.meal-history small{color:var(--muted)}.posture-layout{grid-template-columns:minmax(0,1fr) minmax(310px,.65fr);gap:18px;display:grid}.posture-program-list{flex-direction:column;gap:10px;margin-top:12px;display:flex}.posture-program-list .program-list-card{border:1px solid var(--line)}.range-field input{accent-color:var(--accent);padding:0}.check-field{align-items:flex-start;gap:10px;margin:15px 0;display:flex}.customize-list{gap:4px;margin:12px 0;padding:0;list-style:none;display:grid}.customize-item{border:1px solid var(--line);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.customize-item .check-field{align-items:center;margin:0}.customize-item-nota{color:var(--muted);margin-top:3px;font-size:.75rem;line-height:1.25;display:block}.customize-item-hidden{opacity:.6}.customize-item-actions{gap:4px;display:flex}.home-cards-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.home-assistant-card{text-align:center;flex-direction:column;align-items:center;gap:10px;display:flex}.check-field input{width:19px;min-height:19px;accent-color:var(--accent);margin-top:2px}.posture-routine{margin-top:17px}.assistant-layout{grid-template-columns:minmax(250px,.42fr) minmax(0,1fr);gap:18px;display:grid}.assistant-profile{text-align:center;align-content:start;justify-items:center;display:grid}.assistant-capabilities{flex-wrap:wrap;justify-content:center;gap:7px;display:flex}.chat-panel{grid-template-rows:minmax(330px,1fr) auto auto;min-height:590px;display:grid}.chat-messages{flex-direction:column;gap:11px;max-height:520px;padding:4px 6px 16px;display:flex;overflow-y:auto}.chat-message{border-radius:17px;min-width:0;max-width:min(80%,650px);padding:12px 14px}.chat-user{background:var(--accent-dark);color:#fff;align-self:flex-end}.chat-assistant{background:var(--surface-soft);color:var(--ink);align-self:flex-start}.chat-message p{color:inherit;margin:.6em 0}.chat-message p:first-child{margin-top:0}.chat-message p:last-child{margin-bottom:0}.md-content{min-width:0;color:inherit;word-wrap:break-word;font-size:.95rem;line-height:1.55}.md-content>:first-child{margin-top:0}.md-content>:last-child{margin-bottom:0}.md-heading{margin:.7em 0 .35em;font-family:Manrope,sans-serif;font-weight:800;line-height:1.3}.md-content h4.md-heading{font-size:1.05em}.md-content h5.md-heading{font-size:1em}.md-content h6.md-heading{text-transform:none;font-size:.95em}.md-content ul,.md-content ol{margin:.5em 0;padding-left:1.4em}.md-content li{margin:.2em 0}.md-content li>p{margin:0}.md-content a{color:var(--accent-text);text-underline-offset:2px;word-break:break-word;text-decoration:underline}.md-content blockquote{border-left:3px solid var(--accent);color:var(--muted);margin:.6em 0;padding:2px 0 2px 12px;font-style:italic}.md-content hr{border:0;border-top:1px solid var(--line);margin:.8em 0}.md-inline-code{word-break:break-word;background:#7f7f7f29;border-radius:6px;padding:.1em .4em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em}.md-pre-wrap{background:#7f7f7f1f;border-radius:12px;max-width:100%;margin:.6em 0;overflow-x:auto}.md-pre-wrap pre{margin:0;padding:12px 14px}.md-pre-wrap code{white-space:pre;background:0 0;padding:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.86em}.md-table-wrap{max-width:100%;margin:.6em 0;overflow-x:auto}.md-table-wrap table{border-collapse:collapse;width:max-content;min-width:100%;font-size:.9em}.md-table-wrap th,.md-table-wrap td{border:1px solid var(--line);text-align:left;padding:6px 10px}.md-table-wrap th{background:#7f7f7f1a;font-weight:800}.md-image-blocked{color:var(--muted);font-size:.85em;font-style:italic;display:inline-block}.quick-prompts{margin:8px 0}.quick-prompts button{border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:999px;padding:7px 11px;font-size:.78rem;font-weight:700}.chat-form{grid-template-columns:minmax(0,1fr) auto auto;gap:9px;display:grid}.chat-form input{min-width:0}.robot-mascot{-webkit-user-select:none;user-select:none;width:122px;height:150px;transition:transform var(--duration-base) var(--ease-standard);place-items:center;margin:12px auto 22px;display:grid;position:relative}.robot-small{margin:-14px;transform:scale(.65)}.robot-large{margin-top:22px;margin-bottom:34px;transform:scale(1.12)}.assistant-avatar{width:44px;height:44px;color:var(--accent-text,var(--ink));vertical-align:middle;flex:none;place-items:center;display:inline-grid}.assistant-avatar-sm{width:28px;height:28px}.assistant-avatar-robot{grid-template-rows:.18fr .5fr .42fr;justify-items:center;width:72%;height:70%;display:grid;position:relative}.assistant-avatar-antenna{background:var(--lime,var(--accent));border-radius:999px 999px 0 0;width:18%;min-width:3px;height:100%}.assistant-avatar-head{border:2px solid color-mix(in srgb, var(--accent) 48%, var(--line));background:var(--surface);width:100%;box-shadow:inset 0 -2px 0 var(--surface-soft);border-radius:42% 42% 36% 36%;justify-content:center;align-items:center;gap:22%;display:flex}.assistant-avatar-head i{aspect-ratio:1;background:var(--ink);border-radius:50%;width:14%}.assistant-avatar-body{background:linear-gradient(135deg, var(--accent), var(--accent-dark));width:58%;min-width:18px;color:var(--surface);border-radius:32% 32% 38% 38%;place-items:center;font-size:clamp(.45rem,1.3vw,.63rem);font-weight:900;line-height:1;display:grid}.assistant-avatar-interactive{cursor:pointer;background:0 0;border:0;padding:0}.assistant-avatar-interactive:hover{transform:translateY(-1px)}.assistant-avatar-interactive:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:12px}.assistant-avatar-listening .assistant-avatar-head{border-color:var(--accent)}.assistant-avatar-celebrating .assistant-avatar-antenna{background:var(--warning,var(--lime))}.robot-interactive{font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;outline:none;padding:0}.robot-interactive:hover{transform:scale(1.06)}.robot-interactive:focus-visible{box-shadow:0 0 0 3px var(--lime);border-radius:20px}.robot-interactive:active{transform:scale(.96)}.coach-proposal-card{border:1px solid var(--ai);border-radius:var(--radius-card,18px);background:var(--ai-soft);width:min(100%,540px);color:var(--text);gap:10px;margin-top:12px;padding:14px;display:grid}.coach-proposal-heading,.coach-proposal-card .button-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.coach-proposal-card h3,.coach-proposal-card p{margin:0}.coach-proposal-badge{color:var(--ai-text);align-items:center;gap:6px;font-size:.78rem;font-weight:800;display:inline-flex}.coach-proposal-details{color:var(--muted)}.coach-proposal-missing{color:var(--warning-text,var(--nutrition-text));font-size:.9rem}.coach-proposal-result{color:var(--brand-text);font-weight:700}.coach-proposal-rejected{border-color:var(--line);background:var(--surface-soft)}.chat-form .audio-recorder{align-items:center;display:inline-flex}.robot-head{z-index:2;border:4px solid var(--line);background:var(--robot-face);width:94px;height:72px;transition:border-color var(--duration-base) var(--ease-standard), background-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);border-radius:30px 30px 24px 24px;justify-content:center;align-items:center;gap:22px;display:flex;position:absolute;top:12px;box-shadow:0 10px 20px #1422111f}.robot-eye{background:var(--brand);width:10px;height:16px;transition:background-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), height var(--duration-base) var(--ease-standard), border-radius var(--duration-base) var(--ease-standard);border-radius:999px;box-shadow:0 0 0 4px #5f8f2224}.robot-antenna{background:var(--muted);width:6px;height:20px;transition:background-color var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);border-radius:999px;position:absolute;top:-14px;left:50%;transform:translate(-50%)}.robot-antenna:before{background:var(--lime);content:"";width:12px;height:12px;transition:background-color var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);border-radius:50%;position:absolute;top:-7px;left:-3px;box-shadow:0 0 8px #b7de6399}.robot-body{background:linear-gradient(135deg, var(--brand), #7cb332);border-radius:18px 18px 25px 25px;justify-content:center;align-items:center;width:76px;height:58px;display:flex;position:absolute;top:80px;box-shadow:0 12px 22px #5f8f2238}.robot-badge{color:#fff;letter-spacing:.5px;text-shadow:0 1px 2px #0000004d;font-size:.72rem;font-weight:800}.robot-body:before,.robot-body:after{content:"";width:15px;height:44px;transition:transform var(--duration-base) var(--ease-standard);background:#7cb332;border-radius:999px;position:absolute;top:11px}.robot-body:before{left:-18px;transform:rotate(9deg)}.robot-body:after{right:-18px;transform:rotate(-9deg)}.robot-state-motivating .robot-head{animation:1.4s ease-in-out infinite robot-bounce}.robot-state-motivating .robot-antenna:before{background:var(--brand);box-shadow:0 0 12px #5f8f22cc}.robot-state-celebrating .robot-head{animation:.9s ease-in-out infinite alternate robot-celebrate}.robot-state-celebrating .robot-eye{background:var(--lime-text);border-radius:10px 10px 2px 2px;height:12px}.robot-state-celebrating .robot-body:before{transform:rotate(-35deg)translateY(-8px)}.robot-state-celebrating .robot-body:after{transform:rotate(35deg)translateY(-8px)}.robot-state-listening .robot-antenna:before{background:var(--ai);animation:1s ease-in-out infinite pulse;box-shadow:0 0 12px #7555a6cc}.robot-sparks{pointer-events:none;position:absolute;inset:-15px}.spark{color:var(--lime);font-size:1.1rem;animation:1.2s ease-in-out infinite alternate spark-float;position:absolute}.spark-1{animation-delay:.1s;top:0;left:10px}.spark-2{color:var(--brand);animation-delay:.3s;top:-10px;right:15px}.spark-3{color:var(--lime);animation-delay:.5s;bottom:30px;right:-5px}@keyframes robot-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes robot-celebrate{0%{transform:rotate(-3deg)translateY(-4px)}to{transform:rotate(3deg)translateY(2px)}}@keyframes spark-float{0%{opacity:.7;transform:scale(.8)translateY(0)}to{opacity:1;transform:scale(1.2)translateY(-8px)}}@media (prefers-reduced-motion:reduce){.robot-state-motivating .robot-head,.robot-state-celebrating .robot-head,.spark{animation:none!important}}.spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.barcode-scanner,.camera-capture{gap:12px;display:grid}.camera-explanation{background:var(--surface-soft);border:1px solid var(--line);border-radius:16px;align-items:center;gap:14px;padding:16px 18px;display:flex}.camera-explanation svg{width:28px;height:28px;color:var(--nutrition);flex-shrink:0}.camera-explanation p{color:var(--ink);margin:0;font-size:.88rem;line-height:1.45}.camera-actions-right{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;width:100%;display:flex}.camera-preview{background:var(--surface-soft);border:1px solid var(--line);width:100%;box-shadow:var(--shadow-small);border-radius:18px;justify-content:center;align-items:center;min-height:260px;max-height:440px;display:flex;position:relative;overflow:hidden}.camera-preview-large{min-height:280px;max-height:480px}.camera-preview img{object-fit:contain;background:#000;width:100%;height:100%;max-height:480px;display:block}.scanner-window{border:2px solid var(--nutrition);background:#0d1210;border-radius:18px;place-items:center;width:100%;min-height:280px;max-height:480px;display:grid;position:relative;overflow:hidden}.camera-live-window{min-height:300px;max-height:500px}.scanner-window video{object-fit:cover;width:100%;height:100%;max-height:500px}.scanner-window:after{content:"";pointer-events:none;border:2px solid #ffffffd9;border-radius:14px;position:absolute;inset:15% 8%;box-shadow:0 0 0 9999px #00000040}.file-picker-button{cursor:pointer;justify-content:center;align-items:center;min-height:44px;display:inline-flex;position:relative}.file-picker-button input{opacity:0;width:1px;height:1px;position:absolute;inset:0}.meal-entry-trigger-bar{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-small);border-radius:20px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:16px 20px;display:flex}.meal-entry-trigger-info{flex-direction:column;flex:260px;gap:6px;display:flex}.meal-mode-badge,.meal-mode-tag{background:var(--nutrition-soft);width:fit-content;color:var(--nutrition);border:1px solid var(--line);border-radius:999px;align-items:center;gap:6px;padding:4px 12px;font-size:.84rem;display:inline-flex}.meal-mode-hint,.meal-entry-header-desc{color:var(--muted);margin:0;font-size:.86rem;line-height:1.4}.meal-entry-trigger-actions,.meal-entry-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.meal-add-main-btn,.meal-add-btn,.meal-change-mode-btn,.meal-switch-mode-btn{min-height:44px}.meal-entry-dialog{max-width:640px}.meal-entry-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-top:16px;display:grid}.meal-entry-option-card{background:var(--surface-soft);border:1px solid var(--line);cursor:pointer;text-align:left;transition:transform var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);color:var(--ink);border-radius:16px;align-items:flex-start;gap:14px;min-height:72px;padding:16px;display:flex}.meal-entry-option-card:hover{border-color:var(--nutrition);background:var(--surface);box-shadow:var(--shadow-small);transform:translateY(-1px)}.meal-entry-option-card.is-selected{border-color:var(--nutrition);background:var(--nutrition-soft)}.meal-entry-option-icon{background:var(--surface);border:1px solid var(--line);width:42px;height:42px;color:var(--nutrition);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.meal-entry-option-content{flex-direction:column;flex:1;gap:4px;display:flex}.meal-entry-option-title{color:var(--ink);font-size:.95rem;font-weight:700}.meal-entry-option-desc{color:var(--muted);font-size:.82rem;line-height:1.35}.analysis-loading-card{text-align:center;background:var(--surface-soft);border:1px solid var(--line);border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:40px 20px;display:flex}.analysis-loading-spinner{background:var(--nutrition-soft);width:60px;height:60px;color:var(--nutrition);border-radius:50%;place-items:center;display:grid}.spin-pulse-icon{width:32px;height:32px;animation:2.4s ease-in-out infinite spinPulse}@keyframes spinPulse{0%{opacity:.75;transform:rotate(0)scale(.92)}50%{opacity:1;transform:rotate(180deg)scale(1.12)}to{opacity:.75;transform:rotate(360deg)scale(.92)}}.analysis-loading-card h3{color:var(--ink);margin:0;font-size:1.15rem;font-weight:700}.analysis-loading-card p{color:var(--muted);margin:0;font-size:.9rem}.analysis-error-card{text-align:center;background:var(--danger-soft,#ef444414);border:1px solid var(--danger,#ef4444);border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:32px 20px;display:flex}.analysis-error-card svg{width:36px;height:36px;color:var(--danger,#ef4444)}.analysis-error-card h3{color:var(--ink);margin:0;font-size:1.05rem;font-weight:700}.analysis-error-card p{color:var(--muted);margin:0;font-size:.88rem}.meal-history-card{flex-direction:column;gap:16px;display:flex}.meal-history-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.meal-history-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.meal-date-picker-input{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink);cursor:pointer;border-radius:12px;min-height:44px;padding:8px 12px;font-size:.88rem}.meal-today-button{min-height:44px;padding:0 14px;font-size:.85rem}.meal-week-arrows{align-items:center;gap:4px;display:flex}.meal-week-arrows .icon-button{min-width:44px;min-height:44px}.meal-week-nav{background:var(--surface-soft);border:1px solid var(--line);border-radius:18px;grid-template-columns:repeat(7,1fr);gap:6px;padding:6px;display:grid}.meal-week-day-btn{cursor:pointer;color:var(--muted);transition:background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);background:0 0;border:1px solid #0000;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:58px;padding:8px 4px;display:flex}.meal-week-day-btn:hover:not(.is-selected){background:var(--surface);color:var(--ink);border-color:var(--line)}.meal-week-day-btn.is-today{border-color:var(--nutrition)}.meal-week-day-btn.is-selected{box-shadow:0 4px 12px #2e7d3240;background:var(--nutrition)!important;border-color:var(--nutrition)!important;color:#fff!important}.meal-week-day-label{text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:600}.meal-week-day-number{color:var(--ink);font-size:1.05rem;font-weight:800}.meal-week-day-btn.is-selected .meal-week-day-label,.meal-week-day-btn.is-selected .meal-week-day-number{color:#fff!important}.meal-week-day-dot{background:var(--nutrition);border-radius:50%;width:6px;height:6px;margin-top:2px}.meal-week-day-btn.is-selected .meal-week-day-dot{background:#fff!important}.meal-week-day-dot-empty{background:0 0;border-radius:50%;width:6px;height:6px;margin-top:2px}.meal-day-summary-banner{background:var(--surface-soft);border:1px solid var(--line);border-radius:14px;justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.meal-day-summary-info{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.meal-day-summary-date{color:var(--ink);font-size:.95rem;font-weight:700}.meal-day-summary-count{color:var(--muted);font-size:.85rem}.meal-day-summary-cals{color:var(--nutrition);align-items:center;gap:6px;font-size:.95rem;display:inline-flex}.meal-day-summary-cals svg{width:18px;height:18px}.meal-groups-container{flex-direction:column;gap:16px;display:flex}.meal-group-block{background:var(--surface-soft);border:1px solid var(--line);border-radius:18px;padding:16px}.meal-group-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;display:flex}.meal-group-title{color:var(--ink);margin:0;font-size:1rem;font-weight:700}.meal-group-cals{color:var(--nutrition);font-size:.85rem;font-weight:600}.meal-group-items{flex-direction:column;gap:10px;display:flex}.meal-item-card{background:var(--surface);border:1px solid var(--line);transition:border-color var(--duration-fast) var(--ease-standard);border-radius:14px;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 16px;display:flex}.meal-item-card:hover{border-color:var(--line-strong)}.meal-item-main{flex:1;min-width:0}.meal-item-header-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px;display:flex}.meal-item-name{color:var(--ink);margin:0;font-size:.98rem;font-weight:700}.meal-item-time{color:var(--muted);align-items:center;gap:4px;font-size:.8rem;display:inline-flex}.meal-item-time svg{width:14px;height:14px}.meal-item-macros{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.meal-macro-pill{background:var(--surface-soft);color:var(--muted);border:1px solid var(--line);border-radius:999px;align-items:center;gap:4px;padding:3px 8px;font-size:.78rem;display:inline-flex}.meal-macro-pill.cal-pill{background:var(--nutrition-soft);color:var(--nutrition);font-weight:700}.meal-item-foods-list{border-top:1px dashed var(--line);margin:8px 0 0;padding:8px 0 0;list-style:none}.meal-item-food{color:var(--muted);justify-content:space-between;gap:8px;font-size:.82rem;line-height:1.45;display:flex}.meal-item-food-portion{color:var(--subtle)}.meal-item-actions{align-items:center;display:flex}.meal-delete-btn{min-width:44px;min-height:44px;color:var(--muted)}.meal-delete-btn:hover{color:var(--danger,#ef4444)}.meal-history-empty-state{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:36px 20px;display:flex}.meal-history-empty-state h3{margin:0;font-size:1.05rem}.meal-history-empty-state p{color:var(--muted);max-width:360px;margin:0;font-size:.88rem}.manual-barcode-form{flex-direction:column;gap:.5rem;margin-top:1rem;display:flex}.input-with-button{align-items:center;gap:.5rem;display:flex}.input-with-button input{flex:1}.audio-recorder{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.audio-recording-controls{align-items:center;gap:8px;display:flex}.audio-recording{font-weight:600;border-color:var(--ai)!important;color:var(--ai-text)!important;background:var(--ai-soft)!important}.audio-recording svg{color:var(--ai);animation:1.2s ease-in-out infinite pulseRecord}@keyframes pulseRecord{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.88)}}@media (prefers-reduced-motion:reduce){.audio-recording svg,.audio-recorder .spin{animation:none!important}}.audio-recorder-error-row{align-items:center;gap:8px;display:flex}.audio-privacy-hint{color:var(--text-muted);width:100%;margin:4px 0 0;font-size:.8rem;line-height:1.35}.audio-error-msg{width:100%;margin:6px 0 0}.audio-help-btn{color:var(--text-muted);gap:6px;padding:6px 10px;font-size:.82rem}.audio-permission-guide{background:var(--surface-2,#ffffff0d);border:1px solid var(--border);border-radius:12px;width:100%;margin-top:8px;padding:12px 14px;font-size:.84rem;line-height:1.45}.audio-permission-guide-header{color:var(--text);align-items:center;gap:6px;margin-bottom:8px;display:flex}.audio-permission-steps{color:var(--text-secondary);flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}.audio-permission-tip{border-top:1px solid var(--border);color:var(--text-muted);margin-top:8px;padding-top:8px}.description-field-row{flex-wrap:wrap;align-items:flex-start;gap:10px;display:flex}.description-field-row label{flex:220px}.refine-panel{border:1px dashed var(--line);background:var(--surface-soft);border-radius:16px;gap:10px;margin-bottom:15px;padding:14px;display:grid}.refine-panel h3{margin:0;font-size:.95rem}.refine-panel p{color:var(--muted);margin:0;font-size:.85rem}.dialog-backdrop{z-index:60;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);animation:backdrop-in var(--duration-base) var(--ease-standard) both;background:#0d121080;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow-y:auto}@keyframes backdrop-in{0%{opacity:0}to{opacity:1}}.settings-dialog{border:1px solid var(--line);background:var(--surface);width:min(620px,100%);max-height:calc(100vh - 40px);box-shadow:var(--shadow);animation:dialog-in var(--duration-slow) var(--ease-standard) both;border-radius:24px;padding:25px;overflow-y:auto}@keyframes dialog-in{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.assistant-fab{z-index:40;background:var(--accent-dark);color:#fff;cursor:pointer;width:56px;height:56px;box-shadow:var(--shadow);border:0;border-radius:50%;place-items:center;animation:3.4s ease-in-out infinite fab-breathe;display:grid;position:fixed;bottom:28px;right:28px}.assistant-fab svg{width:24px;height:24px}.assistant-fab:hover{transform:scale(1.06)}.assistant-fab:active{transform:scale(.95)}.assistant-fab-processing{box-shadow:var(--shadow), 0 0 0 6px var(--accent-soft);animation:1.1s ease-in-out infinite fab-processing}@keyframes fab-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.045)}}@keyframes fab-processing{0%,to{box-shadow:var(--shadow), 0 0 0 4px var(--accent-soft)}50%{box-shadow:var(--shadow), 0 0 0 9px var(--accent-soft)}}@media (max-width:820px){.assistant-fab{width:52px;height:52px;bottom:92px;right:16px}}.sync-bar{z-index:80;background:var(--track);width:100%;height:3px;position:fixed;top:0;left:0;overflow:hidden}.sync-bar:after{background:var(--accent);content:"";border-radius:999px;width:40%;animation:1.1s ease-in-out infinite sync-sweep;position:absolute;inset:0 auto 0 0}@keyframes sync-sweep{0%{left:-40%}to{left:100%}}.app-toast{z-index:70;background:var(--inverse);max-width:min(420px,100vw - 32px);color:var(--inverse-text);box-shadow:var(--shadow);animation:toast-in var(--duration-slow) var(--ease-standard) both;border-radius:999px;align-items:center;gap:10px;padding:12px 20px;font-size:.86rem;font-weight:700;display:flex;position:fixed;bottom:28px;left:50%;transform:translate(-50%)}.app-toast svg{color:var(--accent);flex:none}.app-toast-error{background:color-mix(in srgb, var(--danger,#b42318) 92%, #111)}.app-toast-warning{background:color-mix(in srgb, var(--warning,#9a5b00) 92%, #111)}.app-toast-info{background:color-mix(in srgb, var(--accent) 86%, #111)}.app-toast-error svg,.app-toast-warning svg,.app-toast-info svg{color:currentColor}.app-toast button{min-height:36px;color:inherit;font:inherit;cursor:pointer;background:#ffffff29;border:0;border-radius:999px;margin:-4px -8px -4px 2px;padding:6px 10px;font-size:.8rem}.app-toast button:focus-visible{outline-offset:2px;outline:2px solid}@keyframes toast-in{0%{opacity:0;transform:translate(-50%)translateY(10px)}to{opacity:1;transform:translate(-50%)translateY(0)}}@media (max-width:820px){.app-toast{bottom:92px}}.settings-dialog.goal-dialog{width:min(920px,100%)}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0;display:grid}.settings-help{color:var(--muted);font-size:.83rem}.pace-options{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;padding:0;display:grid}.pace-options legend{grid-column:1/-1;margin-bottom:8px;font-weight:750}.pace-card{cursor:pointer;border:1px solid var(--line);background:var(--surface-soft);border-radius:18px;gap:4px;padding:16px;display:grid}.pace-card input{justify-self:start;width:auto}.pace-card span,.pace-card small,.goal-preview small{color:var(--muted)}.pace-selected{border-color:var(--blue);box-shadow:0 0 0 2px color-mix(in srgb, var(--blue) 18%, transparent)}.goal-preview{background:var(--surface-soft);border-radius:20px;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px;display:grid}.goal-preview>div{gap:4px;display:grid}.goal-preview strong{font-size:1.15rem}.goal-macro-summary,.meal-suggestion-list{grid-column:1/-1}.goal-macro-summary{flex-wrap:wrap;gap:8px!important;display:flex!important}.goal-macro-summary span{background:var(--surface);border-radius:999px;padding:7px 11px;font-size:.82rem}.meal-suggestion-list p{color:var(--muted);margin:4px 0 0;font-size:.85rem}.login-page{place-items:center;min-height:100vh;padding:24px;display:grid}.login-shell{border:1px solid var(--line);background:var(--surface);width:min(1000px,100%);box-shadow:var(--shadow);border-radius:28px;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);display:grid;overflow:hidden}.login-visual,.login-panel{padding:clamp(30px,6vw,70px)}.login-visual{background:radial-gradient(circle at 80% 15%, #fff9, transparent 13rem), linear-gradient(145deg, var(--login-start), var(--login-end));flex-direction:column;justify-content:space-between;min-height:600px;display:flex}.login-visual h1{max-width:560px}.login-copy{flex-direction:column;justify-content:center;display:flex}.login-panel{background:var(--surface);flex-direction:column;justify-content:center;min-width:0;display:flex}.login-theme-row{justify-content:flex-end;margin-bottom:10px;display:flex}.login-form,.login-form-wrap{gap:14px;display:grid}.tag-row span{background:var(--surface-soft);color:var(--accent-text);border-radius:999px;align-items:center;padding:5px 11px;font-size:.74rem;font-weight:700;display:inline-flex}.dashboard-analytics-grid{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px;margin:18px 0;display:grid}.dashboard-chart-panel .panel-heading{align-items:center;margin-bottom:6px}.donut-panel-body{align-items:center;gap:26px;margin-top:10px;display:flex}.donut-chart-wrap{flex:none}.donut-center-value{fill:var(--ink);font-family:Manrope,sans-serif;font-size:1.5rem;font-weight:800}.donut-center-label{fill:var(--muted);text-transform:uppercase;font-size:.62rem;font-weight:700}.donut-legend{flex:1;gap:9px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.donut-legend li{align-items:center;gap:8px;display:flex}.legend-dot{border-radius:50%;flex:none;width:10px;height:10px}.legend-label{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;flex:1;font-weight:700;overflow:hidden}.legend-value{color:var(--muted);font-size:.82rem;font-weight:700}.period-toggle{border:1px solid var(--line);border-radius:999px;gap:2px;padding:3px;display:inline-flex}.period-toggle button{min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0 12px;font-size:.76rem;font-weight:800}.period-toggle .period-active{background:var(--accent-dark);color:#fff}.trend-chart-wrap{margin-top:8px}.trend-chart-axis{color:var(--muted);justify-content:space-between;margin-top:4px;font-size:.72rem;font-weight:700;display:flex}.trend-chart-empty{border:1px dashed var(--line);min-height:120px;color:var(--muted);text-align:center;border-radius:14px;place-items:center;margin-top:8px;padding:16px;font-size:.85rem;display:grid}.net-calorie-chart-wrap,.hydration-chart-wrap,.activity-chart-wrap{flex-direction:column;gap:8px;width:100%;margin-top:10px;display:flex}.net-calorie-chart-svg,.hydration-chart-wrap svg,.activity-chart-wrap svg{max-width:100%;height:auto;display:block;overflow:visible}.chart-header-stat{justify-content:flex-end;margin-bottom:2px;display:flex}.chart-legend-row{border-top:1px solid var(--line);color:var(--ink-secondary);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin-top:4px;padding-top:6px;font-size:.78rem;font-weight:600;display:flex}.legend-chip{align-items:center;gap:6px;display:inline-flex}.legend-chip-dot{border-radius:50%;width:9px;height:9px;display:inline-block}.legend-chip-line{border-top:2px dashed;width:14px;height:0;display:inline-block}.weight-quick-add{gap:8px;margin-top:14px;display:flex}.weight-quick-add label{flex:1}.weight-quick-add input{border:1px solid var(--line);background:var(--surface);width:100%;min-height:42px;color:var(--ink);border-radius:12px;padding:0 12px}.weight-log-list{gap:6px;margin:12px 0 0;padding:0;list-style:none;display:grid}.weight-log-list li{border-top:1px solid var(--line);color:var(--muted);align-items:center;gap:10px;padding:8px 0 0;font-size:.82rem;display:flex}.weight-log-list strong{color:var(--ink);margin-left:auto}.program-teaser-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin:14px 0;display:grid}.program-teaser-card{border:1px solid var(--line);background:var(--surface);min-height:118px;color:var(--ink);cursor:pointer;text-align:left;border-radius:16px;flex-direction:column;gap:4px;padding:14px;display:flex}.program-teaser-card:hover{border-color:var(--accent);background:var(--surface-soft)}.program-teaser-card small{color:var(--muted);margin-top:auto}.dashboard-owner-note{color:var(--muted);margin-top:22px;font-size:.78rem}.level-badge{text-transform:uppercase;border-radius:999px;align-items:center;width:max-content;padding:4px 10px;font-size:.7rem;font-weight:800;display:inline-flex}.level-badge.level-beginner{background:var(--accent-soft);color:var(--accent-text)}.level-badge.level-intermediate{background:var(--amber-soft);color:var(--amber-text)}.level-badge.level-advanced{background:var(--danger-soft);color:var(--danger)}.programs-layout{grid-template-columns:minmax(0,1.6fr) minmax(300px,.9fr);align-items:start;gap:18px;display:grid}.program-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.program-card{border:1px solid var(--line);background:var(--surface);min-height:210px;box-shadow:var(--shadow-small);color:var(--ink);cursor:pointer;text-align:left;border-radius:20px;flex-direction:column;gap:8px;padding:18px;display:flex}.program-card:hover,.program-card.program-card-active{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.program-card-top{color:var(--muted);align-items:center;gap:8px;font-size:.78rem;font-weight:700;display:flex}.program-card p{color:var(--muted);font-size:.86rem}.program-card-foot{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;margin-top:auto;padding-top:10px;font-size:.8rem;font-weight:700;display:flex}.program-card-foot span{align-items:center;gap:6px;display:inline-flex}.program-detail-panel{position:sticky;top:20px}.program-detail-panel .level-badge{margin-bottom:8px}.program-detail-stats{color:var(--muted);flex-wrap:wrap;gap:14px;margin:12px 0;font-size:.85rem;font-weight:700;display:flex}.program-detail-stats span{align-items:center;gap:6px;display:inline-flex}.program-exercise-list{gap:8px;margin:16px 0;padding:0;list-style:none;display:grid}.program-exercise-list li{align-items:center;gap:10px;display:flex}.program-exercise-list strong,.program-exercise-list small{display:block}.program-exercise-list small{color:var(--muted)}.program-filter-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;display:flex}.program-list{gap:14px;display:grid}.program-list-card{padding:0;overflow:hidden}.program-list-card-header{text-align:left;width:100%;color:var(--ink);cursor:pointer;background:0 0;border:none;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;padding:16px 18px;display:grid}.program-list-card-header>*{grid-column:1/2;min-width:0}.program-list-card-header strong{font-size:1rem}.program-list-card-header p{color:var(--muted);margin:0;font-size:.86rem;line-height:1.45}.program-list-card-header small{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;font-size:.82rem;font-weight:700;display:inline-flex}.program-list-card-header small svg{flex-shrink:0;width:14px;height:14px}.program-list-card-badges{flex-wrap:wrap;gap:8px;display:flex}.program-list-card-header>svg{color:var(--muted);transition:transform var(--duration-base) var(--ease-standard);grid-area:1/2/-1/3}.program-list-card-header>svg.chevron-flip{transform:rotate(180deg)}.origin-badge{text-transform:uppercase;border-radius:999px;align-items:center;width:max-content;padding:4px 10px;font-size:.7rem;font-weight:800;display:inline-flex}.origin-badge.origin-standard{background:var(--surface-soft);color:var(--muted)}.origin-badge.origin-custom{background:var(--accent-soft);color:var(--accent-text)}.program-readonly-note{margin-left:auto}.status-badge{text-transform:uppercase;background:var(--surface-soft);width:max-content;color:var(--muted);border-radius:999px;align-items:center;padding:4px 10px;font-size:.7rem;font-weight:800;display:inline-flex}.status-badge.status-active{background:var(--accent-soft);color:var(--accent-text)}.status-badge.status-archived{background:var(--amber-soft);color:var(--amber-text)}.program-list-card-collapse{transition:grid-template-rows var(--duration-slow) var(--ease-standard);grid-template-rows:0fr;display:grid}.program-list-card-collapse[data-expanded=true]{grid-template-rows:1fr}.program-list-card-collapse-inner{min-height:0;padding:0 18px;overflow:hidden}.program-list-card-collapse[data-expanded=true] .program-list-card-collapse-inner{padding:0 18px 18px}.program-list-card-actions{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding-top:4px;display:flex}.program-list-card-actions .primary-button{margin-right:auto}.program-builder-dialog{width:min(760px,100%)}.ai-suggestion-panel{border:1px dashed var(--accent);background:var(--accent-soft);border-radius:16px;margin:18px 0;padding:14px 16px}.ai-suggestion-panel h3{align-items:center;gap:8px;margin:0 0 4px;font-size:.95rem;display:flex}.ai-suggestion-preview{background:var(--surface);border-radius:12px;margin-top:12px;padding:12px}.ai-suggestion-preview ul{margin:8px 0;padding-left:18px}.exercise-picker{margin:18px 0}.exercise-picker-list{gap:6px;max-height:220px;margin:10px 0 0;padding:0;list-style:none;display:grid;overflow-y:auto}.exercise-picker-list li{border:1px solid var(--line);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;display:flex}.exercise-picker-list small{color:var(--muted)}.program-exercise-editor-list{gap:12px;margin:10px 0 0;padding:0;list-style:none;display:grid}.program-exercise-editor-row{border:1px solid var(--line);border-radius:14px;padding:12px}.program-exercise-editor-head{align-items:center;gap:10px;margin-bottom:10px;display:flex}.program-exercise-editor-head strong{flex:1}.net-calorie-panel{gap:12px;min-width:0;display:grid}.net-calorie-sentence{color:var(--ink);margin:0;font-size:.92rem;line-height:1.5}.net-calorie-rows{gap:2px;margin:0;display:grid}.net-calorie-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;min-width:0;padding:7px 0;display:flex}.net-calorie-row dt{min-width:0;color:var(--muted);align-items:center;gap:7px;font-size:.86rem;display:inline-flex}.net-calorie-row dt svg{flex-shrink:0;width:15px;height:15px}.net-calorie-row dd{font-variant-numeric:tabular-nums;align-items:center;gap:8px;margin:0;font-weight:800;display:inline-flex}.net-calorie-burn dd{color:var(--accent-text)}.net-calorie-subtotal{border-top:1px solid var(--line)}.net-calorie-total{border-top:1px solid var(--line);font-size:1.02rem}.net-calorie-total dt{color:var(--ink);font-weight:800}.net-calorie-balance{border-radius:12px;margin-top:4px;padding:10px 12px}.net-calorie-balance dd{flex-wrap:wrap;justify-content:flex-end}.net-calorie-under{background:var(--accent-soft)}.net-calorie-under dt,.net-calorie-under dd{color:var(--accent-text)}.net-calorie-over{background:var(--amber-soft)}.net-calorie-over dt,.net-calorie-over dd{color:var(--amber-text)}.net-calorie-sources{gap:6px;margin:0;padding:0;list-style:none;display:grid}.net-calorie-sources li{background:var(--surface-soft);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 10px;min-width:0;padding:7px 10px;font-size:.85rem;display:flex}.net-calorie-sources li>span:last-child{font-variant-numeric:tabular-nums;align-items:center;gap:7px;font-weight:700;display:inline-flex}.calorie-quality{text-transform:uppercase;letter-spacing:.02em;border-radius:999px;padding:2px 8px;font-size:.68rem;font-weight:800}.calorie-quality-informada{background:var(--accent-soft);color:var(--accent-text)}.calorie-quality-estimada{background:var(--amber-soft);color:var(--amber-text)}.net-calorie-note,.net-calorie-warning{border-radius:12px;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;font-size:.82rem;line-height:1.45;display:flex}.net-calorie-note{background:var(--surface-soft);color:var(--muted)}.net-calorie-warning{background:var(--amber-soft);color:var(--amber-text)}.net-calorie-note svg,.net-calorie-warning svg{flex-shrink:0;width:16px;height:16px;margin-top:1px}.net-calorie-compact .net-calorie-sources,.net-calorie-compact .net-calorie-note{display:none}.external-activity-dialog{width:min(680px,100%)}.external-activity-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.external-activity-row{padding:14px 16px}.external-activity-row-main{align-items:center;gap:12px;display:flex}.external-activity-info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.external-activity-info small{color:var(--muted)}.calorie-badge-informada,.calorie-badge-estimada{width:max-content}.calorie-badge-informada{background:var(--accent-soft);color:var(--accent-text)}.external-activity-actions{gap:4px;display:flex}.external-activity-photo{border-radius:12px;margin-top:10px;overflow:hidden}.external-activity-photo img{object-fit:cover;width:100%;max-height:320px;display:block}.calorie-source-panel{border:1px solid var(--line);background:var(--surface-soft);border-radius:16px;margin:16px 0;padding:14px 16px}.calorie-source-panel h3{margin:0 0 6px;font-size:.95rem}.calorie-source-line{margin:0 0 10px}.exercise-motion-preview{background:var(--surface-soft);border-radius:14px;margin:0;display:block;position:relative;overflow:hidden}.exercise-motion-sm{border-radius:12px;flex:none;width:56px;height:56px}.exercise-motion-md{aspect-ratio:1;width:100%;max-width:220px}.exercise-motion-lg{aspect-ratio:16/10;width:100%}.exercise-motion-visual{place-items:center;width:100%;height:100%;display:grid}.exercise-motion-video,.exercise-motion-gif{object-fit:cover;width:100%;height:100%}.motion-figure{width:68%;height:68%;color:var(--accent-text)}.motion-figure .motion-head,.motion-figure .motion-torso,.motion-figure .motion-leg,.motion-figure .motion-arm{fill:currentColor}.motion-toggle{color:#fff;cursor:pointer;background:#11191b8c;border:0;border-radius:50%;place-items:center;width:26px;height:26px;display:grid;position:absolute;bottom:6px;right:6px}.motion-toggle svg{width:14px;height:14px}.exercise-motion-sm .motion-toggle{display:none}.motion-attribution{color:var(--muted);margin-top:6px;font-size:.7rem}.motion-attribution a{color:var(--accent-text)}.motion-preview-row{align-items:center;gap:16px;margin-bottom:16px;display:flex}.motion-preview-row .exercise-motion-lg{aspect-ratio:4/3;width:220px;max-width:42%}.motion-preview-caption{flex:1;min-width:0}.motion-preview-caption p{margin:4px 0 0;font-size:.85rem}.motion-head,.motion-torso,.motion-legs,.motion-arms,.motion-leg-left,.motion-leg-right,.motion-arm-left,.motion-arm-right{transform-box:fill-box;transform-origin:50%}.motion-arm-left,.motion-arm-right,.motion-leg-left,.motion-leg-right{transform-origin:top}.motion-playing svg[data-pattern=warmup] .motion-arm-left{animation:1.6s ease-in-out infinite motion-warmup-arm-l}.motion-playing svg[data-pattern=warmup] .motion-arm-right{animation:1.6s ease-in-out infinite motion-warmup-arm-r}@keyframes motion-warmup-arm-l{0%,to{transform:rotate(-18deg)}50%{transform:rotate(18deg)}}@keyframes motion-warmup-arm-r{0%,to{transform:rotate(18deg)}50%{transform:rotate(-18deg)}}.motion-playing svg[data-pattern=squat] .motion-torso,.motion-playing svg[data-pattern=squat] .motion-legs{animation:1.5s ease-in-out infinite motion-squat}@keyframes motion-squat{0%,to{transform:translateY(0)}50%{transform:translateY(7px)}}.motion-playing svg[data-pattern=hinge] .motion-torso,.motion-playing svg[data-pattern=hinge] .motion-arms{transform-origin:bottom;animation:1.8s ease-in-out infinite motion-hinge}@keyframes motion-hinge{0%,to{transform:rotate(0)}50%{transform:rotate(22deg)}}.motion-playing svg[data-pattern=lunge] .motion-torso{animation:1.4s ease-in-out infinite motion-squat}.motion-playing svg[data-pattern=lunge] .motion-leg-left{animation:1.4s ease-in-out infinite motion-lunge-l}.motion-playing svg[data-pattern=lunge] .motion-leg-right{animation:1.4s ease-in-out infinite motion-lunge-r}@keyframes motion-lunge-l{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes motion-lunge-r{0%,to{transform:translateY(0)}50%{transform:translateY(3px)}}.motion-playing svg[data-pattern=push] .motion-torso,.motion-playing svg[data-pattern=push] .motion-head{animation:1.1s ease-in-out infinite motion-push}@keyframes motion-push{0%,to{transform:translateY(0)}50%{transform:translateY(4px)}}.motion-playing svg[data-pattern=pull] .motion-arm-left{animation:1.3s ease-in-out infinite motion-pull-l}.motion-playing svg[data-pattern=pull] .motion-arm-right{animation:1.3s ease-in-out infinite motion-pull-r}@keyframes motion-pull-l{0%,to{transform:translate(0)}50%{transform:translate(4px)}}@keyframes motion-pull-r{0%,to{transform:translate(0)}50%{transform:translate(-4px)}}.motion-playing svg[data-pattern=plank] .motion-torso{animation:2.4s ease-in-out infinite motion-plank}@keyframes motion-plank{0%,to{transform:scale(1)}50%{transform:scale(1.03)}}.motion-playing svg[data-pattern=twist] .motion-torso{animation:1.6s ease-in-out infinite motion-twist}@keyframes motion-twist{0%,to{transform:rotate(0)}25%{transform:rotate(-14deg)}75%{transform:rotate(14deg)}}.motion-playing svg[data-pattern=raise] .motion-arm-right{animation:1.5s ease-in-out infinite motion-raise}@keyframes motion-raise{0%,to{transform:rotate(0)}50%{transform:rotate(-100deg)}}.motion-playing svg[data-pattern=curl] .motion-torso{transform-origin:bottom;animation:1.2s ease-in-out infinite motion-curl}@keyframes motion-curl{0%,to{transform:rotate(0)}50%{transform:rotate(-16deg)}}.motion-playing svg[data-pattern=stretch] .motion-torso,.motion-playing svg[data-pattern=stretch] .motion-arms{animation:2.6s ease-in-out infinite motion-stretch}@keyframes motion-stretch{0%,to{transform:translate(0)}50%{transform:translate(3px)}}.motion-playing svg[data-pattern=cardio-step] .motion-leg-left,.motion-playing svg[data-pattern=cardio-step] .motion-arm-right{animation:.8s ease-in-out infinite motion-cardio-up}.motion-playing svg[data-pattern=cardio-step] .motion-leg-right,.motion-playing svg[data-pattern=cardio-step] .motion-arm-left{animation:.8s ease-in-out infinite motion-cardio-down}@keyframes motion-cardio-up{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes motion-cardio-down{0%,to{transform:translateY(0)}50%{transform:translateY(4px)}}.motion-playing svg[data-pattern=rollout] .motion-torso,.motion-playing svg[data-pattern=rollout] .motion-arms{animation:1.8s ease-in-out infinite motion-rollout}@keyframes motion-rollout{0%,to{transform:translate(0)}50%{transform:translate(6px)}}.motion-playing svg[data-pattern=bridge] .motion-torso{animation:1.6s ease-in-out infinite motion-bridge}@keyframes motion-bridge{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@media (prefers-reduced-motion:reduce){.motion-figure *,.exercise-motion-video{animation:none!important}}@media (max-width:1120px){.dashboard-grid,.nutrition-layout,.posture-layout,.assistant-layout,.dashboard-analytics-grid,.programs-layout{grid-template-columns:1fr}.program-detail-panel{position:static}.nutrition-summary{grid-column:auto}.exercise-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.assistant-profile{text-align:left;grid-template-columns:auto 1fr;place-items:center start;gap:24px}.assistant-profile .robot-mascot{grid-row:1/4}.assistant-capabilities{justify-content:flex-start}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px){body{padding-bottom:78px}.motion-preview-row{flex-direction:column;align-items:flex-start}.motion-preview-row .exercise-motion-lg{width:100%;max-width:260px}.app-shell{display:block}.app-sidebar{display:none}.mobile-header{z-index:30;border-bottom:1px solid var(--line);background:var(--mobile-header);min-height:66px;padding:max(8px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 8px max(18px, env(safe-area-inset-left));box-sizing:border-box;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.mobile-header-actions{align-items:center;gap:clamp(2px,1.4vw,8px);display:flex}.mobile-header .app-brand strong{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.mobile-header .icon-button{flex-shrink:0;min-width:44px;min-height:44px}.mobile-navigation{z-index:50;border-top:1px solid var(--line);background:var(--mobile-nav);padding:6px max(4px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);scrollbar-width:none;gap:2px;display:flex;position:fixed;inset:auto 0 0;overflow-x:hidden}.mobile-navigation::-webkit-scrollbar{display:none}.mobile-navigation button{min-width:0;min-height:48px;color:var(--muted);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;border-radius:10px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:2px;padding:4px 1px;font-size:.6rem;font-weight:700;display:flex;overflow:hidden}.mobile-navigation button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.mobile-navigation button:focus-visible{outline:2px solid var(--accent-dark);outline-offset:-2px}.mobile-navigation .nav-active{background:var(--accent-soft);color:var(--accent-text)}.app-content{padding:0 18px 36px}.mobile-header{margin:0 -18px 25px}.workout-layout{grid-template-columns:minmax(0,1fr)}.exercise-queue{order:-1}.queue-list{scroll-snap-type:x proximity;overscroll-behavior-inline:contain;padding-bottom:8px;display:flex;overflow-x:auto}.queue-list button{scroll-snap-align:start;flex:0 0 min(280px,82vw);width:min(280px,82vw);min-width:0}.plan-selector{scroll-snap-type:x proximity;grid-template-columns:none;grid-auto-columns:minmax(220px,72%);grid-auto-flow:column}.plan-selector button{scroll-snap-align:start;min-width:0}.login-shell{grid-template-columns:1fr}.login-visual{min-height:350px}}@media (max-width:620px){h1{font-size:2.05rem}.section-header,.panel-heading,.exercise-card-top,.player-top,.exercise-title-row,.nutrition-ring-wrap{flex-direction:column;align-items:stretch}.section-header>.button-row,.section-header>button{align-self:flex-end}.app-panel{border-radius:18px;padding:16px}.exercise-title-row .completion-toggle{width:100%;min-width:0}.timer-box{flex-direction:column;align-items:stretch}.timer-box .button-row{grid-template-columns:minmax(0,1fr) auto;display:grid}.timer-box .secondary-button{width:100%}.player-actions{flex-direction:column;gap:10px;display:flex}.player-secondary-actions{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.player-secondary-actions button,.player-primary-button{width:100%;min-width:0}.dashboard-hero{min-height:330px}.summary-grid,.technique-grid,.nutrition-history-grid,.exercise-library-grid,.settings-grid,.program-card-grid,.program-teaser-grid,.progress-nutrition-grid{grid-template-columns:1fr}.education-video{flex-basis:88%}.pace-options,.goal-preview{grid-template-columns:1fr}.donut-panel-body{flex-direction:column;align-items:flex-start}.weight-quick-add{flex-direction:column}.schedule-form,.schedule-row,.library-controls{grid-template-columns:1fr}.schedule-row{padding-right:48px;position:relative}.schedule-row>.icon-button{position:absolute;bottom:4px;right:0}.meal-mode-tabs,.macro-input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-macros{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.analysis-item-head{flex-direction:column;align-items:stretch}.nutrition-ring-wrap{text-align:center;align-items:center}.assistant-profile{text-align:center;grid-template-columns:1fr;justify-items:center;display:grid}.assistant-profile .robot-mascot{grid-row:auto}.assistant-capabilities{justify-content:center}.chat-panel{min-height:520px;padding:14px}.chat-message{max-width:90%}.quick-prompts{flex-wrap:nowrap;padding-bottom:5px;overflow-x:auto}.quick-prompts button{flex:none}.login-page{padding:0}.login-shell{border:0;border-radius:0;min-height:100vh}.login-visual,.login-panel{padding:28px 22px}.login-visual{min-height:300px}.login-copy .robot-mascot{display:none}}@media (max-width:380px){html{min-width:280px}h1{font-size:1.78rem}.app-content{padding-left:12px;padding-right:12px}.mobile-header{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.mobile-header .app-brand>span{width:38px;height:38px}.mobile-navigation button{font-size:.6rem}.mobile-navigation button svg{width:20px;height:20px}.plan-selector{grid-auto-columns:82%}.player-actions{flex-direction:column;gap:10px;display:flex}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.body-map{grid-template-columns:200px minmax(0,1fr);align-items:start;gap:18px;margin-bottom:18px;display:grid}.body-map-canvas{border:1px solid var(--line);background:var(--surface-soft);border-radius:18px;justify-items:center;gap:10px;padding:14px;display:grid}.body-map-views{justify-content:center}.body-map-svg{width:100%;max-width:168px;height:auto}.body-map-inert{fill:var(--line)}.body-map-region rect{fill:var(--line);transition:fill .14s}.body-map-region{cursor:pointer}.body-map-region:hover rect{fill:var(--accent-soft)}.body-map-region:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.body-map-selected rect{fill:var(--accent)}.body-map-list{flex-wrap:wrap;align-content:flex-start;gap:8px;display:flex}.chip-button{border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:7px 13px;font-size:.86rem;transition:border-color .14s,background .14s;display:inline-flex}.chip-button:hover{border-color:var(--accent)}.chip-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chip-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}.chip-count{font-variant-numeric:tabular-nums;opacity:.7;font-size:.75rem}@media (prefers-reduced-motion:reduce){.body-map-region rect,.chip-button{transition:none}}@media (max-width:720px){.body-map{grid-template-columns:minmax(0,1fr)}}.set-logger{border:1px solid var(--line);background:var(--surface-soft);border-radius:18px;gap:12px;margin-bottom:14px;padding:16px;display:grid}.set-logger-last{background:var(--accent-soft);color:var(--accent-text);border-radius:12px;margin:0;padding:8px 12px;font-size:.86rem}.set-logger-table{border-collapse:collapse;white-space:nowrap;width:100%;display:block;overflow-x:auto}.set-logger-table th,.set-logger-table td{text-align:left;padding:6px 8px;font-size:.86rem}.set-logger-table thead th{color:var(--muted);border-bottom:1px solid var(--line);font-weight:600}.set-logger-table tbody th{font-variant-numeric:tabular-nums;color:var(--muted);width:44px}.set-logger-table input{border:1px solid var(--line);background:var(--surface);width:84px;min-height:44px;color:var(--ink);font-variant-numeric:tabular-nums;border-radius:10px;padding:8px 10px}.set-logger-table input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.set-summary{color:var(--muted);font-size:.84rem}.water-goal-editor{flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;display:flex}.water-goal-editor input{border:1px solid var(--line);background:var(--surface);width:120px;min-height:44px;color:var(--ink);font-variant-numeric:tabular-nums;border-radius:10px;padding:8px 10px}.water-goal-editor .field-hint{color:var(--muted);flex-basis:100%;margin:0;font-size:.8rem}.set-logger .icon-button,.water-goal-editor button{min-width:44px;min-height:44px}.history-filters{grid-template-columns:minmax(0,1fr) 180px 160px auto;align-items:center;gap:10px;margin-bottom:14px;display:grid}.history-filters input[type=date],.history-filters select{min-height:44px}.checkbox-field{white-space:nowrap;align-items:center;gap:8px;min-height:44px;font-size:.86rem;display:inline-flex}.history-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.history-item{border:1px solid var(--line);background:var(--surface);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.history-excluded{opacity:.72;border-style:dashed}.history-icon{background:var(--surface-soft);width:36px;height:36px;color:var(--muted);border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.history-body{min-width:0}.history-title-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.history-body small{color:var(--muted);overflow-wrap:anywhere;font-size:.82rem;display:block}.origin-tag,.excluded-tag{background:var(--surface-soft);color:var(--muted);border-radius:999px;padding:2px 8px;font-size:.72rem}.excluded-tag{background:var(--amber-soft);color:var(--amber-text)}.history-actions{gap:4px;display:flex}.history-actions .icon-button{min-width:44px;min-height:44px}.double-count-list{gap:10px;margin:10px 0 0;padding:0;list-style:none;display:grid}.double-count-list li{gap:8px;display:grid}.net-calorie-hint{color:var(--muted);margin-top:2px;font-size:.76rem;font-weight:400;display:block}.empty-state{color:var(--muted);font-size:.9rem}@media (max-width:720px){.history-filters{grid-template-columns:minmax(0,1fr)}.history-item{grid-template-columns:auto minmax(0,1fr)}.history-actions{grid-column:1/-1;justify-content:flex-end}}.routine-week{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 18px;padding:0;list-style:none;display:grid}.routine-day label{gap:6px;display:grid}.routine-day select{width:100%;min-height:44px}.routine-day-label{color:var(--muted);align-items:center;gap:6px;font-size:.84rem;display:flex}.routine-today-tag{background:var(--accent-soft);color:var(--accent-text);border-radius:999px;padding:1px 7px;font-size:.7rem}.routine-today select{border-color:var(--accent)}.movement-summary h3{margin:0 0 4px;font-size:1rem}.movement-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:12px 0;display:grid}.movement-grid>div{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;padding:12px}.movement-grid dt{color:var(--muted);align-items:center;gap:6px;font-size:.78rem;display:flex}.movement-grid dd{font-variant-numeric:tabular-nums;margin:6px 0 0;font-size:1.5rem;font-weight:600}.movement-grid dd small{color:var(--muted);font-size:.74rem;font-weight:400;display:block}.search-dialog{width:min(560px,92vw);max-width:560px}.search-status{color:var(--muted);margin:10px 0 6px;font-size:.84rem}.search-results{gap:6px;max-height:52vh;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.search-results button{border:1px solid var(--line);background:var(--surface);width:100%;min-height:52px;color:var(--ink);text-align:left;cursor:pointer;border-radius:12px;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:10px;padding:10px 12px;display:grid}.search-results button:hover{border-color:var(--accent)}.search-results button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.search-kind{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:.72rem}.search-result-body{min-width:0}.search-result-body strong{overflow-wrap:anywhere;display:block}.search-result-body small{color:var(--muted);font-size:.78rem;display:block}@media (max-width:480px){.search-results button{grid-template-columns:minmax(0,1fr);gap:2px}}.profile-bubble{width:44px;height:44px}.text-button,.danger-ghost-button{min-height:44px}.date-control{min-height:46px}.date-control input{min-width:0;min-height:44px}.chip-button{min-height:44px}.checkbox-field input{width:24px;height:24px}.water-cup{min-width:44px;min-height:44px}.motion-toggle{border-radius:12px;width:44px;height:44px}.login-form .field-hint{color:var(--muted);margin:0;font-size:.84rem}.meal-slot-picker{border:1px solid var(--line);background:var(--surface-soft);border-radius:16px;gap:10px;margin-bottom:14px;padding:14px;display:grid}.meal-slot-header .eyebrow{margin:0}.meal-slot-options{flex-wrap:wrap;gap:8px;display:flex}.meal-slot-time{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.meal-slot-time>span{color:var(--muted);align-items:center;gap:6px;font-size:.86rem;display:inline-flex}.meal-slot-time input{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);font-variant-numeric:tabular-nums;border-radius:10px;padding:8px 10px}.day-mirror{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-bottom:18px;display:grid}.mirror-list{gap:6px;margin:10px 0;padding:0;list-style:none;display:grid}.mirror-list li{background:var(--surface);border-radius:10px;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 10px;font-size:.88rem;display:flex}.mirror-list li>span:first-child{color:var(--muted);align-items:center;gap:6px;min-width:0;display:inline-flex}.mirror-value{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.mirror-value small{color:var(--muted);white-space:normal;overflow-wrap:anywhere;font-size:.74rem;font-weight:400;display:block}.bento-home{--bento-muted:#5a6f72;--bento-hero:linear-gradient(118deg, #e9f2dc 0%, #f5f2e4 62%, #eef2ea 100%);--bento-hero-chip:#ffffffc7;--bento-water:linear-gradient(160deg, #33627f 0%, #2f5f88 100%);--bento-water-soft:#ffffffdb;--bento-water-track:#ffffff57;--bento-lime:#c7e86a;--bento-lime-ink:#17343a;--bento-radius:28px;--bento-gap:20px;--bento-numeral:clamp(2.4rem, 4.4vw, 3.6rem);gap:var(--bento-gap);min-width:0;display:grid}[data-theme=dark] .bento-home{--bento-muted:#a9baa6;--bento-hero:linear-gradient(118deg, #173a12 0%, #231d13 72%);--bento-hero-chip:#ffffff1a;--bento-water:linear-gradient(160deg, #24485e 0%, #1d3d55 100%);--bento-lime:#2a4413;--bento-lime-ink:#cdeb86}.bento-row{gap:var(--bento-gap);min-width:0;display:grid}.bento-row-a{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}.bento-row-b{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1fr)}.bento-card{border:1px solid var(--line);border-radius:var(--bento-radius);background:var(--surface);min-width:0;padding:24px 26px}.bento-card-head{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.bento-card-title{overflow-wrap:anywhere;align-items:center;gap:9px;min-width:0;font-size:.95rem;font-weight:700;display:inline-flex}.bento-card-title svg{flex:none;width:18px;height:18px}.bento-card-aside{color:var(--bento-muted);white-space:nowrap;font-size:.8rem}.bento-card-aside strong{color:var(--ink);font-size:.88rem}.bento-numeral-row{flex-wrap:wrap;align-items:baseline;gap:4px;margin:16px 0 4px;display:flex}.bento-numeral{font-family:Manrope,system-ui,sans-serif;font-size:var(--bento-numeral);letter-spacing:-.045em;font-variant-numeric:tabular-nums;font-weight:800;line-height:1}.bento-unit{color:var(--bento-muted);font-size:.95rem;font-weight:600}.bento-note{color:var(--bento-muted);margin:0;font-size:.78rem}.bento-ticks{gap:3px;margin:18px 0 10px;display:flex}.bento-tick{background:var(--track);border-radius:3px;flex:1 1 0;min-width:0;height:26px}.bento-tick-on{background:var(--accent)}.bento-foot{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:10px;padding-top:12px;display:flex}.bento-foot span{color:var(--bento-muted);font-size:.76rem}.bento-foot strong{color:var(--ink);font-variant-numeric:tabular-nums;font-family:Manrope,system-ui,sans-serif;font-size:1rem;display:block}.bento-foot-burn strong{color:var(--accent-text)}.bento-hero-card{border-radius:var(--bento-radius);background:var(--bento-hero);align-items:center;gap:20px;min-width:0;padding:30px 32px;display:flex;position:relative;overflow:hidden}.bento-hero-body{flex:1;min-width:0}.bento-eyebrow{background:var(--bento-hero-chip);min-height:26px;color:var(--accent-text);letter-spacing:.12em;text-transform:uppercase;border-radius:999px;align-items:center;padding:3px 12px;font-size:.7rem;font-weight:800;display:inline-flex}.bento-hero-title{letter-spacing:-.03em;overflow-wrap:anywhere;margin:14px 0 8px;font-family:Manrope,system-ui,sans-serif;font-size:clamp(1.7rem,3.2vw,2.6rem);font-weight:800;line-height:1.08}.bento-chips{flex-wrap:wrap;gap:7px;margin:16px 0 18px;display:flex}.bento-chip{background:var(--bento-hero-chip);color:var(--accent-text);border-radius:999px;padding:5px 11px;font-size:.75rem;font-weight:700}.bento-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.bento-primary,.bento-ghost{cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:9px;min-height:48px;font-size:.93rem;font-weight:700;transition:transform .16s,background .16s;display:inline-flex}.bento-primary{border:1px solid var(--accent-dark);background:var(--accent-dark);color:var(--inverse-text);padding:0 24px}.bento-primary:hover{background:var(--accent-darker);border-color:var(--accent-darker)}.bento-primary:active{transform:scale(.97)}.bento-ghost{color:var(--accent-text);background:0 0;border:0;padding:0 12px}.bento-ghost:hover{background:var(--bento-hero-chip)}.bento-mascote{flex:none}.bento-water-card{border-radius:var(--bento-radius);background:var(--bento-water);color:#fff;flex-direction:column;gap:16px;min-width:0;padding:26px 28px;display:flex}.bento-water-card .bento-note{color:var(--bento-water-soft)}.bento-water-head{justify-content:space-between;align-items:flex-start;gap:14px;min-width:0;display:flex}.bento-cups{flex:none;grid-template-columns:repeat(7,minmax(0,12px));gap:5px;display:grid}.bento-cup{background:var(--bento-water-track);border-radius:2px 2px 5px 5px;width:100%;height:17px}.bento-cup-on{background:#fff}.bento-badge{background:var(--bento-lime);min-height:32px;color:var(--bento-lime-ink);border-radius:999px;align-self:flex-start;align-items:center;padding:4px 15px;font-size:.78rem;font-weight:800;display:inline-flex}.bento-water-foot{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:auto;display:flex}.bento-range{gap:7px;display:flex}.bento-range button{background:var(--bento-water-track);color:#fff;cursor:pointer;border:0;border-radius:999px;place-items:center;width:44px;height:44px;font-size:.82rem;font-weight:700;display:grid}.bento-range .bento-range-on{color:#1d3d55;background:#fff;font-weight:800}.bento-water-total{text-align:right}.bento-water-total strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-family:Manrope,system-ui,sans-serif;font-size:clamp(2rem,3.4vw,2.9rem);font-weight:800;line-height:1;display:block}.bento-week{grid-template-columns:repeat(7,minmax(0,34px));justify-content:space-between;gap:5px;margin:20px 0 0;padding:0;list-style:none;display:grid}.bento-day{aspect-ratio:1;background:var(--surface-soft);width:100%;min-width:0;color:var(--muted);border-radius:999px;place-items:center;font-size:.72rem;font-weight:800;display:grid}.bento-day-done{background:var(--accent-soft);color:var(--accent-text)}.bento-day-today{background:var(--bento-lime);color:var(--bento-lime-ink)}.bento-spark{width:100%;height:62px;margin:16px 0 6px;overflow:visible}@media (max-width:1180px){.bento-row-a,.bento-row-b{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media (max-width:820px){.bento-row-a,.bento-row-b{grid-template-columns:minmax(0,1fr)}.bento-hero-card{flex-direction:column;align-items:flex-start;padding:24px}.bento-mascote{align-self:center}}@media (max-width:620px){.bento-home{--bento-radius:20px;--bento-gap:14px}.bento-card{padding:18px}.bento-water-card,.bento-hero-card{padding:20px}.bento-cups{grid-template-columns:repeat(7,minmax(0,1fr));width:100%}.bento-water-head{flex-direction:column}.bento-primary,.bento-ghost{width:100%}.bento-foot{gap:14px}}@media (prefers-reduced-motion:reduce){.bento-primary,.bento-ghost{transition:none}.bento-primary:active{transform:none}}.bento-row-c{grid-template-columns:repeat(2,minmax(0,1fr))}.bento-mirror{gap:6px;margin:10px 0;padding:0;list-style:none;display:grid}.bento-mirror li{background:var(--surface-soft);border-radius:10px;justify-content:space-between;align-items:baseline;gap:12px;min-width:0;padding:8px 10px;font-size:.86rem;display:flex}.bento-mirror li>span:first-child{min-width:0;color:var(--bento-muted);overflow-wrap:anywhere;align-items:center;gap:6px;display:inline-flex}.bento-mirror li>span:first-child svg{flex:none;width:15px;height:15px}.bento-mirror-valor{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}.bento-mirror-valor small{color:var(--bento-muted);white-space:normal;overflow-wrap:anywhere;font-size:.72rem;font-weight:400;display:block}.bento-sem-meta{color:var(--bento-muted);flex-wrap:wrap;align-items:center;gap:4px 10px;margin:18px 0 10px;font-size:.82rem;display:flex}@media (max-width:820px){.bento-row-c{grid-template-columns:minmax(0,1fr)}}.shell-bento{grid-template-columns:76px minmax(0,1fr)}.app-rail{--rail-ink:#5a6f72;--rail-active-bg:#c7e86a;--rail-active-ink:#17343a;align-items:center;gap:10px;width:76px;padding:20px 0}[data-theme=dark] .app-rail{--rail-ink:#a9baa6;--rail-active-bg:#2a4413;--rail-active-ink:#cdeb86}.app-rail-brand{background:var(--accent-dark);color:#fff;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;margin-bottom:14px;font-family:Manrope,system-ui,sans-serif;font-size:.94rem;font-weight:800;display:grid}.app-rail-nav{justify-items:center;gap:8px;display:grid}.app-rail-nav button{width:44px;min-width:44px;height:44px;min-height:44px;color:var(--rail-ink);cursor:pointer;transition:background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);background:0 0;border:0;border-radius:14px;place-items:center;display:grid}.app-rail-nav button:hover{background:var(--accent-soft);color:var(--accent-text)}.app-rail-nav .nav-active{background:var(--rail-active-bg);color:var(--rail-active-ink)}.app-rail-tools{justify-items:center;gap:8px;display:grid}.app-rail-tools .theme-toggle-compact,.app-rail-tools .icon-button{width:44px;min-width:44px;height:44px;min-height:44px;padding:0}@media (prefers-reduced-motion:reduce){.app-rail-nav button{transition:none}}@media (max-width:1023.98px){.shell-bento{grid-template-columns:none;padding-bottom:78px;display:block}.shell-bento .app-rail{display:none}.shell-bento .app-content{padding:0 18px 36px}.shell-bento .mobile-header{z-index:30;border-bottom:1px solid var(--line);background:var(--mobile-header);min-height:66px;padding:max(8px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 8px max(18px, env(safe-area-inset-left));box-sizing:border-box;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);justify-content:space-between;align-items:center;margin:0 -18px 25px;display:flex;position:sticky;top:0}.shell-bento .mobile-header-actions{align-items:center;gap:clamp(2px,1.4vw,8px);display:flex}.shell-bento .mobile-header .app-brand strong{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.shell-bento .mobile-header .icon-button{flex-shrink:0;min-width:44px;min-height:44px}.shell-bento .mobile-navigation{z-index:50;border-top:1px solid var(--line);background:var(--mobile-nav);padding:6px max(4px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);scrollbar-width:none;gap:2px;display:flex;position:fixed;inset:auto 0 0;overflow-x:hidden}.shell-bento .mobile-navigation::-webkit-scrollbar{display:none}.shell-bento .mobile-navigation button{min-width:0;min-height:48px;color:var(--muted);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;border-radius:10px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:2px;padding:4px 1px;font-size:.6rem;font-weight:700;display:flex;overflow:hidden}.shell-bento .mobile-navigation button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.shell-bento .mobile-navigation button:focus-visible{outline:2px solid var(--accent-dark);outline-offset:-2px}.shell-bento .mobile-navigation .nav-active{background:var(--accent-soft);color:var(--accent-text)}}@media (min-width:821px) and (max-width:1023.98px){.shell-bento .bento-hero-card{flex-direction:column;align-items:flex-start}.shell-bento .bento-mascote{align-self:center}}@media (min-width:1024px){.shell-bento .mobile-navigation,.shell-bento .mobile-header{display:none}}.bento-water-card .bento-card-title,.bento-water-card .bento-water-total,.bento-water-card .bento-water-total strong,.bento-water-card .bento-card-title svg{color:#fff}.bento-lembrete{background:var(--accent-soft);min-width:0;color:var(--accent-ink);border-radius:14px;align-items:center;gap:10px;padding:12px 16px;font-size:.86rem;display:flex}[data-theme=dark] .bento-lembrete{color:var(--accent-text)}.bento-lembrete svg{flex:none;width:18px;height:18px}.bento-lembrete small{opacity:.85;margin-top:2px;font-size:.74rem;display:block}.bento-proxima{color:var(--bento-muted);flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 18px;font-size:.85rem;display:flex}.bento-proxima svg{flex:none;width:16px;height:16px}.bento-proxima strong{color:var(--ink);font-weight:700}.bento-proxima small{flex-basis:100%;font-size:.76rem}.bento-grid{gap:var(--bento-gap);grid-template-columns:repeat(12,minmax(0,1fr));min-width:0;display:grid}.bento-span-3{grid-column:span 3}.bento-span-4{grid-column:span 4}.bento-span-5{grid-column:span 5}.bento-span-6{grid-column:span 6}.bento-span-8{grid-column:span 8}.bento-span-12{grid-column:span 12}.bento-toolbar{justify-content:flex-end;min-width:0;display:flex}.bento-toolbar .bento-ghost{padding:0 14px}.bento-schedule-list{gap:8px;margin:14px 0;display:grid}.bento-schedule-row{border:1px solid var(--line);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto 44px;align-items:center;gap:8px;padding:8px;display:grid}.bento-schedule-label{color:var(--bento-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.75rem;font-weight:800}.bento-schedule-plan{min-width:0;color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:0}.bento-schedule-plan strong,.bento-schedule-plan small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.bento-schedule-plan small{color:var(--bento-muted);margin-top:2px}.bento-date-control input,.bento-schedule-form select,.bento-schedule-form input{border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);font:inherit;border-radius:12px;padding:0 10px}.bento-schedule-form{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;display:grid}.bento-schedule-form select{width:100%}.bento-nutrition-total{color:var(--bento-muted);margin:16px 0 10px}.bento-nutrition-total strong{color:var(--ink);font-family:Manrope,system-ui,sans-serif;font-size:1.65rem;line-height:1}.bento-nutrition-progress{background:var(--line);border-radius:999px;height:9px;overflow:hidden}.bento-nutrition-progress span{border-radius:inherit;background:var(--accent);height:100%;display:block}.bento-macros{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0;display:grid}.bento-macros span{min-width:0;color:var(--bento-muted);font-size:.75rem}.bento-macros strong{color:var(--ink);font-size:.94rem;display:block}@media (max-width:1180px){.bento-grid>*{grid-column:span 6}}@media (max-width:820px){.bento-grid>*{grid-column:span 12}.bento-schedule-row{grid-template-columns:auto minmax(0,1fr) 44px}.bento-date-control{grid-column:2/-1}.bento-date-control input{width:100%}.bento-schedule-form{grid-template-columns:1fr}}.weekly-overview-panel,.today-period-panel{margin-bottom:24px}.weekly-balance-card,.today-calorie-summary{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-small);border-radius:20px;padding:20px}.weekly-days-row{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:18px;padding-bottom:4px;display:grid;overflow-x:auto}.weekly-day-pill{background:var(--surface-soft);border:1px solid var(--line);min-width:44px;min-height:64px;color:var(--ink);cursor:pointer;transition:background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);font:inherit;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:8px 4px;display:flex}.weekly-day-pill:hover:not(:disabled){border-color:var(--accent);background:var(--brand-soft)}.weekly-day-pill.selected{border-color:var(--accent);background:var(--brand-soft);outline:2px solid var(--accent);outline-offset:1px}.weekly-day-pill.today{font-weight:700}.weekly-day-pill.future{opacity:.45;cursor:not-allowed;border-style:dashed}.weekly-day-pill .weekday-name{text-transform:uppercase;color:var(--muted);font-size:.8rem;font-weight:700}.weekly-day-pill.selected .weekday-name{color:var(--brand-text)}.weekly-day-pill .weekday-date{font-family:Manrope,system-ui,sans-serif;font-size:.95rem;font-weight:800}.day-badge-today{background:var(--accent);color:var(--inverse-text);border-radius:6px;padding:1px 6px;font-size:.65rem;font-weight:700}.day-badge-future{color:var(--muted);font-size:.65rem;font-weight:600}.day-dot-active{background:var(--accent);border-radius:999px;width:6px;height:6px}.day-dot-empty{background:var(--line);border-radius:999px;width:6px;height:6px}.weekly-day-detail-panel{background:var(--surface-soft);border:1px solid var(--line);border-radius:16px;padding:16px}.detail-header,.today-summary-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.detail-header h3,.today-summary-header h3{color:var(--ink);margin:0;font-family:Manrope,system-ui,sans-serif;font-size:1.1rem;font-weight:800}.detail-sub{color:var(--muted);margin:4px 0 0;font-size:.85rem}.balance-badge{border-radius:999px;align-items:center;padding:4px 12px;font-size:.82rem;font-weight:700;display:inline-flex}.balance-badge.badge-avail{background:var(--brand-soft);color:var(--brand-text);border:1px solid var(--brand)}.balance-badge.badge-over{background:var(--amber-soft);color:var(--amber-text);border:1px solid var(--amber)}.weekly-metrics-grid,.today-metrics-row{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;display:grid}.metric-chip{background:var(--surface);border:1px solid var(--line);border-radius:12px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.metric-chip.highlight-chip{border-color:var(--accent);background:var(--brand-soft)}.metric-chip .metric-label{color:var(--muted);font-size:.75rem;font-weight:600}.metric-chip .metric-value{color:var(--ink);font-family:Manrope,system-ui,sans-serif;font-size:1.05rem;font-weight:800}.metric-chip .metric-hint{color:var(--muted);font-size:.7rem}@media (max-width:600px){.weekly-days-row{grid-template-columns:repeat(7,minmax(44px,1fr))}.weekly-metrics-grid,.today-metrics-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.goal-weight-diff-row{background:var(--surface-soft);border:1px solid var(--line);border-radius:14px;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px 14px;display:grid}.goal-weight-diff-row div{flex-direction:column;gap:2px;display:flex}.goal-weight-diff-row span{color:var(--muted);font-size:.76rem}.goal-weight-diff-row strong{color:var(--ink);font-family:Manrope,system-ui,sans-serif;font-size:1.15rem;font-weight:800}.goal-weight-diff-row small{color:var(--muted);font-size:.72rem}.goal-unsafe-warning{background:var(--amber-soft);border:1px solid var(--amber);border-radius:16px;flex-direction:column;grid-column:1/-1;gap:10px;padding:16px;display:flex}.goal-unsafe-warning .warning-head{color:var(--amber-text);align-items:center;gap:8px;font-size:.95rem;display:flex}.goal-unsafe-warning .warning-head svg{width:20px;height:20px;color:var(--amber);flex-shrink:0}.goal-unsafe-warning p{color:var(--ink);margin:0;font-size:.85rem;line-height:1.45}.warning-action-box{background:var(--surface);border:1px solid var(--amber);border-radius:12px;flex-direction:column;gap:10px;margin-top:4px;padding:12px;display:flex}.warning-action-box p{color:var(--ink);font-size:.82rem}.warning-action-box button{align-self:flex-start;min-height:44px;font-size:.84rem;font-weight:700}.next-one-percent-panel{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-small);border-radius:20px;margin-bottom:20px;padding:20px}.mascot-header-row{align-items:flex-start;gap:18px;display:flex}.mascot-avatar-wrap{flex-shrink:0;justify-content:center;align-items:center;padding-top:4px;display:flex}.speech-bubble-card{background:var(--surface-soft);border:1px solid var(--line);border-radius:18px;flex:1;min-width:0;padding:16px 18px;position:relative}.speech-bubble-arrow{background:var(--surface-soft);border-left:1px solid var(--line);border-bottom:1px solid var(--line);width:14px;height:14px;position:absolute;top:24px;left:-8px;transform:rotate(45deg)}.bubble-head{flex-direction:column;gap:2px;margin-bottom:8px;display:flex}.bubble-head h3{color:var(--ink);margin:0;font-family:Manrope,system-ui,sans-serif;font-size:1.1rem;font-weight:800}.bubble-head-top{align-items:center;gap:6px;display:flex}.bubble-ai-badge{background:linear-gradient(135deg, var(--accent), var(--accent-dark));color:var(--inverse-text);letter-spacing:.04em;border-radius:999px;align-items:center;padding:1px 7px;font-size:.62rem;font-weight:800;display:inline-flex}.bubble-tip-progress{align-items:center;gap:6px;margin:-2px 0 12px;display:flex}.bubble-tip-dot{background:var(--line);cursor:pointer;border:0;border-radius:999px;width:7px;height:7px;padding:0;transition:background .16s,transform .16s}.bubble-tip-dot:hover{background:color-mix(in srgb, var(--accent) 50%, var(--line))}.bubble-tip-dot.is-active{background:var(--accent);transform:scale(1.3)}.bubble-text{color:var(--ink);margin:0 0 14px;font-size:.92rem;line-height:1.5}.bubble-error{color:var(--danger);background:var(--danger-soft);border-radius:8px;margin:0 0 10px;padding:6px 10px;font-size:.8rem}.bubble-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.compact-btn{border-radius:12px;align-items:center;gap:6px;min-height:44px;padding:8px 14px;font-size:.84rem;font-weight:700;display:inline-flex}@media (max-width:680px){.mascot-header-row{flex-direction:column;align-items:center}.speech-bubble-arrow{border-bottom:0;border-left:0;border-top:1px solid var(--line);border-left:1px solid var(--line);top:-8px;left:calc(50% - 7px);transform:rotate(45deg)}.speech-bubble-card{width:100%}.bubble-actions{flex-direction:column;align-items:stretch}.compact-btn{justify-content:center;width:100%}}.bento-nutrition-card{border-color:color-mix(in srgb, var(--nutrition) 28%, var(--line));background:linear-gradient(145deg, var(--nutrition-soft), var(--surface) 78%)}.bento-nutrition-card .bento-card-title,.bento-nutrition-card .bento-card-title svg{color:var(--nutrition-text)}.bento-activity-card{border-color:color-mix(in srgb, var(--activity) 24%, var(--line));background:linear-gradient(145deg, var(--activity-soft), var(--surface) 82%)}.bento-draggable{min-width:0;transition:transform var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard);position:relative}.bento-draggable>.bento-card,.bento-draggable>.bento-water-card,.bento-draggable>.next-one-percent-panel{height:100%;margin:0}.bento-drag-handle{z-index:3;border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 90%, transparent);width:44px;height:44px;color:var(--muted);cursor:grab;touch-action:none;box-shadow:var(--shadow-small);border-radius:13px;place-items:center;display:grid;position:absolute;top:10px;right:10px}.bento-drag-handle:active{cursor:grabbing}.bento-drag-handle:hover{color:var(--accent-text);border-color:var(--accent)}.bento-drag-handle svg{width:20px;height:20px}.bento-dragging{z-index:4;opacity:.74;transform:scale(.985)}.progress-toolbar{justify-content:flex-end;min-width:0;margin:4px 0 18px;display:flex}.progress-toolbar .bento-ghost{min-height:48px;padding:0 14px}.progress-cards-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;min-width:0;display:grid}.progress-span-4{grid-column:span 4}.progress-span-6{grid-column:span 6}.progress-span-12{grid-column:span 12}.progress-draggable{min-width:0;transition:transform var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard);position:relative}.progress-draggable>.app-panel,.progress-draggable>.summary-card,.progress-draggable>.today-period-panel,.progress-draggable>.weekly-overview-panel{height:100%;margin:0}.progress-drag-handle{z-index:3;border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 90%, transparent);width:44px;height:44px;color:var(--muted);cursor:grab;touch-action:none;box-shadow:var(--shadow-small);border-radius:13px;place-items:center;display:grid;position:absolute;top:10px;right:10px}.progress-drag-handle:active{cursor:grabbing}.progress-drag-handle:hover{color:var(--accent-text);border-color:var(--accent)}.progress-drag-handle svg{width:20px;height:20px}.progress-dragging{z-index:4;opacity:.74;transform:scale(.985)}.progress-draggable .panel-heading{padding-right:48px}.progress-draggable>.summary-card{padding-right:72px}@media (max-width:1120px){.progress-span-4{grid-column:span 6}.progress-span-6{grid-column:span 12}}@media (max-width:620px){.settings-dialog>.panel-heading{flex-direction:row;align-items:flex-start}.progress-toolbar .bento-ghost{width:auto}.progress-span-4,.progress-span-6,.progress-span-12{grid-column:span 12}.progress-drag-handle{top:8px;right:8px}}.bento-draggable .bento-card-head,.bento-draggable .mascot-header-row{padding-right:46px}.bento-water-link{color:#fff;min-height:44px;font:inherit;cursor:pointer;background:#ffffff24;border:1px solid #ffffff9e;border-radius:12px;justify-content:center;align-items:center;gap:8px;margin-top:16px;padding:8px 14px;font-weight:800;display:inline-flex}.bento-water-link:hover{background:#ffffff38}.bento-water-link svg{width:18px;height:18px}.quick-action-dock{z-index:45;justify-items:end;gap:10px;display:grid;position:fixed;bottom:28px;right:28px}.quick-action-buttons{flex-direction:column;align-items:center;gap:10px;display:flex}.search-result-group+.search-result-group{margin-top:14px}.search-result-group h3{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;font-size:.73rem}.search-result-group ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.search-results mark{background:color-mix(in srgb, var(--accent-soft) 80%, transparent);color:inherit;border-radius:3px;padding:0 1px}.search-kind svg{vertical-align:-2px;width:14px;height:14px}.search-results button.is-selected{border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb, var(--accent) 22%, transparent)}.ui-loading-state{color:var(--muted);align-items:center;gap:9px;font-size:.88rem;display:flex}.ui-loading-state.is-compact{padding:4px 0}.ui-loading-state svg{width:18px;height:18px;color:var(--accent)}.ui-inline-error{border:1px solid color-mix(in srgb, var(--danger,#b42318) 42%, var(--line));background:color-mix(in srgb, var(--danger,#b42318) 8%, var(--surface));color:var(--ink);border-radius:12px;align-items:center;gap:8px;margin:8px 0;padding:10px 12px;font-size:.82rem;display:flex}.ui-inline-error svg{color:var(--danger,#b42318);flex:none}.ui-inline-error button{min-height:36px;color:var(--accent-strong,var(--accent));font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:8px;margin-left:auto;font-weight:700}.ui-empty-state{border:1px dashed var(--line);color:var(--muted);border-radius:14px;gap:12px;margin:14px 0 2px;padding:18px;display:flex}.ui-empty-state>svg{color:var(--accent);flex:none}.ui-empty-state h3{color:var(--ink);margin:0 0 3px;font-size:.95rem}.ui-empty-state p{margin:0;font-size:.84rem}.ui-action-chip{border:1px solid var(--line);background:var(--surface-soft,var(--surface));min-height:40px;color:var(--ink);font:inherit;cursor:pointer;border-radius:999px;padding:8px 12px;font-size:.8rem}.ui-action-chip:hover,.ui-action-chip:focus-visible{border-color:var(--accent);background:var(--accent-soft);outline:none}.ui-progress-indicator{color:var(--muted);gap:5px;font-size:.78rem;display:grid}.ui-progress-indicator>div{background:var(--track);border-radius:999px;height:6px;overflow:hidden}.ui-progress-indicator i{border-radius:inherit;background:var(--accent);height:100%;transition:width .2s var(--ease-standard);display:block}.ui-progress-indicator.is-indeterminate i{width:36%;animation:1.1s ease-in-out infinite sync-sweep}.quick-add-fab{background:var(--ink);width:56px;height:56px;color:var(--surface);cursor:pointer;box-shadow:var(--shadow);border:0;border-radius:50%;place-items:center;display:grid}.quick-add-fab svg{width:25px;height:25px}.quick-action-menu{border:1px solid var(--line-strong,var(--line));background:var(--surface);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);transform-origin:100% 100%;border-radius:20px;gap:8px;padding:10px;animation:.2s cubic-bezier(.16,1,.3,1) forwards quick-menu-pop;display:grid;box-shadow:0 12px 32px #0000002e,0 2px 6px #00000014}[data-theme=dark] .quick-action-menu{background:#162228f2;box-shadow:0 16px 36px #0000008c,0 0 0 1px #ffffff14}@keyframes quick-menu-pop{0%{opacity:0;transform:scale(.92)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}@media (prefers-reduced-motion:reduce){.quick-action-menu{animation:none!important}}.quick-action-menu button,.quick-action-menu .quick-menu-item{background:var(--surface-soft);min-width:175px;min-height:46px;color:var(--ink);font:inherit;cursor:pointer;border:1px solid #0000;border-radius:14px;align-items:center;gap:10px;padding:8px 12px;font-size:.88rem;font-weight:700;transition:background-color .15s,border-color .15s,color .15s,transform .15s;display:flex}.quick-action-menu button:hover,.quick-action-menu button:focus-visible,.quick-action-menu .quick-menu-item:hover,.quick-action-menu .quick-menu-item:focus-visible{background:var(--accent-soft);color:var(--accent-text);border-color:var(--accent);outline:none;transform:translate(-2px)}.quick-action-menu button:active,.quick-action-menu .quick-menu-item:active{transform:scale(.98)}.quick-item-icon{background:var(--surface);border-radius:9px;place-items:center;width:32px;min-width:32px;height:32px;min-height:32px;display:grid;box-shadow:0 2px 5px #00000014}.quick-item-icon.icon-assistant{color:var(--accent)}.quick-item-icon.icon-nutrition{color:#f97316}.quick-item-icon.icon-workout{color:#3b82f6}.quick-item-icon.icon-activity{color:#10b981}.quick-item-icon.icon-water{color:#06b6d4}.quick-item-icon svg{width:17px;height:17px}.quick-menu-item-assistant{position:relative}.quick-menu-item.is-processing .icon-assistant{animation:1.1s ease-in-out infinite fab-processing}.quick-item-status{color:var(--muted);margin-left:auto;font-size:.72rem;font-weight:700}.workout-selector-dialog{width:100%;max-width:480px}.workout-selector-options{grid-template-columns:1fr;gap:12px;margin:16px 0;display:grid}.workout-selector-card{background:var(--surface-soft);border:1px solid var(--line);cursor:pointer;text-align:left;border-radius:16px;align-items:center;gap:16px;width:100%;padding:16px;transition:border-color .18s,background-color .18s,transform .18s cubic-bezier(.16,1,.3,1),box-shadow .18s;display:flex}.workout-selector-card:hover,.workout-selector-card:focus-visible{border-color:var(--accent);background:var(--surface);outline:none;transform:translateY(-2px);box-shadow:0 8px 20px #00000014}.workout-selector-card:active{transform:translateY(0)}.workout-selector-icon{background:var(--surface);border:1px solid var(--line);border-radius:14px;place-items:center;width:48px;min-width:48px;height:48px;display:grid}.workout-selector-icon svg{width:24px;height:24px}.workout-selector-icon.icon-programs{color:#3b82f6;background:#3b82f61f;border-color:#3b82f640}.workout-selector-icon.icon-library{color:#10b981;background:#10b9811f;border-color:#10b98140}.workout-selector-text{flex-direction:column;gap:3px;display:flex}.workout-selector-text strong{color:var(--ink);font-size:1rem;font-weight:750}.workout-selector-text span{color:var(--muted);font-size:.82rem}#meal-entry:focus,#water-entry:focus{outline:3px solid var(--accent);outline-offset:4px;scroll-margin-top:96px}@media (max-width:1023.98px){.shell-bento .mobile-header{flex:none;width:calc(100% + 36px);max-width:none}.quick-action-dock{right:max(14px, env(safe-area-inset-right));bottom:calc(88px + env(safe-area-inset-bottom))}.quick-add-fab{width:52px;height:52px}}@media (max-width:620px){.bento-toolbar .bento-ghost{width:auto}.bento-drag-handle{top:8px;right:8px}.bento-draggable .bento-card-head,.bento-draggable .mascot-header-row{padding-right:42px}}@media (prefers-reduced-motion:reduce){.bento-draggable,.progress-draggable{transition:none}#meal-entry,#water-entry{scroll-behavior:auto}.assistant-window,.assistant-minimized-pill,.week-day-btn{transition:none!important;animation:none!important}}.week-day-nav{background:var(--surface-soft);border:1px solid var(--line);border-radius:18px;grid-template-columns:repeat(7,1fr);gap:6px;width:100%;padding:6px;display:grid}.week-day-btn{cursor:pointer;color:var(--muted);transition:background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);background:0 0;border:1px solid #0000;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:58px;padding:8px 4px;display:flex}.week-day-btn:hover:not(.is-selected){background:var(--surface);color:var(--ink);border-color:var(--line)}.week-day-btn.is-today{border-color:var(--primary)}.week-day-btn.is-selected{box-shadow:0 4px 12px #12353840;background:var(--primary)!important;border-color:var(--primary)!important;color:#fff!important}.week-day-nav-activity .week-day-btn.is-today{border-color:var(--primary)}.week-day-nav-activity .week-day-btn.is-selected{background:var(--primary)!important;border-color:var(--primary)!important;color:#fff!important}.week-day-nav-nutrition .week-day-btn.is-today{border-color:var(--nutrition)}.week-day-nav-nutrition .week-day-btn.is-selected{box-shadow:0 4px 12px #2e7d3240;background:var(--nutrition)!important;border-color:var(--nutrition)!important;color:#fff!important}.week-day-label{text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:600}.week-day-number{color:var(--ink);font-size:1.05rem;font-weight:800}.week-day-btn.is-selected .week-day-label,.week-day-btn.is-selected .week-day-number{color:#fff!important}.week-day-dot{background:var(--primary);border-radius:50%;width:6px;height:6px;margin-top:2px}.week-day-nav-nutrition .week-day-dot{background:var(--nutrition)}.week-day-btn.is-selected .week-day-dot{background:#fff!important}.week-day-dot-empty{background:0 0;border-radius:50%;width:6px;height:6px;margin-top:2px}.activity-history-panel{margin-bottom:24px}.history-filters-container{flex-direction:column;gap:14px;margin-bottom:18px;display:flex}.activity-date-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.activity-today-button{border-radius:10px;align-items:center;gap:6px;padding:8px 14px;font-size:.85rem;font-weight:600;display:inline-flex}.activity-week-arrows{align-items:center;gap:4px;display:flex}.activity-assistant-card{background:var(--surface-soft);border:1px solid var(--line);border-radius:18px;flex-direction:column;gap:16px;margin-top:18px;margin-bottom:24px;padding:18px;display:flex}.activity-assistant-content{align-items:flex-start;gap:16px;display:flex}.activity-assistant-mascot{flex-shrink:0;padding-top:2px}.activity-assistant-info{flex-direction:column;flex:1;gap:6px;display:flex}.activity-assistant-info h2{color:var(--ink);margin:0;font-size:1.15rem;font-weight:700}.activity-assistant-prompts{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.activity-assistant-prompts .quick-chip{background:var(--surface);border:1px solid var(--line);color:var(--ink);cursor:pointer;transition:background-color var(--duration-fast), border-color var(--duration-fast);border-radius:8px;padding:6px 12px;font-size:.8rem;font-weight:500}.activity-assistant-prompts .quick-chip:hover{background:var(--surface-hover);border-color:var(--primary)}.activity-assistant-actions{justify-content:flex-end;display:flex}.activity-assistant-btn{align-items:center;gap:8px;padding:10px 18px;font-size:.9rem;font-weight:600;display:inline-flex}.assistant-window-backdrop{z-index:1100;pointer-events:none;justify-content:flex-end;align-items:flex-end;padding:24px;display:flex;position:fixed;inset:0}.assistant-window-backdrop.is-maximized{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);pointer-events:auto;background:#00000073;justify-content:stretch;align-items:stretch;padding:0}.assistant-window{pointer-events:auto;background:var(--surface);border:1px solid var(--line);transition:width var(--duration-fast) var(--ease-standard), height var(--duration-fast) var(--ease-standard), border-radius var(--duration-fast) var(--ease-standard);flex-direction:column;display:flex;overflow:hidden;box-shadow:0 16px 40px #00000038}.assistant-window-floating{border-radius:20px;width:min(680px,94vw);height:min(720px,82vh)}.assistant-window-maximized{border:none;border-radius:0;width:100vw;height:100vh}.assistant-window-header{background:var(--surface-soft);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.assistant-window-identity{align-items:center;gap:12px;display:flex}.assistant-window-identity h2{color:var(--ink);margin:0;font-size:1.05rem;font-weight:700}.assistant-window-shield{align-items:center;gap:4px;font-size:.75rem;display:inline-flex}.assistant-window-controls{align-items:center;gap:6px;display:flex}.window-control-btn{width:36px;height:36px;color:var(--muted);cursor:pointer;transition:background-color var(--duration-fast), color var(--duration-fast);background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.window-control-btn:hover{background:var(--surface);color:var(--ink);border-color:var(--line)}.window-control-btn.window-control-close:hover{color:#b91c1c;background:#fee2e2;border-color:#fca5a5}.assistant-window-body{flex-direction:column;flex:1;min-height:0;padding:16px 18px;display:flex}.assistant-window-body .chat-messages{flex-direction:column;flex:1;gap:12px;margin-bottom:12px;padding-right:6px;display:flex;overflow-y:auto}.assistant-minimized-pill{z-index:1050;background:var(--surface);border:1px solid var(--line);border-radius:30px;align-items:center;gap:8px;padding:6px 12px 6px 8px;display:flex;position:fixed;bottom:84px;right:20px;box-shadow:0 8px 24px #0000002e}.assistant-pill-restore-btn{cursor:pointer;color:var(--ink);background:0 0;border:none;align-items:center;gap:8px;font-size:.85rem;font-weight:600;display:flex}.assistant-pill-close-btn{width:28px;height:28px;padding:0}.meal-entry-popover-dismiss{z-index:90;cursor:default;background:0 0;position:fixed;inset:0}.meal-entry-popover{background:var(--surface);border:1px solid var(--line);z-index:100;border-radius:16px;width:280px;max-width:calc(100vw - 24px);padding:12px;box-shadow:0 12px 32px #00000038}.meal-entry-popover-header{justify-content:space-between;align-items:center;margin-bottom:10px;padding:0 2px;display:flex}.meal-entry-popover-title{color:var(--ink);margin:0;font-size:.85rem;font-weight:750}.meal-entry-popover-close{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:0;display:inline-flex}.meal-entry-popover-close:hover{background:var(--surface-soft);color:var(--ink)}.meal-entry-popover-grid{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.meal-entry-popover-item{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink);cursor:pointer;text-align:left;transition:background-color var(--duration-fast), border-color var(--duration-fast);border-radius:10px;align-items:center;gap:8px;min-height:42px;padding:8px 10px;display:flex}.meal-entry-popover-item:hover{background:var(--surface);border-color:var(--accent)}.meal-entry-popover-item.is-selected{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-text)}.meal-entry-popover-icon{width:20px;height:20px;color:var(--accent);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.meal-entry-popover-label{color:inherit;font-size:.82rem;font-weight:750;line-height:1.2}.chat-form input.has-guidance-pulse{animation:3s ease-in-out infinite inputGuidanceGlow}@keyframes inputGuidanceGlow{0%,to{border-color:var(--border,var(--line));box-shadow:0 0 #4f8ef700}50%{border-color:var(--accent,#3b82f6);box-shadow:0 0 0 3px #4f8ef740}}@media (max-width:768px){.assistant-window-backdrop{justify-content:center;align-items:flex-end;padding:12px}.assistant-window-floating{border-radius:20px;width:min(100vw - 24px,480px);max-width:calc(100vw - 24px);height:min(72vh,640px);max-height:75vh;margin:0 auto}.assistant-window-header{gap:8px;padding:10px 14px}.assistant-window-identity{flex:auto;gap:8px;min-width:0}.assistant-window-title-box{min-width:0;overflow:hidden}.assistant-window-title-box h2{white-space:nowrap;text-overflow:ellipsis;font-size:.95rem;overflow:hidden}.assistant-window-controls{flex-shrink:0;gap:4px}.window-control-btn{width:36px;min-width:36px;height:36px;min-height:36px}.assistant-minimized-pill{bottom:74px;right:12px}.week-day-btn{min-height:52px;padding:6px 2px}.week-day-label{font-size:.65rem}.week-day-number{font-size:.95rem}}@media (prefers-reduced-motion:reduce){.chat-form input.has-guidance-pulse{animation:none}.bento-dragging,.progress-dragging{transition:none!important}}.assistant-window-mascot-icon{background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex;overflow:hidden}.assistant-window-mascot-icon .assistant-avatar{width:28px;height:28px}.chat-photo-preview{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;align-items:center;gap:10px;margin-bottom:8px;padding:6px 12px;font-size:.82rem;display:flex}.chat-photo-thumb-container{border:1px solid var(--line);background:#000;border-radius:8px;flex-shrink:0;width:36px;height:36px;overflow:hidden}.chat-photo-thumbnail{object-fit:cover;width:100%;height:100%;display:block}.chat-photo-meta{flex-direction:column;flex:auto;min-width:0;display:flex}.chat-photo-name{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;font-weight:650;overflow:hidden}.chat-photo-size{color:var(--muted);font-size:.72rem}.chat-photo-actions{flex-shrink:0;align-items:center;gap:4px;display:flex}.chat-photo-error{margin:4px 0 8px}.chat-form-expanded{flex-direction:column;align-items:stretch;gap:8px;width:100%;display:flex}.chat-input-wrapper{flex:auto;min-width:0;display:flex}.chat-input-wrapper input{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;font:inherit;color:var(--ink);transition:border-color var(--duration-fast), box-shadow var(--duration-fast);border-radius:14px;padding:10px 14px;font-size:.9rem}.chat-input-wrapper input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.chat-actions-group{flex-shrink:0;justify-content:flex-end;align-items:center;gap:6px;display:flex}.attach-photo-btn.is-active{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}.chat-send-btn{border-radius:12px;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:0 14px;display:inline-flex}.audio-recorder-compact{flex-wrap:wrap;align-items:center;max-width:100%;display:inline-flex}.audio-error-compact{flex-basis:100%;min-width:200px;margin:6px 0 0;font-size:.82rem;line-height:1.35}.audio-recording-compact{align-items:center;gap:4px;display:inline-flex}.bento-drag-handle,.progress-drag-handle{touch-action:none}.bento-dragging,.progress-dragging{opacity:.55;outline:2px dashed var(--accent);outline-offset:4px;box-shadow:var(--shadow);transform:scale(.98)}[data-layout=movimento-continuo]{--mc-ink:#17313a;--mc-muted:#61757b;--mc-canvas:#f7f6f3;--mc-surface:#fff;--mc-line:#dfe7e7;--mc-blue:#4fadc0;--mc-blue-soft:#c5e9ef;--mc-mint:#b9dfa8;--mc-mint-soft:#e4f2dc;--mc-coral:#f08f79;--mc-coral-soft:#f8d6ce;--mc-rose:#f1d8d1;--mc-sand:#eddca8;--mc-violet:#bba6d9;--mc-shadow:0 24px 80px #17313a1c;--mc-shadow-small:0 12px 34px #17313a14;--mc-ease:cubic-bezier(.2, .8, .2, 1);--bg-primary:var(--mc-canvas);--bg-surface:var(--mc-surface);--bg-card:var(--mc-surface);--bg-elevated:#ffffffd9;--text-primary:var(--mc-ink);--text-secondary:var(--mc-muted);--border-color:var(--mc-line);--accent:var(--mc-blue);--accent-soft:var(--mc-blue-soft)}[data-layout=movimento-continuo][data-theme=dark],[data-layout=movimento-continuo] [data-theme=dark]{--mc-ink:#e6f0f2;--mc-muted:#95aab0;--mc-canvas:#0b171c;--mc-surface:#12242a;--mc-line:#1c353e;--mc-blue:#5bc0d4;--mc-blue-soft:#173842;--mc-mint:#b9dfa8;--mc-mint-soft:#1d3822;--mc-coral:#f08f79;--mc-coral-soft:#3d231e;--mc-rose:#382124;--mc-sand:#3b331f;--mc-violet:#2e2340;--mc-shadow:0 24px 80px #00000073;--mc-shadow-small:0 12px 34px #00000059;--bg-primary:var(--mc-canvas);--bg-surface:var(--mc-surface);--bg-card:var(--mc-surface);--bg-elevated:#12242ad9;--text-primary:var(--mc-ink);--text-secondary:var(--mc-muted);--border-color:var(--mc-line);--accent:var(--mc-blue);--accent-soft:var(--mc-blue-soft)}html[data-layout=movimento-continuo]{background:var(--mc-canvas)}html[data-layout=movimento-continuo] body{color:var(--mc-ink);background:radial-gradient(circle at 78% 5%, #4fadc01f, transparent 30rem), radial-gradient(circle at 12% 18%, #f08f791a, transparent 28rem), var(--mc-canvas);font-family:DM Sans,system-ui,-apple-system,sans-serif}html[data-layout=movimento-continuo][data-theme=dark] body{background:radial-gradient(circle at 78% 5%, #5bc0d414, transparent 30rem), radial-gradient(circle at 12% 18%, #f08f790f, transparent 28rem), var(--mc-canvas)}[data-layout=movimento-continuo] h1,[data-layout=movimento-continuo] h2,[data-layout=movimento-continuo] h3{letter-spacing:-.04em;font-family:Manrope,system-ui,-apple-system,sans-serif}[data-layout=movimento-continuo] .bento-card,[data-layout=movimento-continuo] .dashboard-card,[data-layout=movimento-continuo] .progress-card,[data-layout=movimento-continuo] .workout-card,[data-layout=movimento-continuo] .auth-card,[data-layout=movimento-continuo] .settings-dialog,[data-layout=movimento-continuo] .modal-content,[data-layout=movimento-continuo] .assistant-window{border:1px solid var(--mc-line);background:var(--mc-surface);box-shadow:var(--mc-shadow-small);border-radius:24px}[data-layout=movimento-continuo] .primary-button{background:var(--mc-ink);color:var(--mc-surface);transition:transform .16s var(--mc-ease), box-shadow .16s var(--mc-ease);border-radius:999px;font-weight:700;box-shadow:0 10px 22px #17313a29}[data-layout=movimento-continuo][data-theme=dark] .primary-button{background:var(--mc-blue);color:#0b171c;box-shadow:0 10px 22px #0000004d}[data-layout=movimento-continuo] .primary-button:hover,[data-layout=movimento-continuo] .primary-button:focus-visible{transform:translateY(-2px)}.settings-tabs{border-bottom:1px solid var(--border-color);gap:8px;margin-bottom:20px;padding-bottom:12px;display:flex}.settings-tab-btn{min-height:42px;color:var(--text-secondary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:999px;align-items:center;gap:8px;padding:0 16px;font-size:14px;font-weight:600;transition:color .16s,background .16s,border-color .16s,box-shadow .16s;display:inline-flex}.settings-tab-btn:hover,.settings-tab-btn:focus-visible{color:var(--text-primary);background:var(--bg-surface)}.settings-tab-btn.active{color:var(--text-primary);background:var(--bg-surface);border-color:var(--border-color);box-shadow:var(--shadow-sm,0 2px 8px #0000000f)}.settings-section-heading{align-items:center;gap:12px;margin-bottom:16px;display:flex}.settings-section-heading svg{width:28px;height:28px;color:var(--accent);flex-shrink:0}.settings-section-heading h3{margin:0;font-size:17px;font-weight:700}.settings-section-heading p{color:var(--text-secondary);margin:2px 0 0;font-size:13px}.appearance-options{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:16px 0;display:grid}.layout-option-card{text-align:left;border:2px solid var(--border-color);background:var(--bg-card);cursor:pointer;border-radius:18px;flex-direction:column;padding:16px 18px;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;display:flex}.layout-option-card:hover,.layout-option-card:focus-visible{border-color:var(--accent);transform:translateY(-2px)}.layout-option-card.layout-option-selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 6px 20px #4fadc026}.layout-option-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.layout-option-header strong{color:var(--text-primary);font-size:15px}.layout-option-card p{color:var(--text-secondary);margin:0;font-size:12px;line-height:1.45}button.app-brand-button,.app-brand-button{font:inherit;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:12px;margin:0;padding:0;display:inline-flex}button.app-brand-button:focus-visible,.app-brand-button:focus-visible{outline:2px solid var(--accent,#4fadc0);outline-offset:4px;border-radius:12px}button.app-rail-brand-button,.app-rail-brand-button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:13px;place-items:center;width:42px;height:42px;margin:0 auto;padding:0;display:grid}button.app-rail-brand-button:focus-visible,.app-rail-brand-button:focus-visible{outline:2px solid var(--accent,#4fadc0);outline-offset:4px;border-radius:12px}.sidebar-tools{flex-direction:column;gap:6px;margin-bottom:12px;display:flex}.sidebar-tool-btn{min-height:42px;color:var(--muted);font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:8px 12px;font-size:.9rem;font-weight:700;transition:background .15s,color .15s;display:flex}.sidebar-tool-btn:hover,.sidebar-tool-btn:focus-visible{background:var(--surface-soft);color:var(--ink)}.sidebar-tool-btn svg{flex-shrink:0;width:20px;height:20px}.mobile-nav-icon{border-radius:10px;justify-content:center;align-items:center;width:32px;height:28px;transition:transform .18s cubic-bezier(.2,.8,.2,1),background .18s,box-shadow .18s;display:inline-flex}.mobile-nav-icon svg{width:20px;height:20px}.typewriter-container{width:100%;display:inline-block;position:relative}.typewriter-stack{grid-template-areas:"stack";align-items:start;display:grid}.typewriter-sizer{visibility:hidden;pointer-events:none;-webkit-user-select:none;user-select:none;grid-area:stack}.typewriter-sizer:before{content:attr(data-text);visibility:hidden;pointer-events:none}.typewriter-visible{grid-area:stack;display:inline}.typewriter-cursor{vertical-align:-.15em;background-color:var(--accent,#4fadc0);width:2px;height:1.1em;margin-left:2px;animation:.8s infinite typewriter-blink;display:inline-block}@keyframes typewriter-blink{0%,to{opacity:1}50%{opacity:0}}@media (prefers-reduced-motion:reduce){.typewriter-cursor{animation:none!important;display:none!important}}@media (max-width:620px){html[data-layout=movimento-continuo] .bento-toolbar{justify-content:center}html[data-layout=movimento-continuo] .bento-toolbar .bento-ghost{width:auto;min-height:48px;padding-left:clamp(20px,87.5vw - 260px,76px);padding-right:clamp(20px,87.5vw - 260px,76px)}}html[data-layout=movimento-continuo] .mobile-navigation{border-top:1px solid var(--mc-line);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding-bottom:calc(6px + env(safe-area-inset-bottom));background:#fffffff0;box-shadow:0 -8px 24px #17313a14}html[data-layout=movimento-continuo][data-theme=dark] .mobile-navigation,html[data-layout=movimento-continuo] [data-theme=dark] .mobile-navigation{border-top:1px solid var(--mc-line);background:#12242af0;box-shadow:0 -8px 24px #00000073}html[data-layout=movimento-continuo] .mobile-navigation button.nav-active .mobile-nav-icon{background:linear-gradient(#fff 0%,#c5e9ef 100%);border:1px solid #4fadc059;transform:translateY(-2px);box-shadow:inset 0 1px 1.5px #ffffffe6,0 3px 6px #17313a29}html[data-layout=movimento-continuo][data-theme=dark] .mobile-navigation button.nav-active .mobile-nav-icon,html[data-layout=movimento-continuo] [data-theme=dark] .mobile-navigation button.nav-active .mobile-nav-icon{background:linear-gradient(#244652 0%,#132b33 100%);border:1px solid #5bc0d459;transform:translateY(-2px);box-shadow:inset 0 1px 1px #ffffff40,0 3px 8px #00000080}html[data-layout=movimento-continuo] .mobile-navigation button.nav-active{color:var(--mc-ink);background:0 0}html[data-layout=movimento-continuo] .mobile-navigation button.nav-active span:last-child{color:var(--mc-ink);font-weight:800}html[data-layout=movimento-continuo][data-theme=dark] .mobile-navigation button.nav-active span:last-child,html[data-layout=movimento-continuo] [data-theme=dark] .mobile-navigation button.nav-active span:last-child{color:var(--mc-ink)}@media (prefers-reduced-motion:reduce){html[data-layout=movimento-continuo] .mobile-nav-icon{transition:none!important}}.meal-description-textarea,.meal-entry-panel textarea,.refine-panel textarea{transition:border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);border-width:1.5px;border-color:var(--nutrition-textarea-border,#86dfdf)!important}.meal-description-textarea:focus,.meal-entry-panel textarea:focus,.refine-panel textarea:focus{outline:none;border-color:var(--nutrition-textarea-border-focus,#38c4c4)!important;box-shadow:0 0 0 3px #86dfdf40!important}.meal-entry-unified-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-small);border-radius:20px;margin-bottom:24px;padding:20px}.meal-entry-top-bar{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;padding-bottom:16px;display:flex}.meal-entry-top-info{flex-direction:column;flex:260px;gap:6px;display:flex}.meal-entry-top-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.entry-mode-body{flex-direction:column;gap:16px;display:flex}.meal-review-reorganized{flex-direction:column;gap:20px;display:flex}.analysis-total-top{color:#fff;box-shadow:var(--shadow-medium);background:linear-gradient(135deg,#172a1e 0%,#0d1a12 100%);border:1px solid #ffffff1a;border-radius:20px;padding:22px 24px}[data-theme=light] .analysis-total-top,html[data-theme=light] .analysis-total-top{background:linear-gradient(135deg,#1d3324 0%,#132419 100%)}.analysis-total-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.analysis-total-header .eyebrow{color:#ffffffb3}.analysis-meal-name{color:#fff;letter-spacing:-.02em;margin:0;font-size:1.45rem;font-weight:800}.analysis-total-summary{color:#ffffffd9;margin:0 0 18px;font-size:.92rem;line-height:1.45}.analysis-total-macros-grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;display:grid}.analysis-macro-stat{background:#ffffff14;border:1px solid #ffffff1f;border-radius:14px;align-items:center;gap:12px;padding:12px 14px;display:flex}.analysis-macro-stat .stat-icon{border-radius:10px;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.analysis-macro-stat .stat-icon svg{width:20px;height:20px}.stat-calories .stat-icon{color:#f6b8a5;background:#e8886c40}.stat-protein .stat-icon{color:#dcf5a2;background:#b7de6340}.stat-carbs .stat-icon{color:#a2d5ec;background:#5ca7cc40}.stat-fat .stat-icon{color:#d2c0ee;background:#a083d040}.analysis-macro-stat .stat-body{flex-direction:column;display:flex}.analysis-macro-stat .stat-label{color:#ffffffb3;text-transform:uppercase;letter-spacing:.04em;font-size:.74rem;font-weight:700}.analysis-macro-stat .stat-value{color:#fff;font-size:1.35rem;font-weight:800;line-height:1.1}.analysis-macro-stat .stat-unit{color:#fffc;font-size:.78rem}.analysis-actions-row{flex-wrap:wrap;gap:12px;margin-top:-4px;display:flex}.analysis-cancel-btn{flex:140px;justify-content:center;min-height:48px}.analysis-confirm-btn{flex:2 200px;justify-content:center;min-height:48px;font-size:1rem;font-weight:700}.analysis-slot-picker-wrap{background:var(--surface-soft);border:1px solid var(--line);border-radius:16px;padding:14px 16px}.refine-panel-header{align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.refine-icon{width:24px;height:24px;color:var(--nutrition);flex-shrink:0;margin-top:2px}.refine-photo-preview-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:12px;padding:12px 14px;display:flex}.refine-photo-thumb-wrap{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;flex-shrink:0;width:72px;height:72px;overflow:hidden}.refine-photo-thumb{object-fit:cover;width:100%;height:100%}.refine-photo-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.refine-reanalyze-btn{min-height:44px}.analysis-carousel-section{flex-direction:column;gap:14px;margin-top:8px;display:flex}.analysis-carousel-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.analysis-carousel-header h3{color:var(--ink);margin:0;font-size:1.15rem;font-weight:800}.analysis-carousel-header p{color:var(--muted);margin:2px 0 0;font-size:.86rem}.analysis-carousel-nav{gap:6px;display:flex}.analysis-items-carousel{scroll-snap-type:x mandatory;scroll-behavior:smooth;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch;gap:16px;padding:6px 4px 14px;display:flex;overflow-x:auto}.analysis-item-card{scroll-snap-align:start;background:var(--surface);border:1px solid var(--line);min-width:295px;box-shadow:var(--shadow-small);transition:transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);border-radius:18px;flex-direction:column;flex:0 0 295px;gap:14px;padding:18px;display:flex}.analysis-item-card:hover,.analysis-item-card:focus-within{box-shadow:var(--shadow-medium);border-color:var(--nutrition);transform:translateY(-2px)}.analysis-item-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:8px;padding-bottom:10px;display:flex}.item-name{color:var(--ink);font-size:1.08rem;font-weight:800}.item-confidence-tag{color:var(--muted);background:var(--surface-soft);white-space:nowrap;border-radius:999px;padding:3px 8px;font-size:.74rem;font-weight:700}.analysis-item-fields{flex-direction:column;gap:10px;display:flex}.item-field{color:var(--muted);flex-direction:column;gap:4px;font-size:.82rem;font-weight:600;display:flex}.item-field-label{align-items:center;gap:5px;display:flex}.field-icon-scale{width:14px;height:14px;color:var(--nutrition)}.weight-hint{color:var(--nutrition-text);margin-top:2px;font-size:.75rem;font-weight:500}.analysis-macros{grid-template-columns:repeat(4,1fr);gap:6px;margin-top:4px;display:grid}.macro-input-col{color:var(--muted);text-align:center;flex-direction:column;gap:3px;font-size:.76rem;font-weight:700;display:flex}.macro-input-col input{text-align:center;padding:6px 4px;font-size:.88rem;font-weight:700}@media (prefers-reduced-motion:reduce){.analysis-item-card{transition:none!important;transform:none!important}}.nutrition-assistant-panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;flex-direction:column;gap:14px;padding:20px;display:flex}.nutrition-assistant-icon{background:var(--ai-soft);width:42px;height:42px;color:var(--ai);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.nutrition-assistant-desc{color:var(--muted);margin:0;font-size:.9rem;line-height:1.45}.nutrition-assistant-prompts{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px;display:grid}.nutrition-prompt-btn{background:var(--surface-soft);border:1px solid var(--line);color:var(--ink);text-align:left;cursor:pointer;transition:transform var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);border-radius:12px;align-items:center;gap:10px;padding:10px 14px;font-size:.86rem;font-weight:600;display:flex}.nutrition-prompt-btn:hover{background:var(--surface);border-color:var(--nutrition);transform:translateY(-1px)}.prompt-icon{width:16px;height:16px;color:var(--nutrition);flex-shrink:0}.nutrition-assistant-footer{flex-direction:column;gap:8px;margin-top:4px;display:flex}.nutrition-assistant-disclaimer{text-align:center;color:var(--muted);margin:0;font-size:.78rem}.nutrition-modular-grid{grid-template-columns:repeat(12,1fr);gap:18px;margin-top:20px;display:grid}.nutrition-modular-card{grid-column:span 12;position:relative}@media (min-width:768px){.nutrition-modular-card.card-nutrition-summary,.nutrition-modular-card.card-net-calories,.nutrition-modular-card.card-hydration{grid-column:span 4}.nutrition-modular-card.card-meal-history,.nutrition-modular-card.card-nutrition-assistant,.nutrition-modular-card.card-nutrition-education{grid-column:span 12}}.appearance-customization-links{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:10px;display:grid}.appearance-custom-link-btn{background:var(--surface-soft);border:1px solid var(--line);text-align:left;cursor:pointer;color:var(--ink);transition:transform var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);border-radius:14px;align-items:center;gap:12px;padding:12px 14px;display:flex}.appearance-custom-link-btn:hover{border-color:var(--accent);background:var(--surface);box-shadow:var(--shadow-small);transform:translateY(-1px)}.appearance-custom-link-icon{background:var(--surface);border:1px solid var(--line);width:36px;height:36px;color:var(--accent);border-radius:10px;flex-shrink:0;place-items:center;display:grid}.appearance-custom-link-text{flex-direction:column;gap:2px;display:flex}.appearance-custom-link-text strong{font-size:.92rem;font-weight:700}.appearance-custom-link-text span{color:var(--muted);font-size:.78rem}.nutrition-drag-handle{z-index:3;border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 90%, transparent);width:44px;height:44px;color:var(--muted);cursor:grab;touch-action:none;box-shadow:var(--shadow-small);transition:color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard);border-radius:13px;place-items:center;display:grid;position:absolute;top:10px;right:10px}.nutrition-drag-handle:active{cursor:grabbing}.nutrition-drag-handle:hover{color:var(--accent-text);border-color:var(--accent)}.nutrition-drag-handle svg{width:20px;height:20px}.nutrition-modular-card.is-dragging{z-index:4;opacity:.74;transform:scale(.985)}.nutrition-modular-card .panel-heading{padding-right:48px}.meal-entry-title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.meal-entry-title{color:var(--ink);transition:transform var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);margin:0;font-size:1.12rem;font-weight:750}.meal-entry-panel:hover .meal-entry-title,.meal-entry-panel:focus-within .meal-entry-title{color:var(--accent);transform:translate(2px)}.net-calorie-highlight-card{border:1px solid var(--line);background:var(--surface-soft);transition:border-color var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard);border-radius:16px;flex-direction:column;gap:8px;margin-bottom:16px;padding:16px;display:flex}.net-calorie-highlight-card.is-available-balance{border-color:color-mix(in srgb, #10b981 35%, var(--line));background:color-mix(in srgb, #10b981 8%, var(--surface))}.net-calorie-highlight-card.is-over-balance{border-color:color-mix(in srgb, #f59e0b 35%, var(--line));background:color-mix(in srgb, #f59e0b 8%, var(--surface))}.highlight-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.highlight-title-group{align-items:center;gap:8px;display:flex}.highlight-icon{width:18px;height:18px;color:var(--accent)}.is-available-balance .highlight-icon{color:#10b981}.is-over-balance .highlight-icon{color:#f59e0b}.highlight-title{color:var(--ink);font-size:.95rem;font-weight:750}.highlight-badge{background:var(--surface);border:1px solid var(--line);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;border-radius:20px;padding:3px 8px;font-size:.72rem;font-weight:700}.is-available-balance .highlight-badge{color:#059669;border-color:#10b981}.is-over-balance .highlight-badge{color:#d97706;border-color:#f59e0b}.highlight-value-row{flex-direction:column;gap:2px;display:flex}.highlight-number{letter-spacing:-.03em;color:var(--ink);font-size:1.65rem;font-weight:800}.highlight-subtitle{color:var(--muted);font-size:.8rem}.nutrition-assistant-heading{align-items:center;gap:12px;display:flex}.nutrition-mascot-container{flex-shrink:0;place-items:center;display:grid}.nutrition-insight-card{background:var(--surface-soft);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:10px;margin-top:14px;padding:16px;display:flex}.insight-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.insight-tag{background:var(--surface);border:1px solid var(--line);color:var(--accent);border-radius:20px;align-items:center;gap:6px;padding:4px 10px;font-size:.78rem;font-weight:700;display:inline-flex}.insight-tag svg{width:14px;height:14px}.insight-title{color:var(--ink);font-size:1rem;font-weight:750;line-height:1.3}.insight-desc{color:var(--muted);margin:0;font-size:.86rem;line-height:1.45}.nutrition-insight-action-btn{background:var(--surface);border:1px solid var(--line);color:var(--ink);cursor:pointer;text-align:left;transition:border-color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard);border-radius:12px;align-items:center;gap:8px;padding:10px 14px;font-size:.84rem;font-weight:650;display:flex}.nutrition-insight-action-btn:hover{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 6%, var(--surface));transform:translateY(-1px)}.nutrition-insight-action-btn svg{width:16px;height:16px;color:var(--accent);flex-shrink:0}.consolidated-plan-view{flex-direction:column;gap:18px;margin-top:14px;display:flex}.consolidated-plan-card{background:var(--surface-soft);border:1px solid var(--line);border-radius:18px;flex-direction:column;gap:16px;padding:20px;display:flex}.consolidated-plan-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.consolidated-badge{color:#10b981;background:color-mix(in srgb, #10b981 12%, var(--surface));border:1px solid #10b9814d;border-radius:20px;align-items:center;gap:6px;padding:4px 10px;font-size:.82rem;font-weight:750;display:inline-flex}.consolidated-badge svg{width:16px;height:16px}.consolidated-main-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;display:grid}.consolidated-info-block{background:var(--surface);border:1px solid var(--line);border-radius:14px;flex-direction:column;gap:4px;padding:14px;display:flex}.info-block-header{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;align-items:center;gap:6px;font-size:.76rem;font-weight:700;display:flex}.info-block-header svg{width:14px;height:14px;color:var(--accent)}.consolidated-info-block strong{color:var(--ink);font-size:1.05rem;font-weight:750}.consolidated-info-block .calorie-number{color:var(--accent-text);font-size:1.25rem;font-weight:800}.consolidated-info-block p{color:var(--muted);margin:0;font-size:.8rem}.consolidated-macros-row{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.macro-tag{background:var(--surface-soft);border:1px solid var(--line);color:var(--ink);border-radius:8px;padding:3px 8px;font-size:.74rem}.macro-tag.protein{color:#3b82f6;border-color:#3b82f666}.macro-tag.carbs{color:#d97706;border-color:#f59e0b66}.macro-tag.fat{color:#ef4444;border-color:#ef444466}.consolidated-safety-note{background:color-mix(in srgb, #3b82f6 8%, var(--surface));border:1px solid color-mix(in srgb, #3b82f6 25%, var(--line));color:var(--ink);border-radius:12px;align-items:center;gap:8px;padding:10px 14px;font-size:.8rem;display:flex}.consolidated-safety-note svg{color:#3b82f6;flex-shrink:0;width:18px;height:18px}.profile-dialog{width:min(94vw,580px);max-width:580px}.profile-form{flex-direction:column;gap:18px;margin-top:14px;display:flex}.profile-avatar-section{background:var(--surface-soft);border:1px solid var(--line);border-radius:16px;align-items:center;gap:18px;padding:16px;display:flex}.profile-avatar-wrapper{background:var(--surface);border:2px solid var(--line);border-radius:50%;flex-shrink:0;place-items:center;width:72px;height:72px;display:grid;overflow:hidden}.profile-avatar-img{object-fit:cover;width:100%;height:100%}.profile-avatar-placeholder{width:100%;height:100%;color:var(--muted);place-items:center;display:grid}.profile-avatar-placeholder svg{width:32px;height:32px}.profile-avatar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.profile-fieldset{border:1px solid var(--line);background:var(--surface-soft);border-radius:16px;flex-direction:column;gap:12px;padding:14px 16px;display:flex}.profile-legend{color:var(--ink);padding:0 6px;font-size:.84rem;font-weight:700}.profile-chips-grid{flex-wrap:wrap;gap:8px;display:flex}.profile-chip{background:var(--surface);border:1px solid var(--line);color:var(--ink);cursor:pointer;transition:border-color var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);border-radius:12px;align-items:center;gap:6px;padding:8px 12px;font-size:.84rem;font-weight:600;display:inline-flex}.profile-chip:hover{border-color:var(--accent)}.profile-chip.is-selected{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-text)}.profile-chip svg{width:14px;height:14px;color:var(--accent)}.profile-custom-chip-row{align-items:center;gap:8px;display:flex}.profile-custom-chip-row input{flex:1}.input-readonly-row{align-items:center;gap:8px;display:flex;position:relative}.input-readonly-row input{opacity:.75;cursor:not-allowed;width:100%}.input-lock-icon{width:16px;height:16px;color:var(--muted);position:absolute;right:12px}.activity-modular-grid{flex-direction:column;gap:1.25rem;width:100%;display:flex}.activity-modular-card{width:100%;transition:transform .2s cubic-bezier(.16,1,.3,1),opacity .2s;position:relative}.activity-modular-card.is-dragging{opacity:.45;pointer-events:none;transform:scale(.985)}.activity-drag-handle{z-index:10;background:var(--surface-soft);border:1px solid var(--line);width:44px;min-width:44px;height:44px;min-height:44px;color:var(--muted);cursor:grab;touch-action:none;border-radius:12px;justify-content:center;align-items:center;transition:background-color .15s,color .15s,border-color .15s,transform .15s;display:inline-flex;position:absolute;top:1rem;right:1rem}.activity-drag-handle:active{cursor:grabbing;transform:scale(.96)}.activity-drag-handle:hover,.activity-drag-handle:focus-visible{background:var(--surface);color:var(--ink);border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft);outline:none}.activity-drag-handle svg{width:18px;height:18px}.activity-view-panel{flex-direction:column;gap:1.25rem;display:flex}.activity-period-tabs{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;align-items:center;gap:3px;padding:3px;display:inline-flex}.activity-period-tabs .period-tab{min-height:38px;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;padding:6px 14px;font-size:.85rem;font-weight:600;transition:transform .18s,box-shadow .18s,background .18s,color .18s,border-color .18s;display:inline-flex}.activity-period-tabs .period-tab:hover:not(.active){color:var(--ink);background:#ffffff0f}.activity-period-tabs .period-tab:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.activity-period-tabs .period-tab.active{color:var(--ink);background:linear-gradient(#fff 0%,#e2f3f6 100%);border:1px solid #4fadc073;font-weight:750;transform:translateY(-1.5px);box-shadow:inset 0 1px 1.5px #ffffffe6,0 3px 7px #17313a24}[data-theme=dark] .activity-period-tabs .period-tab.active{color:var(--ink);background:linear-gradient(#244652 0%,#162f38 100%);border:1px solid #5bc0d473;font-weight:750;transform:translateY(-1.5px);box-shadow:inset 0 1px 1px #fff3,0 3px 8px #00000080}.activity-period-tabs .period-tab:active{transform:translateY(.5px);box-shadow:inset 0 1px 2px #00000026}@media (prefers-reduced-motion:reduce){.activity-period-tabs .period-tab{transition:none!important;transform:none!important}}.activity-summary-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;width:100%;display:grid}@media (max-width:1024px){.activity-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.activity-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}}.activity-stat-badge{background:var(--surface-soft);border:1px solid var(--line);border-radius:14px;align-items:center;gap:10px;min-width:0;padding:12px 14px;transition:border-color .15s,transform .15s;display:flex}.activity-stat-badge:hover{border-color:var(--accent)}@media (max-width:640px){.activity-stat-badge{flex-direction:column;justify-content:space-between;align-items:flex-start;gap:6px;min-height:94px;padding:10px 12px}}.stat-icon-wrap{border-radius:10px;flex-shrink:0;place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;display:grid}@media (max-width:640px){.stat-icon-wrap{border-radius:8px;width:32px;min-width:32px;height:32px;min-height:32px}.stat-icon-wrap svg{width:16px;height:16px}}.stat-icon-wrap.icon-blue{color:#3b82f6;background:#3b82f61f}.stat-icon-wrap.icon-green{color:#22c55e;background:#22c55e1f}.stat-icon-wrap.icon-purple{color:#a855f7;background:#a855f71f}.stat-icon-wrap.icon-amber{color:#f59e0b;background:#f59e0b1f}.stat-icon-wrap svg{width:18px;height:18px}.stat-label{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:.76rem;font-weight:600;display:block}@media (max-width:640px){.stat-label{font-size:.68rem;line-height:1.2}}.stat-value{color:var(--ink);word-break:break-word;font-size:1.05rem;font-weight:800;display:block}@media (max-width:640px){.stat-value{font-size:.92rem;line-height:1.25}}.activity-chart-canvas-wrap{background:var(--surface-soft);border:1px solid var(--line);border-radius:16px;width:100%;padding:1rem;overflow:hidden}.chart-svg-container{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.activity-svg-responsive{width:100%;height:auto;display:block}.activity-today-timeline,.today-items-list{flex-direction:column;gap:8px;display:flex}.today-activity-item{background:var(--surface);border:1px solid var(--line);border-radius:12px;align-items:center;gap:12px;padding:10px 14px;display:flex}.today-badge{text-transform:uppercase;letter-spacing:.04em;border-radius:8px;padding:4px 8px;font-size:.72rem;font-weight:700}.today-badge.badge-app{color:#3b82f6;background:#3b82f626}.today-badge.badge-external{color:#22c55e;background:#22c55e26}.today-item-info{flex-direction:column;gap:2px;display:flex}.today-item-info strong{color:var(--ink);font-size:.92rem}.today-item-info span{color:var(--muted);font-size:.8rem}.month-calendar-compact{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.month-cell{background:var(--surface);border:1px solid var(--line);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:48px;padding:4px 2px;font-size:.8rem;display:flex}.month-cell.is-today{border-color:var(--accent);background:var(--accent-soft)}.month-cell.is-future{opacity:.35}.month-day-num{color:var(--ink);font-size:.78rem;font-weight:600}.month-min-pill{color:#fff;text-align:center;border-radius:6px;padding:2px 5px;font-size:.65rem;font-weight:700}.activity-chart-legend{flex-wrap:wrap;align-items:center;gap:16px;padding-top:4px;display:flex}.activity-carousel-wrapper{--activity-carousel-gap:14px;flex-direction:column;gap:6px;width:100%;min-width:0;display:flex;position:relative}.activity-carousel-controls{justify-content:flex-end;align-items:center;gap:6px;display:flex}.activity-carousel-btn{border-radius:10px;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;display:grid}.activity-carousel-btn:disabled{opacity:.28;cursor:not-allowed;pointer-events:none}.activity-carousel-track{gap:var(--activity-carousel-gap);scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;-webkit-user-select:none;user-select:none;padding:4px 4px 14px;scroll-padding:0 4px;display:flex;overflow-x:auto}.activity-carousel-track::-webkit-scrollbar{display:none}.activity-carousel-track.is-dragging{cursor:grabbing}.in-app-activities-panel,.external-activities-panel{flex-direction:column;gap:1.25rem;display:flex}.in-app-session-card,.external-activity-row{scroll-snap-align:start;box-sizing:border-box;background:var(--surface);border:1px solid var(--line);border-radius:18px;flex-direction:column;flex:none;justify-content:space-between;width:min(340px,100%);min-width:0;padding:1.15rem 1.25rem;transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s,border-color .2s;display:flex;position:relative}@media (max-width:640px){.in-app-session-card,.external-activity-row{width:min(88%,340px);min-width:0;max-width:none}}@media (prefers-reduced-motion:reduce){.app-toast,.ui-progress-indicator i{animation:none}}.in-app-session-card:hover,.in-app-session-card:focus-within,.external-activity-row:hover,.external-activity-row:focus-within{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 8px 24px #00000014}.in-app-session-card:active,.external-activity-row:active{transform:translateY(-1px)}@media (prefers-reduced-motion:reduce){.in-app-session-card,.external-activity-row,.activity-modular-card{transition:border-color .15s,background .15s!important;transform:none!important}}.session-card-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.session-title-group{flex-direction:column;gap:4px;display:flex}.session-origin-badge{text-transform:uppercase;letter-spacing:.04em;color:#3b82f6;background:#3b82f61f;border-radius:6px;align-self:flex-start;padding:3px 8px;font-size:.68rem;font-weight:700;display:inline-block}.session-title{color:var(--ink);margin:0;font-size:1.05rem;font-weight:700}.session-date{color:var(--muted);font-size:.8rem}.session-actions-top{align-items:center;gap:4px;display:flex}.session-actions-top .icon-button{min-width:36px;min-height:36px}.session-meta-chips{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.meta-chip{background:var(--surface-soft);color:var(--ink);border:1px solid var(--line);border-radius:10px;align-items:center;gap:5px;padding:5px 10px;font-size:.78rem;font-weight:600;display:inline-flex}.meta-chip.chip-accent{background:var(--accent-soft);color:var(--accent-text);border-color:var(--accent)}.meta-chip.chip-muted{opacity:.6;text-decoration:line-through}.meta-chip .chip-icon{width:14px;height:14px}.session-expanded-details{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}.details-heading{text-transform:uppercase;letter-spacing:.03em;color:var(--muted);margin:0 0 8px;font-size:.82rem;font-weight:700}.session-exercises-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.session-exercise-item{background:var(--surface-soft);border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:.86rem;display:flex}.exercise-item-name{align-items:center;gap:8px;display:flex}.exercise-item-name strong{color:var(--ink)}.ex-duration{color:var(--muted);font-size:.76rem}.exercise-item-meta{color:var(--muted);white-space:nowrap;font-size:.8rem}.external-card-top-row{justify-content:space-between;align-items:center;gap:8px;min-width:0;margin-bottom:8px;display:flex}.external-activity-row-main{min-width:0;display:block}.external-activity-info{flex-direction:column;gap:4px;min-width:0;display:flex}.external-activity-title{overflow-wrap:anywhere;min-width:0;color:var(--ink);font-size:1.05rem;font-weight:700}.external-activity-meta{color:var(--muted);overflow-wrap:anywhere;font-size:.82rem;line-height:1.4}.external-activity-actions{flex:none;align-items:center;gap:4px;display:flex}.empty-activities-card{text-align:center;background:var(--surface-soft);border:1px dashed var(--line);border-radius:18px;flex-direction:column;align-items:center;gap:10px;padding:2.5rem 1.5rem;display:flex}.empty-activities-card .empty-icon{width:42px;height:42px;color:var(--muted)}.empty-activities-card h3{color:var(--ink);margin:0;font-size:1.1rem;font-weight:700}.empty-activities-card p{color:var(--muted);max-width:420px;margin:0;font-size:.9rem}.empty-actions-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-top:8px;display:flex}.activity-assistant-panel{flex-direction:column;gap:1.25rem;display:flex}.assistant-panel-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.assistant-header-left{align-items:center;gap:14px;min-width:0;display:flex}.assistant-mascot-container{flex-shrink:0;place-items:center;width:52px;min-width:52px;height:52px;min-height:52px;display:grid;position:relative;overflow:visible}.assistant-mascot-container .assistant-avatar{width:44px;height:44px}@keyframes robot-idle-float{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.assistant-mascot-container .robot-state-idle{animation:3.5s ease-in-out infinite robot-idle-float}@media (prefers-reduced-motion:reduce){.assistant-mascot-container .robot-state-idle{animation:none!important}}.assistant-heading-text{flex-direction:column;gap:2px;min-width:0;display:flex}.assistant-topics-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.topic-chip{background:var(--surface-soft);border:1px solid var(--line);color:var(--muted);cursor:pointer;border-radius:20px;padding:6px 12px;font-size:.82rem;font-weight:600;transition:background-color .15s,border-color .15s,color .15s}.topic-chip:hover{background:var(--surface);color:var(--ink);border-color:var(--accent)}.topic-chip.active{background:var(--accent);border-color:var(--accent);color:#fff}.assistant-insight-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:8px;min-height:180px;padding:1.25rem;display:flex}.insight-header{align-items:center;gap:8px;display:flex}.insight-tag{text-transform:uppercase;letter-spacing:.04em;background:var(--accent-soft);color:var(--accent-text);border-radius:6px;align-items:center;gap:5px;padding:3px 8px;font-size:.74rem;font-weight:700;display:inline-flex}.insight-tag .tag-icon{width:12px;height:12px}.insight-title{color:var(--ink);margin:0;font-size:1.05rem;font-weight:700}.insight-body{color:var(--ink-secondary);margin:0;font-size:.9rem;line-height:1.5}.insight-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:6px;display:flex}.assistant-custom-prompt-form{align-items:center;gap:8px;display:flex}.custom-prompt-input{background:var(--surface-soft);border:1px solid var(--line);color:var(--ink);border-radius:12px;flex:1;min-height:44px;padding:10px 14px;font-size:.88rem}.custom-prompt-input:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft);outline:none}.assistant-disclaimer{background:var(--surface-soft);color:var(--muted);border-radius:10px;align-items:center;gap:8px;padding:8px 12px;font-size:.76rem;line-height:1.4;display:flex}.disclaimer-icon{width:16px;min-width:16px;height:16px;color:var(--muted)}.hub-tabs{background:var(--surface-soft);border:1px solid var(--line);box-shadow:var(--shadow-small);border-radius:9999px;align-items:center;gap:4px;max-width:100%;margin-bottom:20px;padding:4px;display:inline-flex;position:relative}.hub-tabs button{z-index:1;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:9999px;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:8px 20px;font-size:.92rem;font-weight:600;transition:color .18s,background-color .18s,box-shadow .18s;display:inline-flex;position:relative}.hub-tabs button:hover:not(.hub-tab-active){color:var(--ink);background:#ffffff0d}.hub-tabs button.hub-tab-active{background:var(--surface);color:var(--ink);box-shadow:0 2px 10px #0000002e, 0 0 0 1px var(--line)}.routine-section{flex-direction:column;gap:24px;display:flex}.routine-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.routine-view-toggle{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;gap:3px;padding:3px;display:inline-flex}.routine-toggle-btn{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:9px;align-items:center;gap:6px;min-height:38px;padding:6px 14px;font-size:.85rem;font-weight:600;transition:background .15s,color .15s,box-shadow .15s;display:inline-flex}.routine-toggle-btn.active{background:var(--surface);color:var(--ink);box-shadow:0 2px 8px #00000026}.routine-calendar-controls{background:var(--surface);border:1px solid var(--line);border-radius:16px;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex}.routine-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;display:grid}@media (max-width:860px){.routine-calendar-grid{grid-template-columns:1fr}}.routine-day-col{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:10px;min-height:150px;padding:12px;transition:border-color .2s,box-shadow .2s;display:flex}.routine-day-col.is-today{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent), 0 4px 18px #4076c21f;background:linear-gradient(180deg, #4076c20f 0%, var(--surface) 40%)}.routine-day-head{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:baseline;padding-bottom:8px;display:flex}.routine-day-name{color:var(--ink);font-size:.88rem;font-weight:700}.routine-day-date{color:var(--muted);font-size:.78rem}.routine-item-pill{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:4px;padding:8px 10px;transition:transform .12s,border-color .12s;display:flex}.routine-item-pill:hover{border-color:var(--line-strong);transform:translateY(-1px)}.routine-item-pill.program{border-left:3px solid var(--accent)}.routine-item-pill.exercise{border-left:3px solid #22c55e}.routine-editor-day-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:12px;margin-bottom:14px;padding:16px;display:flex}.routine-editor-item-row{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.programs-filter-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.programs-category-tabs{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;flex-wrap:wrap;gap:4px;padding:4px;display:inline-flex}.programs-category-tab{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:8px;min-height:38px;padding:6px 14px;font-size:.85rem;font-weight:600;transition:background .15s,color .15s,box-shadow .15s}.programs-category-tab.active{background:var(--surface);color:var(--ink);box-shadow:0 2px 8px #0000001f}.standard-template-badge{color:var(--accent);background:#4076c224;border:1px solid #4076c247;border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:.75rem;font-weight:600;display:inline-flex}.program-builder-standard-copy-banner{color:var(--ink);background:#4076c21a;border:1px solid #4076c240;border-radius:12px;align-items:flex-start;gap:10px;margin-bottom:16px;padding:12px 14px;font-size:.84rem;line-height:1.45;display:flex}@media (prefers-reduced-motion:reduce){.hub-tabs button,.routine-toggle-btn,.routine-item-pill,.programs-category-tab,.slide-to-complete-thumb,.slide-to-complete-fill,.slide-completed-banner,.player-primary-button{transition:none!important}}.video-tutorial-toggle{align-items:center;gap:8px;width:auto;margin:12px 0 6px;display:inline-flex}.video-tutorial-wrapper{border:1px solid var(--line);background:var(--surface-soft);border-radius:17px;margin:12px 0 16px;overflow:hidden}.slide-to-complete-container{width:100%;margin:16px 0}.slide-to-complete-track{background:var(--surface-soft);border:1px solid var(--line);-webkit-user-select:none;user-select:none;touch-action:none;cursor:grab;border-radius:26px;align-items:center;height:52px;padding:4px;transition:border-color .2s,background-color .2s;display:flex;position:relative;overflow:hidden}.slide-to-complete-track.is-dragging{cursor:grabbing;border-color:var(--accent)}.slide-to-complete-fill{pointer-events:none;background:#2e7d322e;border-radius:26px;position:absolute;top:0;bottom:0;left:0}.slide-to-complete-label{color:var(--muted);pointer-events:none;justify-content:center;align-items:center;font-size:.88rem;font-weight:600;display:flex;position:absolute;inset:0}.slide-to-complete-thumb{background:var(--accent);color:#fff;touch-action:none;border-radius:22px;outline:none;justify-content:center;align-items:center;width:44px;display:flex;position:absolute;top:4px;bottom:4px;box-shadow:0 3px 8px #0000002e}.slide-to-complete-thumb:focus-visible{box-shadow:0 0 0 3px var(--accent-focus)}.slide-to-complete-arrow{color:#fff;justify-content:center;align-items:center;display:flex}.slide-completed-banner{background:#2e7d3224;border:1px solid #2e7d3259;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;display:flex}.slide-completed-badge{color:#2e7d32;align-items:center;gap:8px;font-size:.9rem;font-weight:700;display:flex}.slide-undo-btn{min-height:34px;color:var(--muted);border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:.82rem;transition:color .15s,border-color .15s,background-color .15s;display:inline-flex}.slide-undo-btn:hover{color:var(--ink);border-color:var(--muted)}.technique-carousel{margin:16px 0}.technique-card{scroll-snap-align:start;border:1px solid var(--line);background:var(--surface-soft);border-radius:16px;flex:none;width:320px;min-width:280px;padding:16px}@media (max-width:640px){.technique-card{width:calc(100% - 32px);min-width:80%;max-width:360px}}.technique-card h3{color:var(--ink);margin-bottom:8px;font-size:.95rem;font-weight:700}.technique-card ol,.technique-card ul{color:var(--muted);margin:0;padding-left:20px;font-size:.86rem;line-height:1.5}.technique-card li+li{margin-top:6px}.exercise-queue-carousel{margin-top:12px}.queue-card{scroll-snap-align:start;background:var(--surface-soft);border:1px solid var(--line);text-align:left;cursor:pointer;border-radius:14px;flex:none;align-items:center;gap:12px;width:260px;min-width:240px;padding:12px;transition:background-color .2s,border-color .2s,box-shadow .2s,opacity .2s;display:flex;position:relative}@media (max-width:640px){.queue-card{width:calc(100% - 40px);min-width:78%;max-width:300px}}.queue-card:hover{background:var(--surface);border-color:var(--accent)}.queue-card.queue-current{border-color:var(--accent);background:var(--surface);box-shadow:inset 0 0 0 1px var(--accent), 0 4px 12px #0000000f}.queue-card.queue-done{opacity:.75}.queue-card .queue-thumb{background:var(--surface);border-radius:10px;justify-content:center;align-items:center;width:48px;min-width:48px;height:48px;display:flex;position:relative;overflow:hidden}.queue-card .queue-check{color:#fff;z-index:2;background:#2e7d32d9;border-radius:10px;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.queue-card-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.queue-card-text strong{white-space:nowrap;text-overflow:ellipsis;color:var(--ink);font-size:.88rem;overflow:hidden}.queue-card-text small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.76rem;overflow:hidden}.queue-badge{color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:3px 6px;font-size:.72rem;font-weight:700}.carousel-indicator{color:var(--muted);background:var(--surface-soft);border:1px solid var(--line);border-radius:6px;margin-right:6px;padding:3px 8px;font-size:.78rem;font-weight:700}.player-actions{justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:20px;display:flex}.player-secondary-actions{align-items:center;gap:10px;display:flex}.player-primary-button{border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 24px;font-size:.95rem;font-weight:700;transition:transform .15s,background .15s;display:inline-flex}.player-primary-button:active{transform:scale(.98)}.field-hint{color:var(--muted);margin:0 0 4px;font-size:.8rem}.routine-today-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.routine-today-info{flex-direction:column;gap:4px;min-width:0;display:flex}.routine-today-info h3{margin:0;font-size:1rem}.routine-today-actions{flex-shrink:0}.routine-duration-chip{color:var(--muted);align-items:center;gap:4px;width:fit-content;font-size:.78rem;display:inline-flex}.routine-duration-chip svg{width:14px;height:14px}.routine-rest-card{border:1px dashed var(--line);background:var(--surface-soft);color:var(--muted);border-radius:16px;align-items:center;gap:14px;padding:18px;display:flex}.routine-rest-card svg{color:var(--accent);flex-shrink:0}.routine-rest-card h3{color:var(--ink);margin:0 0 2px}.routine-subnav{border:1px solid var(--line);background:var(--surface-soft);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:6px;display:flex}.routine-subnav-tabs{align-items:center;gap:4px;display:flex}.routine-subnav-tab{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:12px;padding:8px 14px;font-size:.82rem;font-weight:700;transition:background .16s,color .16s}.routine-subnav-tab.is-active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #00000014}.routine-week-nav{align-items:center;gap:4px;display:flex}.routine-week-nav-btn{border:1px solid var(--line);background:var(--surface);width:34px;height:34px;color:var(--muted);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.routine-week-nav-btn:hover{color:var(--ink);background:var(--surface-soft)}.routine-week-nav-today{border:1px solid var(--line);background:var(--surface);height:34px;color:var(--muted);cursor:pointer;border-radius:10px;padding:0 12px;font-size:.78rem;font-weight:700}.routine-week-nav-today:hover:not(:disabled){color:var(--ink);background:var(--surface-soft)}.routine-week-nav-today:disabled{opacity:.5;cursor:default}.routine-week-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.routine-week-day-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;flex-direction:column;gap:10px;min-height:160px;padding:12px;transition:border-color .16s,box-shadow .16s;display:flex}.routine-week-day-card.is-today{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 1px var(--accent)}.routine-week-day-header{justify-content:space-between;align-items:center;gap:6px;display:flex}.routine-week-day-name{color:var(--ink);font-size:.78rem;font-weight:800}.routine-week-day-date{color:var(--muted);border-radius:8px;padding:2px 6px;font-size:.7rem;font-weight:700}.routine-week-day-card.is-today .routine-week-day-date{background:var(--accent);color:var(--inverse-text)}.routine-week-day-rest{color:var(--muted);text-align:center;flex:1;justify-content:center;align-items:center;padding:18px 0;font-size:.76rem;font-style:italic;display:flex}.routine-week-day-items{flex-direction:column;gap:6px;display:flex}.routine-week-item{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;flex-direction:column;gap:5px;padding:8px;font-size:.76rem;display:flex}.routine-week-item-title{color:var(--ink);align-items:center;gap:5px;min-width:0;font-weight:700;display:flex}.routine-week-item-title svg{color:var(--accent);flex-shrink:0}.routine-week-item-icon-exercise{color:#10b981}.routine-week-item-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:6px;font-size:.7rem;display:flex}.routine-week-item-start{color:var(--accent-text,var(--accent));cursor:pointer;background:0 0;border:0;align-items:center;gap:3px;padding:0;font-weight:700;display:inline-flex}.routine-week-item-start:hover{text-decoration:underline}@media (max-width:1023px){.routine-week-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:560px){.routine-week-grid{grid-template-columns:minmax(0,1fr)}}.routine-editor-summary{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow,none);border-radius:16px;flex-direction:column;gap:10px;padding:16px;display:flex}.routine-editor-summary-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.routine-editor-summary-row h3{margin:0 0 2px;font-size:.92rem}.routine-editor-summary-actions{align-items:center;gap:8px;display:flex}.routine-editor-feedback{border:1px solid var(--accent);background:var(--accent-soft);color:var(--accent-text,var(--accent-dark));border-radius:12px;align-items:center;gap:8px;margin:0;padding:8px 12px;font-size:.8rem;display:flex}.routine-editor-days{flex-direction:column;gap:10px;display:flex}.routine-editor-day{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:14px}.routine-editor-day.is-today{border-color:var(--accent);background:var(--accent-soft)}.routine-editor-day-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.routine-editor-day-label{align-items:center;gap:8px;font-size:.86rem;font-weight:700;display:flex}.routine-editor-day-badge{background:var(--accent);color:var(--inverse-text);text-transform:uppercase;border-radius:8px;padding:2px 8px;font-size:.65rem;font-weight:800}.routine-editor-day-count{color:var(--muted);font-size:.76rem;font-weight:500}.routine-editor-day-count.is-rest{font-style:italic}.routine-editor-day-empty{border:1px dashed var(--line);text-align:center;color:var(--muted);border-radius:12px;padding:12px;font-size:.78rem}.routine-editor-items{flex-direction:column;gap:8px;display:flex}.routine-editor-item{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.routine-editor-item-info{align-items:center;gap:10px;min-width:0;display:flex}.routine-editor-item-index{background:var(--surface);border:1px solid var(--line);width:28px;height:28px;color:var(--muted);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;font-size:.7rem;font-weight:800;display:flex}.routine-editor-item-title{color:var(--ink);align-items:center;gap:6px;min-width:0;font-size:.84rem;font-weight:700;display:flex}.routine-editor-item-title svg{color:var(--accent);flex-shrink:0}.routine-editor-item-meta{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:.72rem;overflow:hidden}.routine-editor-item-actions{flex-shrink:0;align-items:center;gap:2px;display:flex}.routine-editor-item-remove:hover{color:#dc2626;border-color:#fca5a5}.routine-add-dialog{max-width:512px}.routine-add-type-toggle{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;gap:4px;padding:4px;display:flex}.routine-add-type-tab{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;padding:8px 0;font-size:.8rem;font-weight:700}.routine-add-type-tab.is-active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #00000014}.routine-add-option-list{flex-direction:column;gap:8px;max-height:288px;padding-right:2px;display:flex;overflow-y:auto}.routine-add-option{border:1px solid var(--line);background:var(--surface);text-align:left;cursor:pointer;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;padding:12px;transition:border-color .16s,background .16s;display:flex}.routine-add-option:hover{border-color:var(--accent);background:var(--accent-soft)}.routine-add-option.is-exercise:hover{background:#10b98114;border-color:#10b981}.routine-add-option-text{min-width:0;padding-right:8px}.routine-add-option-name{color:var(--ink);font-size:.82rem;font-weight:700;display:block}.routine-add-option-origin{color:var(--muted);font-size:.7rem;display:block}.routine-add-option-icon{color:var(--accent);flex-shrink:0}.routine-add-option-icon.is-exercise{color:#10b981}.routine-exercise-search{align-items:center;display:flex;position:relative}.routine-exercise-search svg{color:var(--muted);pointer-events:none;position:absolute;left:12px}.routine-exercise-search input{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:12px;padding:10px 12px 10px 34px;font-size:.82rem}.routine-exercise-search input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.historical-date-picker{gap:8px;display:grid;position:relative}.historical-date-trigger{min-height:44px;color:var(--ink);border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:12px;align-items:center;gap:8px;padding:9px 12px;display:inline-flex}.historical-date-popover{z-index:20;border:1px solid var(--line);background:var(--surface);width:min(348px,100vw - 40px);box-shadow:0 16px 40px color-mix(in srgb, var(--ink) 18%, transparent);border-radius:16px;padding:12px;position:absolute;top:calc(100% + 8px);left:0}.historical-date-toolbar,.historical-date-nav{justify-content:space-between;align-items:center;gap:8px;display:flex}.historical-date-toolbar [role=tablist]{background:var(--surface-soft);border-radius:10px;padding:3px;display:inline-flex}.historical-date-toolbar [role=tab]{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:8px;padding:0 10px}.historical-date-toolbar [role=tab][aria-selected=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px color-mix(in srgb, var(--ink) 12%, transparent)}.historical-date-nav{margin:10px 0 6px}.historical-date-grid{gap:5px;display:grid}.historical-date-grid.is-week,.historical-date-grid.is-month{grid-template-columns:repeat(7,1fr)}.historical-date-grid button{min-width:0;min-height:44px;color:var(--ink);font-variant-numeric:tabular-nums;background:0 0;border:1px solid #0000;border-radius:10px}.historical-date-grid button small{color:var(--muted);font-size:.65rem;display:block}.historical-date-grid button:disabled{color:var(--muted);opacity:.38}.historical-date-grid button.is-selected{background:var(--accent);color:var(--accent-text);font-weight:800}.historical-date-grid button:focus-visible,.historical-date-trigger:focus-visible{outline:3px solid var(--accent-focus);outline-offset:2px}.activity-date-fields{gap:8px;display:grid}.activity-date-fields>label{gap:6px;display:grid}.activity-date-fields input{min-height:44px}.completion-date-dialog{width:min(420px,100%)}@media (prefers-reduced-motion:reduce){.historical-date-popover,.historical-date-grid button{transition:none!important}}.program-assistant-console{border:1px solid var(--line);background:linear-gradient(135deg, var(--panel) 0%, var(--accent-soft) 180%);box-shadow:var(--shadow-small);border-radius:20px;overflow:hidden}.program-assistant-console-header{justify-content:space-between;align-items:flex-start;gap:12px;padding:18px;display:flex}.program-assistant-console-header p{color:var(--muted);margin:4px 0 0}.program-assistant-collapse{border:1px solid var(--line);background:var(--panel);width:44px;min-width:44px;min-height:44px;color:var(--ink);border-radius:12px;place-items:center;display:grid}.program-assistant-console-body{border-top:1px solid var(--line);background:var(--panel);gap:16px;padding:18px;display:grid}.program-assistant-prompt{gap:8px;display:grid}.program-assistant-prompt>label,.program-assistant-topics>span{color:var(--ink);font-size:.8rem;font-weight:800}.program-assistant-prompt-row{gap:10px;display:flex}.program-assistant-input{border:1px solid var(--line);background:var(--panel);min-width:0;min-height:46px;color:var(--ink);border-radius:12px;flex:1;padding:0 13px}.program-assistant-input:focus-visible,.program-assistant-collapse:focus-visible,.program-assistant-topic:focus-visible,.energy-estimate-refine:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.program-assistant-submit{background:var(--accent);min-height:46px;box-shadow:0 4px 0 var(--accent-dark);color:#fff;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-weight:800;display:inline-flex}.program-assistant-submit:active{box-shadow:0 1px 0 var(--accent-dark);transform:translateY(3px)}.program-assistant-submit:disabled,.program-assistant-topic:disabled,.energy-estimate-refine:disabled{cursor:not-allowed;opacity:.56}.program-assistant-topics{gap:8px;display:grid}.program-assistant-topics>div{flex-wrap:wrap;gap:7px;display:flex}.program-assistant-topic{border:1px solid var(--line);background:var(--panel);min-height:36px;color:var(--ink);border-radius:999px;padding:6px 11px;font-size:.78rem}.program-assistant-topic:hover{border-color:var(--accent);background:var(--accent-soft)}.program-assistant-error{border:1px solid var(--danger);background:var(--danger-soft);color:var(--danger);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:.82rem;display:flex}.program-assistant-result{border:1px solid var(--accent);background:var(--accent-soft);border-radius:14px}.program-assistant-result summary{cursor:pointer;padding:13px;list-style:none}.program-assistant-result summary::-webkit-details-marker{display:none}.program-assistant-result-content{gap:12px;padding:0 13px 13px;display:grid}.energy-estimate{color:var(--muted);flex-wrap:wrap;align-items:center;gap:5px;font-size:.78rem;display:flex}.energy-estimate-value{color:var(--accent-text);align-items:center;gap:4px;font-weight:800;display:inline-flex}.energy-estimate-value svg{width:14px;height:14px}.energy-estimate-caption{font-size:.72rem}.energy-estimate-refine{background:var(--accent-soft);min-height:30px;color:var(--accent-text);border:0;border-radius:999px;align-items:center;gap:4px;padding:4px 8px;font-size:.72rem;font-weight:800;display:inline-flex}.energy-estimate-refine svg{width:13px;height:13px}.energy-estimate-note{width:100%;margin:2px 0 0;font-size:.72rem;line-height:1.35}.energy-estimate-missing{color:var(--muted);margin:0;font-size:.76rem}.energy-estimate-exercise{margin-top:auto;padding-top:4px}@media (max-width:1023.98px){.mobile-navigation button{color:var(--muted)!important;background:0 0!important}.mobile-navigation .mobile-nav-icon{width:30px;height:30px;transition:transform var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);border:1px solid #0000;border-radius:10px;place-items:center;display:grid;box-shadow:inset 0 1px #0000}.mobile-navigation .mobile-nav-icon svg{filter:drop-shadow(0 1px #0000001f)}.mobile-navigation button.nav-active{color:var(--accent-text)!important}.mobile-navigation button.nav-active .mobile-nav-icon{border-color:var(--accent);background:linear-gradient(180deg, var(--panel), var(--accent-soft));box-shadow:inset 0 1px 0 var(--panel), 0 4px 0 var(--accent-dark), 0 7px 12px #00000029;transform:translateY(-3px)}.mobile-navigation button.nav-active .mobile-nav-icon svg{filter:drop-shadow(0 1px 0 var(--panel))}.mobile-navigation button.nav-active>span:last-child{font-weight:800;color:var(--accent-text)!important}.mobile-navigation button:active .mobile-nav-icon{box-shadow:inset 0 1px 0 var(--panel), 0 1px 0 var(--accent-dark);transform:translateY(0)}}@media (max-width:620px){.program-assistant-prompt-row{flex-direction:column}.program-assistant-submit{width:100%}}@media (prefers-reduced-motion:reduce){.mobile-navigation .mobile-nav-icon,.program-assistant-submit{transition:none;transform:none!important}}
