/* Кабинет клиента YourTechWeb: стеклянные панели, бирюзовый и фиолетовый, обе темы.
   Вид — из первого кабинета (ветка claude/happy-dubinsky-4a61a2), вход — через ntrip ID. */
@font-face { font-family: 'Geologica'; font-weight: 100 900; font-display: swap; src: url('/ui/vendor/fonts/geologica-cyrillic-wght-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Geologica'; font-weight: 100 900; font-display: swap; src: url('/ui/vendor/fonts/geologica-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2212, U+2215; }
@font-face { font-family: 'Martian Mono'; font-weight: 100 800; font-display: swap; src: url('/ui/vendor/fonts/martian-mono-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Martian Mono'; font-weight: 100 800; font-display: swap; src: url('/ui/vendor/fonts/martian-mono-cyrillic-wght-normal.woff2') format('woff2'); unicode-range: U+0400-045F; }

:root {
  --bg: #05040f;
  --panel: rgba(16, 13, 40, 0.78);
  --inset: rgba(255, 255, 255, 0.05);
  --line: rgba(140, 220, 255, 0.18);
  --text: #e8f3ff;
  --muted: #8fa3c0;
  --teal: #5ef2d2;
  --violet: #b48cff;
  --good: #7fe6a8;
  --warn: #f0c060;
  --bad: #ff6b8b;
  --on-accent: #05040f;
  --glow: 0 0 18px rgba(94, 242, 210, 0.35);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
  --blob1: rgba(94, 242, 210, 0.22);
  --blob2: rgba(180, 140, 255, 0.26);
  --blob3: rgba(255, 159, 212, 0.14);
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #f3f1fb;
  --panel: rgba(255, 255, 255, 0.78);
  --inset: rgba(40, 30, 90, 0.05);
  --line: rgba(80, 70, 160, 0.16);
  --text: #1c1838;
  --muted: #6a6688;
  --teal: #0f9f86;
  --violet: #6b52d6;
  --good: #1f9d6b;
  --warn: #b0731a;
  --bad: #c22a4a;
  --on-accent: #ffffff;
  --glow: 0 0 0 rgba(0, 0, 0, 0);
  --shadow: 0 18px 50px rgba(60, 40, 140, 0.16);
  --blob1: rgba(94, 242, 210, 0.35);
  --blob2: rgba(180, 140, 255, 0.35);
  --blob3: rgba(255, 190, 160, 0.3);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f3f1fb; --panel: rgba(255, 255, 255, 0.78); --inset: rgba(40, 30, 90, 0.05); --line: rgba(80, 70, 160, 0.16);
    --text: #1c1838; --muted: #6a6688; --teal: #0f9f86; --violet: #6b52d6; --good: #1f9d6b; --warn: #b0731a; --bad: #c22a4a;
    --on-accent: #ffffff; --glow: 0 0 0 rgba(0, 0, 0, 0); --shadow: 0 18px 50px rgba(60, 40, 140, 0.16);
    --blob1: rgba(94, 242, 210, 0.35); --blob2: rgba(180, 140, 255, 0.35); --blob3: rgba(255, 190, 160, 0.3); color-scheme: light;
  }
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.45 'Geologica', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--teal); }
[hidden] { display: none !important; }

/* Мягкое голографическое свечение за карточкой */
.backdrop { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.backdrop i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(70px); }
.backdrop i:nth-child(1) { background: var(--blob1); left: -25vmax; top: -30vmax; }
.backdrop i:nth-child(2) { background: var(--blob2); right: -30vmax; top: 10vmax; }
.backdrop i:nth-child(3) { background: var(--blob3); left: 10vmax; bottom: -45vmax; }

.top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(12px + env(safe-area-inset-top)) 16px 8px; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand svg { width: 26px; height: 26px; fill: var(--teal); }
.brand svg .ring { fill: none; stroke: var(--violet); stroke-width: 2; }
.brand b { color: var(--teal); letter-spacing: 0.02em; text-shadow: var(--glow); }
.brand span { color: var(--muted); font-size: 13px; }
.top-tools { display: inline-flex; gap: 8px; }
.icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.icon svg { width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon:hover { border-color: var(--teal); }
a.icon { color: inherit; text-decoration: none; }

.view { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; padding: 12px 16px 40px; }
.glass { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); position: relative; }
/* Переливчатая кромка */
.glass::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(94, 242, 210, 0.55), rgba(180, 140, 255, 0.45) 45%, rgba(255, 159, 212, 0.3) 70%, rgba(94, 242, 210, 0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card { width: min(420px, 100%); padding: 22px 20px 20px; display: grid; gap: 14px; }
.card.wide { width: min(640px, 100%); }
.card h1 { margin: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.card h1 svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h2 { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.card h2 svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin: 0; }
.note { color: var(--muted); font-size: 13px; }

.field { display: grid; gap: 5px; }
.field > span { font-size: 12.5px; color: var(--muted); }
.field input { width: 100%; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--inset); outline: none; min-width: 0; }
.field input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 18%, transparent); }
.field .with-eye { position: relative; }
.field .with-eye input { padding-right: 46px; }
.eye { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; background: none; border-radius: 9px; cursor: pointer; display: grid; place-items: center; }
.eye svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.eye[aria-pressed='true'] svg { stroke: var(--teal); }


.btn { height: 46px; padding: 0 18px; border-radius: 13px; border: 0; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--teal), var(--violet)); color: var(--on-accent); box-shadow: var(--glow); }
.btn:disabled { opacity: 0.55; cursor: progress; }
.btn.ghost { background: var(--inset); color: var(--text); border: 1px solid var(--line); box-shadow: none; font-weight: 500; }
.btn.danger { background: var(--bad); color: #fff; box-shadow: none; }
.btn.small { height: 36px; padding: 0 12px; border-radius: 10px; font-size: 13.5px; }
.links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.links button:not(.btn), .link { border: 0; background: none; padding: 0; color: var(--teal); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.error { color: var(--bad); font-size: 13.5px; margin: 0; }
.error:empty { display: none; }

/* Крупный значок на экране входа */
.big { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; justify-self: center; background: color-mix(in srgb, var(--teal) 14%, transparent); box-shadow: var(--glow); }
.big svg { width: 32px; height: 32px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.center { text-align: center; }
.jc { justify-content: center; }
.btn.tall { height: 44px; }

/* Логины клиента */
.rows { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--inset); border: 1px solid var(--line); min-width: 0; }
.row svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--violet); stroke-width: 1.8; }
.row .main { min-width: 0; display: grid; }
.row .main b { font-family: 'Martian Mono', ui-monospace, monospace; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.row .main small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.empty { color: var(--muted); font-size: 13.5px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line); text-align: center; }
.inline { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
@media (max-width: 520px) { .inline { grid-template-columns: 1fr; } }

/* Окошко профиля у значка вверху */
.pop { position: fixed; z-index: 10; top: calc(60px + env(safe-area-inset-top)); right: 16px; width: min(340px, calc(100vw - 32px)); padding: 16px; display: grid; gap: 12px; }
.pop .who { display: grid; }
.pop .who b { overflow-wrap: anywhere; }
.pop .who small { color: var(--muted); }
.pop hr { border: 0; border-top: 1px solid var(--line); margin: 0; width: 100%; }
.pop .menu-item { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 8px 6px; border-radius: 10px; cursor: pointer; text-align: left; }
.pop .menu-item:hover { background: var(--inset); }
.pop .menu-item svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 1.8; flex: none; }
.pop .menu-item.danger svg { stroke: var(--bad); }

#toast { position: fixed; z-index: 20; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: calc(100vw - 32px);
  padding: 10px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }


/* ---------- Главная кабинета ---------- */
.grow { flex: 1; }
.muted { color: var(--muted); }
.tone-good { --tone: var(--good); }
.tone-warn { --tone: var(--warn); }
.tone-bad { --tone: var(--bad); }
.tone-violet { --tone: var(--violet); }
.tone-muted { --tone: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--tone, var(--muted)); box-shadow: 0 0 10px color-mix(in srgb, var(--tone, var(--muted)) 60%, transparent); }
.tone-good .dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 2px color-mix(in srgb, var(--tone) 30%, transparent); } }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap;
  color: var(--tone, var(--muted)); background: color-mix(in srgb, var(--tone, var(--muted)) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone, var(--muted)) 45%, transparent); }
.ses .chip { --tone: var(--good); margin-left: 8px; }

/* Подписка: строка со сроком и полоской оставшихся дней */
.sub { display: grid; gap: 5px; padding: 12px 14px; border-radius: 14px; background: var(--inset); border: 1px solid var(--line); border-left: 3px solid var(--tone); min-width: 0; }
.sub-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sub-head b { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.sub small { font-size: 12.5px; overflow-wrap: anywhere; }
.bar { height: 5px; border-radius: 5px; background: color-mix(in srgb, var(--tone) 14%, transparent); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 5px; background: var(--tone); }
.bar i.w0 { width: 0%; }
.bar i.w5 { width: 5%; }
.bar i.w10 { width: 10%; }
.bar i.w15 { width: 15%; }
.bar i.w20 { width: 20%; }
.bar i.w25 { width: 25%; }
.bar i.w30 { width: 30%; }
.bar i.w35 { width: 35%; }
.bar i.w40 { width: 40%; }
.bar i.w45 { width: 45%; }
.bar i.w50 { width: 50%; }
.bar i.w55 { width: 55%; }
.bar i.w60 { width: 60%; }
.bar i.w65 { width: 65%; }
.bar i.w70 { width: 70%; }
.bar i.w75 { width: 75%; }
.bar i.w80 { width: 80%; }
.bar i.w85 { width: 85%; }
.bar i.w90 { width: 90%; }
.bar i.w95 { width: 95%; }
.bar i.w100 { width: 100%; }
.warn-box { margin: 2px 0 0; padding: 9px 12px; border-radius: 11px; display: grid; gap: 3px; font-size: 13.5px;
  background: color-mix(in srgb, var(--bad) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bad) 35%, transparent); }
.warn-box small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

/* Логин: строка-заголовок раскрывает настройку ровера */
.login { border-radius: 14px; background: var(--inset); border: 1px solid var(--line); min-width: 0; }
.login-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; background: none; cursor: pointer; text-align: left; border-radius: 14px; }
.login-head:hover { background: color-mix(in srgb, var(--teal) 6%, transparent); }
.login-head .main { flex: 1; min-width: 0; display: grid; }
.login-head .main b { font-family: 'Martian Mono', ui-monospace, monospace; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.login-head .main small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.meta { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; font-family: 'Martian Mono', ui-monospace, monospace; }
.meta svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.chev svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; transition: transform 0.2s; display: block; }
.login-head[aria-expanded='true'] .chev svg { transform: rotate(180deg); }
.login-body { display: grid; gap: 10px; padding: 0 12px 12px; }
.setup { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.setup h2 { margin: 0 0 4px; }
.kv { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 8px; min-height: 36px; min-width: 0; }
.kv > span:first-child { color: var(--muted); font-size: 12.5px; }
.kv code { font-family: 'Martian Mono', ui-monospace, monospace; font-size: 13px; overflow-wrap: anywhere; min-width: 0; }
.kv select { min-width: 0; width: 100%; height: 36px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--inset); color: var(--text); font-size: 13px; }
.kv select option { background: var(--bg); color: var(--text); }
.pair { display: inline-flex; gap: 4px; }
.mini { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--inset); display: grid; place-items: center; cursor: pointer; flex: none; }
.mini:hover { border-color: var(--teal); }
.mini svg { width: 17px; height: 17px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h1 .mini { margin-left: auto; }
.more { border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 13.5px; }
.more summary::-webkit-details-marker { display: none; }
.more summary svg { width: 17px; height: 17px; fill: none; stroke: var(--teal); stroke-width: 1.8; flex: none; }
.sub-form { display: grid; gap: 10px; padding: 0 12px 12px; }
.inline.two { grid-template-columns: 1fr auto; }
@media (max-width: 520px) { .inline.two { grid-template-columns: 1fr; } .kv { grid-template-columns: 56px 1fr auto; } }

/* Сеансы */
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip-btn { height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--inset); cursor: pointer; font-size: 12.5px; white-space: nowrap; }
.chip-btn[aria-pressed='true'] { border-color: var(--teal); color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 14%, transparent); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { display: grid; justify-items: start; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--inset); border: 1px solid var(--line); }
.tile svg { width: 18px; height: 18px; fill: none; stroke: var(--violet); stroke-width: 1.8; }
.tile b { font-family: 'Martian Mono', ui-monospace, monospace; font-size: 17px; font-weight: 500; }
.tile small { color: var(--muted); font-size: 12px; }
.ses { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--inset); border: 1px solid var(--line); min-width: 0; }
.ses .main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ses .main b { font-size: 13.5px; font-weight: 500; }
.ses .main small { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.ses .main small.muted { color: color-mix(in srgb, var(--muted) 80%, var(--tone)); }
.fix { display: grid; justify-items: end; flex: none; }
.fix b { font-family: 'Martian Mono', ui-monospace, monospace; font-size: 14px; font-weight: 500; color: var(--tone); }
.fix small { font-size: 11.5px; color: var(--muted); white-space: nowrap; }

/* Узкий телефон: в шапке только знак и название, иначе подпись наезжает на значки */
@media (max-width: 400px) { .brand span { display: none; } .top-tools { gap: 6px; } }

.btn.renew { justify-self: start; margin-top: 4px; }

/* ---------- Сверх первого кабинета: вход ntrip ID, владелец, заявки, статика ---------- */
a.btn { text-decoration: none; }
.god-chip { --tone: var(--violet); }
.find { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.find input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--inset); outline: none; min-width: 0; }
.field textarea { padding: 10px 12px; min-height: 64px; resize: vertical; }
.field select option { background: var(--bg); color: var(--text); }
.find input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 18%, transparent); }
.field input[type=datetime-local] { color-scheme: inherit; }
.ok-box { padding: 10px 12px; border-radius: 11px; display: grid; gap: 4px; font-size: 13.5px;
  background: color-mix(in srgb, var(--good) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--good) 35%, transparent); }
.ok-box code, .req code { font-family: 'Martian Mono', ui-monospace, monospace; font-size: 13px; }
.req { display: grid; gap: 3px; padding: 9px 12px; border-radius: 11px; font-size: 13px; background: color-mix(in srgb, var(--tone, var(--muted)) 9%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone, var(--muted)) 32%, transparent); }
.req small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.req .links { justify-content: flex-start; }
.when { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 520px) { .when { grid-template-columns: 1fr; } }
.rep { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rep select { height: 36px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--inset); color: var(--text); font-size: 13px; }
.rep select option { background: var(--bg); color: var(--text); }
.rep a { font-size: 13px; }
.fix .link { font-size: 12px; }
.pop a.menu-item { color: inherit; text-decoration: none; }
.card > .sub-form, .sub .sub-form, .rows > .sub-form { padding: 0; }
.login-head .main b.plain { font-family: inherit; font-size: 14px; font-weight: 600; }

/* Базы для статики — плитками, как тарифы в витрине: выбранная светится бирюзовым */
.base-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.base-tile { display: grid; gap: 2px; justify-items: start; min-height: 58px; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line); background: var(--inset);
  cursor: pointer; text-align: left; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.base-tile b { font-family: 'Martian Mono', ui-monospace, monospace; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.base-tile small { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.base-tile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--teal) 60%, transparent); }
.base-tile[aria-pressed='true'] { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 13%, var(--inset)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 16%, transparent), var(--glow); }
.base-tile[aria-pressed='true'] b { color: var(--teal); }
.pick-head { display: flex; align-items: baseline; gap: 10px; }
.pick-count { color: var(--muted); font-size: 12px; }
.pick-head .link { font-size: 12px; margin-left: auto; }
@media (max-width: 520px) { .base-grid { grid-template-columns: repeat(3, 1fr); } }
.users-head { border-radius: 14px; background: var(--inset); border: 1px solid var(--line); }
.users-head > span:first-child svg { width: 20px; height: 20px; fill: none; stroke: var(--violet); stroke-width: 1.8; display: block; }
.user-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 6px; max-height: 196px; overflow: auto; padding: 2px; scrollbar-width: thin; }
.user-tile { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--inset); cursor: pointer; min-width: 0; }
.user-tile span { font-family: 'Martian Mono', ui-monospace, monospace; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-tile .dot { width: 7px; height: 7px; animation: none; }
.user-tile:hover { border-color: color-mix(in srgb, var(--teal) 60%, transparent); }
.user-tile[aria-pressed='true'] { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 13%, var(--inset)); color: var(--teal); }
.user-sel { padding-top: 4px; }
