/* ПУЛЬС — v2: аналитический дашборд. Графит + бирюза, без скруглённых карточек. */
:root {
  --bg: #0e1214;
  --panel: #151b1e;
  --panel-2: #1b2328;
  --line: #2b353b;
  --text: #eef3f4;
  --muted: #a6b4bb;
  --teal: #26d9c0;
  --teal-dim: #1a9a89;
  --aug: #7f929c;
  --good: #4ade80;
  --bad: #ff8a80;
  --warn: #f5b84a;
  --r: 3px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--teal); color: #06201c; padding: 10px 14px; font-weight: 700;
}
.skip:focus { top: 8px; }
.muted { color: var(--muted); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px;
  background: var(--teal); color: #06201c;
  border: 2px solid var(--teal); border-radius: var(--r);
  font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
  text-align: center; line-height: 1.2;
}
.btn:hover { background: #5ff0da; border-color: #5ff0da; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--teal); }
.btn-small { display: none; min-height: 44px; padding: 0 14px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* ---------- шапка ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 18, 20, 0.96);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 22px; height: 22px; flex: none;
  background: linear-gradient(var(--teal), var(--teal)) 0 100% / 5px 9px no-repeat,
              linear-gradient(var(--teal), var(--teal)) 8px 100% / 5px 16px no-repeat,
              linear-gradient(var(--teal), var(--teal)) 16px 100% / 5px 22px no-repeat;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 19px; letter-spacing: 0.08em; }
.logo-text small { display: none; font-size: 15px; color: var(--muted); }
.nav { display: none; }

/* ---------- общие блоки ---------- */
.eyebrow {
  font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal);
}
.block { padding: 48px 16px 8px; }
.section-head { margin-bottom: 20px; display: grid; gap: 8px; }
.section-head h2, .apply-copy h2 {
  font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; font-weight: 800;
}
.sub { color: var(--muted); font-size: 17px; }
.note { color: var(--muted); font-size: 16px; margin-top: 12px; }
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px;
}
.panel h3 { font-size: 20px; line-height: 1.25; margin-bottom: 14px; }
.panel h2 { font-size: 24px; line-height: 1.25; margin-bottom: 14px; }

/* ---------- hero ---------- */
.hero {
  padding-top: 14px; padding-bottom: 24px;
  display: grid; gap: 14px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-copy { display: grid; gap: 12px; align-content: start; }
.hero h1 {
  font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em;
}
.h1-line { white-space: normal; }
.h1-tail { color: var(--teal); }
.lead { font-size: 18px; color: var(--muted); max-width: 34em; }
.cta-row { display: grid; gap: 8px; }
.cta-row .btn-ghost { min-height: 48px; }

.monitor {
  background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--teal);
  border-radius: var(--r); padding: 12px;
  display: grid; gap: 8px; min-width: 0;
}
.mon-bar { display: grid; gap: 2px; }
.mon-title { font-weight: 700; font-size: 17px; }
.mon-tag { font-size: 15px; color: var(--warn); font-weight: 600; }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.chip {
  min-height: 48px; padding: 0 2px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 16px; font-weight: 600; cursor: pointer; color: var(--muted);
}
.chip:hover { border-color: var(--teal); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #06201c; font-weight: 800; }
.mon-metric { font-size: 16px; color: var(--muted); }
.mon-read { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.read-cell { display: grid; gap: 0; min-width: 0; }
.read-lbl { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.read-val { font-size: 28px; line-height: 1.15; font-weight: 800; white-space: nowrap; color: var(--aug); }
.read-val-sep { color: var(--text); }
.mon-delta { font-size: 16px; font-weight: 700; color: var(--teal); }
.mon-foot { font-size: 15px; color: var(--muted); }

/* вертикальные столбцы двух месяцев */
.chart {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: 146px auto;
  column-gap: 8px; margin-top: 4px;
}
.chart-axis { position: relative; margin-top: 30px; height: 110px; }
.chart-axis span {
  position: absolute; right: 0; transform: translateY(50%);
  font-size: 15px; color: var(--muted); white-space: nowrap;
}
.chart-plot {
  position: relative; margin-top: 30px; height: 110px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 12px;
}
.grid-line { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed var(--line); }
.grid-base { border-top: 2px solid var(--aug); }
.col { position: relative; z-index: 1; display: flex; align-items: flex-end; min-width: 0; }
.bar {
  position: relative; width: 100%; min-height: 2px; border-radius: 2px 2px 0 0;
  transition: height 0.35s ease;
}
.bar-aug { background: var(--aug); }
.bar-sep { background: var(--teal); }
.bar-val {
  position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%);
  padding-bottom: 4px; font-size: 17px; font-weight: 800; white-space: nowrap;
}
.chart-cats {
  grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 6px 12px 0;
  text-align: center; font-size: 16px; font-weight: 700;
}

/* ---------- воронка ---------- */
.flow { display: grid; gap: 8px; margin-bottom: 16px; }
.flow-step {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--teal);
  border-radius: var(--r); padding: 12px 14px;
  display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline;
}
.flow-name { font-size: 18px; font-weight: 800; grid-column: 1; }
.flow-n { color: var(--teal); margin-right: 4px; }
.flow-what { font-size: 16px; color: var(--muted); grid-column: 1; }
.flow-aug { grid-column: 2; grid-row: 1; font-size: 16px; color: var(--aug); text-align: right; font-weight: 600; }
.flow-sep { grid-column: 2; grid-row: 2; font-size: 28px; line-height: 1.15; font-weight: 800; text-align: right; }
.flow-aug span, .flow-sep span {
  font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.06em; margin-right: 6px;
}

/* индекс роста: горизонтальные столбцы */
.idx { display: grid; gap: 14px; }
.idx-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.idx-name { font-size: 17px; font-weight: 700; }
.idx-val { font-size: 20px; font-weight: 800; grid-column: 2; grid-row: 1; }
.idx-track {
  grid-column: 1 / -1; grid-row: 2; position: relative; display: block; height: 22px;
  background: var(--panel-2);
}
.idx-track::after { /* отметка 100 % = август, шкала 0–250 % */
  content: ""; position: absolute; left: 40%; top: -3px; bottom: -3px; border-left: 2px dashed var(--text);
}
.idx-bar { display: block; height: 100%; background: var(--teal); }
.idx-row:nth-child(3) .idx-bar { background: var(--teal-dim); }

/* ---------- цена заявки vs цена клиента ---------- */
.case-grid { display: grid; gap: 12px; }
.pair-title { font-size: 17px; font-weight: 700; margin: 12px 0 8px; }
.pair-title:first-child { margin-top: 0; }
.hbar { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 8px; margin-bottom: 6px; }
.hb-lbl { font-size: 16px; font-weight: 700; color: var(--muted); }
.hb-track { display: block; height: 40px; }
.hb { font-style: normal; display: flex; align-items: center; justify-content: flex-end; height: 100%; min-width: 60px; padding: 0 8px; border-radius: 0 2px 2px 0; }
.hb b { font-size: 17px; font-weight: 800; white-space: nowrap; }
.hb-aug { background: var(--aug); color: #0b1012; }
.hb-sep { background: var(--teal); color: #06201c; }
.kpis { display: grid; gap: 12px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.kpi-name { font-size: 16px; color: var(--muted); }
.kpi-val { font-size: 30px; line-height: 1.2; font-weight: 800; }
.kpi-sub { font-size: 15px; color: var(--muted); }
.bad { color: var(--bad); }

/* ---------- таблица изменений (на mobile — карточки) ---------- */
.delta { width: 100%; border-collapse: collapse; }
.delta thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.delta, .delta tbody { display: block; }
.delta tr {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 14px; margin-bottom: 8px;
}
.delta tr.key { border-left: 3px solid var(--teal); }
.delta th[scope="row"] { grid-column: 1 / -1; text-align: left; font-size: 19px; font-weight: 800; }
.delta td { font-size: 18px; font-weight: 600; }
.delta td::before {
  content: attr(data-label); display: block; font-size: 15px; font-weight: 600; color: var(--muted);
}
.d-good { color: var(--good); }
.d-bad { color: var(--bad); }
.d-neutral { color: var(--text); }

/* ---------- пилот ---------- */
.pilot-grid { display: grid; gap: 12px; }
.pilot-card {
  background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--teal);
  border-radius: var(--r); padding: 18px 16px; display: grid; gap: 14px;
}
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price-main { font-size: 34px; line-height: 1.1; font-weight: 800; }
.price-sub { font-size: 28px; color: var(--teal); }
.price-plus { font-size: 16px; color: var(--muted); }
.ticks { display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 6px;
  border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg);
}
.fine { font-size: 16px; color: var(--muted); }
.upgrade { border: 1px dashed var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; align-content: start; }
.upgrade h3 { font-size: 20px; }
.upgrade p { color: var(--muted); font-size: 17px; }
.steps { display: grid; gap: 8px; margin-top: 12px; counter-reset: s; }
.steps li {
  counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 8px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
}
.steps li::before {
  content: counter(s); grid-row: 1 / 3; align-self: center; font-size: 22px; font-weight: 800; color: var(--teal);
}
.steps strong { font-size: 18px; }
.steps span { font-size: 16px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 8px; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
summary {
  list-style: none; cursor: pointer; padding: 14px 48px 14px 16px; position: relative;
  font-weight: 700; font-size: 18px; min-height: 52px; display: flex; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: var(--teal); font-weight: 400;
}
details[open] summary::after { content: "−"; }
details p { padding: 0 16px 16px; color: var(--muted); font-size: 17px; }

/* ---------- форма ---------- */
.apply { margin-top: 48px; background: var(--panel); border-top: 1px solid var(--line); padding: 40px 0 112px; }
.apply-grid { display: grid; gap: 24px; }
.apply-copy { display: grid; gap: 12px; align-content: start; }
.apply-copy p { color: var(--muted); }
.proto-note { font-size: 16px; color: var(--warn) !important; }
.form { display: grid; gap: 16px; min-width: 0; }
.field { display: grid; gap: 6px; }
.field label, #voice-title { font-size: 17px; font-weight: 700; }
.opt { color: var(--muted); font-weight: 400; font-size: 16px; }
.req { color: var(--teal); }
input[type="text"], textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font-size: 18px;
  background: var(--bg); border: 1px solid #44525a; border-radius: var(--r);
}
textarea { resize: vertical; min-height: 120px; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: 16px; font-weight: 600; }
.voice { border: 1px dashed #44525a; border-radius: var(--r); padding: 14px; display: grid; gap: 10px; }
.voice-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.timer { font-weight: 800; color: var(--bad); }
.voice-controls { display: grid; gap: 10px; }
.btn-rec { background: transparent; color: var(--text); border-color: #44525a; }
.btn-rec:hover { background: var(--panel-2); border-color: var(--teal); }
.btn-rec.recording { background: #7a1f1f; border-color: var(--bad); color: #fff; }
.playback { display: flex; align-items: center; gap: 8px; min-width: 0; }
.playback audio { flex: 1; min-width: 0; width: 100%; }
.clear-btn {
  width: 48px; height: 48px; flex: none; background: var(--panel-2);
  border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; font-size: 18px;
}
.status { padding: 12px 14px; border-radius: var(--r); font-weight: 600; font-size: 17px; }
.status.ok { background: rgba(74, 222, 128, 0.12); border: 1px solid var(--good); }
.status.err { background: rgba(255, 138, 128, 0.12); border: 1px solid var(--bad); }

/* ---------- футер ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 24px 0 112px; color: var(--muted); font-size: 16px; }
.foot-inner { display: grid; gap: 8px; }

/* ---------- sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: rgba(14, 18, 20, 0.97); border-top: 1px solid var(--line);
  transition: transform 0.2s ease;
}
.sticky-cta.is-hidden { transform: translateY(110%); visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar, .sticky-cta { transition: none; }
}

/* ---------- планшет и десктоп ---------- */
@media (min-width: 720px) {
  .block { padding-top: 72px; padding-left: 24px; padding-right: 24px; }
  .wrap { padding-left: 24px; padding-right: 24px; }
  .logo-text small { display: block; }
  .btn-small { display: inline-flex; }
  .section-head h2, .apply-copy h2 { font-size: 36px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 3fr 2fr; align-items: start; }
  .pilot-grid { grid-template-columns: 3fr 2fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .sticky-cta { display: none; }
  .apply, .site-foot { padding-bottom: 48px; }
  .site-foot { padding-bottom: 32px; }
  .apply { padding-top: 64px; }
  .apply-grid { grid-template-columns: 5fr 6fr; gap: 56px; }

  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 48px; align-items: center;
    padding-top: 48px; padding-bottom: 56px; min-height: 640px;
  }
  .hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
  .hero .cta-row { grid-column: 1; grid-row: 2; align-self: start; }
  .monitor { grid-column: 2; grid-row: 1 / 3; }
  .hero h1 { font-size: 56px; }
  .h1-line { display: block; white-space: normal; }
  .btn { white-space: nowrap; }
  .hero .cta-row { display: flex; flex-wrap: wrap; column-gap: 6px; justify-content: start; }
  .lead { font-size: 20px; }
  .btn { font-size: 18px; }
  .monitor { padding: 22px; gap: 14px; }
  .mon-title { font-size: 18px; }
  .chip { font-size: 17px; }
  .read-val { font-size: 40px; }
  .chart { grid-template-rows: 240px auto; }
  .chart-axis, .chart-plot { height: 210px; }
  .chart-plot { gap: 40px; padding: 0 40px; }
  .chart-cats { gap: 40px; padding: 8px 40px 0; font-size: 17px; }
  .bar-val { font-size: 20px; }

  .flow { grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; }
  .flow-step { display: block; border-left: 1px solid var(--line); border-top: 3px solid var(--teal); padding: 16px; position: relative; }
  .flow-step:not(:last-child)::after {
    content: "→"; position: absolute; right: -12px; top: 14px; z-index: 2; width: 12px;
    color: var(--teal); font-size: 20px; font-weight: 800; text-align: center; background: var(--bg); line-height: 1;
  }
  .flow-aug { text-align: left; margin-top: 12px; }
  .flow-sep { text-align: left; font-size: 32px; }
  .idx-row { grid-template-columns: 110px 1fr 70px; gap: 12px; }
  .idx-val { grid-column: 3; grid-row: 1; text-align: right; }
  .idx-track { grid-column: 2; grid-row: 1; }

  .delta { display: table; }
  .delta thead { position: static; width: auto; height: auto; clip: auto; overflow: visible; display: table-header-group; }
  .delta tbody { display: table-row-group; }
  .delta tr { display: table-row; background: none; border: 0; padding: 0; margin: 0; }
  .delta th, .delta td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
  .delta thead th { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; background: var(--panel); }
  .delta th[scope="row"] { font-size: 18px; }
  .delta td { font-size: 18px; }
  .delta td::before { display: none; }
  .delta .num { text-align: right; }
  .delta tr.key th, .delta tr.key td { background: rgba(38, 217, 192, 0.08); }
  .delta tr.key { border: 0; }
}

@media (min-width: 1200px) {
  .nav { display: flex; gap: 20px; }
  .nav a { font-size: 16px; color: var(--muted); text-decoration: none; padding: 8px 0; }
  .nav a:hover { color: var(--teal); }
  .mon-bar { grid-template-columns: 1fr auto; align-items: baseline; }
}

/* Содержимое grid может сжиматься до ширины экрана без скрытого вылета. */
.hero > *, .monitor > *, .chips > *, .case-grid > *, .pilot-grid > *,
.steps li > *, .delta tr > * { min-width: 0; }
.bridge-copy { display: grid; gap: 12px; margin-top: 20px; }
@media (max-width: 719px) {
  .note, .fine, .flow-what, .kpi-name, .kpi-sub, .steps span,
  .mon-tag, .mon-foot, .mon-metric { font-size: 17px; }
  .flow-step { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .flow-aug, .flow-sep { grid-column: 1; grid-row: auto; text-align: left; }
  .flow-what { margin-bottom: 4px; }
  .read-val { font-size: clamp(21px, 6.5vw, 28px); }
  .chart-plot, .chart-cats { gap: 12px; padding-left: 0; padding-right: 0; }
  .bar-val { font-size: 16px; }
  .bar-aug .bar-val { left: 0; transform: none; }
  .bar-sep .bar-val { left: auto; right: 0; transform: none; }
  .kpi-val { font-size: clamp(25px, 7vw, 30px); }
  .delta tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .delta td { overflow-wrap: anywhere; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 30px; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .monitor { padding: 10px; }
}

/* v7: вопросы для последовательного чтения. */
.answer { font-size: 18px; max-width: 60em; }
.question-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.question-list li {
  min-width: 0; padding: 16px; border-left: 3px solid var(--teal-dim);
  background: var(--panel-2); font-size: 18px;
}
.takeaway { margin: 16px 0 20px; padding-left: 16px; border-left: 3px solid var(--teal); font-size: 18px; }
.setup-answer { display: grid; gap: 10px; margin-top: 24px; }
.setup-answer h3 { font-size: 24px; line-height: 1.25; }
.setup-answer p { font-size: 18px; max-width: 60em; }
.note, .fine, .steps span { font-size: 17px; }
@media (min-width: 720px) {
  .question-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .hero h1 { font-size: clamp(38px, 3.8vw, 52px); }
  .hero .cta-row .btn { white-space: normal; }
}

/* v5: единый дашборд; на всех ширинах сохраняется настоящая таблица. */
.dashboard-panel { min-width: 0; border: 1px solid var(--line); background: var(--panel); }
.dashboard-summary { padding: 16px; border-bottom: 1px solid var(--line); }
.dashboard-summary > p { margin-bottom: 12px; font-size: 17px; color: var(--muted); }
.dashboard-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.dashboard-kpis > div { min-width: 0; padding: 12px 10px; border: 1px solid var(--line); background: var(--panel-2); }
.dashboard-kpis > div:last-child { grid-column: 1 / -1; }
.dashboard-kpis dt { font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; color: var(--muted); }
.dashboard-kpis dd { margin: 8px 0 0; font-size: 20px; line-height: 1.3; font-weight: 700; white-space: nowrap; }
.dashboard-head { display: grid; gap: 8px; padding: 20px 16px; border-bottom: 1px solid var(--line); }
.dashboard-head h3 { font-size: 22px; line-height: 1.3; }
.dashboard-head p { font-size: 17px; color: var(--muted); }
.dashboard-head .dashboard-count { color: var(--teal); }
.dashboard-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.dashboard-table { width: 100%; min-width: 354px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 17px; line-height: 1.4; }
.dashboard-label-col { width: 40%; }
.dashboard-table th, .dashboard-table td { padding: 12px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dashboard-table th { text-align: left; font-weight: 500; }
.dashboard-table .num { text-align: right; white-space: nowrap; }
.dashboard-table thead th { background: var(--panel-2); color: var(--muted); font-weight: 700; }
.dashboard-table th[scope="row"], .dashboard-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--panel); box-shadow: 1px 0 var(--line); }
.dashboard-table thead th:first-child { background: var(--panel-2); z-index: 2; }
.dashboard-table td:last-child { background: rgba(38, 217, 192, 0.045); font-weight: 600; }
.dashboard-group th { background: var(--panel-2); color: var(--teal); font-weight: 700; }
.dashboard-group span { position: sticky; left: 6px; }
.dashboard-notes { display: grid; gap: 12px; padding: 16px; font-size: 17px; color: var(--muted); }
.dashboard-scroll-hint { display: none; padding: 10px 16px; color: var(--teal); font-size: 17px; border-bottom: 1px solid var(--line); }
@media (max-width: 389px) { .dashboard-scroll-hint { display: block; } }
@media (min-width: 720px) {
  .dashboard-summary { padding: 20px 24px; }
  .dashboard-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .dashboard-kpis > div:last-child { grid-column: auto; }
  .dashboard-head { grid-template-columns: 1fr auto; padding: 24px; }
  .dashboard-head h3 { grid-column: 1 / -1; font-size: 26px; }
  .dashboard-table { font-size: 18px; }
  .dashboard-label-col { width: 48%; }
  .dashboard-table th, .dashboard-table td { padding: 14px 24px; }
  .dashboard-group span { left: 24px; }
  .dashboard-notes { padding: 24px; }
}
