/* =========================================================================
   InboxDock — customer dashboard
   Same design language as the marketing site (site-vitrine/public/assets/css/styles.css):
   same tokens, same components, same motion. Static, no third-party assets.
   Compatible with a strict CSP: no inline style attributes; dynamic values go
   through CSS custom properties set from JS via the CSSOM.
   ========================================================================= */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* Marketing-site palette */
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --paper: #ffffff;
  --paper-2: #f5f5f7;
  --night: #000000;
  --text-d: #f5f5f7;
  --text-d2: #a1a1a6;
  --blue: #2f6bff;
  --blue-h: #1f5cf0;
  --blue-l: #6f9bff;
  --violet: #9b6bff;
  --green: #30d158;
  --green-d: #1f9d45;
  --orange: #ff9f0a;
  --red: #ff453a;
  --grad: linear-gradient(100deg, #6fb6ff 0%, #7c8cff 38%, #b48cff 68%, #f08cff 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 28px;

  --side-w: 252px;
  --top-h: 52px;
}

/* Dark: the marketing site's hero, dashboard preview and dark tiles */
:root, [data-theme="dark"] {
  color-scheme: dark;
  --bg: #000;
  --side: linear-gradient(180deg, #131317, #0b0b0e);
  --card: linear-gradient(180deg, #111116, #0b0b0e);
  --card-solid: #0f0f12;
  --card-hover: rgba(124, 140, 255, .4);
  --soft: rgba(255, 255, 255, .04);
  --soft-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .06);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #8e8e93;
  --link: var(--blue-l);
  --on: rgba(91, 140, 255, .15);
  --glass: rgba(10, 10, 12, .62);
  --glass-2: rgba(10, 10, 12, .72);
  --st-ok: var(--green);
  --st-sync: var(--orange);
  --st-warn: #ff6961;
  --st-wait: #b48cff;
  --st-off: #8e8e93;
  --tag-o-bg: rgba(47, 107, 255, .16); --tag-o: #8fb0ff;
  --tag-d-bg: rgba(176, 107, 255, .16); --tag-d: #cfa8ff;
  --tint-blue: rgba(47, 107, 255, .16);
  --tint-red: rgba(255, 59, 48, .16);
  --tint-amber: rgba(255, 159, 10, .14);
  --tint-violet: rgba(155, 107, 255, .16);
  --tint-green: rgba(48, 209, 88, .14);
  --pop: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  --scrim: rgba(0, 0, 0, .6);
}

/* Light: the marketing site's white and grey sections */
[data-theme="light"] {
  color-scheme: light;
  --bg: var(--paper-2);
  --side: #fbfbfd;
  --card: var(--paper);
  --card-solid: var(--paper);
  --card-hover: rgba(47, 107, 255, .3);
  --soft: var(--paper-2);
  --soft-2: #ececf0;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .06);
  --text: var(--ink);
  --text-2: var(--ink-2);
  --text-3: var(--ink-3);
  --link: var(--blue);
  --on: rgba(47, 107, 255, .1);
  --glass: rgba(251, 251, 253, .72);
  --glass-2: rgba(251, 251, 253, .82);
  --st-ok: var(--green-d);
  --st-sync: #c47a00;
  --st-warn: #d70015;
  --st-wait: #7b4dff;
  --st-off: var(--ink-3);
  --tag-o-bg: rgba(47, 107, 255, .1); --tag-o: var(--blue);
  --tag-d-bg: rgba(123, 77, 255, .1); --tag-d: #7b4dff;
  --tint-blue: rgba(47, 107, 255, .1);
  --tint-red: rgba(255, 59, 48, .1);
  --tint-amber: rgba(255, 159, 10, .12);
  --tint-violet: rgba(123, 77, 255, .1);
  --tint-green: rgba(31, 157, 69, .1);
  --pop: 0 30px 80px -30px rgba(20, 30, 80, .28), 0 2px 6px rgba(0, 0, 0, .04);
  --scrim: rgba(0, 0, 0, .25);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.47;
  letter-spacing: -.016em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.pad-credit { margin: 0; padding: 10px 16px; font-size: 12px; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; border-radius: 6px; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 15px; height: 15px; }
.mt { margin-top: 20px; }
.mt-sm { margin-top: 10px; }
.mb { margin-bottom: 20px; }
.grow { flex: 1; min-width: 200px; }

/* ---------- Type (marketing site) ---------- */
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.eyebrow.blue { color: var(--link); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-anim { background-size: 200% 100%; animation: gradShift 8s ease-in-out infinite alternate; }
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.title { font-size: clamp(28px, 2.8vw, 34px); line-height: 1.1; letter-spacing: -.04em; font-weight: 700; }
.lead { font-size: 17px; line-height: 1.42; letter-spacing: -.018em; font-weight: 500; color: var(--text-2); max-width: 720px; margin-top: 10px; }
.h3 { font-size: 21px; letter-spacing: -.025em; font-weight: 600; line-height: 1.25; }

/* ---------- Buttons (marketing site) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 20px;
  border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  background: var(--soft-2); color: var(--text);
  transition: background .25s, transform .25s var(--ease), box-shadow .25s, opacity .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 32px; padding: 0 15px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(47, 107, 255, .8); }
.btn-primary:hover { background: var(--blue-h); }
.btn-danger { background: var(--tint-red); color: var(--st-warn); }
.btn-dark { background: var(--ink); color: #fff; }
[data-theme="dark"] .btn-dark { background: #fff; color: var(--ink); }
.btn-link { color: var(--link); padding: 0 4px; background: none; height: auto; border: 0; display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 4px; transform: none; }
.chev { width: 14px; height: 14px; transition: transform .25s var(--ease); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-link:hover .chev, .row-link:hover .chev { transform: translateX(3px); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.icon-btn { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--text-2); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--soft-2); color: var(--text); }

/* ---------- Reveal (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .08s; }
.js [data-reveal="3"] { transition-delay: .16s; }
.js [data-reveal="4"] { transition-delay: .24s; }
.js .hero-in { opacity: 0; filter: blur(12px); transform: translateY(14px); animation: heroIn 1.1s var(--ease) forwards; }
.js .hero-in.d1 { animation-delay: .02s; }
.js .hero-in.d2 { animation-delay: .1s; }
.js .hero-in.d3 { animation-delay: .2s; }
@keyframes heroIn { to { opacity: 1; filter: blur(0); transform: none; } }

/* =========================================================================
   APP SHELL — the marketing site's dashboard preview (.win)
   ========================================================================= */
.app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }

.side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 12px 14px;
  background: var(--side);
  border-right: 1px solid var(--line-2);
}
.side-brand { display: flex; align-items: center; gap: 9px; padding: 4px 10px 6px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; color: var(--text); }
.logo-mark { width: 24px; height: 24px; flex: none; }
.side-ws { display: block; padding: 0 10px 16px 43px; font-size: 12px; color: var(--text-3); }
.side-group { margin: 14px 10px 4px; font-size: 11.5px; font-weight: 600; color: var(--text-3); letter-spacing: -.005em; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text-2); font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.side-item:hover { color: var(--text); background: var(--soft); }
.side-item.on { background: var(--on); color: var(--text); }
.side-item .ico { width: 17px; height: 17px; opacity: .9; }
.side-item span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item.on .ico { color: var(--link); opacity: 1; }
.side-item em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; background: var(--blue); color: #fff; padding: 1px 7px; border-radius: 99px; font-variant-numeric: tabular-nums; }
.side-item em.warn { background: var(--tint-red); color: var(--st-warn); }
.side-foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid var(--line-2); }
.side-health { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-3); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; animation: live 2s infinite; }
.live-dot.off { background: var(--red); animation: none; }
.live-dot.warn { background: var(--orange); animation: none; }
.live-dot.idle { background: var(--text-3); animation: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, .55); } 70% { box-shadow: 0 0 0 7px rgba(48, 209, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); } }

.main { min-width: 0; display: flex; flex-direction: column; position: relative; }
.main::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 520px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(40% 60% at 50% 0%, rgba(91, 140, 255, .14), transparent 70%),
    radial-gradient(26% 40% at 20% 10%, rgba(155, 107, 255, .08), transparent 70%);
}
[data-theme="light"] .main::before { opacity: .5; }

.top {
  position: sticky; top: 0; z-index: 30; height: var(--top-h);
  display: flex; align-items: center; gap: 12px; padding: 0 28px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.top.scrolled { border-color: var(--line); background: var(--glass-2); }
.menu-btn { display: none !important; }
.top-search {
  display: inline-flex; align-items: center; gap: 8px; min-width: 280px; max-width: 420px; flex: 1;
  color: var(--text-3); background: var(--soft); border: 1px solid var(--line-2);
  padding: 7px 14px; border-radius: 9px; font-size: 13px; text-align: left;
}
.top-search:hover { border-color: var(--line); color: var(--text-2); }
.top-search span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
kbd { font-family: var(--font); font-size: 11px; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); color: var(--text-3); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.top-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-3); margin-right: 8px; }
.icon-btn .badge-dot { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #5ea2ff, #3b5bff); border: 0; flex: none; }

.banner { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 12px 28px; font-size: 14px; border-bottom: 1px solid var(--line); }
.banner > .ico { flex: none; }
.banner .btn:first-of-type { margin-left: auto; }
.banner.amber { background: var(--tint-amber); }
.banner.amber > .ico { color: var(--st-sync); }
.banner.red { background: var(--tint-red); }
.banner.red > .ico { color: var(--st-warn); }

.content { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 34px 28px 96px; }

/* ---------- Page head (pane-head) ---------- */
.page-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; min-height: 40px; }
.page-head .actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pane-search {
  display: flex; align-items: center; gap: 10px; min-width: 320px;
  color: var(--text-3); background: var(--soft); border: 1px solid var(--line-2);
  padding: 0 14px; height: 40px; border-radius: 12px;
}
.pane-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 14px; color: var(--text); }
.pane-search input::placeholder { color: var(--text-3); }
.pane-search:focus-within { border-color: var(--blue-l); box-shadow: 0 0 0 3px rgba(111, 155, 255, .25); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.stack { display: grid; gap: 16px; }

.panel {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px 26px 24px;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
[data-theme="light"] .panel { border-color: var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
.panel.hover:hover { border-color: var(--card-hover); transform: translateY(-3px); }
.panel.flush { padding: 0; overflow: hidden; }
.panel.glow { overflow: hidden; }
.panel.glow::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 100%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(91, 140, 255, .26), transparent 70%); filter: blur(30px);
}
.panel.glow > * { position: relative; }
.panel-head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.panel.flush > .panel-head { padding: 22px 24px 0; }
.panel-head > div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.panel-head h2, .panel-head h3 { font-size: 19px; font-weight: 600; letter-spacing: -.024em; }
.panel-head small, .panel-head p { color: var(--text-3); font-size: 13px; }
.panel-head .right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.tile-k { font-size: 14px; font-weight: 600; margin-bottom: 8px; letter-spacing: -.005em; }
.tile-k.blue { color: var(--link); }
.tile-k.violet { color: var(--st-wait); }
.tile-k.green { color: var(--st-ok); }
.tile-k.orange { color: #e07a00; }
[data-theme="dark"] .tile-k.orange { color: var(--orange); }

/* Gradient icon tiles (file-ico / globe-ico / key-ico) */
.gi { width: 40px; height: 40px; border-radius: 11px; flex: none; position: relative; display: grid; place-items: center; color: #fff; }
.gi .ico { width: 20px; height: 20px; stroke-width: 1.9; }
.gi.blue { background: linear-gradient(135deg, #5ea2ff, #2f6bff); }
.gi.violet { background: linear-gradient(135deg, #b48cff, #7b4dff); }
.gi.green { background: linear-gradient(135deg, #34d399, #0ea5a4); }
.gi.orange { background: linear-gradient(135deg, #fbbf24, #f97316); }
.gi.pink { background: linear-gradient(135deg, #f472b6, #db2777); }
.gi.csv::after { content: "CSV"; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
/* Security-card icon (gradient border, gradient stroke) */
.si-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: linear-gradient(#141419, #141419) padding-box, linear-gradient(135deg, rgba(94, 162, 255, .7), rgba(200, 107, 255, .7)) border-box;
  border: 1px solid transparent;
}
[data-theme="light"] .si-ico { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(94, 162, 255, .7), rgba(200, 107, 255, .7)) border-box; }
.si-ico svg { width: 24px; height: 24px; fill: none; stroke: url(#g-stroke); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- KPIs (dashboard preview) ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpis.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpis.k2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpi { background: var(--soft); border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
[data-theme="light"] .kpi { background: var(--paper); }
.kpi > span { font-size: 12.5px; color: var(--text-3); }
.kpi b { font-size: 30px; font-weight: 600; color: var(--text); letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi b small { font-size: 14px; color: var(--text-3); font-weight: 500; letter-spacing: -.01em; }
.kpi small { font-size: 12px; color: var(--text-3); }
.kpi small .mono { white-space: nowrap; }
.kpi small.up { color: var(--link); }
.kpi small.ok { color: var(--st-ok); }
.kpi small.warn { color: var(--st-warn); }
.bar { height: 8px; border-radius: 99px; background: var(--soft-2); overflow: hidden; margin: 8px 0 6px; }
.bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, #5ea2ff, #7b6cff); transition: width 1.6s var(--ease); }
.bar.thin { height: 5px; margin: 5px 0 0; width: 80px; }
.js .bar i.fill { width: 0; }
.js .bar.go i.fill { width: var(--w); }

/* ---------- Status (marketing site .st) ---------- */
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; letter-spacing: -.005em; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.st.ok { color: var(--st-ok); }
.st.sync { color: var(--st-sync); }
.st.sync::before { animation: blink 1.2s ease-in-out infinite; }
.st.warn { color: var(--st-warn); }
.st.wait { color: var(--st-wait); }
.st.off { color: var(--st-off); }
@keyframes blink { 50% { opacity: .25; } }
.st-swap { position: relative; display: inline-grid; justify-items: end; }
.st-swap > .st { grid-area: 1 / 1; transition: opacity .4s; }
.st-swap > .st.ok { opacity: 0; }
.st-swap.done > .st.sync { opacity: 0; }
.st-swap.done > .st.ok { opacity: 1; }

.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--soft-2); color: var(--text-2); white-space: nowrap; }
.chip-blue { background: var(--tint-blue); color: var(--tag-o); }
.chip-violet { background: var(--tint-violet); color: var(--tag-d); }
.chip-green { background: var(--tint-green); color: var(--st-ok); }
.chip-red { background: var(--tint-red); color: var(--st-warn); }
.tag { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; text-align: center; white-space: nowrap; }
.tag-o { background: var(--tag-o-bg); color: var(--tag-o); }
.tag-d { background: var(--tag-d-bg); color: var(--tag-d); }
.pill { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: var(--tint-blue); color: var(--tag-o); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill.red { background: var(--tint-red); color: var(--st-warn); }
.pill.amber { background: var(--tint-amber); color: var(--st-sync); }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: #fff; flex: none; }
.av0 { background: linear-gradient(135deg, #5ea2ff, #3b5bff); }
.av1 { background: linear-gradient(135deg, #b48cff, #7b4dff); }
.av2 { background: linear-gradient(135deg, #34d399, #0ea5a4); }
.av3 { background: linear-gradient(135deg, #fbbf24, #f97316); }
.av4 { background: linear-gradient(135deg, #f472b6, #db2777); }

/* ---------- Attention list (tile-dark .accts) ---------- */
.attn { list-style: none; margin: 0; padding: 0; }
.attn li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.attn li:first-child { border-top: 0; padding-top: 0; }
.attn b { font-weight: 600; font-size: 14.5px; letter-spacing: -.015em; }
.attn small { grid-column: 1; color: var(--text-2); font-size: 13px; }
.attn .st { margin-bottom: 3px; }
.attn .act { grid-row: 1 / span 3; grid-column: 2; }

/* ---------- Live feed (dashboard preview .feed .row) ---------- */
.feed { list-style: none; margin: 0; padding: 0; }
.row {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) minmax(0, 230px) 72px 86px; gap: 14px; align-items: center;
  padding: 11px 20px; max-height: 64px; overflow: hidden; cursor: pointer;
  border-bottom: 1px solid var(--line-2); transition: background .2s;
}
.row:hover { background: var(--soft); }
.row:last-child { border-bottom: 0; }
.row-main { display: flex; flex-direction: column; min-width: 0; }
.row-main b { color: var(--text); font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-main b .dot-u { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-right: 7px; vertical-align: 1px; }
.row-main span, .row-to { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-3); font-size: 13px; }
.row-to { font-size: 12px; }
.row-time { font-size: 12px; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row.enter { animation: rowIn .75s var(--ease), rowGlow 2.6s ease-out; }
@keyframes rowIn { from { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; } to { max-height: 64px; opacity: 1; } }
@keyframes rowGlow { 0%, 25% { background: rgba(91, 140, 255, .14); } 100% { background: transparent; } }
.feed-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.feed-bar .spacer { flex: 1; }

/* ---------- Filters / tabs ---------- */
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: var(--soft-2); }
.seg button { border: 0; background: none; height: 30px; padding: 0 13px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: background .2s, color .2s; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--card-solid); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
[data-theme="dark"] .seg button.on { background: #26262c; }
.seg .count { font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.fpill { height: 30px; padding: 0 13px; border-radius: 99px; border: 1px solid var(--line); background: none; color: var(--text-2); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: all .2s; }
.fpill:hover { color: var(--text); border-color: var(--text-3); }
.fpill.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: 10px 0 12px; font-size: 15px; font-weight: 500; color: var(--text-2); position: relative; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--text); }
.tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--text); }
.tabs .count { font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.tabs .count.warn { color: var(--st-warn); }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.input, .select, .textarea {
  height: 40px; width: 100%; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--soft); color: var(--text); font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
[data-theme="light"] .input, [data-theme="light"] .select, [data-theme="light"] .textarea { background: var(--paper); border-color: var(--line); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-l); box-shadow: 0 0 0 3px rgba(111, 155, 255, .25); }
.select { appearance: none; width: auto; min-width: 170px; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; letter-spacing: 0; }
.label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.hint { font-size: 12.5px; color: var(--text-3); margin-top: 7px; line-height: 1.45; }
.form-row { margin-bottom: 16px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.t th { text-align: left; font-weight: 600; font-size: 12px; color: var(--text-3); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; letter-spacing: -.005em; }
.t td { padding: 13px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr { transition: background .2s; }
.t tbody tr:hover { background: var(--soft); }
.t tr.click { cursor: pointer; }
.t tr.sel { background: var(--on); }
.t th:first-child, .t td:first-child { padding-left: 24px; }
.t th:last-child, .t td:last-child { padding-right: 24px; }
.t .r { text-align: right; }
.t td.strong { font-weight: 500; color: var(--text); }
.t td .sub { display: block; font-size: 12px; color: var(--text-3); margin-top: 1px; white-space: nowrap; }
.t .chk { width: 40px; }
.cb { appearance: none; width: 18px; height: 18px; margin: 0; border-radius: 6px; border: 1.5px solid var(--text-3); display: grid; place-items: center; cursor: pointer; background: none; transition: all .2s; }
.cb:checked { background: var(--blue); border-color: var(--blue); }
.cb:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.table-foot { display: flex; align-items: center; gap: 10px; padding: 14px 24px; font-size: 12.5px; color: var(--text-3); border-top: 1px solid var(--line-2); }
.table-foot .spacer { flex: 1; }
.bulk {
  position: fixed; left: calc(50% + var(--side-w) / 2); bottom: 28px; z-index: 40;
  display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 20px; font-size: 14px;
  border-radius: 99px; background: var(--card-solid); box-shadow: var(--pop);
  transform: translate(-50%, 200%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .3s, visibility .5s;
}
.bulk.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.bulk b { margin-right: 6px; }

/* ---------- Marketing-site cards reused in the app ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 14px; }
.trio div { background: var(--soft); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.trio b { font-size: 21px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.trio span { font-size: 12px; color: var(--text-3); }
.mini-list, .recs { list-style: none; margin: 0; padding: 0; }
.mini-list li, .recs li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.mini-list .mono { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.recs li > span:first-child { font-weight: 500; }
.rec { padding: 14px 0; border-top: 1px solid var(--line); }
.rec:first-child { border-top: 0; padding-top: 0; }
.rec-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 500; font-size: 14px; }
.rec-top .st, .rec-top .st-swap { margin-left: auto; }
.rec-grid { display: grid; grid-template-columns: 64px 1fr; gap: 7px 12px; align-items: center; font-size: 12.5px; }
.rec-grid .k { color: var(--text-3); }
.rec.bad { margin: 0 -14px; padding: 14px; border-radius: 14px; background: var(--tint-red); border: 0; }
.rec-optional { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.rec-optional summary { cursor: pointer; color: var(--text-2); font-size: 13px; }
.rec-optional[open] summary { margin-bottom: 6px; }
.copyable { display: flex; align-items: center; gap: 6px; min-width: 0; }
.copyable code { flex: 1; min-width: 0; font-family: var(--mono); font-size: 12px; padding: 6px 9px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn { border: 0; background: none; color: var(--text-3); padding: 5px; border-radius: 7px; display: grid; place-items: center; flex: none; }
.copy-btn:hover { color: var(--link); background: var(--tint-blue); }
.test-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.test-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--st-ok); opacity: 0; transition: opacity .5s; }
.test-ok.show { opacity: 1; }
.test-ok.warn { color: var(--st-sync); }
.test-ok svg { width: 16px; height: 16px; }

.creds { display: flex; flex-direction: column; gap: 10px; }
.cred { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto auto auto; align-items: center; gap: 16px; padding: 15px 18px; border-radius: 16px; background: var(--soft); }
.cred-act { display: flex; gap: 6px; }
.who { display: flex; align-items: center; gap: 12px; }
.warn-num { color: var(--st-sync); }
.cred > div { display: flex; flex-direction: column; min-width: 0; }
.cred b { font-size: 15px; letter-spacing: -.015em; }
.cred div span { font-size: 12.5px; color: var(--text-3); }
.cred .mask { font-size: 12px; color: var(--text-2); background: var(--card-solid); padding: 5px 9px; border-radius: 8px; border: 1px solid var(--line); }
.cred .meta { text-align: right; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.d1 { background: linear-gradient(135deg, #5ea2ff, #2f6bff); }
.dot.d2 { background: linear-gradient(135deg, #b48cff, #7b4dff); }
.dot.d3 { background: linear-gradient(135deg, #34d399, #0ea5a4); }
.js .creds.anim .cred { opacity: 0; transform: translateX(16px); animation: credIn .7s var(--ease) forwards; }
.js .creds.anim .cred:nth-child(2) { animation-delay: .12s; }
.js .creds.anim .cred:nth-child(3) { animation-delay: .24s; }
.js .creds.anim .cred:nth-child(4) { animation-delay: .36s; }
@keyframes credIn { to { opacity: 1; transform: none; } }

.scope { display: inline-block; font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 99px; color: #fff; }
.scope.s1 { background: linear-gradient(135deg, #5ea2ff, #2f6bff); }
.scope.s2 { background: linear-gradient(135deg, #b48cff, #7b4dff); }
.scope.s3 { background: linear-gradient(135deg, #34d399, #0ea5a4); }

/* OTP tile: the dashboard never shows a code, only that one was handled */
.otp-code { display: flex; gap: 6px; }
.otp-code span { flex: 1; height: 46px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 22px; font-weight: 600; color: var(--text-3); }
.otp-code.flip span { animation: flip .5s var(--ease) both; }
.otp-code.flip span:nth-child(2) { animation-delay: .04s; }
.otp-code.flip span:nth-child(3) { animation-delay: .08s; }
.otp-code.flip span:nth-child(4) { animation-delay: .12s; }
.otp-code.flip span:nth-child(5) { animation-delay: .16s; }
.otp-code.flip span:nth-child(6) { animation-delay: .2s; }
@keyframes flip { from { transform: rotateX(90deg); opacity: 0; } to { transform: none; opacity: 1; } }
.otp-st { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--st-sync); }
.otp-st i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.otp-st.done { color: var(--st-ok); }

.alerts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.alerts li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; padding: 10px 12px; background: var(--soft); border-radius: 13px; }

/* Bars (marketing-site Dashboard tile) */
.chart-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.chart-meta b { font-size: 30px; letter-spacing: -.035em; font-variant-numeric: tabular-nums; font-weight: 700; }
.chart-meta span { color: var(--text-3); font-size: 13px; }
.bars { height: 170px; display: flex; align-items: flex-end; gap: 3px; }
.bars i { flex: 1; min-width: 2px; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #ffb340, #ff7a1a); transform-origin: bottom; }
.bars.blue i { background: linear-gradient(180deg, #b48cff, #5ea2ff); }
.bars i:hover { filter: brightness(1.15); }
.js .bars i { transform: scaleY(0); }
.js .bars.in i { animation: grow 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes grow { to { transform: scaleY(1); } }
.axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11.5px; color: var(--text-3); }
.split-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; gap: 3px; margin: 14px 0 12px; }
.split-bar i { height: 100%; width: var(--w); border-radius: 99px; }
.split-bar i:nth-child(1) { background: linear-gradient(90deg, #5ea2ff, #2f6bff); }
.split-bar i:nth-child(2) { background: linear-gradient(90deg, #b48cff, #7b4dff); }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--text-2); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }

/* Search demo (Archive) */
.search-demo { background: var(--soft); border-radius: 22px; padding: 16px; }
[data-theme="light"] .search-demo { background: #ececf0; }
.sbar { display: flex; align-items: center; gap: 10px; background: var(--card-solid); border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; height: 52px; font-size: 16px; font-weight: 500; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .3); }
.sbar .ico { color: var(--text-3); }
.sbar input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 16px; font-weight: 500; color: var(--text); }
.sbar input::placeholder { color: var(--text-3); }
.sbar:focus-within { border-color: var(--blue-l); }
.caret { width: 2px; height: 18px; background: var(--blue); border-radius: 2px; animation: caret 1s steps(1) infinite; margin-left: -6px; }
@keyframes caret { 50% { opacity: 0; } }
.results { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.results li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--card-solid); border-radius: 13px; padding: 11px 14px; font-size: 13.5px; cursor: pointer; transition: opacity .5s var(--ease), transform .5s var(--ease), background .2s; animation: resIn .5s var(--ease) both; }
.results li:hover { background: var(--soft-2); }
.results li div { display: flex; flex-direction: column; min-width: 0; }
.results li div b { font-weight: 600; }
.results li div span { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results em { font-style: normal; font-size: 12px; color: var(--text-3); white-space: nowrap; text-align: right; }
.results li:nth-child(2) { animation-delay: .05s; }
.results li:nth-child(3) { animation-delay: .1s; }
.results li:nth-child(4) { animation-delay: .15s; }
@keyframes resIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.folders { display: flex; gap: 10px; flex-wrap: wrap; }
.folder { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; min-width: 132px; border-radius: 18px; background: var(--soft); border: 1px solid transparent; text-align: left; transition: transform .5s var(--ease), border-color .3s; }
.folder:hover { transform: translateY(-3px); border-color: var(--card-hover); }
.folder.on { border-color: var(--blue-l); }
.folder b { font-size: 14px; font-family: var(--mono); letter-spacing: 0; font-weight: 600; }
.folder small { font-size: 12px; color: var(--text-3); }

/* Add-on (violet tile) */
.tile-violet { background: linear-gradient(160deg, #6d4dff 0%, #9b6bff 55%, #c86bff 100%); color: #fff; border: 0; }
.tile-violet p, .tile-violet small { color: rgba(255, 255, 255, .82); }
.tile-violet .tile-k { color: rgba(255, 255, 255, .75); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--soft); }
.toggle-row b { display: block; font-size: 14px; font-weight: 600; }
.toggle-row small { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 1px; }
.toggle-row.violet { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); }
.toggle-row.violet small { color: rgba(255, 255, 255, .8); }
.switch { width: 46px; height: 28px; border-radius: 99px; background: rgba(120, 120, 128, .32); position: relative; flex: none; border: 0; padding: 0; transition: background .4s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .45s var(--ease); }
.switch.on { background: var(--green); }
.switch.on i { transform: translateX(18px); }
.switch.locked { opacity: .6; cursor: not-allowed; }
.toggles { list-style: none; margin: 0; padding: 0; }
.toggles li { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); }
.toggles li:first-child { border-top: 0; padding-top: 0; }
.toggles li > div { flex: 1; }
.toggles b { display: block; font-weight: 600; font-size: 14.5px; }
.toggles small { display: block; color: var(--text-3); font-size: 13px; }

/* Pricing (plan-main with gradient border) */
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.plan-main {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: stretch;
  padding: 40px; border: 2px solid transparent;
  background: linear-gradient(#0d0d11, #0d0d11) padding-box, var(--grad) border-box;
  box-shadow: 0 30px 80px -40px rgba(47, 107, 255, .5);
}
[data-theme="light"] .plan-main { background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.plan-left { display: flex; flex-direction: column; }
.plan-name { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 6px; }
.plan-price b { font-size: clamp(48px, 5vw, 64px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.plan-price span { color: var(--text-3); font-size: 17px; }
.plan-price.small b { font-size: 40px; }
.plan-sub { color: var(--text-2); font-size: 15.5px; line-height: 1.45; }
.plan-keys { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.plan-keys li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.plan-keys svg { width: 18px; height: 18px; color: var(--link); flex: none; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.plan-right { border-left: 1px solid var(--line); padding-left: 48px; display: flex; flex-direction: column; }
.inc-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.lines li:first-child { border-top: 0; padding-top: 0; }
.lines li span:last-child { margin-left: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lines li.total { font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.plan-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.plan-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--st-wait); background: var(--tint-violet); padding: 4px 10px; border-radius: 99px; margin-bottom: 14px; }
.plan-tag.neutral { color: var(--text-2); background: var(--soft-2); }
.plan-desc { color: var(--text-2); font-size: 14.5px; line-height: 1.5; margin-top: 8px; }
.plan-fine { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--text-3); }
.ba { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ba-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--soft); font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
.ba-k { font-size: 12px; font-weight: 700; padding-top: 1px; color: var(--text-3); }
.ba-row.on { background: var(--tint-violet); color: var(--text); }
.ba-row.on .ba-k { color: var(--st-wait); }
.lifecycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.life { padding: 16px 16px 14px; border-radius: 18px; background: var(--soft); font-size: 13px; color: var(--text-2); border: 1px solid transparent; }
.life b { display: block; font-size: 15px; color: var(--text); margin-bottom: 4px; letter-spacing: -.015em; }
.life .pill { display: inline-block; margin-bottom: 10px; }
.life.now { border-color: var(--blue-l); background: var(--tint-blue); }

/* FAQ (marketing site) */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 2px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; width: 12px; height: 12px; flex: none; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; color: var(--text-3); transition: transform .35s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 2px 20px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; max-width: 720px; }
.faq-list details[open] p { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Security page orb (marketing site) */
.orb { width: 120px; height: 120px; position: relative; flex: none; }
.orb .ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 15%, #5ea2ff 35%, #b48cff 55%, transparent 75%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); animation: spin 7s linear infinite; }
.orb .r2 { inset: 15px; animation-duration: 10s; animation-direction: reverse; opacity: .7; }
.orb .core { position: absolute; inset: 30px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #262b42, #0a0b11 72%); display: grid; place-items: center; box-shadow: 0 0 60px rgba(91, 140, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.orb .core svg { width: 28px; height: 28px; fill: none; stroke: url(#g-stroke); stroke-width: 1.6; stroke-linecap: round; }
@keyframes spin { to { transform: rotate(360deg); } }
.sec-hero { display: flex; align-items: center; gap: 28px; }

/* Setup steps (How it works) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step-n { font-size: 15px; font-weight: 600; color: var(--link); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 24px; line-height: 1.1; letter-spacing: -.035em; font-weight: 700; }
.step p { color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.step .btn { align-self: flex-start; margin-top: auto; }
.step.done { opacity: .55; }
.bring { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bring li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--soft); }
.bring b { display: block; font-size: 14.5px; font-weight: 600; }
.bring span:not(.b-ico) { display: block; font-size: 12.5px; color: var(--text-3); }
.b-ico { width: 36px; height: 36px; border-radius: 11px; background: var(--card-solid); display: grid; place-items: center; color: var(--text-2); }
.dock-logo { width: 84px; height: 84px; border-radius: 24px; position: relative; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 0 50px rgba(91, 140, 255, .55), 0 0 120px rgba(155, 107, 255, .3); }
.dock-logo svg { width: 84px; height: 84px; }
.dock-logo::before, .dock-logo::after { content: ""; position: absolute; inset: -12px; border-radius: 32px; border: 1px solid rgba(124, 140, 255, .4); animation: pulse 2.8s ease-out infinite; }
.dock-logo::after { animation-delay: 1.4s; }
@keyframes pulse { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }

/* Compact lists (setup checklist, security overview) */
.setup, .sec-list { list-style: none; margin: 0; padding: 0; }
.setup li, .sec-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.setup li:first-child, .sec-list li:first-child { border-top: 0; padding-top: 0; }
.setup li:last-child, .sec-list li:last-child { padding-bottom: 0; }
.setup b { font-weight: 600; font-size: 15px; }
.setup .step-n { margin-right: 6px; }
.sec-list b { display: block; font-weight: 600; font-size: 15px; }
.sec-list small { display: block; color: var(--text-3); font-size: 13px; }
.quota-row { display: flex; align-items: baseline; gap: 12px; }
.quota-row b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.quota-row .spacer { flex: 1; }
.quota-row b small { font-size: 14px; font-weight: 500; }
.panel.quota { padding: 18px 22px 16px; }

/* Callouts */
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; font-size: 13.5px; line-height: 1.5; background: var(--soft); color: var(--text-2); }
.note > .ico { margin-top: 1px; }
.note b { color: var(--text); font-weight: 600; }
.note.blue { background: var(--tint-blue); }
.note.blue > .ico { color: var(--link); }
.note.red { background: var(--tint-red); }
.note.red > .ico { color: var(--st-warn); }
.note.amber { background: var(--tint-amber); }
.note.amber > .ico { color: var(--st-sync); }
.note.green { background: var(--tint-green); }
.note.green > .ico { color: var(--st-ok); }
.note .btn { margin-top: 10px; }

/* Empty state */
.empty { display: grid; place-items: center; text-align: center; gap: 10px; padding: 56px 20px; }
.empty h3 { font-size: 24px; letter-spacing: -.03em; font-weight: 700; }
.empty p { color: var(--text-2); max-width: 440px; }
.empty .btn { margin-top: 8px; }

/* ---------- Drawer / modal / popovers ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: var(--scrim); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(600px, 100vw); display: flex; flex-direction: column; background: var(--card-solid); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .55s var(--ease); }
.drawer.wide { width: min(780px, 100vw); }
.drawer.show { transform: none; }
.drawer-head { display: flex; align-items: flex-start; gap: 14px; padding: 24px 26px 18px; border-bottom: 1px solid var(--line); }
.drawer-head > div { flex: 1; min-width: 0; }
.drawer-head h2 { font-size: 22px; letter-spacing: -.03em; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.drawer-head p { margin-top: 6px; color: var(--text-3); font-size: 13px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px 26px 40px; }
.drawer-foot { display: flex; gap: 10px; align-items: center; padding: 16px 26px; border-top: 1px solid var(--line); }
.drawer-foot .spacer { flex: 1; }
.sect { margin: 26px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.sect:first-child { margin-top: 0; }
.kv { display: grid; grid-template-columns: 170px minmax(0, 1fr); border-radius: 16px; background: var(--soft); overflow: hidden; font-size: 13.5px; }
.kv > div { padding: 11px 16px; border-top: 1px solid var(--line-2); }
.kv > div:nth-child(-n+2) { border-top: 0; }
.kv .k { color: var(--text-3); }
.kv .v { overflow-wrap: anywhere; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 22px; font-size: 13.5px; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.timeline li::after { content: ""; position: absolute; left: 6.5px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.ok::before { background: var(--st-ok); }
.timeline li.warn::before { background: var(--st-warn); }
.timeline li.sync::before { background: var(--st-sync); }
.timeline time { display: block; font-size: 12px; color: var(--text-3); }
.mail-meta { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 13px; margin-top: 12px; }
.mail-meta dt { color: var(--text-3); }
.mail-meta dd { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-frame { width: 100%; height: 420px; border: 0; border-radius: 16px; background: #fff; display: block; }
.atts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.att { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--soft); border: 0; text-align: left; font-size: 12px; color: var(--text-3); }
.att b { display: block; font-size: 13.5px; color: var(--text); }

.modal { position: fixed; left: 50%; top: 50%; z-index: 62; width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--card-solid); border-radius: 28px; box-shadow: var(--pop); transform: translate(-50%, -46%) scale(.97); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .3s; }
.modal.wide { width: min(780px, calc(100vw - 32px)); }
.modal.show { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
.modal-head { display: flex; gap: 14px; align-items: flex-start; padding: 28px 30px 4px; }
.modal-head > div { flex: 1; }
.modal-head h2 { font-size: 26px; letter-spacing: -.035em; font-weight: 700; line-height: 1.15; }
.modal-head p { margin-top: 6px; color: var(--text-2); font-size: 14.5px; }
.modal-body { padding: 18px 30px; overflow-y: auto; }
.modal-foot { display: flex; gap: 10px; align-items: center; justify-content: flex-end; padding: 14px 30px 26px; }
.modal-foot .left { margin-right: auto; font-size: 12.5px; color: var(--text-3); }
.stepper { display: flex; gap: 6px; padding: 14px 30px 0; }
.stepper span { flex: 1; height: 4px; border-radius: 99px; background: var(--soft-2); overflow: hidden; position: relative; }
.stepper span.on::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #5ea2ff, #7b6cff); animation: fillStep .6s var(--ease) both; }
@keyframes fillStep { from { transform: scaleX(0); transform-origin: left; } to { transform: none; transform-origin: left; } }
.dropzone { display: grid; place-items: center; gap: 10px; text-align: center; padding: 36px 20px; border: 1.5px dashed var(--line); border-radius: 22px; color: var(--text-3); font-size: 13.5px; transition: border-color .3s, background .3s; cursor: pointer; }
.dropzone:hover { border-color: var(--blue-l); background: var(--tint-blue); }
.dropzone b { color: var(--text); font-size: 16px; }
.code { margin: 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; letter-spacing: 0; padding: 16px 18px; border-radius: 16px; background: var(--soft); overflow-x: auto; white-space: pre; color: var(--text); }
.choices { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: 12px minmax(0, 1fr) 20px; gap: 14px; align-items: center; width: 100%; padding: 15px 18px; border-radius: 16px; border: 1.5px solid transparent; background: var(--soft); text-align: left; transition: border-color .25s, background .25s; }
.choice:hover { border-color: var(--line); }
.choice.on { border-color: var(--blue); background: var(--tint-blue); }
.choice b { display: block; font-size: 15px; }
.choice small { display: block; font-size: 12.5px; color: var(--text-3); }
.choice .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--text-3); display: grid; place-items: center; }
.choice.on .radio { border-color: var(--blue); }
.choice.on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.ack { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--tint-violet); font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.ack .cb { margin-top: 1px; flex: none; }
.otp-input { display: flex; gap: 8px; justify-content: center; }
.otp-input input { width: 50px; height: 60px; text-align: center; font-size: 26px; font-weight: 600; border-radius: 13px; border: 1px solid var(--line); background: var(--soft); letter-spacing: 0; }
.otp-input input:focus { outline: none; border-color: var(--blue-l); box-shadow: 0 0 0 3px rgba(111, 155, 255, .25); }
.otp-input input.err { border-color: var(--st-warn); }
.secret { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--soft); font-family: var(--mono); font-size: 15px; letter-spacing: 0; }
.secret span { flex: 1; overflow-wrap: anywhere; }

.pop { position: fixed; z-index: 55; top: calc(var(--top-h) + 4px); right: 20px; width: min(400px, calc(100vw - 24px)); background: var(--card-solid); border-radius: 20px; box-shadow: var(--pop); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .3s var(--ease); }
.pop.show { opacity: 1; transform: none; pointer-events: auto; }
.pop-head { display: flex; align-items: center; padding: 16px 18px 10px; }
.pop-head b { font-weight: 700; font-size: 15px; }
.pop-head .btn-link { margin-left: auto; font-size: 13px; }
.pop .attn { padding: 0 18px 14px; }
.pop .attn li { padding: 11px 0; }
.pop .attn li:first-child { padding-top: 0; }
.menu { padding: 8px; }
.menu-who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-who b { display: block; font-weight: 600; }
.menu-who small { color: var(--text-3); font-size: 12.5px; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; font-size: 14px; text-align: left; }
.menu button:hover { background: var(--soft); }

.palette { position: fixed; left: 50%; top: 14vh; z-index: 70; width: min(640px, calc(100vw - 32px)); background: var(--card-solid); border-radius: 22px; box-shadow: var(--pop); overflow: hidden; transform: translateX(-50%) scale(.98); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .2s; }
.palette.show { transform: translateX(-50%); opacity: 1; pointer-events: auto; }
.pal-field { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.pal-field .ico { color: var(--text-3); }
.pal-field input { flex: 1; height: 58px; border: 0; outline: none; background: none; font-size: 17px; }
.pal-res { max-height: 52vh; overflow-y: auto; padding: 8px; }
.pal-group { padding: 10px 12px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.pal-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 11px; background: none; text-align: left; font-size: 14px; }
.pal-item:hover, .pal-item.on { background: var(--tint-blue); }
.pal-item small { margin-left: auto; color: var(--text-3); font-size: 12.5px; }
.pal-empty { padding: 28px; text-align: center; color: var(--text-3); font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 99px; background: var(--card-solid); box-shadow: var(--pop); font-size: 14px; transform: translate(-50%, 200%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast svg { width: 16px; height: 16px; color: var(--st-ok); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sign-in (marketing site final CTA) ---------- */
.auth { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 24px; overflow: hidden; background: #000; color: var(--text-d); color-scheme: dark; }
.auth-glow { position: absolute; left: 50%; bottom: -320px; width: 1300px; height: 760px; transform: translateX(-50%); background: radial-gradient(45% 45% at 50% 50%, rgba(91, 140, 255, .38), transparent 70%), radial-gradient(30% 30% at 35% 45%, rgba(200, 107, 255, .25), transparent 70%); filter: blur(10px); pointer-events: none; }
.auth-grid { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(60% 50% at 50% 30%, #000 20%, transparent 75%); }
.auth-card { position: relative; width: min(420px, 100%); text-align: center; }
.auth-logo { width: 68px; height: 68px; margin: 0 auto 30px; filter: drop-shadow(0 0 40px rgba(91, 140, 255, .6)); }
.auth h1 { font-size: clamp(40px, 6vw, 56px); line-height: 1.04; letter-spacing: -.045em; font-weight: 700; }
.auth .lead { margin: 14px auto 32px; color: var(--text-d2); }
.auth-form { display: grid; gap: 12px; text-align: left; }
.auth-form .input { height: 52px; font-size: 17px; border-radius: 14px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #f5f5f7; }
.auth-form .btn { margin-top: 6px; }
.auth-form .otp-input input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #f5f5f7; }
.auth-links { display: flex; justify-content: center; gap: 22px; margin-top: 22px; font-size: 14px; }
.auth-links .btn-link { color: var(--blue-l); }
.auth-foot { margin-top: 44px; font-size: 12.5px; color: #6e6e73; display: flex; gap: 8px; justify-content: center; align-items: center; }
.auth-note { margin-top: 14px; font-size: 13px; color: #8e8e93; }
.auth .stepper { padding: 0; width: 160px; margin: 0 auto 26px; }
.auth .stepper span { background: rgba(255, 255, 255, .1); }
.qr { width: 168px; height: 168px; border-radius: 16px; margin: 0 auto 8px; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 18px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); font-size: 15px; }

/* =========================================================================
   RESPONSIVE (marketing-site breakpoints)
   ========================================================================= */
@media (max-width: 1068px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-main { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: 30px minmax(0, 1fr) 72px 80px; }
  .row-to { display: none; }
  .plan-row, .steps, .bring { grid-template-columns: minmax(0, 1fr); }
  .lifecycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; z-index: 65; left: 0; top: 0; width: 260px; transform: translateX(-100%); transition: transform .45s var(--ease); }
  .side.show { transform: none; }
  .menu-btn { display: grid !important; }
  .top { padding: 0 14px; }
  .top-live { display: none; }
  .content { padding: 24px 16px 96px; }
  .banner { padding: 12px 16px; flex-wrap: wrap; }
  .g2, .g3 { grid-template-columns: minmax(0, 1fr); }
  .plan-main { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .plan-right { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .bulk { left: 50%; }
  .pane-search { min-width: 0; width: 100%; }
}
@media (max-width: 734px) {
  .kpis, .kpis.k3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 30px minmax(0, 1fr) 64px; padding: 10px 14px; }
  .row .tag { display: none; }
  .kv { grid-template-columns: minmax(0, 1fr); }
  .kv > div:nth-child(2) { border-top: 0; }
  .top-search { min-width: 0; }
  .top-search kbd { display: none; }
  .cred { grid-template-columns: 12px minmax(0, 1fr) auto; }
  .cred .meta { display: none; }
  .sec-hero { flex-direction: column; align-items: flex-start; }
  .page-head .actions { margin-left: 0; width: 100%; }
  .page-head .pane-search { width: 100%; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero-in { opacity: 1; transform: none; filter: none; }
  .js .bars i { transform: none; }
}

/* ---------- Team access (owner sets, per member, none / view / manage per area) ---------- */
.acc-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; max-width: 340px; }
.acc-tag { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--soft-2); color: var(--text-2); white-space: nowrap; }
.acc-tag.manage { background: var(--tint-blue); color: var(--tag-o); }
.role-seg { display: flex; flex-wrap: wrap; }
.role-seg button[disabled] { cursor: default; opacity: 1; }
.role-seg button[disabled]:not(.on) { color: var(--text-3); }
.access { list-style: none; margin: 0; padding: 0; }
.access li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.access li:first-child { border-top: 0; padding-top: 0; }
.access b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.access small { display: block; font-size: 12.5px; color: var(--text-3); }
.access .seg button { height: 28px; padding: 0 12px; font-size: 12.5px; }
.access.locked b { color: var(--text-2); font-weight: 500; }
.access.locked .ico { color: var(--text-3); }
.dim { opacity: .4; pointer-events: none; }
.drawer-head > .av { margin-top: 2px; }
#acc-editor > .sect:first-child { margin-top: 22px; }

/* ---------- Real app: loading, errors, forms ---------- */
.loading { display: grid; place-items: center; padding: 56px 20px; color: var(--text-3); font-size: 13.5px; }
.loading::before { content: ""; width: 22px; height: 22px; margin-bottom: 10px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--blue-l); animation: spin .8s linear infinite; }
.loading.sm { padding: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot { min-height: 100vh; display: grid; place-items: center; background: var(--bg); }
.boot svg { width: 48px; height: 48px; opacity: .8; }
.field-err { margin-top: 6px; font-size: 12.5px; color: var(--st-warn); }
.input.err, .textarea.err, .select.err { border-color: var(--st-warn); }
.auth-err { min-height: 20px; font-size: 13.5px; color: #ff6961; text-align: center; }
.auth-note.left { text-align: left; }
.auth .secret { background: rgba(255, 255, 255, .06); color: #f5f5f7; font-size: 13px; }
.panel-pad { padding: 0 24px 16px; }
.more { display: flex; justify-content: center; padding: 14px; border-top: 1px solid var(--line-2); }
.more[hidden] { display: none; }
.preview-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; padding: 16px 18px; border-radius: 16px; background: var(--soft); color: var(--text-2); }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dropzone.over { border-color: var(--blue-l); background: var(--tint-blue); }
.qr-box { display: grid; place-items: center; margin: 0 auto 8px; }
.qr { background: #fff; padding: 10px; }
a.att { color: var(--text-3); }
.sel-note { font-size: 12.5px; color: var(--text-3); }
#mfa-modal { z-index: 64; }
.toast.err svg { color: var(--st-warn); }
.top-live.off .live-dot { background: var(--text-3); animation: none; }
.field-err.center { text-align: center; }
.btn.busy { opacity: .6; pointer-events: none; }
.codes span { letter-spacing: .02em; }
.auth .codes { color: #f5f5f7; }

/* Registrar guides (domain sheet, add wizard): compact disclosure list */
.guides { border-top: 1px solid var(--line); }
.guides details { border-bottom: 1px solid var(--line); }
.guides summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 13.5px; font-weight: 600; }
.guides summary::-webkit-details-marker { display: none; }
.guides summary::after { content: ""; width: 10px; height: 10px; flex: none; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; color: var(--text-3); transition: transform .3s var(--ease); }
.guides details[open] summary::after { transform: rotate(45deg); }
.guides ol { margin: 0 0 12px; padding-left: 20px; color: var(--text-2); font-size: 13px; line-height: 1.55; }
.import-lines { max-height: 240px; overflow: auto; }
