/* ============================================================================
 * ZENITH — Growth Intelligence OS · Design System
 * ==========================================================================*/
:root {
  --bg: #07081a;
  --bg-2: #0b0d24;
  --panel: rgba(20, 23, 54, 0.72);
  --panel-solid: #11142e;
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-2: rgba(255, 255, 255, 0.16);
  --ink: #eef0fb;
  --ink-2: #c2c6e8;
  --ink-3: #9aa0cc;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --amber: #f59e0b;
  --pink: #f472b6;
  --grad: linear-gradient(120deg, #7c5cff 0%, #22d3ee 100%);
  --grad-2: linear-gradient(120deg, #a78bfa 0%, #34d399 100%);
  --radius: 18px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --maxw: 1180px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    system-ui, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, canvas { display: block; max-width: 100%; }
::selection { background: rgba(124, 92, 255, 0.4); }

/* Ambient background */
.bg-aurora {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(124, 92, 255, 0.22), transparent 60%),
    radial-gradient(50% 50% at 85% 10%, rgba(34, 211, 238, 0.16), transparent 60%),
    radial-gradient(60% 60% at 50% 100%, rgba(52, 211, 153, 0.10), transparent 60%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cyan);
  padding: 6px 14px; border: 1px solid var(--stroke-2);
  border-radius: 999px; background: rgba(34, 211, 238, 0.06);
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.h-section { font-size: clamp(28px, 4vw, 44px); margin: 18px 0 14px; }
.sub { color: var(--ink-2); font-size: clamp(15px, 1.6vw, 18px); max-width: 640px; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #0a0b1e; box-shadow: 0 16px 40px -14px rgba(124, 92, 255, 0.7); }
.btn-primary:hover { box-shadow: 0 22px 54px -14px rgba(124, 92, 255, 0.9); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--stroke-2); color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 8, 26, 0.6);
  border-bottom: 1px solid var(--stroke);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand .logo { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 880px) { .nav-links { display: none; } }

/* Hero */
.hero { padding: 86px 0 64px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 850; letter-spacing: -0.03em; }
.hero .sub { font-size: clamp(16px, 1.8vw, 20px); margin: 22px 0 32px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.stat .num { font-size: 30px; font-weight: 800; background: var(--grad-2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lab { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; } }

/* Hero visual: orbit of agents + live mini chart */
.hero-visual { position: relative; aspect-ratio: 1/1; max-width: 460px; margin: 0 auto; width: 100%; }
.orbit-core {
  position: absolute; inset: 0; margin: auto; width: 168px; height: 168px;
  border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 80px -8px rgba(124, 92, 255, 0.65); z-index: 3;
}
.orbit-core .glass {
  width: 152px; height: 152px; border-radius: 50%;
  background: rgba(7, 8, 26, 0.78); display: grid; place-items: center; text-align: center;
}
.orbit-core .glass b { font-size: 30px; display: block; line-height: 1; }
.orbit-core .glass span { font-size: 11px; color: var(--ink-2); letter-spacing: 0.1em; }
.orbit-ring { position: absolute; inset: 0; border: 1px dashed var(--stroke-2); border-radius: 50%; }
.orbit-ring.r1 { inset: 8%; } .orbit-ring.r2 { inset: 24%; }
.orbit { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.orbit.rev { animation-direction: reverse; animation-duration: 34s; }
@keyframes spin { to { transform: rotate(360deg); } }
.node {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--panel-solid); border: 1px solid var(--stroke-2);
  display: grid; place-items: center; font-size: 18px;
  box-shadow: var(--shadow);
}
.node span { animation: float-counter 26s linear infinite; }
@keyframes float-counter { to { transform: rotate(-360deg); } }

/* Cards / glass */
.card {
  background: var(--panel); border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 26px; backdrop-filter: blur(14px);
  position: relative; overflow: hidden;
}
.card.hov { transition: transform 0.2s ease, border-color 0.2s; }
.card.hov:hover { transform: translateY(-4px); border-color: var(--stroke-2); }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(124, 92, 255, 0.12); border: 1px solid var(--stroke-2); margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 14.5px; }
.card .tag { font-size: 11.5px; color: var(--cyan); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

/* Trust bar */
.trust { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; align-items: center; opacity: 0.85; }
.trust .chip { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.trust .chip b { color: var(--ink); }

/* Engine modules */
.engine-card .formula {
  margin-top: 14px; font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px; color: var(--cyan); background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--stroke); border-radius: 10px; padding: 10px 12px; overflow-x: auto;
}

/* Agent mesh */
.squads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .squads { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .squads { grid-template-columns: 1fr; } }
.squad { background: var(--panel); border: 1px solid var(--stroke); border-radius: 16px; padding: 18px; }
.squad .sh { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.squad .sh .dot { width: 10px; height: 10px; border-radius: 50%; }
.squad .sh b { font-size: 15px; }
.squad .sh small { color: var(--ink-3); margin-left: auto; font-weight: 700; }
.squad ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.squad li { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.squad li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

/* Comparison table */
.cmp { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stroke); }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--stroke); font-size: 14.5px; }
.cmp thead th { font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; }
.cmp thead th.us { color: var(--ink); }
.cmp .col-us { background: rgba(124, 92, 255, 0.08); }
.cmp td.feat { color: var(--ink); font-weight: 600; }
.cmp .yes { color: var(--emerald); font-weight: 700; }
.cmp .no { color: var(--ink-3); }
.cmp .partial { color: var(--amber); }
.cmp tr:last-child td { border-bottom: none; }

/* Case study */
.case { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; align-items: center; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }
.metric-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.metric { background: var(--panel); border: 1px solid var(--stroke); border-radius: 14px; padding: 16px 18px; flex: 1; min-width: 130px; }
.metric .v { font-size: 26px; font-weight: 800; }
.metric .v.up { color: var(--emerald); } .metric .v.down { color: var(--cyan); }
.metric .l { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.tier.feat { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 24px 60px -24px rgba(124, 92, 255, 0.6); }
.tier .pill { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #0a0b1e; margin-bottom: 12px; }
.tier h3 { font-size: 20px; }
.tier .price { font-size: 34px; font-weight: 850; margin: 10px 0 2px; }
.tier .price small { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.tier .desc { color: var(--ink-2); font-size: 13.5px; min-height: 40px; }
.tier ul { list-style: none; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier li { font-size: 14px; color: var(--ink-2); display: flex; gap: 9px; }
.tier li::before { content: "✓"; color: var(--emerald); font-weight: 800; }

/* FAQ */
.faq-item { border: 1px solid var(--stroke); border-radius: 14px; background: var(--panel); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--ink); font-size: 16px; font-weight: 600; padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: inherit; }
.faq-q .chev { transition: transform 0.2s; color: var(--cyan); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; color: var(--ink-2); font-size: 14.5px; }
.faq-a > div { padding: 0 20px 18px; }

/* Form */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .form-wrap { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.field input, .field textarea, .field select {
  background: rgba(0, 0, 0, 0.28); border: 1px solid var(--stroke-2); border-radius: 10px;
  color: var(--ink); padding: 12px 14px; font-size: 14.5px; font-family: inherit; transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); }
.field textarea { resize: vertical; min-height: 92px; }
.consent { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.form-msg { font-size: 14px; padding: 12px 14px; border-radius: 10px; margin-top: 6px; display: none; }
.form-msg.ok { display: block; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.4); color: var(--emerald); }

/* CTA band */
.cta-band { background: var(--grad); border-radius: 28px; padding: 56px; text-align: center; color: #0a0b1e; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); color: #0a0b1e; }
.cta-band p { color: rgba(10, 11, 30, 0.78); font-weight: 600; margin: 12px auto 26px; max-width: 520px; }
.cta-band .btn-primary { background: #0a0b1e; color: #fff; }

/* Footer */
footer { border-top: 1px solid var(--stroke); padding: 48px 0 36px; color: var(--ink-3); }
.foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.foot-grid a { color: var(--ink-3); font-size: 14px; }
.foot-grid a:hover { color: var(--ink-2); }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col b { color: var(--ink-2); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== CONSOLE ===================== */
.console-shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { border-right: 1px solid var(--stroke); padding: 22px 16px; position: sticky; top: 0; height: 100vh; background: rgba(7, 8, 26, 0.5); backdrop-filter: blur(10px); }
.side .brand { margin-bottom: 26px; padding: 0 6px; }
.side nav { display: flex; flex-direction: column; gap: 4px; }
.side nav button {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: none; border: none; color: var(--ink-2); font-family: inherit; font-size: 14.5px;
  padding: 11px 12px; border-radius: 10px; cursor: pointer; transition: background 0.15s, color 0.15s;
}
.side nav button .e { width: 20px; text-align: center; }
.side nav button:hover { background: rgba(255, 255, 255, 0.04); color: var(--ink); }
.side nav button.active { background: rgba(124, 92, 255, 0.16); color: #fff; box-shadow: inset 0 0 0 1px var(--stroke-2); }
.side .side-foot { position: absolute; bottom: 18px; left: 16px; right: 16px; font-size: 12px; color: var(--ink-3); }
.console-main { padding: 28px 32px 80px; max-width: 1100px; }
.console-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.console-head h1 { font-size: 26px; }
.console-head p { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.badge { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(52, 211, 153, 0.12); color: var(--emerald); border: 1px solid rgba(52, 211, 153, 0.35); font-weight: 600; }
.badge.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); margin-right: 6px; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.panel { background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 22px; backdrop-filter: blur(12px); margin-bottom: 20px; }
.panel h2 { font-size: 17px; margin-bottom: 4px; }
.panel .hint { color: var(--ink-3); font-size: 13px; margin-bottom: 16px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 980px) { .kpis { grid-template-columns: repeat(2, 1fr); } .console-shell { grid-template-columns: 1fr; } .side { position: static; height: auto; } .side nav { flex-direction: row; flex-wrap: wrap; } }
.kpi { background: var(--panel); border: 1px solid var(--stroke); border-radius: 14px; padding: 16px 18px; }
.kpi .l { font-size: 12.5px; color: var(--ink-3); }
.kpi .v { font-size: 26px; font-weight: 800; margin-top: 4px; }
.kpi .d { font-size: 12.5px; margin-top: 4px; font-weight: 600; }
.kpi .d.up { color: var(--emerald); } .kpi .d.down { color: var(--pink); }

.tab-page { display: none; } .tab-page.active { display: block; animation: fade 0.3s; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; } }

.chart-box { width: 100%; height: 300px; }
.chart-box.sm { height: 220px; }
.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.controls { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.controls .ctrl { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--ink-2); }
.controls input[type="range"] { width: 180px; accent-color: var(--violet); }
.controls input[type="number"] { width: 120px; background: rgba(0,0,0,.3); border: 1px solid var(--stroke-2); color: var(--ink); border-radius: 8px; padding: 8px 10px; font-family: inherit; }
.controls .val { color: var(--cyan); font-weight: 700; }

table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th, table.data td { padding: 11px 12px; text-align: right; border-bottom: 1px solid var(--stroke); }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data thead th { color: var(--ink-3); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }
table.data td.pos { color: var(--emerald); font-weight: 700; }
table.data td.neg { color: var(--pink); font-weight: 700; }
/* 데이터 테이블 가독성: 헤더 고정 · 제브라 · 행 호버 */
table.data thead th { position: sticky; top: 0; background: var(--panel-solid); z-index: 1; }
table.data tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.022); }
table.data tbody tr:hover td { background: rgba(124, 92, 255, 0.07); }
.rec { background: rgba(124, 92, 255, 0.1); border: 1px solid var(--stroke-2); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink); display: flex; gap: 10px; align-items: flex-start; }
.rec b { color: var(--cyan); }
.flag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.flag.win { background: rgba(52,211,153,.16); color: var(--emerald); }
.flag.cut { background: rgba(244,114,182,.16); color: var(--pink); }
.flag.hold { background: rgba(245,158,11,.16); color: var(--amber); }

/* ===================== ORGANIC / PLACE 모듈 ===================== */
.badge.demo { background: rgba(245,158,11,.12); color: var(--amber); border-color: rgba(245,158,11,.35); }
table.data td .delta { font-weight: 700; font-size: 12.5px; }
table.data td .delta.up { color: var(--emerald); }
table.data td .delta.down { color: var(--pink); }
table.data td, table.data th { font-variant-numeric: tabular-nums; }

/* 플레이스 완성도 체크리스트 */
.meter { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.ck { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--stroke); font-size: 14px; color: var(--ink); }
.ck:last-child { border-bottom: none; }
.ck .ck-i { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 6px; font-size: 12px; font-weight: 800; background: rgba(52,211,153,.16); color: var(--emerald); }
.ck.no { color: var(--ink-3); }
.ck.no .ck-i { background: rgba(245,158,11,.14); color: var(--amber); }

/* 의료광고 체커 결과 */
.find { border: 1px solid var(--stroke); border-left: 3px solid var(--ink-3); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; background: rgba(0,0,0,.18); }
.find.sev-high { border-left-color: var(--pink); }
.find.sev-mid { border-left-color: var(--amber); }
.find.sev-low { border-left-color: var(--ink-3); }
.find-h { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 14.5px; }
.find-h b { color: var(--ink); }
.find-cat { font-size: 12px; color: var(--ink-3); margin-left: auto; }
.find-r { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.find-s { font-size: 13px; color: var(--cyan); margin-top: 4px; }

/* 리뷰 허브 */
.rv { border: 1px solid var(--stroke); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; transition: border-color .15s, background .15s; background: rgba(0,0,0,.14); }
.rv:hover { border-color: var(--stroke-2); }
.rv.sel { border-color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet); background: rgba(124,92,255,.07); }
.rv-h { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.rv-h b { font-size: 14px; }
.rv-meta { font-size: 12.5px; color: var(--ink-3); margin-right: auto; }
.rv-body { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.rv-chips { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.kw-chip { font-size: 11.5px; color: var(--cyan); background: rgba(34,211,238,.08); border: 1px solid var(--stroke-2); border-radius: 999px; padding: 2px 9px; }
.kwbar { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.kwbar-l { width: 130px; flex: none; font-size: 13px; color: var(--ink); }
.kwbar-track { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.kwbar-track > span { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.kwbar-n { width: 28px; text-align: right; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* 경쟁 벤치마크: 우리 행 강조 */
table.data tbody tr.us-row td { background: rgba(124,92,255,.12); }
table.data tbody tr.us-row:hover td { background: rgba(124,92,255,.16); }
table.data tbody tr.us-row td:first-child { box-shadow: inset 3px 0 0 var(--violet); }
#comp-kw-picker .btn { padding: 8px 14px; font-size: 13px; }

/* 콘텐츠 캘린더: 채널 쿼터 진행바 */
.quota-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .quota-grid { grid-template-columns: repeat(2, 1fr); } }
.quota { background: var(--panel); border: 1px solid var(--stroke); border-radius: 14px; padding: 14px 16px; }
.quota-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.quota-h b { font-size: 16px; font-variant-numeric: tabular-nums; }
.quota-sub { font-size: 12px; color: var(--ink-3); margin-top: 6px; }

/* 콘텐츠 캘린더: 제작 칸반 */
.kanban { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1100px) { .kanban { grid-template-columns: repeat(2, 1fr); } }
.kb-col { background: rgba(0,0,0,.16); border: 1px solid var(--stroke); border-radius: 12px; padding: 10px; min-height: 80px; }
.kb-col-h { font-size: 12.5px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.kb-count { font-size: 11px; background: rgba(255,255,255,.08); color: var(--ink-3); border-radius: 999px; padding: 1px 8px; font-weight: 700; }
.kb-body { display: flex; flex-direction: column; gap: 9px; }
.kb-empty { color: var(--ink-3); font-size: 13px; text-align: center; padding: 6px 0; }
.kb-card { background: var(--panel); border: 1px solid var(--stroke-2); border-radius: 10px; padding: 11px 12px; }
.kb-card-top { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 7px; }
.kb-card-title { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.kb-card-meta { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.kb-card-foot { margin-top: 9px; }
.ch-badge { font-size: 11px; color: var(--ink-2); background: rgba(255,255,255,.05); border: 1px solid var(--stroke); border-radius: 999px; padding: 2px 8px; }

/* 로딩 스켈레톤 */
.kpi.skel { pointer-events: none; }
.skel-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 37%, rgba(255,255,255,.05) 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; }
.skel-line.lab { width: 60%; height: 10px; margin-bottom: 12px; }
.skel-line.val { width: 80%; height: 22px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
