:root{--bg:#f7f8f2;--surface:#fffefa;--surface-2:#eef4eb;--surface-3:#dce9d9;--text:#1a2b21;--text-muted:#5e7164;--primary:#267a50;--primary-hover:#1d6240;--primary-soft:#dcf1df;--on-primary:#fff;--border:#dae5d8;--border-strong:#aecab3;--danger:#b9382d;--danger-soft:#ffebe8;--warning:#946000;--warning-soft:#fff2d7;--success:#267a50;--success-soft:#dcf1df;--info:#176b99;--info-soft:#e3f3fb;--test:#6652a3;--test-soft:#efeafd;--focus:#267a50;--shadow-sm:0 3px 8px #2341270a, 0 16px 34px #23412709;--shadow-md:0 16px 46px #2341271a, 0 3px 10px #2341270b;--overlay:#091f177a;--font-sans:ui-rounded, "SF Pro Rounded", "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;--radius-button:14px;--radius-card:24px;--radius-sm:10px;--control-height:48px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#101b15;--surface:#19291f;--surface-2:#213629;--surface-3:#30503b;--text:#eef8ed;--text-muted:#b6cdb9;--primary:#80dfa3;--primary-hover:#9aefb8;--primary-soft:#214633;--on-primary:#072217;--border:#304b38;--border-strong:#5b7962;--danger:#ffb7af;--danger-soft:#442622;--warning:#f5c96b;--warning-soft:#3f3218;--success:#80dfa3;--success-soft:#214633;--info:#93d7fa;--info-soft:#173746;--test:#d1c2ff;--test-soft:#30274e;--focus:#80dfa3;--shadow-sm:0 2px 6px #00000047;--shadow-md:0 16px 42px #0000006b;--overlay:#000000ad;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#101b15;--surface:#19291f;--surface-2:#213629;--surface-3:#30503b;--text:#eef8ed;--text-muted:#b6cdb9;--primary:#80dfa3;--primary-hover:#9aefb8;--primary-soft:#214633;--on-primary:#072217;--border:#304b38;--border-strong:#5b7962;--danger:#ffb7af;--danger-soft:#442622;--warning:#f5c96b;--warning-soft:#3f3218;--success:#80dfa3;--success-soft:#214633;--info:#93d7fa;--info-soft:#173746;--test:#d1c2ff;--test-soft:#30274e;--focus:#80dfa3;--shadow-sm:0 2px 6px #00000047;--shadow-md:0 16px 42px #0000006b;--overlay:#000000ad;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{background:var(--bg);color:var(--text);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;margin:0;font-size:16px;line-height:24px}h1,h2,h3,h4,p{margin:0}h2{font-size:20px;font-weight:650;line-height:28px}h3{font-size:17px;font-weight:650;line-height:24px}@media (width<=767px){h1{font-size:24px;line-height:30px}}a{color:var(--primary);text-underline-offset:3px}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}img,svg{flex-shrink:0}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.ui-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ui-num{font-variant-numeric:tabular-nums}.ui-muted{color:var(--text-muted)}.ui-small{font-size:14px;line-height:20px}.ui-stack{gap:var(--space-4);flex-direction:column;display:flex}.ui-stack-sm{gap:var(--space-2);flex-direction:column;display:flex}.ui-stack-lg{gap:var(--space-5);flex-direction:column;display:flex}.ui-row{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.ui-row-between{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.ui-button{justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--control-height);padding:0 var(--space-4);border-radius:var(--radius-button);cursor:pointer;white-space:nowrap;border:1px solid #0000;font-size:16px;font-weight:600;line-height:20px;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.ui-button:disabled,.ui-button[aria-disabled=true]{cursor:not-allowed;opacity:.55}.ui-button--primary{background:var(--primary);color:var(--on-primary)}.ui-button--primary:not(:disabled):hover{background:var(--primary-hover)}.ui-button--secondary{background:var(--surface);color:var(--text);border-color:var(--border-strong)}.ui-button--secondary:not(:disabled):hover{background:var(--surface-2)}.ui-button--ghost{color:var(--primary);background:0 0}.ui-button--ghost:not(:disabled):hover{background:var(--primary-soft)}.ui-button--danger{background:var(--danger);color:var(--surface)}.ui-button--danger:not(:disabled):hover{filter:brightness(.92)}.ui-button--sm{min-height:36px;padding:0 var(--space-3);font-size:14px}.ui-button--block{width:100%}.ui-button--icon{width:var(--control-height);padding:0}.ui-button--icon.ui-button--sm{width:36px}@media (pointer:coarse){.ui-button--sm{min-height:44px}.ui-button--icon.ui-button--sm{width:44px}}.ui-spinner{animation:.9s linear infinite ui-spin}@keyframes ui-spin{to{transform:rotate(360deg)}}.ui-field{flex-direction:column;gap:6px;min-width:0;display:flex}.ui-field__label{font-size:14px;font-weight:600;line-height:20px}.ui-field__required{color:var(--danger);margin-left:2px}.ui-field__hint{color:var(--text-muted);font-size:14px;line-height:20px}.ui-field__error{color:var(--danger);align-items:flex-start;gap:6px;font-size:14px;font-weight:500;line-height:20px;display:flex}.ui-field__error svg{margin-top:2px}.ui-input,.ui-select,.ui-textarea{width:100%;min-height:var(--control-height);border-radius:var(--radius-button);border:1px solid var(--border-strong);background:var(--surface);color:var(--text);padding:10px 12px;font-size:16px;line-height:22px}.ui-textarea{resize:vertical;min-height:96px}.ui-input[aria-invalid=true],.ui-select[aria-invalid=true],.ui-textarea[aria-invalid=true]{border-color:var(--danger);border-width:2px;padding:9px 11px}.ui-input:disabled,.ui-select:disabled,.ui-textarea:disabled{background:var(--surface-2);color:var(--text-muted)}.ui-input-wrap{align-items:center;display:flex;position:relative}.ui-input-wrap .ui-input{padding-right:52px}.ui-input-wrap__suffix{position:absolute;right:4px}.ui-input-unit{color:var(--text-muted);pointer-events:none;font-size:14px;position:absolute;right:12px}.ui-check{align-items:flex-start;gap:var(--space-3);min-height:var(--control-height);cursor:pointer;padding:10px 0;display:flex}.ui-check input{width:20px;height:20px;accent-color:var(--primary);cursor:pointer;flex-shrink:0;margin:2px 0 0}.ui-choice{border:0;min-width:0;margin:0;padding:0}.ui-choice legend{margin-bottom:6px;padding:0;font-size:14px;font-weight:600;line-height:20px}.ui-choice__options{gap:var(--space-2);flex-wrap:wrap;display:flex}.ui-choice__option{position:relative}.ui-choice__option input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.ui-choice__label{min-height:var(--control-height);border-radius:var(--radius-button);border:1px solid var(--border-strong);background:var(--surface);pointer-events:none;align-items:center;gap:6px;padding:8px 14px;font-size:15px;font-weight:500;line-height:20px;display:inline-flex}.ui-choice__option input:checked+.ui-choice__label{background:var(--primary-soft);border-color:var(--primary);color:var(--text);box-shadow:inset 0 0 0 1px var(--primary);font-weight:650}.ui-choice__option input:focus-visible+.ui-choice__label{outline:3px solid var(--focus);outline-offset:2px}.ui-choice__option input:disabled+.ui-choice__label{opacity:.55}.ui-choice__check{display:none}.ui-choice__option input:checked+.ui-choice__label .ui-choice__check{color:var(--primary);display:inline-block}.ui-choice__desc{color:var(--text-muted);font-size:13px;font-weight:400;line-height:18px;display:block}.ui-choice--cards .ui-choice__options{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.ui-choice--cards .ui-choice__label{border-radius:12px;flex-direction:column;align-items:flex-start;width:100%;height:100%;padding:12px 14px;display:flex}.ui-segmented{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;gap:2px;max-width:100%;padding:3px;display:inline-flex;overflow-x:auto}.ui-segmented__option{position:relative}.ui-segmented__option input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.ui-segmented__label{min-height:38px;color:var(--text-muted);white-space:nowrap;pointer-events:none;border-radius:9px;align-items:center;gap:6px;padding:0 14px;font-size:15px;font-weight:550;display:inline-flex}.ui-segmented__option input:checked+.ui-segmented__label{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm);font-weight:650}.ui-segmented__option input:focus-visible+.ui-segmented__label{outline:3px solid var(--focus);outline-offset:1px}.ui-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);padding:var(--space-5);min-width:0}.ui-card--flat{box-shadow:none}.ui-card--tight{padding:var(--space-4)}.ui-card__header{justify-content:space-between;align-items:flex-start;gap:var(--space-3);margin-bottom:var(--space-4);display:flex}.ui-card__title{align-items:center;gap:var(--space-2);display:flex}.ui-card__subtitle{color:var(--text-muted);margin-top:2px;font-size:14px;line-height:20px}@media (width<=767px){.ui-card{padding:var(--space-4)}}.ui-badge{background:var(--surface-2);min-height:24px;color:var(--text-muted);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:13px;font-weight:600;line-height:18px;display:inline-flex}.ui-badge--primary{background:var(--primary-soft);color:var(--primary)}.ui-badge--success{background:var(--success-soft);color:var(--success)}.ui-badge--warning{background:var(--warning-soft);color:var(--warning)}.ui-badge--danger{background:var(--danger-soft);color:var(--danger)}.ui-badge--test{background:var(--test-soft);color:var(--test)}.ui-alert{gap:var(--space-3);padding:var(--space-3) var(--space-4);border:1px solid #0000;border-radius:12px;font-size:15px;line-height:22px;display:flex}.ui-alert__icon{margin-top:1px}.ui-alert__body{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.ui-alert__title{font-weight:650}.ui-alert__actions{gap:var(--space-2);margin-top:var(--space-2);flex-wrap:wrap;display:flex}.ui-alert--info{background:var(--info-soft);border-color:color-mix(in srgb, var(--info) 25%, transparent)}.ui-alert--info .ui-alert__icon{color:var(--info)}.ui-alert--success{background:var(--success-soft);border-color:color-mix(in srgb, var(--success) 25%, transparent)}.ui-alert--success .ui-alert__icon{color:var(--success)}.ui-alert--warning{background:var(--warning-soft);border-color:color-mix(in srgb, var(--warning) 30%, transparent)}.ui-alert--warning .ui-alert__icon{color:var(--warning)}.ui-alert--danger{background:var(--danger-soft);border-color:color-mix(in srgb, var(--danger) 30%, transparent)}.ui-alert--danger .ui-alert__icon,.ui-alert--danger .ui-alert__title{color:var(--danger)}.ui-alert--test{background:var(--test-soft);border-color:color-mix(in srgb, var(--test) 30%, transparent)}.ui-alert--test .ui-alert__icon{color:var(--test)}.ui-skeleton{background:linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%);background-size:200% 100%;border-radius:8px;animation:1.4s ease-in-out infinite ui-shimmer;display:block}@keyframes ui-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.ui-empty{text-align:center;align-items:center;gap:var(--space-3);padding:var(--space-6) var(--space-4);flex-direction:column;display:flex}.ui-empty__icon{background:var(--primary-soft);width:56px;height:56px;color:var(--primary);border-radius:16px;place-items:center;display:grid}.ui-empty__text{max-width:44ch;color:var(--text-muted)}.ui-empty__actions{justify-content:center;gap:var(--space-2);margin-top:var(--space-2);flex-wrap:wrap;display:flex}.ui-progress{background:var(--surface-3);border-radius:999px;height:8px;position:relative;overflow:hidden}.ui-progress__bar{border-radius:inherit;background:var(--primary);height:100%;transition:width .3s}.ui-progress--over .ui-progress__bar{background:var(--warning)}.ui-macros{gap:var(--space-3);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}@media (width<=1100px){.ui-macros{grid-template-columns:repeat(2,minmax(0,1fr))}}.ui-macro{gap:var(--space-2);padding:var(--space-4);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);flex-direction:column;min-width:0;display:flex}.ui-macro__label{color:var(--text-muted);font-size:14px;font-weight:600;line-height:20px}.ui-macro__value{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:24px;font-weight:700;line-height:30px}.ui-macro__target{color:var(--text-muted);font-size:15px;font-weight:500}.ui-macro__status{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:14px;line-height:20px}.ui-macro__status--over{color:var(--warning);font-weight:600}.ui-macro__status--met{color:var(--success);font-weight:600}@media (width<=767px){.ui-macro{padding:var(--space-3)}.ui-macro__value{font-size:20px;line-height:26px}}.ui-dialog{border:1px solid var(--border);background:var(--surface);color:var(--text);width:min(560px,100vw - 32px);max-height:min(90vh,900px);box-shadow:var(--shadow-md);border-radius:20px;padding:0}.ui-dialog--wide{width:min(760px,100vw - 32px)}.ui-dialog::backdrop{background:var(--overlay)}.ui-dialog[open]{flex-direction:column;display:flex}.ui-dialog__header{justify-content:space-between;align-items:flex-start;gap:var(--space-3);padding:var(--space-5) var(--space-5) var(--space-3);display:flex}.ui-dialog__header>div{min-width:0}.ui-dialog__header h2{overflow-wrap:anywhere}.ui-dialog__description{color:var(--text-muted);margin-top:4px;font-size:15px;line-height:22px}.ui-dialog__body{padding:0 var(--space-5) var(--space-5);overscroll-behavior:contain;flex:1;min-height:0;overflow-y:auto}.ui-dialog__footer{justify-content:flex-end;gap:var(--space-2);padding:var(--space-4) var(--space-5);border-top:1px solid var(--border);background:var(--surface);border-radius:0 0 20px 20px;flex-wrap:wrap;display:flex}.ui-dialog--drawer{border-width:0 0 0 1px;border-radius:0;width:min(320px,88vw);height:100dvh;max-height:100dvh;margin:0 0 0 auto}.ui-dialog--drawer .ui-dialog__footer{border-radius:0}@media (width<=767px){.ui-dialog:not(.ui-dialog--drawer){border-width:1px 0 0;border-radius:20px 20px 0 0;width:100vw;max-width:100vw;max-height:92dvh;margin:auto 0 0}.ui-dialog__header{padding:var(--space-4) var(--space-4) var(--space-3)}.ui-dialog__body{padding:0 var(--space-4) var(--space-4)}.ui-dialog__footer{padding:var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));border-radius:0}.ui-dialog__footer .ui-button{flex:auto}}.ui-page-header{justify-content:space-between;align-items:flex-end;gap:var(--space-3) var(--space-4);margin-bottom:var(--space-5);flex-wrap:wrap;display:flex}.ui-page-header__text{flex-direction:column;gap:4px;min-width:0;display:flex}.ui-page-header__eyebrow{color:var(--text-muted);font-size:14px;font-weight:600;line-height:20px}.ui-page-header__description{color:var(--text-muted);max-width:68ch}.ui-page-header__actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.ui-stepper{gap:var(--space-2);counter-reset:step;margin:0;padding:0;list-style:none;display:flex}.ui-stepper__item{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.ui-stepper__bar{background:var(--surface-3);border-radius:999px;height:4px}.ui-stepper__item--done .ui-stepper__bar,.ui-stepper__item--current .ui-stepper__bar{background:var(--primary)}.ui-stepper__label{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:550;line-height:18px;overflow:hidden}.ui-stepper__item--current .ui-stepper__label{color:var(--text);font-weight:700}@media (width<=767px){.ui-stepper__item:not(.ui-stepper__item--current) .ui-stepper__label{visibility:hidden}.ui-stepper__item--current .ui-stepper__label{overflow:visible}}.ui-tabs{gap:var(--space-1);border-bottom:1px solid var(--border);scrollbar-width:thin;display:flex;overflow-x:auto}.ui-tab{min-height:var(--control-height);padding:0 var(--space-4);color:var(--text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:10px 10px 0 0;align-items:center;gap:6px;font-weight:600;display:inline-flex;position:relative}.ui-tab:hover{color:var(--text);background:var(--surface-2)}.ui-tab[aria-selected=true]{color:var(--primary)}.ui-tab[aria-selected=true]:after{content:"";background:var(--primary);border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:-1px;left:8px;right:8px}.ui-coins{font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-weight:700;display:inline-flex}.ui-coins svg{color:#b7791f}:root[data-theme=dark] .ui-coins svg{color:#f0c36b}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .ui-coins svg{color:#f0c36b}}.ui-dl{gap:var(--space-2) var(--space-4);grid-template-columns:max-content 1fr;margin:0;display:grid}.ui-dl dt{color:var(--text-muted)}.ui-dl dd{overflow-wrap:anywhere;min-width:0;margin:0;font-weight:600}.ui-menu{position:relative}.ui-menu__list{z-index:40;min-width:240px;padding:var(--space-2);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-md);border-radius:14px;margin:0;list-style:none;position:absolute;top:calc(100% + 6px);right:0}.ui-menu__items{margin:0;padding:0;list-style:none}.ui-menu__item{align-items:center;gap:var(--space-3);width:100%;min-height:var(--control-height);padding:0 var(--space-3);color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;font-weight:500;text-decoration:none;display:flex}.ui-menu__item:hover,.ui-menu__item:focus-visible{background:var(--surface-2)}.ui-menu__item svg{color:var(--text-muted)}.ui-menu__sep{height:1px;margin:var(--space-1) 0;background:var(--border)}.ui-menu__meta{padding:var(--space-2) var(--space-3);color:var(--text-muted);overflow-wrap:anywhere;font-size:14px;line-height:20px}h1{letter-spacing:-.025em;font-size:32px;font-weight:750;line-height:38px}h2{font-size:21px;font-weight:700}.ui-button{font-weight:700;transition:transform .16s,background-color .16s,border-color .16s,color .16s,box-shadow .16s}.ui-button:not(:disabled):active{transform:scale(.98)}.ui-button--primary{box-shadow:0 8px 18px color-mix(in srgb, var(--primary) 23%, transparent)}.ui-input:focus,.ui-select:focus,.ui-textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent);outline:0}.ui-card,.ui-macro{border-color:color-mix(in srgb, var(--border) 84%, transparent);box-shadow:var(--shadow-sm)}.ui-macro__value{font-size:26px}.ui-empty__icon{border-radius:18px}.ui-dialog{border-radius:24px}.ui-stepper__bar{height:5px}@media (width<=767px){h1{font-size:28px;line-height:34px}}:root{--sidebar-width:224px;--header-height:64px;--bottom-nav-height:64px;--content-max:1200px;--page-pad:32px}@media (width<=1023px){:root{--page-pad:24px}}@media (width<=767px){:root{--page-pad:16px;--header-height:56px}}.app-brand{color:var(--text);letter-spacing:-.01em;border-radius:10px;align-items:center;gap:10px;font-size:18px;font-weight:750;text-decoration:none;display:inline-flex}.app-brand__mark{background:var(--primary);width:36px;height:36px;color:var(--on-primary);border-radius:11px;place-items:center;display:grid}.app-brand__name{white-space:nowrap}.app-boot{justify-content:center;align-items:center;gap:var(--space-5);min-height:100dvh;padding:var(--space-5) var(--space-4);flex-direction:column;display:flex}.app-boot__brand{align-items:center;gap:10px;font-size:20px;font-weight:750;display:inline-flex}.app-boot__panel{width:min(480px,100%)}.app-boot__loading{align-items:center;gap:var(--space-2);color:var(--text-muted);display:inline-flex}.app-skip{left:var(--space-4);z-index:100;padding:var(--space-2) var(--space-4);border-radius:var(--radius-button);background:var(--primary);color:var(--on-primary);font-weight:600;position:absolute;top:-100px}.app-skip:focus{top:var(--space-3)}.app{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);min-height:100dvh;display:grid}.app-sidebar{gap:var(--space-5);height:100dvh;padding:var(--space-5) var(--space-4);background:var(--surface);border-right:1px solid var(--border);flex-direction:column;display:flex;position:sticky;top:0;overflow-y:auto}.app-sidebar .app-brand{padding:0 var(--space-2)}.app-sidebar__footer{margin-top:auto}.app-nav__heading{padding:0 var(--space-3);margin-bottom:var(--space-1);text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);font-size:13px;font-weight:650;line-height:18px}.app-nav__list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.app-nav__link{align-items:center;gap:var(--space-3);min-height:var(--control-height);padding:0 var(--space-3);border-radius:var(--radius-button);color:var(--text-muted);font-weight:600;text-decoration:none;display:flex}.app-nav__link:hover{background:var(--surface-2);color:var(--text)}.app-nav__link.active{background:var(--primary-soft);color:var(--primary)}.app-nav--secondary{padding-top:var(--space-4);border-top:1px solid var(--border)}.app-test-chip{background:var(--test-soft);min-height:32px;color:var(--test);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:13px;font-weight:650;text-decoration:none;display:inline-flex}.app-test-chip:hover{text-decoration:underline}.app-column{flex-direction:column;min-width:0;display:flex}.app-header{z-index:30;justify-content:space-between;align-items:center;gap:var(--space-3);height:var(--header-height);padding:0 var(--page-pad);background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(10px);backdrop-filter:saturate(1.4)blur(10px);border-bottom:1px solid var(--border);display:flex;position:sticky;top:0}.app-header__start,.app-header__end{align-items:center;gap:var(--space-2);min-width:0;display:flex}.app-header__end{gap:var(--space-3)}.app-header__menu,.app-header__brand,.app-header__test{display:none}.app-header__coins{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--text);border-radius:999px;align-items:center;padding:0 12px;text-decoration:none;display:inline-flex}.app-header__coins:hover{border-color:var(--border-strong)}.app-profile-button{align-items:center;gap:var(--space-2);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:999px;max-width:220px;min-height:44px;padding:2px 8px 2px 2px;font-weight:600;display:inline-flex}.app-profile-button:hover{background:var(--surface-2)}.app-profile-button__name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.app-avatar{background:var(--primary-soft);width:36px;height:36px;color:var(--primary);border-radius:50%;place-items:center;font-weight:750;display:grid}.app-content{width:100%;min-width:0;max-width:calc(var(--content-max) + 2 * var(--page-pad));padding:var(--space-6) var(--page-pad) var(--space-7);outline:none;flex:1;margin:0 auto}.app-content>*,.app-grid-main>*{min-width:0}.app-mobile-notice{align-items:flex-start;gap:var(--space-3);min-width:0;padding:var(--space-3) var(--space-4);border:1px solid color-mix(in srgb, var(--primary) 23%, var(--border));border-radius:var(--radius-card);background:var(--primary-soft);color:var(--text);display:flex}.app-mobile-notice__icon{background:var(--surface);width:38px;height:38px;color:var(--primary);border-radius:12px;flex:0 0 38px;place-items:center;display:grid}.app-mobile-notice__copy{overflow-wrap:anywhere;flex-direction:column;gap:2px;min-width:0;font-size:14px;line-height:20px;display:flex}.app-mobile-notice__copy strong{font-size:15px;line-height:21px}.app-mobile-notice__copy>span{color:var(--text-muted)}.app-bottom-nav{display:none}@media (width<=1023px){.app{grid-template-columns:minmax(0,1fr)}.app-sidebar{display:none}.app-header__menu,.app-header__brand{display:inline-flex}.app-content{padding-top:var(--space-5)}}@media (width<=767px){.app-header__menu{display:none}.app-header__test{display:inline-flex}.app-header__test .app-test-chip{padding:4px 8px}.app-header__end{gap:var(--space-2)}.app-header__coins{padding:0 10px}.app-profile-button{padding:2px}.app-profile-button__name,.app-profile-button__chevron{display:none}.app-content{padding-top:var(--space-4);padding-bottom:calc(var(--bottom-nav-height) + var(--space-6) + env(safe-area-inset-bottom))}.app-bottom-nav{z-index:30;height:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.app-bottom-nav__link{color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:12px;font-weight:600;line-height:16px;text-decoration:none;display:flex}.app-bottom-nav__link.active{color:var(--primary)}.app-bottom-nav__link.active svg{background:var(--primary-soft);box-sizing:content-box;border-radius:999px;padding:2px 12px}.app-brand__name{font-size:17px}}@media (width<=380px){.app-header .app-brand__name{display:none}}@media (width<=767px) and (height<=420px){.app-bottom-nav{position:static}.app-content{padding-bottom:var(--space-6)}}.app-toasts{right:var(--space-5);bottom:var(--space-5);z-index:60;gap:var(--space-2);pointer-events:none;flex-direction:column;width:min(380px,100vw - 32px);display:flex;position:fixed}.app-toast{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-3) var(--space-3) var(--space-4);background:var(--text);color:var(--bg);box-shadow:var(--shadow-md);pointer-events:auto;border-radius:14px;font-weight:550;display:flex}.app-toast span{flex:1}.app-toast__close{width:32px;height:32px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.app-toast--success svg:first-child{color:#8bd3ad}.app-toast--warning svg:first-child{color:#f5c56b}@media (width<=767px){.app-toasts{width:auto;left:16px;right:16px;bottom:calc(var(--bottom-nav-height) + 12px + env(safe-area-inset-bottom))}}.app-page-narrow{max-width:720px;margin:0 auto}.app-grid-main{gap:var(--space-5);grid-template-columns:minmax(0,1fr) 340px;align-items:start;display:grid}@media (width<=1100px){.app-grid-main{grid-template-columns:minmax(0,1fr)}}.app-form-grid{gap:var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.app-form-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}@media (width<=767px){.app-form-grid{grid-template-columns:minmax(0,1fr)}.app-form-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}}.app-form-actions{justify-content:flex-end;gap:var(--space-2);flex-wrap:wrap;display:flex}.app-brand__mark{background:linear-gradient(145deg, var(--primary), #16a77a);border-radius:13px}.app-nav__link{font-weight:650;transition:background-color .16s,color .16s,transform .16s}.app-nav__link:hover{transform:translate(2px)}.app-nav__link.active{font-weight:750}.app-avatar{background:linear-gradient(145deg, var(--primary-soft), color-mix(in srgb, var(--primary) 22%, var(--surface)))}@media (width<=767px){.app-bottom-nav{background:color-mix(in srgb, var(--surface) 94%, var(--primary-soft))}.app-form-actions .ui-button{flex:auto}.app-header{min-width:0}.app-header__start{flex:auto;overflow:hidden}.app-header__brand,.app-header__brand .app-brand{min-width:0}.app-header__brand .app-brand__name{text-overflow:ellipsis;overflow:hidden}.app-header__end{flex:none;gap:4px}.app-header__coins{padding:0 8px}.app-profile-button{padding-right:0}}@media (width<=430px){.app-header__test .app-test-chip{place-items:center;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;display:grid}.app-header__test .app-test-chip>span[aria-hidden=true]{display:none}}body{background-color:var(--bg);background-image:radial-gradient(circle at 75% -18%, color-mix(in srgb, var(--primary-soft) 62%, transparent), transparent 42rem)}h1,h2,h3{letter-spacing:-.03em}.ui-page-header{gap:16px 24px;margin-bottom:28px}.ui-page-header h1{letter-spacing:-.045em;overflow-wrap:anywhere;font-size:clamp(32px,3.2vw,44px);font-weight:780;line-height:1.08}.ui-page-header__description{font-size:16px;line-height:24px}.ui-page-header__eyebrow{color:var(--primary)}.ui-card{box-shadow:var(--shadow-sm)}.ui-card__title{font-size:21px;line-height:27px}.ui-card__subtitle{max-width:64ch}.ui-button--primary:not(:disabled){box-shadow:0 8px 20px color-mix(in srgb, var(--primary) 19%, transparent)}.ui-button--secondary{border-color:var(--border);box-shadow:var(--shadow-sm)}.ui-button--secondary:not(:disabled):hover{border-color:var(--primary)}.ui-empty{border-radius:20px}.ui-input,.ui-select,.ui-textarea{background:var(--surface)}.ui-tabs{border:1px solid var(--border);background:var(--surface-2);border-radius:16px;width:fit-content;max-width:100%;padding:4px}.ui-tab{border-radius:12px;min-height:42px}.ui-tab[aria-selected=true]{background:var(--surface);box-shadow:var(--shadow-sm);color:var(--text)}.ui-tab[aria-selected=true]:after{display:none}.ui-segmented{border-radius:16px;padding:4px}.ui-segmented__label{border-radius:12px}.app-sidebar{background:color-mix(in srgb, var(--surface) 74%, var(--surface-2))}.app-nav__link{border-radius:15px}.app-nav__link.active{background:var(--primary-soft);color:var(--primary);box-shadow:inset 3px 0 var(--primary)}.app-header{background:color-mix(in srgb, var(--surface) 91%, transparent)}.app-brand__mark{border-radius:14px}.app-content{padding-top:clamp(24px,3vw,42px)}.app-mobile-notice{background:color-mix(in srgb, var(--primary-soft) 84%, var(--surface))}.app .today-entry-list li{grid-template-columns:minmax(62px,max-content) minmax(0,1fr) auto}.app .today-entry-list li>:first-child{white-space:nowrap}.app .plans-card{background:linear-gradient(155deg, var(--surface) 60%, color-mix(in srgb, var(--primary-soft) 37%, var(--surface)));border-color:var(--border);min-height:205px;padding:clamp(20px,2vw,28px)}.app .plans-card__range{background:var(--surface-2);width:fit-content;color:var(--primary);border-radius:999px;padding:6px 10px}.app .plans-card__title{font-size:22px;line-height:1.25}.app .plans-chip{background:var(--surface-2);border:1px solid var(--border);font-weight:600}.app .plans-step{max-width:850px;margin-inline:auto}.app .plans-step__title{font-size:clamp(24px,2.5vw,31px);line-height:1.2}.app .plans-summary__list{background:var(--surface);border-radius:20px}.app .plans-price{border:1px solid color-mix(in srgb, var(--primary) 23%, var(--border));border-radius:22px}.app .plans-day{border-color:var(--border);min-height:68px;box-shadow:var(--shadow-sm);border-radius:18px}.app .plans-day[aria-selected=true]{background:var(--primary-soft);border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.app .plans-day__date{font-size:15px}.app .plans-meal{border-radius:22px;padding:20px}.app .plans-meal__type{background:var(--primary-soft);border-radius:999px;align-self:flex-start;padding:4px 10px}.app .plans-meal__title{font-size:19px;line-height:1.3}.app .plans-meal__nutrients{color:var(--text-muted);margin-top:auto}.app .plans-recipe__nutrients>div{background:var(--surface-2);border-radius:16px}.app .plans-shopping__items{box-shadow:var(--shadow-sm);border-radius:20px}.app .plans-shop-item{min-height:54px}.app .plans-shop-item:hover{background:var(--surface-2)}.app .diary-toolbar{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:20px;padding:12px}.app .diary-group{border-radius:22px}.app .diary-group__head{margin-bottom:12px;padding-bottom:14px}.app .diary-entry{background:var(--surface-2);box-shadow:none;border-radius:16px;padding:14px}.app .diary-entry__time{background:var(--surface);border-radius:8px;width:fit-content;padding:4px 6px;font-weight:700}.app .diary-entry__title{font-size:16px;line-height:1.35}.app .diary-week__day{border:1px solid var(--border);background:var(--surface);border-radius:16px;margin:4px 0;padding:14px}.app .diary-week__day:hover{border-color:var(--primary);background:var(--primary-soft)}.app .diary-month__cell{border-radius:14px}.app .diary-stats__list dd{font-size:25px;line-height:30px}.app .coach-threads{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:22px;padding:16px}.app .coach-thread-link[aria-current=page]{border-color:#0000}.app .coach-chat{box-shadow:var(--shadow-sm);border-radius:24px}.app .coach-chat__head{background:linear-gradient(135deg, var(--primary-soft), var(--surface));border-radius:24px 24px 0 0}.app .coach-chat__title{font-size:23px;line-height:1.25}.app .coach-empty__icon{border-radius:16px}.app .coach-starter.ui-button{background:var(--surface);border-color:var(--border);border-radius:17px;align-items:flex-start;min-height:66px}.app .coach-starter.ui-button:hover{border-color:var(--primary);background:var(--primary-soft)}.app .coach-message__bubble{border-radius:20px;padding:14px 18px}.app .coach-message--user .coach-message__bubble{border-bottom-right-radius:7px}.app .coach-message--assistant .coach-message__bubble{border-bottom-left-radius:7px}.app .coach-composer{background:color-mix(in srgb, var(--surface) 88%, var(--primary-soft))}.app .wallet-balances{gap:12px}.app .wallet-balance{min-height:144px;box-shadow:var(--shadow-sm);border-radius:22px;padding:20px}.app .wallet-balance--main{color:#fff;background:linear-gradient(135deg,#216a49,#38885a);border-color:#0000}.app .wallet-balance--main .wallet-balance__label,.app .wallet-balance--main .wallet-balance__hint{color:#ffffffd1}.app .wallet-balance--main .wallet-balance__value{font-size:34px;line-height:1.15}.app .wallet-ledger__row:hover{background:color-mix(in srgb, var(--primary-soft) 42%, transparent)}.app .billing-products{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.app .billing-product{min-height:300px;box-shadow:var(--shadow-sm);background:linear-gradient(155deg, var(--surface) 66%, var(--surface-2));border-radius:24px;padding:26px}.app .billing-product:nth-child(2){background:linear-gradient(155deg, var(--surface) 46%, var(--primary-soft));border-color:color-mix(in srgb, var(--primary) 35%, var(--border))}.app .billing-product__title{font-size:23px;line-height:1.2}.app .billing-product__amount{letter-spacing:-.04em;font-size:37px;line-height:1.1}.app .billing-product__coins{background:var(--surface-2);border-radius:12px;width:fit-content;padding:8px 12px}.app .settings-grid .ui-card{border-radius:22px}.app .settings-grid .ui-card__header{border-bottom:1px solid var(--border);padding-bottom:12px}.app .settings-grid .ui-field{min-width:0}.auth .auth__context{color:#1a3a27;background:linear-gradient(155deg,#e6f2dd 0%,#cae6cf 58%,#a9d8b5 115%)}.auth .auth__context:before{background:#ffffff4d}.auth .auth__context:after{border-color:#1c693a26;box-shadow:0 0 0 34px #ffffff21,0 0 0 68px #ffffff14}.auth .auth__brand-mark{color:#fff;background:#286e49}.auth .auth__point-icon{background:#ffffff87;border-color:#27613c21}.auth .auth__point-text{color:#365d44}.auth .auth__test{color:#345540;background:#ffffff70;border-color:#27613c26}.auth .auth__context .app-mobile-notice{color:#1a3a27;background:#ffffff85;border-color:#27613c2e}.auth .auth__context .app-mobile-notice__icon{color:#267a50;background:#fffefa}.auth .auth__context .app-mobile-notice__copy>span{color:#365d44}.auth .auth__card{box-shadow:var(--shadow-md);border-radius:30px}.onb .onb__top{background:color-mix(in srgb, var(--surface) 78%, var(--primary-soft));border-bottom:1px solid var(--border)}.onb .onb__card{box-shadow:var(--shadow-md);border-radius:28px}.onb .onb__summary{background:var(--primary-soft)}:root[data-theme=dark] .auth .auth__context{color:#eef8ed;background:linear-gradient(155deg,#1b3a27,#2b5b3b 70%,#336b47)}:root[data-theme=dark] .auth .auth__point-text,:root[data-theme=dark] .auth .auth__test,:root[data-theme=dark] .auth .auth__context .app-mobile-notice__copy>span{color:#d5ecd8}:root[data-theme=dark] .auth .auth__context .app-mobile-notice{color:#eef8ed;background:#ffffff17}:root[data-theme=dark] .auth .auth__point-icon{background:#ffffff1c}:root[data-theme=dark] .auth .auth__test{background:#ffffff17}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .auth .auth__context{color:#eef8ed;background:linear-gradient(155deg,#1b3a27,#2b5b3b 70%,#336b47)}:root:not([data-theme=light]) .auth .auth__point-text,:root:not([data-theme=light]) .auth .auth__test,:root:not([data-theme=light]) .auth .auth__context .app-mobile-notice__copy>span{color:#d5ecd8}:root:not([data-theme=light]) .auth .auth__context .app-mobile-notice{color:#eef8ed;background:#ffffff17}:root:not([data-theme=light]) .auth .auth__point-icon{background:#ffffff1c}:root:not([data-theme=light]) .auth .auth__test{background:#ffffff17}}@media (width<=767px){.ui-page-header h1{font-size:clamp(28px,8vw,34px)}.ui-page-header__actions{width:100%}.ui-page-header__actions .ui-button{flex:auto}.app-header{background:var(--surface)}.app-bottom-nav{background:color-mix(in srgb, var(--surface) 95%, transparent);border-top:1px solid var(--border)}.app .diary-toolbar{padding:10px}.app .wallet-balance{min-height:auto;padding:16px 18px}.app .wallet-balance--main .wallet-balance__value{font-size:31px}.app .billing-product{min-height:auto;padding:20px}.app .billing-product__amount{font-size:32px}.app .plans-meal{padding:16px}}@media (width<=360px){.app .diary-entry{grid-template-columns:minmax(0,1fr);grid-template-areas:"time""main""actions";row-gap:5px}.app .diary-entry__actions{justify-self:end}}
