@keyframes channelPairShiver {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

:root {
  --bg: #0B1020;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.09);
  --text: #E5E7EB;
  --muted: #9CA3AF;
  --border: rgba(255, 255, 255, 0.12);
  --brand: #5A3DF0;
  --brand2: #2FE3B0;
  --accent: #2FE3B0;
  --danger: #ff5c7a;
  --warn: #F59E0B;
  --warning: #F59E0B;
  --ok: #2FE3B0;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-sm: 12px;
  --maxw: 1100px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(800px 400px at 20% 10%, rgba(90, 61, 240, 0.15), transparent), var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.link-underline {
  text-decoration: underline;
}

button.link-like {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  font: inherit;
}

button.link-like:hover {
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.muted {
  color: var(--muted);
}

.micro {
  font-size: 13px;
  line-height: 1.5;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-weight: 800;
  background: var(--brand);
  color: white;
}

.brand__name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

button:disabled,
.btn:disabled,
button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

button:disabled:hover,
.btn:disabled:hover {
  filter: none;
  border-color: inherit;
  background: inherit;
}

.btn--primary {
  border-color: transparent;
  background: var(--brand);
  color: white;
}

.btn--primary:hover {
  filter: brightness(1.05);
}

.btn--warn {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.2);
  color: rgba(251, 191, 36, 0.98);
}

.btn--warn:hover {
  border-color: rgba(245, 158, 11, 0.7);
  background: rgba(245, 158, 11, 0.28);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
}

.btn--small {
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 13px;
}

.hero {
  padding: 56px 0 28px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.hero h1 {
  margin: 12px 0 10px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.7px;
}

.subhead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  gap: 12px;
  margin: 18px 0 10px;
  flex-wrap: wrap;
}

.hero__panel {
  min-height: 360px;
}

.panel {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel__header,
.panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.panel__footer {
  border-bottom: none;
  border-top: 1px solid var(--border);
}

.panel__title {
  font-weight: 700;
}

.panel__meta {
  color: var(--muted);
  font-size: 13px;
}

.panel__body {
  padding: 16px;
}

.statgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.stat__label {
  color: var(--muted);
  font-size: 13px;
}

.stat__value {
  font-size: 24px;
  font-weight: 800;
  margin-top: 6px;
  letter-spacing: -0.3px;
}

.stat .micro.muted {
  margin-top: 6px;
}

.callout {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(90, 61, 240, 0.12);
}

.callout__title {
  font-weight: 700;
  margin-bottom: 6px;
}

.callout__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13px;
}

.pill--ok {
  border-color: rgba(47, 227, 176, 0.35);
  color: rgba(47, 227, 176, 0.95);
}

.pill--pro {
  border-color: rgba(90, 61, 240, 0.4);
  color: rgba(129, 103, 245, 0.98);
}

.pill--warn {
  border-color: rgba(245, 158, 11, 0.45);
  color: rgba(251, 191, 36, 0.98);
}

/* Plan pill in nav: color by tier */
.pill--plan.pill--plan-free {
  border-color: var(--border);
  color: var(--muted);
}
.pill--plan.pill--plan-starter {
  border-color: rgba(90, 61, 240, 0.4);
  background: rgba(90, 61, 240, 0.12);
  color: rgba(129, 103, 245, 0.98);
}
.pill--plan.pill--plan-pro {
  border-color: rgba(90, 61, 240, 0.4);
  background: rgba(90, 61, 240, 0.12);
  color: rgba(129, 103, 245, 0.98);
}

/* Nav status: key name + status light (Telegram, Worker) */
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
}
.nav-status__light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.nav-status__light.nav-status__light--on {
  background: var(--ok, #2fe3b0);
  box-shadow: 0 0 8px rgba(47, 227, 176, 0.5);
}
.nav-status__light.nav-status__light--warn {
  background: var(--warn, #F59E0B);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}
.nav-status__label {
  font-weight: 500;
}

/* Session report (Overview) — beautified card */
/* Usage & plans: progress bars with glow and health colors */
.sidebar-usage .usage-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-usage .usage-value {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.progress-wrap {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 2px;
}
.progress-wrap--glow {
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
}
.progress-bar {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease, background 0.2s ease;
}
.progress-bar--ok {
  background: linear-gradient(90deg, rgba(47, 227, 176, 0.6), rgba(47, 227, 176, 0.9));
  box-shadow: 0 0 12px rgba(47, 227, 176, 0.5);
}
.progress-bar--warn {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.6), rgba(245, 158, 11, 0.9));
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}
.progress-bar--danger {
  background: linear-gradient(90deg, rgba(255, 92, 122, 0.6), rgba(255, 92, 122, 0.9));
  box-shadow: 0 0 12px rgba(255, 92, 122, 0.5);
}

.running-log-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.running-log-wrap {
  position: relative;
}
.running-log-body {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.45;
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 12px;
  border-radius: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
.running-log-body:hover {
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
.running-log-body::-webkit-scrollbar {
  width: 8px;
}
.running-log-body::-webkit-scrollbar-track {
  background: transparent;
}
.running-log-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.running-log-body:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
}
.running-log-jump {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--brand);
  text-decoration: none;
  font-size: 12px;
}
.running-log-jump:hover {
  background: rgba(0, 0, 0, 0.7);
  text-decoration: underline;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  cursor: pointer;
  gap: 8px;
}
.checkbox-row__input {
  margin: 0;
  margin-top: 2px;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.checkbox-row__label {
  flex: 1;
  line-height: 1.4;
  text-align: left;
}

.session-report-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
}

.audit-activity-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
}
.audit-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
}
.audit-activity-item {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.4;
}
.audit-activity-item:last-child {
  border-bottom: none;
}

.session-report-meta {
  color: var(--muted);
  font-size: 12px;
}
.session-report-body {
  font-size: 14px;
  line-height: 1.55;
  max-height: 320px;
  overflow-y: auto;
  color: var(--text);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
.session-report-body:hover {
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
.session-report-body::-webkit-scrollbar {
  width: 8px;
}
.session-report-body::-webkit-scrollbar-track {
  background: transparent;
}
.session-report-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.session-report-body:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
}
.session-report-body.muted {
  color: var(--muted);
  font-size: 13px;
}
.session-report {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.session-report__title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 2px;
}
.session-report__block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.session-report__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.session-report__row:last-child {
  border-bottom: none;
}
.session-report__label {
  color: var(--muted);
  font-size: 13px;
  min-width: 0;
}
.session-report__value {
  color: var(--text);
  font-weight: 500;
  margin-left: auto;
}
.session-report__list {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
  color: var(--muted);
  font-size: 13px;
}
.session-report__list li {
  margin-bottom: 4px;
}
.session-report__list li strong {
  color: var(--text);
}

.section {
  padding: 44px 0;
}

.section--muted {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.3px;
}

.section__lead {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 740px;
  line-height: 1.65;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.step {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.step__num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(90, 61, 240, 0.18);
  border: 1px solid rgba(90, 61, 240, 0.3);
  font-weight: 800;
}

.step__title {
  font-weight: 700;
  margin-bottom: 4px;
}

.step__text {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.card--flat {
  box-shadow: none;
}

.card--highlight {
  background: rgba(90, 61, 240, 0.12);
  border-color: rgba(90, 61, 240, 0.3);
}

.card__header {
  margin-bottom: 12px;
}

/* Expandable views: make summary clearly clickable and noticeable */
details.execution-details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  background: rgba(255, 255, 255, 0.03);
}
details.execution-details summary {
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand);
  padding: 10px 14px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
details.execution-details summary::-webkit-details-marker {
  display: none;
}
details.execution-details summary::before {
  content: "▶";
  font-size: 0.7rem;
  transition: transform 0.2s ease;
  color: var(--brand);
}
details.execution-details[open] summary::before {
  transform: rotate(90deg);
}
details.execution-details summary:hover {
  color: var(--text);
  text-decoration: underline;
}
details.execution-details > *:not(summary) {
  padding: 0 14px 14px 14px;
}

.tag {
  display: inline-flex;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(90, 61, 240, 0.4);
  color: rgba(129, 103, 245, 0.98);
  background: rgba(90, 61, 240, 0.15);
  margin-bottom: 10px;
}

.price {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.6px;
}

.price__unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 4px;
}

.price--slash {
  text-decoration: line-through;
  opacity: 0.8;
  margin-right: 6px;
  font-weight: 700;
}

.list {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  padding: 16px;
  max-width: 860px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 11px 12px;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(90, 61, 240, 0.42);
  box-shadow: 0 0 0 4px rgba(90, 61, 240, 0.12);
}

/* 3.2: dropdown list dark theme (avoid white bg / white text) */
select option {
  background: var(--bg);
  color: var(--text);
}

.form__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------------- App mock layout ---------------- */
.app {
  padding: 18px 0 44px;
}

.appShell {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 14px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 76px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  padding: 12px;
}

.nav {
  display: grid;
  gap: 6px;
}

.nav button {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
}

.nav button:hover {
  background: rgba(255, 255, 255, 0.03);
}

.nav button[aria-current="page"] {
  border-color: rgba(90, 61, 240, 0.35);
  background: rgba(90, 61, 240, 0.12);
}

.main {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  overflow: hidden;
}

.mainHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.mainHeader h2 {
  margin: 0;
  font-size: 18px;
}

.mainBody {
  padding: 16px;
}

.kpiRow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.kpi {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.kpi__label {
  color: var(--muted);
  font-size: 13px;
}

.kpi__value {
  font-weight: 900;
  font-size: 22px;
  margin-top: 6px;
}

.kpi__sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.notice {
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.08);
  border-radius: 14px;
  padding: 12px;
  color: rgba(251, 191, 36, 0.95);
}

.notice-bar {
  margin-top: 12px;
  margin-bottom: 0;
}

.danger {
  border: 1px solid rgba(255, 92, 122, 0.3);
  background: rgba(255, 92, 122, 0.08);
  border-radius: 14px;
  padding: 12px;
  color: rgba(255, 92, 122, 0.95);
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.table th,
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.table th {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
}

.table td strong {
  color: rgba(255, 255, 255, 0.9);
}

.modalBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  place-items: center;
  padding: 18px;
  z-index: 100;
}

.modalBackdrop[data-open="true"] {
  display: grid;
}

.modal {
  width: 100%;
  max-width: 560px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(11, 16, 32, 0.95);
  box-shadow: var(--shadow);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.modal__header strong {
  font-size: 14px;
}

.modal__body {
  padding: 16px;
}

.modal__footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

.hr {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .appShell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .kpiRow {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 36px;
  }
  .kpiRow {
    grid-template-columns: 1fr;
  }
}

/* Sidebar phase grouping (Setup, Capture, Manage, Usage & billing) */
.nav--phased {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-phase {
  margin-bottom: 12px;
}

.nav-phase:last-child {
  margin-bottom: 0;
}

.nav-phase__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 10px 0 6px;
  padding: 0 2px;
}

.nav-phase__label:first-child {
  margin-top: 0;
}

.nav-phase button {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  font-size: 14px;
}

.nav-phase button:hover {
  background: rgba(255, 255, 255, 0.03);
}

.nav-phase button[aria-current="page"] {
  border-color: rgba(90, 61, 240, 0.35);
  background: rgba(90, 61, 240, 0.12);
}
