/* === Typography === */
  .mono { font-family: var(--font-mono); font-feature-settings: "ss01"; }

  /* === Typography tokens === */
  .t-display { font-size: 48px; font-weight: 500; line-height: 1.05; letter-spacing: var(--display-tracking); color: var(--text-primary); }
  .t-display-sm { font-size: 32px; font-weight: 500; line-height: 1.1; letter-spacing: var(--display-tracking); color: var(--text-primary); }
  .t-h2 { font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; color: var(--text-primary); }
  .t-h3 { font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--text-primary); }
  .t-body { font-size: 16px; font-weight: 300; line-height: 24px; letter-spacing: var(--body-tracking); color: var(--text-body); }
  .t-body-sm { font-size: 14px; font-weight: 300; line-height: 20px; letter-spacing: var(--body-tracking); color: var(--text-body); }
  .t-label { font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: var(--label-tracking); color: var(--text-primary); }
  .t-label-sm { font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: 0.4px; color: var(--text-muted); }
  .t-caption { font-size: 11px; font-weight: 500; line-height: 14px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-muted); }

/* === Layout shell === */
  /* === Layout shell === */
  .app-grid {
    display: grid;
    grid-template-rows: 56px 1fr 32px;
    height: 100vh;
    padding: var(--s-3);
    gap: var(--s-3);
  }
  .main-grid {
    display: grid;
    grid-template-columns: var(--rail-w, 260px) 1fr var(--right-w, 320px);
    gap: var(--s-3);
    min-height: 0;
  }
  .main-grid.focus { grid-template-columns: 0 1fr 0; }
  .main-grid.no-rail { grid-template-columns: 0 1fr var(--right-w, 320px); }
  .main-grid.no-right { grid-template-columns: var(--rail-w, 260px) 1fr 0; }
  .main-grid.focus aside, .main-grid.no-rail #navRail, .main-grid.no-right #rightPanel { display: none; }


/* === Surfaces === */
  .glass {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
  }
  [data-theme="dark"] .glass {
    background: rgba(20, 24, 31, 0.72);
    border-color: rgba(255, 255, 255, 0.06);
  }
  .glass-sm { border-radius: var(--r-sm); }
  .glass-md { border-radius: var(--r-md); }
  .glass-xl { border-radius: var(--r-xl); }
  .surface-solid { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
  .card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-card); transition: box-shadow var(--t-mid) var(--ease), transform var(--t-fast) var(--ease); }
  .card-hover:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-1px); }
  .card-tight { border-radius: var(--r-md); padding: 12px; }
  .card-hero { border-radius: var(--r-xl); }

  /* hairline gradient shell — design technique */
  .shell {
    padding: 1px;
    border-radius: calc(var(--r-lg) + 1px);
    background: linear-gradient(135deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.02) 50%, rgba(255, 237, 213, 0.6) 100%);
    box-shadow: var(--shadow-card);
  }
  .shell > * { border-radius: var(--r-lg); }


/* === Buttons === */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 36px; padding: 0 18px;
    border-radius: var(--r-pill);
    font-family: var(--font-sans);
    font-size: 14px; font-weight: 500; letter-spacing: var(--label-tracking);
    border: 0; cursor: pointer; user-select: none;
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
    white-space: nowrap;
  }
  .btn:active { transform: translateY(0.5px) scale(0.99); }
  .btn-primary {
    background: var(--primary); color: var(--primary-text);
    box-shadow: var(--shadow-press);
  }
  .btn-primary:hover { background: var(--primary-600); }
  .btn-primary iconify-icon { color: var(--primary-text); }
  .btn-secondary {
    background: var(--secondary); color: var(--primary);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.05);
  }
  .btn-secondary:hover { background: var(--secondary-400); box-shadow: 0 0 0 1px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.08); }
  .btn-ghost {
    background: transparent; color: var(--text-body);
  }
  .btn-ghost:hover { background: var(--hover-bg); color: var(--text-primary); }
  .btn-outline {
    background: var(--surface); color: var(--text-primary);
    box-shadow: 0 0 0 1px var(--border), 0 1px 2px rgba(0,0,0,0.04);
  }
  .btn-outline:hover { box-shadow: 0 0 0 1px var(--border-strong), 0 2px 4px rgba(0,0,0,0.06); }
  .btn-danger {
    background: var(--semantic-danger-soft); color: var(--semantic-danger);
    box-shadow: 0 0 0 1px rgba(194, 65, 12, 0.15);
  }
  .btn-danger:hover { background: #FFD0B5; }
  .btn-icon { width: 36px; padding: 0; }
  .btn-sm { height: 30px; padding: 0 14px; font-size: 13px; }
  .btn-icon.btn-sm { width: 30px; padding: 0; }
  .btn-link {
    background: none; height: auto; padding: 0; color: var(--text-muted);
    font-weight: 500; letter-spacing: 0; box-shadow: none;
  }
  .btn-link:hover { color: var(--text-primary); }

/* === Inputs === */
  /* === Inputs === */
  .input {
    width: 100%; height: 38px; padding: 0 14px;
    background: var(--surface); color: var(--text-primary);
    border: 0; border-radius: var(--r-pill);
    box-shadow: 0 0 0 1px var(--border), 0 1px 2px rgba(0,0,0,0.03);
    font-family: var(--font-sans); font-size: 14px; letter-spacing: var(--body-tracking);
    outline: none; transition: box-shadow var(--t-fast) var(--ease);
  }
  .input:focus { box-shadow: 0 0 0 2px var(--primary), 0 1px 2px rgba(0,0,0,0.05); }
  .input::placeholder { color: var(--text-subtle); }
  .input-area { height: auto; min-height: 80px; padding: 12px 16px; border-radius: var(--r-md); resize: vertical; line-height: 22px; }
  .input-flat { border-radius: var(--r-sm); }

/* === Badges & dots === */
  /* === Badges & dots === */
  .badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px; border-radius: var(--r-pill);
    font-size: 11px; font-weight: 500; letter-spacing: 0.4px;
  }
  .badge-primary { background: var(--primary); color: var(--primary-text); }
  .badge-secondary { background: var(--secondary); color: var(--primary); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }
  .badge-outline { background: var(--surface); color: var(--text-body); box-shadow: inset 0 0 0 1px var(--border); }
  .badge-success { background: var(--semantic-success-soft); color: var(--semantic-success); }
  .badge-danger { background: var(--semantic-danger-soft); color: var(--semantic-danger); }
  .badge-warning { background: var(--semantic-warning-soft); color: var(--semantic-warning); }
  .badge-info { background: var(--semantic-info-soft); color: var(--semantic-info); }
  .badge-muted { background: var(--hover-bg); color: var(--text-body); }
  .dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; flex-shrink: 0; }

/* === Nav rail === */
  /* === Nav rail === */
  .nav-section-title {
    font-size: 11px; font-weight: 500; letter-spacing: 0.6px; text-transform: uppercase;
    color: var(--text-subtle); padding: 0 12px; margin: 16px 0 6px; display: flex; align-items: center; justify-content: space-between;
  }
  .nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: var(--r-pill);
    color: var(--text-body); font-size: 14px; font-weight: 400;
    cursor: pointer; transition: all var(--t-fast) var(--ease);
  }
  .nav-item iconify-icon { color: var(--text-muted); transition: color var(--t-fast) var(--ease); font-size: 18px; }
  .nav-item:hover { background: var(--hover-bg); color: var(--text-primary); }
  .nav-item:hover iconify-icon { color: var(--text-primary); }
  .nav-item.active {
    background: var(--primary); color: var(--primary-text);
    box-shadow: var(--shadow-press);
  }
  .nav-item.active iconify-icon { color: var(--primary-text); }
  .nav-item .ml-auto, .nav-item .badge { margin-left: auto; }

/* === Workspace tabs === */
  /* === Workspace tabs (capsule pills inside chrome) === */
  .ws-tab {
    display: inline-flex; align-items: center; gap: 7px;
    height: 32px; padding: 0 14px;
    font-size: 13px; font-weight: 500; letter-spacing: var(--label-tracking);
    color: var(--text-muted); cursor: pointer;
    border-radius: var(--r-pill);
    background: transparent;
    transition: all var(--t-fast) var(--ease);
    flex-shrink: 0;
  }
  .ws-tab:hover { background: var(--hover-bg); color: var(--text-primary); }
  .ws-tab.active { background: var(--primary); color: var(--primary-text); box-shadow: var(--shadow-press); }
  .ws-tab.active iconify-icon { color: var(--primary-text); }
  .ws-tab iconify-icon { font-size: 14px; color: var(--text-muted); }
  .ws-tab-close { padding: 2px; border-radius: var(--r-pill); opacity: 0.6; }
  .ws-tab-close:hover { background: rgba(255,255,255,0.15); opacity: 1; }

/* === Status bar === */
  /* === Status bar === */
  .status-bar { font-size: 11px; font-weight: 500; letter-spacing: 0.4px; color: var(--text-muted); }
  .status-bar iconify-icon { font-size: 13px; }

/* === Scrollbar === */
  /* === Scrollbar === */
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--text-subtle); }

/* === Modal === */
  /* === Modal === */
  .modal-backdrop {
    background: rgba(17, 24, 39, 0.40);
    backdrop-filter: blur(6px) saturate(150%);
    -webkit-backdrop-filter: blur(6px) saturate(150%);
  }
  .modal {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-xl);
    box-shadow:
      0 24px 64px -12px rgba(0,0,0,0.25),
      0 0 0 1px rgba(0,0,0,0.05);
  }

/* === Terminal === */
  /* === Terminal — sempre fundo deep escuro independente do tema === */
  .term {
    background: var(--term-bg);
    color: var(--term-fg);
    font-family: var(--font-mono);
    font-size: 12.5px; line-height: 1.65; padding: 20px;
    border-radius: var(--r-md);
    overflow: auto; height: 100%;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 12px 24px -6px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  }
  .term .prompt { color: var(--term-prompt); }
  .term .ok { color: var(--term-ok); }
  .term .warn { color: var(--term-warn); }
  .term .err { color: var(--term-err); }
  .term .dim { color: var(--term-dim); }
  .term .mono { color: var(--term-fg); }

/* === Chat === */
  /* === Chat === */
  .chat-bubble {
    padding: 14px 18px; border-radius: var(--r-lg);
    font-size: 14px; font-weight: 300; line-height: 22px; letter-spacing: var(--body-tracking);
    max-width: 78%;
  }
  .chat-user { background: var(--primary); color: var(--primary-text); margin-left: auto; border-bottom-right-radius: var(--r-xs); }
  .chat-bot { background: var(--secondary); color: var(--primary); border-bottom-left-radius: var(--r-xs); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05); }

/* === Misc === */
  /* === Misc === */
  .shimmer {
    background: linear-gradient(90deg, var(--secondary-300) 0%, var(--secondary) 50%, var(--secondary-300) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    border-radius: var(--r-sm);
  }
  @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
  .hidden { display: none !important; }
  .vline { width: 1px; background: var(--border); }
  .kbd {
    display: inline-flex; align-items: center; height: 20px; padding: 0 6px;
    font-family: var(--font-mono); font-size: 11px;
    background: var(--code-bg-soft); color: var(--code-fg-soft);
    border-radius: var(--r-xs);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.08);
  }

  iconify-icon { display: inline-flex; vertical-align: middle; font-size: 16px; }

  /* surface ring — surfaces */
  .surf-web { --surf-color: #1E3A8A; --surf-soft: #DBEAFE; }
  .surf-api { --surf-color: #5B21B6; --surf-soft: #EDE9FE; }
  .surf-app { --surf-color: #B45309; --surf-soft: #FFEDD5; }
  .surf-endpoint { --surf-color: #166534; --surf-soft: #DCFCE7; }
  .surf-infra { --surf-color: #92400E; --surf-soft: #FEF3C7; }
  .surf-humano { --surf-color: #C2410C; --surf-soft: #FEE4D5; }
  .surf-icon {
    width: 40px; height: 40px; border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    background: var(--surf-soft); color: var(--surf-color);
  }
  .surf-icon iconify-icon { font-size: 22px; }

  /* animations */
  @keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
  .panel-anim { animation: fadein 300ms var(--ease); }
  @keyframes pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
  .modal-anim { animation: pop 300ms var(--ease); }

  /* utility */
  .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .stack-1 > * + * { margin-top: 4px; }
  .stack-2 > * + * { margin-top: 8px; }
  .stack-3 > * + * { margin-top: 12px; }
  .ring-soft { box-shadow: inset 0 0 0 1px var(--border-soft); }

/* === Topbar chip === */
  /* scope dropdown chip in topbar */
  .chip-client {
    display: inline-flex; align-items: center; gap: 10px;
    height: 36px; padding: 0 6px 0 14px;
    background: var(--surface); border-radius: var(--r-pill);
    box-shadow: 0 0 0 1px var(--border), var(--shadow-soft);
    cursor: pointer; transition: all var(--t-fast) var(--ease);
  }
  .chip-client:hover { box-shadow: 0 0 0 1px var(--border-strong), var(--shadow-soft); }
  .chip-client iconify-icon { color: var(--text-muted); }

/* === Status item (status bar buttons) === */
    .status-item {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 4px 10px; height: 24px;
      background: transparent; border: 0; cursor: pointer;
      color: var(--text-muted); font-size: 11px; font-weight: 500; letter-spacing: 0.4px;
      border-radius: var(--r-pill); white-space: nowrap;
      transition: all 150ms var(--ease);
    }
    .status-item:hover { background: var(--hover-bg-strong); color: var(--text-primary); }
    .status-item iconify-icon { font-size: 13px; color: var(--text-muted); }
    .status-item:hover iconify-icon { color: var(--text-primary); }
    .status-item .mono { font-size: 11px; font-weight: 500; color: var(--text-body); }
    .status-item:hover .mono { color: var(--text-primary); }
    .status-item .flag { font-size: 13px; }
    .status-item .status-tag { padding: 1px 6px; background: var(--secondary); color: var(--primary); border-radius: var(--r-pill); font-size: 10px; }
    .status-sep { width: 1px; height: 14px; background: var(--border); flex-shrink: 0; }

/* === Stat blocks (modals) === */
  .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { background: var(--bg-soft); border-radius: var(--r-md); padding: 14px; }
  .stat-card .lbl { font-size: 10px; font-weight: 500; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
  .stat-card .val { font-size: 17px; font-weight: 500; color: var(--text-primary); letter-spacing: -0.01em; }
  .stat-card .val .mono { font-family: var(--font-mono); font-size: 14px; }
  .stat-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
  .stat-row:last-child { border-bottom: 0; }
  .stat-row .lbl { font-size: 12px; color: var(--text-muted); letter-spacing: 0.35px; }
  .stat-row .val { font-size: 13.5px; color: var(--text-primary); font-weight: 500; }
  .stat-row .val.mono { font-family: var(--font-mono); }
  .stat-list-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg-soft); border-radius: var(--r-md); margin-bottom: 8px; }
  .stat-list-item:last-child { margin-bottom: 0; }
  .stat-icon-box { width: 36px; height: 36px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .device-frame { width: 320px; height: 660px; background: var(--primary); border-radius: 36px; padding: 12px; box-shadow: var(--shadow-card-hover); position: relative; margin: 0 auto; }
  .device-frame::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; background: var(--primary); border-radius: 0 0 14px 14px; z-index: 2; }
  .device-screen { width: 100%; height: 100%; border-radius: 26px; background: var(--neutral); overflow: hidden; }
  .browser-frame { background: var(--bg-soft); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-card); }
  .browser-chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--border-soft); }
  .browser-dot { width: 11px; height: 11px; border-radius: 999px; }

/* === FAB (botões flutuantes canto inferior direito) === */
  .dx-fab-pill {
    height: 44px; width: 44px; padding: 0;
    border-radius: var(--r-pill);
    background: var(--secondary); color: var(--primary);
    box-shadow: 0 8px 24px -4px rgba(17,24,39,0.25), inset 0 0 0 1px rgba(0,0,0,0.08);
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  }
  .dx-fab-pill:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -4px rgba(17,24,39,0.30), inset 0 0 0 1px rgba(0,0,0,0.12); }
  .dx-fab-pill iconify-icon { color: var(--primary); }
  .dx-fab-main {
    height: 56px; width: 56px; padding: 0;
    border-radius: var(--r-pill);
    box-shadow: 0 8px 24px -4px rgba(17,24,39,0.4), var(--shadow-press);
  }
  .dx-fab-main:hover { transform: translateY(-2px); }

/* === Toast (mockAction confirmações) === */
  .dx-toast-host {
    position: fixed; bottom: 96px; right: 24px;
    z-index: 200;
    display: flex; flex-direction: column; gap: 8px;
    pointer-events: none;
  }
  .dx-toast {
    display: inline-flex; align-items: center; gap: 10px;
    min-width: 220px; max-width: 360px;
    padding: 10px 16px;
    background: var(--surface);
    color: var(--text-primary);
    border-radius: var(--r-pill);
    box-shadow:
      0 0 0 1px var(--border),
      0 12px 24px -8px rgba(0,0,0,0.20),
      0 4px 8px -2px rgba(0,0,0,0.10);
    font-size: 13px; font-weight: 500; letter-spacing: var(--label-tracking);
    pointer-events: auto;
    animation: dx-toast-in 220ms var(--ease) both;
  }
  .dx-toast iconify-icon { font-size: 18px; flex-shrink: 0; }
  .dx-toast-success { background: var(--semantic-success-soft); color: var(--semantic-success); box-shadow: 0 0 0 1px rgba(22,101,52,0.2), 0 12px 24px -8px rgba(0,0,0,0.18); }
  .dx-toast-info    { background: var(--semantic-info-soft);    color: var(--semantic-info);    box-shadow: 0 0 0 1px rgba(30,58,138,0.2), 0 12px 24px -8px rgba(0,0,0,0.18); }
  .dx-toast-warning { background: var(--semantic-warning-soft); color: var(--semantic-warning); box-shadow: 0 0 0 1px rgba(180,83,9,0.2),  0 12px 24px -8px rgba(0,0,0,0.18); }
  .dx-toast-danger  { background: var(--semantic-danger-soft);  color: var(--semantic-danger);  box-shadow: 0 0 0 1px rgba(194,65,12,0.2), 0 12px 24px -8px rgba(0,0,0,0.18); }
  .dx-toast-out { animation: dx-toast-out 220ms var(--ease) forwards; }
  @keyframes dx-toast-in  { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
  @keyframes dx-toast-out { to { opacity: 0; transform: translateY(8px) scale(0.96); } }

/* === Docs modal === */
  #modal-docs .modal { width: 96vw; max-width: 1200px; height: 88vh; padding: 0; display: flex; flex-direction: column; }
  .docs-shell { display: grid; grid-template-columns: 280px 1fr; flex: 1; min-height: 0; }
  .docs-sidebar { border-right: 1px solid var(--border-soft); padding: 18px 14px; overflow-y: auto; background: var(--bg-soft); }
  .docs-content { overflow-y: auto; padding: 40px 56px; }
  .docs-section-title { font-size: 11px; font-weight: 500; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-subtle); padding: 0 12px; margin: 14px 0 6px; }
  .docs-nav-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-pill); color: var(--text-body); font-size: 13.5px; cursor: pointer; transition: all 150ms var(--ease); }
  .docs-nav-item iconify-icon { color: var(--text-muted); font-size: 16px; }
  .docs-nav-item:hover { background: var(--hover-bg); color: var(--text-primary); }
  .docs-nav-item.active { background: var(--primary); color: var(--primary-text); box-shadow: var(--shadow-press); }
  .docs-nav-item.active iconify-icon { color: var(--primary-text); }
  .docs-search { position: sticky; top: 0; background: var(--bg-soft); padding-bottom: 12px; margin-bottom: 4px; z-index: 1; }
  .markdown-body { max-width: 760px; font-family: var(--font-sans); color: var(--text-body); font-size: 15px; line-height: 1.7; letter-spacing: var(--body-tracking); font-weight: 300; }
  .markdown-body h1 { font-size: 36px; font-weight: 500; letter-spacing: -0.02em; color: var(--text-primary); line-height: 1.15; margin: 0 0 12px; }
  .markdown-body h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; color: var(--text-primary); line-height: 1.3; margin: 36px 0 12px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
  .markdown-body h3 { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--text-primary); margin: 24px 0 8px; }
  .markdown-body h4 { font-size: 14px; font-weight: 500; letter-spacing: 0.35px; color: var(--text-primary); margin: 18px 0 8px; text-transform: uppercase; }
  .markdown-body p { margin: 0 0 14px; }
  .markdown-body strong { font-weight: 500; color: var(--text-primary); }
  .markdown-body em { font-style: italic; }
  .markdown-body code { font-family: var(--font-mono); font-size: 13px; background: var(--code-bg-soft); color: var(--code-fg-soft); padding: 1px 7px; border-radius: var(--r-xs); font-weight: 500; }
  .markdown-body pre { background: var(--code-bg); color: var(--code-fg); border-radius: var(--r-md); padding: 18px 22px; margin: 18px 0; overflow-x: auto; box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 12px 24px -6px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04); }
  .markdown-body pre code { background: transparent; color: inherit; padding: 0; font-size: 12.5px; line-height: 1.65; }
  .markdown-body ul, .markdown-body ol { padding-left: 22px; margin: 0 0 14px; }
  .markdown-body ul li, .markdown-body ol li { margin-bottom: 6px; }
  .markdown-body blockquote { border-left: 3px solid var(--primary); padding: 8px 18px; margin: 18px 0; background: var(--secondary-300); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--text-primary); font-weight: 400; }
  .markdown-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; box-shadow: var(--shadow-card); border-radius: var(--r-md); overflow: hidden; }
  .markdown-body th { background: var(--bg-soft); text-align: left; padding: 10px 14px; font-weight: 500; letter-spacing: 0.35px; color: var(--text-primary); border-bottom: 1px solid var(--border); font-size: 12px; text-transform: uppercase; }
  .markdown-body td { padding: 10px 14px; border-bottom: 1px solid var(--border-soft); }
  .markdown-body tr:last-child td { border-bottom: 0; }
  .markdown-body a { color: var(--primary); font-weight: 500; text-decoration: underline; text-decoration-color: var(--secondary-600); text-decoration-thickness: 2px; text-underline-offset: 3px; }
  .markdown-body a:hover { text-decoration-color: var(--primary); }
  .markdown-body hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
  .docs-meta { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; background: var(--secondary); color: var(--primary); border-radius: var(--r-pill); font-size: 11px; font-weight: 500; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 18px; }
  .docs-toolbar { display: flex; align-items: center; gap: 8px; padding: 16px 24px; border-bottom: 1px solid var(--border-soft); }
