/* ============================================================
   FUNIL CONECTA — folha de estilo do protótipo
   Identidade inspirada na Prefeitura do Recife (azul institucional
   + acento amarelo). Tokens de gráfico: paleta validada do guia.
   ============================================================ */

:root {
  /* superfícies e tinta */
  --bg: #f3f5f9;
  --card: #ffffff;
  --border: #e4e9f0;
  --border-strong: #d3dbe5;
  --ink: #152536;
  --ink-2: #4c5c6d;
  --ink-3: #8494a5;

  /* marca */
  --navy-1: #0c3163;
  --navy-2: #071e3f;
  --brand: #1565d8;
  --brand-strong: #0f4fae;
  --brand-soft: #e8f0fc;
  --amarelo: #ffcc29;

  /* série de gráficos (paleta validada — slots 1 e 2) */
  --s1: #2a78d6;
  --s2: #eb6834;
  /* rampa ordinal azul (funil, níveis) — passos 250/350/450/550 */
  --ord-1: #86b6ef;
  --ord-2: #5598e7;
  --ord-3: #2a78d6;
  --ord-4: #1c5cab;
  --ord-track: #e3edfb;

  /* status (fixos, sempre com ícone + rótulo) */
  --good: #0ca30c;
  --good-text: #006300;
  --warning: #fab219;
  --serious: #ec835a;
  --critical: #d03b3b;

  --grid-line: #e7eaf0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 30, 55, .05), 0 8px 24px rgba(13, 30, 55, .06);
  --shadow-lg: 0 4px 12px rgba(13, 30, 55, .08), 0 20px 48px rgba(13, 30, 55, .12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--ink); }

/* ============ LAYOUT GERAL ============ */

.app {
  display: grid;
  grid-template-columns: 252px 1fr;
  min-height: 100vh;
}

/* ---------- Sidebar ---------- */

.sidebar {
  background: linear-gradient(178deg, var(--navy-1) 0%, var(--navy-2) 100%);
  color: #dbe6f5;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 18px;
}

.logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--amarelo), #f5a623);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.logo-mark svg { display: block; }

.logo-name { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.2px; line-height: 1.1; }
.logo-sub  { font-size: 10.5px; color: #8fa8c9; margin-top: 3px; letter-spacing: .4px; text-transform: uppercase; }

.nav { flex: 1; padding: 6px 12px 12px; }

.nav-group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #6d87ab;
  padding: 18px 10px 7px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #c3d3e8;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 2px;
  transition: background .15s, color .15s;
}

.nav a:hover { background: rgba(255,255,255,.07); color: #fff; }

.nav a.active {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--amarelo);
}

.nav a .nav-ico { width: 20px; text-align: center; font-size: 15px; flex-shrink: 0; }

.nav a .nav-badge {
  margin-left: auto;
  background: var(--amarelo);
  color: #143054;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 99px;
  padding: 1px 7px;
}

.user-card {
  margin: 10px 12px 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3987e5, #1c5cab);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 700;
  flex-shrink: 0;
}

.user-name { font-size: 12.5px; font-weight: 600; color: #fff; }
.user-role { font-size: 11px; color: #8fa8c9; margin-top: 1px; }

/* ---------- Main / topbar ---------- */

.main { min-width: 0; display: flex; flex-direction: column; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 245, 249, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar h1 { font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.topbar .crumb { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--good-text);
  background: #eaf7ea;
  border: 1px solid #cdeacd;
  border-radius: 99px;
  padding: 5px 12px;
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--good);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(12,163,12,.45); }
  70%  { box-shadow: 0 0 0 7px rgba(12,163,12,0); }
  100% { box-shadow: 0 0 0 0 rgba(12,163,12,0); }
}

.content { padding: 24px 28px 48px; flex: 1; }

.screen { display: none; animation: fadein .25s ease; }
.screen.visible { display: block; }

@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============ COMPONENTES ============ */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-head {
  padding: 16px 20px 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.card-title { font-size: 14.5px; font-weight: 700; }
.card-sub { font-size: 12.5px; color: var(--ink-3); }
.card-body { padding: 16px 20px 20px; }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-23 { grid-template-columns: 2fr 1fr; }
.grid-32 { grid-template-columns: 1.4fr 1fr; }
.mt { margin-top: 18px; }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-23, .grid-32 { grid-template-columns: 1fr; }
}

/* ---------- Stat tiles ---------- */

.tile { padding: 16px 18px; position: relative; overflow: hidden; }
.tile-label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.tile-value { font-size: 30px; font-weight: 700; letter-spacing: -.5px; margin-top: 6px; }
.tile-value small { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.tile-delta { font-size: 12px; margin-top: 6px; color: var(--ink-3); }
.tile-delta .up { color: var(--good-text); font-weight: 700; }
.tile-delta .down { color: var(--critical); font-weight: 700; }
.tile-spark { position: absolute; right: 12px; bottom: 10px; opacity: .9; }

.tile-hero .tile-value { font-size: 40px; color: var(--brand-strong); }

/* ---------- Badges e pills ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 99px;
  padding: 3px 10px;
  white-space: nowrap;
}

.st-exec  { background: #e8f0fc; color: #0f4fae; }
.st-done  { background: #eaf7ea; color: var(--good-text); }
.st-sched { background: #fdf3d8; color: #7a5800; }
.st-cur   { background: #f1ecfb; color: #52398f; }
.st-wait  { background: #fdeee6; color: #9a4218; }
.st-draft { background: #eef1f5; color: var(--ink-2); }

.crit-pill { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 2px 8px; }
.crit-baixa  { background: #eef1f5; color: var(--ink-2); }
.crit-media  { background: #fdf3d8; color: #7a5800; }
.crit-alta   { background: #fdeee6; color: #9a4218; }
.crit-maxima { background: #fbe7e7; color: #8f1f1f; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  transition: all .15s;
}

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(21,101,216,.3); }
.btn-primary:hover { background: var(--brand-strong); }

.btn-ghost { background: var(--card); border-color: var(--border-strong); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-sm { padding: 6px 12px; font-size: 12.5px; border-radius: 8px; }

.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Tabelas ---------- */

.table-wrap { overflow-x: auto; }

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

table.data th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--ink-3);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

table.data td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

table.data tr:last-child td { border-bottom: none; }
table.data tr.clickable { cursor: pointer; transition: background .12s; }
table.data tr.clickable:hover { background: #f7f9fc; }

td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Barra de progresso / meter ---------- */

.meter { height: 7px; border-radius: 99px; background: var(--ord-track); overflow: hidden; min-width: 90px; }
.meter > i { display: block; height: 100%; border-radius: 99px; background: var(--s1); transition: width .8s ease; }

/* ---------- Funil (barras horizontais) ---------- */

.funnel-row { display: grid; grid-template-columns: 130px 1fr 150px; align-items: center; gap: 14px; padding: 9px 0; }
.funnel-label { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.funnel-label .lvl {
  width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center;
  font-size: 11.5px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.funnel-track { position: relative; height: 22px; border-radius: 6px; background: var(--ord-track); overflow: hidden; }
.funnel-fill {
  position: absolute; inset: 0 auto 0 0;
  border-radius: 6px 4px 4px 6px;
  transition: width .9s cubic-bezier(.2,.7,.3,1);
}
.funnel-val { font-size: 12.5px; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
.funnel-val b { color: var(--ink); }

.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.legend .key { display: inline-flex; align-items: center; gap: 6px; }
.legend .swatch { width: 11px; height: 11px; border-radius: 3px; }

/* ---------- Feed de atividade ---------- */

.feed { list-style: none; max-height: 330px; overflow-y: auto; }
.feed li {
  display: flex;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px dashed var(--border);
  font-size: 12.5px;
  color: var(--ink-2);
  animation: fadein .3s ease;
}
.feed li:last-child { border-bottom: none; }
.feed .feed-ico { flex-shrink: 0; }
.feed b { color: var(--ink); font-weight: 600; }
.feed .feed-time { margin-left: auto; color: var(--ink-3); font-size: 11px; white-space: nowrap; }

/* ---------- Formulários ---------- */

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field .hint { font-size: 11.5px; color: var(--ink-3); margin-top: 5px; }

.input, select.input, textarea.input {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 9px 12px;
  background: #fff;
  outline: none;
  transition: border .15s, box-shadow .15s;
}

.input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(21,101,216,.12); }
textarea.input { resize: vertical; min-height: 80px; }

.radio-cards { display: grid; gap: 10px; }
.radio-cards.cols-2 { grid-template-columns: 1fr 1fr; }
.radio-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }

.radio-card {
  border: 1.5px solid var(--border-strong);
  border-radius: 11px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all .15s;
  background: #fff;
}
.radio-card:hover { border-color: var(--brand); }
.radio-card.selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(21,101,216,.1); }
.radio-card .rc-title { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.radio-card .rc-desc { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.45; }

/* sliders */
input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
  cursor: pointer;
}

.slider-row { display: grid; grid-template-columns: 1fr 64px; gap: 12px; align-items: center; }
.slider-val { font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; color: var(--brand-strong); }

/* ---------- Wizard ---------- */

.wizard-steps {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  overflow-x: auto;
}

.wstep {
  flex: 1;
  min-width: 110px;
  text-align: center;
  padding: 10px 6px 12px;
  border-bottom: 3px solid var(--border);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
}

.wstep .wnum {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--border);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 5px;
}

.wstep.active { border-color: var(--brand); color: var(--brand-strong); }
.wstep.active .wnum { background: var(--brand); color: #fff; }
.wstep.done { border-color: var(--good); color: var(--good-text); }
.wstep.done .wnum { background: var(--good); color: #fff; }

.wizard-pane { display: none; }
.wizard-pane.visible { display: block; animation: fadein .25s; }

.wizard-nav { display: flex; justify-content: space-between; margin-top: 22px; }

/* ---------- Mockups de celular (preview de mensagem) ---------- */

.phone {
  width: 250px;
  border-radius: 26px;
  background: #10151c;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.phone-screen {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(165deg, #3e5f8f, #17273d);
  min-height: 300px;
  padding: 34px 10px 12px;
  position: relative;
}

.phone-screen.wa { background: #e5ddd3; }

.phone-notch {
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 74px; height: 16px;
  border-radius: 99px;
  background: #10151c;
}

.push-card {
  background: rgba(250, 250, 252, .96);
  border-radius: 13px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: #1c2733;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.push-app { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #5c6b7c; margin-bottom: 5px; }
.push-app .push-ico {
  width: 15px; height: 15px; border-radius: 4px;
  background: linear-gradient(135deg, #2a78d6, #1c5cab);
  display: inline-block;
}
.push-title { font-weight: 700; margin-bottom: 2px; }
.push-body { line-height: 1.4; color: #3d4b5c; }

.wa-msg {
  background: #fff;
  border-radius: 3px 12px 12px 12px;
  padding: 9px 11px;
  font-size: 11.5px;
  color: #222e35;
  line-height: 1.45;
  max-width: 92%;
  box-shadow: 0 1px 1px rgba(0,0,0,.12);
  margin-bottom: 8px;
}

.wa-msg .wa-from { font-size: 10px; font-weight: 700; color: #1c6d5c; margin-bottom: 3px; }
.wa-time { font-size: 9px; color: #8fa0ab; text-align: right; margin-top: 4px; }

.wa-btn {
  background: #fff;
  border-radius: 8px;
  text-align: center;
  color: #027eb5;
  font-size: 11.5px;
  font-weight: 600;
  padding: 8px;
  margin-bottom: 6px;
  max-width: 92%;
  box-shadow: 0 1px 1px rgba(0,0,0,.12);
}

/* ---------- Régua visual (níveis conectados) ---------- */

.regua-flow { display: flex; align-items: stretch; gap: 0; margin: 6px 0 4px; flex-wrap: wrap; }

.regua-node {
  flex: 1;
  min-width: 150px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  cursor: pointer;
  transition: all .15s;
  position: relative;
}

.regua-node.on { border-color: var(--brand); background: var(--brand-soft); }
.regua-node.off { opacity: .5; }
.regua-node .rn-nome { font-size: 13px; font-weight: 700; display: flex; gap: 7px; align-items: center; }
.regua-node .rn-custo { font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.regua-node .rn-check { position: absolute; top: 10px; right: 12px; font-size: 13px; }

.regua-arrow {
  align-self: center;
  padding: 0 8px;
  color: var(--ink-3);
  font-size: 16px;
  font-weight: 700;
}

/* ---------- Timeline (histórico de solicitação) ---------- */

.timeline { list-style: none; margin-top: 8px; }
.timeline li {
  position: relative;
  padding: 0 0 14px 22px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 5px; top: 4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--s1);
}
.timeline li::after {
  content: '';
  position: absolute;
  left: 8.5px; top: 15px; bottom: 0;
  width: 1.5px;
  background: var(--border);
}
.timeline li:last-child::after { display: none; }
.timeline li:last-child { padding-bottom: 0; }

/* ---------- Mapa estilizado (fila de campo) ---------- */

.map-box { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #eef3f8; }
.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer;
  transition: transform .15s;
  z-index: 2;
}
.map-pin:hover { transform: translate(-50%, -100%) scale(1.18); z-index: 3; }
.map-pin .pin-tip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 7px;
  white-space: nowrap;
}
.map-pin:hover .pin-tip { display: block; }

/* ---------- Tags de segmentação (chips) ---------- */

.tag-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-chip {
  border: 1.5px solid var(--border-strong);
  border-radius: 99px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  background: #fff;
  transition: all .15s;
  user-select: none;
}

.tag-chip:hover { border-color: var(--brand); }
.tag-chip.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-strong); }

/* ---------- Ferramentas de geo (mapa do público) ---------- */

.geo-tools { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.geo-btn.active { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-soft); }
#w-mapa svg { cursor: crosshair; display: block; }

/* ---------- Bloco de código (webhook) ---------- */

.code-block {
  background: #0f1b2b;
  color: #c9e3ff;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: ui-monospace, Consolas, "Cascadia Mono", monospace;
  font-size: 11.5px;
  line-height: 1.65;
  overflow-x: auto;
  white-space: nowrap;
}

.push-link { margin-top: 6px; font-size: 10px; font-weight: 700; color: #1c5cab; }

/* ---------- Tabs ---------- */

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; overflow-x: auto; }
.tab {
  background: none;
  border: none;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--brand-strong); border-color: var(--brand); }

.tab-pane { display: none; }
.tab-pane.visible { display: block; animation: fadein .2s; }

/* ---------- Toast ---------- */

.toast-zone { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }

.toast {
  background: var(--ink);
  color: #fff;
  border-radius: 11px;
  padding: 13px 18px;
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toast-in .3s cubic-bezier(.2,.9,.3,1.2);
  max-width: 380px;
}

@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Modal ---------- */

.modal-back {
  position: fixed; inset: 0;
  background: rgba(10, 22, 40, .5);
  backdrop-filter: blur(3px);
  display: none;
  place-items: center;
  z-index: 150;
}
.modal-back.visible { display: grid; }

.modal {
  background: #fff;
  border-radius: 16px;
  width: min(480px, 92vw);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  animation: fadein .2s;
}

.modal h3 { font-size: 16px; margin-bottom: 4px; }
.modal .modal-sub { font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px; }

/* ---------- Diversos ---------- */

.callout {
  border-radius: 11px;
  padding: 12px 15px;
  font-size: 12.5px;
  line-height: 1.5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.callout-info { background: var(--brand-soft); color: #123c72; border: 1px solid #cfdff7; }
.callout-warn { background: #fdf3d8; color: #6b4d00; border: 1px solid #f2e2ae; }
.callout-good { background: #eaf7ea; color: var(--good-text); border: 1px solid #cdeacd; }

.kv { display: grid; grid-template-columns: 150px 1fr; gap: 7px 14px; font-size: 13px; }
.kv dt { color: var(--ink-3); font-weight: 500; }
.kv dd { color: var(--ink); font-weight: 600; }

.section-title { font-size: 15px; font-weight: 700; margin: 26px 0 12px; display: flex; align-items: center; gap: 8px; }
.section-title:first-child { margin-top: 0; }

.chip-mini {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-2);
  background: #eef1f5;
  padding: 2px 8px;
  border-radius: 6px;
}

.empty-hint { text-align: center; color: var(--ink-3); font-size: 13px; padding: 30px 10px; }

svg text { font-family: var(--font); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cfd8e3; border-radius: 99px; border: 2.5px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }
