
      :root {
        --exa-base: #f6fafe;
        --exa-fog: #eef4fa;
        --exa-soft-slate: #e1e9f0;
        --exa-cool-fog: #e7eff5;
        --exa-ink: #17242c;
        --exa-graphite: #2a343a;
        --exa-slate: #566167;
        --exa-signal: #3b82f6;
        --exa-signal-soft: #d5e3fc;
        --exa-mint: #006b62;
        --exa-lime: #91feef;
        --exa-amber: #526074;
        --exa-red: #a83836;
        --exa-rail: #eef4fa;
        --exa-rail-edge: #d5dee8;
        --exa-panel-border: #e2eaf1;
      }

      /* Custom Scrollbar for sleek look */
      ::-webkit-scrollbar { width: 5px; height: 5px; }
      ::-webkit-scrollbar-track { background: transparent; }
      ::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 3px; }
      ::-webkit-scrollbar-thumb:hover { background: #d1d5db; }

      .dark ::-webkit-scrollbar-thumb { background: rgba(42, 57, 74, 0.72); }
      .dark ::-webkit-scrollbar-thumb:hover { background: rgba(58, 77, 98, 0.82); }

      /* Tooltip styles */
      [data-tooltip] { position: relative; cursor: help; }
      [data-tooltip]:before {
        content: attr(data-tooltip);
        position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%);
        padding: 6px 10px; background: #1f2937; color: white;
        text-transform: none; font-size: 11px; font-weight: 500; border-radius: 6px;
        white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.2s;
        z-index: 100; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        border: 1px solid rgba(255,255,255,0.1);
      }
      [data-tooltip]:hover:before { opacity: 1; visibility: visible; bottom: 140%; }

      /* Downward Tooltip (to prevent clipping) */
      [data-tooltip-pos="bottom"]:before {
        bottom: auto; top: 125%;
      }
      [data-tooltip-pos="bottom"]:hover:before {
        bottom: auto; top: 140%;
      }

      .dark [data-tooltip]:before { background: #374151; }

      /* ═══════════════════════════════════════════════════════
         Dark Mode Global Override — 눈의 피로 감소
         배경을 밝히고, 대비를 부드럽게, 채도를 낮춤
         ═══════════════════════════════════════════════════════ */

      /* 1. 메인 배경: 순수 검정에 가까운 gray-900(#111827) → 부드러운 다크 블루 */
      .dark body,
      .dark .bg-gray-900 { background-color: #1a2332 !important; }
      .dark .bg-gray-950,
      .dark .dark\:bg-gray-950 { background-color: #151d2b !important; }
      .dark .bg-gray-800,
      .dark .dark\:bg-gray-800 { background-color: #1e2a3a !important; }

      /* 2. 보더: 날카로운 gray-700/800 → 부드러운 블루그레이 */
      .dark .border-gray-700,
      .dark .dark\:border-gray-700 { border-color: #2d3d50 !important; }
      .dark .border-gray-800,
      .dark .dark\:border-gray-800 { border-color: #243040 !important; }

      /* 3. 헤더 바: 메인 배경과 구분되면서도 편안한 톤 */
      .dark header { background-color: #1e2a3a !important; }

      /* 4. 카드 및 패널 컴포넌트 */
      .dark .dark\:bg-gray-900,
      .dark [class*="dark:bg-gray-900"] { background-color: #1e2a3a !important; }

      /* 5. 텍스트 밝기 최적화: 순백(#fff) → 약간 따뜻한 화이트 */
      .dark .text-white,
      .dark .dark\:text-white { color: #e8ecf1 !important; }
      .dark .dark\:text-gray-100 { color: #dce1e8 !important; }
      .dark .dark\:text-gray-200 { color: #c8d0da !important; }

      /* 6. 드롭다운/팝오버 배경 */
      .dark .dark\:bg-gray-800\/95 { background-color: rgba(30,42,58,0.97) !important; }

      /* 7. 호버 상태 부드럽게 */
      .dark .dark\:hover\:bg-gray-700:hover { background-color: #2a3a4e !important; }
      .dark .dark\:hover\:bg-gray-800:hover { background-color: #243248 !important; }

      /* 8. 사이드바 아이콘 바 — 메인 배경보다 약간 어둡게 유지하되 부드럽게 */
      .dark aside[class*="bg-gray-950"] { background-color: #151d2b !important; }

      /* 9. 입력 필드 배경 */
      .dark input[class*="dark:bg-gray-800"],
      .dark input[class*="dark:bg-gray-900"],
      .dark textarea[class*="dark:bg-gray-800"],
      .dark textarea[class*="dark:bg-gray-900"],
      .dark select[class*="dark:bg-gray-800"],
      .dark select[class*="dark:bg-gray-900"] { background-color: #1a2535 !important; }

      /* ═══════════════════════════════════════════════════════
         10. 다크모드 컴포넌트 색상 Muting — 채도 낮추기
         라이트모드에는 전혀 영향 없음 (.dark 스코프)
         ═══════════════════════════════════════════════════════ */

      /* ── 빨강 계열 (위험, 삭제, 경고) ── */
      /* bg-red-500 / bg-red-600: 100% → 60% 채도 */
      .dark .bg-red-500 { background-color: #b45555 !important; }
      .dark .bg-red-600 { background-color: #a04848 !important; }
      .dark .text-red-500 { color: #e07070 !important; }
      .dark .text-red-600 { color: #d46060 !important; }
      .dark .dark\:text-red-400 { color: #d4807f !important; }
      .dark .border-red-500 { border-color: #9e5252 !important; }
      .dark .dark\:bg-red-900\/20 { background-color: rgba(160,72,72,0.15) !important; }

      /* ── 초록 계열 (성공, 활성) ── */
      .dark .bg-green-500 { background-color: #5a9e6e !important; }
      .dark .bg-green-600 { background-color: #4d8b60 !important; }
      .dark .bg-emerald-500 { background-color: #4d9b76 !important; }
      .dark .bg-emerald-600 { background-color: #3d8a66 !important; }
      .dark .text-green-500 { color: #6fbe84 !important; }
      .dark .text-green-600 { color: #5aad72 !important; }
      .dark .text-green-400 { color: #7cc992 !important; }
      .dark .text-emerald-500 { color: #6fbe90 !important; }
      .dark .text-emerald-400 { color: #7cc9a0 !important; }
      .dark .dark\:text-green-400 { color: #7cc992 !important; }
      .dark .dark\:text-emerald-400 { color: #7cc9a0 !important; }

      /* ── 파랑 계열 (브랜드, 링크) — 약간만 mute ── */
      .dark .bg-blue-500 { background-color: #5080c0 !important; }
      .dark .bg-blue-600 { background-color: #4570ae !important; }
      .dark .text-blue-500 { color: #6c9ed6 !important; }
      .dark .text-blue-600 { color: #6090c8 !important; }
      .dark .dark\:text-blue-400 { color: #7caed8 !important; }
      .dark .bg-brand-600 { background-color: #4570ae !important; }

      /* ── 오렌지/앰버 계열 (주의, 대기) ── */
      .dark .bg-orange-500 { background-color: #c08050 !important; }
      .dark .bg-amber-500 { background-color: #c09840 !important; }
      .dark .bg-yellow-500 { background-color: #b8a040 !important; }
      .dark .text-orange-500 { color: #d49570 !important; }
      .dark .text-amber-500 { color: #d4aa60 !important; }
      .dark .text-yellow-500 { color: #ccb560 !important; }
      .dark .dark\:text-orange-400 { color: #d4a080 !important; }
      .dark .dark\:text-amber-400 { color: #d4b470 !important; }
      .dark .dark\:text-yellow-400 { color: #ccba70 !important; }

      /* ── 보라/인디고 계열 ── */
      .dark .bg-purple-500 { background-color: #8068a8 !important; }
      .dark .bg-indigo-500 { background-color: #6070a8 !important; }
      .dark .text-purple-500 { color: #a88cc8 !important; }
      .dark .text-indigo-500 { color: #8898c8 !important; }
      .dark .dark\:text-purple-400 { color: #b098d0 !important; }

      /* ── 그래디언트 배경 muting ── */
      .dark [class*="from-red-"] { --tw-gradient-from: #a04848 !important; }
      .dark [class*="to-red-"] { --tw-gradient-to: #8a3e3e !important; }
      .dark [class*="from-green-"] { --tw-gradient-from: #4d8b60 !important; }
      .dark [class*="from-emerald-"] { --tw-gradient-from: #3d8a66 !important; }
      .dark [class*="to-emerald-"] { --tw-gradient-to: #2d7a56 !important; }

      /* ── 프로그레스 바 / 인라인 스타일 색상 오버라이드 ── */
      /* 인라인 스타일은 CSS로 오버라이드 불가하므로, Tailwind 클래스 기반 요소만 처리 */

      /* ── 포커스 링 색상 부드럽게 ── */
      .dark .focus\:ring-red-500:focus { --tw-ring-color: rgba(180,85,85,0.5) !important; }
      .dark .focus\:ring-green-500:focus { --tw-ring-color: rgba(90,158,110,0.5) !important; }
      .dark .focus\:ring-blue-500:focus { --tw-ring-color: rgba(80,128,192,0.5) !important; }

      .exa-white-header {
        height: 56px;
        background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
        border-bottom-color: transparent !important;
        box-shadow: none;
        backdrop-filter: blur(10px);
        position: relative;
        overflow: visible;
      }

      .exa-white-header::after {
        content: "";
        position: absolute;
        left: 12px;
        bottom: 0;
        width: min(30vw, 420px);
        height: 1px;
        background: linear-gradient(90deg, rgba(214,31,38,0.12), rgba(59,130,246,0.34), rgba(148,163,184,0));
        pointer-events: none;
      }

      .dark .exa-white-header::after {
        background: linear-gradient(90deg, rgba(248,113,113,0.18), rgba(96,165,250,0.34), rgba(71,85,105,0));
      }

      .exa-white-brand {
        color: var(--exa-ink);
        display: inline-flex;
        align-items: center;
        letter-spacing: 0.01em;
      }

      .exa-brand-ribbon {
        display: flex;
        align-items: center;
        gap: 9px;
        padding-right: 14px;
        margin-right: 10px;
        border-right: 1px solid rgba(215, 225, 235, 0.92);
      }

      .exa-header-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 32px;
        width: 32px;
        padding: 0;
        border: 0;
        border-radius: 10px;
        background: transparent;
        box-shadow: none;
        overflow: hidden;
        transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1),
                    padding 220ms cubic-bezier(0.22, 1, 0.36, 1),
                    background-color 180ms ease,
                    opacity 180ms ease;
      }

      .exa-header-toggle:hover {
        background: rgba(241, 245, 249, 0.9);
      }

      .exa-header-toggle.is-open {
        width: 32px;
      }

      .exa-header-toggle.is-closed {
        width: 32px;
      }

      .exa-header-toggle-frame {
        display: inline-flex;
        align-items: stretch;
        width: 16px;
        height: 14px;
        border: 1px solid #94a3b8;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: none;
        gap: 0;
        overflow: hidden;
        transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1),
                    border-color 180ms ease,
                    background-color 180ms ease;
      }

      .exa-header-toggle.is-closed .exa-header-toggle-frame {
        width: 16px;
      }

      .exa-header-toggle-rail {
        flex: 0 0 auto;
        width: 4px;
        background: linear-gradient(180deg, #dbeafe 0%, #d4deed 100%);
        border-radius: 2px 0 0 2px;
        transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1),
                    background-color 180ms ease;
      }

      .exa-header-toggle.is-closed .exa-header-toggle-rail {
        width: 8px;
      }

      .exa-header-toggle-core {
        display: block;
        flex: 1 1 auto;
        background: transparent;
        transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
      }

      .exa-header-toggle.is-closed .exa-header-toggle-core {
        transform: none;
      }

      .dark .exa-header-toggle {
        background: transparent;
        box-shadow: none;
      }

      .dark .exa-header-toggle:hover {
        background: rgba(51, 65, 85, 0.38);
      }

      .dark .exa-header-toggle-frame {
        border-color: #7c8ca1;
        background: rgba(30, 41, 59, 0.92);
      }

      .dark .exa-header-toggle-rail {
        background: linear-gradient(180deg, #334861 0%, #2a3b51 100%);
      }

      .exa-brand-mark {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
      }

      .exa-brand-copy {
        display: flex;
        align-items: center;
        line-height: 1;
      }

      .exa-control-ribbon {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: auto;
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
      }

      .exa-header-left {
        display: flex;
        align-items: center;
        flex: 0 1 auto;
        min-width: 0;
      }

      .exa-story-slot {
        --exa-rail-width: 38px;
        --exa-menu-width: 248px;
        --exa-header-brand-width: 210px;
        --exa-canvas-gutter: 24px;
        flex: 0 0 auto;
        min-width: 0;
        justify-content: flex-start;
        margin-left: max(14px, calc(var(--exa-rail-width) + var(--exa-menu-width) + var(--exa-canvas-gutter) - var(--exa-header-brand-width)));
        padding-inline: 0;
      }

      .exa-white-header:has(#header-breadcrumb:not(.hidden)) .exa-story-slot {
        margin-left: 14px;
      }

      #header-breadcrumb {
        min-width: 0;
        max-width: clamp(240px, 36vw, 620px);
        overflow: hidden;
        white-space: nowrap;
      }

      .exa-story-ribbon {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 0;
        width: auto;
        max-width: none;
      }

      .exa-story-overlay {
        position: fixed;
        inset: 0;
        background: transparent;
        opacity: 0;
        pointer-events: none;
        z-index: 10010;
      }

      .exa-story-ribbon:has(.exa-story-group .exa-story-toggle:checked) .exa-story-overlay {
        opacity: 1;
        pointer-events: auto;
      }

      .exa-story-time {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 999px;
        background: rgba(241, 245, 249, 0.72);
        color: #475569;
        border: 1px solid rgba(203, 213, 225, 0.62);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.01em;
        white-space: nowrap;
      }

      .exa-story-time i {
        color: #2563eb;
      }

      .dark .exa-story-time {
        background: rgba(15, 23, 42, 0.92);
        color: #cbd5e1;
        border: 1px solid rgba(51, 65, 85, 0.86);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
      }

      .exa-story-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 999px;
        color: #1e5ac2;
        background: rgba(239, 246, 255, 0.74);
        border: 1px solid rgba(147, 197, 253, 0.46);
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
        white-space: nowrap;
        transition: color 140ms ease, background-color 140ms ease;
      }

      .exa-story-link:hover {
        color: #174ea6;
        background: rgba(219, 234, 254, 0.82);
      }

      .dark .exa-story-link {
        color: #94a3b8;
        background: rgba(30, 41, 59, 0.72);
        border-color: rgba(51, 65, 85, 0.72);
      }

      .dark .exa-story-link:hover {
        color: #dbeafe;
        background: rgba(30, 41, 59, 0.86);
      }

      .exa-story-trigger {
        cursor: pointer;
      }

      .exa-story-group {
        position: relative;
        display: inline-block;
      }

      .exa-story-toggle {
        position: absolute;
        opacity: 0;
        pointer-events: none;
      }

      .exa-story-group[data-align="center"] .exa-story-menu {
        left: 50%;
        transform-origin: top center;
      }

      .exa-story-group[data-align="end"] .exa-story-menu {
        left: auto;
        right: 0;
        transform-origin: top right;
      }

      .exa-story-toggle:checked + .exa-story-trigger {
        color: #1e5ac2;
        background: linear-gradient(180deg, rgba(245,250,255,0.96), rgba(237,245,255,0.92));
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 6px 16px rgba(37,99,235,0.055);
      }

      .dark .exa-story-toggle:checked + .exa-story-trigger {
        color: #dbeafe;
        background: linear-gradient(180deg, rgba(51, 65, 85, 0.92), rgba(30, 41, 59, 0.92));
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 22px rgba(0,0,0,0.22);
      }

      .exa-story-menu {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        min-width: 236px;
        max-width: 280px;
        padding: 10px;
        border-radius: 18px;
        background:
          linear-gradient(180deg, rgba(255,255,255,0.985), rgba(248,251,255,0.965));
        border: 1px solid rgba(219, 230, 242, 0.92);
        box-shadow:
          0 24px 46px rgba(15, 23, 42, 0.10),
          0 6px 18px rgba(37, 99, 235, 0.08),
          inset 0 1px 0 rgba(255,255,255,0.94);
        backdrop-filter: blur(18px);
        transform: translateY(-10px) scale(0.96);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 220ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1), visibility 220ms ease;
        z-index: 10020;
        overflow: hidden;
      }

      .exa-story-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 6px 8px 8px;
      }

      .exa-story-menu-label {
        color: #94a3b8;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .exa-story-menu-close {
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: rgba(241,245,249,0.88);
        color: #94a3b8;
        cursor: pointer;
        transition: background-color 140ms ease, color 140ms ease, transform 160ms ease;
        text-decoration: none;
      }

      .exa-story-menu-close:hover {
        background: rgba(226, 236, 248, 0.96);
        color: #1e5ac2;
        transform: rotate(90deg);
      }

      .exa-story-toggle:checked + .exa-story-trigger + .exa-story-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
      }

      .exa-story-menu::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 3px;
        background: linear-gradient(90deg, rgba(96,165,250,0.16), rgba(37,99,235,0.34), rgba(96,165,250,0.16));
      }

      .exa-story-menu::after {
        content: "";
        position: absolute;
        top: -7px;
        left: 22px;
        width: 14px;
        height: 14px;
        transform: rotate(45deg);
        background: rgba(252,254,255,0.98);
        border-left: 1px solid rgba(219, 230, 242, 0.88);
        border-top: 1px solid rgba(219, 230, 242, 0.88);
      }

      .exa-story-group[data-align="center"] .exa-story-menu::after {
        left: 50%;
        margin-left: -7px;
      }

      .exa-story-group[data-align="end"] .exa-story-menu::after {
        left: auto;
        right: 22px;
      }

      .exa-story-trigger {
        display: inline-flex;
        align-items: center;
        border: none;
        appearance: none;
        -webkit-appearance: none;
        background: transparent;
      }

      .exa-story-menu-item {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 11px 12px;
        border-radius: 12px;
        transition: background-color 160ms ease, color 160ms ease, transform 180ms ease, box-shadow 180ms ease;
        position: relative;
      }

      .exa-story-menu-item:hover {
        background: linear-gradient(180deg, rgba(244,249,255,0.96), rgba(236,245,255,0.92));
        transform: translateY(-1px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 8px 18px rgba(37,99,235,0.07);
      }

      .exa-story-menu-kicker {
        color: #94a3b8;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
      }

      .exa-story-menu-title {
        color: #334155;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.4;
      }

      .exa-docs-menu {
        min-width: 390px;
        max-width: 440px;
        max-height: min(72vh, 620px);
        overflow-y: auto;
      }

      .exa-docs-menu-section {
        padding: 8px 2px 10px;
      }

      .exa-docs-menu-section + .exa-docs-menu-section {
        border-top: 1px solid rgba(226, 232, 240, 0.72);
      }

      .exa-docs-menu-section-head {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 8px 10px 6px;
        color: #64748b;
        font-size: 11px;
        font-weight: 800;
        line-height: 1;
      }

      .exa-docs-menu .exa-story-menu-item {
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
        border-radius: 10px;
        text-decoration: none;
        outline: none;
      }

      .exa-docs-menu .exa-story-menu-kicker {
        color: #94a3b8;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.05em;
      }

      .exa-docs-menu .exa-story-menu-title {
        min-width: 0;
        overflow: hidden;
        color: #334155;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .exa-docs-menu .exa-story-menu-item:focus-visible {
        background: rgba(239, 246, 255, 0.86);
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
      }

      .dark .exa-docs-menu-section + .exa-docs-menu-section {
        border-top-color: rgba(51, 65, 85, 0.72);
      }

      .dark .exa-docs-menu-section-head {
        color: #cbd5e1;
      }

      .dark .exa-docs-menu .exa-story-menu-title {
        color: #e2e8f0;
      }

      .exa-story-dot {
        width: 4px;
        height: 4px;
        border-radius: 999px;
        background: rgba(148,163,184,0.24);
        flex: 0 0 auto;
      }

      .dark .exa-story-dot {
        background: rgba(71, 85, 105, 0.82);
      }

      .exa-story-status {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(246, 250, 255, 0.48);
        color: #7a8aa0;
        font-size: 11px;
        font-weight: 600;
        white-space: nowrap;
        text-decoration: none;
        cursor: pointer;
        transition: color 140ms ease, background-color 140ms ease, box-shadow 160ms ease;
      }

      .dark .exa-story-status {
        color: #cbd5e1;
        background: rgba(30, 41, 59, 0.86);
        border: 1px solid rgba(51, 65, 85, 0.86);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
      }

      .exa-story-status:hover {
        color: #48668f;
        background: linear-gradient(180deg, rgba(247,251,255,0.9), rgba(240,247,255,0.82));
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 6px 16px rgba(37,99,235,0.05);
      }

      .dark .exa-story-status:hover {
        color: #dbeafe;
        background: linear-gradient(180deg, rgba(51,65,85,0.92), rgba(30,41,59,0.92));
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 22px rgba(0,0,0,0.22);
      }

      .exa-white-header-sep {
        background: transparent !important;
      }

      .dark .exa-white-header-sep {
        background: #475569 !important;
        opacity: 0.75;
      }

      .exa-white-header-icon {
        color: #64748b;
        border: 1px solid transparent;
        background: transparent;
      }

      .exa-white-header-icon:hover {
        color: #334155;
        background: linear-gradient(180deg, rgba(255,255,255,1), rgba(240,245,251,0.98)) !important;
        border-color: rgba(207, 219, 232, 0.72);
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
      }

      .exa-ontology-ai-trigger {
        color: #0f766e;
        border-color: transparent;
        background: transparent;
        box-shadow: none;
      }

      .exa-ontology-ai-trigger:hover {
        color: #115e59;
        border-color: rgba(207, 219, 232, 0.72);
        background: linear-gradient(180deg, rgba(255,255,255,1), rgba(240,245,251,0.98)) !important;
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
      }

      .dark .exa-ontology-ai-trigger {
        color: #5eead4;
        border-color: transparent;
        background: transparent;
      }

      .exa-white-rail {
        background: #ffffff !important;
        border-right-color: transparent !important;
        box-shadow: none;
        position: relative;
      }

      .exa-white-rail::before {
        content: "";
        position: absolute;
        top: 16px;
        bottom: 16px;
        left: 50%;
        width: 1px;
        transform: translateX(-50%);
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(203, 213, 225, 0.20), rgba(203, 213, 225, 0.36), rgba(203, 213, 225, 0.16));
        pointer-events: none;
      }

      .dark .exa-white-rail::before {
        background: linear-gradient(180deg, rgba(21, 29, 43, 0.08), rgba(51, 65, 85, 0.22), rgba(21, 29, 43, 0.08));
      }

      .exa-rail-button {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        border: 1px solid transparent;
        transition: all 160ms ease;
        z-index: 2;
      }

      .exa-rail-button-inactive {
        color: #5f7288;
        background: transparent;
      }

      .exa-rail-button-inactive:hover {
        color: #475569;
        background: rgba(252, 254, 255, 0.84);
        border-color: rgba(201, 213, 226, 0.62);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
      }

      .exa-rail-button-active {
        color: #1e5ac2;
        background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(243,248,255,0.94));
        border-color: rgba(184, 205, 228, 0.72);
        box-shadow: 0 3px 8px rgba(30, 90, 194, 0.08);
      }

      .dark .exa-rail-button-inactive {
        color: #9aa9bc;
        background: rgba(31, 43, 59, 0.42);
        border-color: rgba(70, 86, 107, 0.26);
      }

      .dark .exa-rail-button-inactive:hover {
        color: #d7e2ef;
        background: rgba(42, 56, 74, 0.86);
        border-color: rgba(95, 120, 150, 0.62);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
      }

      .dark .exa-rail-button-active {
        color: #8fb7ef;
        background: linear-gradient(180deg, rgba(43, 58, 78, 0.96), rgba(35, 48, 66, 0.96));
        border-color: rgba(92, 119, 151, 0.58);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), 0 0 0 1px rgba(96, 165, 250, 0.045);
      }

      .dark .exa-rail-button-active::after {
        content: "";
        position: absolute;
        right: -6px;
        top: 7px;
        bottom: 7px;
        width: 2px;
        border-radius: 999px;
        background: rgba(143, 183, 239, 0.72);
      }

      .dark .exa-white-menu .exa-menu-group-icon {
        background: linear-gradient(180deg, rgba(43, 58, 78, 0.96), rgba(35, 48, 66, 0.96)) !important;
        border-color: rgba(92, 119, 151, 0.46) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.035) !important;
      }

      .dark .exa-white-menu .exa-menu-group-icon-mark {
        color: #8fb7ef !important;
      }

      .exa-white-menu {
        background: linear-gradient(180deg, #fbfdff 0%, #f0f6fb 100%) !important;
        border-right-color: transparent !important;
        box-shadow: none;
        position: relative;
      }

      .exa-white-menu::before {
        content: "";
        position: absolute;
        left: 15px;
        top: 84px;
        bottom: 18px;
        width: 1px;
        background: transparent;
        pointer-events: none;
      }

      .exa-white-menu-search {
        background: rgba(240, 246, 252, 0.96) !important;
        border-color: transparent !important;
        color: #475569;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.94), 0 1px 2px rgba(15, 23, 42, 0.03);
      }

      .exa-white-menu-search:focus {
        background: #ffffff !important;
        border-color: #bfd2e8 !important;
        box-shadow: 0 0 0 3px rgba(30,90,194,0.08);
      }

      .exa-menu-scroll-shell {
        direction: ltr;
      }

      .exa-menu-scroll-shell > * {
        direction: ltr;
      }

      .exa-menu-scroll-shell::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #edf4fb 0%, #e3edf6 100%);
        border-radius: 999px;
      }

      .exa-menu-scroll-shell::-webkit-scrollbar-track {
        background: rgba(237, 244, 251, 0.14);
      }

      .exa-white-menu-section {
        color: #526074;
        letter-spacing: 0.04em;
      }

      .exa-white-menu-section:hover {
        background: rgba(226, 236, 247, 0.94) !important;
        color: #1e293b;
      }

      html:not(.dark) body .exa-white-menu a:not(.exa-white-menu-active):hover {
        background: rgba(226, 236, 247, 0.96) !important;
        color: #0f172a !important;
        box-shadow: inset 2px 0 0 rgba(37, 99, 235, 0.28);
      }

      html:not(.dark) body .exa-white-menu a:not(.exa-white-menu-active):hover i,
      html:not(.dark) body .exa-white-menu a:not(.exa-white-menu-active):hover > div > span:first-child {
        color: #0f172a !important;
      }

      html:not(.dark) body .exa-white-menu a:not(.exa-white-menu-active):hover > div > span:last-child {
        color: #475569 !important;
      }

      .exa-white-menu-active {
        background: linear-gradient(180deg, rgba(243, 249, 255, 0.92), rgba(236, 244, 253, 0.9));
        border: 1px solid transparent;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
        position: relative;
      }

      .exa-white-menu-active,
      .exa-white-menu-active:hover {
        color: #2563eb !important;
      }

      .exa-white-menu-active i,
      .exa-white-menu-active:hover i,
      .exa-white-menu-active > div > span:first-child,
      .exa-white-menu-active:hover > div > span:first-child {
        color: #2563eb !important;
      }

      .exa-white-menu-active > div > span:last-child,
      .exa-white-menu-active:hover > div > span:last-child {
        color: rgba(37, 99, 235, 0.78) !important;
      }

      .exa-white-menu-active::before {
        content: "";
        position: absolute;
        left: 0;
        top: 10px;
        bottom: 10px;
        width: 2px;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(30,90,194,0.92), rgba(57,119,225,0.82));
      }

      .exa-white-tabbar {
        height: 40px;
        background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
        border-bottom-color: transparent !important;
        box-shadow: none;
      }

      .exa-decision-field {
        position: relative;
        background: linear-gradient(180deg, #eff5fb 0%, #e6eef6 100%);
      }

      .exa-decision-field::before {
        display: none;
      }

      .exa-decision-field::after { display: none; }

      .exa-white-divider {
        background: transparent;
      }

      .exa-white-action-soft,
      .exa-white-action-primary,
      .exa-white-action-danger {
        border: 1px solid transparent;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035);
      }

      .exa-white-action-soft {
        background: linear-gradient(180deg, #fbfdff 0%, #eef4f9 100%);
        color: #495b70;
        border-color: rgba(200, 214, 227, 0.68);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.035);
      }

      .exa-white-action-soft:hover {
        background: linear-gradient(180deg, #ffffff 0%, #e8f0f8 100%);
        color: #2f4155;
        border-color: rgba(188, 206, 221, 0.74);
      }

      .exa-white-action-primary {
        background: linear-gradient(180deg, #1e5ac2 0%, #2f6dd8 100%);
        color: #f9f8ff;
        border-color: rgba(30, 90, 194, 0.26);
        box-shadow: 0 4px 10px rgba(30, 90, 194, 0.14);
      }

      .exa-white-action-primary:hover {
        background: linear-gradient(180deg, #235fc8 0%, #3876dd 100%);
      }

      .exa-white-action-danger {
        background: linear-gradient(180deg, #fff6f5 0%, #f9e7e5 100%);
        color: #993633;
        border-color: rgba(168, 56, 54, 0.18);
        box-shadow: 0 1px 3px rgba(168, 56, 54, 0.04);
      }

      .exa-white-action-danger:hover {
        background: linear-gradient(180deg, #fff1ef 0%, #f9e3e1 100%);
        color: #8f2f2d;
      }

      /* Dark shell chrome correction: color/effect-only, preserving tab and menu behavior. */
      html.dark body .exa-white-tabbar,
      .dark body .exa-white-tabbar {
        background: #111c2c !important;
        border-bottom-color: #24384f !important;
        box-shadow: none !important;
      }

      html.dark body #multi-tabs-container > .z-10,
      .dark body #multi-tabs-container > .z-10 {
        background: #17263a !important;
        border-color: #31445b !important;
        color: #e6eef8 !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), 0 8px 18px rgba(0,0,0,0.18) !important;
      }

      html.dark body #multi-tabs-container > .z-10 > div.absolute,
      .dark body #multi-tabs-container > .z-10 > div.absolute {
        background: linear-gradient(90deg, #22d3ee 0%, #2f67d8 100%) !important;
      }

      html.dark body #multi-tabs-container > div:not(.z-10),
      .dark body #multi-tabs-container > div:not(.z-10) {
        background: rgba(17,28,44,0.82) !important;
        border-color: #26384d !important;
        color: #8fa3b8 !important;
        box-shadow: none !important;
      }

      html.dark body #multi-tabs-container > div:not(.z-10):hover,
      .dark body #multi-tabs-container > div:not(.z-10):hover {
        background: #17263a !important;
        color: #d8e4f1 !important;
      }

      html.dark body .exa-rail-button-active,
      html.dark body .exa-rail-button-active:hover,
      .dark body .exa-rail-button-active,
      .dark body .exa-rail-button-active:hover {
        color: #b9eef8 !important;
        background: linear-gradient(180deg, rgba(34, 64, 88, 0.96) 0%, rgba(26, 51, 72, 0.96) 100%) !important;
        border-color: transparent !important;
        box-shadow: none !important;
      }

      html.dark body .exa-rail-button-active i,
      html.dark body .exa-rail-button-active:hover i,
      .dark body .exa-rail-button-active i,
      .dark body .exa-rail-button-active:hover i {
        color: #b9eef8 !important;
        filter: none !important;
      }

      html.dark body .exa-rail-button-active svg,
      html.dark body .exa-rail-button-active:hover svg,
      .dark body .exa-rail-button-active svg,
      .dark body .exa-rail-button-active:hover svg {
        stroke-width: 2.35 !important;
      }

      html.dark body .exa-rail-button-active::after,
      .dark body .exa-rail-button-active::after {
        background: rgba(34, 211, 238, 0.68) !important;
      }

      html.dark body .exa-white-menu-active,
      html.dark body .exa-white-menu-active:hover,
      .dark body .exa-white-menu-active,
      .dark body .exa-white-menu-active:hover {
        background: linear-gradient(90deg, rgba(34,211,238,0.14) 0%, rgba(23,38,58,0.94) 100%) !important;
        border-color: rgba(49, 68, 91, 0.74) !important;
        border-left-color: #22d3ee !important;
        color: #75dbe8 !important;
        box-shadow: inset 3px 0 0 rgba(34, 211, 238, 0.78), inset 0 1px 0 rgba(255,255,255,0.028) !important;
      }

      html.dark body .exa-white-menu-active i,
      html.dark body .exa-white-menu-active:hover i,
      html.dark body .exa-white-menu-active > div > span:first-child,
      html.dark body .exa-white-menu-active:hover > div > span:first-child,
      .dark body .exa-white-menu-active i,
      .dark body .exa-white-menu-active:hover i,
      .dark body .exa-white-menu-active > div > span:first-child,
      .dark body .exa-white-menu-active:hover > div > span:first-child {
        color: #75dbe8 !important;
      }

      html.dark body .exa-white-menu-active > div > span:last-child,
      html.dark body .exa-white-menu-active:hover > div > span:last-child,
      .dark body .exa-white-menu-active > div > span:last-child,
      .dark body .exa-white-menu-active:hover > div > span:last-child {
        color: #7f93a9 !important;
      }

      html.dark body .exa-white-menu-active::before,
      .dark body .exa-white-menu-active::before {
        background: linear-gradient(180deg, rgba(34, 211, 238, 0.82) 0%, rgba(14, 116, 144, 0.86) 100%) !important;
      }

      html.dark body .exa-white-menu-section:hover,
      .dark body .exa-white-menu-section:hover {
        background: rgba(35, 52, 73, 0.92) !important;
        color: #e6eef8 !important;
      }

      html.dark body .exa-white-menu a:not(.exa-white-menu-active):hover,
      .dark body .exa-white-menu a:not(.exa-white-menu-active):hover {
        background: linear-gradient(90deg, rgba(34, 211, 238, 0.09) 0%, rgba(27, 43, 63, 0.96) 100%) !important;
        color: #e6eef8 !important;
        box-shadow: inset 2px 0 0 rgba(34, 211, 238, 0.42) !important;
      }

      html.dark body .exa-white-menu a:not(.exa-white-menu-active):hover i,
      html.dark body .exa-white-menu a:not(.exa-white-menu-active):hover > div > span:first-child,
      .dark body .exa-white-menu a:not(.exa-white-menu-active):hover i,
      .dark body .exa-white-menu a:not(.exa-white-menu-active):hover > div > span:first-child {
        color: #d9f6fb !important;
      }

      html.dark body .exa-white-menu a:not(.exa-white-menu-active):hover > div > span:last-child,
      .dark body .exa-white-menu a:not(.exa-white-menu-active):hover > div > span:last-child {
        color: #9eb3c8 !important;
      }

      html.dark body .exa-menu-scroll-shell,
      .dark body .exa-menu-scroll-shell {
        scrollbar-color: rgba(42,57,74,0.72) transparent !important;
      }

      html.dark body .exa-menu-scroll-shell::-webkit-scrollbar-thumb,
      .dark body .exa-menu-scroll-shell::-webkit-scrollbar-thumb {
        background: rgba(42,57,74,0.72) !important;
      }

      html.dark body .exa-menu-scroll-shell::-webkit-scrollbar-thumb:hover,
      .dark body .exa-menu-scroll-shell::-webkit-scrollbar-thumb:hover {
        background: rgba(58,77,98,0.82) !important;
      }

      html.dark body .exa-menu-scroll-shell::-webkit-scrollbar-track,
      .dark body .exa-menu-scroll-shell::-webkit-scrollbar-track {
        background: rgba(12,20,32,0.08) !important;
      }
