/* ZookaLinx dashboard — design system v2 (dark by default, light on request or by system setting) */
:root {
  --bg: #04060C; --bg2: #070B15; --side: rgba(8,12,22,.72); --card: rgba(13,19,34,.66); --card-solid: #0B1120; --card2: rgba(20,29,52,.55);
  --line: rgba(150,180,255,.10); --line2: rgba(150,180,255,.18); --line3: rgba(150,180,255,.30);
  --fg: #EEF3FB; --soft: #C6D1E4; --muted: #96A7C4; --faint: #7586A6;
  --blue: #2F8BFF; --blue2: #5AA4FF; --cyan: #3FD4FF; --cyanTxt: #7FE3FF; --orange: #FF8A1F; --green: #3DFFB0; --greenTxt: #6CFFC4; --amber: #FFC65A; --red: #FF7A92;
  --grad: linear-gradient(120deg, #3FD4FF 0%, #2F8BFF 45%, #8A6CFF 100%);
  --hover: rgba(150,180,255,.07); --field: rgba(5,9,18,.7); --shadow: 0 30px 80px -40px rgba(0,0,0,.8);
  --r: 22px; --font: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif; --display: Sora, "Sora Fallback", Inter, sans-serif; --mono: "JetBrains Mono", Consolas, monospace;
  color-scheme: dark;
}
:root[data-theme=light] {
  --bg: #F3F6FC; --bg2: #E9EEF8; --side: rgba(255,255,255,.78); --card: rgba(255,255,255,.82); --card-solid: #FFFFFF; --card2: rgba(236,241,251,.9);
  --line: rgba(30,50,100,.09); --line2: rgba(30,50,100,.16); --line3: rgba(30,50,100,.28);
  --fg: #0B1426; --soft: #2A3A57; --muted: #55657F; --faint: #6E7D96;
  --cyanTxt: #0B78C9; --greenTxt: #0E9A63; --green: #13B877; --amber: #B7791F; --red: #D6334F;
  --hover: rgba(30,60,140,.06); --field: #fff; --shadow: 0 30px 70px -40px rgba(30,50,100,.35);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: -20vh -10vw auto; height: 90vh; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 15% 10%, rgba(47,139,255,.16), transparent 70%), radial-gradient(35% 45% at 85% 0%, rgba(138,108,255,.12), transparent 70%), radial-gradient(30% 40% at 60% 30%, rgba(63,212,255,.07), transparent 70%); }
:root[data-theme=light] body::before { opacity: .55; }
a { color: var(--cyanTxt); text-decoration: none; }
a:hover { color: var(--blue2); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; margin: 0; }
h1 { font-size: 30px; font-weight: 700; }
h2 { font-size: 20px; font-weight: 700; }
::selection { background: rgba(47,139,255,.35); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { flex: none; vertical-align: middle; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 13px; } .b { font-weight: 600; color: var(--fg); }
.mono { font-family: var(--mono); font-size: 13px; } .amber { color: var(--amber) !important; } .up { color: var(--greenTxt); }
.row { display: flex; align-items: center; } .between { justify-content: space-between; } .gap { gap: 10px; } .wrap { flex-wrap: wrap; gap: 14px; }
.grow { flex: 1; } .min0 { min-width: 0; } .r { text-align: right; } .nowrap { white-space: nowrap; } .center { text-align: center; } .inline { display: inline; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* brand */
.brand { display: flex; align-items: center; gap: 11px; color: var(--fg); }
.brand img { border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px rgba(63,212,255,.35); }
.brand img.logo { width: auto; height: 44px; border-radius: 0; object-fit: contain; box-shadow: none; filter: drop-shadow(0 0 12px rgba(47,139,255,.3)); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--fg); }

/* buttons, inputs */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line2);
  background: var(--card2); color: var(--fg); font: 600 14px var(--font); cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s, box-shadow .2s; }
.btn:hover { background: var(--hover); color: var(--fg); border-color: var(--line3); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled=true] { opacity: .5; pointer-events: none; }
.btn.primary { background: var(--grad); background-size: 140% 100%; border-color: transparent; color: #fff; font-weight: 700; box-shadow: 0 10px 30px -12px rgba(47,139,255,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn.primary:hover { background-position: 100% 0; color: #fff; box-shadow: 0 14px 36px -12px rgba(63,140,255,1), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.ghost { background: transparent; }
.btn.danger { border-color: rgba(255,95,122,.4); color: var(--red); background: transparent; }
.btn.danger:hover { background: rgba(255,95,122,.1); }
.btn.sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.btn.xs { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 8px; gap: 6px; }
.btn.block { width: 100%; }
.btn.lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 14px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; border: none; background: transparent; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--hover); color: var(--fg); }
input, select, textarea { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--field); color: var(--fg); font: 15px var(--font); outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: rgba(63,212,255,.6); box-shadow: 0 0 0 4px rgba(63,212,255,.12); }
input[readonly] { color: var(--muted); }
input[type=color] { width: 72px; padding: 4px; }
input[type=file] { height: auto; padding: 10px; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--blue); }
input.num { width: 96px; }
.code-input { font-family: var(--mono); font-size: 22px; letter-spacing: .3em; text-align: center; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--cyanTxt); cursor: pointer; text-decoration: underline; }
.linkbtn:hover { color: var(--blue2); }
.method-pick { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.method-pick .opt { border: 1px solid var(--line2); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.method-pick .opt p { margin: 0; }
label { font-size: 13px; font-weight: 600; color: var(--soft); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.hint { margin: -6px 0 0; font-size: 12.5px; color: var(--faint); }
.form { display: flex; flex-direction: column; gap: 12px; }
kbd { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line2); background: var(--card2); font: 600 11px var(--mono); color: var(--muted); }

/* pills, alerts */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(140,170,255,.1); color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill.ok { background: rgba(61,255,176,.12); color: var(--greenTxt); } .pill.amber { background: rgba(255,178,36,.13); color: var(--amber); }
.pill.red { background: rgba(255,95,122,.13); color: var(--red); } .pill.orange { background: rgba(255,138,31,.16); color: #FF9F45; }
.pill.blue { background: rgba(47,139,255,.15); color: var(--cyanTxt); }
.pill.sm { padding: 1px 7px; font-size: 11px; margin-left: 6px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 7px; background: rgba(138,108,255,.13); color: #B9A8FF; font-size: 11.5px; font-weight: 600; }
:root[data-theme=light] .tag { color: #6A4FE0; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 14px; background: rgba(61,255,176,.08); border: 1px solid rgba(61,255,176,.25); color: var(--greenTxt); font-size: 14px; }
.alert.err { background: rgba(255,95,122,.08); border-color: rgba(255,95,122,.3); color: var(--red); }
.alert .ic { margin-top: 1px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.on { background: var(--green); box-shadow: 0 0 0 0 rgba(61,255,176,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,255,176,.55); } 70% { box-shadow: 0 0 0 8px rgba(61,255,176,0); } 100% { box-shadow: 0 0 0 0 rgba(61,255,176,0); } }

/* shell */
.shell { display: flex; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; flex: none; width: 262px; padding: 22px 14px; border-right: 1px solid var(--line); background: var(--side);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); display: flex; flex-direction: column; gap: 22px; z-index: 20; overflow-y: auto; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 0 8px; }
.menu-btn { display: none; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-label { margin: 14px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.side-nav a { position: relative; display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: 11px; color: var(--muted); font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.side-nav a:hover { background: var(--hover); color: var(--fg); }
.side-nav a.active { background: linear-gradient(90deg, rgba(47,139,255,.18), rgba(47,139,255,.04)); color: var(--fg); }
.side-nav a.active::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--grad); }
.side-nav a.active .ic { color: var(--cyanTxt); }
.side-nav .count { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--faint); }
.side-nav .count.on { color: var(--greenTxt); }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.plan-card { position: relative; display: block; padding: 16px; border-radius: 16px; overflow: hidden; color: var(--fg); background: var(--card); border: 1px solid var(--line2); }
.plan-card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px; background: radial-gradient(closest-side, rgba(47,139,255,.35), transparent); pointer-events: none; }
.plan-card:hover { color: var(--fg); border-color: var(--line3); }
.me { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.me-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.dashed { background: transparent; border: 1px dashed var(--line3); color: var(--muted); }
.content { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 12px; height: 66px; padding: 0 32px; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.cmd-open { display: flex; align-items: center; gap: 10px; height: 40px; width: min(420px, 100%); padding: 0 8px 0 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card2); color: var(--faint); font: 14px var(--font); cursor: pointer; text-align: left; }
.cmd-open:hover { border-color: var(--line3); color: var(--muted); }
.cmd-open span { flex: 1; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card2); font-size: 12.5px; font-weight: 600; color: var(--soft); }
.main { width: 100%; max-width: 1440px; margin: 0 auto; padding: 30px 32px 64px; display: flex; flex-direction: column; gap: 18px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyanTxt); margin-bottom: 6px; }
.lead { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.section-title { font-size: 18px; margin-top: 18px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--faint); margin-bottom: 8px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--fg); }

/* cards */
.card { position: relative; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.card.flush { padding: 0; overflow: hidden; }
.card.glow, .card.hero { background: radial-gradient(120% 140% at 0% 0%, rgba(47,139,255,.22), transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(138,108,255,.16), transparent 60%), var(--card); border-color: rgba(63,212,255,.28); }
.card .h, .h { font-size: 15px; font-weight: 700; font-family: var(--font); letter-spacing: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.pad { padding: 18px 20px; }
.cols { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.grow-2 { flex: 999 1 460px; min-width: 0; } .grow-1 { flex: 1 1 300px; min-width: 0; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.stat { overflow: hidden; }
.stat .muted { font-size: 13px; display: flex; align-items: center; gap: 8px; }
.stat-ic { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: rgba(47,139,255,.14); color: var(--cyanTxt); }
.stat-ic.green { background: rgba(61,255,176,.12); color: var(--greenTxt); } .stat-ic.violet { background: rgba(138,108,255,.15); color: #B9A8FF; } .stat-ic.amber { background: rgba(255,178,36,.14); color: var(--amber); }
.stat .small { position: relative; z-index: 1; }
.stat-num { margin-top: 12px; font-family: var(--display); font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.stat-num .of { font: 500 13px var(--font); color: var(--faint); letter-spacing: 0; }
.stat.warn { border-color: rgba(255,178,36,.28); }
.spark { position: absolute; right: 0; bottom: 0; width: 46%; height: 44px; opacity: .65; }
.bar { margin-top: 12px; height: 6px; border-radius: 3px; background: rgba(140,170,255,.12); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 3px; background: var(--grad); transition: width .6s; }
.chart { margin: 18px 0 8px; height: 190px; display: flex; align-items: flex-end; gap: 8px; border-bottom: 1px solid var(--line2); }
.chart .col { position: relative; flex: 1; border-radius: 7px 7px 2px 2px; background: linear-gradient(180deg, rgba(63,212,255,.55), rgba(47,139,255,.18)); transition: filter .15s; }
.chart .col:hover { filter: brightness(1.35); }
.chart .col.today { background: var(--grad); box-shadow: 0 0 24px -6px rgba(47,139,255,.8); }
.list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.list li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--card2); border: 1px solid transparent; transition: border-color .15s; }
.list li:hover { border-color: var(--line2); }
.tile-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; background: rgba(120,170,255,.09); display: inline-flex; align-items: center; justify-content: center; color: var(--soft); }
.empty-inline { display: flex; gap: 10px; align-items: center; color: var(--muted); margin: 14px 0 0; }
.empty { text-align: center; padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty .ic { color: var(--cyanTxt); } .empty p { max-width: 520px; color: var(--muted); margin: 0; }
.welcome { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px; border-radius: var(--r);
  background: radial-gradient(120% 160% at 0% 0%, rgba(47,139,255,.25), transparent 60%), var(--card); border: 1px solid rgba(63,212,255,.3); }
.welcome p { margin: 6px 0 0; color: var(--soft); max-width: 640px; }
.upsell { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255,138,31,.07); border: 1px solid rgba(255,138,31,.25); color: var(--soft); }
.upsell .ic { color: #FF9F45; }

/* hero (overview) */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px; }
.hero h1 { font-size: 32px; }
.hero-art { width: 150px; height: auto; filter: drop-shadow(0 18px 30px rgba(47,139,255,.45)); animation: float 7s ease-in-out infinite; }
.quick { margin-top: 18px; display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 16px; background: var(--field); border: 1px solid var(--line2); max-width: 560px; }
.quick .ic { margin-left: 10px; color: var(--faint); }
.quick input { border: none; background: transparent; box-shadow: none; font: 600 18px var(--mono); letter-spacing: .06em; height: 44px; }
.quick input:focus { box-shadow: none; }

/* connect box (legacy) */
.connect { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line2); }
.connect label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--faint); }
.connect input { width: 170px; height: 38px; border: none; background: transparent; font-family: var(--mono); box-shadow: none; padding: 0 6px; }

/* device cards */
.dev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.dev { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: transform .18s, border-color .18s, box-shadow .18s; }
.dev:hover { transform: translateY(-2px); border-color: var(--line3); box-shadow: 0 24px 50px -30px rgba(47,139,255,.55); }
.dev.on { background: radial-gradient(120% 90% at 100% 0%, rgba(61,255,176,.07), transparent 60%), var(--card); }
.dev-top { display: flex; align-items: flex-start; gap: 12px; }
.dev-name { font-weight: 700; font-size: 15px; color: var(--fg); }
.dev-name:hover { color: var(--cyanTxt); }
.dev-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--faint); }
.dev-meta span { display: inline-flex; align-items: center; gap: 6px; }
.dev-actions { display: flex; gap: 8px; margin-top: auto; }
.dev-actions .btn { flex: 1; }
.dev-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 12.5px; color: var(--faint); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.on { color: var(--green); }
.status.on i { animation: pulse 2.4s infinite; }

/* detail page */
.detail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.detail-ic { width: 64px; height: 64px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; box-shadow: 0 16px 40px -16px rgba(47,139,255,.9); }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.kv:first-child { border-top: none; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; text-align: right; word-break: break-all; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: flex; gap: 14px; padding: 12px 20px 12px 44px; border-top: 1px solid var(--line); font-size: 13.5px; }
.timeline li::before { content: ""; position: absolute; left: 24px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--line3); }
.timeline li.ok::before { background: var(--green); } .timeline li.red::before { background: var(--red); } .timeline li.amber::before { background: var(--amber); }
.timeline .when { margin-left: auto; color: var(--faint); white-space: nowrap; font-size: 12.5px; }

/* tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 720px; }
.table th { text-align: left; padding: 12px 16px; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); background: rgba(140,170,255,.04); font-weight: 700; }
.table td { padding: 13px 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--soft); vertical-align: middle; }
.table tr:hover td { background: var(--hover); }

/* toolbar: segmented filter + search */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 13px; background: var(--card); border: 1px solid var(--line); flex-wrap: wrap; }
.seg a, .seg label, .seg button { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 10px; border: none; background: transparent; color: var(--muted); font: 600 13.5px var(--font); cursor: pointer; }
.seg a:hover, .seg button:hover { color: var(--fg); }
.seg a span { opacity: .7; }
.seg a.on, .seg button.on, .seg label:has(input:checked) { background: rgba(47,139,255,.16); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(63,212,255,.3); }
.seg.big { margin: 4px 0 16px; }
.seg.icons { flex-wrap: nowrap; }
.search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); min-width: min(100%, 300px); color: var(--faint); }
.search:focus-within { border-color: rgba(63,212,255,.5); }
.search input { border: none; background: transparent; height: 40px; padding: 0; box-shadow: none; }

/* command palette */
.cmdk { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; background: rgba(2,4,10,.55); backdrop-filter: blur(6px); }
.cmdk[hidden] { display: none; }
.cmdk-box { width: min(620px, 100%); border-radius: 20px; background: var(--card-solid); border: 1px solid var(--line2); box-shadow: 0 40px 120px -30px rgba(0,0,0,.8); overflow: hidden; animation: pop .16s ease-out; }
.cmdk-in { display: flex; align-items: center; gap: 10px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--faint); }
.cmdk-in input { border: none; background: transparent; height: 58px; font-size: 16px; box-shadow: none; padding: 0; }
.cmdk-list { max-height: 50vh; overflow-y: auto; padding: 8px; list-style: none; margin: 0; }
.cmdk-list li[hidden] { display: none; }
.cmdk-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--soft); font-size: 14px; }
.cmdk-list a .small { margin-left: auto; }
.cmdk-list a.sel, .cmdk-list a:hover { background: rgba(47,139,255,.14); color: var(--fg); }
.cmdk-group { padding: 10px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.cmdk-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }
@keyframes pop { from { transform: translateY(6px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }

/* team */
.members { list-style: none; margin: 0; padding: 0; }
.members li { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line); }
.members select { width: auto; height: 36px; font-size: 13px; padding: 0 10px; }
.roles { margin: 12px 0 0; display: grid; gap: 4px 0; font-size: 13.5px; }
.roles dt { font-weight: 700; margin-top: 8px; } .roles dd { margin: 0; color: var(--muted); }
.copy-row { display: flex; gap: 8px; margin-top: 10px; }
.copy-row input { font-family: var(--mono); font-size: 13px; }

/* billing */
.plan-name { font-size: 26px; }
.price { font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.price span { font: 500 13px var(--font); color: var(--muted); margin-left: 4px; }
.minis { margin: 22px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 12px; }
.minis > div { padding: 14px; border-radius: 14px; background: var(--card2); display: flex; flex-direction: column; gap: 4px; }
.plan { background: radial-gradient(120% 140% at 0% 0%, rgba(47,139,255,.2), transparent 55%), var(--card); border-color: rgba(63,212,255,.35); display: flex; flex-direction: column; gap: 4px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.plan-card-lg { position: relative; display: flex; flex-direction: column; gap: 8px; }
.plan-card-lg h3 { font-size: 20px; }
.plan-card-lg.featured { border-color: rgba(63,212,255,.45); background: radial-gradient(120% 120% at 0% 0%, rgba(47,139,255,.2), transparent 55%), var(--card); }
.plan-card-lg.glow { box-shadow: 0 0 0 2px var(--blue), 0 30px 80px -30px rgba(47,139,255,.6); }
.ribbon { position: absolute; top: -12px; left: 22px; padding: 4px 11px; border-radius: 999px; background: var(--orange); color: #1A0B00; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.ticks { list-style: none; margin: 10px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--soft); flex: 1; }
.ticks li::before { content: "✓"; color: var(--greenTxt); font-weight: 800; margin-right: 10px; }

/* settings */
.qr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.qr { border-radius: 14px; background: #fff; padding: 6px; }
.key { margin-top: 6px; font-size: 17px; letter-spacing: .06em; word-break: break-all; color: var(--fg); }
.steps { margin: 12px 0 0; padding-left: 20px; color: var(--soft); display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.qs-preview { --accent: #2F8BFF; }
.qs-window { margin-top: 12px; padding: 20px; border-radius: 16px; background: var(--card-solid); border: 1px solid var(--line2); border-top: 3px solid var(--accent); }
.qs-window img { border-radius: 10px; }
.qs-logo { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.qs-id { font-size: 24px; color: var(--fg); letter-spacing: .04em; }
.qs-code { font-size: 22px; color: var(--accent); letter-spacing: .2em; }

/* sign-in screens */
.auth { display: flex; flex-wrap: wrap; min-height: 100vh; }
.auth-brand { flex: 1 1 520px; min-width: 0; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 40px; background: #060A14; border-right: 1px solid var(--line); color: #EEF3FB; }
.auth-hero { position: relative; z-index: 1; width: 100%; max-width: 620px; height: auto; align-self: center; border-radius: 24px; border: 1px solid rgba(140,170,255,.16); box-shadow: 0 40px 100px -40px rgba(47,139,255,.7); animation: float 7s ease-in-out infinite; }
.auth-tag { position: relative; z-index: 1; margin: 0; font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.25; max-width: 460px; }
.auth-brand .brand { position: relative; z-index: 1; }
.auth-glow { position: absolute; left: -10%; bottom: -30%; width: 120%; height: 80%; background: radial-gradient(closest-side, rgba(47,139,255,.25), transparent 70%); animation: drift 12s ease-in-out infinite alternate; }
.auth-form { flex: 1 1 440px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-inner { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 14px; }
.auth-inner h1 { font-size: 32px; }
.auth-inner .lead { margin: 0 0 6px; }
.only-sm { display: none; }
.auth-zook { position: relative; z-index: 1; align-self: center; width: 100%; max-width: 560px; aspect-ratio: 1 / .92; display: grid; place-items: center; }
.auth-sparks { position: absolute; inset: -6% -10%; width: 120%; height: 112%; pointer-events: none; }
.auth-mascot { position: relative; width: 82%; height: auto; filter: drop-shadow(0 0 26px rgba(47,139,255,.45)) drop-shadow(0 26px 40px rgba(0,0,0,.55)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }

.center-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; }
.big-code { font-family: var(--display); font-size: 88px; font-weight: 800; background: linear-gradient(120deg, var(--cyan), var(--blue) 50%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; line-height: 1.7; }
.legal h1 { margin: 36px 0 6px; } .legal h2 { margin: 28px 0 6px; font-size: 18px; } .legal p, .legal li { color: var(--soft); }

/* ================= browser viewer (/app/connect) ================= */
.viewer { position: relative; min-height: 100vh; display: flex; flex-direction: column; background: #020409; color: #EEF3FB; }
.viewer:fullscreen { background: #000; }
.v-pre, .v-status, .v-error, .v-code { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.v-pre[hidden], .v-status[hidden], .v-error[hidden], .v-code[hidden], .v-stage[hidden], .v-bar[hidden] { display: none; }
.v-panel { width: min(980px, 100%); }
.v-device { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.v-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.v-way { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 22px; background: rgba(13,19,34,.8); border: 1px solid rgba(150,180,255,.14); }
.v-way.main { background: radial-gradient(120% 120% at 0% 0%, rgba(47,139,255,.22), transparent 55%), rgba(13,19,34,.85); border-color: rgba(63,212,255,.3); }
.v-way h2 { font-size: 21px; }
.v-way p { margin: 0; color: #96A7C4; font-size: 14px; }
.v-way p.v-sec { color: #6CFFC4; }
.v-way input { background: rgba(5,9,18,.8); color: #EEF3FB; border-color: rgba(150,180,255,.2); }
.v-feats { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; }
.v-feats span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; background: rgba(150,180,255,.08); font-size: 12px; color: #C6D1E4; }
.v-box { width: min(440px, 100%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.v-box p { margin: 0; color: #96A7C4; }
.v-spinner { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(150,180,255,.15); border-top-color: #3FD4FF; border-right-color: #2F8BFF; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.v-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; outline: none; }
.v-stage.scroll { overflow: auto; align-items: flex-start; justify-content: flex-start; }
#v-screen { display: block; image-rendering: auto; background: #000; touch-action: none; box-shadow: 0 0 0 1px rgba(150,180,255,.08); }
.v-bar { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 16px;
  background: rgba(10,15,28,.82); border: 1px solid rgba(150,180,255,.18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
  max-width: calc(100% - 24px); overflow-x: auto; transition: opacity .25s, transform .25s; }
@media (hover: hover) {
  body.v-live .v-bar.tuck { opacity: .0; transform: translate(-50%, -70%); }
  body.v-live .v-bar.tuck:hover, body.v-live .v-bar.tuck:focus-within { opacity: 1; transform: translateX(-50%); }
}
.viewer [hidden] { display: none !important; }
.v-bar .sep { width: 1px; height: 24px; background: rgba(150,180,255,.16); margin: 0 4px; flex: none; }
.v-bar button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; min-width: 34px; padding: 0 9px; border-radius: 10px; border: none; background: transparent; color: #C6D1E4; font: 600 12.5px var(--font); cursor: pointer; white-space: nowrap; }
.v-bar button:hover { background: rgba(150,180,255,.1); color: #fff; }
.v-bar button.on { background: rgba(47,139,255,.22); color: #fff; }
.v-bar button.end { color: #FF8FA3; }
.v-bar button.end:hover { background: rgba(255,95,122,.16); }
.v-bar select { width: auto; height: 34px; font-size: 12.5px; background: rgba(5,9,18,.8); color: #EEF3FB; border-color: rgba(150,180,255,.2); }
.v-id { display: flex; flex-direction: column; padding: 0 10px 0 6px; line-height: 1.15; }
.v-id b { font-size: 13px; white-space: nowrap; } .v-id span { font-size: 11px; color: #7FE3FF; font-family: var(--mono); white-space: nowrap; }
.v-q { display: inline-flex; padding: 2px; border-radius: 10px; background: rgba(5,9,18,.6); }
.v-q button { height: 30px; font-size: 12px; }
.v-keys { position: absolute; top: 64px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 6px; padding: 6px; border-radius: 14px; background: rgba(10,15,28,.92); border: 1px solid rgba(150,180,255,.18); }
.v-keys[hidden] { display: none; }
.v-keys button { height: 32px; padding: 0 10px; border-radius: 9px; border: 1px solid rgba(150,180,255,.15); background: transparent; color: #C6D1E4; font: 600 12px var(--font); cursor: pointer; }
.v-keys button:hover { background: rgba(150,180,255,.1); }
.v-toast { position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 10px); z-index: 8; max-width: min(560px, calc(100% - 32px)); padding: 11px 16px; border-radius: 13px; background: rgba(10,15,28,.94); border: 1px solid rgba(150,180,255,.2); font-size: 13.5px; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.v-toast.in { opacity: 1; transform: translate(-50%, 0); }
.v-time { position: absolute; left: 50%; top: 64px; transform: translateX(-50%); z-index: 7; max-width: min(640px, calc(100% - 32px)); padding: 11px 16px; border-radius: 13px; background: rgba(255,138,31,.14); border: 1px solid rgba(255,138,31,.35); color: #FFD9B5; font-size: 13.5px; }
.v-time[hidden] { display: none; }
.v-chat { position: absolute; right: 14px; bottom: 14px; z-index: 6; width: min(340px, calc(100% - 28px)); height: min(420px, 60vh); display: flex; flex-direction: column; border-radius: 18px; background: rgba(10,15,28,.94); border: 1px solid rgba(150,180,255,.18); overflow: hidden; }
.v-chat[hidden] { display: none; }
.v-chat-head { padding: 12px 14px; border-bottom: 1px solid rgba(150,180,255,.12); font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.v-chat-log { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.v-msg { max-width: 85%; padding: 8px 11px; border-radius: 12px; background: rgba(150,180,255,.1); font-size: 13.5px; display: flex; flex-direction: column; }
.v-msg b { font-size: 11px; color: #7FE3FF; } .v-msg.mine { align-self: flex-end; background: rgba(47,139,255,.25); } .v-msg.mine b { color: #C6D1E4; }
.v-chat form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid rgba(150,180,255,.12); }
.v-chat input { height: 38px; background: rgba(5,9,18,.8); color: #EEF3FB; border-color: rgba(150,180,255,.2); }
.v-sec { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #6CFFC4; }
.viewer .muted { color: #96A7C4; }

/* ================= responsive ================= */
@media (max-width: 1100px) { .split { grid-template-columns: 1fr; } .hero-art { display: none; } .hero { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .auth-brand { display: none; }
  .only-sm { display: flex; margin-bottom: 18px; }
}
@media (max-width: 900px) {
  .shell { flex-direction: column; }
  .side { position: sticky; top: 0; width: 100%; height: auto; padding: 12px 16px; gap: 12px; border-right: none; border-bottom: 1px solid var(--line); flex-direction: column; }
  .menu-btn { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line2); background: transparent; color: var(--fg); align-items: center; justify-content: center; }
  .side-nav, .side-foot { display: none; }
  .side.open .side-nav, .side.open .side-foot { display: flex; }
  .side.open { max-height: 100vh; }
  .side-nav a.active::before { display: none; }
  .topbar { position: static; padding: 0 16px; height: 58px; }
  .topbar .live-pill, .topbar .hide-sm { display: none; }
  .main { padding: 22px 16px 48px; }
  .connect input { width: 120px; }
  .hero { padding: 22px; }
  .hero h1 { font-size: 26px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 16px; } .stat-num { font-size: 28px; } .spark { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* live online/offline switch on device cards */
.dev .when-on { display: none; } .dev.on .when-on { display: flex; } .dev.on .when-off { display: none; }
.dev-row .when-on-inline { display: none; } .dev-row.on .when-on-inline { display: inline-flex; }

/* dashboard language switch (topbar) */
.lang-btn { font-weight: 700; font-size: 12.5px; text-decoration: none; }

/* sign-in / sign-up language switch */
.auth-form { position: relative; }
.auth-form .lang-switch { position: absolute; top: 20px; right: 24px; padding: 4px 12px; border: 1px solid var(--line2); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.auth-form .lang-switch:hover, .auth-form .lang-switch:focus-visible { color: var(--fg); border-color: var(--line3); }

/* ---- Add a device (/app/add) ---- */
.add-steps { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.add-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.add-steps p { margin: 4px 0 0; }
.add-num { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; }
.os-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-bottom: 16px; }
.os-card { display: flex; flex-direction: column; gap: 10px; }
.os-card p { flex: 1; margin: 0; }
.os-card .row .btn { flex: 1; }
.btn.block { width: 100%; }
.btn.disabled { opacity: .55; pointer-events: none; }

/* ---- browser viewer: file transfer panel + drop zone ---- */
.v-files { position: absolute; left: 14px; bottom: 14px; z-index: 6; width: min(360px, calc(100% - 28px)); max-height: min(440px, 62vh); display: flex; flex-direction: column; border-radius: 18px; background: rgba(10,15,28,.94); border: 1px solid rgba(150,180,255,.18); overflow: hidden; }
.v-files[hidden] { display: none; }
.v-files-head { padding: 12px 14px; border-bottom: 1px solid rgba(150,180,255,.12); font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; }
.v-files-send { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgba(150,180,255,.08); }
.v-files-send .small { color: #96A7C4; font-size: 12px; line-height: 1.3; }
.v-files-send .btn { flex: none; }
.v-files-list { flex: 1; overflow-y: auto; padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 8px; }
.v-files-list:empty { display: none; }
.v-xfer { padding: 9px 10px; border-radius: 12px; background: rgba(150,180,255,.07); font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.v-xfer-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.v-xfer-dir { flex: none; width: 18px; text-align: center; color: #7FE3FF; font-weight: 700; }
.v-xfer-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.v-xfer-x { flex: none; width: 24px; height: 24px; border-radius: 7px; border: none; background: transparent; color: #96A7C4; font-size: 17px; line-height: 1; cursor: pointer; }
.v-xfer-x:hover { background: rgba(150,180,255,.12); color: #fff; }
.v-xfer-bar { height: 4px; border-radius: 2px; background: rgba(150,180,255,.12); overflow: hidden; }
.v-xfer-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2F8BFF, #3FD4FF); transition: width .15s linear; }
.v-xfer.done .v-xfer-bar i { background: #6CFFC4; }
.v-xfer.failed .v-xfer-bar i, .v-xfer.cancelled .v-xfer-bar i { background: #FF8FA3; }
.v-xfer-meta { font-size: 11.5px; color: #96A7C4; font-family: var(--mono); overflow-wrap: anywhere; }
.v-xfer.failed .v-xfer-meta { color: #FF8FA3; }
.v-xfer-meta a { color: #7FE3FF; font-weight: 600; }
.v-drop { position: absolute; inset: 0; z-index: 9; display: flex; align-items: center; justify-content: center; background: rgba(2,4,9,.6); pointer-events: none; }
.v-drop[hidden] { display: none; }
.v-drop > div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 40px; border-radius: 22px; border: 2px dashed rgba(63,212,255,.7); background: rgba(10,15,28,.9); color: #7FE3FF; }
.v-drop b { color: #EEF3FB; font-size: 17px; } .v-drop span { color: #96A7C4; font-size: 13px; }

/* session notes (Session history) */
.note-cell { max-width: 260px; }
.note-cell .note-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; }
.note-edit summary { cursor: pointer; color: var(--cyanTxt); list-style: none; }
.note-edit summary::-webkit-details-marker { display: none; }
.note-edit[open] .form { margin-top: 8px; gap: 8px; min-width: 220px; }
/* support links, deployment, policies */
.link-box { display: flex; gap: 8px; align-items: center; }
.link-box input { flex: 1; font-family: var(--mono); }
.state-ready { color: var(--green, #2EE59D); font-weight: 600; }
.code-block { font-family: var(--mono); font-size: 13px; background: var(--hover); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; overflow-x: auto; white-space: pre; }
.inv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 18px; }
.inv-grid dt { font-size: 12px; color: var(--muted); }
.inv-grid dd { margin: 2px 0 0; font-weight: 600; }
.bar { height: 6px; border-radius: 4px; background: var(--line2); overflow: hidden; margin-top: 4px; }
.bar > i { display: block; height: 100%; background: var(--cyanTxt); }
.bar.warn > i { background: #FFB224; }
/* sign in with Microsoft / Google */
.sso-sep { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.sso-sep::before, .sso-sep::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.sso-btn { justify-content: center; }
