:root {
  --bg: #f4f6f4;
  --surface: #ffffff;
  --surface-2: #eef3f0;
  --ink: #17332f;
  --muted: #687a76;
  --line: #dce5e1;
  --brand: #173f38;
  --brand-2: #2b6257;
  --mint: #d9ebe3;
  --mint-strong: #a9d0c0;
  --amber: #f4d39c;
  --amber-ink: #7a4b00;
  --red-soft: #f5d9d6;
  --red-ink: #8a322b;
  --blue-soft: #dce9f4;
  --blue-ink: #315c7b;
  --shadow: 0 14px 40px rgba(22, 60, 54, .08);
  --shadow-sm: 0 6px 20px rgba(22, 60, 54, .06);
  --radius: 22px;
  --radius-sm: 15px;
  --max: 1320px;
}
*{box-sizing:border-box}
html{background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
body{margin:0;min-height:100vh;background:var(--bg)}
button,input,select{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
.icon{display:block;flex:0 0 auto}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Login */
.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);background:linear-gradient(135deg,#eef4f1 0%,#f7f8f6 50%,#e8efec 100%)}
.auth-hero{padding:clamp(40px,7vw,100px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.auth-hero:before,.auth-hero:after{content:"";position:absolute;border-radius:999px;background:rgba(169,208,192,.3);filter:blur(1px)}
.auth-hero:before{width:430px;height:430px;right:-130px;top:80px}.auth-hero:after{width:290px;height:290px;left:10%;bottom:-120px}
.brand-lockup{display:flex;align-items:center;gap:13px;font-size:22px;font-weight:800;letter-spacing:-.02em;position:relative;z-index:1}
.brand-mark{width:42px;height:42px;border-radius:14px;background:var(--brand);display:grid;place-items:center;color:white;box-shadow:var(--shadow-sm)}
.hero-copy{max-width:650px;position:relative;z-index:1;margin:70px 0}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.66);border:1px solid rgba(23,63,56,.08);padding:8px 11px;border-radius:999px;font-size:13px;font-weight:700;color:var(--brand-2)}
.hero-copy h1{font-size:clamp(42px,5.4vw,72px);line-height:1.03;letter-spacing:-.055em;margin:20px 0 24px;max-width:820px}
.hero-copy p{font-size:19px;line-height:1.65;color:var(--muted);max-width:590px;margin:0}
.auth-trust{display:flex;gap:22px;flex-wrap:wrap;color:var(--muted);font-size:14px;position:relative;z-index:1}.auth-trust span{display:flex;align-items:center;gap:7px}
.auth-panel-wrap{display:grid;place-items:center;padding:32px}
.auth-panel{width:min(100%,490px);background:rgba(255,255,255,.92);backdrop-filter:blur(20px);padding:36px;border-radius:30px;box-shadow:0 30px 70px rgba(23,63,56,.12);border:1px solid rgba(255,255,255,.9)}
.auth-panel h2{font-size:30px;letter-spacing:-.035em;margin:0 0 8px}.auth-panel>p{margin:0 0 28px;color:var(--muted);line-height:1.55}
.form-group{display:grid;gap:8px;margin-bottom:17px}.form-group label{font-size:13px;font-weight:750;color:#435a55}.input{width:100%;height:50px;border:1px solid var(--line);border-radius:14px;background:#fbfcfb;padding:0 15px;outline:none;color:var(--ink);transition:.18s}.input:focus{border-color:var(--mint-strong);box-shadow:0 0 0 4px rgba(169,208,192,.18);background:#fff}
.btn{border:0;border-radius:14px;height:48px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:750;transition:.18s;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(0)}
.btn-primary{background:var(--brand);color:#fff;box-shadow:0 8px 20px rgba(23,63,56,.16)}.btn-secondary{background:var(--surface-2);color:var(--brand)}.btn-ghost{background:transparent;color:var(--brand);border:1px solid var(--line)}.btn-danger{background:var(--red-soft);color:var(--red-ink)}.btn-full{width:100%}
.auth-demo{margin-top:20px;padding:14px 16px;border-radius:14px;background:#f4f7f5;color:var(--muted);font-size:13px;line-height:1.5}.auth-demo strong{color:var(--ink)}

/* App frame */
.app-shell{min-height:100vh;display:grid;grid-template-columns:264px minmax(0,1fr)}
.sidebar{background:#fff;border-right:1px solid var(--line);padding:24px 18px;position:fixed;inset:0 auto 0 0;width:264px;display:flex;flex-direction:column;z-index:30}
.sidebar .brand-lockup{padding:2px 8px 22px}
.household-chip{background:var(--surface-2);padding:13px;border-radius:16px;display:flex;align-items:center;gap:11px;margin:0 4px 20px}.avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--mint);font-weight:800;color:var(--brand)}.avatar.sm{width:34px;height:34px;font-size:13px}.avatar.lg{width:58px;height:58px;font-size:20px}
.household-chip strong{display:block;font-size:14px}.household-chip span{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.nav{display:grid;gap:4px}.nav-link{display:flex;align-items:center;gap:13px;padding:12px 13px;border-radius:13px;color:#5c6f6b;font-size:14px;font-weight:680;position:relative}.nav-link:hover{background:#f5f7f6;color:var(--brand)}.nav-link.active{background:var(--surface-2);color:var(--brand);font-weight:780}.nav-badge{margin-left:auto;min-width:20px;height:20px;border-radius:999px;background:var(--amber);color:var(--amber-ink);font-size:11px;display:grid;place-items:center;padding:0 6px;font-weight:800}
.sidebar-bottom{margin-top:auto;display:grid;gap:8px}.privacy-mini{border:1px solid var(--line);border-radius:15px;padding:12px;color:var(--muted);font-size:12px;line-height:1.45;display:flex;gap:9px}.user-row{display:flex;align-items:center;gap:10px;padding:10px 8px}.user-row .meta{min-width:0;flex:1}.user-row strong,.user-row span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-row strong{font-size:13px}.user-row span{font-size:11px;color:var(--muted);margin-top:2px}.icon-btn{width:38px;height:38px;border:0;border-radius:11px;background:transparent;color:var(--muted);display:grid;place-items:center}.icon-btn:hover{background:var(--surface-2);color:var(--brand)}
.main{grid-column:2;min-width:0}.topbar{height:76px;padding:0 clamp(22px,4vw,52px);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20;background:rgba(244,246,244,.86);backdrop-filter:blur(15px);border-bottom:1px solid rgba(220,229,225,.7)}.topbar-title{font-weight:800;letter-spacing:-.02em}.topbar-actions{display:flex;align-items:center;gap:8px}.status-dot{width:8px;height:8px;border-radius:50%;background:#5fa17f;box-shadow:0 0 0 4px rgba(95,161,127,.12)}.connection-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-right:8px}
.mobile-logo{display:none}.mobile-nav{display:none}
.page{max-width:var(--max);margin:0 auto;padding:36px clamp(22px,4vw,52px) 70px}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:27px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:var(--brand-2);margin-bottom:7px}.page h1{font-size:34px;line-height:1.15;letter-spacing:-.04em;margin:0}.page-sub{color:var(--muted);margin:9px 0 0;line-height:1.55;max-width:700px}.page-head-actions{display:flex;gap:8px}
.grid{display:grid;gap:18px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-main{grid-template-columns:minmax(0,1.55fr) minmax(300px,.78fr);align-items:start}
.card{background:var(--surface);border:1px solid rgba(220,229,225,.9);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:22px}.card.flat{box-shadow:none}.card-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.card-title-row h2,.card-title-row h3{margin:0;font-size:18px;letter-spacing:-.025em}.card-link{font-size:13px;font-weight:750;color:var(--brand-2);border:0;background:none;padding:4px 0}

/* status card */
.hero-status{padding:27px;min-height:320px;display:flex;flex-direction:column;position:relative;overflow:hidden}.hero-status:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-85px;top:-65px;background:var(--mint);opacity:.65}.hero-status.status-attention:after{background:var(--amber)}.hero-status.status-technical:after{background:var(--red-soft)}.hero-status.status-away:after{background:var(--blue-soft)}
.status-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;position:relative;z-index:1}.senior-identity{display:flex;align-items:center;gap:13px}.senior-identity strong{display:block;font-size:16px}.senior-identity span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.pill{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:750;background:var(--surface-2);color:var(--brand)}.pill.info{background:var(--blue-soft);color:var(--blue-ink)}.pill.attention{background:var(--amber);color:var(--amber-ink)}.pill.technical{background:var(--red-soft);color:var(--red-ink)}.pill.ok{background:var(--mint);color:var(--brand)}
.status-copy{position:relative;z-index:1;margin:auto 0 18px;max-width:720px}.status-copy h2{font-size:clamp(29px,3.2vw,44px);line-height:1.08;letter-spacing:-.047em;margin:22px 0 13px}.status-copy p{font-size:16px;line-height:1.62;color:var(--muted);margin:0;max-width:680px}.status-foot{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;position:relative;z-index:1}.status-foot .dot{width:4px;height:4px;border-radius:50%;background:#a5b0ad}
.status-action{margin-top:18px;display:flex;gap:9px;flex-wrap:wrap}

/* dayparts */
.dayparts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.daypart{background:#f7f9f8;border:1px solid #e7ece9;border-radius:16px;padding:15px;min-height:112px}.daypart-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.daypart-label{font-size:13px;font-weight:800}.daypart-icon{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#e5efe9;color:var(--brand)}.daypart.quiet .daypart-icon{background:#eeeae0;color:#81705c}.daypart.attention .daypart-icon{background:var(--amber);color:var(--amber-ink)}.daypart.away .daypart-icon{background:var(--blue-soft);color:var(--blue-ink)}.daypart.pending{opacity:.66}.daypart p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}
.summary-row{display:flex;gap:14px;align-items:center;padding:16px 0;border-top:1px solid var(--line)}.summary-row:first-of-type{border-top:0}.summary-icon{width:42px;height:42px;border-radius:13px;background:var(--surface-2);display:grid;place-items:center;color:var(--brand)}.summary-row .copy{min-width:0;flex:1}.summary-row strong{display:block;font-size:14px}.summary-row span{display:block;color:var(--muted);font-size:12px;margin-top:4px;line-height:1.4}.summary-value{font-size:13px;font-weight:800;text-align:right}

/* history */
.history-list{display:grid;gap:10px}.history-day{display:grid;grid-template-columns:116px 130px minmax(0,1fr) 175px;gap:16px;align-items:center;padding:15px 17px;border:1px solid var(--line);border-radius:16px;background:#fff}.history-date strong{font-size:14px;display:block}.history-date span{font-size:11px;color:var(--muted);margin-top:3px;display:block}.history-status{font-size:12px;font-weight:750}.mini-dayparts{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.mini-part{height:10px;border-radius:999px;background:#e5ebe8}.mini-part.active{background:#86bda5}.mini-part.quiet{background:#d8d2c3}.mini-part.attention{background:#efbc67}.mini-part.away{background:#9abbd3}.mini-part.pending{background:#edf0ef}.history-summary{font-size:12px;color:var(--muted);line-height:1.45}
.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:15px}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:9px;height:9px;border-radius:50%;display:block}

/* notices */
.tabs{display:flex;gap:5px;background:#edf2ef;padding:5px;border-radius:14px;width:max-content;margin-bottom:18px}.tab{border:0;background:transparent;border-radius:10px;height:36px;padding:0 14px;color:var(--muted);font-size:13px;font-weight:750}.tab.active{background:#fff;color:var(--brand);box-shadow:0 3px 10px rgba(22,60,54,.07)}
.notice-list{display:grid;gap:11px}.notice{display:flex;gap:14px;border:1px solid var(--line);border-radius:17px;padding:17px;background:#fff}.notice-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;flex:0 0 auto;background:var(--surface-2);color:var(--brand)}.notice.attention .notice-icon{background:var(--amber);color:var(--amber-ink)}.notice.technical .notice-icon{background:var(--red-soft);color:var(--red-ink)}.notice .copy{flex:1;min-width:0}.notice strong{font-size:14px;display:block}.notice p{font-size:13px;color:var(--muted);line-height:1.5;margin:5px 0 9px}.notice time{font-size:11px;color:#8a9996}.empty-state{text-align:center;padding:42px 25px}.empty-icon{width:56px;height:56px;border-radius:18px;background:var(--mint);display:grid;place-items:center;margin:0 auto 16px;color:var(--brand)}.empty-state h3{margin:0 0 8px;font-size:18px}.empty-state p{color:var(--muted);font-size:13px;line-height:1.5;margin:0 auto;max-width:440px}

/* system */
.health-hero{display:flex;align-items:center;gap:18px}.health-orb{width:68px;height:68px;border-radius:20px;background:var(--mint);display:grid;place-items:center;color:var(--brand)}.health-orb.offline{background:var(--red-soft);color:var(--red-ink)}.health-copy h2{margin:0;font-size:21px;letter-spacing:-.025em}.health-copy p{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.kv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px}.kv{background:#f7f9f8;border-radius:14px;padding:13px}.kv span{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.kv strong{font-size:13px}.sensor-list{display:grid;gap:10px}.sensor{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:13px;align-items:center;border:1px solid var(--line);border-radius:16px;padding:14px}.sensor-icon{width:44px;height:44px;border-radius:13px;background:var(--surface-2);display:grid;place-items:center;color:var(--brand)}.sensor strong{font-size:14px;display:block}.sensor .meta{font-size:11px;color:var(--muted);margin-top:4px}.battery-row{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750}.battery-bar{width:55px;height:7px;background:#e5ebe8;border-radius:999px;overflow:hidden}.battery-fill{height:100%;background:#70a98f;border-radius:inherit}.battery-fill.low{background:#d79542}.sensor-status{font-size:11px;margin-top:5px;text-align:right;color:var(--muted)}
.privacy-callout{background:linear-gradient(135deg,#eef5f1,#f7faf8);border:1px solid #d9e7e0;border-radius:18px;padding:18px;display:flex;gap:13px;color:var(--muted);font-size:13px;line-height:1.52}.privacy-callout strong{color:var(--ink);display:block;margin-bottom:3px}

/* members */
.member-list{display:grid;gap:10px}.member{display:grid;grid-template-columns:48px minmax(0,1fr) 130px 120px 40px;gap:12px;align-items:center;padding:13px 14px;border:1px solid var(--line);border-radius:16px}.member strong{font-size:14px;display:block}.member .email{font-size:11px;color:var(--muted);margin-top:3px}.role-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 9px;background:var(--surface-2);border-radius:9px;font-size:11px;font-weight:750;color:var(--brand)}.member .notif{font-size:11px;color:var(--muted)}.pending-label{font-size:10px;font-weight:800;color:var(--amber-ink);background:var(--amber);border-radius:999px;padding:3px 7px;margin-left:6px}

/* settings */
.settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}.settings-nav{display:grid;gap:4px;align-self:start;position:sticky;top:94px}.settings-nav button{border:0;background:transparent;text-align:left;padding:11px 12px;border-radius:11px;color:var(--muted);font-size:13px;font-weight:720}.settings-nav button.active{background:var(--surface-2);color:var(--brand)}.settings-section{display:none}.settings-section.active{display:block}.settings-section h2{margin:0 0 6px;font-size:20px}.settings-section>.lead{margin:0 0 22px;color:var(--muted);font-size:13px;line-height:1.5}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:17px 0;border-top:1px solid var(--line)}.setting-row:first-of-type{border-top:0}.setting-copy strong{display:block;font-size:14px}.setting-copy span{display:block;color:var(--muted);font-size:12px;line-height:1.45;margin-top:4px;max-width:580px}.switch{width:48px;height:28px;border:0;border-radius:999px;background:#ccd7d2;padding:3px;transition:.18s;flex:0 0 auto}.switch:after{content:"";display:block;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.15);transition:.18s}.switch.on{background:var(--brand-2)}.switch.on:after{transform:translateX(20px)}
.time-pair{display:flex;align-items:center;gap:8px}.time-input{height:38px;border:1px solid var(--line);border-radius:10px;padding:0 10px;background:#fff;color:var(--ink)}
.demo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.demo-option{border:1px solid var(--line);background:#fff;border-radius:14px;text-align:left;padding:14px;display:flex;align-items:center;gap:10px;color:var(--ink)}.demo-option.active{border-color:var(--mint-strong);background:#f0f7f3;box-shadow:0 0 0 2px rgba(169,208,192,.2)}.demo-option i{width:11px;height:11px;border-radius:50%;background:#c8d2ce}.demo-option.active i{background:#5c9a7d;box-shadow:0 0 0 4px rgba(92,154,125,.12)}

/* dialogs + toast */
.modal-backdrop{position:fixed;inset:0;background:rgba(13,39,34,.35);backdrop-filter:blur(6px);display:grid;place-items:center;padding:20px;z-index:100}.modal{width:min(100%,520px);background:#fff;border-radius:24px;padding:24px;box-shadow:0 28px 80px rgba(13,39,34,.25)}.modal-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:20px}.modal h2{font-size:23px;letter-spacing:-.03em;margin:0}.modal p{color:var(--muted);font-size:13px;line-height:1.55;margin:7px 0 0}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.select{width:100%;height:48px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:0 13px;color:var(--ink)}
.toast-root{position:fixed;right:20px;bottom:20px;z-index:200;display:grid;gap:8px}.toast{background:#173f38;color:#fff;border-radius:14px;padding:13px 16px;box-shadow:0 16px 35px rgba(23,63,56,.22);font-size:13px;animation:toastIn .2s ease}.toast.light{background:#fff;color:var(--ink);border:1px solid var(--line)}@keyframes toastIn{from{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}
.skeleton{background:linear-gradient(90deg,#edf1ef 25%,#f7f9f8 37%,#edf1ef 63%);background-size:400% 100%;animation:shimmer 1.4s infinite;border-radius:12px}@keyframes shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}

/* responsive */
@media (max-width:1100px){.dayparts{grid-template-columns:repeat(2,1fr)}.history-day{grid-template-columns:105px 110px minmax(0,1fr)}.history-summary{grid-column:2/4}.member{grid-template-columns:48px minmax(0,1fr) 115px 40px}.member .notif{display:none}}
@media (max-width:900px){.auth-shell{grid-template-columns:1fr}.auth-hero{display:none}.auth-panel-wrap{min-height:100vh}.app-shell{display:block}.sidebar{display:none}.main{display:block}.topbar{height:64px;padding:0 18px}.mobile-logo{display:flex;align-items:center;gap:9px;font-weight:800}.mobile-logo .brand-mark{width:34px;height:34px;border-radius:11px}.topbar-title{display:none}.connection-label{display:none}.page{padding:24px 18px 95px}.grid-main,.grid-2,.grid-3{grid-template-columns:1fr}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);inset:auto 0 0 0;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-top:1px solid var(--line);z-index:50;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.mobile-nav a{display:grid;place-items:center;gap:4px;color:#71817d;font-size:9px;font-weight:700;padding:5px 2px;border-radius:10px}.mobile-nav a.active{color:var(--brand);background:#f1f5f3}.mobile-nav .nav-badge{position:absolute;margin:0;transform:translate(10px,-6px)}.settings-layout{grid-template-columns:1fr}.settings-nav{position:static;display:flex;overflow:auto;padding-bottom:7px}.settings-nav button{white-space:nowrap;background:#fff;border:1px solid var(--line)}.settings-nav button.active{background:var(--surface-2)}}
@media (max-width:640px){.page-head{align-items:flex-start}.page-head-actions .btn span{display:none}.page h1{font-size:29px}.card{padding:18px;border-radius:19px}.hero-status{padding:20px;min-height:335px}.status-top{flex-direction:column}.status-copy h2{font-size:31px}.dayparts{grid-template-columns:1fr 1fr;gap:8px}.daypart{min-height:105px;padding:13px}.history-day{grid-template-columns:1fr auto;gap:10px}.history-date{grid-column:1}.history-status{grid-column:2;text-align:right}.mini-dayparts{grid-column:1/3}.history-summary{grid-column:1/3}.kv-grid{grid-template-columns:1fr}.sensor{grid-template-columns:44px minmax(0,1fr)}.sensor>div:last-child{grid-column:2;text-align:left}.sensor-status{text-align:left}.member{grid-template-columns:42px minmax(0,1fr) 38px}.member .role-badge{grid-column:2;width:max-content}.demo-grid{grid-template-columns:1fr}.auth-panel-wrap{padding:18px}.auth-panel{padding:25px;border-radius:23px}.toast-root{left:14px;right:14px;bottom:82px}.toast{text-align:center}.time-pair{align-items:flex-start;flex-direction:column}}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:var(--surface-2);border-radius:12px;padding:4px;margin-bottom:24px}.auth-tab{border:0;background:transparent;padding:10px;border-radius:9px;font-weight:800;color:var(--muted)}.auth-tab.active{background:#fff;color:var(--brand);box-shadow:0 2px 8px rgba(20,50,44,.08)}.form-error{min-height:20px;color:#9b3e32;font-size:12px;margin:4px 0 8px}.field-help{color:var(--muted);font-size:11px;margin-top:5px}.setup-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#eef5f1,#fbfcfb)}.setup-card{width:min(100%,520px);background:#fff;border:1px solid var(--line);box-shadow:0 24px 70px rgba(23,63,56,.12);border-radius:28px;padding:32px}.setup-card .brand-lockup{margin-bottom:34px}.setup-card h1{font-size:32px;letter-spacing:-.04em;margin:8px 0}.setup-card>p{color:var(--muted);line-height:1.6;margin:0 0 24px}.setup-step{font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.08em;color:var(--brand-2)}.setup-summary{display:flex;justify-content:space-between;gap:20px;background:var(--surface-2);padding:14px 16px;border-radius:14px;margin:18px 0}.setup-summary span{color:var(--muted);font-size:12px}.setup-summary strong{font-size:14px}.setup-privacy{display:flex;gap:10px;margin-top:22px;color:var(--muted);font-size:12px;line-height:1.5}.code-input{text-transform:uppercase;letter-spacing:.12em;font-weight:850}
