/* ═══════════════════════════════════════════════════════════════
   NEWTONE IT HUB — Design System v1.0
   Palette: groen · donkergroen · fluor-groen · grijs · wit · zwart
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Brand */
  --nt-green:        #00A651;
  --nt-green-dark:   #00622F;
  --nt-green-neon:   #C8FF57;
  --nt-green-10:     rgba(0,166,81,.10);
  --nt-green-20:     rgba(0,166,81,.20);

  /* Neutrals */
  --nt-black:        #111418;
  --nt-grey-900:     #1C2128;
  --nt-grey-800:     #2D3748;
  --nt-grey-600:     #5A6472;
  --nt-grey-400:     #9CA6B0;
  --nt-grey-200:     #E2E7EC;
  --nt-grey-100:     #F0F3F6;
  --nt-grey-50:      #F8FAFB;
  --nt-white:        #FFFFFF;

  /* Semantic */
  --color-danger:    #DC2626;
  --color-danger-bg: #FEF2F2;
  --color-warn:      #D97706;
  --color-warn-bg:   #FFFBEB;
  --color-success:   #059669;
  --color-success-bg:#ECFDF5;
  --color-info:      #2563EB;
  --color-info-bg:   #EFF6FF;

  /* Sidebar */
  --sidebar-bg:      #0A1410;
  --sidebar-w:       240px;
  --sidebar-w-mini:  60px;
  --sidebar-transition: width .2s ease;

  /* Surface */
  --surface:         var(--nt-white);
  --surface-2:       var(--nt-grey-50);
  --surface-3:       var(--nt-grey-100);
  --border:          var(--nt-grey-200);
  --text:            var(--nt-grey-900);
  --text-2:          var(--nt-grey-600);
  --text-3:          var(--nt-grey-400);

  /* Misc */
  --radius-sm:  6px;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:  0 12px 32px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; font-size: 14px; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--nt-grey-100); color: var(--text); height: 100%; }
a { color: var(--nt-green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ─────────────────────────────────────────────────── */
#app { display: flex; height: 100vh; overflow: hidden; }

/* ── Sidebar ─────────────────────────────────────────────────── */
#sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  transition: var(--sidebar-transition);
  overflow: hidden;
  position: relative;
  z-index: 100;
}
#sidebar.mini { width: var(--sidebar-w-mini); min-width: var(--sidebar-w-mini); }

/* Logo area */
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  min-height: 60px;
  text-decoration: none;
}
.sidebar-logo-mark {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--nt-green);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.sidebar-logo-mark svg { width: 18px; height: 18px; color: #fff; }
.sidebar-logo-text { overflow: hidden; }
.sidebar-logo-name { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; letter-spacing: -.01em; }
.sidebar-logo-sub  { font-size: 10px; color: rgba(255,255,255,.4); white-space: nowrap; margin-top: 1px; }
#sidebar.mini .sidebar-logo-text { display: none; }

/* Toggle button */
.sidebar-toggle {
  position: absolute; top: 14px; right: -12px;
  width: 24px; height: 24px;
  background: var(--nt-green); border: 2px solid var(--sidebar-bg);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 101; transition: background .15s;
}
.sidebar-toggle:hover { background: var(--nt-green-dark); }
.sidebar-toggle svg { width: 10px; height: 10px; color: #fff; transition: transform .2s; }
#sidebar.mini .sidebar-toggle svg { transform: rotate(180deg); }

/* Nav */
.nav-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 8px 0; }
.nav-body::-webkit-scrollbar { width: 3px; }
.nav-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }

.nav-section { margin-bottom: 4px; }
.nav-label {
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.3); padding: 12px 16px 4px;
  white-space: nowrap; overflow: hidden;
  transition: opacity .15s;
}
#sidebar.mini .nav-label { opacity: 0; height: 0; padding: 0; }

.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; cursor: pointer; border-radius: 0;
  color: rgba(255,255,255,.65); font-size: 13px; font-weight: 500;
  transition: background .12s, color .12s;
  position: relative; white-space: nowrap; overflow: hidden;
  border-left: 3px solid transparent;
  text-decoration: none;
}
.nav-item:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.9); }
.nav-item.active { background: var(--nt-green-10); color: #fff; border-left-color: var(--nt-green); }
.nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-item-label { transition: opacity .15s; white-space: nowrap; }
#sidebar.mini .nav-item-label { opacity: 0; width: 0; overflow: hidden; }
#sidebar.mini .nav-item { padding: 10px 0; justify-content: center; border-left: none; }
#sidebar.mini .nav-item.active { background: var(--nt-green-10); }

/* Tooltip for mini mode */
#sidebar.mini .nav-item:hover::after {
  content: attr(data-label);
  position: absolute; left: calc(var(--sidebar-w-mini) + 8px); top: 50%;
  transform: translateY(-50%);
  background: var(--nt-grey-900); color: #fff;
  font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: var(--radius-sm);
  white-space: nowrap; pointer-events: none; z-index: 200;
  box-shadow: var(--shadow);
}

.nav-badge {
  margin-left: auto; font-size: 10px; font-weight: 700;
  padding: 1px 6px; border-radius: 10px; flex-shrink: 0;
  background: var(--color-danger); color: #fff;
}
.nav-badge.warn { background: var(--color-warn); }
.nav-badge.info { background: var(--color-info); }
#sidebar.mini .nav-badge { display: none; }

/* Sidebar footer */
.sidebar-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 10px 14px;
}
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; border-radius: var(--radius-sm);
  padding: 6px 4px; transition: background .12s;
  text-decoration: none;
}
.sidebar-user:hover { background: rgba(255,255,255,.06); }
.sidebar-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--nt-green); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.sidebar-user-info { overflow: hidden; }
.sidebar-user-name { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: 10px; color: rgba(255,255,255,.4); white-space: nowrap; }
#sidebar.mini .sidebar-user-info { display: none; }
#sidebar.mini .sidebar-footer { padding: 10px 0; display: flex; justify-content: center; }

/* ── Main area ──────────────────────────────────────────────── */
#main { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }

/* Header */
#header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
  padding: 0 20px; height: 44px; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.header-title { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: -.02em; flex: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; }

/* Breadcrumb */
.breadcrumb { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }
.breadcrumb-sep { color: var(--text-3); }

/* Content */
#content { flex: 1; overflow-y: auto; padding: 16px 20px; font-size: 13px; }
#content::-webkit-scrollbar { width: 6px; }
#content::-webkit-scrollbar-thumb { background: var(--nt-grey-200); border-radius: 3px; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
}
.card-header h2 { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.card-body { padding: 12px 14px; }

/* ── KPI grid ───────────────────────────────────────────────── */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 10px; margin-bottom: 12px; }
.kpi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 12px 14px; box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--nt-grey-200);
}
.kpi-card.primary { border-top-color: var(--nt-green); }
.kpi-card.danger  { border-top-color: var(--color-danger); }
.kpi-card.warn    { border-top-color: var(--color-warn); }
.kpi-card.success { border-top-color: var(--color-success); }
.kpi-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); margin-bottom: 5px; }
.kpi-value { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -.03em; line-height: 1; margin-bottom: 3px; }
.kpi-sub   { font-size: 10px; color: var(--text-3); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600; border: 1.5px solid transparent;
  cursor: pointer; font-family: inherit; transition: all .12s; white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 13px; height: 13px; }
.btn-primary   { background: var(--nt-green); color: #fff; border-color: var(--nt-green); }
.btn-primary:hover { background: var(--nt-green-dark); border-color: var(--nt-green-dark); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--nt-grey-400); }
.btn-danger    { background: var(--color-danger); color: #fff; border-color: var(--color-danger); }
.btn-danger:hover { background: #b91c1c; }
.btn-ghost     { background: transparent; color: var(--text-2); border-color: transparent; padding: 5px 8px; }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-sm  { padding: 3px 8px; font-size: 11px; }
.btn-icon { padding: 5px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid .span2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.field label { font-size: 11px; font-weight: 600; color: var(--text-2); letter-spacing: .01em; }
input, select, textarea {
  padding: 5px 9px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 12px; font-family: inherit;
  color: var(--text); background: var(--surface); outline: none;
  transition: border-color .12s, box-shadow .12s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--nt-green); box-shadow: 0 0 0 2px var(--nt-green-10);
}
textarea { resize: vertical; min-height: 64px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA6B0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; padding-right: 26px; }

/* ── Table ──────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th { background: var(--nt-grey-50); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); padding: 7px 12px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
tbody td { padding: 7px 12px; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--nt-grey-50); }
tbody tr { cursor: pointer; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 12px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.badge-p1 { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.badge-p2 { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.badge-p3 { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }
.badge-p4 { background: var(--nt-grey-100); color: var(--nt-grey-600); border: 1px solid var(--nt-grey-200); }
.badge-new        { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.badge-in-progress{ background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.badge-pending    { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.badge-resolved   { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.badge-closed     { background: var(--nt-grey-100); color: var(--nt-grey-600); border: 1px solid var(--nt-grey-200); }
.badge-normal     { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.badge-emergency  { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.badge-standard   { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.badge-major      { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ── Alert bars ─────────────────────────────────────────────── */
.alert {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: var(--radius); margin-bottom: 10px;
  font-size: 12px; font-weight: 500;
}
.alert svg { width: 16px; height: 16px; flex-shrink: 0; }
.alert-danger  { background: var(--color-danger-bg); color: var(--color-danger); border: 1px solid #FECACA; }
.alert-warn    { background: var(--color-warn-bg); color: var(--color-warn); border: 1px solid #FDE68A; }
.alert-success { background: var(--color-success-bg); color: var(--color-success); border: 1px solid #A7F3D0; }
.alert-info    { background: var(--color-info-bg); color: var(--color-info); border: 1px solid #BFDBFE; }

/* ── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 500;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 48px 16px; overflow-y: auto;
  animation: fadeIn .12s ease;
}
.modal {
  background: var(--surface); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); width: 100%; max-width: 640px;
  animation: slideUp .15s ease;
}
.modal-lg { max-width: 900px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-header h2 { font-size: 16px; font-weight: 700; color: var(--text); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; }

/* ── Toast ──────────────────────────────────────────────────── */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 1000; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--nt-grey-900); color: #fff;
  padding: 12px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  animation: slideUp .2s ease;
  border-left: 4px solid var(--nt-grey-600);
  max-width: 340px;
}
.toast svg { width: 15px; height: 15px; flex-shrink: 0; }
.toast.success { border-left-color: var(--nt-green); }
.toast.error   { border-left-color: var(--color-danger); }
.toast.warn    { border-left-color: var(--color-warn); }

/* ── Filter bar ─────────────────────────────────────────────── */
.filter-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.filter-bar input, .filter-bar select { height: 28px; font-size: 11px; padding: 3px 8px; }
.search-wrap { position: relative; }
.search-wrap svg { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--text-3); }
.search-wrap input { padding-left: 32px; min-width: 200px; }

/* ── Empty state ────────────────────────────────────────────── */
.empty { padding: 48px 24px; text-align: center; }
.empty-icon { width: 44px; height: 44px; background: var(--surface-3); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.empty-icon svg { width: 22px; height: 22px; color: var(--text-3); }
.empty h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.empty p  { font-size: 13px; color: var(--text-2); margin-bottom: 16px; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── User avatar ────────────────────────────────────────────── */
.avatar {
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; flex-shrink: 0; background: var(--nt-green);
}
.avatar-sm { width: 26px; height: 26px; font-size: 10px; }
.avatar-md { width: 34px; height: 34px; font-size: 12px; }
.avatar-lg { width: 44px; height: 44px; font-size: 16px; }

/* ── Progress bar ───────────────────────────────────────────── */
.progress-bar { height: 6px; background: var(--nt-grey-200); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--nt-green); border-radius: 3px; transition: width .3s; }

/* ── Detail view: TOPdesk-stijl (linker metabalk + rechter gesprek) ─ */
/* Layout via inline styles in renderIncidentDetail(); scrollbar styling */
:root {
  --color-info-bg: #eff6ff;
  --color-success-bg: #f0fdf4;
}
#content:has(.topdesk-detail) { overflow: hidden; display: flex; flex-direction: column; }
.topdesk-detail { flex: 1; min-height: 0; display: flex; flex-direction: column; }
#content:has(.settings-grid) { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.settings-grid { flex: 1; min-height: 0; }

/* ── Rich Text Editor ───────────────────────────────────────── */
.rte-wrap:focus-within { border-color: var(--nt-green); box-shadow: 0 0 0 2px rgba(0,166,81,.12); }
.rte-toolbar button:hover { background: var(--surface-3); color: var(--text); }
[contenteditable]:empty::before { content: attr(data-placeholder); color: var(--text-3); pointer-events: none; }
[contenteditable] img { max-width: 100%; border-radius: 4px; }
#tab-gesprek img, #tab-activiteit img, #desc-display img { max-width: 100%; height: auto; border-radius: 4px; display: block; }
[contenteditable] a { color: var(--nt-green); text-decoration: underline; }

/* ── Tabs ───────────────────────────────────────────────────── */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tab  { padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .12s, border-color .12s; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--nt-green); border-bottom-color: var(--nt-green); }

/* ── Settings page ──────────────────────────────────────────── */
.settings-grid { display: grid; grid-template-columns: 220px 1fr; height: 100%; overflow: hidden; }
.settings-nav  { display: flex; flex-direction: column; gap: 0; border-right: 1px solid var(--border); padding: 12px 8px; overflow-y: auto; }
.settings-nav-group { margin-bottom: 4px; }
.settings-nav-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); padding: 10px 12px 3px; }
.settings-nav-item { padding: 7px 12px; border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text-2); display: flex; align-items: center; gap: 8px; transition: background .12s, color .12s; }
.settings-nav-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.settings-nav-item:hover { background: var(--surface-3); color: var(--text); }
.settings-nav-item.active { background: var(--nt-green-10); color: var(--nt-green); font-weight: 600; }
.settings-content { overflow-y: auto; }

.settings-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.settings-row:last-child { border-bottom: none; }
.settings-label h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.settings-label p  { font-size: 12px; color: var(--text-2); max-width: 340px; line-height: 1.5; }
.settings-control { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }

/* Toggle switch */
.toggle { position: relative; width: 40px; height: 22px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track { position: absolute; inset: 0; background: var(--nt-grey-200); border-radius: 11px; cursor: pointer; transition: background .2s; }
.toggle input:checked + .toggle-track { background: var(--nt-green); }
.toggle-thumb { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: var(--shadow-sm); }
.toggle input:checked ~ .toggle-thumb { transform: translateX(18px); }

/* ── Utility ────────────────────────────────────────────────── */
.text-sm   { font-size: 12px; }
.text-xs   { font-size: 11px; }
.text-muted { color: var(--text-2); }
.text-danger { color: var(--color-danger); }
.text-success { color: var(--color-success); }
.font-mono { font-family: 'SF Mono', 'Fira Code', monospace; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.ml-auto { margin-left: auto; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
