:root{--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--bg:#f7f5f0;--surface:#fff;--surface-2:#efeae1;--text:#1c2420;--text-soft:#5b6660;--border:#ddd6c9;--primary:#0f766e;--primary-strong:#115e59;--primary-soft:#ccfbf1;--accent:#d97706;--accent-soft:#fef3c7;--band-under:#a8c3e8;--band-healthy:#34d399;--band-over:#fbbf24;--band-obese:#fda4af;--radius:16px;--radius-sm:10px;--shadow:0 1px 3px #1c242014, 0 8px 24px #1c24200f;--nav-height:64px}@media (prefers-color-scheme:dark){:root{--bg:#101613;--surface:#1a211d;--surface-2:#242d28;--text:#e8ede9;--text-soft:#9fb0a5;--border:#33413a;--primary:#2dd4bf;--primary-strong:#5eead4;--primary-soft:#134e4a;--accent:#fbbf24;--accent-soft:#451a03;--shadow:0 1px 3px #0006, 0 8px 24px #0000004d}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{font-family:var(--font);background:var(--bg);color:var(--text);margin:0;line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:3px solid var(--primary);outline-offset:2px}.app-shell{flex-direction:column;max-width:560px;min-height:100dvh;margin:0 auto;display:flex}.app-header{padding:20px 20px 4px}.app-header__brand{align-items:baseline;gap:8px;display:flex}.app-header__name{letter-spacing:-.02em;color:var(--primary-strong);font-size:1.5rem;font-weight:800}.app-header__tagline{color:var(--text-soft);font-size:.95rem}.app-main{padding:12px 20px calc(var(--nav-height) + 28px);flex:1}.bottom-nav{z-index:900;background:var(--surface);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);position:fixed;bottom:0;left:0;right:0}.bottom-nav__inner{grid-template-columns:repeat(5,1fr);max-width:560px;margin:0 auto;display:grid}.bottom-nav__item{appearance:none;min-height:var(--nav-height);color:var(--text-soft);cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.72rem;font-weight:600;display:flex}.bottom-nav__item[aria-current=page]{color:var(--primary-strong)}.bottom-nav__icon{font-size:1.3rem;line-height:1}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.btn{appearance:none;cursor:pointer;background:var(--primary);color:#fff;border:0;border-radius:999px;min-height:48px;padding:12px 22px;font-weight:700;transition:transform .15s,opacity .15s}@media (prefers-color-scheme:dark){.btn{color:#06231f}}.btn:disabled{opacity:.45;cursor:not-allowed}.btn--ghost{color:var(--primary-strong);border:1.5px solid var(--border);background:0 0}.btn--soft{background:var(--primary-soft);color:var(--primary-strong)}.btn:not(:disabled):active{transform:scale(.98)}.muted{color:var(--text-soft)}.disclaimer{color:var(--text-soft);margin-top:16px;font-size:.8rem}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}:root{--wip-banner-height:2.75rem;--wip-banner-bg:#fef3c7;--wip-banner-fg:#92400e;--wip-banner-border:#d9770659}@media (prefers-color-scheme:dark){:root{--wip-banner-bg:#451a03;--wip-banner-fg:#fde68a;--wip-banner-border:#f59e0b66}}.wip-banner-spacer{height:var(--wip-banner-height)}.wip-banner{z-index:1000;min-height:var(--wip-banner-height);background:var(--wip-banner-bg);color:var(--wip-banner-fg);border-bottom:1px solid var(--wip-banner-border);text-align:center;justify-content:center;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;line-height:1.3;display:flex;position:fixed;top:0;left:0;right:0}.wip-banner__icon{flex:none;font-size:1rem;line-height:1}.wip-banner__text strong{font-weight:700}.summary__head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.summary__head h3{margin:0;font-size:1.15rem}.summary__completeness{color:var(--primary-strong);white-space:nowrap;font-size:.85rem;font-weight:700}.summary__completeness-bar{background:var(--surface-2);border-radius:999px;height:8px;margin:10px 0 6px;overflow:hidden}.summary__completeness-bar>div{background:var(--primary);border-radius:999px;height:100%;transition:width .3s}.bmi-gauge{width:min(280px,100%);margin:8px auto 0;display:block}.bmi-gauge__value{fill:var(--text);font-size:30px;font-weight:800}.bmi-gauge__label{fill:var(--text-soft);text-transform:uppercase;letter-spacing:.08em;font-size:11px}.summary__plain{text-align:center;color:var(--text-soft);margin:4px 0 8px}.comp-bar{margin:14px 0}.comp-bar__track{border:1px solid var(--border);border-radius:999px;height:22px;display:flex;overflow:hidden}.comp-bar__fat{background:var(--band-over);flex:none}.comp-bar__lean{background:var(--primary);flex:1}.comp-bar__legend{justify-content:space-between;margin-top:6px;font-size:.85rem;font-weight:600;display:flex}.summary__coach{background:var(--primary-soft);border-radius:var(--radius-sm);padding:14px 16px;font-size:1.02rem;line-height:1.55}.summary__stats{grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 0;display:grid}.summary__stats>div{background:var(--surface-2);border-radius:var(--radius-sm);padding:10px 12px}.summary__stats dt{color:var(--text-soft);font-size:.8rem;font-weight:600}.summary__stats dd{margin:2px 0 0;font-size:1.15rem;font-weight:800}.summary__chips{margin-top:14px;font-size:.95rem}.summary__chips p{margin:6px 0}.builder{flex-direction:column;gap:16px;display:flex}.builder__progress{background:var(--surface-2);border-radius:999px;height:8px;overflow:hidden}.builder__progress>div{background:var(--primary);border-radius:999px;height:100%;transition:width .25s}.builder__history{flex-wrap:wrap;gap:6px;display:flex}.builder__history-a{background:var(--primary-soft);color:var(--primary-strong);border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:600}.bubble{align-items:flex-start;gap:10px;display:flex}.bubble__avatar{background:var(--primary-soft);border-radius:50%;flex:none;place-items:center;width:40px;height:40px;font-size:1.2rem;display:grid}.bubble--guide p{background:var(--surface);border:1px solid var(--border);border-radius:4px var(--radius) var(--radius) var(--radius);box-shadow:var(--shadow);margin:0;padding:14px 16px;font-size:1.02rem}.builder__answer{min-height:120px}.fields{flex-direction:column;gap:14px;display:flex}.fields label{flex-direction:column;gap:6px;font-size:.92rem;font-weight:600;display:flex}.fields input[type=text],.fields input[type=date],.fields input[type=number],.fields textarea{border:1.5px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-height:48px;padding:10px 12px;font-weight:400}.fields textarea{resize:vertical}.fields__row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.fields__label{font-size:.92rem;font-weight:600}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{appearance:none;border:1.5px solid var(--border);background:var(--surface);cursor:pointer;border-radius:999px;align-items:center;gap:6px;min-height:44px;padding:9px 14px;font-weight:600;display:inline-flex}.chip small{width:100%;color:var(--text-soft);font-size:.75rem;font-weight:400;display:block}.chip[aria-pressed=true]{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-strong)}.unit-toggle{gap:8px;display:flex}.unit-toggle button{border-radius:var(--radius-sm);border:1.5px solid var(--border);background:var(--surface);cursor:pointer;flex:1;min-height:44px;font-weight:700}.unit-toggle button[aria-pressed=true]{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-strong)}.stepper{justify-content:space-between;align-items:center;font-size:.92rem;font-weight:600;display:flex}.stepper__controls{align-items:center;gap:14px;display:flex}.stepper__controls button{border:1.5px solid var(--border);background:var(--surface);cursor:pointer;border-radius:50%;width:44px;height:44px;font-size:1.2rem}.consent{background:var(--surface-2);border-radius:var(--radius-sm);align-items:flex-start;padding:12px 14px;flex-direction:row!important;gap:10px!important;font-weight:400!important}.consent input{width:22px;height:22px;accent-color:var(--primary);flex:none;margin-top:2px}.builder__error{color:var(--accent);font-weight:600}.builder__bmi p{text-align:center;color:var(--text-soft)}.builder__nav{justify-content:space-between;align-items:center;gap:10px;display:flex}.builder__nav-right{gap:8px;display:flex}
