/* =========================================================
   TXNK — адмінка, «режим інструмента».
   Бренд тримається на шрифті, акценті й логотипі — не на ефектах.
   Суцільні поверхні, щільні рядки, три функціональні кольори.
   Клієнтська форма брифа має власний style.css (скляний) — не зачеплена.
   Попередній скляний вигляд панелі: style.glass-backup-2026-08-03.css
   ========================================================= */
:root {
  --bg:        #F7F8FA;
  --surface:   #FFFFFF;
  --surface-2: #FAFBFC;
  --line:      #E3E6EB;
  --line-2:    #EDF0F3;

  --ink:    #1B2333;
  --ink-2:  #55606F;
  --ink-3:  #8792A3;

  --blue:   #2563EB;
  --green:  #15803D;
  --amber:  #B45309;
  --red:    #B42318;

  --blue-bg:  #EFF4FF;
  --green-bg: #ECFDF3;
  --amber-bg: #FFFAEB;
  --red-bg:   #FEF3F2;

  --grad: linear-gradient(120deg, #2563EB 0%, #7C3AED 100%);

  --radius:    10px;
  --radius-sm: 8px;

  --font-display: "Archivo", Arial, sans-serif;
  --font-body:    "Archivo", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", Consolas, monospace;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, .08);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .16);
}

* { box-sizing: border-box; }
/* Атрибут hidden має перемагати будь-який display із класів (.nav-link, .created,
   .nav-badge…). Без цього прихований елемент лишається видимим. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.5;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap { max-width: 880px; margin: 0 auto; padding: 22px 24px 60px; }
.wrap.wide { max-width: 1240px; }

/* ---------- шапка ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar-in {
  max-width: 880px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 20px; height: 56px;
}
.wide .topbar-in, .topbar-in.wide { max-width: 1240px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.logo img { height: 24px; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: var(--ink); }
.logo-text .dot { color: var(--blue); }
.tagline { font-size: 13px; color: var(--ink-3); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.who { font-size: 13px; color: var(--ink-3); }

.admin-nav { display: flex; gap: 2px; align-items: stretch; height: 56px; }
.nav-link {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--ink-2); background: none; border: none; cursor: pointer;
  padding: 0 14px; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .12s ease, border-color .12s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--amber-bg); color: var(--amber);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
}

/* ---------- заголовки ---------- */
.panel-head { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; flex-wrap: wrap; }
.panel-head h1 {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing: -.01em; color: var(--ink); margin: 0;
}
.subhead { margin-top: 34px; }
.create-hint, .hint-tight { font-size: 13px; color: var(--ink-3); }
.create-hint { margin: 0 0 18px; }
.hint-tight { margin: -10px 0 16px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; white-space: nowrap; box-shadow: var(--shadow-sm);
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.btn:hover { background: var(--surface-2); border-color: #D5DAE1; }
.btn:disabled { opacity: .5; cursor: default; }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn-ic { font-size: 1.05em; line-height: 1; font-weight: 700; }
/* Єдина градієнтна кнопка в системі — головна дія екрана */
.btn.primary { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 1px 2px rgba(37,99,235,.25); }
.btn.primary:hover { background: var(--grad); filter: brightness(1.06); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--ink-2); }
.btn.ghost:hover { background: var(--line-2); color: var(--ink); }
.btn.danger { color: var(--red); }
.btn.danger:hover { background: var(--red-bg); border-color: #FDA29B; }
.btn.sm { padding: 6px 11px; font-size: 13px; }
.btn.big { width: 100%; padding: 11px; font-size: 15px; }
.btn.icon { padding: 0; width: 30px; height: 30px; gap: 0; }
.btn.sm.icon { width: 28px; height: 28px; }

/* ---------- поля ---------- */
input:not([type]), input[type="text"], input[type="password"], input[type="email"],
input[type="tel"], input[type="number"], input[type="search"], textarea, select {
  width: 100%; font: inherit; font-size: 13.5px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 8px 11px; appearance: none; -webkit-appearance: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
textarea { resize: vertical; min-height: 80px; }
select {
  cursor: pointer; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238792A3' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}

/* ---------- тулбар списку ---------- */
.list-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-f {
  font-size: 13px; padding: 5px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.chip-f b { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; opacity: .7; margin-left: 3px; }
.chip-f:hover { border-color: #D5DAE1; color: var(--ink); }
.chip-f.is-active { background: var(--blue-bg); border-color: #B2CCFF; color: var(--blue); font-weight: 600; }
.search-box { margin-left: auto; flex: 0 1 260px; min-width: 180px; }

/* ---------- таблиці ---------- */
.table-scroll {
  overflow-x: auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
table.forms { width: 100%; border-collapse: collapse; }
table.forms th {
  text-align: left; padding: 9px 14px; background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: 11.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap;
}
table.forms td { padding: 9px 14px; border-top: 1px solid var(--line-2); font-size: 13.5px; vertical-align: middle; }
table.forms tbody tr { transition: background .12s ease; }
table.forms tbody tr:hover { background: var(--surface-2); }
.cell-label { font-weight: 600; color: var(--ink); }
.cell-contact { font-size: 12.5px; color: var(--ink-2); margin-top: 1px; }
.cell-id { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); margin-top: 1px; }
td.num { text-align: center; font-variant-numeric: tabular-nums; color: var(--ink-2); }
td.actions { white-space: nowrap; text-align: right; }
td.actions > * + * { margin-left: 4px; }
.empty { text-align: center; color: var(--ink-3); padding: 28px !important; }
.loading-row td { text-align: center; color: var(--ink-3); padding: 22px !important; }
.lead-msg {
  max-width: 320px; color: var(--ink-2);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ---------- бейджі ---------- */
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 5px;
  font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid transparent;
}
.st-new    { background: var(--line-2);   color: var(--ink-2); }
.st-active { background: var(--blue-bg);  color: var(--blue); }
.st-aband  { background: var(--amber-bg); color: var(--amber); }
.st-done   { background: var(--green-bg); color: var(--green); }
.badge.lang {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em;
  background: var(--surface); border-color: var(--line); color: var(--ink-2);
}

/* ---------- прогрес без веселки ---------- */
.mini-bar { width: 68px; height: 5px; background: var(--line); border-radius: 999px; display: inline-block; vertical-align: middle; overflow: hidden; }
.mini-bar i { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.mini-bar.is-done i { background: var(--green); }
.mini-p { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); margin-left: 7px; }

/* ---------- селекти в рядках ---------- */
.status-sel {
  width: auto; max-width: 170px; padding: 5px 26px 5px 9px; font-size: 13px;
  border-radius: 6px; background-position: right 8px center;
}
.status-sel.flash { border-color: var(--green); box-shadow: 0 0 0 3px rgba(21,128,61,.18); }
.role-sel { max-width: 130px; }

/* ---------- картка створення ---------- */
.create-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.create-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin: 0 0 3px; }
.create-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.create-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.cf { display: flex; flex-direction: column; gap: 6px; }
.cf > span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.cf-wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .create-grid, .create-grid.g3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .create-grid, .create-grid.g3 { grid-template-columns: 1fr; } }
.created {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px;
  background: var(--green-bg); border: 1px solid #ABEFC6; color: #085D3A;
  padding: 10px 13px; border-radius: var(--radius-sm); font-size: 13.5px;
}
.created a { color: #085D3A; text-decoration: underline; }
.created-x {
  margin-left: auto; background: none; border: none; cursor: pointer;
  color: var(--ink-3); font-size: 17px; line-height: 1; padding: 2px 6px; border-radius: 6px;
}
.created-x:hover { background: rgba(0,0,0,.06); color: var(--ink); }

/* ---------- модалки ---------- */
.modal {
  position: fixed; inset: 0; background: rgba(16, 24, 40, .45);
  display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px;
}
.modal[hidden] { display: none; }
.modal-card {
  background: var(--surface); border-radius: var(--radius); padding: 22px;
  width: 100%; max-width: 440px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 14px;
}
.modal-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.confirm-text { font-size: 14px; line-height: 1.5; color: var(--ink); margin: 0; white-space: pre-line; }

/* історія статусів у модалці */
.hist-block { border-top: 1px solid var(--line-2); padding-top: 14px; }
.hist-title { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); margin-bottom: 8px; }
.hist-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; max-height: 170px; overflow-y: auto; }
.hist-list b { color: var(--ink); font-weight: 600; }
.hist-when { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.hist-empty { color: var(--ink-3); }

/* ---------- тости ---------- */
.toasts { position: fixed; top: 16px; right: 16px; z-index: 200; display: flex; flex-direction: column; gap: 8px; max-width: min(92vw, 360px); }
.toast {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--green);
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13.5px; color: var(--ink);
  box-shadow: var(--shadow-md); animation: toast-in .15s ease;
}
.toast.ok   { border-left-color: var(--green); }
.toast.err  { border-left-color: var(--red); }
.toast.info { border-left-color: var(--blue); }
.toast.hide { opacity: 0; transform: translateX(8px); transition: opacity .18s ease, transform .18s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

/* ---------- екран входу ---------- */
.login-card {
  max-width: 340px; margin: 12vh auto 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
}
.login-brand { text-align: center; margin-bottom: 2px; }
.login-brand .logo-text { font-size: 22px; }
.login-card .btn { width: 100%; margin-top: 4px; }
.err { color: var(--red); font-size: 13px; }
.login-card .err:empty { display: none; }

/* ---------- плеєр ---------- */
.player-bar {
  position: sticky; top: 56px; z-index: 15;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px; margin: 0 0 16px; box-shadow: var(--shadow-sm);
}
.player-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.player-row + .player-row { margin-top: 9px; }
#pl-slider { flex: 1; min-width: 200px; width: auto; accent-color: var(--blue); padding: 0; border: none; background: none; box-shadow: none; }
#pl-speed { width: auto; }
.pl-meta { font-size: 12.5px; color: var(--ink-3); }
.pl-meta b { color: var(--ink); font-weight: 600; }
.live-toggle { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.live-toggle input { width: auto; accent-color: var(--blue); box-shadow: none; padding: 0; }

/* ---------- бриф усередині плеєра (рендерить render.js) ---------- */
#pl-form .part-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); margin: 26px 0 4px; }
#pl-form .part-note { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); margin: 0 0 10px; }
#pl-form .part-note svg { width: 14px; height: 14px; color: var(--ink-3); }
#pl-form .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px; margin: 12px 0; box-shadow: var(--shadow-sm); }
#pl-form .sec-title { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink); margin: 0 0 6px; }
#pl-form .sec-note { font-size: 13px; color: var(--ink-3); margin: 0 0 12px; }
#pl-form .sec-note.after { padding: 9px 12px; background: var(--blue-bg); border: 1px solid #DBE7FF; border-radius: var(--radius-sm); margin: 2px 0 12px; }
#pl-form .field { margin: 13px 0; border-radius: var(--radius-sm); transition: background .4s ease, box-shadow .4s ease; }
#pl-form .f-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
#pl-form .opts { display: grid; gap: 7px; }
#pl-form .cols-1 { grid-template-columns: 1fr; }
#pl-form .cols-2 { grid-template-columns: 1fr 1fr; }
#pl-form .cols-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) { #pl-form .cols-2, #pl-form .cols-3 { grid-template-columns: 1fr; } }
#pl-form .opt {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 12px; background: var(--surface); font-size: 13.5px;
}
#pl-form .opt:has(input:checked) { border-color: var(--blue); background: var(--blue-bg); }
#pl-form .opt input { width: 16px; height: 16px; accent-color: var(--blue); padding: 0; box-shadow: none; border: none; }
#pl-form .opt-text { flex: 1; min-width: 110px; }
#pl-form .opt-input { flex: 1 1 100%; margin-top: 4px; }
#pl-form .max-hint { font-size: 11.5px; color: var(--ink-3); margin-bottom: 6px; }
#pl-form .yn { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
#pl-form .yn-row { display: flex; align-items: center; border-top: 1px solid var(--line-2); }
#pl-form .yn-row:first-child { border-top: none; }
#pl-form .yn-label { flex: 1; padding: 9px 12px; font-size: 13.5px; }
#pl-form .yn-seg { display: flex; gap: 5px; padding: 6px 9px; flex: none; }
#pl-form .yn-opt {
  display: flex; align-items: center; gap: 5px; padding: 4px 10px; font-size: 12.5px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
#pl-form .yn-opt input { width: 14px; height: 14px; accent-color: var(--blue); padding: 0; box-shadow: none; border: none; }
#pl-form .yn-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); font-weight: 600; }
#pl-form .grid-table { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
#pl-form .gt-row { display: flex; border-top: 1px solid var(--line-2); }
#pl-form .gt-row:first-child { border-top: none; }
#pl-form .gt-head { background: var(--surface-2); }
#pl-form .gt-head .gt-cell { padding: 8px 10px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
#pl-form .gt-cell { flex: 1 1 0; padding: 5px; min-width: 0; }
#pl-form .gt-cell input { border-color: transparent; background: transparent; box-shadow: none; padding: 7px; }
@media (max-width: 560px) {
  #pl-form .gt-head { display: none; }
  #pl-form .gt-row { flex-direction: column; border-top: 2px solid var(--line); }
  #pl-form .gt-cell input { border-color: var(--line); }
}
/* read-only стан і підсвітка змін між знімками */
.readonly input, .readonly textarea, .readonly select { pointer-events: none; background: var(--surface-2); color: var(--ink-2); }
.readonly .opt, .readonly .yn-opt { pointer-events: none; }
.readonly .field.filled { background: rgba(37,99,235,.04); }
.hl { background: var(--amber-bg) !important; box-shadow: 0 0 0 2px #FEDF89; border-radius: var(--radius-sm); }

/* ---------- мобільний ---------- */
@media (max-width: 900px) {
  .forms-main th:nth-child(3), .forms-main td:nth-child(3),
  .forms-main th:nth-child(6), .forms-main td:nth-child(6) { display: none; }
  .search-box { margin-left: 0; flex-basis: 100%; }
  .topbar-in { gap: 12px; }
  .nav-link { padding: 0 10px; font-size: 13.5px; }
}

@media print {
  .topbar, .player-bar, .btn, .toasts { display: none !important; }
  .table-scroll, #pl-form .card { box-shadow: none; }
}

/* ---------- модалка прав доступу ---------- */
.perm-list { display: flex; flex-direction: column; gap: 2px; max-height: 300px; overflow-y: auto; }
.perm-list.is-locked { opacity: .55; }
.perm-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px;
  border-radius: var(--radius-sm); cursor: pointer;
}
.perm-item:hover { background: var(--surface-2); }
.perm-list.is-locked .perm-item { cursor: default; }
.perm-item input { width: 16px; height: 16px; margin-top: 2px; flex: none; accent-color: var(--blue); padding: 0; box-shadow: none; border: none; }
.perm-item span { display: flex; flex-direction: column; gap: 1px; }
.perm-item b { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.perm-item i { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); font-style: normal; }
.perm-preset {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--ink-2); cursor: pointer;
}
.perm-preset input { width: 16px; height: 16px; flex: none; accent-color: var(--blue); padding: 0; box-shadow: none; border: none; }
.perm-dot { color: var(--blue); font-size: 15px; line-height: 1; }

/* ---------- налаштування ---------- */
.acc-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; font-size: 13.5px; }
.acc-list dt { color: var(--ink-3); }
.acc-list dd { margin: 0; color: var(--ink); font-weight: 500; }
.acc-list dd .badge { font-weight: 500; margin: 0 4px 4px 0; }
#settings-view .create-grid { margin-bottom: 16px; }

/* Форми налаштувань — один стовпчик (кожне поле окремим рядком).
   Ширина обмежена: довгий рядок вводу для пароля тільки заважає. */
.stack { display: flex; flex-direction: column; gap: 16px; max-width: 380px; margin-bottom: 18px; }

/* ---------- перемикач (slider) ---------- */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13.5px; margin-bottom: 16px; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track {
  position: relative; width: 38px; height: 22px; border-radius: 999px;
  background: var(--line); transition: background .15s ease; flex: none;
}
.switch-knob {
  position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm); transition: transform .15s ease;
}
.switch input:checked + .switch-track { background: var(--blue); }
.switch input:checked + .switch-track .switch-knob { transform: translateX(16px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- список ігнорованих IP ---------- */
.ign-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 2px; max-width: 420px; }
.ign-item { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: var(--radius-sm); }
.ign-item:hover { background: var(--surface-2); }
.ign-item label { display: flex; align-items: center; gap: 9px; flex: 1; cursor: pointer; }
.ign-item input { width: 16px; height: 16px; flex: none; accent-color: var(--blue); padding: 0; box-shadow: none; border: none; }
.ign-item .cell-id { font-size: 12.5px; }

/* ---------- фільтр ботів ---------- */
.bots-area {
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6;
  max-width: 420px; min-height: 150px; resize: vertical;
}
.row-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
