/* ============================================================
   WritoryBuzz Tools — Shared Design System v1.0
   Use: <link rel="stylesheet" href="/tools/writorybuzz-tools.css">
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --navy:        #0f1b2d;
  --navy-mid:    #1a2d45;
  --navy-light:  #243a57;
  --gold:        #f0b429;
  --gold-light:  #f7d070;
  --gold-pale:   #fff8e7;
  --white:       #ffffff;
  --grey-50:     #f9fafb;
  --grey-100:    #f4f6f9;
  --grey-200:    #e8ecf2;
  --grey-400:    #9aabbe;
  --grey-600:    #5a7290;
  --text-main:   #0f1b2d;
  --text-muted:  #5a7290;
  --green:       #22c55e;
  --green-bg:    #f0fdf4;
  --green-border:#bbf7d0;
  --red:         #ef4444;
  --red-bg:      #fef2f2;
  --red-border:  #fecaca;
  --amber:       #f59e0b;
  --amber-bg:    #fffbeb;
  --amber-border:#fde68a;
  --blue:        #3b82f6;
  --blue-bg:     #dbeafe;
  --radius:      10px;
  --radius-sm:   6px;
  --radius-pill: 20px;
  --shadow:      0 4px 24px rgba(15,27,45,0.13);
  --shadow-sm:   0 2px 8px rgba(15,27,45,0.08);
  --transition:  0.2s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--grey-100);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
}

/* ===== SITE HEADER ===== */
.wb-header {
  background: var(--navy);
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 60px;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}
.wb-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.wb-logo span { color: var(--gold); }

/* ===== BREADCRUMB ===== */
.wb-breadcrumb {
  font-size: 0.78rem;
  color: var(--grey-400);
  padding: 12px 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.wb-breadcrumb a { color: var(--grey-400); text-decoration: none; }
.wb-breadcrumb a:hover { color: var(--gold); }
.wb-breadcrumb span { margin: 0 6px; opacity: 0.5; }

/* ===== HERO ===== */
.wb-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e3a5f 100%);
  padding: 52px 24px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wb-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(240,180,41,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.wb-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(240,180,41,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.wb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240,180,41,0.15);
  border: 1px solid rgba(240,180,41,0.35);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  letter-spacing: 0.4px;
}

.wb-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.wb-hero h1 span { color: var(--gold); }

.wb-hero-desc {
  color: var(--grey-400);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 28px;
}

.wb-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.wb-hero-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--grey-400);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 5px;
}
.wb-hero-stat strong { color: var(--gold-light); }

/* ===== PAGE WRAP ===== */
.wb-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 72px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== CARD ===== */
.wb-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wb-card-header {
  background: var(--navy);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wb-card-header h2 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.wb-card-icon {
  width: 30px; height: 30px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.wb-card-body { padding: 22px; }

/* ===== CONTENT SECTIONS ===== */
.wb-content { padding: 24px 22px; }
.wb-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.wb-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-mid);
  margin: 22px 0 8px;
}
.wb-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.wb-content strong { color: var(--text-main); }

/* ===== FORM CONTROLS ===== */
.wb-input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text-main);
  background: var(--grey-100);
  transition: border-color var(--transition), background var(--transition);
  font-family: inherit;
}
.wb-input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.wb-input-icon {
  position: relative;
}
.wb-input-icon .wb-input { padding-left: 44px; }
.wb-input-icon .wb-icon-pre {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--grey-400);
  pointer-events: none;
  font-size: 1rem;
}

.wb-select {
  padding: 10px 14px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-main);
  background: var(--grey-100);
  cursor: pointer;
  font-family: inherit;
  transition: border-color var(--transition);
}
.wb-select:focus { outline: none; border-color: var(--gold); }

.wb-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: 'Cascadia Code', 'Consolas', monospace;
  color: var(--text-main);
  background: var(--grey-100);
  resize: vertical;
  transition: border-color var(--transition), background var(--transition);
  line-height: 1.6;
}
.wb-textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }

/* Checkbox toggle row */
.wb-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}
.wb-toggle input[type="checkbox"],
.wb-toggle input[type="radio"] {
  accent-color: var(--gold);
  width: 15px; height: 15px;
  cursor: pointer;
}

/* ===== BUTTONS ===== */
.wb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform 0.1s, box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
.wb-btn:active { transform: scale(0.98); }
.wb-btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.wb-btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.wb-btn-primary:hover { background: var(--gold-light); box-shadow: 0 4px 16px rgba(240,180,41,0.3); }

.wb-btn-secondary {
  background: var(--grey-100);
  color: var(--text-muted);
  border: 2px solid var(--grey-200);
  padding: 9px 18px;
  font-size: 0.85rem;
}
.wb-btn-secondary:hover { border-color: var(--gold); color: var(--navy); background: var(--gold-pale); }

.wb-btn-ghost {
  background: rgba(240,180,41,0.12);
  border: 1px solid rgba(240,180,41,0.3);
  color: var(--gold-light);
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: var(--radius-pill);
}
.wb-btn-ghost:hover { background: rgba(240,180,41,0.25); }

.wb-btn-full { width: 100%; }

/* ===== CHIPS ===== */
.wb-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.wb-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--grey-200);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  color: var(--text-muted);
  user-select: none;
}
.wb-chip:hover { border-color: var(--gold); color: var(--navy); }
.wb-chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}
.wb-chip.active-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* Example chips */
.wb-examples { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.wb-example-label { font-size: 0.78rem; color: var(--text-muted); }
.wb-example-chip {
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  color: var(--navy-mid);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 14px;
  cursor: pointer;
  transition: background var(--transition);
  font-family: inherit;
  border-width: 1px;
}
.wb-example-chip:hover { background: var(--gold-light); }

/* ===== STATS BAR ===== */
.wb-stats-bar {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 22px;
  background: var(--navy);
  align-items: center;
  justify-content: space-between;
}
.wb-stats-bar.visible { display: flex; }

.wb-stat-pill {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.8rem;
  color: var(--grey-400);
  display: flex;
  align-items: center;
  gap: 5px;
}
.wb-stat-pill strong { color: var(--gold-light); }

.wb-stats-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ===== TABS ===== */
.wb-tab-bar {
  display: flex;
  border-bottom: 2px solid var(--grey-200);
  padding: 0 22px;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.wb-tab-bar::-webkit-scrollbar { display: none; }

.wb-tab-btn {
  padding: 12px 18px;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.wb-tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.wb-tab-btn:hover:not(.active) { color: var(--navy); }
.wb-tab-btn .wb-badge {
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
}

.wb-tab-pane { display: none; padding: 22px; }
.wb-tab-pane.active { display: block; }

/* ===== TABLES ===== */
.wb-table-wrap { overflow-x: auto; }

.wb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.wb-table thead th {
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.wb-table tbody tr:nth-child(even) { background: var(--grey-100); }
.wb-table tbody tr:hover { background: var(--gold-pale); }
.wb-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--grey-200);
  vertical-align: top;
}

/* Comparison table variant */
.wb-cmp-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.wb-cmp-table thead th {
  background: var(--navy);
  color: var(--gold-light);
  padding: 10px 14px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
}
.wb-cmp-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--grey-200);
  font-size: 0.84rem;
  vertical-align: top;
}
.wb-cmp-table tr:nth-child(even) td { background: var(--grey-100); }
.wb-check { color: var(--green); font-weight: 700; }
.wb-cross { color: var(--red); }

/* ===== BADGES ===== */
.wb-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.wb-badge-green  { background: var(--green-bg);  color: #15803d; }
.wb-badge-red    { background: var(--red-bg);    color: #b91c1c; }
.wb-badge-amber  { background: var(--amber-bg);  color: #b45309; }
.wb-badge-blue   { background: var(--blue-bg);   color: #1d4ed8; }
.wb-badge-navy   { background: var(--navy);       color: var(--gold-light); }
.wb-badge-gold   { background: var(--gold-pale);  color: var(--navy); }
.wb-badge-grey   { background: var(--grey-200);  color: var(--text-muted); }

/* ===== ALERT / INFO BOXES ===== */
.wb-alert {
  padding: 13px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
}
.wb-alert-icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }
.wb-alert-body { flex: 1; }
.wb-alert-body strong { display: block; margin-bottom: 3px; }

.wb-alert-green  { background: var(--green-bg);  border: 1px solid var(--green-border); color: #166534; }
.wb-alert-red    { background: var(--red-bg);    border: 1px solid var(--red-border);   color: #b91c1c; }
.wb-alert-amber  { background: var(--amber-bg);  border: 1px solid var(--amber-border); color: #92400e; }
.wb-alert-blue   { background: #eff6ff;          border: 1px solid #bfdbfe;             color: #1e40af; }
.wb-alert-navy   { background: var(--navy-light); border: 1px solid var(--navy-mid);    color: var(--grey-400); }

/* Error box (hidden by default) */
.wb-error {
  background: var(--red-bg);
  border: 2px solid var(--red-border);
  border-radius: var(--radius);
  padding: 13px 18px;
  color: #b91c1c;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.wb-error.visible { display: flex; }

/* ===== STATE BOXES ===== */
.wb-state-box {
  text-align: center;
  padding: 52px 20px;
  color: var(--text-muted);
}
.wb-state-box .wb-state-icon { font-size: 2.8rem; margin-bottom: 14px; }
.wb-state-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.wb-state-box p { font-size: 0.9rem; max-width: 380px; margin: 0 auto; line-height: 1.6; }

/* ===== LOADING SPINNER ===== */
@keyframes wb-spin { to { transform: rotate(360deg); } }

.wb-spinner {
  width: 20px; height: 20px;
  border: 3px solid var(--grey-200);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: wb-spin 0.7s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}
.wb-spinner-lg {
  width: 42px; height: 42px;
  border-width: 4px;
  margin: 0 auto 16px;
}

/* ===== SCORE RING (for PageSpeed / scores) ===== */
.wb-score-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wb-score-ring svg { transform: rotate(-90deg); }
.wb-score-ring .wb-score-val {
  position: absolute;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}
.wb-score-ring .wb-score-label {
  position: absolute;
  bottom: 14px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* ===== METRIC ROW ===== */
.wb-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--grey-200);
  gap: 12px;
  flex-wrap: wrap;
}
.wb-metric-row:last-child { border-bottom: none; }
.wb-metric-name { font-size: 0.88rem; font-weight: 600; color: var(--text-main); }
.wb-metric-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.wb-metric-val  { font-size: 0.9rem; font-weight: 800; font-family: 'Cascadia Code', monospace; flex-shrink: 0; }
.wb-metric-bar-wrap { flex: 1; min-width: 80px; max-width: 160px; }
.wb-metric-bar {
  height: 6px;
  background: var(--grey-200);
  border-radius: 3px;
  overflow: hidden;
}
.wb-metric-bar-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }

/* ===== CODE / JSON BLOCK ===== */
.wb-code-block {
  background: var(--navy);
  color: #93c5fd;
  font-family: 'Cascadia Code', 'Consolas', 'Fira Code', monospace;
  font-size: 0.8rem;
  padding: 16px;
  border-radius: var(--radius);
  overflow-x: auto;
  max-height: 420px;
  overflow-y: auto;
  white-space: pre;
  line-height: 1.6;
  position: relative;
}
.wb-code-copy {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(240,180,41,0.2);
  border: 1px solid rgba(240,180,41,0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition);
  font-family: inherit;
}
.wb-code-copy:hover { background: rgba(240,180,41,0.35); }

/* ===== PROGRESS BAR ===== */
.wb-progress {
  height: 8px;
  background: var(--grey-200);
  border-radius: 4px;
  overflow: hidden;
  margin: 6px 0;
}
.wb-progress-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; }

/* ===== FAQ ===== */
.wb-faq-item { border-bottom: 1px solid var(--grey-200); }
.wb-faq-item:last-child { border-bottom: none; }

.wb-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
  font-family: inherit;
}
.wb-faq-q:hover { color: var(--gold); }

.wb-faq-chevron {
  font-size: 1rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.wb-faq-item.open .wb-faq-chevron { transform: rotate(180deg); }

.wb-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.wb-faq-item.open .wb-faq-a { max-height: 600px; }
.wb-faq-a-inner {
  padding-bottom: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.wb-faq-a-inner p { margin-bottom: 8px; }

/* ===== TOAST ===== */
#wb-toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 24px;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
}
#wb-toast.show { transform: translateX(-50%) translateY(0); }

/* ===== GRID HELPERS ===== */
.wb-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wb-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wb-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wb-grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

/* ===== DIVIDER ===== */
.wb-divider { border: none; border-top: 1px solid var(--grey-200); margin: 16px 0; }

/* ===== COPY BUTTON (inline) ===== */
.wb-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grey-400);
  font-size: 0.82rem;
  padding: 3px 7px;
  border-radius: 5px;
  transition: color var(--transition);
  opacity: 0;
  font-family: inherit;
}
tr:hover .wb-copy-btn,
.wb-copy-btn:focus { opacity: 1; }
.wb-copy-btn:hover { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .wb-card-body, .wb-tab-pane, .wb-content { padding: 16px; }
  .wb-grid-4 { grid-template-columns: 1fr 1fr; }
  .wb-grid-3 { grid-template-columns: 1fr 1fr; }
  .wb-grid-2 { grid-template-columns: 1fr; }
  .wb-stats-bar { flex-direction: column; align-items: flex-start; }
  .wb-tab-btn { padding: 10px 12px; font-size: 0.8rem; }
  .wb-hero { padding: 36px 16px 32px; }
}
@media (max-width: 480px) {
  .wb-grid-4 { grid-template-columns: 1fr; }
  .wb-grid-3 { grid-template-columns: 1fr; }
  .wb-btn { padding: 11px 20px; font-size: 0.9rem; }
  .wb-score-ring .wb-score-val { font-size: 1.3rem; }
}

/* ===== UTILITY ===== */
.wb-mt-0 { margin-top: 0; }
.wb-mt-8 { margin-top: 8px; }
.wb-mt-12 { margin-top: 12px; }
.wb-mt-16 { margin-top: 16px; }
.wb-mt-20 { margin-top: 20px; }
.wb-mb-8  { margin-bottom: 8px; }
.wb-mb-12 { margin-bottom: 12px; }
.wb-mb-16 { margin-bottom: 16px; }
.wb-flex   { display: flex; }
.wb-flex-wrap { flex-wrap: wrap; }
.wb-items-center { align-items: center; }
.wb-justify-between { justify-content: space-between; }
.wb-gap-8  { gap: 8px; }
.wb-gap-12 { gap: 12px; }
.wb-gap-16 { gap: 16px; }
.wb-text-muted { color: var(--text-muted); }
.wb-text-sm { font-size: 0.85rem; }
.wb-text-xs { font-size: 0.78rem; }
.wb-font-mono { font-family: 'Cascadia Code', 'Consolas', monospace; }
.wb-bold { font-weight: 700; }
.wb-w-full { width: 100%; }
.wb-hidden { display: none !important; }
.wb-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}