@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

/* ── RESET & TOKENS ──────────────────────────────────────── */
:root {
  --bg-page: #f6f5f2;
  --bg-card: #fff;
  --bg-sidebar: #0e1116;
  --bg-table-header: #fafaf8;
  --text-primary: #0e1116;
  --text-secondary: #5c6166;
  --text-muted: #7a7f85;
  --text-inverse: #fafafa;
  --accent-green: #c9f56b;
  --accent-green-dark: #8ce02e;
  --accent-green-deep: #4fb005;
  --accent-orange: #e07d5a;
  --accent-red: #c25a3a;
  --border-light: rgba(14,17,22,.06);
  --border-medium: rgba(14,17,22,.08);
  --border-heavy: rgba(14,17,22,.12);
  --shadow-sm: 0 1px 2px rgba(14,17,22,.04);
  --shadow-md: 0 1px 2px rgba(14,17,22,.04), 0 8px 32px rgba(14,17,22,.04);
  --shadow-lg: 0 10px 40px rgba(14,17,22,.12);
  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --ease-in-out: cubic-bezier(0.4,0,0.2,1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Geist','Inter',system-ui,sans-serif; }
body { background: var(--bg-page); color: var(--text-primary); font-size: 14px; -webkit-font-smoothing: antialiased; }
.mono { font-family: 'Geist Mono', monospace; font-variant-numeric: tabular-nums; }
.serif { font-family: 'Instrument Serif', serif; font-weight: 400; letter-spacing: -.01em; }

/* ── SHELL ──────────────────────────────────────── */
.shell { width: 1440px; margin: 0 auto; display: flex; background: var(--bg-page); min-height: 100vh; }

/* ── SIDEBAR ──────────────────────────────────────── */
.sidebar { width: 248px; background: var(--bg-sidebar); color: #e5e5e5; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; flex-shrink: 0; padding: 20px 14px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 6px 8px 22px; border-bottom: 1px solid #232629; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(140deg,#c9f56b 0%,#8ce02e 60%,#4fb005 100%); display: flex; align-items: center; justify-content: center; color: #0e1116; font-weight: 700; font-size: 14px; box-shadow: 0 4px 16px rgba(140,224,46,.25); }
.brand-name { font-weight: 600; font-size: 14.5px; color: #fafafa; letter-spacing: -.01em; }
.brand-sub { font-size: 10.5px; color: #7a7f85; margin-top: 2px; font-family: 'Geist Mono',monospace; text-transform: uppercase; letter-spacing: .08em; }
.nav { padding: 16px 0; flex: 1; overflow-y: auto; }
.nav-label { font-size: 10px; color: #5c6166; text-transform: uppercase; letter-spacing: .12em; padding: 14px 10px 8px; font-weight: 500; font-family: 'Geist Mono',monospace; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; color: #9ca0a5; cursor: pointer; font-size: 13px; margin-bottom: 1px; font-weight: 400; transition: all var(--duration-fast); }
.nav-item:hover { background: #1a1d20; color: #e5e5e5; }
.nav-item.active { background: linear-gradient(180deg,#1e2225 0%,#191c1f 100%); color: #fafafa; box-shadow: inset 0 0 0 1px #2a2e33; }
.nav-item.active .nav-ico { color: var(--accent-green); }
.nav-ico { width: 16px; height: 16px; color: inherit; display: flex; align-items: center; justify-content: center; }
.nav-ico svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.nav-badge { margin-left: auto; font-size: 10px; padding: 2px 7px; border-radius: 20px; font-weight: 500; background: #2a2e33; color: var(--accent-green); font-family: 'Geist Mono',monospace; }
.sidebar-foot { border-top: 1px solid #232629; padding: 14px 8px 4px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.sidebar-foot:hover { opacity: .85; }
.avatar { width: 32px; height: 32px; border-radius: 50%; color: #0e1116; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 11.5px; flex-shrink: 0; }
.avatar-name { font-weight: 500; font-size: 12.5px; color: #fafafa; }
.avatar-role { font-size: 10.5px; color: #7a7f85; font-family: 'Geist Mono',monospace; letter-spacing: .04em; }

/* ── MAIN ──────────────────────────────────────── */
.main { flex: 1; min-width: 0; background: var(--bg-page); }
.topbar { padding: 18px 36px; display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 10; background: rgba(246,245,242,.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-light); }
.search { flex: 1; max-width: 440px; position: relative; }
.search input { width: 100%; padding: 9px 14px 9px 36px; border: 1px solid var(--border-medium); border-radius: 10px; background: rgba(255,255,255,.6); font-size: 13px; outline: none; font-family: inherit; color: var(--text-primary); }
.search input:focus { background: #fff; border-color: var(--text-primary); }
.search input::placeholder { color: var(--text-muted); }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; stroke: var(--text-muted); stroke-width: 1.7; fill: none; }
.kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-family: 'Geist Mono',monospace; font-size: 10.5px; color: var(--text-muted); background: rgba(14,17,22,.05); padding: 2px 6px; border-radius: 5px; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border-medium); background: rgba(255,255,255,.5); display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; transition: all var(--duration-fast); }
.icon-btn:hover { background: #fff; border-color: var(--border-heavy); }
.icon-btn svg { width: 15px; height: 15px; stroke: var(--text-primary); stroke-width: 1.7; fill: none; }
.dot { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; background: var(--accent-orange); border-radius: 50%; border: 2px solid var(--bg-page); }

/* ── BUTTONS ──────────────────────────────────────── */
.btn { padding: 9px 15px; border-radius: 10px; font-weight: 500; font-size: 13px; cursor: pointer; border: 1px solid transparent; display: inline-flex; align-items: center; gap: 7px; font-family: inherit; transition: all var(--duration-fast); }
.btn-primary { background: var(--text-primary); color: var(--text-inverse); }
.btn-primary:hover { background: #1a1d20; }
.btn-accent { background: var(--accent-green); color: var(--text-primary); font-weight: 600; }
.btn-accent:hover { background: #b9e858; }
.btn-outline { background: rgba(255,255,255,.5); border-color: var(--border-medium); color: var(--text-primary); }
.btn-outline:hover { background: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 8px; }
.btn-danger { background: #fdeae2; color: #a04020; border-color: rgba(192,90,58,.15); }
.btn-danger:hover { background: #f9d5c8; }
.btn svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ── CONTENT ──────────────────────────────────────── */
.content { padding: 28px 36px 48px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-muted); margin-bottom: 20px; font-family: 'Geist Mono',monospace; letter-spacing: .04em; text-transform: uppercase; }
.crumbs .sep { opacity: .4; }
.crumbs .current { color: var(--text-primary); }
.crumbs a, .crumbs span[data-route] { color: var(--text-muted); text-decoration: none; cursor: pointer; }
.crumbs a:hover, .crumbs span[data-route]:hover { color: var(--text-primary); }

/* ── HERO ──────────────────────────────────────── */
.hero { background: linear-gradient(140deg,#151a1e 0%,#1e252a 40%,#2a333a 100%); border-radius: 24px; padding: 32px 36px; margin-bottom: 20px; color: var(--text-inverse); position: relative; overflow: hidden; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.06); }
.hero::before { content: ""; position: absolute; top: -140px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle,rgba(201,245,107,.18) 0%,transparent 65%); pointer-events: none; }
.hero::after { content: ""; position: absolute; bottom: -60px; left: 20%; width: 280px; height: 280px; background: radial-gradient(circle,rgba(255,180,120,.08) 0%,transparent 65%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.week-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 20px; background: rgba(201,245,107,.12); border: 1px solid rgba(201,245,107,.28); font-size: 11.5px; font-family: 'Geist Mono',monospace; color: var(--accent-green); letter-spacing: .04em; }
.week-tag .p { width: 6px; height: 6px; background: var(--accent-green); border-radius: 50%; box-shadow: 0 0 0 3px rgba(201,245,107,.2); }
.hero-title { font-size: 38px; line-height: 1.06; letter-spacing: -.02em; color: var(--text-inverse); margin-top: 14px; max-width: 620px; }
.hero-title .em { font-family: 'Instrument Serif',serif; font-style: italic; font-weight: 400; color: var(--accent-green); }
.hero-desc { font-size: 13.5px; color: #a8adb2; margin-top: 12px; max-width: 560px; line-height: 1.55; }
.hero-actions { display: flex; gap: 8px; }
.hero-btn { padding: 9px 14px; border-radius: 10px; font-size: 12.5px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: var(--text-inverse); font-family: inherit; backdrop-filter: blur(10px); transition: all var(--duration-fast); }
.hero-btn:hover { background: rgba(255,255,255,.1); }
.hero-btn.primary { background: var(--accent-green); color: var(--text-primary); border-color: transparent; font-weight: 600; }
.hero-btn.primary:hover { background: #b9e858; }
.hero-btn svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 1.8; fill: none; }

/* ── METRICS ──────────────────────────────────────── */
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; margin-top: 8px; }
.metric { background: rgba(255,255,255,.02); padding: 18px 20px; }
.metric-lbl { font-size: 11px; color: #8a8f95; font-family: 'Geist Mono',monospace; text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: 6px; }
.metric-val { font-size: 30px; font-weight: 500; color: var(--text-inverse); margin-top: 10px; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 8px; }
.metric-val .unit { font-size: 14px; color: #8a8f95; font-weight: 400; }
.metric-delta { font-size: 11.5px; margin-top: 6px; color: #a8adb2; font-family: 'Geist Mono',monospace; display: flex; align-items: center; gap: 6px; }
.delta-pos { color: var(--accent-green); }
.delta-neg { color: #f0a37a; }
.spark { margin-top: 12px; height: 22px; display: flex; align-items: flex-end; gap: 3px; }
.spark span { flex: 1; background: rgba(201,245,107,.5); border-radius: 2px 2px 0 0; min-height: 3px; }
.spark.warn span { background: rgba(240,163,122,.5); }
.spark.neu span { background: rgba(255,255,255,.2); }

/* ── FILTERS ──────────────────────────────────────── */
.filter-row { background: var(--bg-card); border-radius: var(--radius-lg); padding: 10px 12px; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; box-shadow: var(--shadow-sm), 0 4px 20px rgba(14,17,22,.03); flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 8px; font-size: 12.5px; color: var(--text-primary); background: transparent; cursor: pointer; border: 1px solid transparent; font-weight: 500; transition: all var(--duration-fast); user-select: none; }
.chip:hover { background: var(--bg-page); }
.chip.active { background: var(--text-primary); color: var(--text-inverse); }
.chip.active svg { stroke: var(--accent-green); }
.chip svg { width: 12px; height: 12px; stroke: var(--text-muted); stroke-width: 1.8; fill: none; }
.chip-count { font-family: 'Geist Mono',monospace; font-size: 10.5px; background: rgba(14,17,22,.06); padding: 1px 6px; border-radius: 8px; margin-left: 2px; color: var(--text-muted); }
.chip.active .chip-count { background: rgba(201,245,107,.2); color: var(--accent-green); }
.filter-div { width: 1px; height: 22px; background: var(--border-medium); margin: 0 4px; }
.evi-slider { display: flex; align-items: center; gap: 9px; padding: 0 10px; }
.evi-slider-lbl { font-size: 11.5px; color: var(--text-muted); font-family: 'Geist Mono',monospace; }
.evi-track2 { width: 100px; height: 5px; background: #eeece7; border-radius: 3px; position: relative; }
.evi-fill2 { position: absolute; left: 0; top: 0; height: 100%; width: 65%; background: linear-gradient(90deg,#c9f56b,#8ce02e); border-radius: 3px; }
.evi-thumb { position: absolute; left: 65%; top: 50%; transform: translate(-50%,-50%); width: 14px; height: 14px; background: var(--text-primary); border-radius: 50%; box-shadow: 0 2px 6px rgba(14,17,22,.2); }
.evi-val2 { font-size: 12px; font-weight: 600; font-family: 'Geist Mono',monospace; min-width: 34px; }
.filter-count { margin-left: auto; font-size: 11.5px; color: var(--text-muted); font-family: 'Geist Mono',monospace; letter-spacing: .03em; }

/* ── GRID LAYOUT ──────────────────────────────────────── */
.grid { display: grid; grid-template-columns: 1fr 360px; gap: 16px; }

/* ── CARDS ──────────────────────────────────────── */
.card { background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.card-head { padding: 20px 24px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(14,17,22,.05); }
.card-title { font-size: 16px; font-weight: 600; color: var(--text-primary); letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.card-sub { font-size: 12px; color: var(--text-muted); margin-top: 3px; font-family: 'Geist Mono',monospace; letter-spacing: .02em; }
.seg { display: flex; background: var(--bg-page); padding: 3px; border-radius: 9px; gap: 2px; }
.seg-item { padding: 5px 12px; font-size: 12px; color: var(--text-muted); cursor: pointer; border-radius: 7px; font-weight: 500; transition: all var(--duration-fast); }
.seg-item:hover { color: var(--text-secondary); }
.seg-item.active { background: var(--bg-card); color: var(--text-primary); box-shadow: 0 1px 2px rgba(14,17,22,.06); }

/* ── TABLES ──────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th { text-align: left; padding: 12px 20px; font-weight: 500; font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; font-family: 'Geist Mono',monospace; background: var(--bg-table-header); border-bottom: 1px solid rgba(14,17,22,.05); cursor: pointer; user-select: none; }
thead th:hover { color: var(--text-primary); }
thead th .sort-arrow { display: inline-block; margin-left: 4px; font-size: 9px; opacity: .4; }
thead th.sorted .sort-arrow { opacity: 1; color: var(--accent-green); }
tbody td { padding: 16px 20px; border-bottom: 1px solid rgba(14,17,22,.04); vertical-align: middle; }
tbody tr { transition: background var(--duration-fast); }
tbody tr:hover { background: var(--bg-table-header); cursor: pointer; }
tbody tr:last-child td { border-bottom: none; }

.deal-cell { display: flex; align-items: center; gap: 12px; }
.deal-logo { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; color: var(--text-inverse); flex-shrink: 0; }
.deal-name { font-weight: 600; color: var(--text-primary); font-size: 13.5px; letter-spacing: -.005em; }
.deal-owner { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.tiny-avatar { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.amount { font-weight: 600; color: var(--text-primary); font-family: 'Geist Mono',monospace; letter-spacing: -.01em; white-space: nowrap; }
.amount .cents { font-size: 11px; color: var(--text-muted); }

.stage-pill { display: inline-flex; padding: 4px 9px; font-size: 11px; border-radius: 6px; font-weight: 500; background: var(--bg-page); color: #3d4a55; letter-spacing: .01em; white-space: nowrap; }
.stage-pill.won { background: #e8f2e2; color: #3d6a3d; }
.stage-pill.lost { background: #fdeae2; color: #a04020; }

.evidence-cell { display: flex; align-items: center; gap: 10px; }
.evi-donut { width: 34px; height: 34px; position: relative; flex-shrink: 0; }
.evi-donut svg { transform: rotate(-90deg); }
.evi-donut .val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; font-family: 'Geist Mono',monospace; color: var(--text-primary); }
.evi-meta { font-size: 11px; color: var(--text-muted); font-family: 'Geist Mono',monospace; }
.evi-meta b { color: var(--text-primary); font-weight: 600; display: block; font-size: 12px; }

.diff { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; font-family: 'Geist Mono',monospace; white-space: nowrap; }
.diff-up { color: var(--accent-red); }
.diff-down { color: #4a8a5a; }
.diff-none { color: var(--text-muted); }

.risk-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; padding: 4px 9px; border-radius: 6px; letter-spacing: .01em; white-space: nowrap; }
.risk-high { background: #fdeae2; color: #a04020; }
.risk-med { background: #fbf1d9; color: #8a6820; }
.risk-low { background: #e8f2e2; color: #3d6a3d; }
.risk-dot { width: 6px; height: 6px; border-radius: 50%; }
.rd-h { background: var(--accent-red); }
.rd-m { background: #c9a034; }
.rd-l { background: #5a8a5a; }

.table-foot { padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-muted); font-family: 'Geist Mono',monospace; background: var(--bg-table-header); border-top: 1px solid rgba(14,17,22,.05); }
.page-btn { padding: 6px 10px; border-radius: 7px; background: var(--bg-card); border: 1px solid var(--border-medium); cursor: pointer; font-family: inherit; font-size: 11.5px; color: var(--text-primary); transition: all var(--duration-fast); }
.page-btn:hover { background: var(--bg-page); }
.page-btn.active { background: var(--text-primary); color: var(--text-inverse); border-color: var(--text-primary); }
.page-nums { display: flex; gap: 4px; }

/* ── SIDE PANEL ──────────────────────────────────────── */
.side { display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--bg-card); border-radius: var(--radius-xl); padding: 20px 22px; box-shadow: var(--shadow-md); }
.sc-title { font-size: 14.5px; font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 8px; letter-spacing: -.005em; }
.sc-sub { font-size: 11px; color: var(--text-muted); font-family: 'Geist Mono',monospace; margin-top: 3px; text-transform: uppercase; letter-spacing: .08em; }
.sc-head { margin-bottom: 16px; display: flex; justify-content: space-between; align-items: flex-start; }
.sc-link { font-size: 12px; color: var(--text-primary); font-weight: 500; cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent-green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sc-link:hover { color: var(--text-secondary); }

/* ── EVIDENCE LIST ──────────────────────────────────────── */
.evi-list { display: flex; flex-direction: column; gap: 14px; }
.evi-row { display: flex; gap: 12px; }
.evi-ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.evi-ico svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.ei-meet { background: #eee3f7; color: #6a4ea0; }
.ei-mail { background: #e0ecf7; color: #3a6ba0; }
.ei-call { background: #e2f0e6; color: #3d7a4a; }
.ei-signal { background: #fbe8d9; color: #a05a20; }
.ei-champion { background: #e8f2e2; color: #3d6a3d; }
.evi-content { flex: 1; min-width: 0; }
.evi-name { font-size: 12.5px; font-weight: 600; color: var(--text-primary); }
.evi-blurb { font-size: 11.5px; color: var(--text-secondary); margin-top: 3px; line-height: 1.5; }
.evi-foot { margin-top: 6px; display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; color: var(--text-muted); font-family: 'Geist Mono',monospace; letter-spacing: .02em; }
.evi-conf { background: #e8f2e2; color: #3d6a3d; padding: 2px 7px; border-radius: 5px; font-weight: 600; }
.evi-conf.neg { background: #fdeae2; color: #a04020; }

/* ── INSIGHT CARD ──────────────────────────────────────── */
.insight { background: linear-gradient(160deg,#f7f5ee 0%,#f0ede2 100%); border-radius: var(--radius-xl); padding: 22px; position: relative; overflow: hidden; }
.insight::before { content: ""; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; background: radial-gradient(circle,rgba(201,245,107,.3),transparent 65%); }
.insight-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-family: 'Geist Mono',monospace; text-transform: uppercase; letter-spacing: .1em; color: #4a5a3a; background: rgba(201,245,107,.35); padding: 4px 9px; border-radius: 20px; font-weight: 600; position: relative; z-index: 1; }
.insight-txt { font-size: 17px; line-height: 1.35; color: var(--text-primary); margin-top: 12px; letter-spacing: -.005em; position: relative; z-index: 1; }
.insight-txt .em { font-family: 'Instrument Serif',serif; font-style: italic; color: #3d5a20; }
.insight-actions { display: flex; gap: 8px; margin-top: 16px; position: relative; z-index: 1; }
.insight-btn { padding: 7px 12px; font-size: 11.5px; border-radius: 8px; background: var(--text-primary); color: var(--text-inverse); font-weight: 500; border: none; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 5px; transition: all var(--duration-fast); }
.insight-btn:hover { background: #1a1d20; }
.insight-btn.g { background: transparent; color: var(--text-primary); border: 1px solid rgba(14,17,22,.15); }
.insight-btn.g:hover { background: rgba(14,17,22,.04); }
.insight-btn svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ── APPROVE ──────────────────────────────────────── */
.approve-title { font-size: 14.5px; font-weight: 600; letter-spacing: -.005em; }
.approve-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.55; margin-top: 6px; }
.note { width: 100%; border: 1px solid var(--border-medium); border-radius: 10px; padding: 11px 12px; font-family: inherit; font-size: 12.5px; resize: none; outline: none; background: var(--bg-table-header); margin-top: 14px; color: var(--text-primary); line-height: 1.5; }
.note:focus { background: var(--bg-card); border-color: var(--text-primary); }
.approve-row { display: flex; gap: 8px; margin-top: 12px; }
.approve-row .btn { flex: 1; justify-content: center; padding: 10px; }

/* ── SUMMARY ROWS ──────────────────────────────────────── */
.summary { display: flex; flex-direction: column; gap: 2px; }
.sm-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(14,17,22,.05); font-size: 12.5px; }
.sm-row:last-child { border-bottom: none; }
.sm-k { color: var(--text-muted); }
.sm-v { color: var(--text-primary); font-weight: 600; font-family: 'Geist Mono',monospace; }
.sm-v.danger { color: var(--accent-red); }
.sm-v.warn { color: #a06a20; }

/* ── FOOTER ──────────────────────────────────────── */
.footer { padding: 24px 36px; font-size: 11px; color: var(--text-muted); display: flex; justify-content: space-between; font-family: 'Geist Mono',monospace; letter-spacing: .04em; text-transform: uppercase; }

/* ── TOAST ──────────────────────────────────────── */
#toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { padding: 12px 18px; border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--text-primary); background: var(--bg-card); box-shadow: 0 4px 24px rgba(14,17,22,.12), 0 1px 3px rgba(14,17,22,.08); display: flex; align-items: center; gap: 10px; pointer-events: auto; animation: slideInRight var(--duration-normal) var(--ease-out); min-width: 280px; border-left: 3px solid var(--text-primary); }
.toast.success { border-left-color: #4a8a5a; }
.toast.warning { border-left-color: var(--accent-orange); }
.toast.error { border-left-color: var(--accent-red); }
.toast.info { border-left-color: #5a8ac0; }
.toast.fade-out { animation: fadeOutRight var(--duration-normal) var(--ease-out) forwards; }

/* ── MODAL ──────────────────────────────────────── */
.modal-backdrop { position: fixed; inset: 0; background: rgba(14,17,22,.5); z-index: 1000; display: flex; align-items: center; justify-content: center; animation: fadeIn var(--duration-fast) var(--ease-out); }
.modal-panel { background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: 0 20px 60px rgba(14,17,22,.2); max-height: 80vh; overflow-y: auto; animation: scaleUp var(--duration-normal) var(--ease-out); }
.modal-panel.sm { width: 400px; }
.modal-panel.md { width: 560px; }
.modal-panel.lg { width: 720px; }
.modal-header { padding: 20px 24px 14px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(14,17,22,.05); }
.modal-header h3 { font-size: 16px; font-weight: 600; }
.modal-close { width: 32px; height: 32px; border-radius: 8px; border: none; background: var(--bg-page); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--duration-fast); }
.modal-close:hover { background: rgba(14,17,22,.08); }
.modal-close svg { width: 14px; height: 14px; stroke: var(--text-primary); stroke-width: 2; fill: none; }
.modal-body { padding: 20px 24px; }
.modal-footer { padding: 14px 24px 20px; display: flex; gap: 8px; justify-content: flex-end; border-top: 1px solid rgba(14,17,22,.05); }

/* ── DROPDOWN ──────────────────────────────────────── */
.dropdown-wrap { position: relative; display: inline-flex; }
.dropdown-panel { position: absolute; top: calc(100% + 6px); left: 0; background: var(--bg-card); border-radius: var(--radius-md); box-shadow: 0 8px 30px rgba(14,17,22,.12), 0 1px 3px rgba(14,17,22,.08); border: 1px solid var(--border-light); z-index: 100; min-width: 180px; padding: 4px; display: none; animation: fadeIn var(--duration-fast) var(--ease-out); }
.dropdown-panel.open { display: block; }
.dropdown-item { padding: 8px 12px; border-radius: 7px; font-size: 12.5px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background var(--duration-fast); color: var(--text-primary); }
.dropdown-item:hover { background: var(--bg-page); }
.dropdown-item.active { background: rgba(201,245,107,.15); font-weight: 600; }
.dropdown-item .dd-count { margin-left: auto; font-size: 10.5px; color: var(--text-muted); font-family: 'Geist Mono',monospace; }

/* ── MEDDPICC BAR ──────────────────────────────────────── */
.meddpicc-chart { display: flex; flex-direction: column; gap: 10px; }
.meddpicc-row { display: flex; align-items: center; gap: 12px; }
.meddpicc-label { width: 130px; font-size: 12px; font-weight: 500; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meddpicc-bar-track { flex: 1; height: 8px; background: #eeece7; border-radius: 4px; overflow: hidden; }
.meddpicc-bar-fill { height: 100%; border-radius: 4px; transition: width var(--duration-slow) var(--ease-out); }
.meddpicc-score { width: 36px; text-align: right; font-size: 12px; font-weight: 600; font-family: 'Geist Mono',monospace; }
.meddpicc-gap { font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: 600; }
.meddpicc-gap.has-gap { background: #fdeae2; color: #a04020; }
.meddpicc-gap.no-gap { background: #e8f2e2; color: #3d6a3d; }

/* ── WORKFLOW PROGRESS ──────────────────────────────────────── */
.workflow-progress { display: flex; align-items: center; gap: 0; margin: 16px 0; }
.wf-step { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-family: 'Geist Mono',monospace; color: var(--text-muted); padding: 6px 12px; border-radius: 20px; white-space: nowrap; }
.wf-step.active { background: rgba(201,245,107,.15); color: #3d5a20; font-weight: 600; }
.wf-step.completed { color: #4a8a5a; }
.wf-connector { width: 24px; height: 2px; background: #eeece7; flex-shrink: 0; }
.wf-connector.completed { background: #4a8a5a; }

/* ── LOGIN ──────────────────────────────────────── */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg,#0e1116 0%,#1a1f25 40%,#252b33 100%); }
.login-container { width: 980px; }
.login-header { text-align: center; margin-bottom: 40px; }
.login-header .brand-mark { width: 48px; height: 48px; font-size: 20px; margin: 0 auto 16px; }
.login-header h1 { font-size: 28px; color: var(--text-inverse); font-weight: 600; letter-spacing: -.02em; }
.login-header p { color: #8a8f95; font-size: 13.5px; margin-top: 8px; }
.user-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 32px; }
.user-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 16px; cursor: pointer; transition: all var(--duration-fast); display: flex; align-items: center; gap: 12px; }
.user-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.user-card.selected { background: rgba(201,245,107,.08); border-color: rgba(201,245,107,.3); box-shadow: 0 0 0 1px rgba(201,245,107,.15); }
.user-card.slack-only { opacity: .6; }
.user-card .uc-name { font-size: 13px; font-weight: 600; color: var(--text-inverse); }
.user-card .uc-role { font-size: 11px; color: #8a8f95; font-family: 'Geist Mono',monospace; margin-top: 2px; }
.user-card .uc-team { font-size: 10px; color: #5c6166; font-family: 'Geist Mono',monospace; margin-top: 1px; }
.slack-badge { font-size: 9px; background: rgba(255,255,255,.08); color: #8a8f95; padding: 2px 6px; border-radius: 4px; font-family: 'Geist Mono',monospace; margin-top: 4px; display: inline-block; }
.login-form { max-width: 380px; margin: 0 auto; }
.login-form input { width: 100%; padding: 11px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); background: rgba(255,255,255,.06); color: var(--text-inverse); font-size: 13px; outline: none; margin-bottom: 10px; font-family: inherit; }
.login-form input:focus { border-color: var(--accent-green); background: rgba(255,255,255,.1); }
.login-form input::placeholder { color: #5c6166; }
.login-form .btn { width: 100%; justify-content: center; padding: 12px; }
.login-msg { text-align: center; margin-top: 16px; padding: 14px; border-radius: var(--radius-md); background: rgba(255,180,120,.08); border: 1px solid rgba(255,180,120,.2); color: #f0a37a; font-size: 12.5px; line-height: 1.5; }
.login-msg a { color: var(--accent-green); cursor: pointer; text-decoration: underline; }

/* ── EMPTY STATE ──────────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 40px; color: var(--text-muted); }
.empty-state svg { width: 48px; height: 48px; stroke: #c0c4c8; stroke-width: 1.2; margin-bottom: 16px; }
.empty-state h3 { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.empty-state p { font-size: 13px; line-height: 1.5; max-width: 360px; margin: 0 auto 20px; }

/* ── DEAL CARD (Top Deals) ──────────────────────────────────────── */
.deal-card-wrap { display: flex; flex-direction: column; gap: 12px; }
.deal-card { background: var(--bg-card); border-radius: var(--radius-xl); padding: 20px 24px; box-shadow: var(--shadow-md); display: flex; gap: 20px; align-items: flex-start; transition: all var(--duration-fast); cursor: pointer; }
.deal-card:hover { box-shadow: 0 2px 4px rgba(14,17,22,.06), 0 12px 40px rgba(14,17,22,.06); }
.deal-rank { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-page); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--text-primary); font-family: 'Geist Mono',monospace; flex-shrink: 0; }
.deal-card-body { flex: 1; min-width: 0; }
.deal-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.deal-card-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.deal-card-meta > div { display: flex; flex-direction: column; gap: 2px; }
.deal-card-meta .meta-label { font-size: 10px; color: var(--text-muted); font-family: 'Geist Mono',monospace; text-transform: uppercase; letter-spacing: .06em; }
.deal-card-risks { margin-top: 8px; }
.deal-card-risks .risk-factor { font-size: 11.5px; color: var(--text-secondary); line-height: 1.4; margin-bottom: 4px; padding-left: 12px; position: relative; }
.deal-card-risks .risk-factor::before { content: ''; position: absolute; left: 0; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-orange); }
.deal-card-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ── COACHING CARD ──────────────────────────────────────── */
.coaching-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 16px; border: 1px solid rgba(14,17,22,.05); margin-bottom: 10px; }
.coaching-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.coaching-type { font-size: 10.5px; font-family: 'Geist Mono',monospace; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.coaching-state-badge { font-size: 10px; padding: 2px 8px; border-radius: 10px; font-weight: 600; font-family: 'Geist Mono',monospace; }
.coaching-state-badge.delivered { background: #e0ecf7; color: #3a6ba0; }
.coaching-state-badge.accepted { background: #e8f2e2; color: #3d6a3d; }
.coaching-state-badge.rejected { background: #fdeae2; color: #a04020; }
.coaching-text { font-size: 13px; line-height: 1.5; color: var(--text-primary); margin-bottom: 8px; }
.coaching-meta { font-size: 11px; color: var(--text-muted); font-family: 'Geist Mono',monospace; margin-bottom: 10px; }
.coaching-response { font-size: 12px; color: var(--text-secondary); line-height: 1.4; padding: 8px 10px; background: var(--bg-page); border-radius: 8px; margin-bottom: 10px; font-style: italic; }

/* ── INTEGRATION CARD ──────────────────────────────────────── */
.int-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.int-card { background: var(--bg-card); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-md); }
.int-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.int-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: var(--text-inverse); }
.int-name { font-size: 15px; font-weight: 600; }
.int-type { font-size: 11px; color: var(--text-muted); font-family: 'Geist Mono',monospace; margin-top: 2px; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.status-badge.connected { background: #e8f2e2; color: #3d6a3d; }
.status-badge.disconnected { background: #fdeae2; color: #a04020; }
.status-badge.error { background: #fdeae2; color: #a04020; }
.status-badge.syncing { background: #e0ecf7; color: #3a6ba0; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; }
.status-dot.connected { background: #5a8a5a; }
.status-dot.disconnected { background: var(--accent-red); }
.status-dot.error { background: var(--accent-red); }
.status-dot.syncing { background: #5a8ac0; }
.int-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.int-stat { font-size: 11px; color: var(--text-muted); font-family: 'Geist Mono',monospace; }
.int-stat b { display: block; font-size: 14px; color: var(--text-primary); font-weight: 600; margin-top: 2px; }
.int-flows { margin-bottom: 14px; }
.int-flow { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12px; border-bottom: 1px solid rgba(14,17,22,.04); }
.int-flow:last-child { border-bottom: none; }
.flow-dir { font-size: 10px; padding: 2px 6px; border-radius: 4px; font-family: 'Geist Mono',monospace; font-weight: 600; }
.flow-dir.inbound { background: #e0ecf7; color: #3a6ba0; }
.flow-dir.outbound { background: #eee3f7; color: #6a4ea0; }
.flow-status { margin-left: auto; font-size: 10px; font-family: 'Geist Mono',monospace; font-weight: 600; }
.flow-status.active-flow { color: #4a8a5a; }
.flow-status.paused-flow { color: var(--accent-orange); }
.flow-status.error-flow { color: var(--accent-red); }

/* ── RULE CARD ──────────────────────────────────────── */
.rule-cards { display: flex; flex-direction: column; gap: 12px; }
.rule-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 18px 20px; border: 1px solid rgba(14,17,22,.05); }
.rule-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.rule-name { font-size: 14px; font-weight: 600; }
.rule-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.4; margin-bottom: 12px; }
.rule-value-row { display: flex; align-items: center; gap: 12px; }
.rule-input { padding: 8px 12px; border: 1px solid var(--border-medium); border-radius: 8px; font-size: 13px; font-family: 'Geist Mono',monospace; width: 120px; outline: none; background: var(--bg-table-header); }
.rule-input:focus { border-color: var(--text-primary); background: var(--bg-card); }
.rule-input:disabled { opacity: .5; cursor: not-allowed; }
.rule-unit { font-size: 12px; color: var(--text-muted); font-family: 'Geist Mono',monospace; }
.rule-meta { font-size: 10.5px; color: var(--text-muted); font-family: 'Geist Mono',monospace; margin-top: 8px; }

/* ── COMPLIANCE CHECKLIST ──────────────────────────────────────── */
.compliance-list { display: flex; flex-direction: column; gap: 6px; }
.compliance-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(14,17,22,.04); font-size: 12.5px; }
.compliance-item:last-child { border-bottom: none; }
.compliance-check { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.compliance-check.pass { background: #e8f2e2; color: #3d6a3d; }
.compliance-check.fail { background: #fdeae2; color: #a04020; }
.compliance-check svg { width: 12px; height: 12px; }

/* ── STAKEHOLDER LIST ──────────────────────────────────────── */
.stakeholder-list { display: flex; flex-direction: column; gap: 10px; }
.stakeholder-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(14,17,22,.04); }
.stakeholder-row:last-child { border-bottom: none; }
.stakeholder-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--text-inverse); flex-shrink: 0; }
.stakeholder-info { flex: 1; }
.stakeholder-name { font-size: 13px; font-weight: 600; }
.stakeholder-title { font-size: 11.5px; color: var(--text-muted); }
.engagement-badge { font-size: 10px; padding: 2px 8px; border-radius: 10px; font-weight: 600; font-family: 'Geist Mono',monospace; }
.engagement-badge.high { background: #e8f2e2; color: #3d6a3d; }
.engagement-badge.medium { background: #fbf1d9; color: #8a6820; }
.engagement-badge.low { background: #fdeae2; color: #a04020; }
.engagement-badge.none { background: var(--bg-page); color: var(--text-muted); }

/* ── HERO SUMMARY STRIP ──────────────────────────────────────── */
.summary-strip { display: grid; gap: 1px; background: rgba(14,17,22,.06); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; }
.summary-strip.cols-4 { grid-template-columns: repeat(4,1fr); }
.summary-strip.cols-5 { grid-template-columns: repeat(5,1fr); }
.summary-strip.cols-6 { grid-template-columns: repeat(6,1fr); }
.ss-item { background: var(--bg-card); padding: 18px 20px; }
.ss-label { font-size: 10.5px; color: var(--text-muted); font-family: 'Geist Mono',monospace; text-transform: uppercase; letter-spacing: .06em; }
.ss-value { font-size: 22px; font-weight: 600; color: var(--text-primary); margin-top: 6px; font-family: 'Geist Mono',monospace; }
.ss-value .ss-unit { font-size: 12px; color: var(--text-muted); font-weight: 400; }

/* ── SECTION TABS ──────────────────────────────────────── */
.section-tabs { display: flex; gap: 4px; background: var(--bg-page); padding: 4px; border-radius: var(--radius-md); margin-bottom: 20px; flex-wrap: wrap; }
.section-tab { padding: 8px 16px; font-size: 13px; font-weight: 500; border-radius: 8px; cursor: pointer; color: var(--text-muted); transition: all var(--duration-fast); white-space: nowrap; }
.section-tab:hover { color: var(--text-primary); }
.section-tab.active { background: var(--bg-card); color: var(--text-primary); box-shadow: 0 1px 2px rgba(14,17,22,.06); font-weight: 600; }

/* ── INSPECTION FORM ELEMENTS ──────────────────────────────────────── */
.inspection-note { width: 100%; border: 1px solid var(--border-medium); border-radius: 8px; padding: 10px 12px; font-family: inherit; font-size: 12.5px; resize: vertical; outline: none; background: var(--bg-table-header); color: var(--text-primary); line-height: 1.5; min-height: 60px; }
.inspection-note:focus { background: var(--bg-card); border-color: var(--text-primary); }
.override-panel { background: rgba(255,180,120,.05); border: 1px solid rgba(255,180,120,.15); border-radius: var(--radius-lg); padding: 18px; margin-top: 16px; }
.override-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; font-weight: 600; }
.toggle-switch { width: 40px; height: 22px; border-radius: 11px; background: #d0d4d8; position: relative; transition: background var(--duration-fast); flex-shrink: 0; }
.toggle-switch.on { background: var(--accent-orange); }
.toggle-switch .toggle-knob { width: 18px; height: 18px; border-radius: 50%; background: white; position: absolute; top: 2px; left: 2px; transition: left var(--duration-fast); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.toggle-switch.on .toggle-knob { left: 20px; }

/* ── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeOutRight { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(40px); } }
@keyframes scaleUp { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
@keyframes donutFill { from { stroke-dasharray: 0 100; } }

.animate-in { animation: fadeUp var(--duration-slow) var(--ease-out) both; }
.stagger-1 { animation-delay: 50ms; }
.stagger-2 { animation-delay: 100ms; }
.stagger-3 { animation-delay: 150ms; }
.stagger-4 { animation-delay: 200ms; }
.stagger-5 { animation-delay: 250ms; }
.stagger-6 { animation-delay: 300ms; }
.stagger-7 { animation-delay: 350ms; }
.stagger-8 { animation-delay: 400ms; }

/* Donut animation */
.evi-donut svg circle:nth-child(2) { animation: donutFill var(--duration-slow) var(--ease-out) both; }

/* ── PAGE TITLE ──────────────────────────────────────── */
.page-title { font-size: 22px; font-weight: 600; color: var(--text-primary); letter-spacing: -.02em; margin-bottom: 6px; }
.page-subtitle { font-size: 13px; color: var(--text-muted); font-family: 'Geist Mono',monospace; margin-bottom: 24px; }

/* ── KANBAN ──────────────────────────────────────── */
.kanban { display: flex; gap: 12px; padding: 20px 0; overflow-x: auto; }
.kanban-col { flex: 1; min-width: 160px; }
.kanban-col-header { font-size: 11px; font-family: 'Geist Mono',monospace; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); padding: 8px 10px; margin-bottom: 8px; font-weight: 500; }
.kanban-card { background: var(--bg-card); border: 1px solid rgba(14,17,22,.06); border-radius: var(--radius-md); padding: 12px; margin-bottom: 8px; cursor: pointer; transition: all var(--duration-fast); }
.kanban-card:hover { box-shadow: var(--shadow-sm); border-color: rgba(14,17,22,.1); }
.kanban-card .kc-name { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.kanban-card .kc-amount { font-size: 11px; font-family: 'Geist Mono',monospace; font-weight: 600; }
.kanban-card .kc-owner { font-size: 10px; color: var(--text-muted); margin-top: 4px; }

/* ── TIMELINE VIEW ──────────────────────────────────────── */
.timeline-view { padding: 20px; overflow-x: auto; }
.timeline-axis { display: flex; gap: 0; margin-bottom: 12px; }
.timeline-week { flex: 1; min-width: 100px; text-align: center; font-size: 10px; font-family: 'Geist Mono',monospace; color: var(--text-muted); padding: 6px 0; border-bottom: 2px solid #eeece7; }
.timeline-week.current { border-bottom-color: var(--accent-green); color: var(--text-primary); font-weight: 600; }
.timeline-deals { position: relative; min-height: 200px; }
.timeline-deal { position: absolute; height: 28px; border-radius: 6px; padding: 0 10px; display: flex; align-items: center; font-size: 11px; font-weight: 500; color: var(--text-inverse); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── TWO-COL LAYOUT ──────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.col-60-40 { display: grid; grid-template-columns: 3fr 2fr; gap: 20px; }
.col-55-45 { display: grid; grid-template-columns: 55% 45%; gap: 20px; }

/* ── MISC ──────────────────────────────────────── */
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 12px; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.hidden { display: none !important; }
