:root {
  --bg: #0d1014;
  --surface: #151a20;
  --surface-2: #1c232b;
  --line: #27303a;
  --text: #e6ebf0;
  --muted: #8a96a3;
  --accent: #4fd1a5;
  --accent-ink: #062a1e;
  --blue: #6aa8ff;
  --amber: #f2b84b;
  --red: #ff6b6b;
  --radius: 10px;
  --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6f8; --surface: #ffffff; --surface-2: #eef1f4; --line: #dde3e9;
    --text: #141a20; --muted: #5d6b78; --accent: #128a63; --accent-ink: #ffffff;
    --blue: #2a6fd6; --amber: #b7790f; --red: #d23c3c;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 var(--sans); }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 18px; }
.muted { color: var(--muted); margin: 4px 0 0; font-size: 13px; }
[hidden] { display: none !important; }

/* Бренд */
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brand-mark { width: 10px; height: 10px; border-radius: 2px; background: var(--accent);
  box-shadow: 0 0 12px var(--accent); }

/* Кнопки */
.btn { border: 1px solid var(--line); background: var(--surface-2); padding: 9px 14px; border-radius: 8px;
  cursor: pointer; font-weight: 500; transition: border-color .15s, background .15s; white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { filter: brightness(1.08); border-color: var(--accent); }
.btn-ghost { background: transparent; }
.btn-danger { color: var(--red); }
.btn-danger:hover { border-color: var(--red); }
.btn-sm { padding: 6px 10px; font-size: 13px; }

/* Вход */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { width: 100%; max-width: 360px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 24px; display: grid; gap: 16px; }
.login-card h1 { font-size: 20px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
input:focus { outline: none; border-color: var(--accent); }
.form-error { color: var(--red); margin: 0; font-size: 13px; }

/* Верхняя панель */
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px;
  padding: 12px 24px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 9px; padding: 3px; margin: 0 auto; }
.tab { border: 0; background: transparent; padding: 7px 14px; border-radius: 6px; cursor: pointer;
  color: var(--muted); font-weight: 500; white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.live { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.live.stale i { background: var(--red); animation: none; }
@keyframes pulse { 50% { opacity: .3; } }

.content { max-width: 1120px; margin: 0 auto; padding: 24px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  flex-wrap: wrap; margin-bottom: 18px; }

/* Обзор */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat-value { font-family: var(--mono); font-size: 30px; font-weight: 600; margin-top: 6px; }
.stat-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat.warn .stat-value { color: var(--amber); }
.stat.bad .stat-value { color: var(--red); }
.stat.good .stat-value { color: var(--accent); }
.alert { border: 1px solid var(--amber); background: color-mix(in srgb, var(--amber) 10%, transparent);
  color: var(--text); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.alert.bad { border-color: var(--red); background: color-mix(in srgb, var(--red) 10%, transparent); }

/* Карточки воркеров */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: grid; gap: 12px; align-content: start; }
.card.offline { opacity: .72; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card-title { font-weight: 600; font-size: 16px; word-break: break-word; }
.card-sub { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 2px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-online, .b-done { color: var(--accent); }
.b-offline { color: var(--muted); }
.b-drain, .b-queued { color: var(--amber); }
.b-running { color: var(--blue); }
.b-failed { color: var(--red); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--mono); font-size: 12.5px; word-break: break-word; text-align: right; }
.meter { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.meter-top { display: flex; justify-content: space-between; font-family: var(--mono); }
.bar { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--accent); transition: width .4s; }
.bar.blue > span { background: var(--blue); }
.bar.hot > span { background: var(--amber); }
.current { background: var(--surface-2); border-radius: 8px; padding: 10px 12px; display: grid; gap: 6px; font-size: 13px; }
.current-title { font-weight: 500; word-break: break-word; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); }

/* Задачи */
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 5px 12px;
  font-size: 13px; cursor: pointer; color: var(--muted); }
.chip.on { background: var(--surface-2); color: var(--text); border-color: var(--muted); }
.job-list { display: grid; gap: 8px; }
.job { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; }
.job-main { min-width: 0; }
.job-title { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-meta { font-size: 12px; color: var(--muted); font-family: var(--mono); margin-top: 2px;
  display: flex; gap: 12px; flex-wrap: wrap; }
.job-side { display: flex; align-items: center; gap: 8px; }
.job-progress { grid-column: 1 / -1; }
.job-error { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; color: var(--red);
  background: color-mix(in srgb, var(--red) 8%, transparent); border-radius: 6px; padding: 6px 10px; word-break: break-word; }

/* Диалоги */
dialog { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text);
  padding: 0; width: min(560px, calc(100vw - 32px)); }
dialog::backdrop { background: rgb(0 0 0 / .55); }
.dlg { padding: 22px; display: grid; gap: 14px; }
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; }
.warn { margin: 0; font-size: 13px; color: var(--amber); }
.mono-label { font-family: var(--mono); font-size: 12px; }
.code { margin: 0; font-family: var(--mono); font-size: 12.5px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px; white-space: pre-wrap; word-break: break-all; user-select: all; }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--surface-2);
  border: 1px solid var(--line); padding: 10px 16px; border-radius: 8px; font-size: 14px; z-index: 20;
  max-width: calc(100vw - 32px); }
.toast.err { border-color: var(--red); color: var(--red); }

/* SSH */
code { font-family: var(--mono); font-size: .92em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
.keybox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 24px; display: grid; gap: 10px; }
.keybox-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.keybox-title { font-weight: 600; }
.keybox-actions { display: flex; gap: 8px; }
.code-key { font-size: 12px; max-height: 5.5em; overflow: auto; }
select { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; color: var(--text); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.span-2 { grid-column: span 2; }
.hint { color: var(--muted); font-weight: 400; }
label.check { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
label.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.dlg-actions.spread { justify-content: space-between; flex-wrap: wrap; }
.dlg-actions.spread span { display: flex; gap: 8px; }
.btn-link { border: 0; padding-left: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
dialog.wide { width: min(900px, calc(100vw - 32px)); }
.log-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.log { height: min(60vh, 520px); overflow: auto; white-space: pre-wrap; user-select: text; font-size: 12px; line-height: 1.5; }
.b-setup { color: var(--blue); }
.b-setup::before { animation: pulse 1.2s infinite; }
.b-stopped { color: var(--muted); }
.b-error { color: var(--red); }
.state-detail { font-size: 13px; color: var(--muted); }
.state-detail.err { color: var(--red); }
.problems { margin: 0; padding-left: 18px; font-size: 13px; color: var(--red); display: grid; gap: 2px; }
.problems.warn-list { color: var(--amber); }
.more { position: relative; }
.more summary { list-style: none; cursor: pointer; }
.more summary::-webkit-details-marker { display: none; }
.more-menu { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 4; min-width: 220px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 6px;
  display: grid; box-shadow: 0 10px 30px rgb(0 0 0 / .35); }
.more-menu button { border: 0; background: transparent; text-align: left; padding: 8px 10px; border-radius: 6px;
  cursor: pointer; font-size: 14px; }
.more-menu button:hover { background: var(--surface); }
.more-menu button:disabled { opacity: .45; cursor: default; }
.more-menu .danger { color: var(--red); }
.more-menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }


/* Вкладки: на узких экранах прокручиваются */
.tabs { overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }

/* Таблицы */
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.search { width: 100%; max-width: 360px; margin-bottom: 14px; }
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
  position: sticky; top: 0; background: var(--surface); }
.table th[data-sort] { cursor: pointer; user-select: none; }
.table th.sorted::after { content: " ↓"; }
.table th.sorted.asc::after { content: " ↑"; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr.clickable { cursor: pointer; }
.table tbody tr.clickable:hover { background: var(--surface-2); }
.table .num { text-align: right; font-family: var(--mono); font-size: 13px; }
.table .mono { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.table td.title-cell { white-space: normal; min-width: 200px; }
.u-name { font-weight: 500; }
.tag { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); margin-left: 6px; vertical-align: 1px; }
.tag.admin { color: var(--blue); border-color: color-mix(in srgb, var(--blue) 40%, transparent); }
.tag.blocked { color: var(--red); border-color: color-mix(in srgb, var(--red) 40%, transparent); }
tr.blocked td { opacity: .6; }
.switch { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); cursor: pointer; }
.switch input { width: 34px; height: 20px; appearance: none; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; position: relative; cursor: pointer; padding: 0; transition: background .15s; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--muted); transition: transform .15s, background .15s; }
.switch input:checked { background: color-mix(in srgb, var(--accent) 30%, transparent); border-color: var(--accent); }
.switch input:checked::after { transform: translateX(14px); background: var(--accent); }
.more.inline .more-menu { bottom: auto; top: calc(100% + 6px); }

/* Браузер данных (в духе Obsidian) */
.content:has(#tab-data:not([hidden])) { max-width: 1400px; }
.browser { display: grid; grid-template-columns: 330px 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); min-height: calc(100vh - 130px); overflow: hidden; }
.b-side { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: color-mix(in srgb, var(--bg) 40%, var(--surface)); }
.b-side-head { padding: 12px; border-bottom: 1px solid var(--line); }
.b-side-head .search { margin: 0; max-width: none; }
.tree { overflow: auto; padding: 6px; flex: 1; font-size: 14px; max-height: calc(100vh - 190px); }
.t-row { display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px; cursor: pointer;
  color: var(--text); border: 0; background: transparent; width: 100%; text-align: left; font: inherit; }
.t-row:hover { background: var(--surface-2); }
.t-row.sel { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.t-row .t-chev { width: 12px; color: var(--muted); font-size: 10px; flex: none; transition: transform .12s; }
.t-row.open .t-chev { transform: rotate(90deg); }
.t-row .t-icon { flex: none; width: 16px; text-align: center; color: var(--muted); font-size: 13px; }
.t-row .t-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-row .t-count { font-family: var(--mono); font-size: 11.5px; color: var(--muted); flex: none; }
.t-row.lec { align-items: flex-start; }
.t-row.lec .t-dot { margin-top: 7px; }
.t-row.lec .t-label { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
.t-children { padding-left: 14px; border-left: 1px solid var(--line); margin-left: 13px; }
.t-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--muted); }
.t-dot.done { background: var(--accent); } .t-dot.processing, .t-dot.uploaded { background: var(--blue); }
.t-dot.failed { background: var(--red); } .t-dot.draft { background: var(--amber); }
.b-main { overflow: auto; padding: 24px 28px; min-width: 0; max-height: calc(100vh - 130px); }
.b-empty { color: var(--muted); text-align: center; padding: 80px 20px; }
.b-back { display: none; }
.crumbs { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 6px; word-break: break-word; }
.crumbs button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
.doc-title { font-size: 24px; font-weight: 650; letter-spacing: -0.02em; margin: 0 0 10px; word-break: break-word; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.meta .badge::before { display: none; }
.meta .badge { color: var(--muted); }
.doc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.notice { font-size: 12.5px; color: var(--muted); border-left: 2px solid var(--amber); padding: 4px 10px; margin-bottom: 16px; }
audio { width: 100%; margin-bottom: 16px; height: 40px; }
.doc-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.doc-tab { border: 0; background: none; padding: 9px 12px; color: var(--muted); cursor: pointer; font-weight: 500;
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.doc-tab.on { color: var(--text); border-bottom-color: var(--accent); }
.stat-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.mini { background: var(--surface-2); border-radius: 8px; padding: 10px 14px; min-width: 110px; }
.mini b { display: block; font-family: var(--mono); font-size: 18px; }
.mini span { font-size: 12px; color: var(--muted); }

/* Markdown */
.md { line-height: 1.65; max-width: 760px; font-size: 15px; }
.md h1 { font-size: 22px; margin: 0 0 12px; }
.md h2 { font-size: 18px; margin: 24px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.md h3 { font-size: 16px; margin: 18px 0 6px; }
.md p { margin: 8px 0; }
.md ul, .md ol { margin: 6px 0; padding-left: 22px; }
.md li { margin: 3px 0; }
.md li.l2 { margin-left: 18px; list-style: circle; }
.md strong { color: var(--text); font-weight: 650; }
.md pre { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; overflow: auto; font-size: 13px; }
.md-empty { color: var(--muted); font-style: italic; }

/* Транскрипт */
.tr-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.tr-tools .search { margin: 0; }
.transcript { display: grid; gap: 2px; max-width: 820px; }
.seg { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 5px 8px; border-radius: 6px; line-height: 1.55; }
.seg:hover { background: var(--surface-2); }
.seg.now { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.seg-t { font-family: var(--mono); font-size: 12px; color: var(--blue); border: 0; background: none; cursor: pointer;
  text-align: left; padding: 2px 0; height: fit-content; }
.seg-t:disabled { color: var(--muted); cursor: default; }
mark { background: color-mix(in srgb, var(--amber) 40%, transparent); color: inherit; border-radius: 2px; }

/* Фото */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.photo { background: var(--surface-2); border-radius: 8px; overflow: hidden; display: grid; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; background: var(--bg); }
.photo-meta { display: flex; justify-content: space-between; padding: 6px 10px; font-size: 12px; font-family: var(--mono); color: var(--muted); }
.photo-dlg { padding: 12px; }
.photo-dlg img { max-width: 100%; max-height: 75vh; display: block; margin: 0 auto 12px; border-radius: 6px; }

/* Аудит */
.audit-list { display: grid; gap: 6px; }
.a-row { display: grid; grid-template-columns: 170px 1fr auto; gap: 4px 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 14px; font-size: 13.5px; align-items: baseline; }
.a-time { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.a-what b { font-weight: 600; }
.a-what .a-target { color: var(--muted); }
.a-ip { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.a-details { grid-column: 2 / -1; font-family: var(--mono); font-size: 11.5px; color: var(--muted); word-break: break-word; }
.a-row.warn { border-color: color-mix(in srgb, var(--amber) 45%, transparent); }
.a-row.danger { border-color: color-mix(in srgb, var(--red) 45%, transparent); }

/* Телефон */
@media (max-width: 720px) {
  .topbar { flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .topbar .brand { flex: 1; }
  .tabs { order: 3; width: 100%; margin: 0; }
  .tab { flex: none; padding: 7px 12px; }
  .live span { display: none; }
  .content { padding: 16px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 24px; }
  .job { grid-template-columns: 1fr; }
  .job-side { justify-content: space-between; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 .span-2 { grid-column: span 2; }
  .more-menu { left: 0; right: auto; }

  .browser { grid-template-columns: 1fr; min-height: 0; }
  .b-side { border-right: 0; }
  .tree { max-height: none; }
  .b-main { padding: 16px; max-height: none; }
  .browser .b-main { display: none; }
  .browser.show-main .b-side { display: none; }
  .browser.show-main .b-main { display: block; }
  .b-back { display: inline-flex; margin-bottom: 12px; }
  .doc-title { font-size: 20px; }
  .seg { grid-template-columns: 52px 1fr; padding: 5px 4px; }
  .a-row { grid-template-columns: 1fr auto; }
  .a-time { grid-column: 1 / -1; }
  .a-details { grid-column: 1 / -1; }
  .table th, .table td { padding: 9px 10px; }
  .search { max-width: none; }
  .toolbar { width: 100%; justify-content: space-between; }
  /* Пользователи: строки таблицы → карточки */
  #users-table thead { display: none; }
  #users-table, #users-table tbody { display: block; }
  #users-table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 12px 14px;
    border-bottom: 1px solid var(--line); }
  #users-table tr:last-child { border-bottom: 0; }
  #users-table td { border: 0; padding: 0; white-space: nowrap; }
  #users-table td.c-name { flex: 1 1 calc(100% - 70px); order: 0; white-space: normal; }
  #users-table td.c-menu { order: 1; margin-left: auto; }
  #users-table td.c-meta { order: 2; text-align: left; font-size: 12.5px; }
  #users-table td.c-meta::before { content: attr(data-label) " "; color: var(--muted); font-family: var(--sans); }
}
