/* ============================================================
   Linked Knowledge Studio — Project Design System
   Derived from lks.ltd brand identity + logo colour palette

   Brand characteristics (from lks.ltd + LKS logo):
     - White background, black text
     - Rama Gothic E — bold condensed uppercase headings (confirmed lks.ltd)
     - Space Mono — body/UI text (monospace, matches lks.ltd)
     - Minimal outlined buttons (white fill, black border, no radius)
     - Clean, typographic, Swiss-poster aesthetic
     - Logo palette: Magenta · Yellow · Red · Green · Cyan · Navy

   Usage:
     <link rel="stylesheet" href="./lks-style.css">
   ============================================================ */

/* ── Google Fonts ──────────────────────────────────────────── */
/* Rama Gothic E — confirmed lks.ltd heading font (from browser inspector) */
/* Barlow Condensed listed as fallback if Rama Gothic E is unavailable     */
@import url('https://fonts.googleapis.com/css2?family=Rama+Gothic+E:wght@400;700&family=Barlow+Condensed:wght@700;900&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {

  /* ── Background layers — white/light ── */
  --lks-bg:        #ffffff;   /* page background */
  --lks-surface:   #f7f7f7;   /* slightly off-white — headers, sidebars */
  --lks-surface-2: #efefef;   /* raised surface — cards, panels */
  --lks-surface-3: #e4e4e4;   /* elevated — tooltips, modals */

  /* ── Borders — black/dark ── */
  --lks-border:    #000000;   /* primary border (buttons, frames) */
  --lks-border-2:  #cccccc;   /* subtle / separator border */
  --lks-border-3:  #e8e8e8;   /* very light divider */

  /* ── Text — black scale ── */
  --lks-text:       #000000;  /* primary */
  --lks-text-muted: #555555;  /* secondary / labels */
  --lks-text-dim:   #999999;  /* de-emphasised / placeholders */

  /* ── LKS Logo Brand Palette ── */
  /* Extracted from docs/LKp-logo-3.jpeg — the 6 geometric colours */
  --lks-brand-pink:   #E4007C;   /* Magenta — dominant L shape */
  --lks-brand-yellow: #F9C500;   /* Yellow — diagonal stripes */
  --lks-brand-red:    #E52727;   /* Red — K and S sections */
  --lks-brand-green:  #44B052;   /* Green — K and S centres */
  --lks-brand-cyan:   #00B4D8;   /* Cyan — K, S, L accent rectangles */
  --lks-brand-navy:   #1B3C8C;   /* Navy — small square in K */
  --lks-brand-gray:   #909090;   /* Gray — wordmark text colour */

  /* ── Accent — LKS Magenta (primary brand colour from logo) ── */
  --lks-accent:        #E4007C;
  --lks-accent-hover:  #b5006a;
  --lks-accent-dim:    #fce7f3;
  --lks-accent-glow:   rgba(228, 0, 124, 0.10);

  /* ── Accent 2 — LKS Cyan (secondary brand colour from logo) ── */
  --lks-accent-2:      #00B4D8;
  --lks-accent-2-dim:  #e0f7fc;

  /* ── Semantic / status — mapped to LKS logo colours ── */
  --lks-success:       #44B052;   /* Green from logo — confirmed, final */
  --lks-success-dim:   #e8f5e9;
  --lks-warning:       #F9C500;   /* Yellow from logo — pending */
  --lks-warning-dim:   #fffde7;
  --lks-danger:        #E52727;   /* Red from logo — error, unknown */
  --lks-danger-dim:    #ffebee;
  --lks-info:          #00B4D8;   /* Cyan from logo — informational */
  --lks-info-dim:      #e0f7fc;

  /* ── Settlement family colours — vivid, work on white bg ── */
  --c-s1:          #16a34a;   /* S1 — green */
  --c-s1-ba:       #059669;   /* S1-BA — emerald */
  --c-old-kmj:     #0d9488;   /* OLD-KMJ — teal */
  --c-eventim:     #0284c7;   /* EVENTIM-APOLLO — blue */
  --c-festival:    #0369a1;   /* FESTIVAL-PL — dark blue */
  --c-budget-only: #ca8a04;   /* S1-BUDGET-ONLY — yellow */
  --c-provisional: #ea580c;   /* PROVISIONAL — orange */
  --c-vip:         #7c3aed;   /* VIP-SETTLEMENT — violet */
  --c-marketing:   #475569;   /* MARKETING-SETTLEMENT — slate */
  --c-private:     #52525b;   /* PRIVATE-HIRE — zinc */
  --c-venue:       #b45309;   /* VENUE-CO-PROMO — amber */
  --c-unknown:     #dc2626;   /* UNKNOWN — red */
  --c-error:       #991b1b;   /* ERROR — dark red */

  /* ── Typography ── */
  --lks-font:        "Space Mono", "Courier New", monospace;
  --lks-font-head:   "Rama Gothic E", "Barlow Condensed", "Arial Narrow", sans-serif;
  --lks-font-mono:   "Space Mono", "Courier New", monospace;

  /* Type scale */
  --lks-text-xs:   11px;
  --lks-text-sm:   12px;
  --lks-text-base: 13px;
  --lks-text-md:   14px;
  --lks-text-lg:   16px;
  --lks-text-xl:   20px;
  --lks-text-2xl:  28px;
  --lks-text-3xl:  40px;

  /* ── Spacing ── */
  --lks-space-1:  4px;
  --lks-space-2:  8px;
  --lks-space-3:  12px;
  --lks-space-4:  16px;
  --lks-space-5:  20px;
  --lks-space-6:  24px;
  --lks-space-8:  32px;
  --lks-space-10: 40px;
  --lks-space-12: 48px;

  /* ── Shape — very minimal, square-ish (matching lks.ltd buttons) ── */
  --lks-radius-sm: 0px;
  --lks-radius:    2px;
  --lks-radius-md: 2px;
  --lks-radius-lg: 2px;
  --lks-radius-xl: 4px;
  --lks-radius-pill: 2px;   /* LKS aesthetic: avoid pill shapes */

  /* ── Shadow — very subtle on white ── */
  --lks-shadow-sm:  0 1px 2px rgba(0,0,0,0.08);
  --lks-shadow:     0 2px 8px rgba(0,0,0,0.10);
  --lks-shadow-lg:  0 4px 16px rgba(0,0,0,0.12);

  /* ── Transitions ── */
  --lks-transition: 0.12s ease;
  --lks-transition-slow: 0.25s ease;
}

/* ── Base Reset ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Base body ─────────────────────────────────────────────── */
.lks-document {
  font-family: var(--lks-font);
  font-size: var(--lks-text-base);
  background: var(--lks-bg);
  color: var(--lks-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ─────────────────────────────────────────────── */

/* Headings — Barlow Condensed Black, uppercase */
.lks-h1, .lks-h2, .lks-h3, .lks-h4 {
  font-family: var(--lks-font-head);
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--lks-text);
  line-height: 1.05;
}
.lks-h1 { font-size: var(--lks-text-3xl); }
.lks-h2 { font-size: var(--lks-text-2xl); }
.lks-h3 { font-size: var(--lks-text-xl);  }
.lks-h4 { font-size: var(--lks-text-lg);  }

/* Label — uppercase micro text */
.lks-label {
  font-family: var(--lks-font);
  font-size: var(--lks-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lks-text-muted);
}

/* Code / inline mono */
.lks-code {
  font-family: var(--lks-font-mono);
  font-size: 0.9em;
  background: var(--lks-surface-2);
  border: 1px solid var(--lks-border-2);
  padding: 1px 5px;
}

.lks-pre {
  font-family: var(--lks-font-mono);
  font-size: var(--lks-text-sm);
  background: var(--lks-surface);
  border: 1px solid var(--lks-border);
  padding: var(--lks-space-4);
  overflow-x: auto;
  color: var(--lks-text);
  line-height: 1.7;
}

/* ── Layout ─────────────────────────────────────────────────── */

/* App shell */
.lks-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.lks-app-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Header bar */
.lks-header {
  background: var(--lks-bg);
  border-bottom: 2px solid var(--lks-border);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  height: 48px;
}

.lks-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lks-header-brand .brand-logo {
  height: 22px;
  width: auto;
}

.lks-header-brand .brand-name {
  font-family: var(--lks-font-head);
  font-size: var(--lks-text-lg);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lks-text);
}

.lks-header-brand .brand-divider {
  width: 2px;
  height: 16px;
  background: var(--lks-border);
  flex-shrink: 0;
}

.lks-header-title {
  font-family: var(--lks-font);
  font-size: var(--lks-text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lks-text);
}

.lks-header-meta {
  color: var(--lks-text-muted);
  font-size: var(--lks-text-sm);
  margin-left: auto;
}

.lks-header-meta strong { color: var(--lks-text); }

/* Sidebar */
.lks-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--lks-surface);
  border-right: 2px solid var(--lks-border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 12px 0;
}

.lks-sidebar-section {
  padding: 4px 14px 10px;
}

.lks-sidebar-label {
  font-size: var(--lks-text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--lks-text-dim);
  margin-bottom: 4px;
  padding: 0 14px;
}

.lks-sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--lks-font);
  font-size: var(--lks-text-sm);
  color: var(--lks-text-muted);
  cursor: pointer;
  border-left: 2px solid transparent;
  margin: 1px 0;
  transition: background var(--lks-transition), color var(--lks-transition), border-color var(--lks-transition);
  text-decoration: none;
}

.lks-sidebar-item:hover {
  background: var(--lks-surface-2);
  color: var(--lks-text);
}

.lks-sidebar-item.active {
  background: var(--lks-surface-2);
  color: var(--lks-text);
  border-left-color: var(--lks-border);
  font-weight: 700;
}

/* Main content area */
.lks-main {
  flex: 1;
  overflow: auto;
  background: var(--lks-bg);
}

.lks-content {
  padding: var(--lks-space-6);
  max-width: 1500px;
  margin: 0 auto;
}

/* ── Card / Panel ──────────────────────────────────────────── */
.lks-card {
  background: var(--lks-bg);
  border: 1px solid var(--lks-border-2);
  padding: var(--lks-space-5) var(--lks-space-6);
}

.lks-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--lks-space-4);
  padding-bottom: var(--lks-space-3);
  border-bottom: 1px solid var(--lks-border-2);
}

.lks-card-title {
  font-family: var(--lks-font-head);
  font-size: var(--lks-text-md);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lks-text);
}

/* ── Buttons — outlined, square (matching lks.ltd) ─────────── */
.lks-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-family: var(--lks-font);
  font-size: var(--lks-text-sm);
  font-weight: 700;
  border-radius: 0;                   /* square — matches lks.ltd */
  border: 1px solid var(--lks-border);
  cursor: pointer;
  transition: background var(--lks-transition), color var(--lks-transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lks-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Primary — black fill, white text */
.lks-btn-primary {
  background: var(--lks-text);
  color: var(--lks-bg);
  border-color: var(--lks-text);
}
.lks-btn-primary:hover:not(:disabled) {
  background: #333;
  border-color: #333;
}

/* Secondary — white fill, black border (matches lks.ltd) */
.lks-btn-secondary {
  background: var(--lks-bg);
  color: var(--lks-text);
  border-color: var(--lks-border);
}
.lks-btn-secondary:hover:not(:disabled) {
  background: var(--lks-surface-2);
}

/* Ghost — no border */
.lks-btn-ghost {
  background: transparent;
  color: var(--lks-text-muted);
  border-color: var(--lks-border-2);
}
.lks-btn-ghost:hover:not(:disabled) {
  background: var(--lks-surface-2);
  color: var(--lks-text);
  border-color: var(--lks-border);
}

/* Danger */
.lks-btn-danger {
  background: var(--lks-bg);
  color: var(--lks-danger);
  border-color: var(--lks-danger);
}
.lks-btn-danger:hover:not(:disabled) {
  background: var(--lks-danger);
  color: #fff;
}

/* Small */
.lks-btn-sm {
  padding: 5px 10px;
  font-size: var(--lks-text-xs);
}

/* ── Badges / Tags ──────────────────────────────────────────── */
.lks-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  font-family: var(--lks-font);
  font-size: var(--lks-text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 0;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
}

.lks-badge-success { background: var(--lks-success-dim); color: var(--c-s1);       border-color: var(--lks-success); }
.lks-badge-warning { background: var(--lks-warning-dim); color: var(--lks-warning); border-color: var(--lks-warning); }
.lks-badge-danger  { background: var(--lks-danger-dim);  color: var(--lks-danger);  border-color: var(--lks-danger);  }
.lks-badge-info    { background: var(--lks-info-dim);    color: var(--lks-info);    border-color: var(--lks-info);    }
.lks-badge-accent  { background: var(--lks-surface-2);  color: var(--lks-text);    border-color: var(--lks-border);  }
.lks-badge-neutral { background: var(--lks-surface-2);  color: var(--lks-text-muted); border-color: var(--lks-border-2); }

/* Family badges */
.lks-family-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  font-family: var(--lks-font);
  font-size: var(--lks-text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 0;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid;
}

.lks-family-s1        { background: #dcfce7; color: var(--c-s1);          border-color: var(--c-s1); }
.lks-family-s1-ba     { background: #d1fae5; color: var(--c-s1-ba);       border-color: var(--c-s1-ba); }
.lks-family-old-kmj   { background: #ccfbf1; color: var(--c-old-kmj);     border-color: var(--c-old-kmj); }
.lks-family-eventim   { background: #e0f2fe; color: var(--c-eventim);     border-color: var(--c-eventim); }
.lks-family-festival  { background: #dbeafe; color: var(--c-festival);    border-color: var(--c-festival); }
.lks-family-budget    { background: #fef9c3; color: var(--c-budget-only); border-color: var(--c-budget-only); }
.lks-family-prov      { background: #ffedd5; color: var(--c-provisional); border-color: var(--c-provisional); }
.lks-family-vip       { background: #ede9fe; color: var(--c-vip);         border-color: var(--c-vip); }
.lks-family-marketing { background: #f1f5f9; color: var(--c-marketing);   border-color: var(--c-marketing); }
.lks-family-private   { background: #f4f4f5; color: var(--c-private);     border-color: var(--c-private); }
.lks-family-venue     { background: #fef3c7; color: var(--c-venue);       border-color: var(--c-venue); }
.lks-family-unknown   { background: #fee2e2; color: var(--c-unknown);     border-color: var(--c-unknown); }
.lks-family-error     { background: #fee2e2; color: var(--c-error);       border-color: var(--c-error); }

/* Classification chips */
.lks-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 6px;
  font-family: var(--lks-font);
  font-size: 10px;
  font-weight: 700;
  border-radius: 0;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid;
}
.lks-chip-metadata    { background: #fff7ed; color: #c2410c; border-color: #ea580c; }
.lks-chip-fingerprint { background: #f0fdf4; color: #15803d; border-color: #16a34a; }
.lks-chip-cache       { background: #e0f2fe; color: #0369a1; border-color: #0284c7; }

/* ── Form elements ──────────────────────────────────────────── */
.lks-input {
  background: var(--lks-bg);
  border: 1px solid var(--lks-border-2);
  border-radius: 0;
  padding: 7px 10px;
  color: var(--lks-text);
  font-family: var(--lks-font);
  font-size: var(--lks-text-sm);
  outline: none;
  transition: border-color var(--lks-transition);
  width: 100%;
}
.lks-input:focus {
  border-color: var(--lks-border);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.06);
}
.lks-input::placeholder { color: var(--lks-text-dim); }

/* Search */
.lks-search-wrap { position: relative; }
.lks-search-wrap .lks-input { padding-left: 30px; }
.lks-search-wrap::before {
  content: "⌕";
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lks-text-muted);
  font-size: 14px;
  pointer-events: none;
}

/* Select */
.lks-select {
  background: var(--lks-bg);
  border: 1px solid var(--lks-border-2);
  border-radius: 0;
  padding: 7px 28px 7px 10px;
  color: var(--lks-text);
  font-family: var(--lks-font);
  font-size: var(--lks-text-sm);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
}
.lks-select:focus { border-color: var(--lks-border); }

/* ── Tables ─────────────────────────────────────────────────── */
.lks-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--lks-font);
  font-size: var(--lks-text-sm);
}

.lks-table thead tr {
  background: var(--lks-surface);
  border-bottom: 2px solid var(--lks-border);
}

.lks-table th {
  padding: 9px 12px;
  text-align: left;
  font-size: var(--lks-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lks-text-muted);
  white-space: nowrap;
  cursor: default;
  user-select: none;
}

.lks-table th.sortable { cursor: pointer; }
.lks-table th.sortable:hover { color: var(--lks-text); }
.lks-table th.sort-asc::after  { content: " ↑"; color: var(--lks-text); }
.lks-table th.sort-desc::after { content: " ↓"; color: var(--lks-text); }

.lks-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--lks-border-3);
  vertical-align: middle;
  color: var(--lks-text);
}

.lks-table tbody tr:hover td {
  background: var(--lks-surface);
}

.lks-table td.mono {
  font-family: var(--lks-font-mono);
  font-size: var(--lks-text-xs);
  color: var(--lks-text-muted);
}

/* ── Drop zone ──────────────────────────────────────────────── */
.lks-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px dashed var(--lks-border-2);
  padding: 48px;
  cursor: pointer;
  transition: border-color var(--lks-transition), background var(--lks-transition);
  text-align: center;
}
.lks-dropzone:hover,
.lks-dropzone.drag-over {
  border-color: var(--lks-border);
  background: var(--lks-surface);
}
.lks-dropzone .drop-icon  { font-size: 32px; opacity: 0.4; }
.lks-dropzone .drop-title { font-family: var(--lks-font-head); font-size: var(--lks-text-xl); font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; color: var(--lks-text); }
.lks-dropzone .drop-sub   { font-family: var(--lks-font); font-size: var(--lks-text-sm); color: var(--lks-text-muted); }

/* ── Progress bar ───────────────────────────────────────────── */
.lks-progress-wrap {
  background: var(--lks-surface-2);
  border: 1px solid var(--lks-border-2);
  height: 8px;
  width: 100%;
}
.lks-progress-bar {
  height: 100%;
  background: var(--lks-text);
  transition: width var(--lks-transition-slow);
}
.lks-progress-bar.success { background: var(--lks-success); }
.lks-progress-bar.warning { background: var(--lks-warning); }
.lks-progress-bar.danger  { background: var(--lks-danger); }

/* Segmented bar */
.lks-progress-segmented {
  display: flex;
  height: 8px;
  border: 1px solid var(--lks-border-2);
  gap: 1px;
}

/* ── Stat card ──────────────────────────────────────────────── */
.lks-stat {
  background: var(--lks-bg);
  border: 1px solid var(--lks-border-2);
  padding: var(--lks-space-4);
}
.lks-stat-label {
  font-family: var(--lks-font);
  font-size: var(--lks-text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lks-text-muted);
  margin-bottom: var(--lks-space-2);
}
.lks-stat-value {
  font-family: var(--lks-font-head);
  font-size: var(--lks-text-3xl);
  font-weight: 900;
  color: var(--lks-text);
  line-height: 1;
  text-transform: uppercase;
}
.lks-stat-sub {
  font-family: var(--lks-font);
  font-size: var(--lks-text-xs);
  color: var(--lks-text-muted);
  margin-top: 4px;
}

/* ── Tooltip ────────────────────────────────────────────────── */
.lks-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lks-tooltip-body {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--lks-text);
  border: 1px solid var(--lks-text);
  padding: 8px 12px;
  font-family: var(--lks-font);
  font-size: var(--lks-text-xs);
  color: var(--lks-bg);
  white-space: nowrap;
  box-shadow: var(--lks-shadow);
  transition: opacity 0.1s ease;
  z-index: 1000;
}
.lks-tooltip-wrap:hover .lks-tooltip-body {
  visibility: visible;
  opacity: 1;
}

/* ── Alert / Banner ─────────────────────────────────────────── */
.lks-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  font-family: var(--lks-font);
  font-size: var(--lks-text-sm);
  border-left: 3px solid;
}
.lks-alert-info    { background: var(--lks-info-dim);    border-color: var(--lks-info);    color: var(--lks-text); }
.lks-alert-success { background: var(--lks-success-dim); border-color: var(--lks-success); color: var(--lks-text); }
.lks-alert-warning { background: var(--lks-warning-dim); border-color: var(--lks-warning); color: var(--lks-text); }
.lks-alert-danger  { background: var(--lks-danger-dim);  border-color: var(--lks-danger);  color: var(--lks-text); }

/* ── Divider ────────────────────────────────────────────────── */
.lks-divider {
  height: 1px;
  background: var(--lks-border-2);
  border: none;
  margin: var(--lks-space-5) 0;
}

/* ── Scrollbar (Webkit) ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--lks-surface); }
::-webkit-scrollbar-thumb {
  background: var(--lks-border-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--lks-text-muted); }

/* ── Links ──────────────────────────────────────────────────── */
.lks-link {
  color: var(--lks-text);
  text-decoration: underline;
  transition: opacity var(--lks-transition);
}
.lks-link:hover { opacity: 0.6; }

/* ── Utility ────────────────────────────────────────────────── */
.lks-text-muted   { color: var(--lks-text-muted); }
.lks-text-dim     { color: var(--lks-text-dim); }
.lks-text-success { color: var(--lks-success); }
.lks-text-warning { color: var(--lks-warning); }
.lks-text-danger  { color: var(--lks-danger); }
.lks-text-mono    { font-family: var(--lks-font-mono); }
.lks-text-upper   { text-transform: uppercase; letter-spacing: 0.06em; }
.lks-fw-bold      { font-weight: 700; }
.lks-hidden       { display: none !important; }
.lks-flex         { display: flex; }
.lks-flex-center  { display: flex; align-items: center; }
.lks-gap-2        { gap: var(--lks-space-2); }
.lks-gap-3        { gap: var(--lks-space-3); }
.lks-gap-4        { gap: var(--lks-space-4); }
.lks-ml-auto      { margin-left: auto; }
