:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-subtle: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --ink: #0f172a;
  --ink-secondary: #475569;
  --ink-muted: #64748b;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: rgba(79, 70, 229, 0.10);
  --accent-bar: rgba(79, 70, 229, 0.13);
  --emerald: #059669;
  --emerald-soft: rgba(5, 150, 105, 0.11);
  --amber: #d97706;
  --amber-soft: rgba(217, 119, 6, 0.12);
  --rose: #e11d48;
  --rose-soft: rgba(225, 29, 72, 0.10);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
}

[data-theme="dark"] {
  --bg: #0b0f17;
  --surface: #111827;
  --surface-subtle: #1e293b;
  --border: #1f2937;
  --border-strong: #334155;
  --ink: #f8fafc;
  --ink-secondary: #cbd5e1;
  --ink-muted: #94a3b8;
  --accent: #818cf8;
  --accent-hover: #6366f1;
  --accent-soft: rgba(129, 140, 248, 0.14);
  --accent-bar: rgba(129, 140, 248, 0.18);
  --emerald: #34d399;
  --emerald-soft: rgba(52, 211, 153, 0.14);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.14);
  --rose: #fb7185;
  --rose-soft: rgba(251, 113, 133, 0.14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.num { font-variant-numeric: tabular-nums; }

/* App shell with left sidebar */
.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: 244px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.main {
  flex: 1;
  min-width: 0;
  padding: 24px 32px 64px;
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
}
.share-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

/* Brand mark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 2px 8px;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.ws-pill {
  margin: 14px 4px 18px;
  padding: 10px 11px;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}
.ws-name { font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-meta { font-size: 11px; color: var(--ink-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }

.nav-section {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  padding: 12px 10px 6px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink-secondary);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
}
.nav-link:hover { background: var(--surface-subtle); color: var(--ink); text-decoration: none; }
.nav-link.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.site-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--emerald);
  flex-shrink: 0;
}
.sidebar-sites { flex: 1; overflow-y: auto; margin-top: 2px; }
.sidebar-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.user-chip { font-size: 12px; color: var(--ink-muted); padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Top bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.page-title { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; margin: 0; color: var(--ink); }
.page-sub { font-size: 13px; color: var(--ink-muted); margin-top: 2px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Badges & pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
}
.pill.live { border-color: rgba(5, 150, 105, 0.25); background: var(--emerald-soft); color: var(--emerald); }
.pill.warn { border-color: rgba(217, 119, 6, 0.28); background: var(--amber-soft); color: var(--amber); }
.pill.accent { border-color: rgba(79, 70, 229, 0.25); background: var(--accent-soft); color: var(--accent); }
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-soft);
}

/* Segmented range control (Plausible / Fathom style) */
.segmented {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
  box-shadow: var(--shadow-sm);
}
.segmented a {
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  border-radius: 6px;
  text-decoration: none;
}
.segmented a:hover { color: var(--ink); }
.segmented a.active { background: var(--accent); color: #fff; font-weight: 600; }

/* Buttons */
.btn, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
  text-decoration: none;
}
.btn:hover, button:hover { background: var(--accent-hover); text-decoration: none; }
.btn.secondary, button.secondary {
  background: var(--surface);
  color: var(--ink-secondary);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn.secondary:hover, button.secondary:hover { background: var(--surface-subtle); color: var(--ink); border-color: var(--border-strong); }
.btn.sm, button.sm { padding: 5px 10px; font-size: 12px; }
.btn.danger, button.danger { background: transparent; color: var(--rose); border-color: rgba(225, 29, 72, 0.25); }
.btn.danger:hover, button.danger:hover { background: var(--rose-soft); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 18px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.card-sub { font-size: 12px; color: var(--ink-muted); }

/* Hero KPI + Chart unified card (Plausible / Fathom signature) */
.hero-card { padding: 0; overflow: hidden; }
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
}
.kpi-cell {
  padding: 18px 20px;
  border-right: 1px solid var(--border);
}
.kpi-cell:last-child { border-right: none; }
.kpi-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}
.kpi-val {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1.15;
}
.kpi-hint { font-size: 12px; color: var(--ink-muted); margin-top: 4px; }

.chart-wrap {
  padding: 18px 20px 14px;
  background: var(--surface);
}
.chart-svg { width: 100%; height: 196px; display: block; overflow: visible; }
.chart-grid { stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 3; }
.chart-axis { fill: var(--ink-muted); font-size: 11px; font-family: inherit; }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.chart-point { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }

/* Two-column analytics grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }

/* Proportional bar rows (Plausible signature pattern) */
.bar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bar-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 11px;
  border-radius: 7px;
  overflow: hidden;
  font-size: 13.5px;
}
.bar-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--accent-bar);
  border-radius: 7px;
  pointer-events: none;
}
.bar-label { position: relative; z-index: 1; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 78%; }
.bar-val { position: relative; z-index: 1; font-weight: 600; color: var(--ink); }

/* Funnel visual bars */
.funnel-block { padding: 14px 0; border-top: 1px solid var(--border); }
.funnel-block:first-of-type { border-top: none; padding-top: 4px; }
.funnel-step { margin-bottom: 10px; }
.funnel-step-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; gap: 10px; }
.funnel-track { height: 10px; background: var(--surface-subtle); border-radius: 999px; overflow: hidden; }
.funnel-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #06b6d4); border-radius: 999px; }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface-subtle); }

/* Collapsible drawers (progressive disclosure) */
details.drawer {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  padding: 10px 14px;
  margin-top: 12px;
}
details.drawer summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
details.drawer summary::-webkit-details-marker { display: none; }
details.drawer[open] summary { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }

/* Forms */
label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-secondary); margin: 10px 0 5px; }
input, select, textarea {
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 11px;
  font-size: 13.5px;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form input, .inline-form select { width: auto; flex: 1; min-width: 140px; }

/* Code block */
pre.code {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  overflow-x: auto;
  margin: 0;
}

/* Alerts / Callouts */
.alert {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.alert.ok { background: var(--emerald-soft); border-color: rgba(5, 150, 105, 0.28); color: var(--emerald); }
.alert.warn { background: var(--amber-soft); border-color: rgba(217, 119, 6, 0.30); color: var(--ink); }
.alert.err { background: var(--rose-soft); border-color: rgba(225, 29, 72, 0.30); color: var(--rose); }

/* Split-screen Auth */
.auth-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 100vh;
}
.auth-left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  background: var(--surface);
}
.auth-box { width: 100%; max-width: 380px; }
.auth-right {
  background: linear-gradient(155deg, #0f172a 0%, #1e1b4b 55%, #0f172a 100%);
  color: #f8fafc;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-right h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin: 0 0 16px; color: #fff; }
.auth-right p { color: #cbd5e1; font-size: 15px; max-width: 440px; margin: 0 0 28px; }
.auth-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; color: #e2e8f0; font-size: 14px; }
.auth-points li { display: flex; align-items: center; gap: 10px; }
.check-dot { width: 18px; height: 18px; border-radius: 50%; background: rgba(45, 212, 191, 0.2); color: #2dd4bf; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }

/* Empty state */
.empty { padding: 24px 12px; text-align: center; color: var(--ink-muted); font-size: 13px; }

/* KPI deltas, tabbed panels & click-to-filter chips (Sprint A) */
.kpi-strip-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.delta {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.delta.up { background: var(--emerald-soft); color: var(--emerald); }
.delta.down { background: var(--rose-soft); color: var(--rose); }
.tabs { display: inline-flex; gap: 4px; background: var(--surface-subtle); padding: 3px; border-radius: 7px; }
.tab-btn {
  background: transparent;
  color: var(--ink-secondary);
  border: none;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
}
.tab-btn:hover { background: transparent; color: var(--ink); }
.tab-btn.active { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.bar-row-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.bar-row-link:hover { text-decoration: none; }
.bar-row-link:hover .bar-row { outline: 1px solid var(--accent); }
.filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(79, 70, 229, 0.25);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}
.chip a { color: inherit; font-weight: 700; text-decoration: none; }

/* Interactive KPI tiles, dropdown popovers & copyable code blocks */
.kpi-cell.interactive {
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease;
  cursor: pointer;
}
.kpi-cell.interactive:hover {
  background: var(--surface-subtle);
  text-decoration: none;
}
.kpi-cell.is-active {
  box-shadow: inset 0 3px 0 var(--accent);
  background: var(--surface-subtle);
}
.menu-pop { position: relative; display: inline-block; }
.menu-pop > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 500;
  user-select: none;
}
.menu-pop > summary::-webkit-details-marker { display: none; }
.menu-pop > summary:hover { background: var(--surface-subtle); }
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 170px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 60;
}
.menu-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.menu-panel a:hover { background: var(--surface-subtle); text-decoration: none; }
.menu-panel.wide { min-width: 260px; padding: 12px; }
.toolbar-dates, .toolbar-actions { display: inline-flex; align-items: center; gap: 8px; }
.seg-pop { display: inline-flex; }
.seg-pop > summary {
  border: none;
  background: transparent;
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  border-radius: 6px;
}
.seg-pop > summary:hover { background: var(--surface-subtle); color: var(--ink); }
.seg-pop > summary.active { background: var(--accent); color: #fff; font-weight: 600; }
.code-wrap { position: relative; }
.code-wrap .code { padding-right: 76px; }
.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 9px;
  font-size: 11.5px;
  border-radius: 6px;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.22); }
.color-field { display: flex; gap: 8px; align-items: center; }
.color-field input[type="color"] {
  width: 40px;
  height: 36px;
  padding: 2px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}

/* Mobile drawer, table scroll & responsive layout */
.mobile-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--sidebar-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 49;
}
.sidebar-backdrop.open { display: block; }
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap .data-table { min-width: 520px; }
.date-range-form {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  flex-wrap: wrap;
}
.date-range-form input[type="date"] {
  width: 132px;
  padding: 4px 6px;
  font-size: 12px;
}
.card-header { flex-wrap: wrap; gap: 8px; }
.tabs { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab-btn { white-space: nowrap; flex-shrink: 0; }
.main { min-width: 0; overflow-x: hidden; }
.card { min-width: 0; }

/* Responsive */
@media (max-width: 960px) {
  .mobile-bar { display: flex; }
  .shell { flex-direction: column; }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 268px;
    max-width: 82vw;
    height: 100vh;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    box-shadow: var(--shadow-md);
  }
  .sidebar.open { transform: translateX(0); }
  .main { padding: 16px 14px 48px; }
  .share-main { padding: 16px 14px 48px; }
  .kpi-strip, .kpi-strip-6, .kpi-strip-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .kpi-cell { border-bottom: 1px solid var(--border); padding: 14px 12px; }
  .kpi-cell:nth-child(2n) { border-right: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 12px; }
  .auth-split { grid-template-columns: 1fr; }
  .auth-right { display: none; }
	.topbar { flex-direction: column; align-items: stretch; gap: 12px; }
	.toolbar { width: 100%; justify-content: flex-start; }
	.menu-panel { left: 0; right: auto; }
}

@media (max-width: 640px) {
  .page-title { font-size: 19px; }
  .kpi-val { font-size: 21px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
  .delta { margin-left: 0; }
  .card { padding: 14px 14px; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 8px; }
  .toolbar-dates { width: 100%; }
  .segmented { width: 100%; display: flex; }
  .segmented > a, .segmented > .seg-pop { flex: 1; text-align: center; }
  .segmented > a { padding: 7px 4px; }
  .seg-pop > summary { width: 100%; justify-content: center; padding: 7px 4px; }
  .seg-pop .menu-panel { left: auto; right: 0; }
  .toolbar-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .toolbar-actions > .menu-pop, .toolbar-actions > form { width: 100%; }
  .toolbar-actions > .menu-pop > summary, .toolbar-actions > form > button { width: 100%; justify-content: center; padding: 8px 10px; }
  .date-range-form { width: 100%; }
  .date-range-form input[type="date"] { flex: 1; min-width: 118px; width: auto; font-size: 14px; padding: 6px 8px; }
  .inline-form { flex-direction: column; align-items: stretch; }
  .inline-form input, .inline-form select, .inline-form button { width: 100%; min-width: 0; font-size: 16px; min-height: 40px; }
  input, select, textarea { font-size: 16px; }
  .bar-label { font-size: 12.5px; }
  .chart-wrap { padding: 12px 10px 8px; }
}
