/* Simplifiq shared components. Uses tokens.css only; no hex values here. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-deep); }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.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-link {
  position: absolute; left: var(--s-3); top: -60px; z-index: 100;
  background: var(--ink); color: var(--surface); padding: var(--s-2) var(--s-3);
  border-radius: var(--r-btn); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s-3); }

.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.band-white { background: var(--surface); }
.band-alt { background: var(--surface-2); }
.band-hair { border-block: 1px solid var(--line); }
.band-ink { background: var(--ink); color: var(--on-ink); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-6); }
.section-head > div { max-width: 940px; }
.section-head .lead, .section-head > div > p { margin-top: var(--s-3); }
.center { text-align: center; }
.narrow { max-width: 820px; margin-inline: auto; }
.stack > * + * { margin-top: var(--s-3); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- Type ---------- */
.kicker {
  display: block;
  font-size: var(--fs-kicker); font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: var(--s-3); line-height: 1.4;
}
.band-ink .kicker { color: var(--accent); }

.h-display, .h2, .h3 { color: var(--ink); font-weight: 800; }
.h-display { font-size: var(--fs-display); line-height: 1.0; letter-spacing: -0.035em; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.03em; }
.h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.h-display .lit, .h2 .lit { display: block; color: var(--accent); }
.band-ink .h-display, .band-ink .h2, .band-ink .h3 { color: var(--surface); }
.band-ink .h-display .lit, .band-ink .h2 .lit { color: var(--accent); }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.band-ink .lead, .band-ink p { color: var(--on-ink); }
.body { max-width: 68ch; }
.small { font-size: var(--fs-small); }
.meta { font-size: 13px; color: var(--ink-2); }
.band-ink .meta { color: var(--on-ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-btn);
  font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color var(--t-hover) ease-out, box-shadow var(--t-hover) ease-out, border-color var(--t-hover) ease-out, transform var(--t-hover) ease-out;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-raised); }
.btn-secondary { background: var(--ink); color: var(--surface); }
.btn-secondary:hover { background: var(--ink-raised); box-shadow: var(--shadow-raised); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); box-shadow: var(--shadow-raised); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-deep); font-weight: 700; font-size: var(--fs-small); text-decoration: none;
}
.link-more .icon { width: 16px; height: 16px; transition: transform var(--t-hover) ease-out; }
.link-more:hover .icon { transform: translateX(3px); }
.band-ink .link-more { color: var(--accent); }

/* ---------- CardGrid + Card ---------- */
.card-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-card); overflow: hidden;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .card-grid.cols-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; gap: var(--s-3);
  background: var(--surface); padding: var(--card-pad); min-width: 0;
}
.card > .card-foot { margin-top: auto; padding-top: var(--s-2); }
.card p { font-size: var(--fs-small); line-height: 1.65; color: var(--ink-2); }
.card-label {
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep);
}
.card .h3 + p { margin-top: calc(var(--s-2) * -1); }
.card-corner { position: absolute; top: var(--card-pad); right: var(--card-pad); }

.card-framed { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--card-pad); }

/* Cards on dark */
.band-ink .card-grid { background: var(--ink-line); border-color: var(--ink-line); }
.band-ink .card, .card-ink-raised { background: var(--ink-raised); color: var(--on-ink); }
.band-ink .card p { color: var(--on-ink); }
.band-ink .card-label { color: var(--accent); }
.panel-ink { background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: var(--r-panel); padding: var(--s-5); }

.icon-tile {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  border-radius: var(--r-tile); background: var(--accent-wash); color: var(--accent-deep);
}
.icon-tile-sm { width: 38px; height: 38px; border-radius: 10px; }
.icon-tile-sm .icon { width: 18px; height: 18px; }
.num-tile {
  width: 40px; height: 40px; display: grid; place-items: center; flex: none;
  border-radius: 10px; background: var(--accent); color: var(--ink);
  font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums;
}

/* ---------- Chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; width: max-content;
  border-radius: var(--r-chip); background: var(--accent-wash); color: var(--accent-deep);
  font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap;
}
.chip-inverse { background: var(--ink); color: var(--surface); }
.badge-pill {
  display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px;
  border-radius: var(--r-pill); background: var(--accent-wash); color: var(--accent-deep);
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.badge-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- StatusPill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap;
  background: var(--surface-2); color: var(--ink-2);
  transition: background-color 300ms ease-out, color 300ms ease-out;
}
.pill, .chip, .badge-pill, .link-more { align-self: flex-start; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.pill .icon { width: 13px; height: 13px; stroke-width: 2.5; color: var(--accent); }
.pill.is-ok { background: var(--ok-bg); color: var(--ok-fg); }
.pill.is-ok .dot { background: var(--ok); }
.pill.is-building { background: var(--accent-wash); color: var(--accent-deep); }
.pill.is-building .dot { background: var(--accent); }
.pill.is-review { background: var(--warn-bg); color: var(--warn-fg); }
.pill.is-review .dot { background: var(--warn); }
.pill.is-queued { background: var(--surface-2); color: var(--ink-2); }
.pill.is-done { background: var(--ink); color: var(--surface); }
/* On dark */
.band-ink .pill.is-done, .band-ink .pill.is-queued { background: var(--ink-line); color: var(--surface); }
.band-ink .pill.is-queued .dot { background: var(--on-ink-muted); }
.band-ink .pill.is-building { background: var(--surface); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .pill.is-building .dot { animation: pulse 1.6s ease-in-out infinite; }
}
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- StatusRow ---------- */
.status-list > li + li { border-top: 1px solid var(--line-soft); }
.status-row { display: flex; align-items: center; gap: 14px; padding: 14px 20px; }
.status-row .text { flex: 1; min-width: 0; }
.status-row .title { display: block; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.status-row .sub { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.4; }

/* ---------- Stat ---------- */
.stat-num {
  display: block; font-size: var(--fs-stat); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat-cap { display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.4; }
.band-ink .stat-cap { color: var(--on-ink); }
.band-ink .stat-row { border-top-color: var(--ink-line); }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); border-top: 1px solid var(--line-soft); padding-top: var(--s-4); }

/* ---------- Tick / Cross / Person lists ---------- */
.tick-list li, .cross-list li, .person-list li {
  display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-small); line-height: 1.5;
}
.tick-list li + li, .cross-list li + li, .person-list li + li { margin-top: 10px; }
.tick-list .icon, .cross-list .icon, .person-list .icon { width: 18px; height: 18px; margin-top: 2px; }
.tick-list .icon { color: var(--accent); }
.cross-list .icon { color: var(--bad); }
.person-list .icon { color: var(--accent-deep); }
.band-ink .tick-list li, .card-dark .tick-list li { color: var(--on-ink); }

/* ---------- Wordmark ---------- */
.wordmark {
  font-weight: 900; font-size: 22px; letter-spacing: -0.02em; color: var(--ink);
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.wordmark span { color: var(--accent); }
.band-ink .wordmark, .footer .wordmark { color: var(--surface); }

/* ---------- NavBar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: var(--surface);
  border-bottom: 1px solid var(--line); transition: box-shadow var(--t-hover) ease-out;
}
.nav.is-scrolled { box-shadow: var(--shadow-raised); }
.nav-inner { display: flex; align-items: center; gap: var(--s-5); height: 76px; }
.nav-links { display: flex; gap: var(--s-5); margin-inline: auto; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color var(--t-hover) ease-out; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: var(--s-3); }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.lang-toggle a {
  display: grid; place-items: center; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 6px;
  font-size: 12px; font-weight: 800; color: var(--ink-2); text-decoration: none;
}
.lang-toggle a[aria-current="true"] { background: var(--ink); color: var(--surface); }
.nav-menu-btn { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--surface); cursor: pointer; }
.nav-panel { display: none; }

@media (max-width: 1320px) { .nav-inner { gap: var(--s-4); } .nav-links { gap: 20px; } .nav-links a { font-size: 14px; } }
@media (max-width: 1120px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-actions { margin-left: auto; }
  /* Without JS the panel is always shown (and the nav is not sticky) so mobile links still work. */
  html:not(.js) .nav { position: static; }
  .nav-panel { display: block; border-top: 1px solid var(--line); background: var(--surface); padding: var(--s-3) 0 var(--s-4); }
  .js .nav-menu-btn { display: grid; }
  .js .nav-panel { display: none; }
  .js .nav.is-open .nav-panel { display: block; }
  .nav-panel a:not(.btn) { display: block; padding: 12px 0; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
  .nav-panel .btn { margin-top: var(--s-4); width: 100%; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink); border-top: 1px solid var(--ink-line); padding: var(--s-7) 0 var(--s-5); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, auto); gap: var(--s-6); }
.footer-brand p { margin-top: var(--s-3); max-width: 34ch; color: var(--on-ink); }
.footer .footer-h { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: var(--s-3); }
.footer li + li { margin-top: 8px; }
.footer a { color: var(--surface); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--ink-line); color: var(--on-ink-muted); font-size: 13px; }
.footer-bottom a { color: var(--on-ink-muted); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Mock UI shells ---------- */
.mock-panel { background: var(--surface-2); border-radius: var(--r-panel); padding: 28px; }
@media (max-width: 720px) { .mock-panel { padding: 12px; } .status-row { padding: 12px 14px; gap: 10px; } }
.mock-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-float); overflow: hidden; }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.mock-head .card-label { display: block; margin-bottom: 2px; }
.mock-head strong { color: var(--ink); font-size: 16px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  html { scroll-behavior: smooth; }
}

/* ---------- Inner-page hero ---------- */
.page-hero { padding-block: var(--s-8) var(--section-y); }
.page-hero .h-display { margin-top: var(--s-4); max-width: 18ch; }
.page-hero .lead { margin-top: var(--s-4); }
.page-hero .btn-row { margin-top: var(--s-5); }
@media (max-width: 720px) { .page-hero { padding-top: var(--s-6); } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-btn); padding: 12px 14px; min-height: 48px; width: 100%;
  transition: border-color var(--t-hover) ease-out;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.form-status { padding: 12px 14px; border-radius: var(--r-btn); font-size: var(--fs-small); font-weight: 600; }
.form-status.is-ok { background: var(--ok-bg); color: var(--ok-fg); }
.form-status.is-error { background: var(--warn-bg); color: var(--warn-fg); }

/* ---------- Final CTA band ---------- */
.final .two-col { grid-template-columns: 1.15fr 1fr; }
.final p { margin-top: var(--s-4); max-width: 46ch; }
.final .panel-ink .tick-list { margin-top: var(--s-4); }
@media (max-width: 960px) { .final .two-col { grid-template-columns: 1fr; } }

/* Long (Spanish) button labels wrap instead of overflowing on small phones */
@media (max-width: 480px) {
  .btn-row .btn { width: 100%; }
  .btn-row .btn, .btn-block { white-space: normal; text-align: center; line-height: 1.25; padding-block: 12px; }
}

/* Narrow phones (360px): keep two-up stats inside their card */
@media (max-width: 400px) { .stat-num { font-size: 30px; } }

/* ---------- Booking dialog (Calendly embedded on-page; built by site.js) ---------- */
.booking {
  width: min(1040px, calc(100vw - 32px)); height: min(780px, calc(100dvh - 32px));
  max-width: none; max-height: none; padding: 0; border: 1px solid var(--line); border-radius: var(--r-panel);
  background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-float); overflow: hidden;
}
.booking[open] { display: flex; flex-direction: column; }
.booking::backdrop { background: var(--scrim); }
.booking-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4);
  padding: 20px 24px; border-bottom: 1px solid var(--line); background: var(--surface);
}
.booking-head .wordmark { font-size: 16px; display: inline-block; margin-bottom: 10px; }
.booking-title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
.booking-sub { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.booking.is-booked .booking-sub { color: var(--ok-fg); font-weight: 700; }
.booking-close {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--surface); color: var(--ink);
  transition: border-color var(--t-hover) ease-out;
}
.booking-close:hover { border-color: var(--ink); }
.booking-body { position: relative; flex: 1; min-height: 0; background: var(--surface); }
.booking-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 300ms ease-out; }
.booking.is-loaded iframe { opacity: 1; }
.booking-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--fs-small); color: var(--ink-2); }
.booking.is-loaded .booking-loading { display: none; }
html.booking-open { overflow: hidden; }
@media (max-width: 720px) {
  .booking { width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  .booking-head { padding: 14px 16px; }
  .booking-head .wordmark { display: none; }
  .booking-title { font-size: 18px; }
}

/* ---------- Dashboard mocks (illustrative UI; always labelled "Example") ---------- */
.dash { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-float); overflow: hidden; color: var(--ink-2); }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.dash-head .card-label { display: block; margin-bottom: 2px; }
.dash-head strong { color: var(--ink); font-size: 16px; }
.dash-body { padding: 20px; display: grid; gap: 20px; }
.dash-split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
@media (max-width: 860px) { .dash-split { grid-template-columns: 1fr; } }
.dash-tile { border: 1px solid var(--line-soft); border-radius: 12px; padding: 16px; min-width: 0; }
.dash-tile-title { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 12px; display: flex; justify-content: space-between; gap: 8px; }
.dash-tile-title span { font-weight: 500; color: var(--ink-2); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 720px) { .kpis { grid-template-columns: 1fr 1fr; } }
.kpi { border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; }
.kpi-label { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.3; }
.kpi-value { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi-delta { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--ok-fg); }

/* Vertical bars: one series, baseline-anchored, 4px rounded data end */
.vbars { display: flex; align-items: flex-end; gap: 10px; height: 150px; border-bottom: 1px solid var(--line); padding-top: 22px;
  background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), var(--line-soft) calc(25% - 1px) 25%); }
.vcol { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.vbar { position: relative; width: min(36px, 100%); height: var(--v); min-height: 2px; background: var(--accent); border-radius: 4px 4px 0 0; }
.vbar::after { content: attr(data-value); position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity var(--t-hover) ease-out; }
.vbar.is-labeled::after, .vbar:hover::after { opacity: 1; }
.vbar:hover { background: var(--accent-deep); }
.vbar-axis { display: flex; gap: 10px; margin-top: 6px; }
.vbar-axis span { flex: 1; text-align: center; font-size: 11px; color: var(--ink-2); }

/* Horizontal bars */
.hbars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.hbars li + li { margin-top: 14px; }
.hbar-name { font-size: 14px; font-weight: 600; color: var(--ink); min-width: 0; }
.hbar-meta { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.hbar-track { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.hbar-fill { display: block; height: 100%; width: var(--v); background: var(--accent); border-radius: 4px; }

/* Pipeline (workflow nodes) */
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.pipe-node { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.pipe-node .title { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.pipe-node .sub { font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.pipe-node:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -12px; width: 12px; height: 2px; background: var(--accent); }
.band-ink .pipe-node { background: var(--ink-raised); border-color: var(--ink-line); }
.band-ink .pipe-node .title { color: var(--surface); }
.band-ink .pipe-node .sub { color: var(--on-ink-muted); }
.band-ink .pipe-node.is-active { border-color: var(--accent); }
@media (max-width: 960px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipe-node:not(:last-child)::after { top: auto; bottom: -12px; right: auto; left: 28px; width: 2px; height: 12px; }
}
.dash-caption { font-size: 12px; color: var(--ink-2); margin-top: 10px; }
.band-ink .dash-caption { color: var(--on-ink-muted); }
