:root {
  color-scheme: dark;
  --bg: #050b1d;
  --surface: #091226;
  --surface-2: #0d1830;
  --surface-3: #101d38;
  --line: rgba(153, 173, 217, .13);
  --line-strong: rgba(105, 137, 198, .28);
  --text: #f7f9ff;
  --muted: #a7b1c7;
  --dim: #6f7d99;
  --cyan: #1ac8e8;
  --blue: #3478ff;
  --teal: #21d3a6;
  --pink: #ff4d91;
  --orange: #f4a73b;
  --danger: #ff5d72;
  --radius: 12px;
  --max: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--bg); }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 78% 0%, rgba(24, 76, 143, .13), transparent 29rem), var(--bg); color: var(--text); font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", sans-serif; letter-spacing: 0; line-height: 1.5; }
button, select { font: inherit; }
button { color: inherit; }
button:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 99; padding: 10px 14px; background: var(--cyan); color: #00101c; border-radius: 6px; font-weight: 800; transition: top .15s; }
.skip-link:focus { top: 16px; }
.topbar { max-width: var(--max); margin: 0 auto; padding: 30px 28px 24px; display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { width: 74px; height: 58px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 8px; border: 1px solid rgba(26, 200, 232, .5); color: var(--text); background: linear-gradient(135deg, rgba(26,200,232,.12), rgba(52,120,255,.08)); border-radius: 8px; text-decoration: none; font-size: 22px; font-weight: 900; line-height: 1; letter-spacing: -.06em; box-shadow: inset 0 0 22px rgba(26,200,232,.06); }
.wordmark span:last-child { color: var(--cyan); border-left: 1px solid rgba(26,200,232,.28); padding-left: 6px; }
.eyebrow, .section-kicker { margin: 0 0 3px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(33,211,166,.1); animation: pulse 1.8s infinite; }
.topbar h1 { margin: 0; font-size: clamp(24px, 2.3vw, 36px); line-height: 1.15; font-weight: 760; letter-spacing: -.02em; }
.topbar-copy > p:last-child, .section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.demo-stamp { padding: 8px 10px; border: 1px solid var(--line); color: var(--dim); font-size: 11px; font-weight: 800; letter-spacing: .08em; border-radius: 6px; white-space: nowrap; }
.demo-stamp[data-state="ready"] { border-color: rgba(33, 211, 166, .45); color: var(--teal); }
.chat-dock {
  --chat-panel: #ffffff;
  --chat-panel-soft: #f4f7fb;
  --chat-panel-muted: #e9eef6;
  --chat-text: #15213a;
  --chat-muted: #5c6880;
  --chat-placeholder: #758198;
  --chat-border: #cfd8e6;
  --chat-accent: #116d89;
  --chat-accent-hover: #0c586f;
  --chat-user: #0b1730;
  --chat-user-text: #ffffff;
  --chat-error: #b4233a;
  --chat-error-soft: #fff0f2;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  color: var(--chat-text);
  background: transparent;
  font-family: inherit;
}
.chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: flex;
  flex-direction: column;
  width: min(368px, calc(100vw - 48px));
  height: min(540px, calc(100vh - 112px));
  overflow: hidden;
  color: var(--chat-text);
  background: var(--chat-panel);
  border: 1px solid var(--chat-border);
  border-radius: 8px;
  box-shadow: 0 20px 56px rgba(0, 7, 22, .34);
  animation: chat-panel-in 180ms ease-out both;
}
.chat-panel[hidden], .chat-retry[hidden], .chat-launcher[hidden] { display: none !important; }
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 16px;
  color: var(--chat-text);
  background: var(--chat-panel-soft);
  border-bottom: 1px solid var(--chat-border);
}
.chat-header span { display: block; margin-bottom: 2px; color: var(--chat-accent); background: transparent; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.chat-header h2 { margin: 0; color: var(--chat-text); background: transparent; font-size: 17px; line-height: 1.3; }
.chat-close { width: 38px; height: 38px; padding: 0; color: var(--chat-muted); background: var(--chat-panel-muted); border: 1px solid var(--chat-border); border-radius: 6px; font-size: 23px; line-height: 1; }
.chat-close:hover { color: var(--chat-text); background: #dfe6f0; }
.chat-messages { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; color: var(--chat-text); background: var(--chat-panel); scrollbar-color: #aab6c9 var(--chat-panel-soft); }
.chat-notice { margin: 0; padding: 11px 12px; color: var(--chat-muted); background: var(--chat-panel-soft); border: 1px solid var(--chat-border); border-radius: 6px; font-size: 12px; line-height: 1.55; }
.chat-message { width: fit-content; max-width: 88%; margin: 12px 0 0; padding: 10px 12px; color: var(--chat-text); background: var(--chat-panel-muted); border: 1px solid var(--chat-border); border-radius: 7px 7px 7px 2px; font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; animation: chat-message-in 180ms ease-out both; }
.chat-message.is-user { margin-left: auto; color: var(--chat-user-text); background: var(--chat-user); border-color: var(--chat-user); border-radius: 7px 7px 2px 7px; }
.chat-message.is-answer { color: var(--chat-text); background: var(--chat-panel-soft); border-color: var(--chat-border); }
.chat-state { min-height: 34px; padding: 8px 16px; color: var(--chat-muted); background: var(--chat-panel-soft); border-top: 1px solid var(--chat-border); font-size: 12px; line-height: 18px; }
.chat-state.is-loading { color: var(--chat-accent); background: #edf9fc; }
.chat-state.is-error { color: var(--chat-error); background: var(--chat-error-soft); }
.chat-retry { width: calc(100% - 32px); min-height: 38px; margin: 10px 16px 0; color: var(--chat-error); background: var(--chat-error-soft); border: 1px solid #efb7c1; border-radius: 6px; font-weight: 800; }
.chat-retry:hover { color: #8d162b; background: #ffe3e8; }
.chat-form { padding: 12px 16px 16px; color: var(--chat-text); background: var(--chat-panel); border-top: 1px solid var(--chat-border); }
.chat-form label { display: block; margin-bottom: 6px; color: var(--chat-muted); background: transparent; font-size: 11px; font-weight: 800; }
.chat-compose { display: grid; grid-template-columns: minmax(0, 1fr) 68px; gap: 8px; color: var(--chat-text); background: var(--chat-panel); }
.chat-compose textarea { min-width: 0; min-height: 52px; max-height: 112px; resize: vertical; padding: 10px; color: var(--chat-text); caret-color: var(--chat-accent); background: var(--chat-panel); border: 1px solid #aebacc; border-radius: 6px; font: inherit; font-size: 13px; line-height: 1.45; }
.chat-compose textarea::placeholder { color: var(--chat-placeholder); opacity: 1; }
.chat-compose textarea:focus { color: var(--chat-text); background: var(--chat-panel); border-color: var(--chat-accent); outline: 3px solid rgba(17, 109, 137, .18); }
.chat-compose textarea:disabled { color: #7b879a; background: #edf1f6; }
.chat-compose button { min-height: 52px; padding: 0 10px; color: #ffffff; background: var(--chat-accent); border: 1px solid var(--chat-accent); border-radius: 6px; font-weight: 850; }
.chat-compose button:hover { color: #ffffff; background: var(--chat-accent-hover); border-color: var(--chat-accent-hover); }
.chat-compose button:disabled { color: #647187; background: #d9e0ea; border-color: #c6d0df; cursor: wait; }
.chat-launcher { min-height: 48px; padding: 0 16px; color: #ffffff; background: #0b1730; border: 1px solid rgba(255, 255, 255, .34); border-radius: 7px; box-shadow: 0 12px 32px rgba(0, 7, 22, .3); font-size: 13px; font-weight: 850; }
.chat-launcher span { margin-right: 6px; color: #1ac8e8; background: transparent; }
.chat-launcher:hover { color: #ffffff; background: #12264a; border-color: #1ac8e8; transform: translateY(-2px); }
.chat-launcher:focus-visible, .chat-close:focus-visible, .chat-retry:focus-visible, .chat-compose button:focus-visible { outline: 3px solid rgba(26, 200, 232, .35); outline-offset: 2px; }
@keyframes chat-panel-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes chat-message-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
button { border: 1px solid var(--line); background: var(--surface-3); border-radius: 8px; min-height: 40px; padding: 9px 14px; cursor: pointer; transition: border-color .14s ease, background-color .14s ease, transform .14s ease, color .14s ease; }
button:hover { border-color: var(--line-strong); background: #142342; transform: translateY(-1px); }
button:active { transform: translateY(0); }
.primary-button { border-color: rgba(26,200,232,.38); background: linear-gradient(135deg, #087d9c, #1265a9); font-weight: 750; }
.quiet-button { color: var(--muted); }
.dashboard-shell { max-width: var(--max); margin: 0 auto; padding: 10px 28px 80px; }
.dashboard-section { --accent: var(--cyan); position: relative; padding: 38px 0 42px 16px; border-bottom: 1px solid var(--line); }
.dashboard-section::before { content: ""; position: absolute; left: 0; top: 43px; width: 3px; height: 30px; border-radius: 4px; background: var(--accent); box-shadow: 0 0 18px color-mix(in srgb, var(--accent), transparent 50%); }
.accent-magenta { --accent: var(--pink); }.accent-orange { --accent: var(--orange); }.accent-blue { --accent: var(--blue); }.accent-teal { --accent: var(--teal); }.accent-pink { --accent: var(--pink); }
.section-heading { min-height: 66px; margin-bottom: 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.section-heading h2 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; letter-spacing: -.015em; }
.section-kicker.cyan, .cyan { color: var(--cyan); }.section-kicker.magenta, .magenta { color: var(--pink); }.section-kicker.orange, .orange { color: var(--orange); }.section-kicker.blue, .blue { color: var(--blue); }.section-kicker.teal, .teal { color: var(--teal); }.section-kicker.pink, .pink { color: var(--pink); }
.section-toggle { flex: 0 0 auto; color: var(--muted); }
.section-toggle span { display: inline-block; margin-left: 7px; transition: transform .24s ease; }
.period-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.period-card { position: relative; min-height: 238px; padding: 22px; text-align: left; background: linear-gradient(145deg, rgba(10, 33, 58, .96), rgba(7, 20, 42, .98)); border: 1px solid rgba(26, 200, 232, .26); overflow: hidden; }
.period-card::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0; transform: scaleX(.35); transition: opacity .24s ease, transform .24s ease; }
.period-card[aria-pressed="true"] { border-color: rgba(26,200,232,.9); box-shadow: inset 0 0 34px rgba(26,200,232,.08), 0 0 0 1px rgba(26,200,232,.12); }
.period-card[aria-pressed="true"]::after { opacity: 1; transform: scaleX(1); }
.period-card .period-top { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 650; }
.period-card .selected-badge { color: var(--cyan); font-size: 11px; }
.period-card > strong { display: block; margin: 12px 0 14px; font-size: clamp(28px, 3vw, 38px); line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.compare-line { margin-top: 8px; padding: 9px 10px; display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; background: rgba(1, 8, 23, .24); border-radius: 6px; }
.compare-line span { color: var(--muted); font-size: 12px; }.compare-line b { font-size: 14px; }.change { grid-row: span 2; align-self: center; padding: 3px 7px; border-radius: 99px; color: var(--teal); background: rgba(33,211,166,.12); font-size: 12px; }.change.negative { color: #ff8494; background: rgba(255,93,114,.13); }
.sales-story, .chart-card, .table-scroll, .marketing-callout, .funnel-insight { border: 1px solid var(--line); background: rgba(9, 18, 38, .82); border-radius: var(--radius); }
.story-toolbar { padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.segmented, .chip-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.segmented button, .chip-list button { min-height: 36px; padding: 7px 12px; background: transparent; color: var(--muted); white-space: nowrap; }
.segmented button[aria-pressed="true"], .chip-list button[aria-pressed="true"] { background: linear-gradient(135deg, rgba(26,200,232,.22), rgba(52,120,255,.2)); border-color: rgba(26,200,232,.48); color: var(--text); }
.basis { margin: 0; color: var(--dim); font-size: 12px; white-space: nowrap; }
.sales-overview { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.metric-block { min-width: 0; padding: 22px; border-right: 1px solid var(--line); }.metric-block:last-child { border-right: 0; }.metric-block span { display: block; min-height: 21px; color: var(--muted); font-size: 12px; }.metric-block strong { display: block; margin-top: 5px; font-size: 25px; font-variant-numeric: tabular-nums; }.metric-block small { color: var(--dim); font-size: 13px; font-weight: 600; }.positive { color: var(--teal); }
.sales-detail { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .65fr); gap: 0; }.bar-panel { padding: 22px; }.comparison-panel { padding: 22px; border-left: 1px solid var(--line); background: linear-gradient(145deg, rgba(26,200,232,.07), transparent); }.panel-label { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 18px; }.panel-label h3, .comparison-panel h3 { margin: 0; font-size: 15px; }.panel-label span { color: var(--dim); font-size: 11px; }
.bar-row { display: grid; grid-template-columns: 76px minmax(100px, 1fr) 76px 62px; gap: 12px; align-items: center; margin: 12px 0; font-size: 12px; }.bar-track { height: 28px; overflow: hidden; background: #071022; border-radius: 5px; }.bar-fill { height: 100%; display: flex; justify-content: flex-end; align-items: center; padding-right: 10px; background: linear-gradient(90deg, #10bbd3, #3478ff); border-radius: inherit; transform-origin: left; }.bar-row b { font-variant-numeric: tabular-nums; }.bar-row .share { color: var(--muted); text-align: right; }.bar-row .delta { color: var(--teal); text-align: right; }.bar-row .delta.negative { color: var(--danger); }
.comparison-row { margin-top: 13px; padding: 12px 0; border-bottom: 1px solid var(--line); }.comparison-row span { display: block; color: var(--muted); font-size: 12px; }.comparison-row strong { display: inline-block; margin-top: 4px; font-size: 19px; }.comparison-row em { float: right; margin-top: 7px; color: var(--teal); font-size: 12px; font-style: normal; }.comparison-row em.negative { color: var(--danger); }
.summary-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }.summary-strip article { min-height: 126px; padding: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 86%, var(--accent) 5%); border-radius: 9px; }.summary-strip article:nth-child(2) { background: color-mix(in srgb, var(--surface-2) 90%, var(--cyan) 5%); }.summary-strip article:nth-child(3) { background: color-mix(in srgb, var(--surface-2) 90%, var(--blue) 6%); }.summary-strip article:nth-child(4) { background: color-mix(in srgb, var(--surface-2) 90%, var(--orange) 6%); }.summary-strip span { display: block; color: var(--muted); font-size: 12px; }.summary-strip strong { display: block; margin: 7px 0 4px; font-size: 23px; line-height: 1.15; font-variant-numeric: tabular-nums; }.summary-strip strong small { font-size: 12px; }.summary-strip em, .summary-strip small { color: var(--dim); font-size: 11px; font-style: normal; }.summary-strip em { color: var(--teal); }
.collapsible { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .26s ease, opacity .2s ease; }.collapsible > * { min-height: 0; overflow: hidden; }.collapsible.is-open { grid-template-rows: 1fr; opacity: 1; }.chart-card { margin-top: 16px; padding: 18px; overflow: hidden; }.chart-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }.chart-toolbar h3 { margin: 0; font-size: 15px; }.chart-toolbar p { margin: 4px 0 0; color: var(--dim); font-size: 11px; }.legend { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 11px; }.legend span { display: inline-flex; align-items: center; gap: 6px; }.legend i { width: 18px; height: 3px; border-radius: 3px; }.cyan-bg { background: var(--cyan); }.muted-bg { background: #5d6b86; }.line-chart { display: block; width: 100%; height: auto; max-height: 330px; overflow: visible; }.chart-grid { stroke: rgba(153,173,217,.1); stroke-width: 1; }.chart-label { fill: var(--dim); font-size: 10px; }.chart-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px color-mix(in srgb, currentColor, transparent 55%)); }.chart-area { opacity: .12; }.today-marker { stroke: rgba(255,255,255,.28); stroke-dasharray: 4 5; }.chart-dot { stroke: var(--surface); stroke-width: 3; }.filter-row { margin-top: 16px; padding: 12px 0; display: flex; gap: 18px; align-items: center; }.filter-row > span { flex: 0 0 auto; color: var(--muted); font-size: 12px; }.filter-row small { color: var(--dim); }.legend-bottom { padding: 0 12px 4px; }
.table-note { padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }.table-note strong { color: var(--dim); font-size: 11px; }.table-scroll { margin-top: 16px; overflow: auto; scrollbar-color: #294264 #091226; }.table-scroll table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }.table-scroll caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }.table-scroll th, .table-scroll td { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }.table-scroll th:first-child, .table-scroll td:first-child { position: sticky; left: 0; z-index: 1; background: #0a1429; text-align: left; }.table-scroll th { color: var(--muted); background: #0a1429; font-weight: 650; }.table-scroll td { color: #cfd6e6; cursor: pointer; }.table-scroll td:hover, .table-scroll td.is-selected { color: var(--text); background: rgba(26,200,232,.12); box-shadow: inset 0 0 0 1px rgba(26,200,232,.3); }.data-warning { margin: 12px 0 0; padding: 10px 12px; border: 1px solid rgba(244,167,59,.2); background: rgba(244,167,59,.06); color: #d4a966; border-radius: 6px; font-size: 11px; }
.top-three { grid-column: span 1; }.top-three ol { margin: 6px 0 0; padding: 0; list-style: none; }.top-three li { display: grid; grid-template-columns: 18px 1fr auto; gap: 7px; align-items: center; margin: 4px 0; color: var(--muted); font-size: 11px; }.top-three li b { color: var(--text); }.staff-board { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; margin-top: 16px; }.rank-rail { padding: 17px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }.rank-card { display: grid; grid-template-columns: 30px 1fr auto; gap: 9px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }.rank-card:last-child { border-bottom: 0; }.rank-number { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(26,200,232,.09); color: var(--cyan); font-weight: 800; font-size: 11px; }.rank-card strong, .rank-card span { display: block; font-size: 12px; }.rank-card small { display: block; color: var(--dim); font-size: 10px; }.rank-value { text-align: right; color: var(--teal); }.staff-table-wrap { min-width: 0; }.staff-table-wrap .table-scroll { margin-top: 0; } select { min-height: 34px; padding: 5px 26px 5px 8px; border: 1px solid var(--line-strong); border-radius: 6px; background: #0b1730; color: var(--text); }
.marketing-callout { margin-bottom: 16px; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: radial-gradient(circle at 90% 30%, rgba(26,200,232,.13), transparent 22rem), linear-gradient(135deg, #0f203d, #0a152a); }.marketing-callout h3 { margin: 7px 0 3px; font-size: 20px; }.marketing-callout p { margin: 0; color: var(--muted); font-size: 12px; }.integration-badge { padding: 4px 7px; border: 1px solid rgba(26,200,232,.28); background: rgba(26,200,232,.1); color: var(--cyan); border-radius: 99px; font-size: 10px; font-weight: 800; }.flow-mini { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }.flow-mini i { width: 18px; height: 1px; background: var(--line-strong); }
.funnel-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; margin-top: 16px; }.funnel { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; min-height: 230px; padding: 20px 14px 0; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }.funnel-step { position: relative; min-width: 0; padding: 12px 6px; border: 0; border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--step-color), transparent 78%); text-align: center; transform-origin: bottom; animation: funnel-in .6s ease-out both; }.funnel-step:hover, .funnel-step[aria-pressed="true"] { background: color-mix(in srgb, var(--step-color), transparent 60%); transform: translateY(-3px); }.funnel-step strong { display: block; font-size: 15px; }.funnel-step span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }.funnel-insight { padding: 20px; background: linear-gradient(145deg, rgba(255,77,145,.08), rgba(9,18,38,.9)); }.funnel-insight .big-rate { display: block; margin: 12px 0 5px; font-size: 36px; line-height: 1; }.funnel-insight p { color: var(--muted); font-size: 12px; }.funnel-insight hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
footer { max-width: var(--max); margin: 0 auto; padding: 24px 28px 42px; display: flex; justify-content: space-between; gap: 20px; color: var(--dim); font-size: 11px; letter-spacing: .05em; } footer p { margin: 0; }
@keyframes pulse { 50% { opacity: .55; box-shadow: 0 0 0 8px rgba(33,211,166,0); } }
@keyframes funnel-in { from { transform: scaleY(0); opacity: 0; } }

@media (max-width: 900px) {
  .topbar { grid-template-columns: 72px 1fr; }.topbar-actions { grid-column: 1 / -1; justify-content: flex-end; }.period-grid { grid-template-columns: repeat(3, minmax(290px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }.period-card { scroll-snap-align: start; }.sales-overview, .summary-strip { grid-template-columns: repeat(2, 1fr); }.metric-block:nth-child(2) { border-right: 0; }.metric-block:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.sales-detail, .staff-board, .funnel-layout { grid-template-columns: 1fr; }.comparison-panel { border-left: 0; border-top: 1px solid var(--line); }.funnel-insight { order: -1; }.marketing-callout { align-items: flex-start; }.flow-mini { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 560px) {
  .topbar { padding: 20px 18px 18px; grid-template-columns: 56px 1fr; gap: 14px; }.wordmark { width: 52px; height: 46px; padding: 6px; font-size: 16px; }.topbar-copy > p:last-child { max-width: 240px; }.topbar-actions { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-content: stretch; overflow: visible; }.demo-stamp { display: none; }.topbar-actions button { min-width: 0; padding-inline: 6px; font-size: 12px; white-space: nowrap; }.dashboard-shell { padding: 4px 18px 52px; }.dashboard-section { padding: 30px 0 34px 12px; }.dashboard-section::before { top: 34px; height: 26px; }.section-heading { align-items: flex-end; gap: 12px; }.section-heading p:not(.section-kicker) { max-width: 230px; }.section-toggle { padding: 7px 9px; min-height: 36px; font-size: 12px; }.period-grid { width: 100%; margin-right: 0; grid-template-columns: repeat(3, minmax(270px, calc(100vw - 64px))); }.period-card { min-height: 222px; }.story-toolbar { align-items: flex-start; flex-direction: column; }.story-toolbar .segmented { width: 100%; max-width: 100%; }.basis { white-space: normal; }.sales-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }.metric-block { padding: 15px; }.metric-block strong { font-size: 20px; }.bar-row { grid-template-columns: 58px minmax(80px, 1fr) 54px; gap: 8px; }.bar-row .share { display: none; }.bar-fill { padding-right: 5px; }.bar-fill span { font-size: 10px; }.summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.summary-strip article { min-height: 116px; padding: 14px; }.summary-strip strong { font-size: 19px; }.chart-card { padding: 10px 8px; }.chart-toolbar { padding: 5px 5px 0; }.legend { gap: 7px; }.filter-row { align-items: flex-start; flex-direction: column; gap: 8px; }.chip-list { width: 100%; }.marketing-callout { padding: 18px; flex-direction: column; }.flow-mini { justify-content: flex-start; }.funnel { min-height: auto; padding: 12px; grid-template-columns: 1fr; gap: 5px; align-items: stretch; }.funnel-step { height: auto !important; display: grid; grid-template-columns: 1fr auto; text-align: left; border-radius: 5px; padding: 10px 12px; transform-origin: left; }.funnel-step span { margin: 0; }.funnel-step:hover, .funnel-step[aria-pressed="true"] { transform: translateX(3px); }.table-note { align-items: flex-start; }.staff-summary .top-three { grid-column: 1 / -1; order: 3; }.staff-summary article:last-child { order: 2; }.staff-summary article:first-child { order: 0; }.staff-summary article:nth-child(3) { order: 1; } footer { padding-inline: 18px; flex-direction: column; gap: 4px; }
  .chat-dock { right: 12px; bottom: 12px; }
  .chat-panel { position: fixed; right: 12px; bottom: 70px; width: calc(100vw - 24px); height: min(520px, calc(100dvh - 92px)); }
  .chat-launcher { min-height: 46px; padding-inline: 14px; }
  .chat-header { min-height: 64px; padding: 11px 12px; }
  .chat-messages { padding: 12px; }
  .chat-state { padding-inline: 12px; }
  .chat-form { padding: 10px 12px 12px; }
  .chat-retry { width: calc(100% - 24px); margin-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
