.modern-questionnaire{position:fixed;top:64px;left:0;right:0;bottom:0;background:linear-gradient(180deg,#fafafb,#f5f7f9);z-index:10;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;contain:layout style paint}.questionnaire-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px 12px;position:relative;z-index:12;background:transparent;margin-bottom:0;min-height:36px;flex-shrink:0}.questionnaire-back-btn{width:36px;height:36px;border-radius:8px;border:none;background:transparent;color:#666;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;position:relative;z-index:13}.questionnaire-back-btn:hover{background:#0000000a;color:#1e1e1e}.questionnaire-progress{position:absolute;top:0;left:0;right:0;height:4px;background:var(--border-light);z-index:11;width:100%;transform:translateZ(0);backface-visibility:hidden}.questionnaire-progress-bar{height:100%;width:0;background:linear-gradient(90deg,var(--primary-accent) 0%,var(--primary-hover) 100%);transition:width .4s cubic-bezier(.4,0,.2,1);transform:translateZ(0);backface-visibility:hidden}.questionnaire-back-btn:active{transform:scale(.96);background:#0000000f}.questionnaire-back-btn:focus-visible{outline:2px solid #94b0c2;outline-offset:2px}.questionnaire-step{font-size:13px;font-weight:500;color:#999;letter-spacing:.3px;padding:0;background:transparent}.questionnaire-content{max-width:600px;margin:0 auto;padding:32px 24px 100px;opacity:1;transform:translateY(0);transition:opacity .3s ease,transform .3s ease}.questionnaire-content.transitioning{opacity:.3}@keyframes initialFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.modern-questionnaire{animation:initialFadeIn .4s ease-out}.questionnaire-question{font-size:32px;font-weight:700;color:#1e1e1e;margin:0 0 48px;line-height:1.3;letter-spacing:-.03em;transition:opacity .3s ease}.transitioning .questionnaire-question{opacity:.3}.questionnaire-choices{display:flex;flex-direction:column;gap:14px;transition:opacity .3s ease}.transitioning .questionnaire-choices{opacity:.3}.questionnaire-choice{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:#fff;border:1.5px solid #e5e7eb;border-radius:12px;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);font-size:16px;font-weight:500;color:#1e1e1e;text-align:left;position:relative;overflow:visible;box-shadow:0 1px 2px #00000008}.questionnaire-choice:focus-visible{outline:2px solid #94b0c2;outline-offset:2px}.questionnaire-choice:hover{border-color:#cbd5e0;background:#fafbfc;box-shadow:0 2px 8px #0000000f}.questionnaire-choice:active{transform:scale(.99)}.questionnaire-choice.selected{border-color:#94b0c2;background:#f8fafc;box-shadow:0 2px 8px #94b0c226}.choice-icon{display:none}.choice-label{flex:1;position:relative;font-weight:500;color:#1e1e1e}.questionnaire-choice.selected .choice-label{color:#2d3748;font-weight:600}.choice-checkmark{width:20px;height:20px;border-radius:6px;border:2px solid #cbd5e0;background:#fff;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0;position:relative}.questionnaire-choice:hover .choice-checkmark{border-color:#94b0c2}.choice-checkmark svg{opacity:0;transform:scale(.7);transition:all .2s cubic-bezier(.34,1.56,.64,1);width:12px;height:12px;stroke-width:3}.questionnaire-choice.selected .choice-checkmark{background:linear-gradient(135deg,#94b0c2,#5c6f80);border-color:#94b0c2;box-shadow:0 2px 4px #94b0c24d}.questionnaire-choice.selected .choice-checkmark svg{opacity:1;transform:scale(1);stroke:#fff}.questionnaire-input-wrapper{display:flex;flex-direction:column;gap:16px;transition:opacity .3s ease}.transitioning .questionnaire-input-wrapper{opacity:.3}.questionnaire-number-input{position:relative;display:flex;align-items:center}.questionnaire-input{width:100%;padding:20px 24px;font-size:18px;font-weight:500;color:#1e1e1e;background:#fff;border:2px solid #e5e7eb;border-radius:16px;outline:none;transition:all .25s cubic-bezier(.4,0,.2,1);-webkit-appearance:none;appearance:none;-moz-appearance:textfield;box-shadow:0 1px 3px #0000000a}.questionnaire-input::-webkit-outer-spin-button,.questionnaire-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.questionnaire-input:focus{border-color:#94b0c2;box-shadow:0 0 0 4px #94b0c21a,0 4px 12px #94b0c226;transform:translateY(-1px)}.input-unit{position:absolute;right:20px;font-size:16px;font-weight:600;color:#666;pointer-events:none}.questionnaire-textarea{width:100%;padding:20px 24px;font-size:16px;font-weight:400;color:#1e1e1e;background:#fff;border:2px solid #e5e7eb;border-radius:16px;outline:none;transition:all .25s cubic-bezier(.4,0,.2,1);resize:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;box-shadow:0 1px 3px #0000000a}.questionnaire-textarea:focus{border-color:#94b0c2;box-shadow:0 0 0 4px #94b0c21a,0 4px 12px #94b0c226;transform:translateY(-1px)}.questionnaire-submit{width:100%;padding:20px 32px;background:linear-gradient(135deg,#94b0c2,#5c6f80);color:#fff;border:none;border-radius:16px;font-size:16px;font-weight:600;cursor:pointer;transition:all .25s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 16px #5c6f8059;letter-spacing:.3px;position:relative;overflow:hidden}.questionnaire-submit:focus-visible{outline:2px solid #fff;outline-offset:2px}.questionnaire-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 24px #5c6f8073}.questionnaire-submit:active:not(:disabled){transform:translateY(0);box-shadow:0 4px 12px #5c6f8059}.questionnaire-submit:disabled{opacity:.5;cursor:not-allowed}.questionnaire-skip{width:100%;padding:14px 32px;background:transparent;color:#666;border:none;border-radius:12px;font-size:15px;font-weight:500;cursor:pointer;transition:all .2s ease}.questionnaire-skip:hover{background:#00000008;color:#1e1e1e}.questionnaire-error{padding:12px 16px;background:#fef2f2;border:1px solid #fca5a5;border-radius:12px;color:#dc2626;font-size:14px;font-weight:500;animation:shake .4s ease}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-8px)}75%{transform:translate(8px)}}@media (max-width: 768px){.modern-questionnaire{top:56px}}@media (max-width: 640px){.questionnaire-question{font-size:24px;margin-bottom:24px}.questionnaire-content{padding:20px 20px 80px}.questionnaire-choice{padding:16px 18px;font-size:15px}.choice-icon{font-size:22px}.questionnaire-input,.questionnaire-textarea{font-size:16px}.questionnaire-submit{padding:16px 28px}}@media (max-width: 375px){.questionnaire-header{padding:10px 16px}.questionnaire-question{font-size:22px}.questionnaire-content{padding:16px 16px 80px}.questionnaire-choice{padding:14px 16px;gap:12px}}@supports (padding-top: env(safe-area-inset-top)){.questionnaire-header{padding-top:calc(12px + env(safe-area-inset-top))}.modern-questionnaire{padding-bottom:env(safe-area-inset-bottom)}}.modern-questionnaire{scroll-behavior:smooth}@media (hover: none) and (pointer: coarse){.questionnaire-choice:hover{transform:none}.questionnaire-choice:active{transform:scale(.98);transition:transform .1s ease}.questionnaire-submit:hover:not(:disabled){transform:none}.questionnaire-submit:active:not(:disabled){transform:scale(.98);transition:transform .1s ease}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--text-xs:.75rem;--text-sm:.875rem;--text-base:1rem;--text-lg:1.125rem;--text-xl:1.25rem;--text-2xl:1.5rem;--text-3xl:1.875rem;--text-4xl:2.25rem;--font-weight-normal:400;--font-weight-medium:500;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-xs:0 1px 2px 0 #0000000d;--shadow-sm:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.flex-shrink{flex-shrink:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}:root{--bg-base: #fafafb;--bg-surface: #ffffff;--bg-surface-hover: #f5f7f9;--bg-overlay: rgba(30, 30, 30, .5);--primary: #d9e1e7;--primary-hover: #5c6f80;--primary-accent: #94b0c2;--primary-contrast: #1e1e1e;--text-primary: #1e1e1e;--text-secondary: #4a5568;--text-tertiary: rgba(30, 30, 30, .5);--text-inverse: #ffffff;--success: #10b981;--warning: #f59e0b;--error: #ef4444;--info: #3b82f6;--border-light: rgba(148, 176, 194, .15);--border-medium: rgba(148, 176, 194, .25);--border-accent: rgba(148, 176, 194, .4);--shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, .03);--shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, .04), 0 1px 2px 0 rgba(0, 0, 0, .03);--shadow-md: 0 4px 12px 0 rgba(0, 0, 0, .05), 0 2px 4px 0 rgba(0, 0, 0, .03);--shadow-lg: 0 10px 24px 0 rgba(0, 0, 0, .06), 0 4px 8px 0 rgba(0, 0, 0, .04);--shadow-xl: 0 20px 40px 0 rgba(0, 0, 0, .08), 0 8px 16px 0 rgba(0, 0, 0, .05);--shadow-hover: 0 6px 16px 0 rgba(92, 111, 128, .12), 0 3px 6px 0 rgba(92, 111, 128, .08);--shadow-focus: 0 0 0 3px rgba(148, 176, 194, .2);--shadow-ambient: 0 80px 160px 0 rgba(0, 0, 0, .1), 0 40px 80px 0 rgba(0, 0, 0, .12);--font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;--font-family-mono: "SF Mono", Monaco, "Cascadia Code", Consolas, monospace;--text-xs: 12px;--text-sm: 13px;--text-base: 15px;--text-md: 16px;--text-lg: 18px;--text-xl: 22px;--text-2xl: 24px;--text-3xl: 28px;--text-4xl: 32px;--font-normal: 400;--font-medium: 500;--font-semibold: 600;--font-bold: 700;--font-extrabold: 800;--leading-tight: 1.25;--leading-snug: 1.4;--leading-normal: 1.6;--leading-relaxed: 1.7;--leading-loose: 2;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--space-16: 64px;--radius-sm: 8px;--radius-md: 12px;--radius-base: 16px;--radius-lg: 16px;--radius-xl: 20px;--radius-2xl: 24px;--radius-full: 9999px;--transition-fast: .12s cubic-bezier(.33, 1, .68, 1);--transition-base: .2s cubic-bezier(.33, 1, .68, 1);--transition-slow: .3s cubic-bezier(.33, 1, .68, 1);--transition-bounce: .4s cubic-bezier(.34, 1.56, .64, 1);--ease-premium: cubic-bezier(.33, 1, .68, 1);--z-base: 0;--z-dropdown: 1000;--z-sticky: 1020;--z-fixed: 1030;--z-modal-backdrop: 1040;--z-modal: 1050;--z-popover: 1060;--z-tooltip: 1070}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;scroll-behavior:smooth;font-size:16px}body{font-family:var(--font-family);font-size:var(--text-base);line-height:var(--leading-normal);color:var(--text-primary);background:var(--bg-base)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes gentleBounce{0%{opacity:0;transform:translateY(10px) scale(.95)}60%{transform:translateY(-2px) scale(1.01)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes loadingShimmer{0%{background-position:-400px 0}to{background-position:400px 0}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}:focus-visible{outline:2px solid var(--primary-accent);outline-offset:2px;border-radius:var(--radius-sm)}button:focus-visible,a:focus-visible{box-shadow:var(--shadow-focus)}*{box-sizing:border-box}html,body{overflow-x:hidden;max-width:100vw;margin:0;padding:0;background:#f7f9fc}:root{--utr-header-height: 64px;--utr-chat-height: 80px;--viewport-height: 100vh;--viewport-height-dynamic: 100dvh}@supports (height: 100dvh){:root{--viewport-height: 100dvh}}.app-shell{min-height:100dvh;height:100dvh;background:#f7f9fc;position:relative;overflow:hidden;width:100%;max-width:100vw;animation:pageSlideIn .25s cubic-bezier(.33,1,.68,1);display:flex;flex-direction:column}@keyframes pageSlideIn{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}.topbar{height:var(--utr-header-height);display:flex;align-items:center;justify-content:space-between;background:#fffffff2;border-bottom:1px solid var(--border-light);padding:0 var(--space-8);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);position:fixed;top:0;left:0;right:0;z-index:var(--z-sticky);box-shadow:0 1px 3px #0000000d;transition:box-shadow var(--transition-base);animation:topBarSlideIn .25s cubic-bezier(.33,1,.68,1);max-width:100%}.topbar-left{display:flex;align-items:center;gap:var(--space-10);flex:1;min-width:0}.topbar-right{display:flex;align-items:center;gap:var(--space-4);position:relative;flex-shrink:0}.topbar-nav{display:flex;align-items:center;gap:var(--space-1);margin-left:var(--space-4)}.nav-item{background:transparent;border:none;color:var(--text-secondary);font-size:var(--text-base);font-weight:var(--font-medium);padding:var(--space-2) var(--space-4);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-fast);letter-spacing:-.01em;white-space:nowrap}.nav-item:hover{background:#94b0c214;color:var(--text-primary)}.nav-item.active{background:#94b0c233;color:var(--text-primary);font-weight:var(--font-semibold);border-bottom:2px solid #5c6f80;padding-bottom:10px}.user-name{font-size:var(--text-base);color:var(--text-primary);font-weight:var(--font-medium);letter-spacing:-.01em;white-space:nowrap}.profile-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:#fffffffa;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid var(--border-light);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);min-width:220px;padding:var(--space-2);z-index:var(--z-dropdown);animation:dropdownFadeIn .15s ease-out}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.plan-page,.history-page{position:fixed;top:var(--utr-header-height);left:0;right:0;bottom:0;width:100%;height:calc(100vh - var(--utr-header-height));overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:var(--space-16)}.welcome-screen-wrapper,.questionnaire-wrapper{padding-top:var(--utr-header-height);padding-bottom:0;min-height:100dvh;overflow-y:auto}.dropdown-item{width:100%;display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:transparent;border:none;border-radius:var(--radius-md);font-size:var(--text-sm);font-weight:var(--font-medium);color:var(--text-primary);text-align:left;cursor:pointer;transition:all var(--transition-fast)}.dropdown-item:hover{background:#94b0c214}.dropdown-item.danger{color:#d32f2f}.dropdown-item.danger:hover{background:#d32f2f14}.dropdown-item svg{flex-shrink:0;opacity:.7}.dropdown-divider{height:1px;background:var(--border-light);margin:var(--space-2) 0}@keyframes topBarSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.topbar:hover{box-shadow:var(--shadow-sm)}.topbar .title-btn{font-weight:var(--font-extrabold);font-size:24px;color:var(--text-primary);letter-spacing:-.02em;cursor:pointer;transition:all .25s cubic-bezier(.33,1,.68,1);white-space:nowrap;background:transparent;border:none;padding:0;font-family:inherit}.topbar .title-btn:hover{opacity:.8}.topbar .title{font-weight:var(--font-extrabold);font-size:24px;color:var(--text-primary);letter-spacing:-.02em;cursor:pointer;transition:all .25s cubic-bezier(.33,1,.68,1);white-space:nowrap}.topbar .title:hover{opacity:.8}.icon-btn{width:40px;height:40px;border-radius:var(--radius-md);border:none;background:var(--bg-base);color:var(--text-secondary);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all var(--transition-fast);box-shadow:var(--shadow-xs)}.icon-btn:hover{background:var(--primary);color:var(--primary-hover);transform:translateY(-2px) scale(1.05);box-shadow:var(--shadow-hover)}.icon-btn:active{transform:translateY(0) scale(1)}.chat-area{display:flex;flex-direction:column;overflow:hidden;max-width:55%;width:55%;padding-top:calc(var(--utr-header-height) + var(--space-4));padding-right:var(--space-8);padding-left:var(--space-12);padding-bottom:0;position:fixed;left:0;top:0;bottom:0;z-index:1;gap:0;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;min-height:0;box-sizing:border-box;overflow-x:hidden;overscroll-behavior:contain}.dispenser-panel{position:fixed;right:0;top:100px;bottom:0;width:45%;max-width:45%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:var(--space-8) var(--space-5) var(--space-5) var(--space-3);pointer-events:auto;z-index:1;background:transparent;transform:scale(1.2) translate(-20px);transform-origin:left top;border-left:none;overflow-x:hidden;overflow-y:auto;max-width:min(45%,calc(100vw - 55%));box-sizing:border-box}.dispenser-pill-count{display:none}.dispenser-pill-count{display:flex;flex-direction:column;align-items:center;margin-bottom:12px;padding:8px 16px;background:#ffffffe6;border:1px solid rgba(148,176,194,.2);border-radius:12px;box-shadow:0 2px 8px #0000000f}.dispenser-pill-count-number{font-size:24px;font-weight:700;color:var(--text-primary);line-height:1.2}.dispenser-pill-count-label{font-size:11px;font-weight:500;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;margin-top:2px}.stack-panel-shell{margin-top:var(--space-8);background:#ffffffe6;border-radius:28px;border:1px solid rgba(148,176,194,.18);box-shadow:0 35px 60px #0f172a1f;padding:var(--space-6);display:flex;flex-direction:column;gap:var(--space-4);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.stack-panel-shell-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-6)}.stack-panel-meta{display:inline-flex;align-items:center;gap:var(--space-2);font-size:12px;font-weight:600;color:var(--text-secondary)}.stack-panel-dot{width:6px;height:6px;border-radius:50%;background:#94b0c2;display:inline-flex}.stack-panel{background:#fffffffa;border-radius:20px;border:1px solid rgba(148,176,194,.16);padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-4)}.stack-panel-header{display:flex;justify-content:space-between;gap:var(--space-4)}.stack-panel-eyebrow{margin:0;text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:600;color:var(--text-tertiary)}.stack-panel-header h3{margin:4px 0 2px;font-size:20px;letter-spacing:-.01em}.dispenser-mobile-only{display:none!important;visibility:hidden!important;opacity:0!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important}.dispenser-svg{width:100%;height:auto;max-width:100%;flex-shrink:0;filter:drop-shadow(0 4px 12px rgba(0,0,0,.05));pointer-events:all;background:transparent;overflow:visible!important;animation:dispenserFadeIn .6s cubic-bezier(.34,1.56,.64,1) .2s both}@keyframes dispenserFadeIn{0%{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}g[class*=sachet-]{transition:transform .2s var(--ease),filter .2s ease;cursor:pointer}g[class*=sachet-]:hover{transform:translateY(-4px) translate(-2px) scale(1.015);filter:drop-shadow(0 8px 16px rgba(0,0,0,.1)) brightness(1.02)}g[class*=sachet-]:hover rect[rx]{stroke-width:2;stroke:#94b0c280}g[class*=sachet-]:active{transform:translateY(-1px) translate(-.5px) scale(1.005);filter:drop-shadow(0 4px 8px rgba(0,0,0,.08))}g.is-today{filter:drop-shadow(0 4px 12px rgba(92,111,128,.25)) drop-shadow(0 2px 6px rgba(148,176,194,.2))}g.is-today:hover{filter:drop-shadow(0 8px 20px rgba(92,111,128,.3)) drop-shadow(0 4px 10px rgba(148,176,194,.25)) brightness(1.02);transform:scale(1.05) translateY(-2px);transition:all .2s ease}g.is-today rect[rx]{transform:scale(1.03);transform-origin:center;transform-box:fill-box}g[class*=sachet-]:not(.is-today){opacity:.5;transition:opacity .2s ease}g[class*=sachet-]:not(.is-today):hover{opacity:.7}.dashboard-card{border-radius:24px}.quick-metrics-card{border-radius:12px}.stat-badge,.composer-prompt-btn{border-radius:8px}.btn-primary,.btn-secondary,.input-wrap{border-radius:12px}.dashboard-card,.quick-metrics-card:hover{box-shadow:0 2px 8px #00000014}.btn-primary:hover,.input-wrap:focus-within{box-shadow:0 4px 12px #0000001f}g[class*=sachet-mon]{animation:sachetFadeIn .4s cubic-bezier(.34,1.56,.64,1) .25s both}g[class*=sachet-tue]{animation:sachetFadeIn .4s cubic-bezier(.34,1.56,.64,1) .3s both}g[class*=sachet-wed]{animation:sachetFadeIn .4s cubic-bezier(.34,1.56,.64,1) .35s both}g[class*=sachet-thu]{animation:sachetFadeIn .4s cubic-bezier(.34,1.56,.64,1) .4s both}g[class*=sachet-fri]{animation:sachetFadeIn .4s cubic-bezier(.34,1.56,.64,1) .45s both}g[class*=sachet-sat]{animation:sachetFadeIn .4s cubic-bezier(.34,1.56,.64,1) .5s both}g[class*=sachet-sun]{animation:sachetFadeIn .4s cubic-bezier(.34,1.56,.64,1) .55s both}@keyframes sachetFadeIn{0%{opacity:0;transform:translateY(12px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}.chat-scroll{overflow-y:auto;overflow-x:hidden;padding:0 0 var(--space-8) 0;display:flex;flex-direction:column;gap:var(--space-4);flex:1 1 0;max-width:100%;min-height:0;-ms-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--border-light) transparent;animation:fadeIn .5s var(--ease);-webkit-overflow-scrolling:touch;scroll-behavior:smooth;overscroll-behavior-y:contain}.chat-scroll::-webkit-scrollbar{width:6px}.chat-scroll::-webkit-scrollbar-track{background:transparent}.chat-scroll::-webkit-scrollbar-thumb{background:var(--border-light);border-radius:var(--radius-full)}.chat-scroll::-webkit-scrollbar-thumb:hover{background:var(--border-medium)}.msg{max-width:min(600px,70%);background:var(--bg-surface);border:1px solid var(--border-light);box-shadow:var(--shadow-sm);border-radius:var(--radius-lg);padding:var(--space-4) var(--space-5);color:var(--text-secondary);font-size:var(--text-base);line-height:var(--leading-normal);margin-left:0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all var(--transition-base);animation:slideUp .25s cubic-bezier(.4,0,.2,1);word-wrap:break-word;overflow-wrap:break-word}.msg:hover{box-shadow:var(--shadow-md);transform:translateY(-1px)}.msg.bot{margin-left:0;position:relative}.msg.user{align-self:flex-end;margin-right:0;margin-left:auto;background:linear-gradient(135deg,#f5f7f9,#edf1f5);color:var(--text-primary);border:1px solid rgba(148,176,194,.2);box-shadow:var(--shadow-sm)}.meta{font-size:var(--text-xs);color:var(--text-tertiary);margin-top:var(--space-1)}.msg.user .meta{color:#8b451399}.recs-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:stretch;gap:var(--space-6);margin-top:var(--space-10);margin-bottom:var(--space-6);max-width:100%;width:100%;margin-left:0;margin-right:auto}.rec-card{background:var(--bg-surface);border:1px solid var(--border-light);border-radius:var(--radius-lg);padding:var(--space-5);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .25s cubic-bezier(.34,1.56,.64,1);display:flex;flex-direction:column}.rec-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--border-accent)}.rec-name{font-size:var(--text-lg);font-weight:var(--font-semibold);color:var(--text-primary);margin-bottom:var(--space-2);line-height:var(--leading-tight)}.rec-why{color:var(--text-secondary);margin-bottom:var(--space-3);line-height:var(--leading-normal);font-size:var(--text-sm)}.rec-details{display:flex;flex-direction:column;gap:var(--space-2);font-size:var(--text-sm);color:var(--text-secondary);margin-bottom:var(--space-3)}.rec-details strong{color:var(--text-primary);font-weight:var(--font-medium)}.rec-link{display:inline-block;padding:var(--space-2) var(--space-4);background:linear-gradient(135deg,var(--primary-accent) 0%,var(--primary-hover) 100%);color:var(--text-inverse);border-radius:var(--radius-sm);text-decoration:none;font-weight:var(--font-medium);font-size:var(--text-sm);transition:all var(--transition-fast);box-shadow:var(--shadow-xs);text-align:center}.rec-link:hover{transform:translateY(-2px) scale(1.01);box-shadow:var(--shadow-hover)}.rec-link:active{transform:translateY(0) scale(1)}.composer-wrapper{width:100%;max-width:1120px;margin:0 auto;padding:0 24px}.composer-helper-text{font-size:13px;color:var(--fog);margin:0 0 12px;text-align:left;line-height:1.5}.composer-divider{height:1px;background:#e9ecef;margin:0 0 20px}.composer{position:sticky!important;bottom:0!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding:24px 0 calc(28px + env(safe-area-inset-bottom)) 0!important;width:100%!important;margin-top:auto!important;z-index:10!important;flex-shrink:0!important;margin-bottom:0!important;border-top:none!important;box-shadow:none!important;min-height:-moz-fit-content!important;min-height:fit-content!important}.composer-section-label{font-size:12px;font-weight:600;color:#8a8a85b3;text-transform:uppercase;letter-spacing:.05em;margin-bottom:10px;margin-top:0}.composer-suggested-prompts{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.composer-prompt-btn{font-size:13px!important;padding:8px 14px!important;border-radius:16px!important;background:#fffffff2!important;border:1px solid rgba(148,176,194,.3)!important;color:var(--text-secondary)!important;cursor:pointer!important;transition:all .2s cubic-bezier(.4,0,.2,1)!important;font-weight:500!important;white-space:nowrap!important;box-shadow:0 2px 6px #0000000f,0 1px 2px #00000008!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;display:flex!important;align-items:center!important;min-width:-moz-fit-content!important;min-width:fit-content!important}.composer-prompt-btn:hover{background:#94b0c226!important;border-color:#94b0c273!important;color:var(--text-primary)!important;transform:translateY(-2px)!important;box-shadow:0 4px 12px #94b0c240,0 2px 4px #0000000d!important}.composer-prompt-btn:active{transform:translateY(0);box-shadow:0 1px 3px #0000000d}.input-wrap{display:flex!important;align-items:center!important;background:#fffffff2!important;border:1.5px solid rgba(148,176,194,.25)!important;outline:none!important;border-radius:12px!important;padding:14px 18px 14px 20px!important;width:100%!important;max-width:100%!important;margin:0!important;box-shadow:0 4px 12px #0000000f,0 2px 4px #00000008,inset 0 1px #ffffffe6!important;transition:all .2s cubic-bezier(.4,0,.2,1)!important;backdrop-filter:blur(20px) saturate(180%)!important;-webkit-backdrop-filter:blur(20px) saturate(180%)!important}.input-wrap:focus-within{box-shadow:0 6px 20px #94b0c233,0 3px 6px #0000000d,inset 0 1px #fff!important;border-color:#94b0c280!important;background:#fff!important;transform:translateY(-2px)!important}.input{flex:1;background:transparent;border:none;border-radius:0;padding:0;outline:none;box-shadow:none;font-size:15px;transition:all .2s ease;color:var(--text-primary);font-weight:400;line-height:1.5;font-family:inherit}.input::-moz-placeholder{color:#8a8a8599;font-weight:400}.input::placeholder{color:#8a8a8599;font-weight:400}.input:disabled{opacity:.6;cursor:not-allowed}.send{border:none!important;border-radius:12px!important;background:linear-gradient(135deg,#94b0c2e6,#5c6f80e6)!important;color:#fff!important;padding:0!important;width:40px!important;height:40px!important;cursor:pointer!important;font-size:18px!important;transition:all .2s cubic-bezier(.4,0,.2,1)!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important;box-shadow:0 3px 8px #5c6f8040,0 1px 3px #0000001f!important;margin-left:12px!important}.send:hover:not(:disabled){background:linear-gradient(135deg,#94b0c2,#5c6f80)!important;box-shadow:0 6px 16px #5c6f8059,0 3px 6px #00000026!important;transform:translateY(-2px) scale(1.05)!important}.send:active:not(:disabled){transform:translateY(0) scale(.98);box-shadow:0 1px 3px #5c6f8033,0 1px 1px #0000001a}.send svg{width:18px;height:18px;stroke-width:2;color:#fff}.send:active:not(:disabled){transform:translateY(0) scale(.98)}.send:disabled{opacity:.4;cursor:not-allowed;transform:none!important;box-shadow:0 1px 2px #0000000d!important}.sheet-overlay{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:80!important;display:flex!important;justify-content:center!important;align-items:center!important;padding:clamp(.75rem,3vw,2.5rem)!important;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;animation:overlayFadeIn .22s ease-out!important}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}.sheet-overlay.dispenser-overlay{left:55%!important;right:0!important;top:0!important;bottom:0!important;width:auto!important;padding:clamp(.75rem,3vw,2rem)!important;justify-content:center!important;align-items:center!important}.sheet-card{width:min(360px,90vw)!important;max-width:min(360px,90vw)!important;max-height:min(78vh,560px);border-radius:20px;background:#ffffffeb;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 28px 60px #090c2047;border:1px solid rgba(255,255,255,.45);display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important;animation:sheetFadeIn .26s cubic-bezier(.34,1.56,.64,1);margin:0;position:relative}.product-sheet-card{width:min(320px,90vw)!important;max-width:min(320px,90vw)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;max-height:min(85vh,600px)!important}.day-sheet-card{width:min(420px,94vw)!important;max-width:min(420px,94vw)!important;max-height:min(75vh,480px)}.day-sheet-summary{display:flex;flex-wrap:wrap;gap:var(--space-3);padding:var(--space-3) var(--space-4) var(--space-2)}.day-sheet-body{padding-top:var(--space-2)!important}.day-summary-chip{display:inline-flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);border-radius:var(--radius-lg);background:#94b0c226;border:1px solid rgba(148,176,194,.25);font-size:var(--text-xs);font-weight:var(--font-semibold);color:var(--text-secondary)}.day-pill-list{display:flex;flex-direction:column;gap:var(--space-3)}.day-pill-card{display:flex;gap:var(--space-3);padding:var(--space-4);border-radius:var(--radius-lg);border:1px solid rgba(148,176,194,.2);background:#fffc;box-shadow:0 10px 30px #0f172a14}.day-pill-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:var(--font-semibold);flex-shrink:0;position:relative;overflow:hidden}.day-pill-icon:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#fff6,#fff0 60%)}.day-pill-name{margin:0;font-size:var(--text-base);font-weight:var(--font-semibold);color:var(--text-primary)}.day-pill-meta{margin:var(--space-1) 0 0 0;font-size:var(--text-sm);color:var(--text-secondary)}.day-pill-benefit{margin:var(--space-2) 0 0 0;font-size:var(--text-sm);color:var(--text-primary);line-height:var(--leading-snug)}.day-empty-state{padding:var(--space-6);text-align:center;color:var(--text-secondary);border:1px dashed rgba(148,176,194,.5);border-radius:var(--radius-lg);background:#ffffffb3}@keyframes sheetFadeIn{0%{opacity:0;transform:scale(.94) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}.sheet-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;padding:var(--space-4) var(--space-4) var(--space-3) var(--space-4)!important;border-bottom:1px solid var(--border-light)!important;margin-bottom:0!important;flex-shrink:0!important;background:#fff6!important;-webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important}.sheet-title-section{flex:1!important;min-width:0!important;padding-right:var(--space-3)!important;display:flex!important;flex-direction:column!important;gap:var(--space-2)!important}.sheet-eyebrow{font-size:var(--text-xs)!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--text-tertiary)!important;margin:0!important}.sheet-header h3{margin:0!important;color:var(--text-primary)!important;font-weight:var(--font-bold)!important;font-size:var(--text-lg)!important;line-height:1.3!important;word-break:break-word!important;overflow-wrap:break-word!important}.sheet-subtitle{margin:0!important;color:var(--text-secondary)!important;font-size:var(--text-xs)!important;line-height:var(--leading-snug)!important}.sheet-chips{display:flex!important;flex-wrap:wrap!important;gap:var(--space-1)!important;margin-bottom:0!important}.sheet-chip{display:inline-block!important;padding:var(--space-1) var(--space-2)!important;background:#94b0c226!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;color:var(--text-primary)!important;border-radius:var(--radius-sm)!important;font-size:var(--text-xs)!important;font-weight:var(--font-medium)!important;letter-spacing:.01em!important;border:1px solid rgba(148,176,194,.25)!important}.sheet-close{background:#fff6!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;border:1px solid var(--border-light)!important;font-size:var(--text-xl)!important;cursor:pointer!important;color:var(--text-secondary)!important;padding:0!important;width:28px!important;height:28px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:var(--radius-sm)!important;transition:all var(--transition-fast)!important;flex-shrink:0!important;line-height:1!important}.sheet-close:hover{background:#fff9!important;color:var(--text-primary)!important;transform:scale(1.05)!important}.sheet-body{padding:0 var(--space-4) var(--space-4) var(--space-4)!important;overflow-y:auto!important;flex:1!important;min-height:0!important}.product-sheet-body{display:flex!important;flex-direction:column!important;gap:var(--space-3)!important;padding-top:var(--space-3)!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important}.sheet-section{display:flex!important;flex-direction:column!important;gap:var(--space-1)!important;margin-bottom:0!important}.sheet-section:last-child{margin-bottom:0!important}.product-sheet-grid{display:flex!important;flex-direction:column!important;gap:var(--space-2)!important}.product-sheet-panel{background:#ffffffbf!important;border-radius:var(--radius-md)!important;border:1px solid rgba(148,176,194,.25)!important;padding:var(--space-2) var(--space-3)!important;box-shadow:0 15px 30px #0f172a0f!important;margin-bottom:0!important}.product-sheet-why{border-radius:var(--radius-lg)!important;border:1px solid rgba(148,176,194,.3)!important;background:#94b0c21f!important;padding:var(--space-2) var(--space-3)!important;box-shadow:inset 0 1px #ffffff80!important;margin-top:var(--space-2)!important}.sheet-dose-presets{display:flex!important;flex-wrap:wrap!important;gap:var(--space-2)!important}.sheet-dose-btn{border-radius:var(--radius-full)!important;border:1px solid rgba(148,176,194,.35)!important;padding:var(--space-1) var(--space-2)!important;background:#94b0c21f!important;color:var(--text-secondary)!important;font-size:var(--text-xs)!important;font-weight:var(--font-semibold)!important;cursor:pointer!important;transition:all var(--transition-fast)!important}.sheet-dose-btn.active,.sheet-dose-btn:hover{background:linear-gradient(135deg,var(--primary-accent) 0%,var(--primary-hover) 100%)!important;color:var(--text-inverse)!important;border-color:transparent!important;box-shadow:var(--shadow-sm)!important}.sheet-label{display:flex!important;align-items:center!important;gap:var(--space-1)!important;font-size:var(--text-xs)!important;font-weight:var(--font-semibold)!important;color:var(--text-tertiary)!important;text-transform:uppercase!important;letter-spacing:.05em!important}.sheet-value{color:var(--text-primary)!important;font-size:var(--text-sm)!important;line-height:var(--leading-normal)!important;font-weight:var(--font-normal)!important}.sheet-footer{padding:var(--space-3) var(--space-4)!important;border-top:1px solid var(--border-light)!important;display:flex!important;flex-direction:column!important;gap:var(--space-2)!important;background:#ffffffd9!important;-webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important;flex-shrink:0!important;margin-top:auto!important}.sheet-price-rating{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:var(--space-3)!important;font-size:var(--text-sm)!important;color:var(--text-secondary)!important}.sheet-price{font-size:var(--text-base)!important;font-weight:var(--font-semibold)!important;color:var(--text-primary)!important}.sheet-rating{font-weight:var(--font-medium)!important;color:var(--text-secondary)!important}.sheet-cta-primary{width:100%!important;padding:var(--space-2) var(--space-4)!important;border-radius:var(--radius-md)!important;font-size:var(--text-sm)!important;font-weight:var(--font-semibold)!important;cursor:pointer!important;transition:all var(--transition-base)!important;text-align:center!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;border:none!important;background:linear-gradient(135deg,var(--primary-accent) 0%,var(--primary-hover) 100%)!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;color:var(--text-inverse)!important;box-shadow:var(--shadow-sm)!important}.sheet-cta-primary:hover{transform:translateY(-2px) scale(1.01)!important;box-shadow:var(--shadow-hover)!important}.sheet-cta-primary:active{transform:translateY(0)!important}.sheet-cta-secondary{width:100%!important;padding:var(--space-2) var(--space-4)!important;border-radius:var(--radius-md)!important;font-size:var(--text-sm)!important;font-weight:var(--font-semibold)!important;cursor:pointer!important;transition:all var(--transition-base)!important;text-align:center!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:var(--space-2)!important;background:#ffffffe6!important;border:1.5px solid rgba(148,176,194,.4)!important;color:var(--text-primary)!important;box-shadow:var(--shadow-xs)!important}.sheet-cta-secondary:hover{background:#fff!important;border-color:#94b0c299!important;transform:translateY(-1px)!important;box-shadow:var(--shadow-sm)!important}.sheet-footer-actions{display:flex!important;flex-direction:column!important;gap:var(--space-2)!important;width:100%!important}.sheet-reasons-list,.sheet-benefits-list{list-style:none!important;padding:0!important;margin:var(--space-2) 0 0 0!important;display:flex!important;flex-direction:column!important;gap:var(--space-2)!important}.sheet-reason-item,.sheet-benefit-item{padding-left:var(--space-4)!important;position:relative!important;font-size:var(--text-sm)!important;line-height:1.5!important;color:var(--text-secondary)!important}.sheet-reason-item:before,.sheet-benefit-item:before{content:"•"!important;position:absolute!important;left:0!important;color:#94b0c299!important;font-weight:700!important}@media (max-width: 768px){.sheet-overlay{padding:.5rem!important}.sheet-overlay.dispenser-overlay{left:0!important;right:0!important;width:100%!important}.sheet-card{width:100%!important;max-width:100%!important;max-height:calc(100vh - 1.5rem)!important;border-radius:1rem!important}.sheet-header,.sheet-body,.sheet-footer,.day-sheet-summary{padding-left:var(--space-4)!important;padding-right:var(--space-4)!important}}.pill-tooltip{position:fixed!important;pointer-events:none!important;z-index:var(--z-tooltip)!important;display:block!important;visibility:visible!important;opacity:1!important}.pill-tooltip-content{background:var(--bg-surface);border:1px solid var(--border-light);border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);box-shadow:var(--shadow-lg);max-width:240px;font-size:var(--text-sm);line-height:var(--leading-normal);animation:fadeInDown .15s ease-out}.pill-tooltip-name{font-weight:var(--font-semibold);color:var(--text-primary);margin-bottom:var(--space-1)}.pill-tooltip-detail{color:var(--text-secondary);font-size:var(--text-xs);margin-bottom:var(--space-1)}.pill-tooltip-benefit{color:var(--text-primary);font-size:var(--text-xs);margin-top:var(--space-2);padding-top:var(--space-2);border-top:1px solid var(--border-light)}.typing-indicator{padding:var(--space-4) var(--space-5);animation:slideUp .25s ease-out}.typing-dots{display:flex;gap:var(--space-2);align-items:center}.typing-dots span{width:8px;height:8px;border-radius:var(--radius-full);background:var(--text-tertiary);animation:typingBounce 1.4s infinite ease-in-out}.typing-dots span:nth-child(2){animation-delay:.2s}.typing-dots span:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,60%,to{transform:translateY(0);opacity:.6}30%{transform:translateY(-8px);opacity:1}}.progress-indicator{position:relative;background:transparent;padding:var(--space-3) 0;margin:0 0 var(--space-3) 0;animation:fadeIn .4s ease-out}.progress-text{font-size:var(--text-xs);font-weight:var(--font-medium);color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.08em;margin-bottom:var(--space-2)}.progress-bar{height:3px;background:var(--border-light);border-radius:var(--radius-full);overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,var(--primary-accent) 0%,var(--primary-hover) 100%);border-radius:var(--radius-full);transition:width .4s cubic-bezier(.4,0,.2,1);animation:progressPulse 1.5s ease-in-out infinite}@keyframes progressPulse{0%,to{opacity:1}50%{opacity:.8}}.rec-footer{text-align:right!important;padding:var(--space-4) var(--space-6)!important;font-size:var(--text-xs)!important;color:var(--text-tertiary)!important;margin-top:var(--space-4)!important}.rec-disclaimer{font-size:var(--text-xs)!important;color:var(--text-tertiary)!important;margin:var(--space-4) 0!important;padding:var(--space-4)!important;background:#faf8f599!important;border-radius:var(--radius-sm)!important;border:1px solid var(--border-light)!important;line-height:var(--leading-relaxed)!important}div[style*="position: fixed"][style*="bottom: 10px"][style*="left: 10px"],div[style*="position: fixed"][style*="bottom:10px"][style*="left:10px"]{left:var(--space-5)!important;bottom:var(--space-3)!important;text-align:left!important;font-size:10px!important;color:var(--text-tertiary)!important;opacity:.6!important;letter-spacing:.02em!important;font-weight:var(--font-normal)!important;z-index:1!important}.welcome-card{animation:gentleBounce .5s cubic-bezier(.34,1.56,.64,1) forwards!important}.chat-scroll>div:first-child{margin-top:0!important;padding-top:0!important;margin-bottom:var(--space-6)!important}.chat-scroll>div:first-child .dashboard-card{margin-top:0!important}.chat-scroll>div[style*=marginBottom]{margin-top:0!important;margin-bottom:var(--space-6)!important}.utr-main>.dashboard{min-height:100vh;display:flex;flex-direction:column;width:100%;max-width:100vw;overflow-x:hidden}.utr-main>.dashboard>.dashboard-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:2.5rem;padding:3rem 5vw 1rem;align-items:center;flex:1}.welcome-card-section{width:100%}.pack-visual{display:flex;justify-content:center;align-items:center;width:100%}.pack-visual .dispenser-panel{position:relative;right:auto;top:auto;bottom:auto;width:100%;max-width:100%;transform:scale(1);transform-origin:center;padding:0}.utr-main>.dashboard>.chat-shell{margin-top:auto;padding:1rem 5vw 2rem;width:100%}.utr-main>.dashboard>.chat-shell>.chat-shell-inner{width:100%;max-width:100%}.dashboard-hero-section{position:relative;margin-bottom:0;padding:24px 0 0;background:radial-gradient(ellipse at center top,rgba(250,250,251,.6) 0%,transparent 70%);border-radius:0;display:flex;flex-direction:column;align-items:flex-start;max-width:1120px;width:100%}.dashboard-hero-section:before{content:"";position:absolute;top:0;left:-20%;right:-20%;height:100%;background:linear-gradient(180deg,rgba(250,250,251,.4) 0%,transparent 100%);z-index:-1;pointer-events:none}.dashboard-card{background:#fffffffa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--border-light);border-radius:24px;padding:28px 32px;box-shadow:var(--shadow-md);transition:all var(--transition-base);animation:slideUp .4s cubic-bezier(.34,1.56,.64,1);max-width:560px;margin:0 auto 0 0;position:relative;z-index:1;width:100%;box-sizing:border-box}.dashboard-card.loading{animation:pulse 1.5s ease-in-out infinite}.skeleton-header{height:32px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius-md);margin-bottom:var(--space-4);width:70%}.skeleton-text{height:20px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius-sm);margin-bottom:var(--space-2)}.skeleton-text.short{width:60%}.skeleton-buttons{display:flex;gap:var(--space-3);margin:var(--space-6) 0}.skeleton-btn{height:48px;flex:1;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius-md)}.skeleton-stats{height:16px;width:80%;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius-sm)}.dashboard-header{margin-bottom:var(--space-4);position:relative}.day-date-row{font-size:13px;font-weight:500;color:var(--text-secondary);margin-bottom:12px;letter-spacing:.02em;line-height:1.3}.dashboard-badges,.dashboard-badges-consolidated{display:flex;flex-direction:row;gap:6px;align-items:center;flex-wrap:wrap;margin-top:16px;margin-bottom:0}.stat-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;color:#8a8a85b3;white-space:nowrap;padding:5px 10px;border-radius:8px;background:#fff9;border:1px solid rgba(148,176,194,.15);transition:all .2s ease}.stat-badge-with-icon{gap:6px}.stat-badge-with-icon svg{color:#5c7a94;flex-shrink:0}.day-label{font-size:var(--text-xs);font-weight:var(--font-bold);color:var(--text-tertiary);letter-spacing:.12em;text-transform:uppercase;margin-bottom:var(--space-1)}.welcome-title{font-size:28px;font-weight:var(--font-extrabold);color:var(--text-primary);letter-spacing:-.02em;margin:0 0 12px;line-height:1.2}.welcome-subtitle{font-size:var(--text-sm);color:#8a8a85bf;line-height:1.5;margin:0;max-width:38ch}.dashboard-actions{display:flex;flex-direction:row;gap:12px;margin-top:20px;margin-bottom:0;align-items:center}.dashboard-actions .btn-primary,.dashboard-actions .btn-secondary{flex:1;width:100%;min-width:0}.logged-timestamp{display:flex;align-items:center;gap:6px;font-size:12px;color:#22c55e;font-weight:500;margin-top:var(--space-2);padding-top:var(--space-2);border-top:1px solid rgba(34,197,94,.2);animation:fadeIn .3s ease}.logged-timestamp svg{flex-shrink:0;color:#22c55e}.btn-primary,.btn-secondary{padding:var(--space-3) var(--space-5);border-radius:var(--radius-md);font-size:var(--text-sm);font-weight:var(--font-semibold);cursor:pointer;transition:all var(--transition-bounce);border:none;min-height:44px;display:flex;align-items:center;justify-content:center;letter-spacing:-.01em;position:relative;flex:1;white-space:nowrap}.btn-primary{background:linear-gradient(135deg,#7a9db0,#4a5d6e 100%,#5c6f80);color:#fff;box-shadow:var(--shadow-sm);min-height:44px;font-weight:600}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #5c6f8066;background:linear-gradient(135deg,#8aadc0,#5a6d7e 100%,#6c7f90)}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-primary.success{background:linear-gradient(135deg,#4caf50,#2e7d32);cursor:default}.btn-primary.loading{pointer-events:none}.btn-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;display:inline-block;margin-right:8px;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.btn-secondary{background:transparent;color:#5c6f80;border:1px solid rgba(148,176,194,.3);min-height:44px}.btn-secondary:hover{background:#94b0c214;border-color:#94b0c280;box-shadow:0 1px 4px #94b0c226}.btn-secondary:active{background:#94b0c21f}.action-helper{text-align:center;min-height:20px}.helper-text{font-size:var(--text-xs);color:var(--text-tertiary);font-weight:var(--font-normal)}.dashboard-stats{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;padding-top:0;margin-top:0;border-top:none}.stat-summary-item{display:inline-flex;align-items:center;gap:.375rem;white-space:nowrap}.stat-summary-row{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;font-size:var(--text-sm);color:var(--text-secondary);width:100%}.stat-summary-separator{color:var(--text-tertiary);opacity:.5;margin:0 .125rem}.stat-badge-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#94b0c2;opacity:.7}.message-prompt-card{background:#f0f9ff;border:2px solid var(--primary-accent);border-radius:var(--radius-md);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3)}.message-prompt-title{margin:0;font-weight:var(--font-semibold);color:var(--text-primary)}.message-prompt-actions{display:flex;gap:var(--space-2);flex-wrap:wrap}.message-prompt-card-gradient{background:linear-gradient(135deg,var(--primary-accent) 0%,var(--primary-hover) 100%);border-radius:var(--radius-md);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3);color:var(--text-inverse)}.message-prompt-card-gradient .message-prompt-title{color:var(--text-inverse);font-size:var(--text-base)}.message-prompt-card-gradient .message-prompt-subtitle{margin:0;font-size:var(--text-sm);opacity:.9;color:var(--text-inverse)}.message-prompt-btn-primary{background:var(--text-inverse);color:var(--primary-hover);border:none;padding:12px 24px;border-radius:var(--radius-sm);font-size:var(--text-base);font-weight:var(--font-bold);cursor:pointer;transition:all var(--transition-base);box-shadow:0 2px 8px #0000001a}.message-prompt-btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.message-prompt-btn-secondary{background:var(--text-inverse);color:var(--text-secondary);border:2px solid var(--border-medium);padding:10px 20px;border-radius:var(--radius-sm);font-size:var(--text-sm);font-weight:var(--font-semibold);cursor:pointer;transition:all var(--transition-base)}.message-prompt-btn-secondary:hover{border-color:var(--primary-accent);background:var(--bg-surface-hover);color:var(--text-primary)}.quick-metrics-strip{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;max-width:100%;width:100%}.quick-metrics-card{flex:1;min-width:0;background:var(--bg-surface);border:1px solid var(--border-light);border-radius:var(--radius-md);padding:16px 12px;text-align:center;transition:all var(--transition-base);position:relative;box-shadow:var(--shadow-xs)}.quick-metrics-card:hover{box-shadow:var(--shadow-sm);border-color:var(--border-medium)}.quick-metrics-card:hover:after{content:"";position:absolute;right:0;top:20%;bottom:20%;width:1px;background:#94b0c233}.quick-metrics-card:last-child:hover:after{display:none}.quick-metrics-card.skeleton{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;height:80px}.quick-metrics-value{font-size:28px;font-weight:var(--font-bold);color:var(--text-primary);line-height:1.1;margin-bottom:4px;letter-spacing:-.01em}.quick-metrics-label{font-size:11px;color:var(--text-tertiary);font-weight:var(--font-medium);text-transform:uppercase;letter-spacing:.5px;line-height:1.4}.stat-item-left{display:flex;align-items:center;gap:var(--space-2)}.stat-item{display:flex;align-items:center;gap:var(--space-1)}.stat-number{font-size:22px;font-weight:var(--font-bold);color:#5c6f80;line-height:1}.stat-label{font-weight:var(--font-normal);white-space:nowrap}.stat-badges{display:flex;align-items:center;gap:var(--space-4)}.stat-badge{display:inline-flex;align-items:center;gap:var(--space-1);font-size:var(--text-sm);font-weight:var(--font-normal);color:var(--text-secondary);white-space:nowrap}.stat-badge-check{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#94b0c22e;color:#94b0c2;font-size:11px;font-weight:var(--font-semibold)}.stat-divider{color:var(--border-medium);font-weight:var(--font-normal)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:var(--z-modal);padding:var(--space-4);animation:overlayFadeIn .2s ease-out}.modal-card{background:#fffffffa;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--border-light);border-radius:var(--radius-xl);box-shadow:var(--shadow-xl);max-width:520px;width:100%;max-height:calc(100vh - 32px);overflow-y:auto;animation:sheetFadeIn .25s cubic-bezier(.34,1.56,.64,1)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:var(--space-6);border-bottom:1px solid var(--border-light)}.modal-header h2{margin:0;font-size:var(--text-2xl);font-weight:var(--font-bold);color:var(--text-primary);letter-spacing:-.02em}.modal-close{background:transparent;border:none;font-size:32px;color:var(--text-secondary);cursor:pointer;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-md);transition:all var(--transition-fast);line-height:1;padding:0}.modal-close:hover{background:var(--bg-surface);color:var(--text-primary)}.modal-body{padding:var(--space-6)}.modal-footer{display:flex;gap:var(--space-3);padding:var(--space-6);border-top:1px solid var(--border-light)}.modal-footer .btn-primary,.modal-footer .btn-secondary{flex:1}.form-section{margin-bottom:var(--space-6)}.form-section:last-child{margin-bottom:0}.form-label{display:block;font-size:var(--text-sm);font-weight:var(--font-semibold);color:var(--text-primary);margin-bottom:var(--space-3);letter-spacing:-.01em}.form-helper{font-size:var(--text-xs);color:var(--text-tertiary);margin-top:var(--space-2);line-height:var(--leading-normal)}.supplement-counter{display:flex;align-items:center;gap:var(--space-4);background:var(--bg-surface);padding:var(--space-3);border-radius:var(--radius-lg);border:1px solid var(--border-light);width:-moz-fit-content;width:fit-content}.counter-btn{width:36px;height:36px;border:1px solid var(--border-medium);background:#fff;border-radius:var(--radius-md);font-size:20px;font-weight:var(--font-bold);color:var(--text-primary);cursor:pointer;transition:all var(--transition-fast);display:flex;align-items:center;justify-content:center}.counter-btn:hover{background:var(--bg-surface);border-color:#5c6f80}.counter-btn:active{transform:scale(.95)}.counter-value{font-size:24px;font-weight:var(--font-bold);color:var(--text-primary);min-width:40px;text-align:center}.timing-options{display:flex;flex-direction:column;gap:var(--space-2)}.radio-option{display:flex;align-items:center;padding:var(--space-3) var(--space-4);background:var(--bg-surface);border:1.5px solid var(--border-light);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-fast)}.radio-option:hover{background:#94b0c20d;border-color:#94b0c24d}.radio-option input[type=radio]{margin-right:var(--space-3);width:18px;height:18px;cursor:pointer;accent-color:#5c6f80}.radio-option:has(input:checked){background:#94b0c21f;border-color:#5c6f80}.radio-label{font-size:var(--text-sm);color:var(--text-primary);font-weight:var(--font-medium)}.goals-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:var(--space-2)}.goal-chip{padding:var(--space-3) var(--space-4);background:var(--bg-surface);border:1.5px solid var(--border-light);border-radius:var(--radius-md);font-size:var(--text-sm);font-weight:var(--font-medium);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast);text-align:center}.goal-chip:hover{background:#94b0c214;border-color:#94b0c24d;color:var(--text-primary)}.goal-chip.selected{background:#94b0c22e;border-color:#5c6f80;color:var(--text-primary);font-weight:var(--font-semibold)}.empty-state-card{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--border-light);border-radius:var(--radius-xl);padding:var(--space-10) var(--space-8);box-shadow:var(--shadow-md);text-align:center;max-width:560px;animation:slideUp .4s cubic-bezier(.34,1.56,.64,1)}.empty-state-icon{width:80px;height:80px;margin:0 auto var(--space-6) auto;border-radius:var(--radius-full);background:linear-gradient(135deg,#94b0c226,#94b0c20d);display:flex;align-items:center;justify-content:center;color:#5c6f80}.empty-state-title{font-size:28px;font-weight:var(--font-extrabold);color:var(--text-primary);letter-spacing:-.02em;margin:0 0 var(--space-3) 0;line-height:1.2}.empty-state-subtitle{font-size:var(--text-base);color:var(--text-secondary);line-height:var(--leading-normal);margin:0 0 var(--space-8) 0;max-width:44ch;margin-left:auto;margin-right:auto}.empty-state-features{display:flex;flex-direction:column;gap:var(--space-3);margin-bottom:var(--space-8);text-align:left}.feature-item{display:flex;align-items:center;gap:var(--space-3);color:var(--text-secondary);font-size:var(--text-sm)}.feature-item svg{color:#4caf50;flex-shrink:0}.empty-state-card .btn-primary{width:100%;max-width:300px;margin:0 auto}.page-container{max-width:1600px;margin:0 auto;padding:var(--space-12) var(--space-10) var(--space-16) var(--space-10);animation:fadeIn .4s ease-out}.plan-page{max-width:1280px;margin:0 auto;padding:72px var(--space-10) 64px var(--space-10);background:transparent;position:relative}@keyframes planPageFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes planCardSlideUp{0%{opacity:0;transform:translateY(40px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.plan-page-animate{animation:planPageFadeIn .6s cubic-bezier(.33,1,.68,1) forwards;opacity:0}.plan-page-animate-delay-1{animation-delay:.1s}.plan-page-animate-delay-4{animation-delay:.4s}.plan-card-animate{animation:planCardSlideUp .7s cubic-bezier(.33,1,.68,1) forwards;opacity:0}.plan-selection-header{text-align:center;margin-bottom:72px;max-width:700px;margin-left:auto;margin-right:auto;position:relative}.plan-header-background{position:absolute;top:-40px;left:50%;transform:translate(-50%);width:600px;height:200px;background:radial-gradient(circle at center,rgba(148,176,194,.08),transparent 70%);pointer-events:none;z-index:0}.plan-selection-title{font-size:48px;font-weight:700;color:var(--text-primary);letter-spacing:-.02em;margin:0 0 var(--space-4) 0;line-height:1.2;position:relative;z-index:1}.plan-selection-subtitle{font-size:var(--text-lg);color:#0009;margin:0;line-height:var(--leading-relaxed);font-weight:400;position:relative;z-index:1}.plan-page-header{text-align:center;margin-bottom:var(--space-12)}.back-btn{display:inline-flex;align-items:center;gap:var(--space-2);background:transparent;border:none;color:var(--text-secondary);font-size:var(--text-sm);font-weight:var(--font-medium);cursor:pointer;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);transition:all var(--transition-fast);margin-bottom:var(--space-6)}.back-btn:hover{background:var(--bg-surface);color:var(--text-primary)}.plan-header-content,.history-header-content,.settings-header-content{margin-bottom:var(--space-8)}.history-header-content{text-align:center!important}.plan-page-title{font-size:48px;font-weight:var(--font-extrabold);color:var(--text-primary);letter-spacing:-.03em;margin:0 0 var(--space-4) 0;line-height:1.1}.plan-page-subtitle{font-size:var(--text-lg);color:var(--text-secondary);line-height:var(--leading-relaxed);margin:0 auto;max-width:70ch}.billing-toggle{display:inline-flex;background:var(--bg-surface);border:1.5px solid var(--border-light);border-radius:var(--radius-lg);padding:var(--space-1);gap:var(--space-1)}.billing-option{background:transparent;border:none;padding:var(--space-2) var(--space-4);border-radius:var(--radius-md);font-size:var(--text-sm);font-weight:var(--font-semibold);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast);display:flex;align-items:center;gap:var(--space-2);position:relative}.billing-option:hover{color:var(--text-primary)}.billing-option.active{background:linear-gradient(135deg,#94b0c2,#5c6f80);color:#fff;box-shadow:var(--shadow-sm)}.savings-badge{background:#4caf5026;color:#2e7d32;padding:2px 8px;border-radius:var(--radius-sm);font-size:11px;font-weight:var(--font-bold);letter-spacing:.02em}.billing-option.active .savings-badge{background:#ffffff40;color:#fff}.plans-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-6);margin-bottom:64px;align-items:start}.plan-trust-bar{display:flex;justify-content:center;align-items:center;gap:var(--space-8);padding:var(--space-6) var(--space-8);background:#00000005;border-radius:var(--radius-lg);margin-bottom:64px;flex-wrap:wrap}.trust-item{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm);color:var(--text-secondary);font-weight:500}.trust-item svg{color:#4caf50;flex-shrink:0}.skeleton-title{height:48px;width:400px;background:linear-gradient(90deg,#0000000f 25%,#0000001f,#0000000f 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius-md);margin:0 auto var(--space-3) auto}.skeleton-subtitle{height:24px;width:500px;background:linear-gradient(90deg,#0000000f 25%,#0000001f,#0000000f 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius-md);margin:0 auto}.plan-card-skeleton{background:#fff;border:1px solid var(--border-light);border-radius:24px;padding:28px;height:500px;background:linear-gradient(90deg,#0000000a 25%,#00000014,#0000000a 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@media (max-width: 1280px){.plans-grid{gap:var(--space-6)}.plan-card{padding:var(--space-8)}}.plan-comparison{margin-top:var(--space-20);padding-top:var(--space-16);border-top:1px solid var(--border-light)}.comparison-title{font-size:var(--text-3xl);font-weight:800;color:var(--text-primary);text-align:center;margin:0 0 var(--space-10) 0;letter-spacing:-.03em}.comparison-table{max-width:1000px;margin:0 auto;background:#fff;border-radius:var(--radius-xl);border:1px solid var(--border-light);overflow:hidden;box-shadow:0 2px 12px #0000000d}.comparison-header{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;background:var(--bg-surface);border-bottom:2px solid var(--border-light)}.comparison-row{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;border-bottom:1px solid var(--border-light);transition:background-color var(--transition-fast)}.comparison-row:last-child{border-bottom:none}.comparison-row:hover{background:var(--bg-surface-hover)}.comparison-label{padding:var(--space-5) var(--space-6);font-size:var(--text-sm);font-weight:600;color:var(--text-primary);border-right:1px solid var(--border-light);display:flex;align-items:center}.comparison-header .comparison-label{font-weight:700;font-size:var(--text-base);color:var(--text-primary);border-right:none}.comparison-plan{padding:var(--space-5) var(--space-6);font-size:var(--text-sm);font-weight:600;color:var(--text-primary);text-align:center;border-right:1px solid var(--border-light);display:flex;align-items:center;justify-content:center}.comparison-plan:last-child{border-right:none}.comparison-value{padding:var(--space-5) var(--space-6);text-align:center;display:flex;align-items:center;justify-content:center;border-right:1px solid var(--border-light)}.comparison-value:last-child{border-right:none}.comparison-value svg{color:var(--success);width:20px;height:20px}.comparison-dash{color:var(--text-tertiary);font-weight:400}@media (max-width: 900px){.plan-page{padding:var(--space-16) var(--space-6) var(--space-20) var(--space-6)}.plan-selection-header{margin-bottom:var(--space-12)}.plan-selection-title{font-size:var(--text-3xl)}.plans-grid{grid-template-columns:1fr;gap:var(--space-6)}.plan-card{padding:var(--space-8)}.price-amount{font-size:36px}.comparison-table{overflow-x:auto}.comparison-header,.comparison-row{min-width:600px}}.plan-card{background:#fff;border:1px solid var(--border-light);border-radius:24px;padding:28px;transition:all var(--transition-base);position:relative;display:flex;flex-direction:column;box-shadow:0 4px 14px #0000000f}.plan-card.recommended{border:1px solid var(--border-light);box-shadow:0 4px 14px #0000000f}.plan-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000001f}.plan-card.recommended:hover{box-shadow:0 0 14px #94b0c240,0 8px 24px #0000001f}.plan-card.current{background:#4caf5005;border-color:#4caf50}.plan-recommended-badge{position:absolute;top:-12px;left:var(--space-6);background:linear-gradient(135deg,#94b0c2,#5c6f80);color:#fff;padding:var(--space-1) var(--space-3);border-radius:var(--radius-sm);font-size:var(--text-xs);font-weight:600;letter-spacing:.02em;box-shadow:0 2px 8px #00000026}.plan-icon-wrapper{margin-bottom:var(--space-6);display:flex;justify-content:center}.plan-icon{width:64px;height:64px;border-radius:var(--radius-lg);background:linear-gradient(135deg,#94b0c226,#94b0c214);display:flex;align-items:center;justify-content:center;color:#5c6f80;transition:all var(--transition-fast)}.plan-card:hover .plan-icon{transform:rotate(5deg) scale(1.05);background:linear-gradient(135deg,#94b0c240,#94b0c226)}.plan-card-header{margin-bottom:var(--space-6)}.plan-name{font-size:var(--text-2xl);font-weight:700;color:var(--text-primary);margin:0 0 var(--space-2) 0;letter-spacing:-.02em;line-height:1.2}.plan-intent{font-size:var(--text-sm);color:var(--text-secondary);margin:0;line-height:var(--leading-relaxed);font-weight:400}.plan-pricing{margin-bottom:var(--space-6);padding-bottom:var(--space-6);border-bottom:1px solid var(--border-light)}.price-wrapper{display:flex;align-items:baseline;gap:4px;margin-bottom:var(--space-2);flex-wrap:wrap}.price-currency{font-size:24px;font-weight:600;color:var(--text-primary);line-height:1}.price-amount{font-size:48px;font-weight:700;color:var(--text-primary);letter-spacing:-.03em;line-height:1}.price-separator{font-size:32px;font-weight:400;color:var(--text-secondary);margin:0 2px}.price-unit{font-size:18px;font-weight:500;color:var(--text-secondary);margin-left:4px}.plan-price-note{font-size:var(--text-xs);color:var(--text-tertiary);margin:var(--space-2) 0 0 0;line-height:var(--leading-normal);font-weight:400}.annual-savings{font-size:var(--text-xs);color:#2e7d32;font-weight:var(--font-semibold);margin-top:var(--space-1);display:flex;align-items:center;gap:var(--space-1)}.plan-cta{width:100%;padding:var(--space-4) var(--space-6);border-radius:var(--radius-md);font-size:var(--text-base);font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-3);cursor:pointer;transition:all var(--transition-fast);border:none;min-height:48px;letter-spacing:-.01em;box-shadow:0 2px 4px #0000000d}.plan-cta.primary{background:linear-gradient(135deg,#94b0c2,#5c6f80);color:#fff}.plan-cta.primary:hover{background:linear-gradient(135deg,#a4c0d2,#6c7f90);box-shadow:0 4px 12px #94b0c266;transform:translateY(-1px)}.plan-cta.secondary{background:var(--bg-surface);color:var(--text-primary);border:1.5px solid var(--border-light)}.plan-cta.secondary:hover{background:var(--bg-surface-hover);border-color:var(--border-default);box-shadow:0 4px 12px #0000001a;transform:translateY(-1px)}.plan-cta.current{background:transparent;color:#2e7d32;border:1.5px solid #4caf50;cursor:default;box-shadow:none}.plan-cta.current:hover{background:transparent;transform:none}.plan-cta svg{transition:transform var(--transition-fast)}.plan-cta:hover svg{transform:translate(2px)}.plan-microcopy{font-size:var(--text-xs);color:var(--text-tertiary);margin:0 0 var(--space-6) 0;line-height:var(--leading-relaxed);font-weight:400;text-align:center}.plan-benefits{display:flex;flex-direction:column;gap:var(--space-3);flex:1;background:#00000005;padding:var(--space-5);border-radius:var(--radius-lg);margin-top:var(--space-4)}.benefits-label{font-size:var(--text-sm);font-weight:600;color:var(--text-primary);margin-bottom:var(--space-3);text-transform:uppercase;letter-spacing:.05em;font-size:11px}.benefits-list{display:flex;flex-direction:column;gap:var(--space-3)}.benefit-item{font-size:var(--text-sm);line-height:var(--leading-relaxed);color:var(--text-secondary);display:flex;align-items:flex-start;gap:var(--space-2);padding-bottom:var(--space-3);border-bottom:1px solid rgba(0,0,0,.05)}.benefit-item:last-child{border-bottom:none;padding-bottom:0}.benefit-icon{color:#4caf50;flex-shrink:0;margin-top:2px}.benefit-text{font-weight:400;flex:1}.plan-footer{max-width:100%;margin:0 auto}.faq-section{background:#fff9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--border-light);border-radius:var(--radius-xl);padding:var(--space-10);margin-bottom:var(--space-8)}.faq-title{font-size:24px;font-weight:var(--font-bold);color:var(--text-primary);text-align:center;margin:0 0 var(--space-8) 0;letter-spacing:-.01em}.faq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:var(--space-6)}.faq-item{display:flex;flex-direction:column;gap:var(--space-2)}.faq-question{font-size:var(--text-base);font-weight:var(--font-semibold);color:var(--text-primary);margin:0;line-height:var(--leading-tight)}.faq-answer{font-size:var(--text-sm);color:var(--text-secondary);line-height:var(--leading-normal);margin:0}.contact-support{text-align:center;padding:var(--space-6)}.contact-support p{font-size:var(--text-sm);color:var(--text-secondary);margin:0}.contact-support a{color:#5c6f80;font-weight:var(--font-semibold);text-decoration:none;transition:color var(--transition-fast)}.contact-support a:hover{color:#94b0c2;text-decoration:underline}.history-page-wrapper{max-width:1280px;width:100%;margin:0 auto;padding:56px var(--space-10) 72px var(--space-10);position:relative}@keyframes historyPageFadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes historyCardSlideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes historyItemFadeIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.history-page-animate{animation:historyPageFadeIn .6s cubic-bezier(.33,1,.68,1) forwards;opacity:0}.history-page-animate-delay-1{animation-delay:.1s}.history-page-animate-delay-2{animation-delay:.2s}.history-page-animate-delay-3{animation-delay:.3s}.history-page-animate-delay-4{animation-delay:.4s}.history-card-animate{animation:historyCardSlideUp .7s cubic-bezier(.33,1,.68,1) forwards;opacity:0}.history-card-animate-delay{animation-delay:.15s}.history-item-animate{animation:historyItemFadeIn .5s cubic-bezier(.33,1,.68,1) forwards;opacity:0}.history-header{margin-bottom:72px}.history-header-content{margin-bottom:0;text-align:center!important;display:block}.history-title{font-size:48px;font-weight:700;color:var(--text-primary);letter-spacing:-.03em;margin:0 auto var(--space-4) auto;line-height:1.1}.adherence-overview-section{margin-bottom:48px;background:#fff;border-radius:12px;padding:40px;box-shadow:0 1px 3px #0000000a,0 1px 2px #0000000f;border:1px solid rgba(0,0,0,.08)}.adherence-overview-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px;flex-wrap:wrap;gap:24px;padding-bottom:24px;border-bottom:1px solid rgba(0,0,0,.06)}.adherence-overview-title{font-size:20px;font-weight:600;color:#000000e6;margin:0 0 4px;letter-spacing:-.01em}.adherence-overview-subtitle{font-size:14px;color:#00000080;margin:0;font-weight:400}.history-period-selector{display:flex;gap:8px;flex-wrap:wrap}.history-period-btn{padding:8px 16px;border:1.5px solid #e9ecef;border-radius:8px;background:#fff;color:var(--text-secondary);font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.history-period-btn:hover{border-color:#94b0c2;color:var(--text-primary);background:#f8f9fa}.history-period-btn.active{background:#000000e6;color:#fff;border-color:#000000e6}.adherence-overview-content{display:flex;flex-direction:column;gap:32px}.adherence-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.adherence-stat-card{background:#00000005;border-radius:8px;padding:20px;text-align:center;border:1px solid rgba(0,0,0,.06);transition:all .2s ease;overflow:hidden;word-wrap:break-word;overflow-wrap:break-word}.adherence-stat-card:hover{background:#0000000a;border-color:#0000001a}.adherence-stat-value{font-size:32px;font-weight:700;color:#000000e6;line-height:1;margin-bottom:6px;letter-spacing:-.02em;word-wrap:break-word;overflow-wrap:break-word}.adherence-stat-label{font-size:12px;color:#00000080;font-weight:500;text-transform:uppercase;letter-spacing:.5px;word-wrap:break-word;overflow-wrap:break-word}.adherence-heatmap-integrated{padding-top:32px;border-top:1px solid rgba(0,0,0,.06)}.heatmap-header-integrated{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;flex-wrap:wrap;gap:16px}.heatmap-title-integrated{font-size:16px;font-weight:600;color:#000000e6;margin:0;letter-spacing:-.01em}.heatmap-legend-integrated{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.legend-item-integrated{display:flex;align-items:center;gap:8px;font-size:12px;color:#0009;font-weight:500}.legend-color-integrated{width:14px;height:14px;border-radius:3px;border:1px solid rgba(0,0,0,.08)}.legend-color-integrated.completed{background:#000000d9;border-color:#0003}.legend-color-integrated.missed{background:#0000000f}.legend-color-integrated.today{background:#0000001f;border-color:#0003}.heatmap-container-integrated{margin-top:16px}.heatmap-week-labels-integrated{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-bottom:10px}.heatmap-week-label-integrated{font-size:11px;font-weight:600;color:#00000080;text-transform:uppercase;letter-spacing:.8px;text-align:center;padding:6px 0}.heatmap-day-labels-integrated{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:10px}.heatmap-day-label-integrated{font-size:11px;font-weight:600;color:#0006;text-align:center;padding:4px 0;text-transform:uppercase;letter-spacing:.5px}.heatmap-grid-integrated{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.heatmap-day-integrated{aspect-ratio:1;border-radius:6px;position:relative;transition:all .2s ease;cursor:pointer;display:flex;align-items:center;justify-content:center;border:1.5px solid transparent;overflow:hidden}.heatmap-day-integrated:hover{transform:scale(1.05);border-color:#0000001a;z-index:1}.heatmap-day-integrated.completed{background:#000000d9;border-color:#0003}.heatmap-day-integrated.missed{background:#0000000f;border-color:#00000014}.heatmap-day-integrated.today{background:#0000001f;border:1.5px solid rgba(0,0,0,.25)}.heatmap-day-number-integrated{font-size:11px;font-weight:600;color:#000000b3;position:absolute;top:4px;left:4px;line-height:1;z-index:2}.heatmap-day-integrated.completed .heatmap-day-number-integrated{color:#fffffff2}.heatmap-day-integrated.today .heatmap-day-number-integrated{color:#000000e6;font-weight:700}.heatmap-day-check-integrated{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;display:flex;align-items:center;justify-content:center;z-index:3}.history-subtitle{font-size:var(--text-lg);color:#0009;line-height:var(--leading-relaxed);margin:0 auto;text-align:center!important;display:block;font-weight:400}.history-content-header{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-10);margin-bottom:var(--space-6)}.content-header-section{display:flex;flex-direction:column;gap:var(--space-1)}.content-header-title{font-size:20px;font-weight:700;color:#000000e6;margin:0;letter-spacing:-.01em}.content-header-subtitle{font-size:var(--text-sm);color:#0009;font-weight:500;margin:0}.history-content{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-10);align-items:start;margin-bottom:64px}.current-stack-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:32px;box-shadow:0 1px 3px #0000000a,0 1px 2px #0000000f;transition:all .2s ease}.current-stack-card:hover{box-shadow:0 2px 8px #00000014,0 1px 4px #0000000f;border-color:#0000001f}.stack-header{display:flex;align-items:center;justify-content:flex-end;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid rgba(0,0,0,.06)}.adherence-badge-text{background:#0000000f;color:#000c;font-size:12px;font-weight:600;padding:6px 14px;border-radius:6px;border:1px solid rgba(0,0,0,.1);text-transform:uppercase;letter-spacing:.5px}.stack-list{display:flex;flex-direction:column;gap:0}.stack-item{display:flex;align-items:center;gap:16px;padding:16px;background:transparent;border:1px solid transparent;border-bottom:1px solid rgba(0,0,0,.06);border-radius:12px;transition:all .2s cubic-bezier(.4,0,.2,1);position:relative;margin-bottom:8px}.stack-item:last-child{border-bottom:none;margin-bottom:0}.stack-item:hover{background:linear-gradient(90deg,rgba(0,0,0,.02) 0%,transparent 100%);border-color:#0000000f;transform:translate(4px);box-shadow:0 2px 8px #0000000a;padding-left:20px}.stack-pill-icon{width:48px;height:48px;border-radius:var(--radius-md);background:linear-gradient(135deg,#94b0c226,#94b0c214);display:flex;align-items:center;justify-content:center;color:#5c6f80;flex-shrink:0;transition:transform var(--transition-fast),background var(--transition-fast)}.stack-item:hover .stack-pill-icon{transform:rotate(5deg);background:linear-gradient(135deg,#94b0c240,#94b0c226)}.stack-info{flex:1;min-width:0}.stack-name{font-size:var(--text-base);font-weight:600;color:var(--text-primary);margin-bottom:var(--space-1);word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.stack-details{font-size:var(--text-xs);color:var(--text-tertiary);font-weight:400;word-wrap:break-word;overflow-wrap:break-word}.stack-status-wrapper{display:flex;align-items:center;gap:var(--space-2)}.stack-status{padding:var(--space-1) var(--space-3);border-radius:var(--radius-sm);font-size:var(--text-xs);font-weight:600;white-space:nowrap;display:flex;align-items:center;gap:var(--space-1)}.stack-status.active{background:#4caf501a;color:#2e7d32}.status-dot{width:6px;height:6px;border-radius:50%;background:#4caf50;display:inline-block}.stack-overflow-menu{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:var(--radius-sm);color:var(--text-tertiary);cursor:pointer;transition:all var(--transition-fast);opacity:0}.stack-item:hover .stack-overflow-menu{opacity:1}.stack-overflow-menu:hover{background:#0000000d;color:var(--text-primary)}.empty-stack{text-align:center;padding:var(--space-8) var(--space-4);color:var(--text-tertiary)}.empty-stack p{margin:0 0 var(--space-2) 0}.empty-helper{font-size:var(--text-sm)}.history-timeline{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:32px;box-shadow:0 1px 3px #0000000a,0 1px 2px #0000000f;transition:all .2s ease}.history-timeline:hover{box-shadow:0 2px 8px #00000014,0 1px 4px #0000000f;border-color:#0000001f}.timeline-container{position:relative}.timeline-list{display:flex;flex-direction:column;gap:0;margin-bottom:var(--space-6);position:relative;z-index:1}.timeline-entry{display:flex;gap:var(--space-4);padding:18px 16px;border-radius:12px;transition:all .2s cubic-bezier(.4,0,.2,1);position:relative;margin-bottom:8px;border:1px solid transparent}.timeline-entry:hover{background:#00000005;transform:translate(4px);border-color:#0000000d;box-shadow:0 2px 8px #0000000a}.timeline-entry.completed{background:#00000005}.timeline-entry.completed:hover{background:#0000000a}.timeline-entry.today{background:#00000008;border-color:#0000001a}.timeline-entry.today:hover{background:#0000000d}.timeline-marker{width:48px;display:flex;align-items:flex-start;justify-content:center;flex-shrink:0;padding-top:var(--space-1);position:relative;z-index:2}.timeline-bullet{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;z-index:3;transition:all .3s cubic-bezier(.4,0,.2,1)}.timeline-bullet.completed{background:#000000d9;color:#fff;box-shadow:0 0 0 3px #0000001a}.timeline-entry.completed:hover .timeline-bullet.completed{box-shadow:0 0 0 4px #00000026}.timeline-bullet.missed{background:#fff;border:2px solid rgba(0,0,0,.15);box-shadow:0 0 0 3px #00000008}.timeline-bullet.today{background:#00000026;border:2px solid rgba(0,0,0,.3);box-shadow:0 0 0 3px #00000014}.timeline-entry.today:hover .timeline-bullet.today{box-shadow:0 0 0 4px #0000001f}.timeline-content{flex:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word}.timeline-header{display:flex;align-items:center;gap:var(--space-3);margin-bottom:var(--space-2);flex-wrap:wrap}.timeline-day{font-size:var(--text-base);font-weight:var(--font-semibold);color:var(--text-primary);word-wrap:break-word;overflow-wrap:break-word}.timeline-date{font-size:var(--text-sm);color:var(--text-tertiary);word-wrap:break-word;overflow-wrap:break-word}.timeline-body{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);word-wrap:break-word;overflow-wrap:break-word}.timeline-status{font-size:var(--text-sm);font-weight:600;padding:4px 10px;border-radius:6px;display:inline-flex;align-items:center;gap:6px;font-weight:var(--font-medium)}.timeline-status.success{background:#0000000f;color:#000c;border:1px solid rgba(0,0,0,.1)}.timeline-status.pending{background:#0000000a;color:#000000b3;border:1px solid rgba(0,0,0,.08)}.timeline-status.missed{background:#00000005;color:#00000080;border:1px solid rgba(0,0,0,.06)}.timeline-time{font-size:var(--text-sm);color:var(--text-tertiary)}.timeline-show-more{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 20px;background:linear-gradient(135deg,#94b0c20d,#94b0c205);border:1.5px solid rgba(148,176,194,.2);border-radius:12px;color:#5c6f80;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);margin-top:16px}.timeline-show-more:hover{background:linear-gradient(135deg,#94b0c21a,#94b0c20d);border-color:#94b0c2;color:#3a4a5c;transform:translateY(-2px);box-shadow:0 4px 12px #94b0c233}.timeline-show-more svg{transition:transform var(--transition-fast)}.timeline-empty{text-align:center;padding:var(--space-8);color:var(--text-secondary)}.timeline-empty-helper{font-size:var(--text-sm);color:var(--text-tertiary);margin-top:var(--space-2)}.timeline-footer{padding-top:var(--space-6);border-top:1px solid var(--border-light)}.timeline-note{font-size:var(--text-sm);color:var(--text-secondary);line-height:var(--leading-normal);margin:0;text-align:center}.heatmap-title{font-size:24px;font-weight:800;color:#000000f2;margin:0 0 32px;letter-spacing:-.02em;display:flex;align-items:center;gap:12px}.heatmap-title:before{content:"";width:4px;height:24px;background:linear-gradient(180deg,#10b981,#3b82f6);border-radius:2px}.heatmap-container{margin-bottom:var(--space-6)}.heatmap-week-labels{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-bottom:12px;padding:0 2px}.heatmap-week-label{font-size:12px;font-weight:700;color:#0009;text-transform:uppercase;letter-spacing:1px;text-align:center;padding:8px 12px;background:#00000005;border-radius:8px;border:1px solid rgba(0,0,0,.05)}.heatmap-day-labels{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:12px;padding:0 2px}.heatmap-day-label{font-size:12px;font-weight:700;color:#00000080;text-align:center;padding:6px 0;text-transform:uppercase;letter-spacing:.5px}.heatmap-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:var(--space-6)}.heatmap-day{aspect-ratio:1;border-radius:12px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer;display:flex;align-items:center;justify-content:center;border:2.5px solid transparent;overflow:hidden;font-weight:600}.heatmap-day:hover{transform:scale(1.12) translateY(-2px);box-shadow:0 8px 20px #00000026;z-index:2;border-color:#00000026}.heatmap-day.completed{background:linear-gradient(135deg,#10b981,#059669);border-color:#10b98133;box-shadow:0 2px 4px #10b98133}.heatmap-day.completed:hover{box-shadow:0 4px 12px #10b9814d;border-color:#10b98166}.heatmap-day.missed{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border-color:#0000000d}.heatmap-day.missed:hover{background:linear-gradient(135deg,#e5e7eb,#d1d5db);box-shadow:0 4px 12px #0000001a}.heatmap-day.today{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:2px solid #3b82f6;box-shadow:0 2px 8px #3b82f640}.heatmap-day.today:hover{box-shadow:0 4px 16px #3b82f659;border-color:#2563eb}.heatmap-day-number{font-size:13px;font-weight:700;color:#000000bf;position:absolute;top:6px;left:6px;line-height:1;z-index:2}.heatmap-day.completed .heatmap-day-number{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.1)}.heatmap-day.today .heatmap-day-number{color:#1e40af;font-weight:800;font-size:14px}.heatmap-day-check{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;opacity:1;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 1px 2px rgba(0,0,0,.2));z-index:3}.heatmap-today-ring{position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;border:2px solid #3b82f6;border-radius:12px;animation:pulse-ring 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse-ring{0%,to{opacity:.5;transform:scale(1)}50%{opacity:.8;transform:scale(1.05)}}.heatmap-legend{display:flex;align-items:center;justify-content:center;gap:var(--space-6);flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-xs);color:var(--text-tertiary);font-weight:500}.legend-color{width:16px;height:16px;border-radius:var(--radius-sm)}.legend-color.completed{background:linear-gradient(135deg,#10b981,#059669);border:1px solid rgba(16,185,129,.2)}.legend-color.missed{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border:1px solid rgba(0,0,0,.05)}.legend-color.today{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:2px solid #3b82f6}.history-page-footer{margin-top:72px;padding-top:var(--space-8);border-top:1px solid var(--border-light);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:var(--space-4)}.footer-links{display:flex;gap:var(--space-6);flex-wrap:wrap}.footer-links a{font-size:var(--text-sm);color:var(--text-tertiary);text-decoration:none;font-weight:500;transition:color var(--transition-fast)}.footer-links a:hover{color:var(--text-primary)}.footer-powered-by{font-size:var(--text-xs);color:#00000080;margin:0;opacity:.7}.settings-page-container{position:fixed;top:var(--utr-header-height);left:0;right:0;bottom:0;width:100%;height:calc(100vh - var(--utr-header-height));background:var(--bg-base);animation:fadeIn .4s ease-out;display:flex;flex-direction:column;overflow:hidden;-webkit-overflow-scrolling:touch}.settings-fixed-header{position:sticky;top:0;z-index:50;background:#ffffffd9;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border-light);box-shadow:var(--shadow-xs);padding:var(--space-4) 0;flex-shrink:0}.settings-header-inner{max-width:1200px;margin:0 auto;padding:0 var(--space-6);display:flex;align-items:center;gap:var(--space-4)}.settings-back-btn{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);background:transparent;border:none;border-radius:var(--radius-md);color:var(--text-secondary);font-size:var(--text-sm);font-weight:var(--font-medium);cursor:pointer;transition:all var(--transition-fast);letter-spacing:-.01em}.settings-back-btn:hover{background:#94b0c214;color:var(--text-primary)}.settings-header-text{flex:1}.settings-main-title{font-size:var(--text-3xl);font-weight:var(--font-bold);color:var(--text-primary);letter-spacing:-.02em;margin:0 0 var(--space-1) 0;line-height:1.2}.settings-main-subtitle{font-size:var(--text-base);color:var(--text-secondary);margin:0;line-height:var(--leading-snug)}.settings-save-btn{display:flex;align-items:center;gap:var(--space-2);background:var(--primary-accent);color:var(--text-inverse);border:none;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);font-size:var(--text-sm);font-weight:var(--font-medium);cursor:pointer;transition:all var(--transition-fast);white-space:nowrap;box-shadow:var(--shadow-xs)}.settings-save-btn:hover{background:var(--primary-hover);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.settings-save-btn:active{transform:translateY(0)}.settings-main-content{max-width:1200px;width:100%;margin:0 auto;padding:var(--space-8) var(--space-6);display:grid;grid-template-columns:240px 1fr;gap:var(--space-8);align-items:start;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;position:relative}.settings-sidebar{position:sticky;top:var(--space-8);align-self:start;height:-moz-fit-content;height:fit-content;display:flex;flex-direction:column}.settings-nav-list{background:var(--bg-surface);border:1px solid var(--border-light);border-radius:var(--radius-base);padding:var(--space-2);box-shadow:var(--shadow-xs);flex:1;display:flex;flex-direction:column}.settings-nav-item{position:relative;width:100%;display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);background:transparent;border:none;border-radius:var(--radius-md);font-size:var(--text-base);font-weight:var(--font-medium);color:var(--text-secondary);text-align:left;cursor:pointer;transition:all var(--transition-fast);margin-bottom:var(--space-1);letter-spacing:-.01em}.settings-nav-item:last-child{margin-bottom:0}.settings-nav-item:hover{background:#94b0c214;color:var(--text-primary)}.settings-nav-item.active{background:#94b0c226;color:var(--text-primary);font-weight:var(--font-semibold)}.settings-nav-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px}.settings-nav-label{flex:1}.settings-nav-indicator{display:none}.settings-content-panel{background:var(--bg-surface);border:1px solid var(--border-light);border-radius:var(--radius-base);box-shadow:var(--shadow-xs);width:100%;position:relative;align-self:start;display:flex;flex-direction:column;height:auto;overflow:visible}.settings-content-section{animation:slideUp .3s ease-out;display:flex;flex-direction:column;width:100%;padding:var(--space-8);padding-bottom:var(--space-16);box-sizing:border-box;flex-grow:0;flex-shrink:0}.settings-section-header{margin-bottom:var(--space-8);padding-bottom:var(--space-4);border-bottom:1px solid var(--border-light)}.settings-section-title{font-size:var(--text-2xl);font-weight:var(--font-bold);color:var(--text-primary);margin:0 0 var(--space-2) 0;letter-spacing:-.01em;line-height:1.2}.settings-section-description{font-size:var(--text-base);color:var(--text-secondary);margin:0;line-height:var(--leading-snug)}.settings-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0}.settings-form-stack{display:flex;flex-direction:column;gap:0;flex:1}.settings-form-group,.settings-form-group-full{display:flex;flex-direction:column;gap:8px;margin-bottom:var(--space-6)}.settings-form-group-full{grid-column:1 / -1}.settings-label{font-size:var(--text-xs);font-weight:var(--font-semibold);color:var(--text-secondary);letter-spacing:.05em;display:flex;align-items:center;gap:var(--space-1);text-transform:uppercase;margin-bottom:var(--space-1)}.settings-label-required{color:var(--error);font-size:var(--text-xs)}.settings-input,.settings-textarea,.settings-select{width:100%;padding:var(--space-3) var(--space-4);background:var(--bg-surface);border:1px solid var(--border-medium);border-radius:var(--radius-md);font-size:var(--text-base);color:var(--text-primary);transition:all var(--transition-fast);font-family:var(--font-family);line-height:var(--leading-snug);-webkit-appearance:none;-moz-appearance:none;appearance:none}.settings-input:focus,.settings-textarea:focus,.settings-select:focus{outline:none;border-color:var(--primary-accent);box-shadow:var(--shadow-focus)}.settings-input:hover,.settings-textarea:hover,.settings-select:hover{border-color:var(--border-accent)}.settings-input::-moz-placeholder,.settings-textarea::-moz-placeholder{color:var(--text-tertiary)}.settings-input::placeholder,.settings-textarea::placeholder{color:var(--text-tertiary)}.settings-textarea{resize:vertical;min-height:100px}.settings-input-static{background:var(--bg-surface-hover);border-color:var(--border-light);color:var(--text-secondary);cursor:not-allowed}.settings-select{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%234a5568' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right var(--space-4) center;padding-right:var(--space-10)}.settings-helper-text{font-size:var(--text-sm);color:var(--text-tertiary);margin:var(--space-1) 0 0 0;line-height:var(--leading-snug)}.settings-toggle-list{display:flex;flex-direction:column;gap:0}.settings-toggle-item{display:flex;align-items:center;justify-content:space-between;padding:var(--space-4);background:var(--bg-surface);border-bottom:1px solid var(--border-light);transition:background-color var(--transition-fast);min-height:44px}.settings-toggle-item:first-child{border-top:1px solid var(--border-light)}.settings-toggle-item:hover{background-color:var(--bg-surface-hover)}.settings-toggle-content{flex:1;display:flex;align-items:center;gap:12px}.settings-toggle-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:28px;height:28px;color:var(--text-secondary)}.settings-toggle-text{flex:1}.settings-toggle-title{font-size:var(--text-base);font-weight:var(--font-medium);color:var(--text-primary);margin-bottom:var(--space-1);line-height:var(--leading-snug)}.settings-toggle-desc{font-size:var(--text-sm);color:var(--text-secondary);line-height:var(--leading-snug)}.settings-switch{position:relative;display:inline-block;width:51px;height:31px;flex-shrink:0}.settings-switch input{opacity:0;width:0;height:0}.settings-switch-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#d1d5db;transition:all .2s ease;border-radius:31px}.settings-switch-slider:before{position:absolute;content:"";height:27px;width:27px;left:2px;bottom:2px;background-color:#fff;transition:all .2s ease;border-radius:50%;box-shadow:0 1px 3px #0000004d}.settings-switch:hover .settings-switch-slider{background-color:#b0b0b0}.settings-switch input:checked+.settings-switch-slider{background-color:var(--success)}.settings-switch input:checked+.settings-switch-slider:before{transform:translate(20px)}.settings-group{background:var(--bg-surface);border:1px solid var(--border-light);border-radius:var(--radius-base);margin-bottom:var(--space-6);overflow:visible}.settings-group-header{padding:var(--space-3) var(--space-4) var(--space-2) var(--space-4);background:var(--bg-surface-hover);border-bottom:1px solid var(--border-light)}.settings-group-header-title{font-size:var(--text-xs);font-weight:var(--font-semibold);color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em}.settings-group-item{display:flex;align-items:center;justify-content:space-between;padding:var(--space-4);border-bottom:1px solid var(--border-light);min-height:44px;transition:background-color var(--transition-fast)}.settings-group-item:last-child{border-bottom:none}.settings-group-item:hover{background-color:var(--bg-surface-hover)}.settings-group-item-danger{border-bottom-color:var(--border-light)}.settings-group-item-danger:hover{background-color:#ef44440d}.settings-group-item-content{flex:1;min-width:0;padding-right:12px;overflow:visible;word-wrap:break-word}.settings-group-item-label{font-size:var(--text-base);font-weight:var(--font-medium);color:var(--text-primary);margin-bottom:var(--space-1);line-height:var(--leading-snug)}.settings-group-item-value{font-size:var(--text-sm);color:var(--text-secondary);line-height:var(--leading-snug);margin-top:var(--space-1);word-wrap:break-word;overflow-wrap:break-word}.settings-group-item-secondary{font-size:var(--text-base);color:var(--text-secondary);font-weight:var(--font-medium);text-align:right;white-space:nowrap}.settings-group-item-button{background:transparent;border:none;color:var(--primary-accent);font-size:var(--text-base);font-weight:var(--font-medium);padding:0;cursor:pointer;transition:all var(--transition-fast);white-space:nowrap;flex-shrink:0}.settings-group-item-button:hover{color:var(--primary-hover)}.settings-group-item-button:active{opacity:.7}.settings-group-item-button-danger{color:var(--error)}@media (max-width: 1024px){.settings-main-content{grid-template-columns:1fr;padding:var(--space-6) var(--space-4);gap:var(--space-6)}.settings-header-inner{padding:0 var(--space-4)}.settings-sidebar{position:relative;top:0}.settings-nav-list{display:flex;flex-direction:row;overflow-x:auto;padding:var(--space-2);gap:var(--space-2)}.settings-nav-item{flex-shrink:0;margin-bottom:0;padding:var(--space-3) var(--space-4)}.settings-nav-label{white-space:nowrap}.settings-content-panel{padding:var(--space-6)}.settings-form-grid{grid-template-columns:1fr;gap:var(--space-5)}}@media (max-width: 768px){.settings-page-container{position:fixed;top:var(--utr-header-height);height:calc(100vh - var(--utr-header-height))}.settings-fixed-header{padding:var(--space-4) 0}.settings-header-inner{flex-wrap:wrap;padding:0 var(--space-4);gap:var(--space-3)}.settings-main-title{font-size:22px}.settings-main-subtitle{font-size:var(--text-xs)}.settings-save-btn{width:100%;justify-content:center;order:3}.settings-back-btn{order:1}.settings-header-text{order:2;width:100%}.settings-main-content{padding:var(--space-4) var(--space-3)}.settings-content-panel{padding:var(--space-5)}.settings-section-title{font-size:20px}.settings-section-description{font-size:var(--text-sm)}.settings-toggle-item{flex-direction:row;align-items:flex-start;gap:var(--space-3);padding:var(--space-4)}.settings-toggle-content{flex:1}.settings-toggle-icon{width:36px;height:36px}.settings-switch{margin-top:0}.settings-danger-item{flex-direction:column;align-items:flex-start;gap:var(--space-3)}.settings-danger-btn{width:100%;justify-content:center}.settings-plan-card{max-width:100%;padding:var(--space-6)}.settings-nav-item{padding:var(--space-3) var(--space-4)}}@media (min-width: 1025px){.chat-area{height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;overscroll-behavior:contain}.chat-scroll{padding-top:0!important;flex:1 1 0;min-height:0;scroll-behavior:smooth;overscroll-behavior-y:contain}.composer{flex-shrink:0;position:sticky;bottom:0}.chat-scroll>div:first-child{margin-top:0!important}.dispenser-panel{display:flex!important;visibility:visible!important}.dispenser-mobile-only,.chat-area .dispenser-mobile-only,.chat-scroll .dispenser-mobile-only,.dispenser-mobile-only .dispenser-panel,.chat-area .dispenser-mobile-only .dispenser-panel,.chat-scroll .dispenser-mobile-only .dispenser-panel{display:none!important;visibility:hidden!important;opacity:0!important;height:0!important;width:0!important;overflow:hidden!important;margin:0!important;padding:0!important;position:absolute!important;left:-9999px!important;pointer-events:none!important;transform:scale(0)!important}.app-shell>.dispenser-panel~.dispenser-panel,.app-shell>*>.dispenser-panel~.dispenser-panel{display:none!important}}@media (min-width: 769px) and (max-width: 1024px){.chat-area{height:100vh;height:100dvh;max-height:100vh;max-height:100dvh}.chat-scroll{padding-top:0!important;flex:1 1 0;min-height:0}}@media (max-width: 1024px){.app-shell{overflow-x:hidden!important;max-width:100vw!important;flex-direction:column!important;height:100vh!important;height:100dvh!important}.chat-area{max-width:100%!important;width:100%!important;flex:1!important;padding-top:calc(var(--utr-header-height) + var(--space-4))!important;padding-right:var(--space-4)!important;padding-left:var(--space-4)!important;padding-bottom:0!important;flex-direction:column!important;overflow-y:hidden!important;overflow-x:hidden!important;border-right:none!important;box-shadow:none!important;height:100vh!important;height:100dvh!important;max-height:100vh!important;max-height:100dvh!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:0!important;overscroll-behavior:contain!important}.chat-scroll{padding-top:0!important;padding-bottom:var(--space-6)!important;padding-left:0!important;padding-right:0!important;flex:1 1 0!important;min-height:0!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important}.composer{padding-top:var(--space-3)!important;padding-bottom:calc(var(--space-4) + env(safe-area-inset-bottom))!important;background:#fffffffa!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}.app-shell>.dispenser-panel,.dispenser-panel{display:none!important;visibility:hidden!important;opacity:0!important;height:0!important;width:0!important;overflow:hidden!important;position:absolute!important;left:-9999px!important;pointer-events:none!important}.dispenser-mobile-only{display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;width:100%!important;max-width:100%!important;overflow-x:hidden;position:relative!important;left:auto!important;pointer-events:auto!important;transform:scale(1)!important;margin:var(--space-4) 0}.dispenser-mobile-only .dispenser-panel{position:relative;width:100%;max-width:100%;padding:var(--space-4) 0;transform:scale(1);box-shadow:none;border-radius:0;overflow-x:auto;-webkit-overflow-scrolling:touch}.msg{max-width:85%;margin-left:0}.msg.bot{margin-left:0}.msg.user{margin-right:0;align-self:flex-end}.dispenser-svg{max-width:100%;width:100%;height:auto;overflow:visible}.icon-btn:hover{transform:scale(1)}.icon-btn:active{transform:scale(.95);box-shadow:var(--shadow-xs)}}@media (max-width: 768px){.topbar{height:56px;padding:0 var(--space-3)}.topbar-left{gap:var(--space-2);min-width:0;overflow:hidden}.topbar .title-btn,.topbar .title{font-size:18px;flex-shrink:0}.topbar-nav{display:flex;gap:var(--space-1);overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;margin-left:var(--space-2);flex:1;min-width:0}.topbar-nav::-webkit-scrollbar{display:none}.nav-item{white-space:nowrap;flex-shrink:0;padding:var(--space-2) var(--space-3);font-size:var(--text-sm)}.user-name{display:none}.topbar-right{flex-shrink:0;gap:var(--space-2)}.utr-main>.dashboard .chat-area{padding:0!important;overflow:hidden!important;max-width:100vw!important;width:100%!important;height:100%!important;position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;background:transparent!important;-webkit-overflow-scrolling:touch!important;flex:1!important;min-height:0!important;display:flex!important;flex-direction:column!important}.utr-main>.dashboard .chat-scroll{flex:1!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 1.25rem var(--space-6) 1.25rem!important;-webkit-overflow-scrolling:touch!important;max-height:none!important;scroll-behavior:smooth!important;overscroll-behavior-y:contain!important}.utr-main>.dashboard .composer-wrapper{position:sticky!important;bottom:0!important;background:#fff!important;z-index:10!important;padding:.75rem 1.25rem 1rem!important;margin:0!important;box-shadow:0 -2px 8px #0000000d!important;flex-shrink:0!important;width:100%!important;border-top:1px solid rgba(0,0,0,.05)!important}.chat-scroll{padding:0 var(--space-5) var(--space-6) var(--space-5)!important;min-height:0!important;display:flex!important;flex-direction:column!important;flex:1 1 0!important;scroll-behavior:smooth!important;overscroll-behavior-y:contain!important}.msg{margin-bottom:var(--space-4)!important}.msg.bot{max-width:100%!important;font-size:24px!important;font-weight:var(--font-extrabold)!important;color:var(--text-primary)!important;line-height:1.3!important;background:none!important;border:none!important;box-shadow:none!important;padding:0!important;text-align:center!important;align-self:center!important}.msg.user{max-width:-moz-fit-content!important;max-width:fit-content!important;font-size:var(--text-sm)!important;font-weight:var(--font-medium)!important;color:#fff!important;background:linear-gradient(135deg,#94b0c2,#7a96a8)!important;padding:var(--space-2) var(--space-4)!important;border-radius:var(--radius-full)!important;align-self:center!important;border:none!important;box-shadow:0 2px 8px #5c6f8033!important}.msg-time{display:none!important}.composer{position:sticky;bottom:0;width:100%;max-width:100vw;margin:auto 0 0;padding:var(--space-4) var(--space-4) calc(var(--space-6) + env(safe-area-inset-bottom))}.progress-text{font-size:11px!important;margin-bottom:var(--space-2)!important;text-align:center;color:var(--text-tertiary);font-weight:var(--font-extrabold);letter-spacing:.08em;text-transform:uppercase}.progress-bar{margin-bottom:var(--space-5)!important;height:4px!important}.input-wrap{border-radius:16px!important;max-width:100%;padding:14px 18px 14px 20px!important;background:#fffffff2!important;border:1.5px solid rgba(148,176,194,.2)!important;box-shadow:0 2px 8px #0000000a,0 1px 2px #00000005,inset 0 1px #fffc!important;display:flex;align-items:center;gap:var(--space-3);min-height:56px;backdrop-filter:blur(20px) saturate(180%)!important;-webkit-backdrop-filter:blur(20px) saturate(180%)!important}.input-wrap:focus-within{border-color:#94b0c266!important;background:#fff!important;box-shadow:0 4px 16px #94b0c226,0 2px 4px #0000000a,inset 0 1px #ffffffe6!important;transform:translateY(-1px)}.input{font-size:18px!important;padding:0!important;max-height:100px!important;line-height:1.5;flex:1;font-weight:var(--font-medium)}.input::-moz-placeholder{font-weight:var(--font-normal);color:var(--text-tertiary)}.input::placeholder{font-weight:var(--font-normal);color:var(--text-tertiary)}.send{width:48px;height:48px;min-width:48px;flex-shrink:0;border-radius:var(--radius-lg);box-shadow:0 2px 6px #5c6f8033}.dispenser-panel,.dispenser-mobile-only,.save-stack-modal{display:none!important}.utr-main>.dashboard{display:flex!important;flex-direction:column!important;height:calc(100vh - 56px)!important;min-height:calc(100vh - 56px)!important;padding-bottom:0!important;overflow:hidden!important;position:relative!important}.dashboard-hero-section{order:1;margin-bottom:20px;padding:20px 0 0}.quick-metrics-strip{order:2;margin-top:16px;margin-bottom:20px}.dispenser-mobile-only{order:3;margin-bottom:20px}.composer-wrapper{order:4}.dispenser-pill-count{display:none}.utr-main>.dashboard>.dashboard-main{display:flex!important;flex-direction:column!important;grid-template-columns:1fr!important;padding:0!important;gap:0!important;width:100%!important;max-width:100vw!important;overflow-x:hidden!important;flex:1!important;min-height:0!important;height:100%!important}.welcome-card-section{width:100%!important;max-width:100%!important;flex-shrink:0!important;padding:1rem 1.25rem .5rem!important}.pack-visual{display:none!important}@keyframes toastSlideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.toast{animation:toastSlideIn .3s ease-out}.dashboard-card{padding:1rem 1.25rem .75rem!important;border-radius:18px;max-width:100%;margin-bottom:0!important}.dashboard-header{margin-bottom:.75rem!important}.welcome-title{font-size:1.15rem!important;line-height:1.3!important;margin-bottom:.5rem!important}.welcome-subtitle{font-size:.8rem!important;line-height:1.4!important;margin-bottom:.75rem!important}.dashboard-actions{margin-bottom:.75rem!important;gap:.5rem!important}.btn-primary,.btn-secondary{padding:.625rem 1rem!important;font-size:.875rem!important;min-height:40px!important}.dashboard-stats{padding-top:.75rem!important;margin-top:.5rem!important;font-size:.75rem!important;flex-wrap:wrap!important;gap:.5rem!important}.dashboard-badges{margin-left:auto!important;gap:.5rem!important}.dashboard-badges{flex-direction:row!important;align-items:center!important;gap:.5rem!important;margin-left:auto!important}.welcome-title{font-size:1.25rem;line-height:1.35}.welcome-subtitle{font-size:.85rem;line-height:1.4}.dashboard-actions{flex-direction:column;gap:.75rem}.btn-primary,.btn-secondary{width:100%;min-height:48px}.dashboard-stats{font-size:.8rem}.stat-summary-row{flex-wrap:wrap;gap:.5rem}.stat-summary-separator,.dispenser-panel{display:none}.stat-summary-row{font-size:.8rem;gap:.375rem}.stat-badge-dot{width:6px;height:6px}.chat-shell{padding:.75rem 1.25rem 1.25rem;position:sticky;bottom:0;background:#fff;z-index:10;box-shadow:0 -2px 8px #0000000d}.chat-shell-inner{position:relative}.progress-text{font-size:var(--text-xs);margin-bottom:var(--space-2)}.progress-bar{margin-bottom:var(--space-4)}.recs-container{grid-template-columns:1fr;gap:var(--space-4)}.rec-card{padding:var(--space-4)}.rec-name{font-size:var(--text-md)}.plan-page,.history-page{padding:var(--space-5) var(--space-3) var(--space-8) var(--space-3);max-width:100vw;overflow-x:hidden}.history-page-wrapper{padding:var(--space-4) var(--space-4) var(--space-6) var(--space-4);max-width:100%;overflow-x:hidden}.history-stats-section{padding:24px 16px}.history-stats-header{flex-direction:column;align-items:flex-start}.history-stats-grid{grid-template-columns:repeat(2,1fr)}.history-period-selector{width:100%;justify-content:space-between}.history-period-btn{flex:1;text-align:center}.plan-page-header,.history-header{margin-bottom:var(--space-6)}.history-header-content{text-align:center!important}.plan-page-title,.history-title{font-size:24px;text-align:center!important;margin:0 auto var(--space-4) auto}.plan-page-subtitle,.history-subtitle{font-size:var(--text-sm);text-align:center!important;margin:0 auto}.plan-cards{grid-template-columns:1fr!important;gap:var(--space-4)}.plan-card{padding:var(--space-5)!important}.history-content{grid-template-columns:1fr!important;gap:var(--space-5)}.current-stack-card,.history-timeline{width:100%;overflow-x:hidden}.stack-list{overflow-x:hidden;word-wrap:break-word}.stack-item{overflow-x:hidden;word-wrap:break-word;padding:var(--space-4)}.stack-header{flex-direction:column;align-items:flex-start;gap:var(--space-2);word-wrap:break-word;overflow-wrap:break-word}.adherence-overview-section{padding:24px 16px!important}.adherence-overview-header{flex-direction:column!important;align-items:flex-start!important;gap:16px!important;margin-bottom:24px!important;padding-bottom:16px!important}.adherence-overview-title{font-size:18px!important}.adherence-overview-subtitle{font-size:13px!important}.adherence-stats-grid{grid-template-columns:repeat(3,1fr)!important;gap:12px!important}.adherence-stat-card{padding:16px 12px!important;overflow:hidden}.adherence-stat-value{font-size:24px!important;margin-bottom:4px!important}.adherence-stat-label{font-size:10px!important;line-height:1.3!important}.current-stack-card{padding:20px 16px!important}.stack-header{margin-bottom:16px!important;padding-bottom:12px!important}.stack-item{padding:14px 12px!important;gap:12px!important}.stack-pill-icon{width:40px!important;height:40px!important;flex-shrink:0!important}.stack-name{font-size:15px!important;margin-bottom:4px!important;line-height:1.4!important}.stack-details{font-size:12px!important;line-height:1.4!important}.stack-status{font-size:11px!important;padding:4px 10px!important}.welcome-screen{padding:var(--space-6) var(--space-4);min-height:calc(100vh - 56px)}.welcome-logo{font-size:36px}.welcome-tagline{font-size:var(--text-base)}.rec-card{margin-bottom:var(--space-3)}.rec-name{font-size:var(--text-base)}.rec-dose,.rec-timing{font-size:var(--text-xs)}.sheet-close,.sheet-cta-primary,button{min-height:44px;min-width:44px}.rec-card:active{transform:scale(.98);box-shadow:var(--shadow-xs)}.send:active:not(:disabled){transform:scale(.95)}}@media (max-width: 480px){html{font-size:15px}.chat-area{padding-top:calc(var(--utr-header-height) + var(--space-3))!important;padding-left:var(--space-3)!important;padding-right:var(--space-3)!important;padding-bottom:0!important;height:100vh!important;height:100dvh!important;max-height:100vh!important;max-height:100dvh!important}.chat-scroll{padding:0 0 var(--space-4) 0!important;flex:1 1 0!important;min-height:0!important}.dashboard-card{padding:var(--space-4) var(--space-5)!important;margin-bottom:var(--space-4)!important;margin-top:0!important}.composer{padding-top:var(--space-3)!important;padding-bottom:calc(var(--space-3) + env(safe-area-inset-bottom))!important;background:#fffffffa!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important}.msg{padding:var(--space-2) var(--space-3)}.icon-btn{width:36px;height:36px}}@media (min-width: 769px) and (max-width: 1024px){.chat-area{max-width:60%;width:60%}.dispenser-panel{width:40%;max-width:40%;transform:scale(1.2);transform-origin:center top;max-width:min(40%,calc(100vw - 60%))}}@media (min-width: 1025px) and (max-width: 1400px){.dispenser-panel{transform:scale(1.2);transform-origin:center top;max-width:min(45%,calc(100vw - 55%));right:0}}@media (min-width: 1025px) and (max-width: 1200px){.dispenser-panel{transform:scale(1);transform-origin:center top;width:40%;max-width:min(40%,calc(100vw - 55%))}.chat-area{width:55%;max-width:55%}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}:root{--soft-bone: #f5f5f3;--stone: #e2e2df;--graphite: #222222;--fog: #8a8a85;--sand: #d9e1e7;--charcoal: #3a3a3a;--olive-tint: #b4b19f;--primary-black: #222222;--secondary-black: #3a3a3a;--tertiary-black: #8a8a85;--primary-gray: #8a8a85;--secondary-gray: #b4b19f;--light-gray: #e2e2df;--lighter-gray: #f5f5f3;--white: #f5f5f3;--accent-blue: #3b82f6;--accent-green: #10b981;--accent-red: #ef4444;--accent-yellow: #f59e0b;--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--space-xs: 4px;--space-sm: 8px;--space-md: 16px;--space-lg: 24px;--space-xl: 32px;--space-2xl: 48px;--space-3xl: 64px;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--radius-2xl: 20px;--radius-full: 50%;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);--transition-fast: .15s ease;--transition-normal: .25s ease;--transition-slow: .35s ease;--z-dropdown: 1000;--z-sticky: 1020;--z-fixed: 1030;--z-modal: 1040;--z-popover: 1050;--z-tooltip: 1060}.login-modal-overlay,.profile-modal-overlay{position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important;background:#fafafb99!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:1040!important;-webkit-backdrop-filter:blur(16px)!important;backdrop-filter:blur(16px)!important;animation:fadeIn .2s ease-out!important}.login-modal,.profile-modal{background:#fff!important;border-radius:20px!important;padding:32px!important;max-width:420px!important;width:90%!important;max-height:80vh!important;overflow-y:auto!important;box-shadow:0 8px 32px #00000014,0 2px 8px #0000000d!important;border:1px solid rgba(0,0,0,.05)!important;position:relative!important;animation:scaleIn .25s cubic-bezier(.34,1.56,.64,1)!important}.modal-header{text-align:center!important;margin-bottom:24px!important}.modal-header h2{font-size:24px!important;font-weight:700!important;color:#1e1e1e!important;margin:0!important;line-height:1.25!important;letter-spacing:-.01em!important}.modal-header p{color:#4a5568!important;margin:8px 0 0!important;font-size:15px!important;line-height:1.6!important}.auth-form{display:flex!important;flex-direction:column!important;gap:16px!important}.form-group{display:flex!important;flex-direction:column!important;gap:6px!important}.form-group label{font-size:14px!important;font-weight:500!important;color:#333!important}.form-group input{padding:12px 16px!important;border:2px solid rgba(0,0,0,.06)!important;border-radius:12px!important;font-size:15px!important;transition:all .2s ease-in-out!important;background:#fff!important}.form-group input:focus{outline:none!important;border-color:#94b0c266!important;box-shadow:0 0 0 3px #94b0c226!important}.auth-submit{background:linear-gradient(135deg,#94b0c2,#5c6f80)!important;color:#fff!important;border:none!important;padding:14px 24px!important;border-radius:12px!important;font-size:15px!important;font-weight:600!important;cursor:pointer!important;transition:all .2s ease-in-out!important;margin-top:8px!important;box-shadow:0 2px 8px #5c6f804d!important}.auth-submit:hover{transform:translateY(-2px) scale(1.01)!important;box-shadow:0 6px 16px #5c6f8066!important}.auth-submit:active{transform:translateY(0) scale(1)!important}.auth-submit:disabled{opacity:.5!important;cursor:not-allowed!important;transform:none!important}.auth-error{background:#fee2e2!important;color:#dc2626!important;padding:12px 16px!important;border-radius:8px!important;font-size:14px!important;display:none!important}.auth-switch{text-align:center!important;margin-top:16px!important}.auth-switch button{background:none!important;border:none!important;color:#94b0c2!important;font-size:14px!important;cursor:pointer!important;text-decoration:underline!important}.close-modal{position:absolute!important;top:16px!important;right:16px!important;background:#94b0c21a!important;border:none!important;font-size:24px!important;cursor:pointer!important;color:#4a5568!important;width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:8px!important;transition:all .2s ease-in-out!important}.close-modal:hover{background:#94b0c233!important;color:#1e1e1e!important;transform:scale(1.05)!important}.profile-tabs{display:flex!important;gap:8px!important;margin-bottom:24px!important;border-bottom:1px solid #e9ecef!important}.tab-btn{background:none!important;border:none!important;padding:12px 16px!important;cursor:pointer!important;font-size:14px!important;font-weight:500!important;color:#666!important;border-bottom:2px solid transparent!important;transition:all .2s ease!important;display:flex!important;align-items:center!important;gap:8px!important}.tab-btn.active{color:#5c6f80!important;border-bottom-color:#5c6f80!important}.tab-btn:hover{color:#5c6f80!important}.tab-content{display:none!important}.tab-content.active{display:block!important}.profile-section{margin-bottom:24px!important}.profile-section h4{font-size:16px!important;font-weight:600!important;color:#333!important;margin-bottom:12px!important}.profile-item{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:12px 0!important;border-bottom:1px solid #f0f0f0!important}.profile-item:last-child{border-bottom:none!important}.profile-label{font-weight:500!important;color:#666!important;font-size:14px!important}.profile-value{color:#333!important;font-size:14px!important}.logout-btn{background:#fee2e2!important;color:#dc2626!important;border:none!important;padding:12px 24px!important;border-radius:8px!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important;transition:background-color .2s ease!important;width:100%!important;margin-top:16px!important}.logout-btn:hover{background:#fecaca!important}*{margin:0;padding:0;box-sizing:border-box}html{font-size:16px;scroll-behavior:smooth}html,body{min-height:100%;margin:0;padding:0}body{font-family:var(--font-family);font-weight:var(--font-weight-normal);line-height:1.5;color:var(--primary-black);background:#fff;overflow-x:hidden}.utrition-chat-app{display:flex;flex-direction:column;width:100%;margin:0;background:transparent;min-height:100vh;position:relative;overflow-y:auto;overflow-x:hidden}.app-header{background:#f8f9fa!important;border-bottom:1px solid #e9ecef;padding:16px 20px;position:sticky;top:0;z-index:var(--z-sticky);display:block!important;visibility:visible!important;opacity:1!important;width:100%;box-sizing:border-box}.header-container{display:flex!important;justify-content:space-between;align-items:center;max-width:100%;visibility:visible!important;width:100%;padding:0 10px}.brand-section{display:flex!important;align-items:center;visibility:visible!important}.logo-container{display:flex;align-items:center}.brand-logo{display:flex;align-items:center;gap:var(--space-md);text-decoration:none;color:var(--primary-black);transition:transform var(--transition-fast)}.brand-logo:hover{transform:translateY(-1px)}.logo-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--radius-lg);background:var(--primary-black);transition:all var(--transition-fast)}.logo-icon:hover{transform:scale(1.05);box-shadow:var(--shadow-md)}.brand-text{font-size:24px!important;font-weight:800!important;letter-spacing:-.02em;color:var(--primary-black)!important;visibility:visible!important;display:inline-block!important;margin-left:12px}.header-actions{display:flex!important;align-items:center;gap:12px;visibility:visible!important;margin-right:10px}.header-action-btn{position:relative;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:var(--radius-lg);background:var(--lighter-gray);color:var(--primary-gray);cursor:pointer;transition:all var(--transition-fast);overflow:hidden}.header-action-btn:hover{background:var(--light-gray);color:var(--primary-black);transform:translateY(-1px);box-shadow:var(--shadow-md)}.header-action-btn:active{transform:translateY(0)}.cart-indicator{position:absolute;top:8px;right:8px;width:8px;height:8px;background:var(--accent-red);border-radius:var(--radius-full);opacity:0;transition:opacity var(--transition-fast)}.cart-btn:hover .cart-indicator{opacity:1}[data-tooltip]{position:relative}[data-tooltip]:hover:after{content:attr(data-tooltip);position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:var(--primary-black);color:var(--white);padding:var(--space-sm) var(--space-md);border-radius:var(--radius-md);font-size:14px;white-space:nowrap;z-index:var(--z-tooltip);animation:tooltipFadeIn var(--transition-fast)}@keyframes tooltipFadeIn{0%{opacity:0;transform:translate(-50%) translateY(-4px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.chat-main{flex:1;display:flex;flex-direction:column;min-height:0;position:relative;overflow:hidden}.messages-area{flex:1;display:flex;flex-direction:column;min-height:0;background:transparent;overflow:hidden}.messages-scroll-container{flex:1;overflow-y:auto;padding:var(--space-xl);display:flex;flex-direction:column;justify-content:flex-start;min-height:calc(100vh - 120px);overflow-anchor:none;scroll-behavior:smooth}.messages-list{display:flex;flex-direction:column-reverse;gap:var(--space-xl);max-width:800px;margin:0 auto;padding:0 var(--space-md);justify-content:flex-end;min-height:100%;width:100%}.message-group{display:flex;gap:var(--space-md);align-items:flex-start;animation:messageSlideIn var(--transition-normal)}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.bot-message-group{align-self:flex-start;justify-content:flex-start;width:100%}.user-message-group{align-self:flex-end;flex-direction:row-reverse;justify-content:flex-end;width:100%}.message-avatar{flex-shrink:0;width:40px;height:40px;border-radius:var(--radius-full);background:var(--light-gray);display:flex;align-items:center;justify-content:center;transition:all var(--transition-fast)}.bot-message-group .message-avatar{background:linear-gradient(135deg,var(--accent-blue),#1d4ed8);color:var(--white)}.user-message-group .message-avatar{background:var(--primary-black);color:var(--white)}.avatar-icon{display:flex;align-items:center;justify-content:center}.message-content{flex:1;min-width:0}.message-bubble{display:inline-block;max-width:100%;border-radius:var(--radius-2xl);padding:var(--space-lg) var(--space-xl);position:relative;box-shadow:var(--shadow-sm);transition:all var(--transition-fast)}.message-bubble:hover{box-shadow:var(--shadow-md)}.bot-bubble{background:var(--lighter-gray);color:var(--primary-black);border-bottom-left-radius:var(--radius-sm)}.user-bubble{background:var(--primary-black);color:var(--white);border-bottom-right-radius:var(--radius-sm)}.message-text{font-size:18px;font-weight:var(--font-weight-medium);line-height:1.6;word-wrap:break-word}.message-meta{margin-top:var(--space-sm);display:flex;align-items:center;gap:var(--space-sm)}.message-time{font-size:12px;color:var(--secondary-gray);font-weight:var(--font-weight-normal)}.user-bubble .message-time{color:#ffffffb3}.typing-indicator{display:inline-flex;gap:4px;margin-right:var(--space-sm)}.typing-indicator span{width:6px;height:6px;background:var(--primary-gray);border-radius:var(--radius-full);animation:typingDot 1.4s infinite ease-in-out}.typing-indicator span:nth-child(1){animation-delay:-.32s}.typing-indicator span:nth-child(2){animation-delay:-.16s}.typing-indicator span:nth-child(3){animation-delay:0s}@keyframes typingDot{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}.input-area.hidden{display:none!important;visibility:hidden!important;opacity:0!important}.input-container{max-width:800px;margin:0 auto}.input-wrapper{display:flex;align-items:flex-end;gap:var(--space-md);background:var(--lighter-gray);border:2px solid transparent;border-radius:var(--radius-2xl);padding:var(--space-md);transition:all var(--transition-fast)}.input-wrapper:focus-within{border-color:var(--accent-blue);background:var(--white);box-shadow:var(--shadow-lg)}.input-field-container{flex:1;display:flex;align-items:flex-end;gap:var(--space-sm)}.message-input{flex:1;border:none;outline:none;background:transparent;font-size:16px;font-weight:var(--font-weight-normal);color:var(--primary-black);resize:none;min-height:24px;max-height:120px;line-height:1.5;font-family:inherit}.message-input::-moz-placeholder{color:var(--secondary-gray)}.message-input::placeholder{color:var(--secondary-gray)}.input-actions{display:flex;align-items:center;gap:var(--space-xs)}.input-action-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:var(--radius-md);background:transparent;color:var(--primary-gray);cursor:pointer;transition:all var(--transition-fast)}.input-action-btn:hover{background:var(--light-gray);color:var(--primary-black)}.send-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:none;border-radius:var(--radius-full);background:var(--primary-black);color:var(--white);cursor:pointer;transition:all var(--transition-fast);position:relative;overflow:hidden}.send-button:enabled{background:var(--accent-blue)}.send-button:enabled:hover{background:#2563eb;transform:scale(1.05);box-shadow:var(--shadow-lg)}.send-button:disabled{background:var(--secondary-gray);cursor:not-allowed}.send-icon{display:flex;align-items:center;justify-content:center;transition:transform var(--transition-fast)}.send-button:enabled:hover .send-icon{transform:translate(1px)}.input-footer{margin-top:var(--space-sm);display:flex;justify-content:center}.input-hint{font-size:12px;color:var(--secondary-gray);text-align:center}.hint-text{opacity:.8}.results-panel{background:var(--lighter-gray);border-top:1px solid var(--light-gray);padding:var(--space-xl)}.results-content{max-width:800px;margin:0 auto}@media (max-width: 768px){.utrition-chat-app{border-radius:0;min-height:100vh}.app-header{padding:var(--space-md) var(--space-lg)}.brand-text{font-size:24px}.messages-scroll-container{padding:var(--space-lg) var(--space-md)}.input-area{padding:var(--space-md)}.message-text{font-size:16px}.input-wrapper{padding:var(--space-sm)}.message-input{font-size:16px}}@media (max-width: 480px){.header-actions{gap:var(--space-xs)}.header-action-btn{width:40px;height:40px}.message-avatar{width:36px;height:36px}.message-bubble{padding:var(--space-md) var(--space-lg)}.message-text{font-size:15px}}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.message-input:focus,.send-button:focus,.header-action-btn:focus{outline:2px solid var(--accent-blue);outline-offset:2px}.loading{opacity:.6;pointer-events:none}.error-message{background:var(--accent-red);color:var(--white)}.error-message .message-time{color:#ffffffb3}.success-message{background:var(--accent-green);color:var(--white)}.success-message .message-time{color:#ffffffb3}.messages-scroll-container::-webkit-scrollbar{width:6px}.messages-scroll-container::-webkit-scrollbar-track{background:transparent}.messages-scroll-container::-webkit-scrollbar-thumb{background:var(--light-gray);border-radius:var(--radius-sm)}.messages-scroll-container::-webkit-scrollbar-thumb:hover{background:var(--secondary-gray)}.dispenser-svg g[class^=sachet-]{transition:transform .25s cubic-bezier(.33,1,.68,1);cursor:pointer}.dispenser-svg g[class^=sachet-]:hover{transform:translateY(-3px)}.dispenser-svg g[class^=sachet-].is-today rect:first-child{animation:todayPulse 1s ease-out}@keyframes todayPulse{0%{opacity:0;transform:scale(.95)}50%{opacity:1;transform:scale(1.02)}to{opacity:1;transform:scale(1)}}.brand-text{letter-spacing:-.02em!important}.dispenser-svg text[font-size="12"]{font-size:11px;font-weight:800;letter-spacing:.15em;fill:#6d7680}.input-wrapper,.input-area{animation:inputFadeIn .25s cubic-bezier(.33,1,.68,1) .15s both}@keyframes inputFadeIn{0%{opacity:0}to{opacity:1}}button:not([disabled]){transition:all .25s cubic-bezier(.33,1,.68,1)!important}button:not([disabled]):active{transform:scale(.99)!important}.icon-btn,.header-action-btn{border-radius:16px!important;transition:all .25s cubic-bezier(.33,1,.68,1)!important}.icon-btn:hover,.header-action-btn:hover{transform:translateY(-1px)!important;box-shadow:0 4px 12px #0000001a!important}.icon-btn:active,.header-action-btn:active{transform:translateY(0) scale(.98)!important}.send-button:enabled{transition:all .25s cubic-bezier(.33,1,.68,1)!important}.send-button:enabled:hover{transform:scale(1.05)!important;box-shadow:0 6px 20px #3b82f666!important}.send-button:enabled:active{transform:scale(.98)!important}.settings-modal-overlay{position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important;background:#00000080!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:1040!important;-webkit-backdrop-filter:blur(4px)!important;backdrop-filter:blur(4px)!important}.settings-modal{background:#fff!important;border-radius:16px!important;padding:0!important;max-width:500px!important;width:90%!important;max-height:80vh!important;overflow-y:auto!important;box-shadow:0 20px 40px #00000026!important;position:relative!important}.settings-modal-header{padding:24px 24px 0!important;display:flex!important;justify-content:space-between!important;align-items:center!important;border-bottom:1px solid #e9ecef!important;margin-bottom:24px!important}.settings-modal-header h3{font-size:24px!important;font-weight:600!important;color:#1a1a1a!important;margin:0!important}.settings-modal-body{padding:0 24px 24px!important}.settings-section{margin-bottom:32px!important}.settings-section h4{font-size:18px!important;font-weight:600!important;color:#333!important;margin:0 0 16px!important}.settings-item{margin-bottom:20px!important}.settings-item label{display:block!important;font-size:14px!important;font-weight:500!important;color:#333!important;margin-bottom:8px!important}.settings-item input{width:100%!important;padding:12px 16px!important;border:2px solid #e9ecef!important;border-radius:8px!important;font-size:16px!important;transition:border-color .2s ease!important}.settings-item input:focus{outline:none!important;border-color:#94b0c2!important}.readonly-input{background:#f8f9fa!important;color:#6b7280!important;cursor:not-allowed!important}.checkbox-label{display:flex!important;align-items:center!important;cursor:pointer!important;font-size:14px!important;font-weight:500!important;color:#333!important}.checkbox-label input[type=checkbox]{width:auto!important;margin-right:12px!important;cursor:pointer!important}.settings-hint{font-size:12px!important;color:#6b7280!important;margin:4px 0 0!important}.settings-actions{display:flex!important;flex-direction:column!important;gap:12px!important}.settings-action-btn{display:flex!important;align-items:center!important;gap:12px!important;padding:12px 16px!important;border:2px solid #e9ecef!important;border-radius:8px!important;background:#fff!important;color:#333!important;font-size:14px!important;font-weight:500!important;cursor:pointer!important;transition:all .2s ease!important;width:100%!important;justify-content:flex-start!important}.settings-action-btn:hover{border-color:#94b0c2!important;background:#f8f9fa!important}.settings-action-btn.danger{border-color:#fee2e2!important;color:#dc2626!important}.settings-action-btn.danger:hover{border-color:#dc2626!important;background:#fee2e2!important}.recommendation-cards{display:flex!important;flex-wrap:nowrap!important;gap:16px!important;padding:0 32px!important;max-width:1600px!important;margin:24px auto!important;justify-content:space-between!important;align-items:stretch!important}.trust-badges{display:flex!important;justify-content:center!important;gap:24px!important;margin:32px 0!important;padding:20px!important;background:#f8f9fa!important;border-radius:12px!important;flex-wrap:wrap!important}.trust-badge{display:flex!important;align-items:center!important;gap:6px!important;font-size:13px!important;font-weight:500!important;color:#6b7280!important}.safety-footer{background:#fef2f2!important;border:1px solid #fecaca!important;border-radius:8px!important;padding:16px!important;margin:24px 0!important}.safety-footer p{margin:0!important;font-size:12px!important;color:#991b1b!important;line-height:1.4!important}.weekly-stack-section{text-align:center!important;margin:32px 0!important}.build-stack-btn{display:inline-flex!important;align-items:center!important;gap:8px!important;background:linear-gradient(135deg,#94b0c2,#5c6f80)!important;color:#fff!important;border:none!important;padding:16px 32px!important;border-radius:12px!important;font-size:16px!important;font-weight:600!important;cursor:pointer!important;transition:all .2s ease-in-out!important;box-shadow:0 2px 8px #5c6f804d!important;letter-spacing:.01em!important}.build-stack-btn:hover{transform:translateY(-2px) scale(1.01)!important;box-shadow:0 6px 16px #5c6f8066!important}.landing-hero{width:100%;min-height:calc(100vh - 64px);background:linear-gradient(180deg,#fafafb,#f5f7f9);padding:var(--space-3xl) var(--space-md);display:flex;align-items:center;position:relative}.landing-hero-container{max-width:1200px;width:100%;margin:0 auto}.landing-hero-content{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3xl);align-items:center}.landing-hero-left{display:flex;flex-direction:column;gap:var(--space-lg)}.landing-hero-title{font-size:48px;font-weight:700;color:var(--graphite);line-height:1.2;letter-spacing:-.02em;margin:0}.landing-hero-subtitle{font-size:18px;color:var(--fog);line-height:1.6;margin:0;max-width:540px}.landing-hero-badges{display:flex;flex-wrap:wrap;gap:var(--space-md);margin-top:var(--space-xs)}.landing-hero-badge{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--fog);font-weight:500}.landing-hero-badge svg{color:#22c55e;flex-shrink:0}.landing-hero-ctas{display:flex;flex-direction:column;gap:var(--space-md);margin-top:var(--space-xs)}.landing-hero-cta-primary{background:linear-gradient(135deg,#94b0c2,#5c6f80);color:#fff;border:none;padding:16px 32px;font-size:16px;font-weight:600;border-radius:var(--radius-lg);cursor:pointer;transition:all var(--transition-normal);box-shadow:0 2px 8px #5c6f804d;max-width:280px}.landing-hero-cta-primary:hover{transform:translateY(-2px) scale(1.01);box-shadow:0 6px 16px #5c6f8066}.landing-hero-cta-primary:active{transform:translateY(0) scale(.98)}.landing-hero-cta-secondary{background:transparent;color:var(--fog);border:1px solid var(--stone);padding:14px 32px;font-size:15px;font-weight:500;border-radius:var(--radius-lg);cursor:pointer;transition:all var(--transition-normal);max-width:280px}.landing-hero-cta-secondary:hover{color:var(--graphite);border-color:var(--fog);background:#00000005}.landing-hero-right{display:flex;justify-content:center;align-items:center}.product-preview-card{background:#fff;border-radius:var(--radius-2xl);padding:var(--space-xl);box-shadow:0 8px 24px #00000014,0 2px 8px #0000000a;border:1px solid rgba(0,0,0,.05);width:100%;max-width:420px}.product-preview-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:var(--space-lg);padding-bottom:var(--space-md);border-bottom:1px solid var(--stone)}.product-preview-title{font-size:18px;font-weight:600;color:var(--graphite);margin:0}.product-preview-adherence{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.adherence-value{font-size:20px;font-weight:700;color:#22c55e;line-height:1}.adherence-label{font-size:11px;color:var(--fog);font-weight:500;text-transform:uppercase;letter-spacing:.5px}.product-preview-content{display:flex;flex-direction:column;gap:var(--space-md);margin-bottom:var(--space-lg)}.product-preview-item{display:flex;gap:var(--space-md);align-items:flex-start}.product-preview-pill{flex-shrink:0}.product-preview-details{flex:1;min-width:0}.product-preview-name{font-size:15px;font-weight:600;color:var(--graphite);margin-bottom:4px;line-height:1.3}.product-preview-meta{font-size:13px;color:var(--fog);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.product-preview-dose{font-weight:500}.product-preview-separator{opacity:.5}.product-preview-timing{font-weight:400}.product-preview-footer{padding-top:var(--space-md);border-top:1px solid var(--stone)}.product-preview-week{display:flex;justify-content:space-between;gap:var(--space-xs)}.product-preview-day{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1}.product-preview-day-pill{opacity:.4;transition:opacity var(--transition-normal)}.product-preview-day.active .product-preview-day-pill{opacity:1}.product-preview-day-label{font-size:11px;color:var(--fog);font-weight:500;text-transform:uppercase;letter-spacing:.5px}.product-preview-day.active .product-preview-day-label{color:var(--graphite);font-weight:600}.how-it-works-strip{background:#fff;padding:var(--space-3xl) var(--space-md);border-top:1px solid var(--stone)}.how-it-works-container{max-width:1200px;width:100%;margin:0 auto}.how-it-works-title{font-size:32px;font-weight:700;color:var(--graphite);text-align:center;margin:0 0 var(--space-3xl) 0;letter-spacing:-.02em}.how-it-works-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-2xl);align-items:flex-start}.how-it-works-step{display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-md)}.how-it-works-number{width:48px;height:48px;border-radius:var(--radius-full);background:linear-gradient(135deg,#94b0c2,#5c6f80);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;flex-shrink:0}.how-it-works-step-title{font-size:20px;font-weight:600;color:var(--graphite);margin:0;line-height:1.3}.how-it-works-step-description{font-size:15px;color:var(--fog);line-height:1.6;margin:0;max-width:280px}@media (max-width: 1024px){.landing-hero-content{grid-template-columns:1fr;gap:var(--space-2xl)}.landing-hero-title{font-size:40px}.landing-hero-cta-primary,.landing-hero-cta-secondary{max-width:100%}.landing-hero-right{order:-1}.product-preview-card{max-width:100%}.how-it-works-steps{grid-template-columns:1fr;gap:var(--space-xl)}}@media (max-width: 768px){.landing-hero{padding:var(--space-2xl) var(--space-md);min-height:auto}.landing-hero-title{font-size:32px}.landing-hero-subtitle{font-size:16px}.landing-hero-badges{flex-direction:column;gap:var(--space-sm)}.how-it-works-strip{padding:var(--space-2xl) var(--space-md)}.how-it-works-title{font-size:28px;margin-bottom:var(--space-2xl)}}@media (max-width: 375px){.landing-hero-title{font-size:28px}.product-preview-card{padding:var(--space-lg)}.product-preview-item{gap:var(--space-sm)}}.build-stack-btn:active{transform:translateY(0) scale(1)!important}.card{background:var(--bg-surface);border-radius:var(--radius-base);padding:var(--space-6);box-shadow:var(--shadow-sm);border:1px solid var(--border-light);transition:all var(--transition-base)}.card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.card-lg{padding:var(--space-8);border-radius:var(--radius-xl)}.card-sm{padding:var(--space-4);border-radius:var(--radius-md)}.dashboard-card-hero{position:relative;background:var(--bg-surface);border-radius:var(--radius-base);padding:var(--space-6);box-shadow:var(--shadow-sm);border:1px solid var(--border-light);transition:all var(--transition-base)}.dashboard-card-hero:hover{box-shadow:var(--shadow-md)}.dashboard-card-gradient-accent{display:none}@keyframes gradientShift{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}.dashboard-date-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;background:var(--bg-surface-hover);border:1px solid var(--border-light);border-radius:6px;font-size:11px;font-weight:var(--font-medium);color:var(--text-tertiary);text-transform:uppercase;letter-spacing:.05em;margin-bottom:12px}.dashboard-date-badge svg{width:12px;height:12px;color:var(--text-tertiary);opacity:.6}.dashboard-hero-title{font-size:var(--text-2xl);font-weight:var(--font-bold);line-height:var(--leading-tight);color:var(--text-primary);letter-spacing:-.01em;margin:0 0 8px}.dashboard-hero-name{color:var(--text-primary);font-weight:var(--font-semibold)}.dashboard-hero-subtitle{font-size:var(--text-sm);line-height:var(--leading-normal);color:var(--text-secondary);margin:0}.dashboard-stats{margin-top:20px;padding-top:20px;border-top:1px solid var(--border-light)}.dashboard-badges-consolidated{display:flex;gap:8px;flex-wrap:wrap}.stat-badge-enhanced{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;font-size:var(--text-xs);font-weight:var(--font-medium);transition:all var(--transition-base);background:var(--bg-surface-hover);border:1px solid var(--border-light);color:var(--text-secondary)}.stat-badge-enhanced:hover{background:var(--bg-surface);border-color:var(--border-medium)}.stat-badge-enhanced .stat-badge-icon{color:var(--text-tertiary);opacity:.7}.stat-badge-primary,.stat-badge-secondary,.stat-badge-tertiary{background:var(--bg-surface-hover);border:1px solid var(--border-light);color:var(--text-secondary)}.stat-badge-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-badge-text strong{font-weight:var(--font-bold);color:var(--text-primary)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);padding:12px 24px;border-radius:var(--radius-md);font-size:var(--text-base);font-weight:var(--font-semibold);cursor:pointer;transition:all var(--transition-base);border:none;line-height:1;text-decoration:none}.btn-primary{background:linear-gradient(135deg,var(--primary-accent) 0%,var(--primary-hover) 100%);color:var(--text-inverse);box-shadow:0 2px 8px #5c6f804d}.btn-primary:hover:not(:disabled){transform:translateY(-2px) scale(1.01);box-shadow:0 6px 16px #5c6f8066}.btn-primary:active:not(:disabled){transform:translateY(0) scale(.98)}.btn-primary:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-secondary{background:var(--bg-surface);color:var(--text-secondary);border:1.5px solid var(--border-medium)}.btn-secondary:hover:not(:disabled){border-color:var(--border-accent);background:var(--bg-surface-hover);color:var(--text-primary)}.btn-secondary:active:not(:disabled){transform:scale(.98)}.text-heading-1{font-size:var(--text-4xl);font-weight:var(--font-bold);line-height:var(--leading-tight);color:var(--text-primary);letter-spacing:-.02em}.text-heading-2{font-size:var(--text-3xl);font-weight:var(--font-bold);line-height:var(--leading-tight);color:var(--text-primary);letter-spacing:-.02em}.text-heading-3{font-size:var(--text-xl);font-weight:var(--font-semibold);line-height:var(--leading-snug);color:var(--text-primary)}.text-body{font-size:var(--text-base);line-height:var(--leading-normal);color:var(--text-secondary)}.text-body-lg{font-size:var(--text-lg);line-height:var(--leading-normal);color:var(--text-secondary)}.text-meta{font-size:var(--text-sm);line-height:var(--leading-normal);color:var(--text-tertiary)}.container{max-width:1120px;margin:0 auto;padding:0 var(--space-4)}@media (min-width: 768px){.container{padding:0 var(--space-6)}}.grid-2-col{display:grid;grid-template-columns:1fr;gap:var(--space-6)}@media (min-width: 1024px){.grid-2-col{grid-template-columns:1fr 340px}}.grid-3-col{display:grid;grid-template-columns:1fr;gap:var(--space-4)}@media (min-width: 768px){.grid-3-col{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.grid-3-col{grid-template-columns:repeat(3,1fr)}}.fade-in{animation:fadeIn var(--transition-base) ease-out}.fade-in-up{animation:fadeInUp var(--transition-base) ease-out}.scale-in{animation:scaleIn var(--transition-base) ease-out}.hide-mobile{display:none}@media (min-width: 768px){.hide-mobile{display:block}}.hide-desktop{display:block}@media (min-width: 768px){.hide-desktop{display:none}}.modal-overlay,.login-modal-overlay,.profile-modal-overlay,.settings-modal-overlay{animation:fadeIn var(--transition-base) ease-out}.modal,.login-modal,.profile-modal,.settings-modal{animation:scaleIn var(--transition-slow) cubic-bezier(.34,1.56,.64,1)}.card-interactive{cursor:pointer;transition:all var(--transition-base)}.card-interactive:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.card-interactive:active{transform:translateY(-2px)}@media (max-width: 767px){.grid-2-col,.grid-3-col,.recommendation-card-grid{grid-template-columns:1fr}.quick-metrics-strip{grid-template-columns:repeat(2,1fr)}}@media (min-width: 768px) and (max-width: 1023px){.grid-3-col{grid-template-columns:repeat(2,1fr)}}.recommendation-card{background:var(--bg-surface);border-radius:var(--radius-md);padding:20px;box-shadow:var(--shadow-sm);border:1px solid var(--border-light);display:flex;gap:14px;align-items:flex-start;transition:all var(--transition-base)}.recommendation-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.recommendation-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;padding:16px 0;width:100%}.recommendation-card-pill{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:10px;flex-shrink:0}.recommendation-card-content{flex:1;min-width:0}.recommendation-card-header{display:flex;align-items:center;gap:8px;margin-bottom:4px}.recommendation-card-name{margin:0;font-size:var(--text-base);font-weight:var(--font-semibold);color:var(--text-primary);line-height:1.3}.recommendation-card-type-badge{font-size:10px;padding:3px 8px;border-radius:9999px;font-weight:var(--font-medium);text-transform:uppercase;letter-spacing:.5px;line-height:1;display:inline-block;border:1px solid transparent;box-shadow:inset 0 1px #ffffff80}.recommendation-card-dose{font-size:var(--text-sm);color:var(--text-secondary);margin:0 0 6px;font-weight:var(--font-medium);line-height:1.45}.recommendation-card-timing{font-size:13px;color:var(--text-secondary);margin:0 0 6px;font-weight:var(--font-medium);line-height:1.45;display:flex;align-items:center;gap:6px}.recommendation-card-timing .timing-icon{font-size:14px;opacity:.6}.recommendation-card-benefits{font-size:13px;color:var(--text-secondary);margin:4px 0 0;line-height:1.45;font-weight:var(--font-normal)}.recommendation-card-link{display:inline-block;margin-top:8px;color:#0369a1;font-size:var(--text-xs);text-decoration:none;font-weight:var(--font-medium);transition:color var(--transition-fast)}.recommendation-card-link:hover{color:#0284c7;text-decoration:underline}@media (max-width: 768px){.recommendation-card-grid{grid-template-columns:1fr}.recommendation-card{padding:16px}}.profile-dropdown{animation:fadeInDown .2s cubic-bezier(.33,1,.68,1)}.welcome-screen-container{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 64px);background:linear-gradient(180deg,var(--bg-base) 0%,var(--bg-surface-hover) 100%);padding:40px 24px;position:absolute;top:64px;left:0;right:0;bottom:0;z-index:10}.welcome-screen-card{text-align:center;max-width:680px;padding:64px 48px;background:var(--bg-surface);border-radius:var(--radius-2xl);box-shadow:var(--shadow-lg);border:1px solid var(--border-light);position:relative;overflow:hidden;animation:gentleBounce .6s cubic-bezier(.34,1.56,.64,1) forwards}.welcome-screen-accent{position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--primary-accent) 0%,var(--primary) 50%,var(--primary-accent) 100%);opacity:.6}.welcome-screen-content{position:relative;z-index:1}.welcome-screen-logo{width:64px;height:64px;margin:0 auto 24px;background:linear-gradient(135deg,var(--primary-accent) 0%,var(--primary-hover) 100%);border-radius:var(--radius-base);display:flex;align-items:center;justify-content:center;color:var(--text-inverse);font-size:32px;font-weight:var(--font-extrabold);box-shadow:0 4px 12px #94b0c240;animation:scaleIn .4s cubic-bezier(.34,1.56,.64,1) .2s both}.welcome-screen-trust{display:flex;justify-content:center;gap:24px;margin-bottom:32px;font-size:var(--text-sm);color:var(--text-tertiary);flex-wrap:wrap}.welcome-screen-trust span{display:flex;align-items:center;gap:6px}.welcome-screen-trust span>span{font-size:16px}.welcome-screen-cta{padding:16px 48px;font-size:var(--text-base);letter-spacing:.01em}@media (max-width: 768px){.welcome-screen-container{padding:24px 16px}.welcome-screen-card{padding:48px 32px}.welcome-screen-trust{flex-direction:column;gap:12px}}.dashboard-view{position:relative;width:100%;max-width:1120px;margin:0 auto;padding:32px 24px;background:transparent;min-height:calc(100vh - 64px)}.dashboard-header-band{margin-bottom:20px}.dashboard-metrics-band{margin-bottom:24px}@media (max-width: 768px){.dashboard-view{padding:24px 16px}.dashboard-header-band{margin-bottom:20px}.dashboard-metrics-band{margin-bottom:24px}}.dashboard-header-band{margin-bottom:40px}.dashboard-header-content{display:flex;flex-direction:column;gap:8px}.dashboard-main-title{font-size:32px;font-weight:700;color:var(--graphite);margin:0;line-height:1.2;letter-spacing:-.02em}.dashboard-subtitle{font-size:15px;color:var(--fog);margin:0;line-height:1.5}.dashboard-meta{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:14px;color:var(--fog)}.dashboard-pill-count{font-weight:500;color:var(--graphite)}.dashboard-separator{opacity:.4}.dashboard-updated{opacity:.7}.dashboard-content-band{display:grid;grid-template-columns:1fr 340px;gap:32px;align-items:flex-start}.dashboard-cards-column{display:flex;flex-direction:column;gap:24px}.dashboard-header-strip{background:#fff;border-radius:16px;padding:16px 20px;box-shadow:0 1px 3px #00000014;border:1px solid #e9ecef;display:flex;justify-content:space-between;align-items:center}.header-strip-left{display:flex;align-items:center;gap:12px}.header-strip-label{font-size:14px;font-weight:600;color:var(--graphite)}.header-strip-timestamp{font-size:13px;color:var(--fog)}.header-strip-right{display:flex;align-items:center}.header-strip-confidence{font-size:13px;color:var(--fog)}.dashboard-cards-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.dashboard-recommendation-card{background:#fff;border-radius:16px;padding:20px;box-shadow:0 1px 3px #00000014;border:1px solid #e9ecef;position:relative;transition:transform .2s ease,box-shadow .2s ease}.dashboard-recommendation-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001f}.card-tag-chip{position:absolute;top:16px;right:16px;font-size:10px;font-weight:600;padding:4px 10px;border-radius:12px;background:linear-gradient(135deg,#94b0c2,#5c6f80);color:#fff;text-transform:uppercase;letter-spacing:.5px;z-index:1}.card-content-wrapper{display:flex;gap:16px;align-items:flex-start}.card-pill-image{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:12px;background:linear-gradient(135deg,#f5f7f9,#e9ecef);border:1px solid #e2e2df;flex-shrink:0}.card-text-content{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.card-product-name{font-size:16px;font-weight:600;color:var(--graphite);margin:0;line-height:1.3;padding-right:60px}.card-form-factor{font-size:11px;color:var(--fog);margin:-4px 0 0;opacity:.6;text-transform:uppercase;letter-spacing:.5px}.card-dosage{font-size:13px;color:var(--graphite);margin:4px 0 0;font-weight:500;line-height:1.4}.card-benefits{margin:8px 0 0;display:flex;flex-direction:column;gap:4px}.card-benefit-line{font-size:12px;color:var(--fog);margin:0;line-height:1.5}.card-amazon-link{display:inline-block;margin-top:auto;padding-top:8px;color:#0369a1;font-size:12px;text-decoration:none;font-weight:500;align-self:flex-end;transition:color .15s ease}.card-amazon-link:hover{color:#0284c7;text-decoration:underline}.dashboard-side-panel{position:sticky;top:80px;width:100%}.side-panel-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 1px 3px #00000014;border:1px solid #e9ecef}.side-panel-progress{font-size:12px;color:var(--fog);margin-bottom:16px;text-align:center}.side-panel-title{font-size:20px;font-weight:700;color:var(--graphite);margin:0 0 12px;line-height:1.3}.side-panel-body{font-size:14px;color:var(--fog);margin:0 0 20px;line-height:1.6}.side-panel-primary-button{width:100%;background:linear-gradient(135deg,#94b0c2,#5c6f80);color:#fff;border:none;border-radius:12px;padding:14px 24px;font-size:15px;font-weight:600;cursor:pointer;box-shadow:0 2px 8px #5c6f804d;transition:all .2s ease-in-out;margin-bottom:12px}.side-panel-primary-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #5c6f8066}.side-panel-primary-button:active{transform:translateY(0)}.side-panel-secondary-text{font-size:12px;color:var(--fog);margin:0;text-align:center;opacity:.8}@media (max-width: 1024px){.dashboard-content-band{grid-template-columns:1fr}.dashboard-side-panel{position:static;order:-1}.dashboard-cards-grid{grid-template-columns:1fr}}@media (max-width: 768px){.dashboard-view{padding:24px 16px}.dashboard-main-title{font-size:28px}.dashboard-cards-grid{gap:16px}}.dashboard-footer-band{margin-top:48px;padding-top:32px}.dashboard-footer-band .composer-helper-text{font-size:13px;color:var(--fog);margin:0 0 12px;text-align:left;line-height:1.5}.dashboard-footer-band .composer-divider{height:1px;background:#e9ecef;margin:0 0 20px}.dashboard-footer-band .composer{width:100%}.dashboard-footer-band .input-wrap{display:flex;align-items:center;background:#fffffffa;border:1.5px solid #e9ecef;outline:none;border-radius:16px;padding:14px 16px 14px 20px;width:100%;box-shadow:0 1px 3px #00000014;transition:all .2s ease}.dashboard-footer-band .input-wrap:focus-within{box-shadow:0 4px 12px #0000001f;border-color:#94b0c2;background:#fff}.dashboard-footer-band .input{flex:1;background:transparent;border:none;border-radius:0;padding:0;outline:none;box-shadow:none;font-size:15px;transition:all .2s ease;color:var(--graphite);font-weight:400;line-height:1.5}.dashboard-footer-band .input::-moz-placeholder{color:var(--fog);font-weight:400}.dashboard-footer-band .input::placeholder{color:var(--fog);font-weight:400}.dashboard-footer-band .input:disabled{opacity:.6;cursor:not-allowed}.dashboard-footer-band .send{border:none;border-radius:8px;background:linear-gradient(135deg,#94b0c2,#5c6f80);color:#fff;padding:0;width:40px;height:40px;cursor:pointer;font-size:18px;transition:all .2s ease;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 1px 3px #00000014;margin-left:8px}.dashboard-footer-band .send svg{width:18px;height:18px;stroke-width:2;color:#fff}.dashboard-footer-band .send:hover:not(:disabled){transform:translateY(-2px) scale(1.05);box-shadow:0 4px 12px #5c6f8066}.dashboard-footer-band .send:active:not(:disabled){transform:translateY(0) scale(.98)}.dashboard-footer-band .send:disabled{opacity:.4;cursor:not-allowed}
