/* ═══════════════════════════════════════════════════════════
   Alias-variabler (mappar fable.css till kortnamn)
   ═══════════════════════════════════════════════════════════ */
:root {
  --surface:        var(--bg-surface);
  --surface-2:      var(--bg-elevated);
  --hover:          var(--bg-hover);
  --text:           var(--text-primary);
  --text-2:         var(--text-secondary);
  --muted:          var(--text-muted);
  --accent-hover:   var(--accent-hover, #3451d4);
  --border-subtle:  var(--border-light, #1d2438);
}

/* App-specifika tillägg utöver Fable */

/* Phase header in flow detail */
.phase-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 8px;
}

.phase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Script actions bar */
.script-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.script-type-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.15s;
  text-align: left;
  width: 100%;
}
.script-type-card:hover { border-color: var(--accent); }
.script-type-card h3 { margin-bottom: 4px; }
.script-type-card p { font-size: 12px; color: var(--text-muted); }

/* CSV preview table */
.csv-preview {
  max-height: 260px;
  overflow: auto;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 12px;
}

/* Employee avatar */
.emp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-accent);
  flex-shrink: 0;
}



/* Timeline dot */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 12px; }
.timeline-line-wrap { display: flex; flex-direction: column; align-items: center; }
.timeline-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); flex-shrink: 0; margin-top: 4px; }
.timeline-dot.done { background: var(--green); }
.timeline-dot.active { background: var(--accent); }
.timeline-line { width: 1px; background: var(--border-light); flex: 1; margin: 4px 0; }
.timeline-content { flex: 1; padding-bottom: 16px; }

/* ═══════════════════════════════════════════════════════════
   TILLÄGG: Notiser, My-tasks, Templates, Reports, History
   ═══════════════════════════════════════════════════════════ */

/* ── Notiser ──────────────────────────────────────────────── */
.notif-panel {
  position: absolute;
  top: 56px;
  right: 12px;
  width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  z-index: 200;
  max-height: 480px;
  overflow-y: auto;
}
.notif-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 13px;
  position: sticky;
  top: 0;
  background: var(--surface);
}
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background .15s;
}
.notif-item:hover { background: var(--hover); }
.notif-item.unread { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.notif-item.unread .notif-msg { font-weight: 600; }
.notif-icon { font-size: 16px; min-width: 20px; padding-top: 1px; }
.notif-content { flex: 1; }
.notif-msg  { font-size: 13px; color: var(--text); line-height: 1.4; }
.notif-time { font-size: 11px; color: var(--muted); margin-top: 2px; }
.notif-goto {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 16px;
  padding: 0 4px;
  align-self: center;
}
.notif-empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e53e3e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.topbar-notif {
  position: relative;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
  transition: background .15s;
}
.topbar-notif:hover { background: var(--hover); }

/* ── My-tasks ─────────────────────────────────────────────── */
.tabs-row {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.tab-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .15s;
}
.tab-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.tab-btn:hover:not(.active) { background: var(--hover); }
.tab-count {
  background: rgba(255,255,255,.2);
  border-radius: 9px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
}
.tab-btn:not(.active) .tab-count {
  background: var(--border);
  color: var(--muted);
}
.tasks-container { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.tasks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
}
.task-row {
  display: grid;
  grid-template-columns: 24px 1fr 200px 70px auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background .15s;
}
.task-row:hover { background: var(--hover); }
.task-row.done .task-step { text-decoration: line-through; color: var(--muted); }
.task-check { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.task-step  { font-size: 13px; }
.task-emp   { font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.task-flow-link { font-size: 12px; color: var(--accent); cursor: pointer; }
.task-flow-link:hover { text-decoration: underline; }
.task-done-at { font-size: 11px; color: var(--muted); }
.tasks-done-details {
  padding: 0;
  border-top: 1px solid var(--border);
}
.tasks-done-details summary {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.empty-state-sm {
  padding: 24px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ── Templates ────────────────────────────────────────────── */
.tmpl-phase {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.tmpl-phase-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.phase-name-input {
  flex: 1;
  font-weight: 600;
  font-size: 13px;
}
.tmpl-steps { padding: 8px 14px; }
.tmpl-step-row {
  display: grid;
  grid-template-columns: 1fr 110px 130px 32px;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}
.step-name-input { font-size: 13px; }
.step-owner-sel  { font-size: 12px; }
.step-required-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}
.btn-xs { padding: 4px 8px; font-size: 11px; }

/* ── Reports ──────────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
}
.stat-card.accent-on  { border-color: #48bb78; }
.stat-card.accent-off { border-color: #e53e3e; }
.stat-card.accent-ok  { border-color: #38b2ac; }
.stat-card.accent-warn { border-color: #ed8936; }
.stat-icon  { font-size: 20px; margin-bottom: 6px; }
.stat-value { font-size: 28px; font-weight: 700; color: var(--text); }
.stat-label { font-size: 11px; color: var(--muted); margin-top: 2px; }

.reports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.report-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.report-full-width { grid-column: 1 / -1; }
.section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 12px;
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.bar-list { display: flex; flex-direction: column; gap: 8px; }
.bar-row  { display: grid; grid-template-columns: 1fr 100px 40px; gap: 8px; align-items: center; }
.bar-label { font-size: 12px; color: var(--text-2); }
.bar-track { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.bar-fill  { height: 100%; background: var(--accent); border-radius: 3px; transition: width .3s; }
.bar-fill.accent-purple { background: #805ad5; }
.bar-val   { font-size: 12px; font-weight: 600; text-align: right; }
.table-footer { padding: 8px 0; font-size: 11px; color: var(--muted); text-align: right; }

/* ── History ──────────────────────────────────────────────── */
.history-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
}
.badge-rev  { background: #805ad5; color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 9px; }
.detail-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.detail-table th {
  text-align: left;
  width: 140px;
  color: var(--muted);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.detail-table td {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text);
}

/* ── Card-actions ─────────────────────────────────────────── */
.card-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.danger-text  { color: #e53e3e !important; }

/* ── Chip variants ────────────────────────────────────────── */
.chip-on  { background: #c6f6d5; color: #276749; }
.chip-off { background: #fed7d7; color: #9b2c2c; }
.chip-event { background: var(--surface-2); color: var(--text-2); font-size: 11px; }

/* ── misc ─────────────────────────────────────────────────── */
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mono { font-family: monospace; font-size: 12px; }
.link { color: var(--accent); cursor: pointer; }
.link:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════════════════════
   SCROLL-FIX: sidinnehåll som inte har page-body-wrapper
   ═══════════════════════════════════════════════════════════ */

/* Alla page-content-divs (dashboardContent, settingsContent etc.)
   ska kunna ta upp hela tillgängliga höjden och scrolla */
#settingsContent,
#reportsContent,
#templatesContent,
#myTasksContent,
#historyContent {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;      /* nödvändigt i flexbox för att overflow ska fungera */
}

/* Inre scroll-container i settings */
.settings-scroll {
  padding: 20px 24px 40px;
  max-width: 860px;
}

/* Spara-knapp fast längst ned */
.settings-footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 0 8px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  position: sticky;
  bottom: 0;
  background: var(--bg-base);
}

/* form-hint under inputs */
.form-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  font-family: var(--mono);
}

/* ═══════════════════════════════════════════════════════════
   TOPBAR + PROFILE-SWITCHER (sidebar)
   ═══════════════════════════════════════════════════════════ */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 52px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-breadcrumb {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar-profile-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-2);
  transition: background .15s;
}
.topbar-profile-btn:hover { background: var(--hover); }

/* Profile switcher (sidebar) */
.profile-switcher {
  margin: 8px 10px 4px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s;
  position: relative;
}
.profile-switcher:hover { background: var(--hover); }
.profile-switcher-inner { display: flex; align-items: center; gap: 10px; }
.profile-avatar {
  width: 28px; height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.profile-info { flex: 1; min-width: 0; }
.profile-name {
  font-size: 12px; font-weight: 600;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.profile-sub  { font-size: 10px; color: var(--muted); }
.profile-chevron { color: var(--muted); font-size: 12px; }

/* Profile drop-down menu */
.profile-menu {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin: 4px 10px;
  overflow: hidden;
  z-index: 300;
}
.pmenu-list { padding: 4px; }
.pmenu-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s;
}
.pmenu-item:hover { background: var(--hover); }
.pmenu-item.active { background: var(--hover); }
.pmenu-avatar {
  width: 26px; height: 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  flex-shrink: 0;
}
.pmenu-info { flex: 1; min-width: 0; }
.pmenu-name    { font-size: 12px; font-weight: 600; color: var(--text); }
.pmenu-company { font-size: 10px; color: var(--muted); }
.pmenu-check   { color: var(--accent); font-size: 13px; }
.pmenu-footer  {
  display: flex; gap: 6px; padding: 8px;
  border-top: 1px solid var(--border);
}
.pmenu-btn {
  flex: 1;
  padding: 6px 8px;
  font-size: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--text-2);
  text-align: center;
  transition: background .15s;
}
.pmenu-btn:hover { background: var(--hover); }
.pmenu-btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.pmenu-btn-primary:hover { background: var(--accent-hover); }

/* Profile cards (modal) */
.profile-cards { display: flex; flex-direction: column; gap: 10px; }
.profile-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  transition: border-color .15s;
}
.profile-card.active { border-color: var(--accent); }
.profile-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.profile-card-avatar {
  width: 36px; height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.profile-card-name   { font-size: 14px; font-weight: 600; color: var(--text); }
.profile-card-domain { font-size: 11px; color: var(--muted); }
.profile-card-stats  { font-size: 11px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 6px; }
.profile-card-actions { display: flex; gap: 8px; }

/* ═══════════════════════════════════════════════════════════
   VÄLKOMSTBREV (letter-engine output)
   ═══════════════════════════════════════════════════════════ */

.letter-wrap {
  max-width: 640px;
  margin: 24px auto;
  background: #ffffff;
  border-radius: 8px;
  padding: 40px 48px;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #1a1a1a;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.letter-logo  { max-height: 60px; max-width: 180px; margin-bottom: 20px; object-fit: contain; }
.letter-title {
  font-size: 22px; font-weight: 700;
  color: #1a1a1a; margin-bottom: 6px;
  letter-spacing: -.02em;
}
.letter-greeting {
  font-size: 15px; color: #444;
  margin-bottom: 28px;
}
.letter-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}
.letter-section:last-of-type { border-bottom: none; }
.letter-section-title {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}
.letter-row {
  display: flex; align-items: baseline;
  gap: 12px; margin-bottom: 6px;
}
.letter-key {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: #666;
  min-width: 140px; flex-shrink: 0;
}
.letter-val {
  font-size: 14px; font-weight: 600; color: #1a1a1a;
  font-family: 'Consolas', 'Courier New', monospace;
}
.letter-desc { font-size: 13px; color: #444; line-height: 1.6; margin-bottom: 8px; }
.letter-hint { font-size: 11px; color: #888; font-style: italic; margin-top: 8px; }
.letter-footer {
  margin-top: 32px;
  font-size: 11px; color: #aaa;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   SETTINGS-PAGE komplettering
   ═══════════════════════════════════════════════════════════ */
.settings-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
}
.settings-section-header {
  padding: 12px 16px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.settings-section-body { padding: 16px; }
.mb-12 { margin-bottom: 12px; }

/* ═══════════════════════════════════════════════════════════
   MODAL-FOOTER
   ═══════════════════════════════════════════════════════════ */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════════
   EMPLOYEES — tabell + åtgärdsrad
   ═══════════════════════════════════════════════════════════ */

.emp-stat-bar {
  display: flex;
  gap: 20px;
  padding: 10px 4px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
}
.emp-stat-item strong { color: var(--text); }

.emp-table th, .emp-table td { padding: 10px 12px; }
.emp-name    { font-weight: 600; font-size: 13px; }
.emp-sub     { font-size: 11px; color: var(--muted); margin-top: 1px; }
.mono-sm     { font-family: var(--mono); font-size: 12px; }
.muted-sm    { color: var(--muted); font-size: 12px; }

.emp-actions-row {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
}
.emp-actions-row .btn-xs {
  padding: 4px 7px;
  font-size: 13px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  transition: background .12s;
  line-height: 1;
}
.emp-actions-row .btn-xs:hover    { background: var(--hover); }
.emp-actions-row .danger-text     { color: #e53e3e !important; }
.emp-actions-row .danger-text:hover { background: rgba(239,68,68,.08); }

/* ═══════════════════════════════════════════════════════════
   EMP-ACTIONS modaler (åtgärder med PS-script)
   ═══════════════════════════════════════════════════════════ */

.emp-action-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 4px;
}
.emp-action-avatar {
  width: 36px; height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.emp-action-name  { font-weight: 600; font-size: 14px; }
.emp-action-sam   { font-size: 11px; color: var(--muted); margin-top: 2px; }
.emp-action-badge {
  font-size: 10px; font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: 9px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Grupp-flikar inuti modal */
.grp-tabs {
  display: flex;
  gap: 4px;
  margin-top: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

/* Grupp-chips (kända grupper) */
.grp-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 130px;
  overflow-y: auto;
  padding: 4px 0;
}
.grp-chip {
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-family: var(--mono);
  cursor: pointer;
  transition: background .12s, border-color .12s;
  user-select: none;
}
.grp-chip:hover         { background: var(--hover); border-color: var(--accent); }
.grp-chip-selected      { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Attribut-editor sektionsetiketter */
.attr-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin: 16px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.attr-section-label:first-child { margin-top: 12px; }

.topbar-theme-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px 9px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-2);
  transition: background .15s, border-color .15s;
  line-height: 1;
}
.topbar-theme-btn:hover { background: var(--hover); }
