/* ====================================================================
 * Chorus Design System v0.2 — Light default + Dark toggle
 * Stone-tinted near-white scale (Pretendard 가독성 검증)
 * Brand: 다크그린 #2C3E2D + 골드 (라이트 #B8964A / 다크 #E0BF7E)
 * Data viz: Okabe-Ito 8색 colorblind-safe
 * Refs: Linear 2025 / Stripe / Primer / Carbon
 * ==================================================================== */
:root, [data-theme="light"] {
  --bg-0: #FFFFFF;
  --bg-1: #FAFAF9;
  --bg-2: #F5F5F4;
  --bg-3: #E7E5E4;
  --bg-4: #D6D3D1;
  --bg-5: #A8A29E;

  --fg-0: #1F2328;
  --fg-1: #424A53;
  --fg-2: #59636E;
  --fg-3: #818B98;
  --fg-4: #B0B5BD;

  --border-0: #E7E5E4;
  --border-1: #D1D9E0;
  --border-2: #B0B5BD;

  /* Main = Royal Cobalt (3번) · Accent = Amber Gold */
  --gold: #1E40AF;
  --gold-soft: #3B5BC9;
  --gold-bright: #1E3A8A;
  --gold-bg: #EFF3FA;
  --accent-amber: #FBBF24;
  --accent-amber-bg: #FEF3C7;
  --green: #2C3E2D;
  --green-soft: #4A6B4D;
  --green-bg: #ECF1ED;

  --pos: #1A7F37;       --pos-bg: #DAFBE1;
  --neg: #C7222A;       --neg-bg: #FFEBE9;
  --warn-c: #9A6700;    --warn-bg: #FFF8C5;
  --info: #0969DA;      --info-bg: #DDF4FF;

  --viz-1: #2C3E2D;
  --viz-2: #B8964A;
  --viz-3: #0072B2;
  --viz-4: #D55E00;
  --viz-5: #009E73;
  --viz-6: #CC79A7;
  --viz-7: #56B4E9;

  --shadow-1: 0 1px 2px 0 rgba(15,18,24,0.04), 0 1px 1px 0 rgba(15,18,24,0.06);
  --shadow-2: 0 4px 8px -2px rgba(15,18,24,0.06), 0 2px 4px -1px rgba(15,18,24,0.04);
  --shadow-3: 0 12px 24px -6px rgba(15,18,24,0.08), 0 4px 8px -2px rgba(15,18,24,0.04);
  --shadow-glow: 0 0 0 4px rgba(30, 64, 175, 0.12);

  /* Backwards-compat aliases */
  --line: var(--border-0);
  --line-soft: var(--border-0);
  --text-0: var(--fg-0);
  --text-1: var(--fg-1);
  --text-2: var(--fg-2);
  --text-3: var(--fg-3);
  --green-bright: var(--green-soft);
  --b-color: var(--info);
  --a-color: #BE185D;
  --warn: var(--warn-c);
  --good: var(--pos);
  --rose: var(--neg);
  --violet: #7C3AED;
  --cyan: #0891B2;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, 'Pretendard Variable', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --sans: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', system-ui, 'Noto Sans KR', 'Inter', sans-serif;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg-0: #0A0B0D;
  --bg-1: #0F1115;
  --bg-2: #15181D;
  --bg-3: #1C2027;
  --bg-4: #262A33;
  --bg-5: #353A45;

  --fg-0: #F0F1F3;
  --fg-1: #C9CDD4;
  --fg-2: #939AA4;
  --fg-3: #6B7280;
  --fg-4: #4A5061;

  --border-0: #1C2027;
  --border-1: #262A33;
  --border-2: #353A45;

  /* Dark — 메인 컬러 (Royal Cobalt 다크 버전) */
  --gold: #60A5FA;          /* 밝은 코발트 (다크에서 보임) */
  --gold-soft: #3B82F6;     /* 중간 톤 */
  --gold-bright: #93C5FD;   /* 가장 밝음 (호버) */
  --gold-bg: rgba(96, 165, 250, 0.12);
  --accent-amber: #FBBF24;
  --accent-amber-bg: rgba(251, 191, 36, 0.15);
  --green: #6B9A6E;
  --green-soft: #4F7253;
  --green-bg: rgba(107, 154, 110, 0.18);

  --pos: #4ADE80;       --pos-bg: rgba(74, 222, 128, 0.12);
  --neg: #FB7185;       --neg-bg: rgba(251, 113, 133, 0.12);
  --warn-c: #FBBF24;    --warn-bg: rgba(251, 191, 36, 0.12);
  --info: #60A5FA;      --info-bg: rgba(96, 165, 250, 0.12);

  --viz-1: #6B9A6E;
  --viz-2: #E0BF7E;
  --viz-3: #56A8DC;
  --viz-4: #E97A3A;
  --viz-5: #4ABE8E;
  --viz-6: #DD9CC6;
  --viz-7: #7DCCE9;

  --shadow-1: 0 1px 2px 0 rgba(0,0,0,0.4);
  --shadow-2: 0 4px 12px -2px rgba(0,0,0,0.5);
  --shadow-3: 0 12px 32px -8px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 4px rgba(96, 165, 250, 0.18);

  --warn: var(--warn-c);
  --good: var(--pos);
  --rose: var(--neg);
  --b-color: var(--info);
  --a-color: #F472B6;
  --violet: #A78BFA;
  --cyan: #22D3EE;

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg-0: #0A0B0D; --bg-1: #0F1115; --bg-2: #15181D; --bg-3: #1C2027; --bg-4: #262A33; --bg-5: #353A45;
    --fg-0: #F0F1F3; --fg-1: #C9CDD4; --fg-2: #939AA4; --fg-3: #6B7280;
    --border-0: #1C2027; --border-1: #262A33;
    --gold: #60A5FA; --gold-soft: #3B82F6; --gold-bright: #93C5FD;
    --gold-bg: rgba(96, 165, 250, 0.12);
    --green: #6B9A6E; --green-soft: #4F7253;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--sans);
  font-weight: 450;
  font-size: 15px;
  font-feature-settings: "tnum" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  letter-spacing: -0.003em;
  min-height: 100vh;
}
p { font-weight: 450; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
.lead { font-weight: 500; }

body {
  background: var(--bg-0);
  position: relative;
}

/* 다크 모드에서만 발광 그라데이션 mesh */
[data-theme="dark"] body,
:root:not([data-theme]) body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(217, 188, 130, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(107, 166, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 10% 70%, rgba(167, 139, 250, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 110%, rgba(52, 211, 153, 0.04) 0%, transparent 60%),
    var(--bg-0);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) body {
    background:
      radial-gradient(ellipse 80% 50% at 50% -10%, rgba(217, 188, 130, 0.10) 0%, transparent 60%),
      radial-gradient(ellipse 60% 40% at 90% 30%, rgba(107, 166, 255, 0.06) 0%, transparent 50%),
      var(--bg-0);
  }
}

/* 라이트 모드에선 매우 subtle한 그라데이션만 */
[data-theme="light"] body,
:root:not([data-theme]) body {
  background:
    radial-gradient(ellipse 80% 30% at 50% 0%, rgba(184, 150, 74, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 25% at 90% 100%, rgba(44, 62, 45, 0.025) 0%, transparent 50%),
    var(--bg-0);
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid-color, rgba(184, 150, 74, 0.04)) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color, rgba(184, 150, 74, 0.04)) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, transparent 90%);
}
[data-theme="dark"] {
  --grid-color: rgba(217, 188, 130, 0.025);
}
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 30% 20% at var(--cursor-x, 50%) var(--cursor-y, 50%), var(--cursor-glow, rgba(184, 150, 74, 0.04)), transparent 70%);
  pointer-events: none;
  z-index: -1;
  transition: background 0.3s ease;
}
[data-theme="dark"] {
  --cursor-glow: rgba(217, 188, 130, 0.08);
}

a { color: var(--gold); text-decoration: none; transition: opacity .15s ease; }
a:hover { opacity: 0.85; }

button {
  font-family: var(--sans);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: var(--sans);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-0);
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 500;
  transition: border-color .15s ease, background .15s ease;
  width: 100%;
}
input:hover, textarea:hover, select:hover { background: var(--bg-3); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold-soft);
}
textarea { resize: vertical; min-height: 80px; }

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 32px; }

/* ===== Topbar ===== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-1);
}
[data-theme="dark"] .topbar {
  background: rgba(7, 8, 10, 0.85);
  border-bottom-color: var(--line);
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 14px; font-weight: 700;
  color: var(--fg-0); letter-spacing: 0.05em;
  text-decoration: none;
}
.topbar-brand:hover { color: var(--fg-0); opacity: 1; }
.topbar-brand-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.topbar-nav {
  display: flex; gap: 24px;
  font-size: 13px;
}
.topbar-nav a {
  color: var(--fg-1);
  font-weight: 600;
}
.topbar-nav a:hover { color: var(--gold); opacity: 1; }
.topbar-nav a.active {
  color: var(--gold);
  font-weight: 700;
  opacity: 1;
}
.topbar-right {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11px;
  color: var(--text-2); letter-spacing: 0.05em;
}
.brand-toggle {
  display: inline-flex; gap: 2px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 3px;
}
.brand-toggle button {
  font-family: var(--mono); font-size: 11px;
  padding: 4px 10px; border-radius: 4px;
  color: var(--text-2); transition: all .15s ease;
  letter-spacing: 0.05em; text-transform: lowercase;
}
.brand-toggle button.active {
  background: var(--gold); color: #FFFFFF; font-weight: 700;
  box-shadow: 0 1px 3px rgba(30, 64, 175, 0.3);
}
.theme-toggle button {
  font-size: 13px;
  width: 26px; padding: 4px 0; text-align: center;
  font-family: var(--sans);
}

/* Cmd+K hint button */
.cmdk-hint {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--bg-2); border: 1px solid var(--border-1);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-2); letter-spacing: 0.05em;
  cursor: pointer; transition: all .15s ease;
}
.cmdk-hint:hover {
  border-color: var(--gold-soft);
  color: var(--gold);
}
.cmdk-hint span {
  display: inline-block; padding: 1px 4px;
  background: var(--bg-3); border-radius: 3px;
}

/* Command palette (modal) */
.cmdk-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 12vh 16px 16px;
  animation: cmdk-fade-in 0.15s ease;
}
[data-theme="light"] .cmdk-overlay { background: rgba(15, 18, 24, 0.4); }
@keyframes cmdk-fade-in { from { opacity: 0; } to { opacity: 1; } }
.cmdk-modal {
  background: var(--bg-1);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  width: 100%; max-width: 600px;
  box-shadow: var(--shadow-3);
  overflow: hidden;
  animation: cmdk-slide-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cmdk-slide-in {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cmdk-input-wrap {
  display: flex; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-0);
}
.cmdk-icon { color: var(--fg-3); margin-right: 12px; font-size: 18px; }
.cmdk-input {
  flex: 1; border: none; background: transparent;
  font-size: 16px; font-weight: 500;
  color: var(--fg-0); padding: 0;
  outline: none;
}
.cmdk-esc {
  font-family: var(--mono); font-size: 10px;
  color: var(--fg-3); padding: 3px 8px;
  background: var(--bg-2); border-radius: 4px;
  border: 1px solid var(--border-0);
}
.cmdk-list {
  max-height: 60vh; overflow-y: auto;
  padding: 8px;
}
.cmdk-section-title {
  font-family: var(--mono); font-size: 10px;
  color: var(--fg-3); letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600;
  padding: 10px 10px 4px;
}
.cmdk-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  cursor: pointer; transition: background .1s ease;
  font-size: 14px; color: var(--fg-1);
}
.cmdk-item:hover, .cmdk-item.selected {
  background: var(--gold-bg); color: var(--fg-0);
}
.cmdk-item-icon {
  width: 28px; height: 28px;
  background: var(--bg-2); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px;
  color: var(--gold); flex-shrink: 0;
}
.cmdk-item-main { flex: 1; min-width: 0; }
.cmdk-item-title { font-weight: 500; }
.cmdk-item-meta {
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-3); margin-top: 2px;
}
.cmdk-item-shortcut {
  font-family: var(--mono); font-size: 10px;
  color: var(--fg-3);
  padding: 2px 6px;
  background: var(--bg-2);
  border-radius: 4px;
}
.cmdk-empty {
  padding: 40px 20px; text-align: center;
  color: var(--fg-3); font-size: 13px;
}

/* ===== Hero / Page header ===== */
.page-header {
  padding: 56px 0 32px;
}
.eyebrow {
  font-family: var(--mono); font-size: 11px;
  color: var(--gold); letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 12px;
}
.page-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.1; margin: 0 0 14px;
  background: linear-gradient(135deg, var(--fg-0) 0%, var(--gold) 70%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--fg-0); /* fallback */
}
[data-theme="dark"] .page-header h1 {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--gold) 70%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.page-header .lead {
  font-size: 17px; color: var(--text-1);
  max-width: 720px; line-height: 1.55;
}

/* ===== Sections ===== */
section { padding: 32px 0; border-bottom: 1px solid var(--line-soft); }
section:last-of-type { border-bottom: none; }
h2 {
  font-size: 26px; font-weight: 600;
  letter-spacing: -0.02em; margin: 0 0 12px;
}
h3 { font-size: 18px; font-weight: 600; margin: 24px 0 10px; }
h4 { font-size: 15px; font-weight: 600; margin: 18px 0 8px; color: var(--text-0); }
p { color: var(--text-1); margin: 10px 0; }

/* ===== Card ===== */
.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: all .2s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--gold-soft); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.card-num {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-2); letter-spacing: 0.1em;
}

/* ===== Grid ===== */
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-personas { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ===== KPI ===== */
.kpi {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.kpi-num {
  font-family: var(--mono); font-size: 38px; font-weight: 600;
  letter-spacing: -0.025em; line-height: 1;
  margin-bottom: 6px;
  color: var(--gold);
}
.kpi-num.b { color: var(--b-color); }
.kpi-num.a { color: var(--a-color); }
.kpi-num.warn { color: var(--warn); }
.kpi-num.good { color: var(--good); }
.kpi-label {
  font-size: 12px; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.kpi-sub { font-size: 11px; color: var(--text-1); margin-top: 4px; }

/* ===== Persona card ===== */
.pcard {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.pcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(217, 188, 130, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.pcard:hover { transform: translateY(-3px); border-color: var(--gold-soft); box-shadow: 0 12px 30px -10px rgba(217, 188, 130, 0.2); }
.pcard:hover::before { opacity: 1; }
.pcard.choice-A { border-left: 3px solid var(--a-color); }
.pcard.choice-B { border-left: 3px solid var(--b-color); }
.pcard-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 4px;
}
.pcard-id {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-2); letter-spacing: 0.1em;
}
.pcard-choice {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  padding: 2px 8px; border-radius: 4px;
  letter-spacing: 0.05em;
}
.pcard-choice.A { background: rgba(244, 114, 182, 0.15); color: var(--a-color); }
.pcard-choice.B { background: rgba(107, 166, 255, 0.15); color: var(--b-color); }
.pcard-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.pcard-meta {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-2); margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.pcard-likert {
  font-family: var(--mono); font-size: 10px; color: var(--gold);
  margin-bottom: 8px;
}
.pcard-reason {
  font-size: 12px; color: var(--text-1);
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-backstory {
  font-size: 12px; color: var(--text-1);
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-0); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all .15s ease;
  text-decoration: none;
}
.btn:hover { border-color: var(--gold-soft); color: var(--gold); }
.btn-primary {
  background: var(--gold); border-color: var(--gold);
  color: var(--bg-0); font-weight: 600;
}
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--bg-0); opacity: 1; }
.btn-ghost { background: transparent; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }

/* ===== Pill / badge ===== */
.pill {
  display: inline-block;
  font-family: var(--mono); font-size: 10px;
  color: var(--gold); background: rgba(217, 188, 130, 0.1);
  border: 1px solid rgba(217, 188, 130, 0.2);
  padding: 3px 9px; border-radius: 999px;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.pill-blue { color: var(--b-color); background: rgba(107, 166, 255, 0.1); border-color: rgba(107, 166, 255, 0.2); }
.pill-pink { color: var(--a-color); background: rgba(244, 114, 182, 0.1); border-color: rgba(244, 114, 182, 0.2); }
.pill-good { color: var(--good); background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.2); }
.pill-warn { color: var(--warn); background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.2); }

/* ===== Table ===== */
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13px; }
th, td {
  padding: 10px 14px; text-align: left;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
th {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-2); letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 500;
  background: var(--bg-1);
}
td { color: var(--text-1); }
td b { color: var(--text-0); font-weight: 500; }

/* ===== Code ===== */
code {
  font-family: var(--mono); font-size: 0.9em;
  color: var(--gold); background: rgba(217, 188, 130, 0.08);
  padding: 2px 6px; border-radius: 4px;
}
pre {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  overflow-x: auto; font-family: var(--mono);
  font-size: 12px; line-height: 1.6; color: #E4E4E7;
}
pre code { background: transparent; padding: 0; color: inherit; }

/* ===== Highlight ===== */
.highlight {
  background: linear-gradient(135deg, rgba(217, 188, 130, 0.08), rgba(217, 188, 130, 0.02));
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 18px 0;
}
.highlight-title {
  font-family: var(--mono); font-size: 11px;
  color: var(--gold); letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 6px;
}
.danger {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.06), rgba(251, 113, 133, 0.01));
  border-left: 3px solid var(--rose);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 18px 0;
}
.danger-title {
  font-family: var(--mono); font-size: 11px;
  color: var(--rose); letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 6px;
}

/* ===== Bar chart ===== */
.bar-row {
  display: grid; grid-template-columns: 200px 1fr 70px;
  gap: 12px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.bar-row:last-child { border-bottom: none; }
.bar-label { font-size: 13px; color: var(--text-1); }
.bar-track {
  background: var(--bg-2); height: 22px; border-radius: 4px;
  overflow: hidden; border: 1px solid var(--line);
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bar-num {
  font-family: var(--mono); font-size: 12px;
  color: var(--gold); text-align: right;
}

/* ===== H2H (head to head) ===== */
.h2h {
  display: grid; grid-template-columns: 1fr 60px 1fr;
  gap: 18px; align-items: stretch;
  margin: 24px 0;
}
@media (max-width: 720px) { .h2h { grid-template-columns: 1fr; } .h2h-vs { display: none; } }
.h2h-side {
  background: var(--bg-1);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 24px; text-align: center;
  transition: all .2s ease;
}
.h2h-side.winner { border-color: var(--good); box-shadow: var(--shadow-glow); }
.h2h-side.loser { opacity: 0.55; }
.h2h-side .opt {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 6px; color: var(--text-2);
}
.h2h-side .name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.h2h-side .price { font-family: var(--mono); font-size: 12px; color: var(--gold); margin-bottom: 14px; }
.h2h-side .pct {
  font-family: var(--mono); font-size: 56px; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
}
.h2h-side.winner .pct { color: var(--good); }
.h2h-side.loser .pct { color: var(--text-2); }
.h2h-side .pct-label {
  font-size: 11px; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px;
}
.h2h-vs {
  text-align: center; font-family: var(--mono);
  font-size: 14px; color: var(--text-2); letter-spacing: 0.15em;
  align-self: center;
}

/* ===== Login page ===== */
.login-shell {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.login-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px; width: 100%;
  box-shadow: var(--shadow-glow);
}
.login-card h1 {
  font-size: 36px; font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  background: linear-gradient(135deg, #FFFFFF, var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.login-card .sub {
  color: var(--text-1); font-size: 15px; margin-bottom: 28px;
  font-family: var(--sans); letter-spacing: 0.01em;
  font-weight: 500;
}

/* ===== Loading ===== */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 60px 0;
  color: var(--text-2); font-size: 13px;
  font-family: var(--mono); letter-spacing: 0.1em;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.fade-up-stagger > * { animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.fade-up-stagger > *:nth-child(1) { animation-delay: 0.02s; }
.fade-up-stagger > *:nth-child(2) { animation-delay: 0.05s; }
.fade-up-stagger > *:nth-child(3) { animation-delay: 0.08s; }
.fade-up-stagger > *:nth-child(4) { animation-delay: 0.11s; }
.fade-up-stagger > *:nth-child(5) { animation-delay: 0.14s; }
.fade-up-stagger > *:nth-child(6) { animation-delay: 0.17s; }
.fade-up-stagger > *:nth-child(7) { animation-delay: 0.20s; }
.fade-up-stagger > *:nth-child(8) { animation-delay: 0.23s; }
.fade-up-stagger > *:nth-child(n+9) { animation-delay: 0.26s; }

/* ===== Utilities ===== */
.mono { font-family: var(--mono); }
.muted { color: var(--text-2); }
.subtle { color: var(--text-1); }
.text-xs { font-size: 11px; }
.text-sm { font-size: 13px; }
.text-md { font-size: 15px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 22px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }

/* ===== Footer ===== */
footer {
  padding: 60px 32px 80px;
  text-align: center; color: var(--text-3);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.05em;
}

/* ===== Empty state ===== */
.empty-state {
  text-align: center;
  padding: 60px 32px;
  background: var(--bg-1);
  border: 1px dashed var(--border-1);
  border-radius: 16px;
}
.empty-state-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gold-bg);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.empty-state-title {
  font-size: 18px; font-weight: 600;
  color: var(--fg-0); margin-bottom: 6px;
}
.empty-state-desc {
  font-size: 14px; color: var(--fg-2);
  margin-bottom: 20px; max-width: 420px;
  margin-left: auto; margin-right: auto;
  line-height: 1.6;
}

/* ===== Skeleton loader ===== */
.skel {
  background: linear-gradient(90deg, var(--bg-2) 0%, var(--bg-3) 50%, var(--bg-2) 100%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
}
@keyframes skel-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skel-text { height: 14px; margin-bottom: 8px; }
.skel-text:last-child { margin-bottom: 0; }
.skel-card { height: 100px; border-radius: var(--radius); }

/* ===== Toast ===== */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 999;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: var(--bg-1);
  border: 1px solid var(--border-1);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px; color: var(--fg-0);
  box-shadow: var(--shadow-3);
  min-width: 240px; max-width: 360px;
  animation: toast-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.toast-error { border-left-color: var(--neg); }
.toast.toast-success { border-left-color: var(--pos); }
@keyframes toast-slide-in {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===== Mobile responsive ===== */
@media (max-width: 768px) {
  .container, .container-narrow, .container-wide {
    padding: 0 16px !important;
  }
  .topbar-inner { padding: 12px 16px; gap: 8px; flex-wrap: wrap; }
  .topbar-nav { gap: 12px; font-size: 12px; }
  .topbar-right { gap: 8px; flex-wrap: wrap; }
  .topbar-right .brand-toggle button { font-size: 10px; padding: 3px 6px; }
  .cmdk-hint { display: none; }
  .page-header { padding: 32px 0 24px; }
  .page-header h1 { font-size: 28px !important; }
  .page-header .lead { font-size: 14px; }
  section { padding: 24px 0; }
  h2 { font-size: 22px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-personas, .dist-grid {
    grid-template-columns: 1fr !important;
  }
  .h2h { grid-template-columns: 1fr; }
  .h2h-vs { display: none; }
  .kpi-num { font-size: 28px; }
  .h2h-side .pct { font-size: 40px; }
  .preset-grid { grid-template-columns: 1fr 1fr !important; }
  .case-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .case-card-vis { width: 100%; justify-content: flex-start; }
  table { font-size: 12px; }
  th, td { padding: 8px 10px; }
  .bar-row { grid-template-columns: 90px 1fr 50px !important; gap: 8px; }
  .login-card { padding: 32px 24px !important; }
  .login-card h1, .logo { font-size: 36px !important; }
}
@media (max-width: 480px) {
  .preset-grid { grid-template-columns: 1fr !important; }
  .topbar-nav a { font-size: 11px; }
  footer { padding: 32px 16px 48px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible (accessibility) */
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Print styles — PDF 저장용 (Ctrl+P → PDF로 저장) */
@media print {
  :root, [data-theme="dark"] {
    --bg-0: #FFFFFF !important;
    --bg-1: #FAFAF9 !important;
    --bg-2: #F5F5F4 !important;
    --bg-3: #E7E5E4 !important;
    --fg-0: #1F2328 !important;
    --fg-1: #424A53 !important;
    --fg-2: #59636E !important;
    --gold: #1E40AF !important;
    --border-1: #D1D9E0 !important;
  }
  body { background: white !important; }
  body::before, body::after { display: none !important; }
  .topbar, footer { display: none !important; }
  .btn, button:not(.cmdk-modal *) { display: none !important; }
  .arena-avatar:hover { transform: none !important; }
  .pcard, .card, .kpi { break-inside: avoid; box-shadow: none !important; }
  section { padding: 16px 0 !important; page-break-inside: avoid; }
  .grid-personas { grid-template-columns: repeat(2, 1fr) !important; }
  .pcard-reason { -webkit-line-clamp: unset !important; max-height: none !important; }
  a { color: inherit !important; text-decoration: none !important; }
  .cmdk-overlay, .onboarding-overlay { display: none !important; }
  @page { margin: 16mm; size: A4; }
}

/* ===== Avatar (DiceBear lorelei) ===== */
.avatar {
  display: inline-block;
  border-radius: 50%;
  background: var(--bg-2);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-1);
  transition: transform .2s ease, border-color .2s ease;
}
.avatar img, .avatar svg {
  display: block; width: 100%; height: 100%;
}
.avatar-xs { width: 24px; height: 24px; }
.avatar-sm { width: 32px; height: 32px; }
.avatar-md { width: 48px; height: 48px; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-xl { width: 120px; height: 120px; }

.pcard:hover .avatar { border-color: var(--gold); transform: scale(1.05); }

/* ===== Voting Arena (case-result 메인 시각화) ===== */
.arena {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 32px 24px;
  margin: 24px 0;
  min-height: 280px;
  overflow: hidden;
}
.arena-zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
}
.arena-zone {
  border: 1px dashed var(--border-1);
  border-radius: 12px;
  padding: 18px;
  min-height: 220px;
  background: var(--bg-2);
  position: relative;
  transition: all .3s ease;
}
.arena-zone.zone-A { border-color: var(--a-color); background: rgba(190, 24, 93, 0.04); }
.arena-zone.zone-B { border-color: var(--b-color); background: rgba(9, 105, 218, 0.04); }
[data-theme="dark"] .arena-zone.zone-A { background: rgba(244, 114, 182, 0.06); }
[data-theme="dark"] .arena-zone.zone-B { background: rgba(96, 165, 250, 0.06); }
.arena-zone.winner {
  box-shadow: 0 0 0 3px var(--gold-bg);
  background: var(--gold-bg);
  border-color: var(--gold);
  border-style: solid;
}
.arena-zone-label {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-2); letter-spacing: 0.1em;
  text-transform: uppercase;
}
.arena-zone-label .arena-zone-count {
  font-family: var(--mono); font-size: 22px; font-weight: 700;
  color: var(--fg-0); letter-spacing: -0.02em;
}
.arena-zone.winner .arena-zone-count { color: var(--gold); }
.arena-zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28px, 1fr));
  gap: 6px;
}
.arena-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-3);
  cursor: pointer;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border: 1.5px solid transparent;
  animation: avatarLand 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.arena-avatar img { display: block; width: 100%; height: 100%; }
.arena-avatar:hover {
  transform: scale(1.4);
  z-index: 10;
  border-color: var(--gold);
  box-shadow: var(--shadow-2);
}
@keyframes avatarLand {
  from { opacity: 0; transform: translateY(-12px) scale(0.5); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Tooltip on hover */
.arena-avatar::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 100%; left: 50%; transform: translateX(-50%);
  background: var(--bg-4); color: var(--fg-0);
  padding: 4px 8px; border-radius: 4px;
  font-size: 11px; font-family: var(--mono);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .15s ease;
  margin-bottom: 4px;
  z-index: 20;
  border: 1px solid var(--border-1);
}
.arena-avatar:hover::after { opacity: 1; }

/* Both / Neither smaller bottom row */
.arena-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  position: relative;
  z-index: 2;
}
.arena-mini-zone {
  border: 1px dashed var(--border-1);
  border-radius: 10px;
  padding: 12px;
  min-height: 60px;
  background: var(--bg-2);
}
.arena-mini-zone-label {
  font-family: var(--mono); font-size: 10px;
  color: var(--fg-3); letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex; justify-content: space-between;
}
.arena-mini-zone-label b { color: var(--fg-0); font-size: 12px; }
.arena-mini-zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20px, 1fr));
  gap: 4px;
}
.arena-mini-zone-grid .arena-avatar { width: 20px; height: 20px; }

/* ===== Segment heatmap ===== */
.heatmap {
  display: grid;
  gap: 1px;
  background: var(--border-0);
  border: 1px solid var(--border-0);
  border-radius: 8px;
  overflow: hidden;
  font-size: 12px;
}
.heatmap-row {
  display: grid;
  background: var(--bg-1);
}
.heatmap-cell {
  padding: 10px 12px;
  background: var(--bg-1);
  font-family: var(--mono);
  text-align: center;
  position: relative;
  transition: background .2s ease;
}
.heatmap-cell.header {
  background: var(--bg-2);
  font-weight: 600;
  color: var(--fg-1);
  text-align: center;
}
.heatmap-cell.label {
  background: var(--bg-2);
  font-weight: 600;
  color: var(--fg-1);
  text-align: left;
}
.heatmap-cell.data {
  cursor: pointer;
}
.heatmap-cell.data:hover { background: var(--gold-bg); }
.heatmap-cell .pct { font-weight: 700; color: var(--fg-0); }
.heatmap-cell .n { font-size: 10px; color: var(--fg-3); margin-top: 2px; }

/* ===== Stated vs Predicted card ===== */
.svp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}
@media (max-width: 720px) { .svp { grid-template-columns: 1fr; } }
.svp-card {
  background: var(--bg-1);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}
.svp-card .label {
  font-family: var(--mono); font-size: 10px;
  color: var(--fg-3); letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 10px;
}
.svp-card .num {
  font-family: var(--mono); font-size: 32px;
  font-weight: 700; line-height: 1;
  color: var(--fg-0); margin-bottom: 4px;
}
.svp-card .sub {
  font-size: 11px; color: var(--fg-2);
  font-family: var(--mono);
}
.svp-card.stated .num { color: var(--info); }
.svp-card.predicted .num { color: var(--gold); }
.svp-card.gap .num { color: var(--warn-c); }
.svp-card.gap.aligned .num { color: var(--pos); }

/* ===== Onboarding modal ===== */
.onboarding-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: cmdk-fade-in 0.2s ease;
}
[data-theme="light"] .onboarding-overlay { background: rgba(15,18,24,0.4); }
.onboarding-modal {
  background: var(--bg-0);
  border: 1px solid var(--border-1);
  border-radius: 18px;
  padding: 40px;
  max-width: 560px; width: 100%;
  box-shadow: var(--shadow-3);
  position: relative;
  animation: cmdk-slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.onboarding-step {
  font-family: var(--mono); font-size: 11px;
  color: var(--gold); letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.onboarding-modal h2 {
  margin: 0 0 12px;
  font-size: 26px;
}
.onboarding-modal p {
  font-size: 15px; color: var(--fg-1);
  line-height: 1.65;
  margin: 0 0 24px;
}
.onboarding-progress {
  display: flex; gap: 6px;
  margin-bottom: 24px;
}
.onboarding-progress .dot {
  flex: 1; height: 4px;
  background: var(--bg-3); border-radius: 2px;
  transition: background .3s ease;
}
.onboarding-progress .dot.active { background: var(--gold); }
.onboarding-progress .dot.done { background: var(--gold-soft); }
.onboarding-actions {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 24px;
}

/* ===== Activity feed ===== */
.activity-list {
  display: flex; flex-direction: column;
}
.activity-item {
  display: flex; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-0);
}
.activity-item:last-child { border-bottom: none; }
.activity-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-bg);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px;
  flex-shrink: 0;
}
.activity-text { flex: 1; font-size: 13px; color: var(--fg-1); line-height: 1.5; }
.activity-text b { color: var(--fg-0); font-weight: 600; }
.activity-time { font-family: var(--mono); font-size: 10px; color: var(--fg-3); flex-shrink: 0; }

/* === USP grid (Hero 직하 — 5가지 결정 영역) === */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0 8px;
}
.usp-grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) { .usp-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .usp-grid, .usp-grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .usp-grid, .usp-grid-5 { grid-template-columns: 1fr; } }
.usp-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px 18px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 160px;
}
.usp-card:hover { border-color: var(--gold-soft); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.usp-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--gold-bg);
  color: var(--gold);
  font-size: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.usp-num {
  font-size: 15px; font-weight: 700;
  color: var(--text-0);
  line-height: 1.3;
}
.usp-body {
  font-size: 12.5px; line-height: 1.55;
  color: var(--text-2);
  flex: 1;
}
.usp-foot {
  font-size: 10px; color: var(--text-3);
  letter-spacing: 0.08em;
  border-top: 1px solid var(--border-0);
  padding-top: 8px;
}

/* === 가로 바 차트 (분포 시각화 — 글로벌) === */
.dist-bar {
  display: grid;
  grid-template-columns: 110px 1fr 60px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
}
.dist-bar-label {
  color: var(--text-1);
  font-weight: 500;
  text-align: right;
}
.dist-bar-track {
  height: 20px;
  background: var(--bg-3);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.dist-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  border-radius: 10px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 4px;
}
.dist-bar-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  text-align: right;
}
@media (max-width: 540px) {
  .dist-bar { grid-template-columns: 80px 1fr 50px; gap: 8px; font-size: 12px; }
  .dist-bar-track { height: 16px; }
}

/* 글로벌 region-row alias (insights 호환) */
.region-row { display: grid; grid-template-columns: 110px 1fr 60px; gap: 12px; align-items: center; padding: 8px 0; font-size: 13px; }
.region-label { color: var(--text-1); font-weight: 500; }
.region-track { height: 20px; background: var(--bg-3); border-radius: 10px; overflow: hidden; }
.region-fill { height: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); border-radius: 10px; transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1); min-width: 4px; }
.region-num { font-family: var(--mono); font-size: 12px; color: var(--gold); font-weight: 700; text-align: right; }
@media (max-width: 540px) {
  .region-row { grid-template-columns: 80px 1fr 50px; gap: 8px; font-size: 12px; }
  .region-track { height: 16px; }
}

/* === 모바일 최적화 — 글로벌 컨테이너 === */
@media (max-width: 720px) {
  .container, .container-narrow { padding: 16px 12px !important; }
  h1 { font-size: 28px !important; line-height: 1.2 !important; }
  h2 { font-size: 20px !important; }
  .lead { font-size: 14px !important; }
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-5 { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-3 { grid-template-columns: 1fr !important; }
  .grid-2 { grid-template-columns: 1fr !important; }
  .h2h { flex-direction: column !important; }
  .h2h-vs { padding: 12px 0 !important; }
  .topbar { padding: 10px 12px !important; }
  .kpi-num { font-size: 28px !important; }
  .btn-cta { padding: 12px 18px !important; font-size: 14px !important; }
  .preset-grid { grid-template-columns: 1fr 1fr !important; }
  .table { font-size: 12px !important; }
  table { font-size: 12px !important; }
  table th, table td { padding: 6px 8px !important; }
  .filter-btn { padding: 6px 10px !important; font-size: 11px !important; }
  .arena-zones { grid-template-columns: 1fr !important; }
  .grid-personas { grid-template-columns: 1fr !important; }
  .pcard { padding: 14px !important; }
  .heatmap-row { font-size: 10px !important; }
  .heatmap-cell { padding: 6px !important; }
  .insights-tabs { flex-wrap: wrap !important; }
  .insights-tabs .tab { font-size: 12px !important; padding: 8px 12px !important; }
}

/* === A/B 선택 색상 명확 === */
.pcard.choice-A { border-left: 4px solid var(--a-color); }
.pcard.choice-B { border-left: 4px solid var(--b-color); }
.pcard.choice-both { border-left: 4px solid var(--accent-amber); }
.pcard.choice-neither { border-left: 4px solid var(--text-3); }
.pcard-choice {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px; letter-spacing: 0.05em;
}
.pcard-choice.A { background: rgba(190,24,93,0.15); color: var(--a-color); }
.pcard-choice.B { background: rgba(9,105,218,0.15); color: var(--b-color); }
.pcard-choice.both { background: rgba(251,191,36,0.18); color: var(--warn-c); }
.pcard-choice.neither { background: var(--bg-3); color: var(--text-3); }

.pcard-more {
  margin-top: 6px;
  font-family: var(--mono); font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pcard:hover { transform: translateY(-2px); border-color: var(--gold-soft); }

/* === 페르소나 모달 === */
.persona-modal-bg {
  position: fixed; inset: 0;
  background: rgba(15, 17, 21, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: modalFadeIn .2s ease;
}
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
.persona-modal {
  background: var(--bg-1);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  max-width: 720px; width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-3);
  animation: modalSlideUp .25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.persona-modal-head {
  padding: 22px 24px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-0);
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
}
.persona-modal-head.choice-A { border-left: 5px solid var(--a-color); }
.persona-modal-head.choice-B { border-left: 5px solid var(--b-color); }
.persona-modal-head.choice-both { border-left: 5px solid var(--accent-amber); }
.persona-modal-head.choice-neither { border-left: 5px solid var(--text-3); }
.modal-close {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg-3);
  font-size: 14px; font-weight: 600;
  color: var(--text-2);
  flex-shrink: 0;
}
.modal-close:hover { background: var(--bg-4); color: var(--text-0); }
.persona-modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  flex: 1;
}
.modal-section {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-0);
}
.modal-section:last-child { border-bottom: none; }
.modal-label {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-3); letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.modal-content {
  font-size: 14px; line-height: 1.65;
  color: var(--text-0);
}
.modal-content > div { margin: 4px 0; }
.modal-choice {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--mono); font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.modal-choice.A { background: rgba(190,24,93,0.15); color: var(--a-color); }
.modal-choice.B { background: rgba(9,105,218,0.15); color: var(--b-color); }
.modal-choice.both { background: rgba(251,191,36,0.18); color: var(--warn-c); }
.modal-choice.neither { background: var(--bg-3); color: var(--text-3); }

/* === 신뢰도 띠 (모든 페이지 상단 영구) === */
.trust-band {
  display: flex; align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-1);
  border: 1px solid var(--border-0);
  border-radius: 999px;
  font-family: var(--mono); font-size: 11px;
  color: var(--text-2);
  margin: 12px 0 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-1);
}
.trust-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 8px var(--good);
  animation: pulseLive 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.trust-item b { color: var(--gold); font-weight: 700; }
.trust-item { white-space: nowrap; }
.trust-sep { color: var(--text-3); }
.trust-link {
  margin-left: auto;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.trust-link:hover { opacity: 0.85; }
@media (max-width: 720px) {
  .trust-band { font-size: 10px; padding: 8px 12px; gap: 6px; }
  .trust-link { margin-left: 0; width: 100%; text-align: right; padding-top: 4px; border-top: 1px dashed var(--border-0); margin-top: 4px; }
}

/* === 페르소나 카드 출처 배지 === */
.src-chip {
  font-family: var(--mono); font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  font-weight: 600;
  cursor: help;
}
.src-chip.src-real { background: rgba(26,127,55,0.12); color: var(--good); }
.src-chip.src-inferred { background: rgba(251,191,36,0.15); color: var(--warn-c); }
.src-chip.src-meta { background: var(--gold-bg); color: var(--gold); }

/* === 인터뷰 채팅 모드 === */
.iv-msg {
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 85%;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
  white-space: pre-wrap;
}
.iv-msg.iv-me {
  align-self: flex-end;
  background: var(--gold);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.iv-msg.iv-them {
  align-self: flex-start;
  background: var(--bg-2);
  color: var(--text-0);
  border-bottom-left-radius: 4px;
}
.iv-msg.iv-system {
  align-self: center;
  background: var(--gold-bg);
  color: var(--text-1);
  font-size: 12px;
  font-style: italic;
  text-align: center;
  max-width: 95%;
}
.iv-msg.iv-loading { opacity: 0.65; }
.iv-msg .dots {
  display: inline-block;
  animation: dotPulse 1.4s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
.interview-input {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--border-0);
  background: var(--bg-1);
}
.interview-input textarea {
  flex: 1;
  resize: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 14px;
}
.interview-input button {
  align-self: stretch;
  padding: 0 22px;
  flex-shrink: 0;
}


/* ============================================
   2026-05-07 — 라운드 4 디자인 고도화
   ============================================ */

/* Top Insight 카드 — 페이지 hero급 */
.insight-card {
  background: linear-gradient(135deg, var(--gold-bg) 0%, rgba(217,188,130,0.08) 100%);
  border: 1px solid var(--gold-soft) !important;
  border-radius: 14px;
  padding: 28px !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  animation: insight-fade-in 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.insight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  animation: insight-shimmer 3s linear infinite;
}
.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-3);
}
.insight-card .eyebrow {
  letter-spacing: 0.12em;
  font-weight: 600;
}
.insight-card h2 {
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--text-0), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.insight-card ol li::marker {
  color: var(--gold);
  font-weight: 700;
}
.insight-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--gold-bg);
  border-radius: 6px;
  font-size: 11px;
  color: var(--gold);
  font-family: var(--mono);
}
@keyframes insight-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes insight-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 케이스 카드 인덱스 — 인사이트 헤드라인 노출 */
.case-card-insight {
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--gold-bg);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-1);
  font-style: italic;
}
.case-card-insight::before {
  content: '🎯 ';
  font-style: normal;
  margin-right: 2px;
}

/* 모델 뱃지 */
.model-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.model-badge-haiku {
  background: rgba(96, 165, 250, 0.12);
  color: var(--gold);
}
.model-badge-sonnet {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: white;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.25);
}

/* blind_spot 카드 미세 조정 */
.blindspot-row {
  padding: 12px 14px !important;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.blindspot-row:hover {
  background: var(--bg-2);
}
.blindspot-row .mono {
  font-size: 10.5px !important;
  letter-spacing: 0.04em;
}

/* 모델 토글 카드 (case-new) */
.model-opt {
  position: relative;
  transition: all 0.2s ease;
}
.model-opt::after {
  content: '';
  position: absolute;
  top: 8px; right: 10px;
  width: 14px; height: 14px;
  border: 2px solid var(--border-1);
  border-radius: 50%;
  transition: all 0.2s ease;
}
.model-opt.active::after {
  border-color: var(--gold);
  background: radial-gradient(circle, var(--gold) 40%, transparent 50%);
}

/* KPI 카드 호버 강화 */
.kpi {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kpi:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}


/* ============================================
   2026-05-07 — 라운드 14: 마이크로 인터랙션 polish
   ============================================ */

/* 페이지 fade-in */
body { animation: page-enter 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes page-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* btn hover 강화 */
.btn {
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 4px 14px -2px rgba(30, 64, 175, 0.35);
}

/* 케이스 카드 hover 강화 */
.case-card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.case-card:hover {
  transform: translateY(-2px) translateX(2px);
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-2);
}

/* 토스트 시스템 */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
  pointer-events: none;
}
.toast {
  background: var(--bg-1);
  border: 1px solid var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: var(--shadow-3);
  font-size: 13px;
  color: var(--text-0);
  pointer-events: auto;
  animation: toast-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.toast-error {
  border-color: var(--neg);
  border-left-color: var(--neg);
}
.toast.toast-success {
  border-color: var(--pos);
  border-left-color: var(--pos);
}
.toast.toast-out { animation: toast-out 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(20px) scale(0.95); }
}

/* 모바일 반응형 강화 */
@media (max-width: 768px) {
  .container, .container-narrow { padding: 16px 14px !important; }
  .page-header h1 { font-size: 22px !important; }
  .page-header .lead { font-size: 13px !important; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr !important; }
  .compare-grid { grid-template-columns: 1fr !important; }
  .case-selector { grid-template-columns: 1fr !important; gap: 10px !important; }
  .insight-card { padding: 18px !important; }
  .insight-card h2 { font-size: 18px !important; }
  .preset-grid, .model-toggle { grid-template-columns: 1fr !important; }
  .kpi { padding: 12px 14px !important; }
  .kpi-num { font-size: 24px !important; }
  .toast-container { bottom: 16px; right: 16px; left: 16px; max-width: none; }
  .delta-bar { flex-direction: column; align-items: flex-start !important; }
}

/* 모달 모바일 */
@media (max-width: 600px) {
  .modal { width: 92% !important; max-height: 86vh !important; padding: 18px !important; }
}

/* 포커스 가시성 */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* 스크롤바 polish (webkit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 5px; border: 2px solid var(--bg-1); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-soft); }

/* 액션 카드 hover */
.action-row:hover {
  border-color: var(--gold-soft) !important;
  background: var(--gold-bg) !important;
}
.action-row input[type="checkbox"]:checked + .action-text { color: var(--text-3); }

/* 인사이트 페이지 분리선 */
.insights-tab {
  position: relative;
}
.insights-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 100%);
  animation: tab-underline 0.3s ease;
}
@keyframes tab-underline {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}


/* 라운드 24 — 분석 진행 뱃지 */
.analysis-bar {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 8px;
}
.analysis-pill {
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  font-weight: 500;
  border: 1px solid;
  transition: all 0.15s ease;
}
.analysis-pill.done {
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
  border-color: rgba(34, 197, 94, 0.25);
}
.analysis-pill.todo {
  background: var(--bg-2);
  color: var(--text-3);
  border-color: var(--border-1);
}
@media (prefers-color-scheme: dark) {
  .analysis-pill.done { color: #4ade80; background: rgba(74, 222, 128, 0.1); }
}
[data-theme="dark"] .analysis-pill.done { color: #4ade80; background: rgba(74, 222, 128, 0.1); }


/* ============================================
   2026-05-07 라운드 25 — PRINT CSS (PDF 저장 친화)
   ============================================ */
@media print {
  /* 페이지 설정 */
  @page { margin: 1.5cm 1cm; size: A4; }
  body { background: white !important; color: black !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  /* 숨길 요소 */
  .topbar, .topbar-wrap, footer, .toast-container, .filter-bar, #cmdk-overlay,
  .btn, .hero-cta, .hero-inline, button[type="button"]:not(.print-keep),
  .insights-tabs, .topbar-action, .cmdk-trigger,
  #pending-actions-widget, #top-insight-section .pcard-more,
  .feature-link, #btn-edit-val, #btn-evolve, #btn-bs-analyze, #btn-gen-insight,
  .delete-btn, #btn-delete, #btn-duplicate, #btn-print, #btn-export-json,
  .pill-warn, .winner-badge, [data-no-print] {
    display: none !important;
  }

  /* 컨테이너 풀폭 */
  .container, .container-narrow { max-width: 100% !important; padding: 0 !important; }

  /* 카드 박스 회색 배경 → 흰색 + 박스 강조 */
  .card, .kpi { background: white !important; border: 1px solid #999 !important; box-shadow: none !important; break-inside: avoid; }

  /* Top Insight 카드는 강조 유지 */
  .insight-card {
    background: #f8f4ec !important;
    border: 2px solid #1E40AF !important;
    page-break-inside: avoid;
  }
  .insight-card h2 {
    -webkit-text-fill-color: #1E40AF !important;
    color: #1E40AF !important;
    background: none !important;
  }
  .insight-card::before { display: none !important; }

  /* 색깔 보존 */
  .pill-good, .pos, .delta-pos { color: #16a34a !important; }
  .neg, .delta-neg { color: #dc2626 !important; }
  .gold, .eyebrow { color: #1E40AF !important; }
  .muted { color: #555 !important; }

  /* 텍스트 가독성 */
  body { font-size: 11pt !important; line-height: 1.4 !important; }
  h1 { font-size: 18pt !important; }
  h2 { font-size: 14pt !important; page-break-after: avoid; }
  h3 { font-size: 12pt !important; page-break-after: avoid; }

  /* 섹션마다 페이지 break 옵션 */
  section { page-break-inside: avoid; margin-bottom: 1em; }

  /* 그리드 모바일 처럼 */
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .grid-5 .kpi { padding: 6px 8px !important; }
  .kpi-num { font-size: 16pt !important; }

  /* 링크 표시 */
  a[href]:not(.no-print-link)::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #666;
  }
  a[href^="/"]:not(.no-print-link)::after, a[href^="#"]:not(.no-print-link)::after { content: ''; }
  /* footer 박지 말기 */
  footer { display: none !important; }

  /* 분석 진행 뱃지 단순 */
  .analysis-pill { padding: 1px 5px !important; font-size: 8pt !important; }

  /* 액션 행 — 체크박스 표시 */
  .action-row {
    background: white !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }
  .action-row input[type="checkbox"]:checked + .action-text {
    text-decoration: line-through;
    color: #999;
  }
}

/* PRINT 버튼 (case-result에 박을 trigger) */
.print-btn {
  cursor: pointer;
}


/* kbd 단축키 표시 */
kbd {
  display: inline-block;
  padding: 2px 6px;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-1);
  margin: 0 2px;
  box-shadow: 0 1px 0 var(--border-1);
}
