:root {
  --navy: #0b1f44;
  --navy-2: #132d5d;
  --ink: #17243c;
  --muted: #6b768a;
  --line: #e3e7ed;
  --paper: #ffffff;
  --canvas: #f5f7fa;
  --coral: #ee5f55;
  --coral-dark: #d8473e;
  --teal: #1f9d87;
  --amber: #e9a23b;
  --lavender: #7656d8;
  --shadow: 0 18px 50px rgba(13, 31, 63, 0.12);
  --shadow-sm: 0 6px 20px rgba(13, 31, 63, 0.08);
  --radius: 16px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  background: var(--canvas);
  font-size: 14px;
  line-height: 1.5;
}

html.site-locked,
html.site-locked body { min-height: 100%; overflow: hidden; }
html.site-locked body > :not(.access-gate):not(script) { display: none !important; }

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 30px 20px 62px;
  overflow-y: auto;
  color: #dce7f7;
  background:
    radial-gradient(circle at 14% 16%, rgba(66, 108, 178, .28), transparent 26%),
    radial-gradient(circle at 86% 82%, rgba(238, 95, 85, .16), transparent 24%),
    linear-gradient(145deg, #07162e 0%, #0b2145 54%, #07172f 100%);
}
.gate-atmosphere { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.gate-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.gate-atmosphere i { position: absolute; display: block; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.gate-atmosphere i:nth-child(1) { width: 360px; height: 360px; left: -180px; top: -120px; }
.gate-atmosphere i:nth-child(2) { width: 520px; height: 520px; right: -280px; bottom: -250px; }
.gate-atmosphere i:nth-child(3) { width: 210px; height: 210px; right: 12%; top: 9%; border-color: rgba(238,95,85,.1); }
.gate-card {
  position: relative;
  width: min(470px, 100%);
  padding: 38px 40px 34px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 34px 100px rgba(0, 8, 24, .42);
  color: var(--ink);
  animation: gateReveal .45s ease both;
}
@keyframes gateReveal { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.gate-brand { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--navy); font-size: 18px; font-weight: 850; letter-spacing: -.04em; }
.gate-brand > span:last-child > span { color: var(--coral); }
.gate-lock { width: 68px; height: 68px; display: grid; place-items: center; margin: 30px auto 22px; border-radius: 20px; background: #edf3fb; box-shadow: inset 0 0 0 1px #dce6f2; }
.gate-lock::before { content: ""; width: 25px; height: 22px; margin-top: 11px; border-radius: 5px; background: var(--navy); }
.gate-lock::after { content: ""; position: absolute; width: 17px; height: 18px; margin-top: -16px; border: 4px solid var(--navy); border-bottom: 0; border-radius: 12px 12px 0 0; }
.gate-lock span { position: absolute; width: 4px; height: 7px; margin-top: 12px; border-radius: 3px; background: #fff; }
.gate-kicker { margin: 0 0 7px; color: var(--coral-dark); font-size: 9px; font-weight: 850; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.gate-card h1 { margin: 0; color: var(--navy); font-family: var(--font-display); font-size: 32px; font-weight: 500; letter-spacing: -.03em; text-align: center; }
.gate-copy { max-width: 340px; margin: 10px auto 25px; color: #758196; font-size: 11px; line-height: 1.7; text-align: center; }
.gate-card form > label { display: block; margin: 0 0 7px; color: #59677d; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.gate-input-wrap { position: relative; }
.gate-input-wrap input { width: 100%; height: 49px; padding: 0 66px 0 14px; border: 1px solid #d8dee7; border-radius: 10px; outline: 0; color: var(--navy); background: #fbfcfd; letter-spacing: .08em; transition: border-color .18s, box-shadow .18s; }
.gate-input-wrap input:focus { border-color: #426b9f; box-shadow: 0 0 0 3px rgba(49, 93, 147, .11); background: #fff; }
.gate-input-wrap input.invalid { border-color: var(--coral); animation: gateShake .35s ease; }
@keyframes gateShake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.gate-input-wrap button { position: absolute; right: 7px; top: 7px; height: 35px; padding: 0 10px; border: 0; border-radius: 7px; color: #64738a; background: transparent; font-size: 9px; font-weight: 750; }
.gate-input-wrap button:hover { color: var(--navy); background: #edf2f8; }
.gate-error { min-height: 18px; margin: 6px 1px 2px; color: var(--coral-dark); font-size: 9px; }
.gate-submit { width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 10px; color: white; background: var(--coral); box-shadow: 0 10px 24px rgba(238,95,85,.24); font-size: 11px; font-weight: 850; transition: transform .18s, background .18s; }
.gate-submit:hover { transform: translateY(-1px); background: var(--coral-dark); }
.gate-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.gate-submit.loading span::after { content: "…"; }
.gate-submit b { font-size: 15px; }
.gate-privacy { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin: 20px 0 0; color: #929dab; font-size: 8px; line-height: 1.5; text-align: center; }
.gate-privacy span { color: var(--teal); }
.gate-footer { position: absolute; bottom: 20px; left: 20px; right: 20px; margin: 0; color: rgba(215,226,244,.58); font-size: 8px; letter-spacing: .07em; text-align: center; text-transform: uppercase; }

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.demo-ribbon {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #dbe7ff;
  background: #08172f;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demo-ribbon strong { color: #fff; font-weight: 650; }
.demo-ribbon .dot { width: 3px; height: 3px; background: var(--coral); border-radius: 50%; }

.app-shell { min-height: calc(100vh - 30px); display: grid; grid-template-columns: 248px 1fr; }

.sidebar {
  position: fixed;
  top: 30px;
  bottom: 0;
  left: 0;
  width: 248px;
  padding: 24px 16px 16px;
  color: #d9e3f3;
  background:
    radial-gradient(circle at 16% 12%, rgba(71, 109, 179, .22), transparent 27%),
    linear-gradient(180deg, #0d244a 0%, #091b39 100%);
  overflow-y: auto;
  z-index: 20;
}

.brand { display: flex; align-items: center; gap: 10px; color: white; font-size: 18px; font-weight: 800; letter-spacing: -0.04em; padding: 0 8px; }
.brand > span:last-child > span { color: #ff786e; }
.brand-mark { position: relative; display: inline-flex; align-items: flex-end; gap: 2px; width: 27px; height: 25px; }
.brand-mark i { display: block; width: 7px; border-radius: 2px 2px 1px 1px; background: var(--coral); transform: skew(-10deg); }
.brand-mark i:nth-child(1) { height: 14px; }
.brand-mark i:nth-child(2) { height: 22px; }
.brand-mark i:nth-child(3) { height: 18px; }

.workspace-card { display: grid; grid-template-columns: 37px 1fr 20px; gap: 10px; align-items: center; margin: 26px 0 20px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.06); }
.candidate-avatar, .user-avatar { display: grid; place-items: center; border-radius: 10px; color: white; font-size: 11px; font-weight: 800; background: linear-gradient(145deg, #f17b69, #c94351); }
.candidate-avatar { width: 37px; height: 37px; }
.workspace-card strong, .workspace-card span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace-card strong { color: white; font-size: 12px; }
.workspace-card span { color: #91a4c3; font-size: 10px; }

.nav-label { padding: 0 12px; margin: 22px 0 7px; color: #7186aa; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nav-item { display: grid; grid-template-columns: 23px 1fr auto; align-items: center; gap: 5px; min-height: 40px; margin: 3px 0; padding: 0 12px; border-radius: 9px; color: #9fb0cb; font-size: 12px; font-weight: 600; transition: .2s ease; }
.nav-item > span { color: #6f87ad; font-size: 16px; text-align: center; }
.nav-item b { padding: 2px 6px; border-radius: 999px; color: #aebed5; background: rgba(255,255,255,.08); font-size: 8px; text-transform: uppercase; }
.nav-item:hover, .nav-item.active { color: white; background: rgba(255,255,255,.09); }
.nav-item.active { box-shadow: inset 3px 0 var(--coral); }
.nav-item.active > span { color: #ff8177; }

.sidebar-footer { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.support-card { width: 100%; display: grid; grid-template-columns: 30px 1fr 12px; gap: 8px; align-items: center; padding: 10px; border: 0; border-radius: 10px; color: #d7e1f0; text-align: left; background: rgba(255,255,255,.05); }
.support-card strong, .support-card small { display: block; }
.support-card strong { font-size: 11px; }
.support-card small { color: #8295b5; font-size: 9px; }
.support-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: white; background: #355485; }
.user-row { display: grid; grid-template-columns: 31px 1fr 24px; gap: 9px; align-items: center; padding: 18px 8px 2px; }
.user-avatar { width: 31px; height: 31px; background: #315283; }
.user-row strong, .user-row span { display: block; }
.user-row strong { color: white; font-size: 11px; }
.user-row span { color: #7f93b3; font-size: 9px; }

.main-content { grid-column: 2; min-width: 0; padding: 0 34px 46px; }
.topbar { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.page-heading h1 { margin: 2px 0 0; font-family: var(--font-display); font-size: clamp(25px, 2vw, 33px); font-weight: 500; letter-spacing: -0.035em; }
.eyebrow { color: var(--coral-dark); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.top-actions { display: flex; gap: 8px; align-items: center; }

.button, .icon-button, .search-button { border: 1px solid var(--line); background: white; transition: .2s ease; }
.button { min-height: 39px; padding: 0 15px; border-radius: 9px; font-size: 11px; font-weight: 750; }
.button:hover, .icon-button:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.button.primary { border-color: var(--coral); color: white; background: var(--coral); }
.button.primary:hover { background: var(--coral-dark); }
.button.secondary { color: var(--navy); }
.button.ghost { color: #6e7b90; background: transparent; }
.button.danger { color: #b23f3a; border-color: #f1cac6; background: #fff7f6; }
.button.small { min-height: 31px; padding: 0 11px; font-size: 10px; }
.button.wide { width: 100%; }
.icon-button { position: relative; width: 39px; height: 39px; border-radius: 9px; color: #57657a; }
.icon-button.small { width: 25px; height: 25px; border: 0; color: inherit; background: transparent; }
.notification-dot { position: absolute; width: 6px; height: 6px; top: 8px; right: 8px; border-radius: 50%; border: 1px solid white; background: var(--coral); }
.search-button { min-width: 205px; height: 39px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 9px; color: #8a95a5; text-align: left; font-size: 10px; }
.search-button > span:nth-child(2) { flex: 1; }
kbd { padding: 2px 5px; border: 1px solid #e4e7eb; border-radius: 4px; color: #8994a5; background: #f6f7f9; font-size: 8px; box-shadow: inset 0 -1px #ddd; }

.mobile-menu { display: none; }
.route-content { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } }

.notice-bar { display: flex; align-items: center; gap: 11px; margin: 0 0 18px; padding: 11px 14px; border: 1px solid #cfdcf3; border-radius: 11px; color: #38506f; background: #f4f8ff; font-size: 11px; }
.notice-bar strong { color: #1d3761; }
.notice-bar .spacer { flex: 1; }
.notice-bar a { color: #2c5da1; font-weight: 700; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.stat-card, .panel { border: 1px solid var(--line); background: var(--paper); box-shadow: 0 1px 0 rgba(22,37,62,.02); }
.stat-card { position: relative; min-height: 129px; padding: 18px; border-radius: 13px; overflow: hidden; }
.stat-card::after { content: ""; position: absolute; width: 70px; height: 70px; right: -25px; bottom: -32px; border-radius: 50%; background: color-mix(in srgb, var(--accent, #365d96) 9%, transparent); }
.stat-head { display: flex; justify-content: space-between; align-items: center; }
.stat-head > span:first-child { color: #667389; font-size: 10px; font-weight: 700; }
.stat-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: var(--accent, #365d96); background: color-mix(in srgb, var(--accent, #365d96) 10%, white); }
.stat-value { margin: 9px 0 3px; color: var(--navy); font-family: var(--font-display); font-size: 28px; letter-spacing: -.03em; }
.trend { color: var(--teal); font-size: 9px; font-weight: 750; }
.trend.down { color: var(--coral-dark); }
.trend span { color: #99a2b0; font-weight: 500; }

.analytics-hero { position: relative; min-height: 248px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); gap: 42px; align-items: center; margin-bottom: 14px; padding: 34px 38px; overflow: hidden; border-radius: 20px; color: white; background: radial-gradient(circle at 12% 20%, rgba(93,135,205,.28), transparent 27%), radial-gradient(circle at 88% 85%, rgba(238,95,85,.18), transparent 27%), linear-gradient(135deg, #071a39, #0e2c59 58%, #0a2145); box-shadow: 0 18px 44px rgba(10,33,71,.17); }
.analytics-hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, black 65%, transparent); }
.analytics-hero > * { position: relative; z-index: 1; }
.hero-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #aebfda; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker span { width: 7px; height: 7px; border-radius: 50%; background: #50d9b7; box-shadow: 0 0 0 5px rgba(80,217,183,.12); animation: pulseLive 2s infinite; }
@keyframes pulseLive { 50% { box-shadow: 0 0 0 9px rgba(80,217,183,0); } }
.hero-copy h2 { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -.045em; }
.hero-copy > p { max-width: 610px; margin: 10px 0 22px; color: #b9c8dd; font-size: 12px; line-height: 1.75; }
.hero-copy > p strong { color: white; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-pills span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; color: #9fb1cd; background: rgba(255,255,255,.055); font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.hero-pills b { margin-left: 5px; color: white; font-size: 10px; }
.hero-chart { padding: 20px 21px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(3,15,35,.32); backdrop-filter: blur(10px); }
.hero-chart-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.hero-chart-head > span { color: #9db0ce; font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.hero-chart-head strong { color: white; font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.hero-chart-head small { color: #8fa5c5; font: 8px var(--font-sans); }
.pulse-bars { height: 92px; display: flex; align-items: flex-end; gap: 4px; }
.pulse-bars i { flex: 1; height: var(--h); min-width: 3px; border-radius: 3px 3px 1px 1px; background: linear-gradient(to top, #315d93, #67a4e5); opacity: .64; transition: opacity .15s, transform .15s; }
.pulse-bars i:nth-last-child(-n+5) { background: linear-gradient(to top, #d8473e, #ff8379); opacity: 1; }
.pulse-bars i:hover { opacity: 1; transform: scaleY(1.04); transform-origin: bottom; }
.hero-chart-axis { display: flex; justify-content: space-between; margin-top: 8px; color: #7188aa; font-size: 7px; }
.demo-notice { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; padding: 8px 12px; border: 1px solid #dce5f2; border-radius: 9px; color: #7d8ba0; background: #f8fbff; font-size: 8px; }
.demo-notice > span:first-child { color: var(--coral); }
.demo-notice strong { color: #36506f; }
.demo-notice a { margin-left: auto; color: #315d93; font-weight: 750; }

.stat-card { min-height: 154px; }
.stat-card::after { width: 92px; height: 92px; right: -34px; bottom: -44px; }
.stat-spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 56px; pointer-events: none; }
.stat-spark .spark-fill { fill: color-mix(in srgb, var(--accent) 10%, transparent); }
.stat-spark .spark-line { fill: none; stroke: var(--accent); stroke-width: 1.7; vector-effect: non-scaling-stroke; }
.stat-spark circle { fill: white; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr); gap: 14px; margin-top: 14px; }
.panel { border-radius: var(--radius); }
.panel-head { min-height: 63px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px; border-bottom: 1px solid #edf0f3; }
.panel-head h2 { margin: 0; color: var(--navy); font-size: 13px; }
.panel-head p { margin: 2px 0 0; color: #8b95a3; font-size: 9px; }
.panel-body { padding: 18px; }
.panel-actions { display: flex; align-items: center; gap: 7px; }
.segmented { display: flex; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #f7f8fa; }
.segmented button { min-width: 33px; padding: 4px 8px; border: 0; border-radius: 6px; color: #8992a1; background: transparent; font-size: 8px; font-weight: 750; }
.segmented button.active { color: var(--navy); background: white; box-shadow: 0 1px 4px rgba(20,35,60,.1); }

.chart-legend { display: flex; gap: 18px; margin-bottom: 10px; color: #738096; font-size: 9px; }
.chart-legend i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--coral); }
.chart-legend span:last-child i { background: #b9c6da; }
.area-chart { width: 100%; height: 205px; overflow: visible; }
.area-chart text { fill: #9aa4b2; font: 8px var(--font-sans); }
.chart-grid line { stroke: #edf0f4; stroke-width: 1; }
.chart-line { fill: none; stroke: var(--coral); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-area { fill: url(#areaGradient); }
.chart-point { fill: white; stroke: var(--coral); stroke-width: 2; }

.chart-panel { overflow: hidden; }
.revenue-panel { min-width: 0; }
.revenue-summary { display: flex; gap: 28px; padding: 14px 18px 0; }
.revenue-summary span, .revenue-summary strong { display: block; }
.revenue-summary span { color: #9aa4b1; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.revenue-summary strong { margin-top: 2px; color: var(--navy); font-family: var(--font-display); font-size: 16px; font-weight: 500; }
.chart-body { padding-top: 11px; }
.chart-legend span:nth-child(2) i { background: #315d93; }
.chart-legend span:nth-child(3) i { background: transparent; border: 1px dashed #9ca8b7; }
.area-chart { height: 250px; }
.recurring-area { fill: url(#recurringGradient); }
.recurring-line { fill: none; stroke: #315d93; stroke-width: 2; stroke-linecap: round; }
.forecast-line { fill: none; stroke: #ff8b82; stroke-width: 5; stroke-linecap: round; opacity: .2; }
.cursor-line { stroke: #cfd6df; stroke-width: 1; stroke-dasharray: 3 4; }
.chart-tooltip rect { fill: #0b2148; filter: drop-shadow(0 4px 6px rgba(0,0,0,.12)); }
.chart-tooltip text { fill: #aebdd3; font-size: 7px; }
.chart-tooltip .tip-value { fill: white; font-size: 10px; font-weight: 800; }
.goal-panel { background: radial-gradient(circle at 50% 48%, #fff, #fafcff); }
.goal-pace { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; margin-top: 12px; color: #8390a2; font-size: 8px; }
.goal-pace div { grid-column: 1; height: 6px; border-radius: 6px; overflow: hidden; background: #e5eaf0; }
.goal-pace i { display: block; width: 87%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1f9d87, #55c7af); }
.goal-pace strong { grid-column: 2; grid-row: 1 / 3; color: var(--teal); font-size: 15px; }

.analytics-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) minmax(0, .9fr); gap: 14px; margin-top: 14px; }
.chart-badge { padding: 5px 8px; border-radius: 999px; color: #b34b44; background: #fff0ee; font-size: 8px; font-weight: 800; }
.chart-badge.blue { color: #315d93; background: #edf4fb; }
.chart-badge.teal { color: #267e6e; background: #eaf7f3; }
.velocity-chart { height: 175px; display: flex; align-items: flex-end; gap: 4px; padding: 22px 18px 0; }
.velocity-column { height: 100%; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; }
.velocity-column i { width: 100%; height: calc(var(--v) / 1.7 * 1%); min-height: 3px; border-radius: 3px 3px 1px 1px; background: linear-gradient(to top, #315d93, #70a5df); opacity: .78; transition: opacity .15s; }
.velocity-column:nth-last-child(-n+4) i { background: linear-gradient(to top, #d8473e, #f47a70); opacity: 1; }
.velocity-column i:hover { opacity: 1; }
.velocity-column span { height: 11px; color: #a1aab7; font-size: 6px; white-space: nowrap; }
.chart-foot { display: flex; align-items: center; justify-content: space-between; margin: 6px 18px 16px; padding-top: 10px; border-top: 1px solid #edf0f3; color: #728096; font-size: 8px; }
.chart-foot strong { color: var(--navy); font-size: 11px; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--coral); }
.mix-layout { display: grid; grid-template-columns: 145px 1fr; gap: 16px; align-items: center; padding: 25px 18px; }
.donut-chart { position: relative; width: 132px; height: 132px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#ee5f55 0 38%, #315d93 38% 65%, #7656d8 65% 84%, #1f9d87 84% 94%, #d5a146 94%); }
.donut-chart::before { content: ""; width: 89px; height: 89px; border-radius: 50%; background: white; box-shadow: 0 0 0 1px #edf0f3; }
.donut-chart > div { position: absolute; text-align: center; }
.donut-chart strong, .donut-chart span { display: block; }
.donut-chart strong { color: var(--navy); font-family: var(--font-display); font-size: 21px; font-weight: 500; }
.donut-chart span { color: #99a3b1; font-size: 7px; }
.mix-legend { display: grid; gap: 8px; }
.mix-legend > div { display: grid; grid-template-columns: 7px 1fr auto; gap: 6px; align-items: center; color: #69778c; font-size: 8px; }
.mix-legend i { width: 6px; height: 6px; border-radius: 50%; }
.mix-legend b { color: var(--navy); }
.mix-legend small { grid-column: 2 / 4; margin-top: -5px; color: #a0a9b5; font-size: 7px; }
.funnel-chart { display: grid; gap: 8px; padding: 20px 18px 10px; }
.funnel-chart > div { position: relative; width: var(--w); min-width: 62%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px; margin: 0 auto; padding: 9px 11px; border-radius: 7px; color: white; background: var(--c); clip-path: polygon(4% 0,96% 0,100% 100%,0 100%); }
.funnel-chart span { font-size: 8px; font-weight: 750; }
.funnel-chart b { font-size: 10px; }
.funnel-chart small { grid-column: 1 / 3; color: rgba(255,255,255,.7); font-size: 7px; }
.funnel-insight { display: flex; gap: 8px; align-items: flex-start; margin: 8px 18px 16px; padding: 9px; border-radius: 8px; color: #66758a; background: #f5f8fb; font-size: 8px; }
.funnel-insight > span { color: var(--teal); }
.funnel-insight p { margin: 0; }
.secondary-charts { grid-template-columns: 1.08fr .92fr .9fr; }
.geo-list { display: grid; gap: 13px; padding: 20px 18px; }
.geo-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; }
.geo-rank { color: #b0b8c3; font: 9px var(--font-display); }
.geo-row > div strong { display: block; margin-bottom: 5px; color: #40506a; font-size: 9px; }
.geo-row > div > span { display: block; height: 5px; overflow: hidden; border-radius: 5px; background: #edf0f4; }
.geo-row > div i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #315d93, #77a7dc); }
.geo-row > b { color: var(--navy); font-size: 10px; text-align: right; }
.geo-row > b small { display: block; color: #9aa4b1; font-size: 7px; font-weight: 500; }
.recurring-total { padding: 18px 18px 0; }
.recurring-total span, .recurring-total strong, .recurring-total small { display: block; }
.recurring-total span { color: #97a1ae; font-size: 8px; text-transform: uppercase; }
.recurring-total strong { color: var(--navy); font-family: var(--font-display); font-size: 25px; font-weight: 500; }
.recurring-total small { color: #8793a4; font-size: 8px; }
.mini-area-chart { width: 100%; height: 132px; padding: 0 10px; overflow: visible; }
.mini-grid line { stroke: #edf0f3; stroke-width: 1; }
.teal-line { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; }
.mini-area-chart circle { fill: white; stroke: var(--teal); stroke-width: 2; }
.mini-axis { display: flex; justify-content: space-between; padding: 0 18px 16px; color: #a1aab7; font-size: 7px; }
.heat-key { display: flex; align-items: center; gap: 3px; color: #a0a9b5; font-size: 6px; }
.heat-key i { width: 8px; height: 8px; border-radius: 2px; background: rgba(49,93,147,.2); }
.heat-key i:nth-of-type(2) { background: rgba(49,93,147,.5); }
.heat-key i:nth-of-type(3) { background: rgba(49,93,147,.9); }
.heatmap-wrap { padding: 20px 18px 0; }
.heat-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 5px; color: #9ba5b2; font-size: 6px; text-align: center; }
.heatmap { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.heatmap i { aspect-ratio: 1.2; border-radius: 3px; background: color-mix(in srgb, #315d93 calc(var(--heat) * 14%), #edf1f5); transition: transform .15s; }
.heatmap i:hover { transform: scale(1.18); }
.heat-hours { display: flex; justify-content: space-between; padding: 7px 18px 0; color: #a1aab7; font-size: 6px; }
.heat-insight { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; margin: 13px 18px 17px; padding: 9px; border-radius: 8px; background: #f6f8fb; }
.heat-insight b { grid-column: 1 / 3; color: #95a0ae; font-size: 7px; text-transform: uppercase; }
.heat-insight strong { color: var(--navy); font-size: 9px; }
.heat-insight span { color: var(--teal); font-size: 7px; }
.dashboard-bottom { margin-top: 14px; }
.momentum { display: inline-block; min-width: 36px; padding: 3px 5px; border-radius: 5px; color: #267a69; background: #eaf7f3; font-size: 8px; font-weight: 800; text-align: center; }
.momentum.cool { color: #315d93; background: #edf4fb; }

.goal-wrap { padding: 20px 18px; }
.goal-ring { position: relative; width: 150px; height: 150px; display: grid; place-items: center; margin: 4px auto 18px; border-radius: 50%; background: conic-gradient(var(--coral) 0 76%, #edf0f4 76%); }
.goal-ring::before { content: ""; width: 118px; height: 118px; border-radius: 50%; background: white; }
.goal-ring div { position: absolute; text-align: center; }
.goal-ring strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 27px; }
.goal-ring span { color: #8a95a4; font-size: 9px; }
.goal-details { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.goal-details div { padding: 10px; border-radius: 9px; background: #f7f8fa; }
.goal-details span, .goal-details strong { display: block; }
.goal-details span { color: #8a95a5; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.goal-details strong { margin-top: 3px; color: var(--navy); font-size: 12px; }

.lower-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: 14px; margin-top: 14px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px 15px; border-bottom: 1px solid #edf0f3; white-space: nowrap; text-align: left; }
th { color: #8994a4; background: #fafbfc; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
td { color: #3b4960; font-size: 10px; }
tbody tr:hover { background: #fafbfd; }
tbody tr:last-child td { border-bottom: 0; }
.table-title { display: flex; align-items: center; gap: 9px; }
.table-title .thumb { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: white; background: linear-gradient(145deg, #244576, #0e294f); font-weight: 800; }
.table-title strong, .table-title span { display: block; }
.table-title strong { color: var(--navy); font-size: 10px; }
.table-title span { color: #9aa3b0; font-size: 8px; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 999px; color: #267a69; background: #eaf7f3; font-size: 8px; font-weight: 750; }
.status::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status.draft { color: #89713d; background: #fff7df; }
.status.paused { color: #6b6484; background: #f0edfa; }
.status.failed { color: #a3413c; background: #fcebea; }
.money { color: var(--navy); font-weight: 750; }

.activity-list { padding: 6px 18px 12px; }
.activity-item { position: relative; display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; }
.activity-item:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 45px; height: 18px; border-left: 1px dashed #dce1e8; }
.activity-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #315f98; background: #edf4fc; font-size: 12px; }
.activity-item strong, .activity-item span { display: block; }
.activity-item strong { color: #35435a; font-size: 10px; }
.activity-item span { color: #98a1ae; font-size: 8px; }
.activity-item time { color: #a3acb8; font-size: 8px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.toolbar-left, .toolbar-right, .filter-row { display: flex; gap: 8px; align-items: center; }
.input, .select, .textarea { border: 1px solid #dfe4ea; border-radius: 9px; color: var(--ink); background: white; outline: none; }
.input:focus, .select:focus, .textarea:focus { border-color: #7997c0; box-shadow: 0 0 0 3px rgba(53, 91, 145, .09); }
.input, .select { height: 38px; padding: 0 11px; font-size: 10px; }
.textarea { width: 100%; min-height: 84px; padding: 10px 11px; resize: vertical; font-size: 10px; }
.filter-search { min-width: 235px; }
.page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.page-card { position: relative; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: white; transition: .2s ease; }
.page-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.page-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.page-type-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg, #25477b, #0f2a54); font-size: 16px; }
.page-type-icon.petition { background: linear-gradient(145deg, #8466d5, #5c40af); }
.page-type-icon.video { background: linear-gradient(145deg, #f17b62, #c84645); }
.page-card h3 { margin: 14px 0 2px; color: var(--navy); font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.page-card > p { min-height: 31px; margin: 0 0 14px; color: #8b95a4; font-size: 9px; }
.page-metrics { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 12px; border-top: 1px solid #edf0f3; }
.page-metrics div:not(:last-child) { border-right: 1px solid #edf0f3; }
.page-metrics div { padding-left: 10px; }
.page-metrics div:first-child { padding-left: 0; }
.page-metrics span, .page-metrics strong { display: block; }
.page-metrics span { color: #9aa3b0; font-size: 8px; }
.page-metrics strong { margin-top: 2px; color: var(--navy); font-size: 11px; }
.page-card-actions { display: flex; gap: 7px; margin-top: 14px; }

.summary-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 13px; background: white; margin-bottom: 14px; }
.summary-strip > div { padding: 16px 18px; }
.summary-strip > div:not(:last-child) { border-right: 1px solid var(--line); }
.summary-strip span, .summary-strip strong { display: block; }
.summary-strip span { color: #8d97a5; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.summary-strip strong { margin-top: 5px; color: var(--navy); font-family: var(--font-display); font-size: 20px; font-weight: 500; }

.donor-name { display: flex; align-items: center; gap: 9px; }
.mini-avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #35557f; background: #edf2f8; font-size: 8px; font-weight: 800; }
.donor-name strong, .donor-name span { display: block; }
.donor-name strong { color: var(--navy); font-size: 10px; }
.donor-name span { color: #98a1ad; font-size: 8px; }
.source-pill { display: inline-block; padding: 3px 6px; border: 1px solid #dde3e9; border-radius: 5px; color: #69768a; background: #f8f9fb; font-size: 8px; }

.two-column { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .7fr); gap: 14px; }
.subscription-card { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 15px 18px; border-bottom: 1px solid #edf0f3; }
.subscription-card:last-child { border-bottom: 0; }
.subscription-card h3 { margin: 0; color: var(--navy); font-size: 11px; }
.subscription-card p { margin: 2px 0 9px; color: #8d97a5; font-size: 9px; }
.subscription-meta { display: flex; gap: 17px; }
.subscription-meta span { color: #8792a2; font-size: 8px; }
.subscription-meta strong { color: #40506a; }
.sub-amount { text-align: right; }
.sub-amount strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 21px; }
.sub-amount span { color: #8b96a5; font-size: 8px; }
.insight-card { padding: 18px; border: 1px solid #d6e1f2; border-radius: 14px; background: linear-gradient(155deg, #f8fbff, #edf4fd); }
.insight-card h3 { margin: 0; color: var(--navy); font-family: var(--font-display); font-size: 18px; }
.insight-card p { color: #6d7d94; font-size: 10px; }
.insight-bars { display: grid; gap: 10px; margin: 20px 0; }
.bar-row { display: grid; grid-template-columns: 75px 1fr 34px; align-items: center; gap: 8px; color: #718198; font-size: 8px; }
.bar { height: 6px; border-radius: 5px; background: #dce5f1; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: #456b9d; }

.lead-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 14px; }
.lead-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.lead-card span { color: #8c97a6; font-size: 9px; }
.lead-card strong { display: block; margin: 5px 0; color: var(--navy); font-family: var(--font-display); font-size: 23px; }
.lead-card small { color: var(--teal); font-size: 8px; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.product-art { position: relative; height: 165px; display: grid; place-items: center; overflow: hidden; background: #f0f3f7; }
.product-art::before, .product-art::after { content: ""; position: absolute; border-radius: 50%; }
.product-art::before { width: 160px; height: 160px; background: #dce6f2; left: -40px; top: -80px; }
.product-art::after { width: 100px; height: 100px; background: rgba(238,95,85,.15); right: -20px; bottom: -40px; }
.shirt { position: relative; z-index: 1; width: 95px; height: 100px; clip-path: polygon(25% 0, 39% 9%, 61% 9%, 75% 0, 100% 20%, 84% 38%, 76% 31%, 76% 100%, 24% 100%, 24% 31%, 16% 38%, 0 20%); background: var(--navy); filter: drop-shadow(0 10px 12px rgba(20,40,70,.2)); }
.shirt::after { content: "MITCHELL"; position: absolute; top: 43px; left: 20px; color: white; font-size: 8px; font-weight: 800; letter-spacing: .05em; }
.cap { position: relative; z-index: 1; width: 105px; height: 48px; border-radius: 60px 60px 8px 8px; background: var(--coral); transform: rotate(-4deg); box-shadow: inset 0 -8px rgba(0,0,0,.08), 0 10px 20px rgba(20,40,70,.16); }
.cap::after { content: "JM"; position: absolute; left: 42px; top: 15px; color: white; font-weight: 800; }
.sign { position: relative; z-index: 1; width: 145px; height: 88px; display: grid; place-items: center; color: white; border: 5px solid white; outline: 2px solid var(--navy); background: var(--navy); font-family: var(--font-display); font-size: 20px; text-align: center; transform: rotate(2deg); box-shadow: 0 12px 24px rgba(20,40,70,.18); }
.product-info { padding: 14px; }
.product-info h3 { margin: 0; color: var(--navy); font-size: 12px; }
.product-info p { margin: 3px 0 11px; color: #929baa; font-size: 9px; }
.product-price { display: flex; justify-content: space-between; align-items: center; }
.product-price strong { color: var(--navy); font-family: var(--font-display); font-size: 18px; }

.ledger-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.ledger-card { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.ledger-card span, .ledger-card strong, .ledger-card small { display: block; }
.ledger-card span { color: #8994a4; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.ledger-card strong { margin: 6px 0 3px; color: var(--navy); font-family: var(--font-display); font-size: 22px; }
.ledger-card small { color: #8793a3; font-size: 8px; }

.report-grid, .integration-grid, .settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.report-card, .integration-card, .settings-card { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.report-card h3, .integration-card h3, .settings-card h3 { margin: 0; color: var(--navy); font-size: 12px; }
.report-card p, .integration-card p, .settings-card p { min-height: 31px; margin: 5px 0 14px; color: #8994a4; font-size: 9px; }
.report-icon, .integration-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 10px; color: #2d588c; background: #eef4fb; font-size: 16px; font-weight: 800; }
.integration-card { position: relative; }
.integration-card .status { position: absolute; top: 17px; right: 17px; }
.integration-footer { display: flex; justify-content: space-between; align-items: center; }
.integration-footer small { color: #9ca5b2; font-size: 8px; }
.dataset-banner { display: grid; grid-template-columns: 50px 1fr auto; gap: 13px; align-items: center; margin-bottom: 14px; padding: 13px 15px; border: 1px solid #d5e1f0; border-radius: 13px; background: linear-gradient(120deg, #f8fbff, #f1f6fc); }
.dataset-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(145deg, #183b6c, #315d93); font-family: var(--font-display); font-size: 15px; box-shadow: 0 8px 18px rgba(49,93,147,.18); }
.dataset-banner > div:nth-child(2) strong, .dataset-banner > div:nth-child(2) span { display: block; }
.dataset-banner > div:nth-child(2) strong { color: var(--navy); font-size: 11px; }
.dataset-banner > div:nth-child(2) span { margin-top: 2px; color: #7e8da2; font-size: 8px; }
.dataset-stats { display: flex; gap: 18px; }
.dataset-stats span { color: #8592a4; font-size: 8px; text-align: center; }
.dataset-stats b { display: block; color: var(--navy); font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.data-panel { scroll-margin-top: 14px; }
.data-pagination { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 15px; border-top: 1px solid #edf0f3; color: #8591a1; background: #fafbfc; font-size: 8px; }
.data-pagination strong { color: #46556d; }
.page-controls { display: flex; align-items: center; gap: 9px; }
.page-controls button:disabled { cursor: default; opacity: .42; }
.empty-row { padding: 40px; color: #909baa; text-align: center; }

.report-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 14px; padding: 27px 30px; overflow: hidden; border-radius: 17px; color: white; background: radial-gradient(circle at 82% 50%, rgba(118,86,216,.3), transparent 28%), linear-gradient(130deg, #0a2146, #173d72); }
.report-hero::after { content: ""; position: absolute; width: 250px; height: 250px; right: -95px; top: -120px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 46px rgba(255,255,255,.025); }
.report-hero > * { position: relative; z-index: 1; }
.report-hero .eyebrow { color: #91add4; }
.report-hero h2 { max-width: 620px; margin: 5px 0 4px; font-family: var(--font-display); font-size: 29px; font-weight: 500; letter-spacing: -.03em; }
.report-hero p { margin: 0; color: #adc0da; font-size: 10px; }
.report-dashboard { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .75fr); gap: 14px; margin-bottom: 20px; }
.health-score { color: var(--teal); font-family: var(--font-display); font-size: 25px; font-weight: 500; }
.health-score small { color: #9aa5b2; font: 8px var(--font-sans); }
.radar-wrap { display: grid; grid-template-columns: minmax(260px, .95fr) minmax(190px, .7fr); gap: 22px; align-items: center; padding: 17px 22px 20px; }
.radar-chart { width: 100%; height: 235px; overflow: visible; }
.radar-grid polygon, .radar-grid line { fill: none; stroke: #e2e7ee; stroke-width: 1; }
.radar-grid polygon:first-child { fill: #f8fafc; }
.radar-value { fill: rgba(49,93,147,.2); stroke: #315d93; stroke-width: 2; }
.radar-points circle { fill: white; stroke: #315d93; stroke-width: 2; }
.radar-chart text { fill: #7c899b; font: 8px var(--font-sans); text-anchor: middle; }
.health-list { display: grid; gap: 12px; }
.health-list div { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #edf0f3; color: #68778c; font-size: 9px; }
.health-list b { width: 28px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: #315d93; background: #edf4fb; font-size: 9px; }
.ltv-bars { display: grid; gap: 15px; padding: 22px 18px 10px; }
.ltv-bars > div { display: grid; grid-template-columns: 70px 1fr 37px; gap: 8px; align-items: center; color: #6f7d91; font-size: 8px; }
.ltv-bars i { height: 7px; overflow: hidden; border-radius: 7px; background: #e8edf3; }
.ltv-bars b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #315d93, #7fa9d7); }
.ltv-bars strong { color: var(--navy); font-size: 9px; text-align: right; }
.report-insight { display: flex; gap: 8px; margin: 13px 18px 18px; padding: 11px; border: 1px solid #dce8f4; border-radius: 9px; color: #6e7e94; background: #f5f9fd; font-size: 8px; }
.report-insight > span { color: var(--coral); }
.report-insight p { margin: 0; min-height: 0; }
.report-toolbar { align-items: flex-end; margin-top: 2px; }
.report-toolbar h3 { margin: 0; color: var(--navy); font-size: 13px; }
.report-toolbar p { margin: 2px 0 0; color: #8994a3; font-size: 9px; }
.report-card { position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.report-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.report-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.report-frequency { padding: 4px 6px; border-radius: 5px; color: #758399; background: #f2f5f8; font-size: 7px; }
.mini-report-viz { height: 50px; display: flex; align-items: flex-end; gap: 5px; margin: 9px 0 16px; padding: 8px 9px 0; border-radius: 8px; background: #f7f9fb; }
.mini-report-viz i { flex: 1; min-height: 3px; border-radius: 3px 3px 1px 1px; background: linear-gradient(to top, #315d93, #72a1d5); opacity: .8; }
.toggle { position: relative; width: 35px; height: 20px; border: 0; border-radius: 20px; background: #d8dee6; }
.toggle::after { content: ""; position: absolute; width: 14px; height: 14px; top: 3px; left: 3px; border-radius: 50%; background: white; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: .2s; }
.toggle.on { background: var(--teal); }
.toggle.on::after { transform: translateX(15px); }

.settings-grid { grid-template-columns: 1fr 1fr; }
.settings-card p { min-height: auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #6f7b8f; font-size: 9px; font-weight: 700; }
.field small { color: #9aa4b2; font-size: 8px; }
.check-row { display: flex; align-items: flex-start; gap: 8px; padding: 11px; border: 1px solid var(--line); border-radius: 9px; }
.check-row input { margin-top: 2px; accent-color: var(--coral); }
.check-row strong, .check-row span { display: block; }
.check-row strong { color: #435169; font-size: 10px; }
.check-row span { color: #919aa8; font-size: 8px; }
.source-list { margin: 10px 0 0; padding-left: 17px; color: #68778d; font-size: 9px; }
.source-list li { margin: 6px 0; }
.source-list a { color: #2c5d99; text-decoration: underline; text-decoration-color: #c0d0e4; text-underline-offset: 2px; }

.modal-backdrop, .command-palette { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 22px; background: rgba(7, 18, 39, .64); backdrop-filter: blur(8px); }
.modal-backdrop[hidden], .command-palette[hidden] { display: none; }
.modal { position: relative; width: min(620px, 100%); max-height: 88vh; overflow-y: auto; padding: 26px; border-radius: 18px; background: white; box-shadow: var(--shadow); }
.modal.large { width: min(830px, 100%); }
.modal-close { position: absolute; right: 17px; top: 15px; width: 31px; height: 31px; border: 0; border-radius: 50%; color: #6e7a8c; background: #f0f2f5; font-size: 18px; }
.modal h2 { margin: 0 35px 4px 0; color: var(--navy); font-family: var(--font-display); font-size: 25px; font-weight: 500; }
.modal .modal-lead { margin: 0 0 20px; color: #7d899a; font-size: 10px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); }
.type-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 16px; }
.type-option { padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: #5d6b80; background: white; text-align: left; }
.type-option strong, .type-option span { display: block; }
.type-option strong { color: var(--navy); font-size: 10px; }
.type-option span { margin-top: 2px; font-size: 8px; }
.type-option.selected { border-color: var(--coral); background: #fff8f7; box-shadow: 0 0 0 2px rgba(238,95,85,.08); }

.command-palette { align-items: start; padding-top: 11vh; }
.command-box { width: min(610px, 100%); padding: 14px; border-radius: 15px; background: white; box-shadow: var(--shadow); }
.command-box label { display: block; padding: 2px 5px 9px; color: #8e98a6; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.command-box input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #dfe4ea; border-radius: 10px; outline: none; font-size: 13px; }
.command-box > small { display: block; padding: 9px 5px 0; color: #a0a9b5; font-size: 8px; text-align: right; }
.command-result { display: flex; align-items: center; gap: 10px; padding: 10px; margin-top: 4px; border-radius: 8px; color: #526076; font-size: 10px; }
.command-result:hover { background: #f3f6f9; }
.command-result b { color: var(--navy); }

.toast-region { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: grid; gap: 8px; }
.toast { min-width: 270px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #dfe4e9; border-radius: 11px; color: #445169; background: white; box-shadow: var(--shadow-sm); animation: toastIn .25s ease; font-size: 10px; }
.toast i { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-style: normal; }
@keyframes toastIn { from { opacity: 0; transform: translateX(12px); } }

.checkout-view { min-height: calc(100vh - 30px); color: #15223b; background: #f6f5f1; }
.checkout-view[hidden] { display: none; }
.checkout-nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 5vw; border-bottom: 1px solid #e2e0da; background: rgba(255,255,255,.82); backdrop-filter: blur(12px); }
.checkout-nav .brand { color: var(--navy); padding: 0; }
.secure-note { color: #718097; font-size: 10px; }
.secure-note span { color: var(--teal); }
.checkout-stage { min-height: calc(100vh - 155px); display: grid; place-items: center; padding: 48px 20px; background: radial-gradient(circle at 12% 18%, rgba(72,105,157,.09), transparent 25%), radial-gradient(circle at 85% 80%, rgba(238,95,85,.1), transparent 23%); }
.donation-layout { width: min(1060px, 100%); display: grid; grid-template-columns: 1fr 455px; gap: 42px; align-items: center; }
.campaign-story { padding: 26px; }
.campaign-story .campaign-kicker { color: var(--coral-dark); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.campaign-story h1 { max-width: 580px; margin: 13px 0 18px; color: var(--navy); font-family: var(--font-display); font-size: clamp(38px, 5vw, 64px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.campaign-story p { max-width: 540px; color: #66738a; font-size: 14px; line-height: 1.8; }
.campaign-story .quote { margin-top: 28px; padding: 15px 17px; border-left: 3px solid var(--coral); color: #45546d; background: rgba(255,255,255,.55); font-family: var(--font-display); font-size: 17px; font-style: italic; }
.trust-row { display: flex; gap: 20px; margin-top: 24px; color: #7e8999; font-size: 9px; font-weight: 700; }
.trust-row span::before { content: "✓"; margin-right: 5px; color: var(--teal); }
.donation-form { padding: 25px; border: 1px solid #e0e2e5; border-radius: 18px; background: white; box-shadow: 0 25px 70px rgba(27,42,65,.14); }
.form-stepper { display: flex; gap: 6px; margin-bottom: 18px; }
.form-stepper i { height: 3px; flex: 1; border-radius: 3px; background: #e7e9ed; }
.form-stepper i.active { background: var(--coral); }
.donation-form h2 { margin: 0; color: var(--navy); font-family: var(--font-display); font-size: 26px; font-weight: 500; }
.donation-form > p { margin: 5px 0 17px; color: #7d8999; font-size: 10px; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.amount-button { height: 48px; border: 1px solid #dfe4e9; border-radius: 9px; color: var(--navy); background: white; font-weight: 800; }
.amount-button:hover, .amount-button.selected { color: white; border-color: var(--coral); background: var(--coral); }
.frequency-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 10px; background: #f0f2f5; }
.frequency-toggle button { height: 34px; border: 0; border-radius: 7px; color: #7a8697; background: transparent; font-size: 10px; font-weight: 700; }
.frequency-toggle button.active { color: var(--navy); background: white; box-shadow: 0 1px 5px rgba(20,35,58,.12); }
.recurring-callout { display: flex; gap: 9px; align-items: center; margin: 12px 0 16px; padding: 10px; border-radius: 9px; color: #506179; background: #edf7f4; font-size: 9px; }
.recurring-callout strong { color: #267562; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.donation-form .field { margin-bottom: 9px; }
.donation-form .input { width: 100%; height: 43px; }
.fee-cover { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0; color: #69778b; font-size: 9px; }
.fee-cover input { accent-color: var(--coral); }
.contribute-button { width: 100%; height: 50px; margin-top: 7px; border: 0; border-radius: 9px; color: white; background: var(--coral); font-weight: 850; box-shadow: 0 8px 18px rgba(238,95,85,.22); }
.contribute-button:hover { background: var(--coral-dark); }
.form-disclaimer { margin: 12px 0 0; color: #9ba3ae; font-size: 7px; line-height: 1.5; text-align: center; }
.checkout-footer { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 5vw; color: #87919e; border-top: 1px solid #e2e0da; background: white; font-size: 9px; }
.checkout-footer nav { display: flex; gap: 20px; }

.upsell-card, .success-card { width: min(560px, 100%); padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow); text-align: center; }
.upsell-card .celebration, .success-card .celebration { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 50%; color: white; background: var(--coral); font-size: 23px; }
.upsell-card h1, .success-card h1 { margin: 0; color: var(--navy); font-family: var(--font-display); font-size: 33px; font-weight: 500; }
.upsell-card p, .success-card p { color: #788599; font-size: 11px; }
.upsell-amount { display: flex; align-items: center; justify-content: space-between; margin: 22px 0; padding: 17px; border: 1px solid #e1e5ea; border-radius: 12px; text-align: left; }
.upsell-amount strong, .upsell-amount span { display: block; }
.upsell-amount strong { color: var(--navy); }
.upsell-amount span { color: #8b96a5; font-size: 9px; }
.upsell-amount b { color: var(--coral-dark); font-family: var(--font-display); font-size: 26px; }
.button-stack { display: grid; gap: 8px; }
.button-stack .button { min-height: 46px; }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; width: 9px; height: 16px; top: -30px; background: var(--coral); animation: fall 2.4s linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(680deg); } }

.builder-status { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; padding: 10px 12px; color: #53708d; border: 1px solid #d7e5ef; border-radius: 10px; background: #f5fafc; font-size: 9px; }
.builder-status strong { color: #16385c; }
.builder-status span:last-child { margin-left: auto; }
.color-input { min-height: 42px; padding: 5px; }
.sandbox-badge { width: max-content; margin: 0 0 15px; padding: 6px 9px; color: #176d5f; border: 1px solid #a6ddcf; border-radius: 99px; background: #e8faf5; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.field small { display: block; margin-top: 5px; color: #8491a0; font-size: 8px; }
.receipt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 20px 0; text-align: left; }
.receipt-grid span { display: flex; justify-content: space-between; gap: 10px; padding: 11px 12px; color: #778497; border: 1px solid var(--line); border-radius: 9px; background: #fafbfd; font-size: 9px; }
.receipt-grid b { color: var(--navy); }

.compliance-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 0 0 14px; padding: 30px 34px; overflow: hidden; color: white; border-radius: 18px; background: linear-gradient(125deg,#071f45,#0b3f68 65%,#116e72); box-shadow: 0 18px 45px rgba(9,31,68,.18); }
.compliance-hero::after { content:""; position:absolute; width:250px; height:250px; right:-80px; top:-130px; border:1px solid rgba(255,255,255,.13); border-radius:50%; box-shadow:0 0 0 38px rgba(255,255,255,.035),0 0 0 76px rgba(255,255,255,.025); }
.compliance-hero > div { position:relative; z-index:1; }
.compliance-hero h2 { max-width: 620px; margin: 7px 0 5px; font: 500 31px/1.08 var(--font-display); }
.compliance-hero p { max-width: 650px; margin: 0; color: #b8d3e7; font-size: 10px; line-height: 1.7; }
.compliance-score { min-width: 116px; padding: 18px; text-align:center; border:1px solid rgba(255,255,255,.16); border-radius:15px; background:rgba(255,255,255,.08); backdrop-filter:blur(8px); }
.compliance-score strong { display:block; font:500 35px var(--font-display); }
.compliance-score span { color:#b8d3e7; font-size:8px; text-transform:uppercase; letter-spacing:.1em; }
.compliance-boundary { display:flex; align-items:center; gap:10px; margin-bottom:14px; padding:11px 14px; color:#675519; border:1px solid #ead995; border-radius:10px; background:#fff9df; font-size:9px; }
.compliance-boundary > span { display:grid; width:22px; height:22px; place-items:center; color:white; border-radius:50%; background:#d9a829; font-weight:800; }
.compliance-boundary p { margin:0; }
.rule-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:14px; }
.rule-card { padding:18px; border:1px solid var(--line); border-radius:13px; background:white; box-shadow:var(--shadow-sm); }
.rule-card > span { color:#6f85a0; font-size:8px; font-weight:800; letter-spacing:.12em; }
.rule-card h3 { margin:9px 0 15px; color:var(--navy); font-size:11px; text-transform:capitalize; }
.rule-card strong { display:block; color:#1a775f; font:500 28px var(--font-display); }
.rule-card small { display:block; margin:4px 0 14px; color:#8b97a7; font-size:8px; }
.rule-card a { color:#315d93; font-size:8px; font-weight:700; }
.compliance-queue { overflow:hidden; }
.risk-pill { display:inline-block; margin:2px; padding:4px 6px; color:#943b3b; border-radius:99px; background:#fff0ee; font-size:7px; font-weight:800; }
.review-actions { display:flex; gap:5px; }
.empty-compliance { padding:48px 20px; text-align:center; }
.empty-compliance > div { display:grid; width:46px; height:46px; margin:0 auto 12px; place-items:center; color:white; border-radius:50%; background:#1f9d87; font-size:20px; }
.empty-compliance h3 { margin:0 0 5px; color:var(--navy); font:500 19px var(--font-display); }
.empty-compliance p { margin:0; color:#8491a0; font-size:9px; }

.six-month-section { margin-top: 28px; }
.six-month-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:13px; padding:0 2px; }
.six-month-heading h2 { margin:5px 0 3px; color:var(--navy); font:500 24px/1.08 var(--font-display); }
.six-month-heading p { margin:0; color:#7f8c9d; font-size:9px; }
.history-badge { min-width:145px; padding:11px 14px; border:1px solid #dce3ec; border-radius:12px; background:linear-gradient(135deg,#fff,#f5f8fc); text-align:right; }
.history-badge b,.history-badge span { display:block; }
.history-badge b { color:var(--navy); font:500 20px var(--font-display); }
.history-badge span { color:#8d98a7; font-size:7px; text-transform:uppercase; letter-spacing:.08em; }
.history-kpis { display:grid; grid-template-columns:repeat(4,1fr); margin-bottom:14px; overflow:hidden; border:1px solid var(--line); border-radius:13px; background:white; box-shadow:var(--shadow-sm); }
.history-kpis > div { padding:14px 16px; border-right:1px solid var(--line); }
.history-kpis > div:last-child { border-right:0; }
.history-kpis span,.history-kpis strong,.history-kpis small { display:block; }
.history-kpis span { color:#8c97a5; font-size:7px; font-weight:750; text-transform:uppercase; letter-spacing:.08em; }
.history-kpis strong { margin:4px 0 2px; color:var(--navy); font:500 21px var(--font-display); }
.history-kpis small { color:#9aa4b1; font-size:7px; }
.six-month-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:14px; }
.history-panel { grid-column:span 5; min-height:275px; overflow:hidden; }
.history-panel:nth-child(1),.history-panel:nth-child(5) { grid-column:span 7; }
.month-bars { height:215px; display:flex; align-items:flex-end; gap:12px; padding:25px 18px 16px; }
.month-column { height:100%; min-width:0; flex:1; display:grid; grid-template-rows:14px 1fr auto auto; gap:5px; align-items:end; text-align:center; }
.month-value { color:#738097; font-size:7px; font-weight:750; }
.month-track { height:100%; display:flex; align-items:flex-end; overflow:hidden; border-radius:7px 7px 3px 3px; background:linear-gradient(180deg,#f6f8fb,#eef2f6); }
.month-track i { width:100%; min-height:7px; border-radius:7px 7px 3px 3px; background:linear-gradient(180deg,#ff8a80,#e84e45); box-shadow:0 5px 12px rgba(238,95,85,.18); }
.month-column b { color:var(--navy); font-size:8px; }
.month-column span { color:#9ca6b3; font-size:6px; }
.runway-total { padding:18px 20px 0; }
.runway-total span,.runway-total strong { display:block; }
.runway-total span { color:#919caa; font-size:7px; text-transform:uppercase; }
.runway-total strong { color:var(--navy); font:500 24px var(--font-display); }
.runway-chart { width:100%; height:150px; padding:0 14px; overflow:visible; }
.runway-chart polyline { fill:none; stroke:#7656d8; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.runway-chart circle { fill:white; stroke:#7656d8; stroke-width:3; }
.runway-axis { display:flex; justify-content:space-between; padding:0 19px 16px; color:#9da7b4; font-size:7px; }
.retention-bars { height:174px; display:flex; align-items:flex-end; gap:12px; padding:23px 20px 8px; }
.retention-bars > div { height:100%; flex:1; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; gap:5px; }
.retention-stack { position:relative; width:75%; min-height:20px; overflow:hidden; border-radius:5px 5px 2px 2px; background:linear-gradient(180deg,#9ebadd,#5d88bd); }
.retention-stack i { position:absolute; right:0; bottom:0; left:0; background:linear-gradient(180deg,#55c7af,#1f9d87); }
.retention-bars b { color:var(--navy); font-size:7px; }
.retention-bars span { color:#21806e; font-size:6px; }
.retention-legend { display:flex; justify-content:center; gap:16px; padding:7px 18px 14px; color:#7d8999; font-size:7px; }
.retention-legend i { display:inline-block; width:7px; height:7px; margin-right:4px; border-radius:2px; background:#6f96c5; }
.retention-legend span:last-child i { background:#1f9d87; }
.distribution-list,.source-performance { display:grid; gap:10px; padding:17px 18px; }
.distribution-list > div { display:grid; grid-template-columns:68px 1fr 42px 50px; gap:8px; align-items:center; }
.distribution-list span,.source-performance span { color:#5f6d82; font-size:8px; }
.distribution-list > div > i,.source-performance > div > i { height:7px; overflow:hidden; border-radius:7px; background:#edf1f5; }
.distribution-list b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#7656d8,#a793ed); }
.distribution-list strong { color:var(--navy); font-size:8px; text-align:right; }
.distribution-list small { color:#8995a5; font-size:7px; text-align:right; }
.source-performance > div { display:grid; grid-template-columns:112px 1fr 58px; gap:8px; align-items:center; }
.source-performance b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#315d93,#74a4d9); }
.source-performance strong { color:var(--navy); font-size:8px; text-align:right; }
.source-performance small { grid-column:2 / 4; margin-top:-6px; color:#9aa4b1; font-size:6px; }
.timing-chart { display:grid; grid-template-columns:62px repeat(7,1fr); gap:5px; padding:18px 18px 8px; align-items:center; }
.timing-chart > b { color:#8b96a5; font-size:7px; text-align:center; }
.timing-chart > span { color:#738096; font-size:7px; }
.timing-chart > i { height:25px; border-radius:5px; background:color-mix(in srgb,#315d93 var(--intensity),#eef2f6); transition:transform .15s; }
.timing-chart > i:hover { transform:scale(1.08); }
.timing-note { display:flex; justify-content:space-between; gap:14px; margin:8px 18px 15px; padding:10px 11px; border-radius:9px; background:#f4f8fb; }
.timing-note strong { color:var(--navy); font-size:8px; }
.timing-note span { color:#8591a0; font-size:7px; text-align:right; }

@media (max-width: 1180px) {
  .search-button { min-width: 39px; width: 39px; }
  .search-button > span:nth-child(2), .search-button kbd { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .analytics-grid, .secondary-charts { grid-template-columns: 1fr 1fr; }
  .analytics-grid > :last-child { grid-column: 1 / -1; }
  .page-grid, .product-grid, .report-grid, .integration-grid { grid-template-columns: 1fr 1fr; }
  .history-panel,.history-panel:nth-child(1),.history-panel:nth-child(5) { grid-column:span 6; }
}

@media (max-width: 900px) {
  .app-shell { display: block; }
  .sidebar { transform: translateX(-102%); transition: transform .25s ease; box-shadow: var(--shadow); }
  .sidebar.open { transform: translateX(0); }
  .main-content { padding: 70px 18px 36px; }
  .mobile-menu { display: block; position: fixed; z-index: 50; left: 18px; top: 44px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: var(--shadow-sm); }
  .topbar { min-height: auto; margin-bottom: 22px; align-items: flex-start; }
  .top-actions .button.secondary { display: none; }
  .analytics-hero, .dashboard-grid, .lower-grid, .two-column, .donation-layout, .report-dashboard { grid-template-columns: 1fr; }
  .rule-grid { grid-template-columns:1fr; }
  .six-month-grid { grid-template-columns:1fr; }
  .history-panel,.history-panel:nth-child(1),.history-panel:nth-child(5) { grid-column:auto; }
  .history-kpis { grid-template-columns:1fr 1fr; }
  .history-kpis > div:nth-child(2) { border-right:0; }
  .history-kpis > div:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .analytics-hero { gap: 24px; }
  .radar-wrap { grid-template-columns: 1fr 1fr; }
  .dataset-banner { grid-template-columns: 50px 1fr; }
  .dataset-stats { grid-column: 1 / 3; justify-content: flex-end; padding-top: 8px; border-top: 1px solid #dce5f0; }
  .donation-layout { max-width: 620px; }
  .campaign-story { text-align: center; }
  .campaign-story p { margin-left: auto; margin-right: auto; }
  .trust-row { justify-content: center; }
}

@media (max-width: 640px) {
  .access-gate { align-items: start; padding: 18px 12px 56px; }
  .gate-card { margin-top: 12px; padding: 29px 22px 25px; border-radius: 19px; }
  .gate-lock { margin: 23px auto 18px; }
  .gate-card h1 { font-size: 28px; }
  .gate-footer { bottom: 13px; }
  .demo-ribbon span:first-child, .secure-note { display: none; }
  .page-heading h1 { font-size: 24px; }
  .topbar { display: block; }
  .top-actions { margin-top: 13px; }
  .top-actions .button.primary { flex: 1; }
  .analytics-hero { padding: 25px 20px; }
  .six-month-heading { align-items:flex-start; flex-direction:column; }
  .history-badge { min-width:0; width:100%; text-align:left; }
  .compliance-hero { align-items:flex-start; flex-direction:column; padding:24px 20px; }
  .compliance-hero h2 { font-size:26px; }
  .compliance-score { min-width:100px; }
  .hero-pills { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-chart { padding: 15px; }
  .stat-grid, .analytics-grid, .secondary-charts, .page-grid, .product-grid, .report-grid, .integration-grid, .settings-grid, .lead-cards, .ledger-grid { grid-template-columns: 1fr; }
  .analytics-grid > :last-child { grid-column: auto; }
  .mix-layout { grid-template-columns: 120px 1fr; padding: 20px 14px; }
  .donut-chart { width: 112px; height: 112px; }
  .donut-chart::before { width: 76px; height: 76px; }
  .report-hero { align-items: flex-start; flex-direction: column; padding: 23px 20px; }
  .report-hero h2 { font-size: 25px; }
  .radar-wrap { grid-template-columns: 1fr; }
  .radar-chart { height: 210px; }
  .dataset-banner { grid-template-columns: 42px 1fr; }
  .dataset-icon { width: 40px; height: 40px; font-size: 12px; }
  .dataset-stats { grid-column: 1 / 3; justify-content: space-around; }
  .data-pagination { align-items: stretch; flex-direction: column; }
  .page-controls { justify-content: space-between; }
  .summary-strip { grid-template-columns: 1fr 1fr; }
  .summary-strip > div:nth-child(2) { border-right: 0; }
  .summary-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-left, .toolbar-right { width: 100%; }
  .filter-search { min-width: 0; flex: 1; }
  .form-grid, .form-row { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .type-picker { grid-template-columns: 1fr; }
  .checkout-nav { padding: 0 16px; }
  .checkout-nav .button { padding: 0 9px; font-size: 0; }
  .checkout-nav .button::after { content: "← Console"; font-size: 10px; }
  .checkout-stage { padding: 26px 12px; }
  .campaign-story { padding: 10px; }
  .campaign-story h1 { font-size: 40px; }
  .donation-form { padding: 19px; }
  .checkout-footer { padding: 18px; flex-direction: column; text-align: center; }
}
