/* ════════════════════════════════════════════════════════════════════
   FileSyncServer — Design System
   Dark premium SaaS. Palette & type scale fixed by the design brief.
   Signature motif: source → conduit → destination "data in motion".
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Surfaces ── */
  --bg:            #0B1220;
  --bg-grad:       radial-gradient(1200px 600px at 85% -10%, rgba(59,130,246,.10), transparent 60%),
                   radial-gradient(900px 500px at -5% 110%, rgba(6,182,212,.08), transparent 55%);
  --sidebar:       #111827;
  --card:          #182131;
  --card-2:        #1f2a3d;
  --card-soft:     #1b2536;
  --hover:         #243244;
  --inset:         #0e1626;

  /* ── Lines ── */
  --border:        rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --ring:          rgba(59,130,246,0.55);

  /* ── Text ── */
  --text:          #F8FAFC;
  --text-2:        #94A3B8;
  --text-3:        #64748B;

  /* ── Brand ── */
  --primary:       #3B82F6;
  --primary-600:   #2563EB;
  --secondary:     #06B6D4;
  --success:       #10B981;
  --warning:       #F59E0B;
  --danger:        #EF4444;
  --info:          #3B82F6;
  --grad:          linear-gradient(100deg, #3B82F6 0%, #06B6D4 100%);

  /* tinted fills for badges/soft buttons */
  --primary-soft:  rgba(59,130,246,0.14);
  --secondary-soft:rgba(6,182,212,0.14);
  --success-soft:  rgba(16,185,129,0.14);
  --warning-soft:  rgba(245,158,11,0.14);
  --danger-soft:   rgba(239,68,68,0.14);

  /* ── Radius ── */
  --r-xs: 7px;
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-full: 999px;

  /* ── Elevation ── */
  --sh-1: 0 1px 2px rgba(0,0,0,.30);
  --sh-2: 0 4px 16px rgba(0,0,0,.35);
  --sh-3: 0 18px 50px rgba(0,0,0,.50);
  --sh-glow: 0 0 0 1px rgba(59,130,246,.25), 0 8px 30px rgba(59,130,246,.18);

  /* ── Metrics ── */
  --sidebar-w: 248px;
  --sidebar-w-collapsed: 76px;
  --topbar-h: 60px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font: 'Inter', 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Consolas, monospace;
}

/* ════════════════════════ RESET ════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  background-image: var(--bg-grad);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: #60a5fa; }
button { font-family: inherit; }
code, .mono { font-family: var(--mono); font-size: 12px; }
::selection { background: rgba(59,130,246,.35); }

/* Scrollbars */
* { scrollbar-width: thin; scrollbar-color: #2a3850 transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #283750; border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: #38496a; background-clip: padding-box; }

/* Focus — accessible, keyboard only */
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

/* ════════════════════════ TYPE SCALE ════════════════════════ */
h1, .h1 { font-size: 32px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
h2, .h2 { font-size: 24px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
h3, .h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.label { font-size: 12px; font-weight: 500; color: var(--text-2); letter-spacing: .02em; }
.eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }

/* ════════════════════════ APP SHELL ════════════════════════ */
.shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; transition: grid-template-columns .26s var(--ease); }
.shell.collapsed { grid-template-columns: var(--sidebar-w-collapsed) 1fr; }

/* ── Sidebar ── */
.sidebar {
  position: sticky; top: 0; height: 100vh;
  background: linear-gradient(180deg, rgba(17,24,39,.96), rgba(13,19,32,.96));
  backdrop-filter: blur(8px);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  z-index: 40;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 18px 18px 16px; height: var(--topbar-h); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
  background: var(--grad); box-shadow: 0 6px 18px rgba(59,130,246,.35);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; overflow: hidden; }
.brand-text b { font-size: 15px; letter-spacing: -.02em; white-space: nowrap; }
.brand-text span { font-size: 10.5px; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.collapsed .brand-text { display: none; }

.nav { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.nav-section { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); padding: 14px 12px 6px; }
.collapsed .nav-section { opacity: 0; height: 8px; padding: 0; overflow: hidden; }
.nav-item {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--text-2); cursor: pointer; font-size: 14px; font-weight: 500;
  transition: background .15s, color .15s; white-space: nowrap;
}
.nav-item:hover { background: var(--hover); color: var(--text); }
.nav-item.active { background: var(--primary-soft); color: #bfdbfe; }
.nav-item.active::before {
  content: ""; position: absolute; left: -10px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 20px; border-radius: 0 3px 3px 0; background: var(--grad);
}
.nav-item .ic { width: 20px; height: 20px; flex-shrink: 0; display: grid; place-items: center; }
.nav-item .ic svg { width: 18px; height: 18px; }
.collapsed .nav-item { justify-content: center; padding: 11px; }
.collapsed .nav-item span.txt { display: none; }
.collapsed .nav-item .badge-count { display: none; }
.badge-count { margin-left: auto; font-size: 11px; font-weight: 600; background: var(--hover); color: var(--text-2); padding: 1px 7px; border-radius: var(--r-full); }
.nav-item.active .badge-count { background: rgba(59,130,246,.25); color: #bfdbfe; }

/* collapsed tooltips */
.collapsed .nav-item::after {
  content: attr(data-tip); position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%) scale(.96);
  background: #0d1626; border: 1px solid var(--border-strong); color: var(--text);
  padding: 5px 10px; border-radius: 8px; font-size: 12px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .12s, transform .12s; box-shadow: var(--sh-2); z-index: 50;
}
.collapsed .nav-item:hover::after { opacity: 1; transform: translateY(-50%) scale(1); }

.sidebar-foot { padding: 10px; border-top: 1px solid var(--border); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); cursor: pointer; transition: background .15s; }
.user-chip:hover { background: var(--hover); }
.avatar { width: 32px; height: 32px; border-radius: var(--r-full); flex-shrink: 0; display: grid; place-items: center; font-weight: 600; font-size: 13px; color: #fff; background: linear-gradient(135deg,#3b82f6,#06b6d4); }
.user-chip-info { overflow: hidden; line-height: 1.25; }
.user-chip-info b { font-size: 13px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip-info span { font-size: 11px; color: var(--text-3); }
.collapsed .user-chip-info, .collapsed .user-chip .chev { display: none; }
.collapsed .user-chip { justify-content: center; }

/* ── Main column ── */
.main { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--topbar-h);
  display: flex; align-items: center; gap: 14px; padding: 0 24px;
  background: rgba(11,18,32,.72); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.topbar-toggle { background: transparent; border: 1px solid var(--border); color: var(--text-2); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; cursor: pointer; transition: .15s; flex-shrink: 0; }
.topbar-toggle:hover { background: var(--hover); color: var(--text); border-color: var(--border-strong); }
.crumbs { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); min-width: 0; }
.crumbs .sep { color: var(--text-3); }
.crumbs b { color: var(--text); font-weight: 600; }
.topbar-spacer { flex: 1; }

.searchbox { position: relative; width: min(340px, 38vw); }
.searchbox input { width: 100%; height: 36px; padding: 0 12px 0 36px; background: var(--inset); border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text); font-size: 13px; transition: .15s; }
.searchbox input:focus { border-color: var(--ring); background: #0b1424; }
.searchbox .si { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.searchbox kbd { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); }
kbd { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); background: var(--hover); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px; padding: 1px 5px; }

.icon-btn { position: relative; background: transparent; border: 1px solid var(--border); color: var(--text-2); width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; cursor: pointer; transition: .15s; }
.icon-btn:hover { background: var(--hover); color: var(--text); border-color: var(--border-strong); }
.icon-btn .dot { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); border: 2px solid var(--bg); }

.page { padding: 28px 32px 56px; max-width: 1480px; width: 100%; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head .ph-l { min-width: 0; }
.page-head h1 { margin-bottom: 4px; }
.page-head p { color: var(--text-2); font-size: 14px; }
.page-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ════════════════════════ BUTTONS ════════════════════════ */
.btn {
  --bg-btn: var(--hover);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .08s var(--ease), background .15s, border-color .15s, box-shadow .15s, opacity .15s;
  color: var(--text); background: var(--bg-btn);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(59,130,246,.28); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 8px 26px rgba(59,130,246,.42); }
.btn-secondary { background: var(--card-2); border-color: var(--border); }
.btn-secondary:hover:not(:disabled) { background: var(--hover); border-color: var(--border-strong); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text-2); }
.btn-ghost:hover:not(:disabled) { background: var(--hover); color: var(--text); border-color: var(--border-strong); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled) { background: #dc2626; }
.btn-danger-soft { background: var(--danger-soft); color: #fca5a5; }
.btn-danger-soft:hover:not(:disabled) { background: rgba(239,68,68,.22); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: var(--r-xs); }
.btn-icon { width: 38px; padding: 0; }
.btn-icon.btn-sm { width: 32px; }
.btn-full { width: 100%; }

/* ════════════════════════ CARDS ════════════════════════ */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--sh-1); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-head h3 { font-size: 15px; font-weight: 600; }
.card-head .sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.card-body { padding: 20px; }
.card-pad { padding: 18px 20px; }

/* ════════════════════════ STAT CARDS ════════════════════════ */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 18px; box-shadow: var(--sh-1); transition: border-color .2s, transform .2s;
}
.stat:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.stat::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: .0; transition: opacity .2s; }
.stat:hover::after { opacity: .9; }
.stat-top { display: flex; align-items: center; justify-content: space-between; }
.stat-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.stat-ic svg { width: 19px; height: 19px; }
.stat-ic.c-primary { background: var(--primary-soft); color: #93c5fd; }
.stat-ic.c-secondary { background: var(--secondary-soft); color: #67e8f9; }
.stat-ic.c-success { background: var(--success-soft); color: #6ee7b7; }
.stat-ic.c-warning { background: var(--warning-soft); color: #fcd34d; }
.stat-trend { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.stat-trend.up { color: var(--success); }
.stat-trend.flat { color: var(--text-3); }
.stat-value { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-top: 14px; }
.stat-label { font-size: 13px; color: var(--text-2); margin-top: 3px; }

/* ════════════════════════ FORMS ════════════════════════ */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.field .hint { font-size: 12px; color: var(--text-3); }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }
.grow-3 { flex: 3; } .grow-1 { flex: 1; }
.input, .select, .textarea {
  width: 100%; height: 40px; padding: 0 13px;
  background: var(--inset); border: 1px solid var(--border); border-radius: var(--r-sm);
  color: var(--text); font-size: 14px; font-family: inherit; transition: border-color .15s, background .15s, box-shadow .15s; outline: none;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--ring); background: #0b1424; box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.input::placeholder { color: var(--text-3); }
.textarea { height: auto; min-height: 90px; padding: 11px 13px; resize: vertical; font-family: var(--mono); font-size: 12.5px; line-height: 1.55; }
.select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }
.check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: var(--text-2); font-size: 13.5px; }
.check input { width: 17px; height: 17px; accent-color: var(--primary); cursor: pointer; }

/* segmented / radio cards */
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 15px; border: 1px solid var(--border); border-radius: var(--r-sm); cursor: pointer; transition: .15s; background: var(--inset); }
.radio-card:hover { border-color: var(--border-strong); background: var(--card-2); }
.radio-card input { margin-top: 2px; accent-color: var(--primary); width: 16px; height: 16px; }
.radio-card.sel { border-color: var(--ring); background: var(--primary-soft); }
.radio-card b { font-size: 13.5px; }
.radio-card p { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }

/* segmented control */
.segmented { display: inline-flex; padding: 3px; background: var(--inset); border: 1px solid var(--border); border-radius: var(--r-sm); gap: 2px; }
.segmented button { border: none; background: transparent; color: var(--text-2); height: 30px; padding: 0 11px; border-radius: 8px; cursor: pointer; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: .15s; }
.segmented button svg { width: 16px; height: 16px; }
.segmented button:hover { color: var(--text); }
.segmented button.on { background: var(--card-2); color: var(--text); box-shadow: var(--sh-1); }

/* switch */
.switch { position: relative; width: 40px; height: 23px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--hover); border-radius: 999px; transition: .2s; cursor: pointer; }
.switch .track::before { content: ""; position: absolute; width: 17px; height: 17px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s var(--ease); }
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track::before { transform: translateX(17px); }

/* ════════════════════════ BADGES ════════════════════════ */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: var(--r-full); font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: capitalize; }
.badge .bdot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { background: var(--success-soft); color: #34d399; }
.badge-warning { background: var(--warning-soft); color: #fbbf24; }
.badge-danger  { background: var(--danger-soft); color: #f87171; }
.badge-info    { background: var(--primary-soft); color: #60a5fa; }
.badge-neutral { background: var(--hover); color: var(--text-2); }
.badge-live    { background: var(--secondary-soft); color: #22d3ee; }
.badge-live .bdot { animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

/* ════════════════════════ TABLE ════════════════════════ */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl thead th { position: sticky; top: 0; text-align: left; padding: 11px 16px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); background: var(--card); border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl thead th.sortable { cursor: pointer; user-select: none; }
.tbl thead th.sortable:hover { color: var(--text-2); }
.tbl tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tbody tr { transition: background .12s; }
.tbl tbody tr:hover td { background: rgba(255,255,255,.025); }
.tbl tbody tr:last-child td { border-bottom: none; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.cell-strong { font-weight: 600; color: var(--text); }
.cell-id { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.path-chip { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); background: var(--inset); border: 1px solid var(--border); padding: 2px 8px; border-radius: 6px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: middle; }

/* endpoint pair in transfer rows */
.endpoints { display: flex; align-items: center; gap: 9px; }
.endpoints .ep { display: flex; align-items: center; gap: 7px; min-width: 0; }
.endpoints .arrow { color: var(--text-3); flex-shrink: 0; }
.endpoints .arrow svg { width: 15px; height: 15px; }

/* ════════════════════════ PROVIDER BADGE ════════════════════════ */
.pbadge { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; font-weight: 700; font-size: 13px; color: #fff; }
.pbadge.sm { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; }
.pbadge.lg { width: 46px; height: 46px; border-radius: 13px; font-size: 18px; }
.pbadge svg { width: 60%; height: 60%; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2); }

/* ════════════════════════ PROVIDER CARDS (connections) ════════════════════════ */
.conn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; }
.conn-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; transition: border-color .18s, transform .18s, box-shadow .18s; box-shadow: var(--sh-1); }
.conn-card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--sh-2); }
.conn-card-top { display: flex; align-items: flex-start; gap: 13px; }
.conn-card-top .meta { flex: 1; min-width: 0; }
.conn-card-top .meta h4 { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conn-card-top .meta .ptype { font-size: 12px; color: var(--text-3); margin-top: 1px; }
.conn-stats { display: flex; gap: 18px; margin: 16px 0 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.conn-stats div { font-size: 12px; color: var(--text-3); }
.conn-stats b { display: block; font-size: 13.5px; color: var(--text); font-weight: 600; margin-top: 2px; }
.conn-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.conn-menu-btn { position: absolute; top: 14px; right: 14px; }

/* ════════════════════════ FILE EXPLORER ════════════════════════ */
.explorer { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
.explorer-side { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.explorer-side .es-head { padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.es-conn { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; transition: background .12s; border-left: 2px solid transparent; }
.es-conn:hover { background: var(--hover); }
.es-conn.active { background: var(--primary-soft); border-left-color: var(--primary); }
.es-conn .nm { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-conn .ty { font-size: 11px; color: var(--text-3); }

.explorer-main { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; min-height: 480px; display: flex; flex-direction: column; }
.exp-toolbar { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.breadcrumb { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 13px; min-width: 0; }
.crumb { color: var(--text-2); cursor: pointer; padding: 3px 8px; border-radius: 7px; transition: .12s; display: inline-flex; align-items: center; gap: 5px; }
.crumb:hover { background: var(--hover); color: var(--text); }
.crumb.cur { color: var(--text); cursor: default; font-weight: 600; }
.crumb.cur:hover { background: transparent; }
.crumb-sep { color: var(--text-3); }
.exp-filter { position: relative; }
.exp-filter input { height: 32px; width: 180px; padding: 0 10px 0 30px; font-size: 12.5px; background: var(--inset); border: 1px solid var(--border); border-radius: var(--r-xs); color: var(--text); }
.exp-filter .si { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); color: var(--text-3); }

.exp-body { flex: 1; overflow-y: auto; }

/* list view */
.fl-list { display: flex; flex-direction: column; }
.fl-row { display: grid; grid-template-columns: 26px 1fr 120px 150px 90px; align-items: center; gap: 10px; padding: 9px 16px; border-bottom: 1px solid var(--border); cursor: default; transition: background .1s; font-size: 13px; }
.fl-row.head { position: sticky; top: 0; background: var(--card); color: var(--text-3); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; z-index: 1; }
.fl-row:not(.head):hover { background: var(--hover); }
.fl-row.sel { background: var(--primary-soft); }
.fl-ic { display: grid; place-items: center; }
.fl-ic svg { width: 18px; height: 18px; }
.fl-ic .folder { color: #fbbf24; }
.fl-ic .file { color: var(--text-3); }
.fl-name { display: flex; align-items: center; gap: 8px; overflow: hidden; }
.fl-name button { background: none; border: none; color: var(--text); font: inherit; cursor: pointer; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0; }
.fl-row.is-dir .fl-name button { cursor: pointer; }
.fl-row.is-dir .fl-name button:hover { color: var(--primary); }
.fl-meta { font-size: 12px; color: var(--text-3); text-align: right; white-space: nowrap; }
.fl-rowact { display: flex; justify-content: flex-end; }

/* grid view */
.fl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; padding: 16px; }
.fl-tile { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 16px 10px; border: 1px solid var(--border); border-radius: var(--r-sm); cursor: pointer; transition: .14s; text-align: center; background: var(--inset); }
.fl-tile:hover { border-color: var(--border-strong); background: var(--card-2); transform: translateY(-2px); }
.fl-tile.sel { border-color: var(--ring); background: var(--primary-soft); }
.fl-tile .tic svg { width: 38px; height: 38px; }
.fl-tile .tic .folder { color: #fbbf24; }
.fl-tile .tic .file { color: var(--text-3); }
.fl-tile .tname { font-size: 12.5px; line-height: 1.3; word-break: break-word; max-height: 2.6em; overflow: hidden; }
.fl-tile .tmeta { font-size: 11px; color: var(--text-3); }

/* ════════════════════════ PROGRESS ════════════════════════ */
.bar { height: 7px; background: var(--inset); border-radius: 999px; overflow: hidden; position: relative; min-width: 90px; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--grad); transition: width .4s var(--ease); position: relative; }
.bar.live > i::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  background-size: 200% 100%; animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.prog-line { display: flex; align-items: center; gap: 9px; }
.prog-pct { font-size: 12px; font-weight: 600; color: var(--text-2); min-width: 34px; text-align: right; font-variant-numeric: tabular-nums; }
.bar.ok > i { background: var(--success); }
.bar.fail > i { background: var(--danger); }

/* ════════════════════════ SIGNATURE: FLOW MOTIF ════════════════════════ */
.flow { display: flex; align-items: center; gap: 0; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 96px; }
.flow-node .ring { width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--border-strong); box-shadow: var(--sh-1); }
.flow-node .nm { font-size: 12.5px; font-weight: 600; }
.flow-node .ty { font-size: 11px; color: var(--text-3); }
.flow-conduit { flex: 1; height: 3px; position: relative; min-width: 60px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(59,130,246,.25), rgba(6,182,212,.25)); overflow: hidden; }
.flow-conduit::after {
  content: ""; position: absolute; inset: 0; border-radius: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, #06b6d4, transparent);
  background-size: 40% 100%; background-repeat: no-repeat;
  animation: convey 1.8s linear infinite;
}
@keyframes convey { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.flow-arrow { width: 26px; height: 26px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--secondary); margin: 0 -13px; z-index: 1; position: relative; }
.flow-arrow svg { width: 14px; height: 14px; }

/* ════════════════════════ HERO (dashboard) ════════════════════════ */
.hero { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--border); padding: 26px 28px;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(6,182,212,.14), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(59,130,246,.16), transparent 55%),
    var(--card); }
.hero h2 { font-size: 22px; }
.hero p { color: var(--text-2); margin-top: 4px; max-width: 50ch; }
.hero-flow { margin-top: 22px; }

/* ════════════════════════ CHARTS (analytics) ════════════════════════ */
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 200px; padding-top: 10px; }
.chart-bars .cb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.chart-bars .cb .col { width: 100%; max-width: 38px; border-radius: 7px 7px 3px 3px; background: var(--grad); min-height: 3px; transition: height .5s var(--ease); position: relative; }
.chart-bars .cb .col:hover::after { content: attr(data-v); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 5px; background: #0d1626; border: 1px solid var(--border-strong); padding: 3px 7px; border-radius: 6px; font-size: 11px; white-space: nowrap; }
.chart-bars .cb .lbl { font-size: 10.5px; color: var(--text-3); white-space: nowrap; }
.donut { width: 150px; height: 150px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; }
.donut .hole { width: 96px; height: 96px; border-radius: 50%; background: var(--card); display: grid; place-items: center; text-align: center; }
.donut .hole b { font-size: 24px; font-weight: 700; }
.donut .hole span { font-size: 11px; color: var(--text-3); }
.legend { display: flex; flex-direction: column; gap: 10px; }
.legend .lg { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.legend .lg .sw { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }
.legend .lg .v { margin-left: auto; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.hbars { display: flex; flex-direction: column; gap: 14px; }
.hbar .top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.hbar .track { height: 9px; background: var(--inset); border-radius: 999px; overflow: hidden; }
.hbar .track > i { display: block; height: 100%; border-radius: 999px; background: var(--grad); transition: width .5s var(--ease); }

/* ════════════════════════ TIMELINE ════════════════════════ */
.timeline { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 14px; padding: 12px 0; position: relative; }
.tl-item:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 36px; bottom: -12px; width: 2px; background: var(--border); }
.tl-dot { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--border-strong); z-index: 1; }
.tl-dot svg { width: 15px; height: 15px; }
.tl-body { flex: 1; min-width: 0; padding-top: 4px; }
.tl-body .tl-main { font-size: 13.5px; }
.tl-body .tl-time { font-size: 12px; color: var(--text-3); margin-top: 1px; }

/* service status */
.svc-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.svc-row:last-child { border-bottom: none; }
.svc-row .nm { flex: 1; font-size: 13.5px; font-weight: 500; }
.svc-state { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.svc-state .bdot { width: 8px; height: 8px; border-radius: 50%; }
.svc-state.on { color: var(--success); } .svc-state.on .bdot { background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.svc-state.idle { color: var(--text-3); } .svc-state.idle .bdot { background: var(--text-3); }

/* ════════════════════════ MODAL ════════════════════════ */
.overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(6,10,20,.6); backdrop-filter: blur(6px); animation: fade .18s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.modal { width: 100%; max-width: 540px; max-height: 90vh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #1a2336, #151d2e); border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); box-shadow: var(--sh-3); animation: pop .22s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-lg { max-width: 720px; }
.modal-xl { max-width: 880px; }
.modal-browser { max-width: 760px; height: 82vh; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.modal-head h3 { font-size: 17px; font-weight: 600; }
.modal-head .sub { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.modal-x { background: transparent; border: none; color: var(--text-3); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; transition: .15s; flex-shrink: 0; }
.modal-x:hover { background: var(--hover); color: var(--text); }
.modal-body { padding: 20px 22px; overflow-y: auto; flex: 1; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; align-items: center; padding: 16px 22px; border-top: 1px solid var(--border); flex-shrink: 0; }
.modal-foot .left { margin-right: auto; font-size: 12px; color: var(--text-3); }
body.no-scroll { overflow: hidden; }

/* ════════════════════════ WIZARD ════════════════════════ */
.stepper { display: flex; align-items: center; gap: 0; margin-bottom: 26px; }
.step { display: flex; align-items: center; gap: 10px; flex: 1; }
.step:last-child { flex: 0; }
.step .num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; flex-shrink: 0;
  background: var(--inset); border: 1px solid var(--border); color: var(--text-3); transition: .2s; }
.step .nm { font-size: 13px; color: var(--text-3); white-space: nowrap; transition: .2s; }
.step .line { flex: 1; height: 2px; background: var(--border); margin: 0 12px; border-radius: 2px; transition: .3s; }
.step.active .num { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(59,130,246,.4); }
.step.active .nm { color: var(--text); font-weight: 600; }
.step.done .num { background: var(--success-soft); border-color: transparent; color: var(--success); }
.step.done .nm { color: var(--text-2); }
.step.done .line { background: var(--success); }
.wizard-panel { min-height: 280px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pick { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--border); border-radius: var(--r-sm); cursor: pointer; transition: .15s; background: var(--inset); }
.pick:hover { border-color: var(--border-strong); background: var(--card-2); }
.pick.sel { border-color: var(--ring); background: var(--primary-soft); box-shadow: var(--sh-glow); }
.pick .meta { min-width: 0; }
.pick .meta b { font-size: 13.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick .meta span { font-size: 12px; color: var(--text-3); }

/* selected source items */
.src-list { display: flex; flex-direction: column; gap: 7px; }
.src-item { display: flex; align-items: center; gap: 10px; background: var(--inset); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 9px 12px; font-size: 13px; }
.src-item .ic { color: var(--text-3); display: grid; place-items: center; }
.src-item .ic svg { width: 16px; height: 16px; }
.src-item .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src-item .rm { background: none; border: none; color: var(--text-3); cursor: pointer; padding: 3px; border-radius: 6px; display: grid; place-items: center; }
.src-item .rm:hover { color: var(--danger); background: var(--danger-soft); }
.review-flow { background: var(--inset); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; }

/* ════════════════════════ TOAST ════════════════════════ */
#toasts { position: fixed; top: 18px; right: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 11px; padding: 12px 15px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 500; max-width: 380px;
  background: #1a2336; border: 1px solid var(--border-strong); box-shadow: var(--sh-3); pointer-events: all;
  transform: translateX(120%); transition: transform .32s var(--ease), opacity .32s; }
.toast.in { transform: translateX(0); }
.toast.out { transform: translateX(120%); opacity: 0; }
.toast .ti { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; flex-shrink: 0; }
.toast .ti svg { width: 14px; height: 14px; }
.toast.success .ti { background: var(--success-soft); color: var(--success); }
.toast.error .ti { background: var(--danger-soft); color: var(--danger); }
.toast.info .ti { background: var(--primary-soft); color: var(--primary); }

/* ════════════════════════ NOTIFICATION CENTER ════════════════════════ */
.notif-panel { position: fixed; top: var(--topbar-h); right: 12px; width: 380px; max-width: calc(100vw - 24px); max-height: 70vh; z-index: 90;
  background: linear-gradient(180deg, #1a2336, #151d2e); border: 1px solid var(--border-strong); border-radius: var(--r); box-shadow: var(--sh-3);
  display: flex; flex-direction: column; overflow: hidden; animation: pop .18s var(--ease); }
.notif-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.notif-head h4 { font-size: 14px; font-weight: 600; }
.notif-list { overflow-y: auto; }
.notif { display: flex; gap: 11px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.notif:last-child { border-bottom: none; }
.notif .ni { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.notif .ni svg { width: 15px; height: 15px; }
.notif.success .ni { background: var(--success-soft); color: var(--success); }
.notif.error .ni { background: var(--danger-soft); color: var(--danger); }
.notif.warning .ni { background: var(--warning-soft); color: var(--warning); }
.notif.info .ni { background: var(--primary-soft); color: var(--primary); }
.notif .nb { flex: 1; min-width: 0; }
.notif .nb .nt { font-size: 13px; }
.notif .nb .ntime { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }

/* ════════════════════════ CONTEXT MENU ════════════════════════ */
.ctx { position: fixed; z-index: 150; min-width: 190px; padding: 6px; background: #1a2336; border: 1px solid var(--border-strong); border-radius: var(--r-sm); box-shadow: var(--sh-3); animation: pop .12s var(--ease); }
.ctx-item { display: flex; align-items: center; gap: 11px; padding: 8px 11px; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--text); transition: background .1s; }
.ctx-item:hover { background: var(--hover); }
.ctx-item svg { width: 16px; height: 16px; color: var(--text-3); }
.ctx-item.danger { color: #fca5a5; }
.ctx-item.danger svg { color: #fca5a5; }
.ctx-sep { height: 1px; background: var(--border); margin: 5px 4px; }

/* ════════════════════════ EMPTY / ERROR / SKELETON ════════════════════════ */
.empty { text-align: center; padding: 52px 24px; }
.empty .ill { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; background: var(--inset); border: 1px solid var(--border); color: var(--text-3); }
.empty .ill svg { width: 34px; height: 34px; }
.empty h3 { font-size: 16px; margin-bottom: 6px; }
.empty p { color: var(--text-2); font-size: 13.5px; max-width: 42ch; margin: 0 auto 18px; }
.alert { padding: 13px 16px; border-radius: var(--r-sm); font-size: 13.5px; display: flex; gap: 11px; align-items: flex-start; }
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-danger { background: var(--danger-soft); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }
.alert-info { background: var(--primary-soft); border: 1px solid rgba(59,130,246,.3); color: #93c5fd; }

.sk { background: linear-gradient(90deg, var(--card-2) 25%, var(--hover) 37%, var(--card-2) 63%); background-size: 400% 100%; animation: skl 1.3s ease infinite; border-radius: 8px; }
@keyframes skl { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.sk-line { height: 12px; margin: 8px 0; }
.sk-card { height: 116px; border-radius: var(--r); }
.sk-stat { height: 116px; border-radius: var(--r); }

.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-center { display: grid; place-items: center; gap: 14px; padding: 60px; color: var(--text-2); }

/* ════════════════════════ AUTH ════════════════════════ */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { position: relative; overflow: hidden; padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(800px 500px at 20% 10%, rgba(59,130,246,.22), transparent 55%),
              radial-gradient(700px 500px at 90% 90%, rgba(6,182,212,.18), transparent 55%), #0c1424;
  border-right: 1px solid var(--border); }
.auth-aside .brand { padding: 0; height: auto; }
.auth-aside h1 { font-size: 34px; max-width: 16ch; margin-top: auto; }
.auth-aside .tag { color: var(--text-2); margin-top: 14px; max-width: 40ch; }
.auth-aside .flow { margin-top: 30px; max-width: 420px; }
.auth-feats { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.auth-feat { display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: var(--text-2); }
.auth-feat .fi { width: 28px; height: 28px; border-radius: 8px; background: var(--primary-soft); color: #93c5fd; display: grid; place-items: center; }
.auth-feat .fi svg { width: 15px; height: 15px; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card .ac-head { margin-bottom: 26px; }
.auth-card h2 { font-size: 24px; }
.auth-card .ac-head p { color: var(--text-2); margin-top: 5px; font-size: 13.5px; }
.auth-switch { text-align: center; margin-top: 22px; color: var(--text-2); font-size: 13px; }

/* ════════════════════════ UTILITIES ════════════════════════ */
.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.gap-sm { gap: 8px; }
.hide { display: none !important; }
.text-c { text-align: center; }
.tnum { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.drawer-backdrop { display: none; }

/* ════════════════════════ RESPONSIVE ════════════════════════ */
@media (max-width: 1200px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}
@media (max-width: 992px) {
  .explorer { grid-template-columns: 1fr; }
  .explorer-side { display: none; }
  .page { padding: 22px 20px 48px; }
}
@media (max-width: 768px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; width: var(--sidebar-w); transform: translateX(-100%); transition: transform .26s var(--ease); }
  .shell.drawer-open .sidebar { transform: translateX(0); box-shadow: var(--sh-3); }
  .shell.collapsed { grid-template-columns: 1fr; }
  .collapsed .brand-text, .collapsed .nav-item span.txt, .collapsed .user-chip-info { display: revert; }
  .collapsed .nav-item { justify-content: flex-start; padding: 10px 12px; }
  .drawer-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 35; opacity: 0; pointer-events: none; transition: opacity .26s; }
  .shell.drawer-open .drawer-backdrop { opacity: 1; pointer-events: all; }
  .searchbox { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .conn-grid { grid-template-columns: 1fr; }
  .stepper .step .nm { display: none; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .page { padding: 18px 14px 40px; }
  .page-head { flex-direction: column; align-items: stretch; }
  .endpoints { flex-direction: column; align-items: flex-start; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .flow-conduit::after { display: none; }
  .bar.live > i::after { display: none; }
}
