:root{color:#39534a;font-synthesis:none;background:#f7faf7;font-family:Inter,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;min-height:44px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #e2a72e}.app{max-width:1100px;min-height:100vh;margin:auto;padding:20px 18px 150px}.brand{color:#176b5b;font-size:1.35rem;font-weight:800}header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;display:flex}header.compact{border-bottom:1px solid #e5ece7;min-height:52px;margin-bottom:22px}.header-action{color:#176b5b;background:0 0;border:0;align-items:center;gap:7px;min-height:38px;font-weight:700}.header-action svg,.nav svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.context-title{margin-left:auto}.nav{padding:8px calc(12px + env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));z-index:3;background:#fff;border-top:1px solid #dce7df;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.nav button{color:#5b7a6e;white-space:nowrap;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:0;min-height:52px;padding:4px 7px;font-size:.86rem;display:flex}.nav button span{text-overflow:ellipsis;max-width:100%;overflow:hidden}.nav .register-action{color:#fff;background:#176b5b;border-radius:16px;transform:translateY(-12px);box-shadow:0 5px 16px #176b5b40}.nav button.active{color:#075a4a;border-bottom:3px solid #176b5b;font-weight:700}h1{letter-spacing:-.04em;margin:0 0 8px;font-size:clamp(1.75rem,5vw,2.7rem)}h2{margin:28px 0 12px;font-size:1.25rem}p{line-height:1.55}.muted{color:#52675e}.card{background:#fff;border:1px solid #dce7df;border-radius:16px;margin:12px 0;padding:18px}.list-item{border-bottom:1px solid #dce7df;padding:16px 0}.form-panel{background:#fff;border:1px solid #dce7df;border-radius:16px;margin:16px 0;padding:18px}.medical-note{color:#40594f;border-left:3px solid #78a799;max-width:68ch;padding-left:12px}.empty-state{padding:24px 0}.empty-inline{margin:8px 0 20px}.tabs{border-bottom:1px solid #dce7df;gap:4px;margin:16px 0;display:flex}.tabs button{color:#486057;background:0 0;border:0;padding:8px 14px}.tabs button[aria-selected=true]{color:#075a4a;border-bottom:3px solid #176b5b;font-weight:750}.appointment-select{width:100%;color:inherit;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0;display:flex}.settings-group{margin:24px 0}.settings-group h2{color:#52675e;text-transform:uppercase;letter-spacing:.05em;margin:0 0 6px;font-size:.86rem}.settings-row{width:100%;color:inherit;text-align:left;background:0 0;border:0;border-bottom:1px solid #dce7df;justify-content:space-between;align-items:center;padding:12px 4px;display:flex}.danger-row{color:#9f241c}.toast{left:50%;bottom:calc(82px + env(safe-area-inset-bottom));z-index:20;color:#fff;background:#164e42;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;width:max-content;max-width:min(100% - 32px,420px);padding:9px 12px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 8px 25px #0003}.toast-error{background:#7f1d1d}.toast button{color:inherit;background:0 0;border:1px solid;border-radius:8px}.primary{color:#fff;background:#176b5b;border:0;border-radius:10px;padding:9px 16px;font-weight:700}.secondary{color:#164e42;background:#eff5f0;border:1px solid #c6d9cc;border-radius:10px;padding:9px 14px}.danger{color:#9f241c;background:#fff3f1;border:1px solid #f0c6c0;border-radius:10px;padding:9px 14px}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.space{justify-content:space-between;align-items:center;gap:12px;display:flex}.grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}label{gap:6px;font-weight:650;display:grid}input,textarea,select{width:100%;color:inherit;background:#fff;border:1px solid #b8ccc0;border-radius:9px;padding:10px 12px}textarea{resize:vertical;min-height:90px}.notice{background:#edf7f2;border-left:4px solid #176b5b;padding:10px 12px}.event{background:#fff;border-left:4px solid #78a799;margin:8px 0;padding:10px 12px}.overlay{z-index:4;background:#0a231c61;align-items:end;display:grid;position:fixed;inset:0}.sheet{padding:18px 18px calc(18px + env(safe-area-inset-bottom));background:#fff;border-radius:20px 20px 0 0}.sheet-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.sheet-header h2{margin-top:0}.record-choices{gap:8px;margin-top:8px;display:grid}.record-choice{color:#164e42;text-align:left;background:#f7fbf8;border:1px solid #c6d9cc;border-radius:12px;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;width:100%;min-height:60px;padding:12px 14px;display:flex}.record-choice span,.field-help,.draft-state{color:#52675e;font-size:.88rem}.field-error{color:#9f241c;font-size:.88rem;font-weight:650}.sheet-actions{bottom:calc(-18px - env(safe-area-inset-bottom));padding:12px 0 calc(4px + env(safe-area-inset-bottom));background:#fff;gap:10px;margin-top:14px;display:flex;position:sticky}.sheet-actions button{text-align:center;flex:1}.note-editor{min-height:180px}.sheet button{text-align:right;width:100%;margin:5px 0}.weekdays{flex-wrap:wrap;gap:10px;margin-top:8px;display:flex}.weekdays label{align-items:center;gap:4px;font-weight:500;display:flex}.weekdays input{width:auto}.check-row{align-items:center;gap:10px;display:flex}.check-row input{width:auto}.danger-note{color:#9f241c;border-left:4px solid #9f241c;padding-left:10px}.routine-state+h1{display:none}.dose-row{border-top:1px solid #dce7df;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.preview{background:#f4f8f5;border-radius:12px;max-height:280px;margin:16px 0;padding:14px;overflow:auto}.preview p{margin:6px 0}.print-summary{display:none}.filters{margin:18px 0}.document{grid-template-columns:112px 1fr;gap:16px;display:grid}.thumbnail,.thumbnail-placeholder,.file-badge{object-fit:cover;border-radius:10px;width:112px;height:112px}.thumbnail-placeholder{color:#176b5b;background:#f4f8f5;border:1px dashed #78a799}.file-badge{color:#52675e;background:#eef3f0;place-items:center;font-weight:800;display:grid}.demo-banner{color:#6a4300;background:#fff8e6;border:2px solid #a96c00;border-radius:10px;margin-bottom:16px;padding:10px 14px;font-weight:750}@media (width<=520px){header:not(.compact){flex-direction:column;align-items:flex-start;gap:8px}.app{padding-left:16px;padding-right:16px}.nav{padding-left:max(4px, env(safe-area-inset-left));padding-right:max(4px, env(safe-area-inset-right))}.nav button{padding:3px 1px;font-size:.72rem}.document{grid-template-columns:1fr}.space{flex-direction:column;align-items:flex-start}.document .thumbnail,.document .thumbnail-placeholder,.document .file-badge{width:96px;height:96px}}@media (width>=1024px){.app{grid-template-columns:180px minmax(0,760px);align-content:start;column-gap:36px;max-width:1040px;padding:8px 24px 30px;display:grid}.app header{grid-column:1/-1}header.compact{min-height:44px;margin-bottom:4px}.settings-shortcut{display:none}.nav{background:0 0;border:0;flex-direction:column;align-self:start;gap:8px;padding:0;display:flex;position:sticky;top:20px;bottom:auto}.nav button{text-align:left;flex-direction:row;justify-content:flex-start;padding:10px;font-size:.9rem}.nav .register-action{border-radius:10px;transform:none}.desktop-settings{margin-top:24px;display:flex!important}.toast{bottom:24px}.content{width:100%;max-width:760px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}:root{--page-bg:#f7faf7;--surface:#fff;--surface-interactive:#f1f7f3;--fg:#17231f;--fg-secondary:#40594f;--fg-muted:#52675e;--border:#dce7df;--border-strong:#78998a;--primary:#075a4a;--primary-fg:#fff;--danger-fg:#8b1d16;--danger-bg:#fff0ed;--focus:#e2a72e;--backdrop:#0a231c9e;--notice-bg:#fff8e6;--notice-fg:#6a4300;--input-bg:#fff;--input-fg:#17231f;--placeholder:#6d8077;--activity-0:#e7efeb;--activity-1:#b8dace;--activity-2:#71b7a2;--activity-3:#2e8c75;--activity-4:#075a4a}:root[data-theme=dark],[data-theme=dark]{--page-bg:#15231e;--surface:#20342c;--surface-interactive:#29443a;--fg:#eef8f1;--fg-secondary:#c4d8cc;--fg-muted:#aac2b5;--border:#496457;--border-strong:#719685;--primary:#4fb59a;--primary-fg:#10251e;--danger-fg:#ffb4aa;--danger-bg:#4a2927;--focus:#f2c35d;--backdrop:#030c09c7;--notice-bg:#493817;--notice-fg:#ffe3a0;--input-bg:#1a2c25;--input-fg:#eef8f1;--placeholder:#a8beb2;--activity-0:#2b4037;--activity-1:#315f50;--activity-2:#3b816c;--activity-3:#4aa68b;--activity-4:#78d0b7}:root,body,.app{background:var(--page-bg);color:var(--fg)}body{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark],[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}h1,h2,h3,strong{color:var(--fg)}.card,.form-panel,.event,.sheet,.nav,.update,.install,.tour-card{background:var(--surface);color:var(--fg);border-color:var(--border)}input,textarea,select{background:var(--input-bg);color:var(--input-fg);border-color:var(--border-strong)}input::placeholder,textarea::placeholder{color:var(--placeholder);opacity:1}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:var(--focus)}.overlay,.menu-overlay,.tour-overlay{background:var(--backdrop)}.sheet{max-height:min(92dvh,760px);padding:0 16px calc(12px + env(safe-area-inset-bottom));overflow:hidden}.sheet-header{z-index:2;background:var(--surface);border-bottom:1px solid var(--border);min-height:58px;padding:10px 0 8px;position:sticky;top:0}.sheet-header h2{margin:0}.sheet>:not(.sheet-header){max-width:100%}.sheet label{margin-top:16px}.sheet-actions{background:var(--surface);border-top:1px solid var(--border);bottom:calc(-12px - env(safe-area-inset-bottom))}.record-choice{border:0;border-bottom:1px solid var(--border);min-height:54px;color:var(--fg);background:0 0;border-radius:0;padding:9px 4px}.record-choice span{color:var(--fg-muted)}.record-choices{gap:0}.grid{gap:16px}fieldset{border:0;margin:24px 0;padding:0}legend{margin-bottom:10px;font-weight:650}.weekdays{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;display:grid}.demo-banner{background:var(--notice-bg);color:var(--notice-fg);border:1px solid var(--focus);padding:8px 12px;font-size:.9rem}.preview{background:var(--surface-interactive);border:1px solid var(--border);color:var(--fg)}.theme-options{gap:8px;display:flex}.theme-options button{min-height:40px;padding:6px 12px}.theme-options button.active{outline:2px solid var(--focus);outline-offset:1px}.dose-row{padding:12px 0}.dose-row .row button{min-height:40px}@media (width<=520px){.sheet{width:100%;max-height:calc(100dvh - env(safe-area-inset-top));border-radius:18px 18px 0 0}.sheet-actions{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.weekdays{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=340px){.weekdays{grid-template-columns:1fr}}.brand,.profile-chip,.check-row,.primary-record,.consultation-cta,.upcoming-appointment,.dialog-heading,.profile-list button span,.record-choice,.loading-button-content{align-items:center;display:flex}.brand{gap:8px}.profile-chip{border:1px solid var(--border);background:var(--surface-interactive);max-width:230px;min-height:40px;color:var(--fg);border-radius:12px;gap:7px;margin-left:auto;padding:7px 11px;font-weight:700}.profile-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.modal-backdrop{z-index:20;background:var(--backdrop);place-items:center;padding:18px;animation:.16s both fade-in;display:grid;position:fixed;inset:0}.profile-dialog{border:1px solid var(--border);background:var(--surface);width:min(100%,420px);max-height:80dvh;color:var(--fg);border-radius:18px;margin:auto;padding:20px;animation:.18s both dialog-in;box-shadow:0 18px 50px #00000038}.dialog-heading{justify-content:space-between;gap:12px}.dialog-heading h2{margin:0}.icon-button{width:44px;color:var(--fg);background:0 0;border:0;border-radius:50%;padding:0}.profile-list{margin:18px 0}.profile-list button{border:0;border-bottom:1px solid var(--border);width:100%;min-height:54px;color:var(--fg);text-align:left;background:0 0;justify-content:space-between;align-items:center;padding:10px 8px;display:flex}.profile-list button span{gap:10px}.profile-list button.active{color:var(--primary)}.full-width{justify-content:center;gap:8px;width:100%}.intro{flex-direction:column;justify-content:center;max-width:540px;min-height:min(620px,78dvh);margin:0 auto;display:flex}.brand-mark{color:var(--primary);margin-bottom:32px}.intro-visual{background:var(--surface-interactive);width:92px;height:92px;color:var(--primary);border-radius:24px;place-items:center;display:grid}.intro h1{max-width:13ch;margin-top:10px}.intro>p:not(.eyebrow){color:var(--fg-secondary);font-size:1.08rem}.intro-progress{gap:7px;margin:30px 0;display:flex}.intro-progress span{background:var(--border);border-radius:99px;width:30px;height:4px}.intro-progress span.active{background:var(--primary)}.intro-actions{justify-content:space-between;align-items:center;gap:14px;display:flex}.text-button{color:var(--fg-secondary);background:0 0;border:0}.home-hero{padding:18px 0 24px}.home-hero .eyebrow{margin-top:0}.home-hero h1{max-width:18ch}.primary-record{justify-content:center;gap:9px;width:min(100%,360px);margin-top:24px;padding:15px 20px;font-size:1.08rem}.section-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:baseline;gap:12px;margin-top:10px;display:flex}.section-heading h2{margin-bottom:9px}.section-heading span{color:var(--fg-muted);font-size:.9rem}.reminder-panel{border-left:3px solid var(--primary);background:var(--surface-interactive);border-radius:8px;gap:12px;margin:14px 0;padding:14px;display:flex}.reminder-panel p{margin:4px 0 0}.upcoming-appointment{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--fg);text-align:left;background:0 0;gap:12px;padding:14px 0}.upcoming-appointment>span{display:grid}.upcoming-appointment small{color:var(--fg-muted)}.consultation-cta{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--fg);text-align:left;border-radius:14px;justify-content:space-between;gap:13px;margin-top:26px;padding:17px}.consultation-cta>span:nth-child(2){flex:1;display:grid}.consultation-cta small{color:var(--fg-muted);margin-top:2px}.record-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.record-choice{border:1px solid var(--border);background:var(--surface);min-height:72px;color:var(--fg);text-align:left;border-radius:13px;gap:12px;padding:12px;font-weight:700}.choice-icon{background:var(--surface-interactive);width:40px;height:40px;color:var(--primary);border-radius:11px;flex:none;place-items:center;display:grid}.record-choice:last-child{grid-column:1/-1}.advanced-details{margin:10px 0}.advanced-details summary{min-height:44px;color:var(--primary);cursor:pointer;align-items:center;font-weight:700;display:flex}.advanced-details[open]>div{animation:.16s both content-in}.reminder-setting{background:var(--surface-interactive);border-radius:12px;margin:14px 0;padding:12px}.check-row{gap:9px;min-height:44px}.check-row input{min-height:auto}.loading-button-content{justify-content:center;gap:8px}.loading-button-content.invisible{visibility:hidden}button[aria-busy=true]{position:relative}.loading-button-spinner{margin:0;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.home-skeleton{gap:16px;padding-top:24px;display:grid}.home-skeleton span{background:linear-gradient(90deg, var(--surface-interactive), var(--surface), var(--surface-interactive));background-size:200% 100%;border-radius:14px;height:72px;animation:1.1s infinite skeleton}.home-skeleton span:first-child{height:120px}.history-date-filter{background:var(--surface-interactive);border-radius:12px;justify-content:space-between;align-items:center;gap:14px;margin:14px 0;padding:12px 14px;display:flex}.history-date-filter button{flex:none}.event.highlighted-day{border-left-color:var(--primary);animation:.16s both content-in}.profile-switching{animation:.18s both profile-crossfade}@keyframes dialog-in{0%{opacity:0;transform:scale(.98)}}@keyframes skeleton{to{background-position:-200% 0}}@keyframes profile-crossfade{0%{opacity:.35}}@media (width<=520px){.profile-chip{max-width:150px;margin-left:0}.brand{font-size:1.08rem}.record-choices{grid-template-columns:1fr}.record-choice:last-child{grid-column:auto}.row{flex-wrap:wrap}.row>button{flex:140px}.history-date-filter{flex-direction:column;align-items:flex-start}.history-date-filter button{width:100%}}@media (width>=1024px){.content{max-width:920px}.home-hero{grid-template-columns:minmax(0,1fr) 300px;align-items:end;column-gap:50px;display:grid}.home-hero .eyebrow,.home-hero h1{grid-column:1}.primary-record{grid-area:1/2/3}}@media print{:root,body{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#17231f!important;background:#fff!important}}.overlay .sheet{border:0;width:100%;max-width:720px;max-height:92dvh;margin:0 auto;overflow:auto}.update{z-index:10;background:#fff;border:1px solid #c6d9cc;border-radius:12px;align-items:center;gap:10px;max-width:330px;padding:14px;display:flex;position:fixed;bottom:84px;right:16px;box-shadow:0 8px 25px #00000029}.install{z-index:10;background:#fff;border:1px solid #c6d9cc;border-radius:12px;align-items:center;gap:10px;max-width:330px;padding:14px;display:flex;position:fixed;bottom:84px;left:16px;box-shadow:0 8px 25px #00000029}@media print{:root,body{font:10.5pt/1.45 ui-sans-serif,system-ui,sans-serif;color:#17231f!important;background:#fff!important}.app,.overlay,.update,.install,.toast{display:none!important}.print-summary{display:block}.print-brand{color:#176b5b;letter-spacing:.08em;text-transform:uppercase;margin-bottom:2mm;font-size:9pt;font-weight:800}.print-summary h1{color:#075a4a;margin:0 0 8mm;font:750 23pt/1.2 ui-sans-serif,system-ui,sans-serif}.print-summary h2{color:#164e42;break-after:avoid;margin:7mm 0 2mm;font:700 13pt/1.3 ui-sans-serif,system-ui,sans-serif}.print-summary p{overflow-wrap:anywhere;orphans:3;widows:3;margin:0 0 2.2mm}.print-summary h1+p,.print-summary h1+p+p,.print-summary h1+p+p+p,.print-summary h1+p+p+p+p{vertical-align:top;width:49%;padding-right:4mm;display:inline-block}.print-table-row{break-inside:avoid;border-bottom:.25mm solid #dce7df;grid-template-columns:29mm minmax(32mm,1fr) 26mm minmax(35mm,1.4fr);display:grid}.print-table-row span{overflow-wrap:anywhere;padding:2.2mm 1.8mm}.print-table-row.table-head{color:#164e42;break-after:avoid;background:#edf7f2;font-weight:750}.print-summary .print-bullet{break-inside:avoid;padding-left:5mm;position:relative}.print-summary .print-bullet:before{content:"•";position:absolute;left:1mm}.print-summary hr{border:0;border-top:1px solid #b8ccc0;margin:7mm 0 4mm}.print-summary footer{color:#52675e;border-top:1px solid #dce7df;margin-top:9mm;padding-top:3mm;font:8.5pt ui-sans-serif,system-ui,sans-serif}@page{size:A4 portrait;margin:18mm 17mm 19mm}}:root{font-size:16px}body{line-height:1.55}.muted,.field-help,.draft-state{color:var(--fg-muted)}button,input,textarea,select{min-height:38px}button{transition:transform .16s,box-shadow .16s,background-color .16s}button:not(:disabled):active{transform:translateY(1px)scale(.985)}button:disabled{cursor:wait;opacity:.68}.primary{background:var(--primary);color:var(--primary-fg);box-shadow:0 2px 0 color-mix(in srgb, var(--primary), #000 30%)}.secondary{background:var(--surface-interactive);color:var(--fg);border-color:var(--border-strong)}.danger{color:#8b1d16;background:#fff0ed;border-color:#c9786e}input,textarea,select{border-color:#6f9180}.content{animation:.22s both content-in}.loading-state{color:#164e42;align-items:center;gap:10px;min-height:120px;font-weight:700;display:flex}.spinner,.button-spinner{vertical-align:-.18em;border:3px solid;border-right-color:#0000;border-radius:50%;width:1.1em;height:1.1em;animation:.7s linear infinite spin;display:inline-block}.button-spinner{border-width:2px;width:.9em;height:.9em;margin-right:7px}.menu-toggle{display:none}.help-button{border:2px solid #176b5b;border-radius:50%;justify-content:center;min-width:38px}.menu-overlay,.tour-overlay{z-index:12;background:#091e1875;animation:.18s both fade-in;position:fixed;inset:0}.menu-drawer{width:min(84vw,340px);height:100%;padding:max(20px, env(safe-area-inset-top)) 20px 24px;background:var(--surface);border:0;margin:0;animation:.22s both drawer-in;box-shadow:8px 0 30px #0003}.menu-drawer-header{justify-content:space-between;align-items:center;font-size:1.3rem;display:flex}.menu-row{width:100%;min-height:54px;color:var(--fg);text-align:left;background:0 0;border:0;border-bottom:1px solid #c6d8ce;justify-content:space-between;align-items:center;padding:12px 4px;font-weight:700;display:flex}.menu-row.active{color:#075a4a;background:#edf7f2;border-left:4px solid #075a4a;padding-left:10px}.help-row{margin-top:20px}.tour-overlay{place-items:center;padding:20px;display:grid}.tour-card{background:var(--surface);width:min(100%,480px);color:var(--fg);border:0;border-radius:20px;margin:auto;padding:24px;box-shadow:0 16px 50px #00000047}.tour-card h2{margin-top:10px}.tour-actions{justify-content:space-between;margin-top:24px}.tour-actions button{flex:1}.tour-progress{background:#d9e7df;border-radius:99px;height:7px;overflow:hidden}.tour-progress span{background:#075a4a;height:100%;transition:width .2s;display:block}.eyebrow{color:#3e564c;text-transform:uppercase;letter-spacing:.08em;margin:18px 0 0;font-size:.86rem;font-weight:800}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes drawer-in{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes content-in{0%{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:none}}@media (width<=1023px){.menu-toggle{display:inline-flex}.header-action span{font-size:.9rem}}@media (width<=520px){.app{padding-bottom:170px}header.compact{gap:4px}header.compact .header-action span{display:none}header.compact .header-action{padding-left:6px;padding-right:6px}header.compact .settings-shortcut{display:none}.profile-chip{max-width:145px}.nav button{min-height:58px;font-size:.82rem}.nav .register-action{transform:translateY(-8px)}.tour-card{padding:20px}}@media (width<=340px){header.compact .brand{white-space:nowrap;width:25px;overflow:hidden}header.compact .profile-chip{max-width:108px}}@media (prefers-reduced-motion:reduce){button,.content,.menu-overlay,.menu-drawer,.tour-overlay,.tour-progress span{transition:none;animation:none}}header.compact{--header-page-offset:18px}button>svg,button>span>svg,.brand svg,.settings-row svg,.menu-row svg{flex:none}h1{font-weight:650}h2,h3,strong{font-weight:600}label,legend{font-weight:500}.eyebrow,.primary{font-weight:600}.secondary,.danger,.text-button,.nav button{font-weight:500}.nav button.active,.tabs button[aria-selected=true]{font-weight:600}.record-choice,.advanced-details summary,.profile-chip{font-weight:500}.demo-banner{font-weight:600}.header-action,.settings-back,.settings-row-main,.menu-row-label,.header-right{align-items:center;display:inline-flex}.header-action{gap:7px;font-weight:500;line-height:1}.header-action>span,.settings-back>span,.settings-row-main>span,.menu-row-label>span{line-height:1.2}header.compact{gap:12px;min-height:56px;position:relative}.menu-toggle{padding:7px 6px 7px 0;display:inline-flex!important}.header-brand{left:calc(50vw - var(--header-page-offset));z-index:1;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:auto!important}.brand{color:var(--primary);gap:7px;font-size:1.16rem;font-weight:650;line-height:1}.brand>span{line-height:1}.header-right{gap:2px;margin-left:auto}.header-right .header-action{min-height:44px;padding:7px 6px}.header-right .settings-shortcut{display:inline-flex!important}.header-right .settings-shortcut.active{background:var(--surface-interactive);border-radius:10px}.help-button{border:0;border-radius:10px;width:44px;min-width:44px}.desktop-settings{display:none!important}.profile-context{justify-content:flex-end;margin-bottom:2px;display:flex}.profile-chip{max-width:min(280px,100%);min-height:44px;margin-left:0}.menu-overlay{animation:none;display:block}.menu-drawer-shell{width:min(86vw,340px);height:100%}.menu-drawer{width:100%;height:100%;padding:max(16px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));transform:translateX(var(--drawer-drag-x,0));touch-action:pan-y;flex-direction:column;margin:0;transition:transform .18s cubic-bezier(.2,.8,.2,1);animation:none;display:flex}.menu-drawer.is-dragging{transition:none}.menu-drawer-header{border-bottom:1px solid var(--border);min-height:52px;padding:2px 0 10px}.menu-list{margin-top:10px}.menu-row{border-bottom:0;border-radius:10px;gap:12px;min-height:54px;padding:8px 10px;font-weight:500;line-height:1}.menu-row+.menu-row{margin-top:2px}.menu-row-label{gap:12px}.menu-row>svg{color:var(--fg-muted)}.menu-row.active{background:var(--surface-interactive);color:var(--primary);border-left:0;padding-left:10px;font-weight:600}.menu-drawer-footer{border-top:1px solid var(--border);color:var(--fg-muted);margin:auto 4px 0;padding-top:18px;font-size:.82rem;line-height:1.45}.sheet-shell{width:100%;max-width:720px;margin:0 auto}.overlay .sheet-shell .sheet{width:100%;max-width:none;transform:translateY(var(--sheet-drag-y,0));margin:0;transition:transform .18s cubic-bezier(.2,.8,.2,1);position:relative}.sheet.is-dragging{transition:none!important}.sheet-header{touch-action:none;cursor:grab;align-items:center;min-height:64px;padding:7px 0 9px}.sheet-heading{flex:1;min-width:0}.sheet-heading .muted{margin:4px 0 0;line-height:1.35}.sheet-handle{background:var(--border-strong);opacity:.7;border-radius:99px;width:38px;height:4px;margin:0 auto 8px;display:block}.icon-button{flex:0 0 44px;place-items:center;width:44px;min-height:44px;margin:0;display:inline-grid}.settings-group{border:1px solid var(--border);background:var(--surface);border-radius:14px;margin:22px 0;overflow:hidden}.settings-group h2{border-bottom:1px solid var(--border);color:var(--fg-muted);margin:0;padding:12px 14px 7px;font-size:.78rem;font-weight:600}.settings-row{min-height:58px;padding:10px 14px;font-weight:500;line-height:1}.settings-row:last-child{border-bottom:0}.settings-row-main{gap:12px;min-width:0}.settings-row-main>svg,.settings-row>svg{color:var(--fg-muted)}.settings-back{color:var(--primary);background:0 0;border:0;gap:8px;margin:4px 0 10px;padding:7px 10px 7px 4px;font-weight:500;line-height:1}@media (hover:hover){.header-action:hover,.icon-button:hover,.settings-back:hover,.menu-row:hover,.settings-row:hover{background:var(--surface-interactive)}}@media (width<=520px){header.compact .header-action span{display:inline}header.compact .header-action{padding-left:4px;padding-right:4px}header.compact .settings-shortcut{display:inline-flex!important}.profile-context{margin-top:-4px}.profile-chip{max-width:min(220px,100%)}}@media (width<=350px){.header-brand{font-size:1.04rem}.header-right .settings-shortcut.header-action span{display:none}.header-right{gap:0}}@media (width<=520px){header.compact{--header-page-offset:16px}}@media (width>=1024px){header.compact{--header-page-offset:max(24px, calc((100vw - 1040px) / 2 + 24px))}}@media (prefers-reduced-motion:reduce){.menu-drawer,.sheet{transition:none!important}}
