:root {
  --bg: #0a0e14;
  --surface: #121826;
  --border: #243044;
  --text: #e8edf4;
  --muted: #8b9cb3;
  --accent: #3b82f6;
  --accent-dim: #2563eb;
  --danger: #ef4444;
  --radius: 10px;
  /* Native <select> / form control popups follow OS theme unless we declare dark. */
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

a { color: var(--accent); }
.hidden { display: none !important; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.brand { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }

.app-body {
  display: flex;
  min-height: calc(100vh - 60px);
  align-items: stretch;
}
.app-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1rem 0.65rem;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}
.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.04);
}
.sidebar-item.active {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.35);
}
.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 0.6rem 0.35rem;
}
.sidebar-folder-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0.35rem 0.5rem 0.45rem;
  opacity: 0.9;
}
.sidebar-sublink {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  text-align: left;
  padding: 0.48rem 0.65rem;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.sidebar-sublink:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.06);
}
.sidebar-sublink.active {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.35);
}
.sidebar-sublink-ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.75;
  color: var(--muted);
}
.sidebar-sublink.active .sidebar-sublink-ico {
  color: var(--accent);
  opacity: 1;
}
.sidebar-sublink-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-folder-details {
  margin-top: 0.35rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.sidebar-folder-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: var(--text);
}
.sidebar-folder-summary::-webkit-details-marker {
  display: none;
}
.sidebar-folder-chevron {
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform 0.2s ease;
}
.sidebar-folder-details[open] .sidebar-folder-chevron {
  transform: rotate(180deg);
}
.sidebar-folder-panel {
  padding: 0 0.55rem 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.sidebar-folder-panel-hint {
  font-size: 0.68rem;
  color: var(--muted);
  margin: 0.55rem 0.1rem 0.5rem;
  line-height: 1.35;
}
.sidebar-new-folder-parent {
  font-size: 0.68rem;
  color: var(--muted);
  margin: 0 0.1rem 0.45rem;
  line-height: 1.4;
}
.sidebar-new-folder-parent strong {
  color: var(--text);
  font-weight: 600;
}
.btn-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.btn-link:hover {
  opacity: 0.92;
}
.folder-dynamic-list {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.folder-dynamic-empty {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.5rem 0.35rem;
  line-height: 1.4;
  list-style: none;
}
.sidebar-folder-create {
  flex-direction: column;
  gap: 0.45rem;
}
.sidebar-folder-create .btn-create-folder {
  width: 100%;
  justify-content: center;
}
.sidebar-folder-row .folder-nav-item {
  padding: 0.42rem 0.5rem;
  font-size: 0.8rem;
}
.sidebar-folder-row .folder-item-icon {
  width: 15px;
  height: 15px;
}
.folders-mode-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  line-height: 1.45;
}
.folders-mode-hint strong {
  color: rgba(232, 237, 244, 0.95);
  font-weight: 600;
}
.app-main {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 1.25rem 1.5rem 2rem;
}
.main-toolbar .context-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
/* —— Folder rows (sidebar dynamic list + table column) —— */
@media (max-width: 768px) {
  .app-body { flex-direction: column; }
  .app-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-item {
    flex: 1 1 42%;
    justify-content: center;
  }
  .sidebar-folder-details {
    flex: 1 1 100%;
    width: 100%;
  }
}
.folder-nav-li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.folder-nav-li:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.06);
}
.folder-nav-li .folder-nav-item {
  border-radius: 10px 0 0 10px;
}
.folder-nav-li .folder-li-actions {
  padding-right: 0.35rem;
}
.folder-nav-item {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  border: 1px solid transparent;
}
.folder-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  border-radius: 0 4px 4px 0;
  background: var(--accent);
  transition: height 0.18s ease;
}
.folder-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}
.folder-nav-item.active {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0.06));
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.folder-nav-item.active::before {
  height: 60%;
}
.folder-item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.85;
  color: var(--muted);
  margin-top: 0.2rem;
  align-self: start;
}
.folder-nav-item.active .folder-item-icon {
  color: var(--accent);
  opacity: 1;
}
.folder-nav-label {
  min-width: 0;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  font-weight: 500;
  line-height: 1.3;
  padding-top: 0.1rem;
}
.folder-badge {
  font-size: 0.7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  flex-shrink: 0;
  line-height: 1.3;
  align-self: center;
}
.folder-nav-item.active .folder-badge {
  background: rgba(59, 130, 246, 0.35);
  color: #fff;
}
.folder-badge--muted {
  opacity: 0.45;
  font-weight: 600;
}
.folder-li-actions {
  display: inline-flex;
  align-items: flex-start;
  gap: 0;
  opacity: 0.55;
  transition: opacity 0.15s ease;
  padding-top: 0.15rem;
}
.folder-nav-li:hover .folder-li-actions {
  opacity: 1;
}
/* While the folder overflow menu is open, keep actions fully visible when pointer moves toward the floating panel. */
.folder-nav-li:has(.folder-actions-menu.is-open) .folder-li-actions {
  opacity: 1;
}
.folder-actions-trigger {
  flex-shrink: 0;
}
.folder-actions-menu {
  position: fixed;
  z-index: 2100;
  margin: 0;
  padding: 0.35rem 0;
  min-width: 11rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}
.folder-actions-menu.hidden {
  display: none !important;
}
.folder-actions-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.48rem 0.85rem;
  font-size: 0.82rem;
  font-family: inherit;
  text-align: left;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.1s ease, color 0.1s ease;
}
.folder-actions-item:hover,
.folder-actions-item:focus-visible {
  background: rgba(59, 130, 246, 0.14);
  outline: none;
}
.folder-actions-item--danger:hover,
.folder-actions-item--danger:focus-visible {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.12);
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 0.75rem;
  line-height: 1;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.12s, color 0.12s;
}
.btn-icon:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}
.btn-icon.folder-del:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.12);
}
.btn-icon .icon-btn-svg {
  width: 15px;
  height: 15px;
}
.folder-nav-new {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.folder-nav-new input {
  flex: 1;
  min-width: 0;
  margin: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}
.folder-nav-new input::placeholder {
  color: rgba(139, 156, 179, 0.65);
}
.folder-nav-new input:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.btn-create-folder {
  border-radius: 10px;
  padding-left: 1rem;
  padding-right: 1rem;
  font-weight: 600;
  white-space: nowrap;
}
#view-app.mode-folders .main-toolbar .context-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.td-folder select.folder-move {
  max-width: 200px;
  font-size: 0.8rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  color: var(--text);
  background-color: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  color-scheme: dark;
}
.td-folder select.folder-move:hover {
  border-color: rgba(59, 130, 246, 0.35);
}
.mode-folders .td-folder select.folder-move {
  background-color: rgba(18, 24, 38, 0.95);
  border-color: rgba(59, 130, 246, 0.22);
}

/* Dropdown list items (partial browser support; pairs with color-scheme: dark). */
select.folder-move option,
select.folder-move optgroup,
#view-app select option,
#view-app select optgroup,
#modal-root select option,
#modal-root select optgroup {
  background-color: var(--surface);
  color: var(--text);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

h1 { font-size: 1.35rem; margin: 0 0 1rem; font-weight: 600; }
h2 { font-size: 1rem; margin: 0 0 0.75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { border-color: var(--muted); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent-dim);
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-danger { border-color: var(--danger); color: var(--danger); }

input, select, textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  color-scheme: dark;
}
label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.25rem; }
.field { margin-bottom: 0.85rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }

.auth-wrap { max-width: 400px; margin: 3rem auto; }
.tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.tabs button {
  flex: 1;
  padding: 0.6rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.tabs button.active { color: var(--text); border-color: var(--accent); }

.msg { padding: 0.65rem 0.75rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.875rem; }
.msg-err { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.35); color: #fca5a5; }

table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th, td { text-align: left; padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
tr:hover td { background: rgba(255,255,255,0.02); }
.td-dest-url a,
.td-track-url a {
  word-break: break-word;
}

.toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 1rem; }
.toolbar-split {
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
}
.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.bulk-import-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.45);
}
.toolbar label { display: inline; margin: 0 0.25rem 0 0; }
.chk-inline { width: auto; margin-right: 0.35rem; }

.tab-count {
  font-size: 0.72rem;
  font-weight: 600;
  min-width: 1.25rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--border);
  color: var(--text);
}
.sidebar-item.active .tab-count {
  background: var(--accent-dim);
  color: #fff;
}

.trash-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin: -0.5rem 0 1rem;
  padding: 0.65rem 0.85rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 8px;
}
.trash-hint strong { color: var(--text); font-weight: 600; }

/* Lightweight alerts / confirms / prompts (above dropdowns & main modals) */
#app-dialog-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}
#app-dialog-root .app-dialog-backdrop {
  pointer-events: auto;
}
.app-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
}
.app-dialog-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding: 1.25rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}
.app-dialog-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.app-dialog-msg {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.app-dialog-input {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  box-sizing: border-box;
}
.app-dialog-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 2rem 1rem; overflow-y: auto; z-index: 50;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%; max-width: 520px;
  padding: 1.25rem;
  margin-top: 1rem;
}
.modal:has(.modal-editor-grid) {
  max-width: 760px;
}
.modal h3 { margin: 0 0 1rem; font-size: 1.1rem; }
.modal-actions { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 1rem; flex-wrap: wrap; }

.preview-qr { max-width: 220px; margin: 0.5rem 0; background: #fff; padding: 8px; border-radius: 8px; }
.preview-qr img, .preview-qr canvas { display: block; width: 100%; height: auto; max-width: 220px; }
.preview-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.35rem; line-height: 1.4; }

.modal-editor-grid {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 230px);
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 640px) {
  .modal-editor-grid { grid-template-columns: 1fr; }
}

.preview-column {
  position: sticky;
  top: 0;
}
.preview-column h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--border);
}
.editor-fields > .row2 + .toggle-row {
  border-top: 0;
  margin-top: 0.25rem;
  padding-top: 0;
}
.toggle-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}
.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 44px;
  height: 26px;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}
.toggle-ui {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--border);
  transition: background 0.2s ease;
  pointer-events: none;
}
.toggle-ui::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.toggle-switch input:focus-visible + .toggle-ui {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.toggle-switch input:checked + .toggle-ui {
  background: var(--accent-dim);
}
.toggle-switch input:checked + .toggle-ui::after {
  transform: translateX(18px);
  background: #fff;
}

.opt-panel {
  margin-top: 0.65rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
}
.opt-panel.hidden { display: none; }

.qr-thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  display: block;
  border: 1px solid var(--border);
}
.td-export {
  vertical-align: middle;
}
.export-dropdown-wrap {
  position: relative;
  display: inline-block;
}
.btn-export {
  padding: 0.38rem 0.6rem;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.export-chevron {
  flex-shrink: 0;
  opacity: 0.85;
}
.export-dropdown-menu {
  position: fixed;
  z-index: 2000;
  margin: 0;
  padding: 0.35rem 0;
  min-width: 11rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.export-dropdown-menu.hidden {
  display: none !important;
}
.export-dropdown-item {
  display: block;
  padding: 0.48rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.export-dropdown-item:hover,
.export-dropdown-item:focus-visible {
  background: rgba(59, 130, 246, 0.14);
  outline: none;
}

.scans-list { max-height: 220px; overflow-y: auto; font-size: 0.8rem; color: var(--muted); }
.scans-list div { padding: 0.35rem 0; border-bottom: 1px solid var(--border); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
