/* Carenox v2 — built on Astra Make Kit tokens (@figma/astraui-kit 0.1.5) */
:root{--brand-primary:#5250f3;--brand-hover:#4240d4;--brand-tertiary:#eaeaff;--brand-secondary:#d1d0f9;
--surface-bg:#fff;--surface-2:#f7f7fc;--text-primary:rgba(0,0,0,.85);--text-secondary:rgba(0,0,0,.55);--text-tertiary:rgba(0,0,0,.38);
--border-primary:#00000014;--bg-subtle:#0000000a;--danger:#cf2828;--ok:#0f9f6e;--amber:#c27803;
--corner-sm:4px;--corner-md:8px;--corner-lg:16px;--corner-xl:24px;--shadow:0 1px 2px #1d1b5a0f,0 8px 24px #1d1b5a12;--shadow-lg:0 2px 6px #1d1b5a14,0 24px 60px #1d1b5a24;
--serif:"Instrument Serif",Georgia,serif;--sans:"Instrument Sans",system-ui,sans-serif}
.dark{--brand-tertiary:#11111a;--surface-bg:#1b1b26;--surface-2:#22222e;--text-primary:rgba(255,255,255,.92);--text-secondary:rgba(255,255,255,.6);--text-tertiary:rgba(255,255,255,.38);
--border-primary:#ffffff14;--bg-subtle:#ffffff0d;--brand-secondary:#2e2d63;--shadow:0 1px 2px #0006,0 8px 24px #0005;--shadow-lg:0 24px 60px #0008}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:var(--sans);background:var(--brand-tertiary);color:var(--text-primary);-webkit-font-smoothing:antialiased;font-size:15px}
.serif{font-family:var(--serif);font-weight:400;letter-spacing:-.01em}
.muted{color:var(--text-secondary)}.faint{color:var(--text-tertiary)}
.card{background:var(--surface-bg);border-radius:var(--corner-xl);box-shadow:var(--shadow);border:1px solid var(--border-primary)}
.row{display:flex;align-items:center}.col{display:flex;flex-direction:column}.between{justify-content:space-between}.g4{gap:4px}.g8{gap:8px}.g12{gap:12px}.g16{gap:16px}.g24{gap:24px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;font-size:12.5px;font-weight:500;background:var(--bg-subtle);color:var(--text-secondary)}
.chip.ok{background:#0f9f6e1a;color:var(--ok)}.chip.warn{background:#c278031f;color:var(--amber)}.chip.red{background:#cf28281a;color:var(--danger)}.chip.brand{background:var(--brand-secondary);color:var(--brand-primary)}
.dark .chip.brand{color:#b3b2ff}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 18px;border-radius:999px;font-weight:600;font-size:15px;border:1px solid var(--border-primary);background:var(--surface-bg);color:var(--text-primary);white-space:nowrap}
.btn.pri{background:var(--brand-primary);color:#fff;border:none;box-shadow:0 6px 18px #5250f355}
.btn.big{height:56px;font-size:17px;padding:0 26px}.btn.ghost{background:transparent;border:none;color:var(--text-secondary)}
.dot{width:8px;height:8px;border-radius:50%;background:var(--ok);display:inline-block;box-shadow:0 0 0 4px #0f9f6e26}
.pulse{animation:p 1.6s infinite}@keyframes p{50%{box-shadow:0 0 0 9px #0f9f6e00}}
.av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:600;font-size:14px;flex:none}
.kbd{font:500 11px var(--sans);border:1px solid var(--border-primary);border-bottom-width:2px;border-radius:5px;padding:1px 6px;color:var(--text-secondary)}
.ico{width:18px;height:18px;flex:none}
/* phone frame */
.phone{width:390px;height:844px;border-radius:54px;background:#0b0b10;padding:12px;box-shadow:var(--shadow-lg);flex:none}
.screen{width:100%;height:100%;border-radius:44px;overflow:hidden;background:var(--brand-tertiary);position:relative;display:flex;flex-direction:column}
.status{height:50px;display:flex;justify-content:space-between;align-items:center;padding:6px 30px 0;font-weight:600;font-size:15px}
.island{width:120px;height:34px;background:#000;border-radius:20px;position:absolute;left:50%;top:11px;transform:translateX(-50%)}
.tabbar{margin-top:auto;display:flex;justify-content:space-around;padding:10px 20px 28px;background:var(--surface-bg);border-top:1px solid var(--border-primary);font-size:11px;color:var(--text-tertiary)}
.tabbar .on{color:var(--brand-primary);font-weight:600}.tabbar div{display:flex;flex-direction:column;align-items:center;gap:3px}
.label{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-tertiary)}
.caption{font-size:13px;color:var(--text-secondary);max-width:390px;text-align:center;margin-top:16px}
