:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #66727c;
  --line: #d8e0e6;
  --paper: #f6f8f9;
  --panel: #ffffff;
  --blue: #1d6fd8;
  --green: #15835b;
  --amber: #a15c00;
  --red: #b42318;
}

.auth-consent {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	font-size: 13px;
	line-height: 1.6;
}

.auth-consent input {
	margin-top: 3px;
}

/* Beta pricing */
.pricing-facts,
.credit-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border, #d8dde3);
  border-bottom: 1px solid var(--border, #d8dde3);
}

.pricing-facts > div {
  padding: 20px 24px;
  display: grid;
  gap: 5px;
  border-right: 1px solid var(--border, #d8dde3);
}

.pricing-facts > div:last-child { border-right: 0; }
.pricing-facts span,
.credit-option small { color: var(--muted, #66717d); }
.plan-labels { min-height: 25px; display: flex; gap: 8px; align-items: center; }
.plan-beta { font-size: 12px; color: #376151; border: 1px solid #9db7ad; padding: 3px 7px; border-radius: 4px; }
.credit-section { width: min(1180px, calc(100% - 40px)); margin: 70px auto; }
.credit-section .section-heading { max-width: 680px; margin-bottom: 24px; }
.credit-section .credit-grid { width: 100%; margin: 0; }
.credit-option { padding: 22px 24px; display: grid; gap: 16px; border-right: 1px solid var(--border, #d8dde3); }
.credit-option:last-child { border-right: 0; }
.credit-option > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.credit-option strong { font-size: 24px; }
.enterprise-contact {
  width: min(1180px, calc(100% - 40px));
  margin: 70px auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.25fr) auto;
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--border, #d8dde3);
  border-bottom: 1px solid var(--border, #d8dde3);
}
.enterprise-contact h2,
.enterprise-contact p { margin: 0; }
.enterprise-contact > p { color: var(--muted, #66717d); line-height: 1.75; }
.enterprise-contact .button-link { white-space: nowrap; }

@media (max-width: 760px) {
  .pricing-facts,
  .credit-grid { grid-template-columns: 1fr; }
  .pricing-facts > div,
  .credit-option { border-right: 0; border-bottom: 1px solid var(--border, #d8dde3); }
  .pricing-facts > div:last-child,
  .credit-option:last-child { border-bottom: 0; }
  .enterprise-contact {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }
  .enterprise-contact .button-link { justify-self: start; }
}

.site-nav-toggle,
.console-nav-toggle {
  display: none;
}

@media (max-width: 760px) {
  .product-site .site-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .site-nav-toggle,
  .console-nav-toggle {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(15, 77, 86, 0.24);
    border-radius: 6px;
    color: var(--vb-teal-dark);
    background: #fff;
    font: inherit;
    font-weight: 800;
  }

  .product-site .site-nav .nav-links {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 10px;
  }

  .product-site .site-nav.is-nav-open .nav-links {
    display: flex;
  }

  .product-console .console-sidebar {
    position: fixed;
    z-index: 40;
    inset: 0 auto 0 0;
    width: min(84vw, 300px);
    height: 100dvh;
    transform: translateX(-105%);
    transition: transform 160ms ease;
    box-shadow: 12px 0 30px rgba(13, 45, 52, 0.18);
  }

  .product-console.console-nav-open .console-sidebar {
    transform: translateX(0);
  }

  .console-nav-toggle {
    align-self: flex-start;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
  min-height: 112px;
  padding: 24px 32px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 28px;
  line-height: 1.2;
}

h2 {
  font-size: 20px;
}

.health,
.task-chip,
.client-title span {
  min-width: 80px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  text-align: center;
  color: var(--muted);
  background: #f9fbfc;
  font-size: 12px;
  font-weight: 700;
}

.workspace {
  padding: 24px 32px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 18px;
}

.panel,
.client-pane {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.panel {
  padding: 18px;
}

.panel-title,
.client-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.room-field {
  display: grid;
  grid-template-columns: auto 180px;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.live-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.client-pane {
  min-width: 0;
  padding: 14px;
}

.message-list {
  height: 360px;
  margin: 14px 0;
  padding: 10px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.message {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-left: 3px solid var(--blue);
  background: #fff;
  box-shadow: 0 1px 0 rgba(23, 32, 38, 0.04);
}

.message strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  color: var(--muted);
}

.composer,
.call-form {
  display: grid;
  gap: 10px;
}

.composer {
  grid-template-columns: minmax(0, 1fr) 86px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
button {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  letter-spacing: 0;
}

button {
  border-color: #1455a5;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: #155fb8;
}

.call-form {
  margin-top: 16px;
  grid-template-columns: 1fr;
}

.task-summary {
  margin: 16px 0 10px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.task-summary span {
  color: var(--muted);
}

.timeline {
  min-height: 286px;
  margin: 0;
  padding: 0 0 0 22px;
  overflow: auto;
}

.timeline li {
  margin: 0 0 10px;
  padding-left: 4px;
}

.timeline code {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.state-ok {
  color: var(--green);
  border-color: rgba(21, 131, 91, 0.35);
  background: rgba(21, 131, 91, 0.08);
}

.state-warn {
  color: var(--amber);
  border-color: rgba(161, 92, 0, 0.35);
  background: rgba(161, 92, 0, 0.08);
}

.state-bad {
  color: var(--red);
  border-color: rgba(180, 35, 24, 0.35);
  background: rgba(180, 35, 24, 0.08);
}

@media (max-width: 980px) {
  .topbar,
  .workspace {
    padding-left: 16px;
    padding-right: 16px;
  }

  .workspace,
  .live-grid {
    grid-template-columns: 1fr;
  }

  .message-list {
    height: 260px;
  }
}

/* Platform homepage: API-first brand and product surface. */
.platform-site {
  background: #f7faf9;
  letter-spacing: 0;
}

.platform-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  border-bottom: 1px solid #d7dedb;
  background: #fff;
}

.platform-hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: #005c76;
  content: "";
}

.platform-hero-copy {
  position: relative;
  z-index: 2;
  width: min(630px, 50vw);
  padding-top: 108px;
  margin-left: max(32px, calc((100vw - 1320px) / 2));
}

.platform-hero-copy h1 {
  margin: 22px 0;
  font-size: 62px;
  line-height: 1.08;
  letter-spacing: 0;
}

.platform-hero-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin: 0;
  color: #2d444e;
  font-size: 19px;
  line-height: 1.75;
}

.platform-hero-copy > small {
  display: block;
  margin-top: 20px;
  color: #4a6069;
}

.platform-signal {
  position: absolute;
  top: 88px;
  right: max(24px, calc((100vw - 1320px) / 2));
  width: min(610px, 44vw);
  height: 520px;
}

.platform-signal::before {
  position: absolute;
  top: 130px;
  right: 20px;
  left: 20px;
  height: 1px;
  background: #a6e6ec;
  content: "";
}

.platform-signal-inputs {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: #005c76;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 800;
}

.platform-signal-inputs i {
  height: 1px;
  background: #879590;
}

.platform-signal-core {
  position: absolute;
  z-index: 2;
  top: 82px;
  left: 50%;
  display: grid;
  gap: 5px;
  width: 270px;
  min-height: 110px;
  padding: 20px;
  border: 1px solid #007595;
  border-radius: 8px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 18px 50px rgb(8 19 24 / 10%);
}

.platform-signal-core b,
.platform-signal-core span {
  color: #4a6069;
  font-size: 12px;
}

.platform-signal-core strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 19px;
}

.platform-signal-stats {
  position: absolute;
  top: 260px;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #d7dedb;
  border-bottom: 1px solid #d7dedb;
}

.platform-signal-stats span {
  display: grid;
  gap: 10px;
  min-height: 120px;
  padding: 22px;
  border-right: 1px solid #d7dedb;
  color: #4a6069;
  font-size: 12px;
}

.platform-signal-stats span:last-child {
  border-right: 0;
}

.platform-signal-stats b {
  color: #081318;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 18px;
}

.platform-access,
.platform-chain,
.platform-control,
.platform-scenarios,
.platform-template-policy {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 24px;
}

.platform-access {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
}

.platform-access h2,
.platform-template-policy h2 {
  margin: 10px 0 0;
  font-size: 34px;
  line-height: 1.25;
}

.platform-access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #d7dedb;
}

.platform-access-grid a {
  display: grid;
  gap: 6px;
  min-height: 120px;
  padding: 22px;
  border-right: 1px solid #d7dedb;
  border-bottom: 1px solid #d7dedb;
  color: #081318;
  text-decoration: none;
}

.platform-access-grid a:nth-child(2n) {
  border-right: 0;
}

.platform-access-grid strong {
  font-size: 19px;
}

.platform-access-grid span {
  color: #4a6069;
  font-size: 14px;
}

.platform-access-grid code {
  color: #105bcc;
  font-size: 12px;
}

.platform-chain {
  border-top: 1px solid #d7dedb;
}

.platform-chain-grid,
.platform-control-grid,
.platform-scenario-grid {
  display: grid;
  border-top: 1px solid #879590;
}

.platform-chain-grid {
  grid-template-columns: repeat(4, 1fr);
}

.platform-chain-grid article,
.platform-scenario-grid article {
  min-height: 240px;
  padding: 28px;
  border-right: 1px solid #d7dedb;
  border-bottom: 1px solid #879590;
}

.platform-chain-grid article:last-child,
.platform-scenario-grid article:last-child {
  border-right: 0;
}

.platform-chain-grid span,
.platform-scenario-grid span {
  color: #007595;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.platform-chain-grid strong,
.platform-scenario-grid strong {
  display: block;
  margin: 65px 0 12px;
  font-size: 21px;
}

.platform-chain-grid p,
.platform-scenario-grid p {
  margin: 0;
  color: #4a6069;
  line-height: 1.7;
}

.platform-control {
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1320px) / 2));
  background: #081318;
  color: #fff;
}

.platform-control .eyebrow {
  color: #a6e6ec;
}

.platform-control .section-heading > p:last-child {
  color: #b9c7c4;
}

.platform-control-grid {
  grid-template-columns: repeat(3, 1fr);
  border-color: #4a6069;
}

.platform-control-grid article {
  display: grid;
  gap: 12px;
  min-height: 132px;
  padding: 24px;
  border-right: 1px solid #2d444e;
  border-bottom: 1px solid #2d444e;
}

.platform-control-grid article:nth-child(3n) {
  border-right: 0;
}

.platform-control-grid span {
  color: #a6e6ec;
  font-size: 12px;
}

.platform-control-grid strong {
  font-size: 17px;
}

.platform-scenario-grid {
  grid-template-columns: repeat(3, 1fr);
}

.platform-template-policy {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.8fr);
  gap: 32px;
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1320px) / 2));
  background: #e2eeff;
}

.platform-template-policy > div:not(:first-child) {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px 0;
  border-top: 2px solid #105bcc;
  border-bottom: 1px solid #a8c4ed;
}

.platform-template-policy span,
.platform-template-policy i {
  color: #4a6069;
  font-size: 12px;
  font-style: normal;
}

.platform-template-policy b {
  font-size: 18px;
}

@media (max-width: 900px) {
  .template-review-layout {
    grid-template-columns: 1fr;
  }

  .platform-hero {
    min-height: 830px;
  }

  .platform-hero-copy {
    width: auto;
    padding: 70px 24px 0;
    margin: 0;
  }

  .platform-hero-copy h1 {
    font-size: 50px;
  }

  .platform-signal {
    top: 470px;
    right: 24px;
    left: 24px;
    width: auto;
    height: 300px;
  }

  .platform-signal-stats {
    top: 180px;
  }

  .platform-access,
  .platform-template-policy {
    grid-template-columns: 1fr;
  }

  .platform-chain-grid,
  .platform-control-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-control-grid article:nth-child(3n) {
    border-right: 1px solid #2d444e;
  }

  .platform-control-grid article:nth-child(2n) {
    border-right: 0;
  }

  .platform-scenario-grid {
    grid-template-columns: 1fr;
  }

  .platform-scenario-grid article {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .platform-hero {
    min-height: 680px;
  }

  .platform-hero-copy {
    padding: 32px 16px 0;
  }

  .platform-hero-copy h1 {
    margin-block: 14px;
    font-size: 39px;
    line-height: 1.1;
  }

  .platform-hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .platform-signal {
    top: 380px;
    right: 16px;
    left: 16px;
    height: 270px;
  }

  .platform-signal::before {
    top: 100px;
  }

  .platform-signal-core {
    top: 52px;
  }

  .platform-signal-stats {
    top: 165px;
  }

  .platform-signal-stats span {
    min-height: 105px;
    padding: 14px 8px;
  }

  .platform-signal-stats b {
    font-size: 14px;
  }

  .platform-access,
  .platform-chain,
  .platform-control,
  .platform-scenarios,
  .platform-template-policy {
    padding: 64px 16px;
  }

  .platform-access {
    padding-top: 32px;
  }

  .platform-access-grid,
  .platform-chain-grid,
  .platform-control-grid {
    grid-template-columns: 1fr;
  }

  .platform-access-grid a,
  .platform-chain-grid article,
  .platform-control-grid article {
    border-right: 0;
  }

  .platform-control-grid article:nth-child(3n) {
    border-right: 0;
  }
}

.site-body {
  background: #f4f7f8;
}

.site-nav,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 28px;
  background: rgba(250, 252, 252, 0.94);
  border-bottom: 1px solid #d8e0e6;
}

.legal-page { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 96px; }
.legal-page > header { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-page > header h1 { margin: 8px 0 12px; font-size: clamp(34px, 5vw, 58px); }
.legal-page > header p:last-child { color: var(--muted); }
.legal-page section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal-page section h2 { margin-bottom: 10px; font-size: 19px; }
.legal-page section p { max-width: 760px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.legal-page a, .site-footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #172026;
  font-weight: 900;
  text-decoration: none;
}

.brand-sigil {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: #0d2f3a;
  font-size: 12px;
  letter-spacing: 0;
}

.nav-links,
.console-nav {
  display: flex;
  gap: 8px;
}

.nav-links a,
.console-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #49606d;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover,
.console-nav a:hover,
.console-nav a.active {
  color: #0d2f3a;
  background: #e8f4f3;
}

.hero-section {
  position: relative;
  min-height: 640px;
  padding: 74px 28px 52px;
  overflow: hidden;
  border-bottom: 1px solid #d8e0e6;
  background: #eef5f4;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 34px 0 38px;
}

.hero-copy h1 {
  max-width: 660px;
  color: #10242b;
  font-size: 58px;
  line-height: 1.02;
}

.hero-lede {
  max-width: 590px;
  margin: 18px 0 0;
  color: #47616b;
  font-size: 18px;
  line-height: 1.68;
}

.hero-actions,
.form-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.inline-actions {
  margin-top: 0;
}

.button-link,
.ghost-button,
.secondary-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cdd9df;
  border-radius: 8px;
  padding: 0 14px;
  color: #18333c;
  background: #fff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-link.primary {
  border-color: #0f6472;
  color: #fff;
  background: #0f6472;
}

.button-link.secondary,
.secondary-button,
.ghost-button {
  color: #0f6472;
  background: #f9fcfc;
}

.button-link.secondary:hover,
.secondary-button:hover,
.ghost-button:hover {
  color: #0a4f5a;
  background: #eef8f7;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #cbdce0;
  border-radius: 8px;
  padding: 0 11px;
  color: #4b626a;
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.hero-proof strong {
  color: #0d2f3a;
}

.product-stage {
  position: absolute;
  inset: 34px 28px 38px auto;
  width: min(650px, 52vw);
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 12px;
  opacity: 0.98;
}

.studio-preview,
.call-preview,
.score-preview,
.feature-item,
.resource-panel,
.quality-panel,
.live-preview,
.agent-editor {
  border: 1px solid #d8e0e6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 55px rgba(20, 40, 46, 0.09);
}

.studio-preview,
.call-preview,
.score-preview {
  padding: 14px;
}

.studio-preview {
  margin-left: 68px;
}

.call-preview {
  margin-right: 42px;
}

.score-preview {
  width: min(320px, 100%);
  margin-left: auto;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.preview-toolbar,
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-toolbar small {
  color: #66727c;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0f6472;
}

.status-dot.ok {
  background: #15835b;
}

.status-dot.live {
  background: #cf6f2e;
}

.agent-form-preview {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.agent-form-preview label {
  border: 1px solid #e1e8ec;
  border-radius: 8px;
  padding: 10px;
  background: #fbfdfd;
}

.agent-form-preview b {
  color: #172026;
  font-size: 13px;
}

.mini-timeline {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.mini-timeline li,
.console-timeline li {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.mini-timeline time,
.console-timeline time {
  color: #66727c;
  font-size: 12px;
  font-weight: 800;
}

.mini-timeline span,
.console-timeline strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #172026;
  font-size: 13px;
}

.score-preview span {
  color: #66727c;
  font-size: 12px;
  font-weight: 800;
}

.score-preview strong {
  display: block;
  color: #0f6472;
  font-size: 44px;
  line-height: 1;
}

.score-preview ul,
.quality-list {
  margin: 0;
  padding-left: 18px;
  color: #49606d;
  line-height: 1.7;
}

.section-band,
.split-section,
.api-section {
  padding: 64px 28px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading h2,
.split-section h2 {
  color: #10242b;
  font-size: 34px;
  line-height: 1.16;
}

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

.feature-item {
  padding: 18px;
}

.feature-index {
  color: #cf6f2e;
  font-weight: 900;
}

.feature-item h3 {
  margin: 10px 0 8px;
}

.feature-item p,
.split-section p,
.resource-panel p {
  color: #49606d;
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: center;
  background: #ffffff;
  border-block: 1px solid #d8e0e6;
}

.metric-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric-wall div,
.quality-strip div {
  border: 1px solid #d8e0e6;
  border-radius: 8px;
  padding: 14px;
  background: #f7faf9;
}

.metric-wall span,
.quality-strip span {
  display: block;
  color: #66727c;
  font-size: 12px;
  font-weight: 800;
}

.metric-wall strong,
.quality-strip strong {
  display: block;
  margin-top: 5px;
  color: #10242b;
  font-size: 20px;
}

.code-sample,
.resource-panel pre {
  overflow: auto;
  border: 1px solid #d8e0e6;
  border-radius: 8px;
  padding: 16px;
  color: #14343c;
  background: #fbfdfd;
  font-size: 13px;
  line-height: 1.6;
}

.code-sample code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid #d8e0e6;
  border-bottom: 0;
  color: #66727c;
  font-size: 13px;
  font-weight: 800;
}

.console-body {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  background: #f4f7f8;
}

.console-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid #d8e0e6;
  background: #ffffff;
}

.console-nav {
  flex-direction: column;
}

.console-main {
  min-width: 0;
  padding: 22px;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.console-header h1 {
  color: #10242b;
  font-size: 30px;
}

.sidebar-note {
  margin-top: auto;
  border: 1px solid #d8e0e6;
  border-radius: 8px;
  padding: 12px;
  background: #f7faf9;
}

.sidebar-note strong,
.sidebar-note span {
  display: block;
}

.sidebar-note span {
  margin-top: 5px;
  color: #49606d;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr) minmax(250px, 0.72fr);
  gap: 14px;
}

.agent-editor,
.live-preview,
.quality-panel,
.resource-panel {
  min-width: 0;
  padding: 16px;
}

.agent-editor,
.call-launcher {
  display: grid;
  gap: 12px;
}

.agent-editor textarea {
  width: 100%;
  min-height: 92px;
  border: 1px solid #d8e0e6;
  border-radius: 8px;
  padding: 9px 10px;
  resize: vertical;
  font: inherit;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pill,
.score-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e0e6;
  border-radius: 8px;
  padding: 0 9px;
  color: #49606d;
  background: #f7faf9;
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.pill.good,
.score-pill {
  color: #0f6472;
  border-color: #b9dadd;
  background: #eef8f7;
}

.quality-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.console-timeline {
  max-height: 290px;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  overflow: auto;
  list-style: none;
}

.evidence-box {
  margin-top: 14px;
  border: 1px solid #d8e0e6;
  border-radius: 8px;
  padding: 12px;
  background: #fbfdfd;
}

.evidence-box strong,
.evidence-box code {
  display: block;
}

.evidence-box code {
  margin-top: 6px;
  color: #0f6472;
  overflow-wrap: anywhere;
}

.secret-box {
  margin-top: 12px;
  border: 1px solid #f1cbb4;
  border-radius: 8px;
  padding: 10px;
  background: #fff7f1;
}

.secret-box span,
.secret-box code {
  display: block;
}

.secret-box span {
  color: #8f4d12;
  font-size: 12px;
  font-weight: 900;
}

.secret-box code {
  margin-top: 5px;
  color: #172026;
  overflow-wrap: anywhere;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.resource-panel pre {
  max-width: 100%;
  min-width: 0;
  max-height: 220px;
  margin-bottom: 0;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .product-stage {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 22px;
  }

  .studio-preview,
  .call-preview,
  .score-preview {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .workbench,
  .resource-grid,
  .feature-grid,
  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-nav,
  .console-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-section,
  .section-band,
  .split-section,
  .api-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .console-body {
    grid-template-columns: 1fr;
  }

  .console-sidebar {
    position: relative;
    height: auto;
  }

  .console-nav {
    flex-flow: row wrap;
  }

  .console-main {
    padding: 16px;
  }

  .form-grid,
  .quality-strip,
  .metric-wall,
  .score-preview {
    grid-template-columns: 1fr;
  }
}

/* VoxBridge UI v2: warm tech product surfaces */
:root {
  --vb-ink: #11252d;
  --vb-ink-soft: #37515b;
  --vb-muted: #6d7c84;
  --vb-paper: #f3f7f6;
  --vb-panel: rgba(255, 255, 255, 0.92);
  --vb-line: #d5e2e5;
  --vb-teal: #08717f;
  --vb-teal-dark: #075766;
  --vb-coral: #d67542;
  --vb-green: #16845f;
  --vb-amber: #a86512;
  --vb-red: #b3261e;
  --vb-shadow: 0 18px 50px rgba(21, 44, 52, 0.10);
  --vb-shadow-soft: 0 8px 26px rgba(21, 44, 52, 0.08);
}

.site-body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(243, 247, 246, 0.96)),
    var(--vb-paper);
  color: var(--vb-ink);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 68px;
  padding: 16px 32px;
  background: rgba(248, 251, 250, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(213, 226, 229, 0.82);
}

.brand-sigil {
  background: var(--vb-ink);
  box-shadow: inset 0 -10px 20px rgba(8, 113, 127, 0.24);
}

.nav-links a,
.console-nav a {
  color: var(--vb-ink-soft);
  font-weight: 850;
}

.nav-links a:hover,
.console-nav a:hover,
.console-nav a.active {
  color: var(--vb-teal-dark);
  background: rgba(8, 113, 127, 0.10);
}

.hero-v2 {
  min-height: min(740px, calc(100vh - 38px));
  display: flex;
  align-items: center;
  padding: 84px 36px 92px;
  background: #dbe8e8;
}

.hero-bg-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.58;
  filter: saturate(1.04) contrast(0.98);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(246, 250, 249, 0.98) 0%, rgba(246, 250, 249, 0.90) 36%, rgba(246, 250, 249, 0.34) 74%, rgba(246, 250, 249, 0.16) 100%),
    linear-gradient(180deg, rgba(246, 250, 249, 0.28), rgba(246, 250, 249, 0.82));
}

.hero-v2 .hero-copy {
  max-width: 720px;
  padding: 0;
}

.hero-v2 h1 {
  max-width: 720px;
  color: var(--vb-ink);
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  color: var(--vb-ink-soft);
}

.eyebrow {
  color: #176de3;
  letter-spacing: 0;
}

.button-link,
.ghost-button,
.secondary-button,
button {
  border-radius: 8px;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

button:disabled {
	cursor: wait;
	opacity: 0.72;
}

button[data-role-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.5;
	box-shadow: none;
	transform: none;
}

.button-link.primary,
button {
  border-color: var(--vb-teal);
  color: #ffffff;
  background: var(--vb-teal);
  box-shadow: 0 10px 24px rgba(8, 113, 127, 0.16);
}

.button-link.primary:hover,
button:hover {
  background: var(--vb-teal-dark);
  transform: translateY(-1px);
}

.button-link.secondary,
.secondary-button,
.ghost-button {
  color: var(--vb-teal-dark);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(8, 113, 127, 0.22);
  box-shadow: none;
}

.button-link.secondary:hover,
.secondary-button:hover,
.ghost-button:hover {
  color: var(--vb-teal-dark);
  background: rgba(8, 113, 127, 0.10);
  border-color: rgba(8, 113, 127, 0.36);
}

.hero-proof span,
.metric-wall div,
.feature-item,
.code-sample {
  border-color: rgba(213, 226, 229, 0.92);
  box-shadow: var(--vb-shadow-soft);
}

.hero-proof span {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
}

.hero-proof strong,
.score-preview strong,
.metric-wall strong,
.quality-strip strong {
  color: var(--vb-teal-dark);
}

.section-band,
.split-section,
.api-section {
  padding: 72px 36px;
}

.section-heading h2,
.split-section h2 {
  color: var(--vb-ink);
}

.feature-grid {
  gap: 16px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.86);
}

.feature-index {
  color: var(--vb-coral);
}

.split-section {
  background: rgba(255, 255, 255, 0.72);
}

.console-v2 {
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 8%, rgba(214, 117, 66, 0.13), transparent 28%),
    radial-gradient(circle at 52% 0%, rgba(8, 113, 127, 0.12), transparent 30%),
    var(--vb-paper);
}

.console-v2 .console-sidebar {
  border-right: 1px solid rgba(213, 226, 229, 0.88);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.console-v2 .console-main {
  padding: 24px;
}

.command-bar {
  min-height: 92px;
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(213, 226, 229, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--vb-shadow-soft);
}

.command-bar > div {
  min-width: 0;
}

.command-bar h1 {
  max-width: 720px;
  min-width: 0;
  color: var(--vb-ink);
  font-size: clamp(28px, 2.45vw, 36px);
  line-height: 1.12;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.command-bar h1 span {
  display: inline;
}

.command-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 390px;
}

.command-chip {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(214, 117, 66, 0.28);
  border-radius: 8px;
  padding: 0 12px;
  color: #8f4d12;
  background: rgba(255, 247, 241, 0.86);
  font-size: 12px;
  font-weight: 900;
}

.status-toast {
  margin-bottom: 14px;
  border: 1px solid rgba(213, 226, 229, 0.9);
  border-left: 4px solid var(--vb-teal);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--vb-ink-soft);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--vb-shadow-soft);
  font-size: 13px;
  font-weight: 800;
}

.status-toast.is-success {
  border-left-color: var(--vb-green);
}

.status-toast.is-warn {
  border-left-color: var(--vb-amber);
}

.status-toast.is-error {
  border-left-color: var(--vb-red);
}

.console-v2 .workbench {
  grid-template-columns: minmax(320px, 0.96fr) minmax(360px, 1.08fr) minmax(280px, 0.72fr);
  gap: 16px;
  align-items: start;
}

.console-v2 .agent-editor,
.console-v2 .live-preview,
.console-v2 .timeline-card,
.console-v2 .quality-panel,
.console-v2 .resource-panel {
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  background: var(--vb-panel);
  box-shadow: var(--vb-shadow);
}

.console-v2 .agent-editor,
.console-v2 .live-preview,
.console-v2 .timeline-card,
.console-v2 .quality-panel,
.console-v2 .resource-panel {
  padding: 18px;
}

.call-lab {
  display: grid;
  gap: 16px;
}

.console-v2 label {
  color: var(--vb-muted);
}

.console-v2 input,
.console-v2 select,
.console-v2 textarea {
  border-color: rgba(213, 226, 229, 0.98);
  color: var(--vb-ink);
  background: rgba(255, 255, 255, 0.84);
}

.console-v2 input:focus,
.console-v2 select:focus,
.console-v2 textarea:focus {
  outline: 2px solid rgba(8, 113, 127, 0.16);
  border-color: rgba(8, 113, 127, 0.46);
}

.pill,
.score-pill,
.resource-count {
  border-color: rgba(8, 113, 127, 0.20);
  color: var(--vb-teal-dark);
  background: rgba(232, 248, 247, 0.86);
}

.score-pill {
  min-width: 42px;
}

.quality-strip {
  gap: 10px;
}

.quality-strip div {
  background: rgba(247, 251, 250, 0.92);
}

.timeline-card {
  min-height: 292px;
}

.console-timeline {
  max-height: 310px;
  padding-top: 4px;
}

.timeline-item {
  position: relative;
  border-left: 3px solid rgba(8, 113, 127, 0.22);
  border-radius: 8px;
  padding: 8px 10px 8px 12px;
  background: rgba(247, 251, 250, 0.76);
}

.console-timeline .timeline-item {
  grid-template-columns: 82px minmax(0, 1fr);
}

.timeline-item.is-ok {
  border-left-color: var(--vb-green);
}

.timeline-item.is-live {
  border-left-color: var(--vb-teal);
}

.timeline-item.is-warn {
  border-left-color: var(--vb-amber);
}

.timeline-item.is-error {
  border-left-color: var(--vb-red);
}

.timeline-item.is-muted {
  border-left-color: rgba(109, 124, 132, 0.30);
}

.quality-panel {
  position: sticky;
  top: 20px;
}

.evidence-box {
  background: rgba(247, 251, 250, 0.86);
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.resource-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.resource-count {
  min-width: 34px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 113, 127, 0.20);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.resource-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.resource-item,
.agent-version-item,
.delivery-item,
.resource-empty {
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 11px;
  background: rgba(247, 251, 250, 0.76);
}

.resource-item strong,
.agent-version-item strong,
.delivery-item strong,
.resource-item span,
.agent-version-item span,
.delivery-item span,
.resource-item em {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.resource-item strong {
  color: var(--vb-ink);
  font-size: 14px;
}

.resource-item span,
.agent-version-item span,
.delivery-item span,
.resource-empty {
  margin-top: 4px;
  color: var(--vb-ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.resource-item em {
  margin-top: 8px;
  color: var(--vb-coral);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.resource-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.api-key-scope-control {
	margin: 12px 0 10px;
}

.scope-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 9px;
}

.scope-chip-row span {
	margin-top: 0;
	padding: 4px 7px;
	border: 1px solid rgba(213, 226, 229, 0.92);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.74);
	color: var(--vb-ink-soft);
	font-size: 11px;
	font-weight: 800;
}

.danger-action {
  border-color: rgba(220, 71, 71, 0.32);
  color: #b42318;
  background: rgba(255, 245, 244, 0.86);
}

.muted-action {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--vb-muted);
  font-size: 12px;
  font-weight: 800;
}

#complianceCheckResult strong,
#complianceCheckResult span {
  display: block;
  overflow-wrap: anywhere;
}

#complianceCheckResult strong {
  color: var(--vb-ink);
}

#complianceCheckResult.is-error {
  border-color: rgba(239, 105, 91, 0.28);
  background: rgba(255, 244, 241, 0.8);
}

.delivery-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.delivery-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.delivery-item em {
  color: var(--vb-coral);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.agent-version-panel {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(213, 226, 229, 0.92);
}

.agent-version-list {
  display: grid;
  gap: 8px;
}

.agent-version-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.agent-version-item.is-current {
  border-color: rgba(8, 113, 127, 0.42);
  background: rgba(232, 248, 247, 0.82);
}

.agent-version-item em {
  color: var(--vb-coral);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.raw-data {
  margin-top: 12px;
  color: var(--vb-muted);
  font-size: 12px;
}

.raw-data summary {
  cursor: pointer;
  font-weight: 900;
}

.raw-data pre,
.resource-panel pre {
  max-height: 180px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.secret-box {
  background: #fff7f1;
  border-color: rgba(214, 117, 66, 0.42);
}

.secret-box .secondary-button {
  margin-top: 10px;
  min-height: 34px;
}

@media (max-width: 1180px) {
  .console-v2 .workbench,
  .resource-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quality-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: relative;
    padding: 16px;
  }

  .hero-v2 {
    min-height: 680px;
    padding: 62px 16px 72px;
  }

  .hero-bg-image {
    object-position: 62% top;
    opacity: 0.38;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(246, 250, 249, 0.98) 0%, rgba(246, 250, 249, 0.88) 58%, rgba(246, 250, 249, 0.72) 100%);
  }

  .hero-v2 h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .hero-lede {
    font-size: 16px;
  }

  .section-band,
  .split-section,
  .api-section {
    padding: 52px 16px;
  }

  .console-v2 {
    grid-template-columns: 1fr;
  }

  .console-v2 .console-main {
    padding: 16px;
  }

  .command-bar,
  .command-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .command-bar h1 {
    max-width: 100%;
    font-size: 24px;
    line-height: 1.16;
    word-break: break-all;
  }

  .command-bar h1 span {
    display: block;
  }

  .command-actions {
    width: 100%;
  }

  .console-v2 .workbench,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .console-timeline .timeline-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

/* VoxBridge product web v3 */
.product-site .site-nav,
.product-site .site-footer {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
}

.product-site .site-footer {
  position: relative;
  top: auto;
}

.product-hero .hero-copy {
  max-width: 760px;
}

.product-hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 5.8vw, 76px);
}

.product-section,
.product-flow,
.product-api,
.page-hero,
.pricing-grid,
.billing-explain,
.docs-layout,
.template-detail-grid {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.roomy-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.roomy-heading p,
.page-hero p {
  color: var(--vb-ink-soft);
  font-size: 17px;
  line-height: 1.72;
}

.template-grid,
.console-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.template-card,
.console-template-card,
.template-detail-card,
.pricing-card,
.doc-card,
.doc-section,
.billing-explain article,
.overview-card,
.billing-card,
.table-panel {
  border: 1px solid rgba(213, 226, 229, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--vb-shadow-soft);
}

.template-card,
.console-template-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
}

.template-card h3,
.console-template-card h3,
.template-detail-card h2,
.pricing-card h3,
.doc-card h3,
.doc-section h2,
.billing-card h2,
.overview-card h2 {
  color: var(--vb-ink);
  letter-spacing: 0;
}

.template-card p,
.console-template-card p,
.template-detail-card p,
.pricing-card p,
.doc-card p,
.doc-section p,
.billing-card p,
.overview-card p {
  color: var(--vb-ink-soft);
  line-height: 1.68;
}

.api-table {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.api-table div {
  display: grid;
  grid-template-columns: minmax(120px, 0.62fr) minmax(220px, 1.4fr) minmax(190px, 0.9fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 12px;
  background: rgba(248, 252, 251, 0.82);
}

.api-table strong {
  color: var(--vb-ink);
}

.api-table span {
  color: var(--vb-ink-soft);
  line-height: 1.5;
}

.api-table code {
  justify-self: end;
  max-width: 100%;
  color: var(--vb-teal-dark);
  white-space: normal;
  word-break: break-word;
}

.template-category {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  border: 1px solid rgba(214, 117, 66, 0.24);
  border-radius: 8px;
  padding: 0 9px;
  color: #8f4d12;
  background: rgba(255, 247, 241, 0.86);
  font-size: 12px;
  font-weight: 900;
}

.template-card dl,
.console-template-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.template-card dt,
.console-template-card dt {
  color: var(--vb-muted);
  font-size: 12px;
  font-weight: 900;
}

.template-card dd,
.console-template-card dd {
  margin: 2px 0 0;
  color: var(--vb-ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.text-link {
  color: var(--vb-teal-dark);
  font-weight: 900;
  text-decoration: none;
}

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

.workflow-steps,
.product-capability-grid,
.pricing-grid,
.doc-grid,
.billing-explain,
.console-overview,
.account-billing-grid {
  display: grid;
  gap: 16px;
}

.workflow-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workflow-steps article,
.product-capability-grid article {
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.workflow-steps span {
  color: var(--vb-coral);
  font-size: 12px;
  font-weight: 900;
}

.workflow-steps strong,
.workflow-steps small,
.product-capability-grid strong,
.product-capability-grid span {
  display: block;
}

.workflow-steps strong,
.product-capability-grid strong {
  margin-top: 8px;
  color: var(--vb-ink);
  font-size: 18px;
}

.workflow-steps small,
.product-capability-grid span {
  margin-top: 8px;
  color: var(--vb-ink-soft);
  line-height: 1.55;
}

.product-capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-hero {
  padding: 72px 0 34px;
}

.compact-page-hero h1 {
  max-width: 760px;
  color: var(--vb-ink);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
}

.compact-page-hero p {
  max-width: 760px;
}

.template-detail-grid {
  display: grid;
  gap: 18px;
  padding-bottom: 72px;
}

.template-detail-card {
  padding: 28px;
}

.template-detail-card header {
  display: grid;
  gap: 10px;
}

.template-detail-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.template-detail-card h3 {
  margin: 0 0 10px;
  color: var(--vb-ink);
  font-size: 14px;
}

.quote-copy {
  border-left: 3px solid var(--vb-teal);
  padding-left: 12px;
  font-weight: 800;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-row span,
.status-dot {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(8, 113, 127, 0.18);
  border-radius: 8px;
  padding: 0 8px;
  color: var(--vb-teal-dark);
  background: rgba(232, 248, 247, 0.86);
  font-size: 12px;
  font-weight: 900;
}

.template-detail-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  border-top: 1px solid rgba(213, 226, 229, 0.92);
  padding-top: 16px;
  color: var(--vb-ink-soft);
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 24px;
}

.pricing-card {
  position: relative;
  padding: 24px;
}

.pricing-card.is-recommended {
  border-color: rgba(8, 113, 127, 0.42);
  box-shadow: 0 22px 60px rgba(8, 113, 127, 0.12);
}

.pricing-card strong {
  display: block;
  margin-top: 14px;
  color: var(--vb-teal-dark);
  font-size: 34px;
}

.pricing-card small {
  display: block;
  margin-top: 8px;
  color: var(--vb-coral);
  font-weight: 900;
}

.pricing-card ul,
.template-detail-card ul,
.trust-list,
.doc-section ol {
  padding-left: 20px;
  color: var(--vb-ink-soft);
  line-height: 1.75;
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 8px;
  padding: 5px 8px;
  color: #fff;
  background: var(--vb-teal);
  font-size: 12px;
  font-weight: 900;
}

.billing-explain {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 72px;
}

.billing-explain article,
.doc-card,
.doc-section {
  padding: 20px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 72px;
}

.auth-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: 34px;
  align-items: center;
}

.auth-intro h1 {
  max-width: 690px;
  color: var(--vb-ink);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
}

.auth-intro p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--vb-ink-soft);
  font-size: 17px;
  line-height: 1.72;
}

.auth-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.auth-path article,
.auth-card,
.role-grid article,
.auth-status {
  border: 1px solid rgba(213, 226, 229, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--vb-shadow-soft);
}

.auth-path article {
  padding: 16px;
}

.auth-path span {
  color: var(--vb-coral);
  font-size: 12px;
  font-weight: 900;
}

.auth-path strong,
.auth-path small,
.role-grid strong,
.role-grid span {
  display: block;
}

.auth-path strong {
  margin-top: 9px;
  color: var(--vb-ink);
}

.auth-path small,
.role-grid span {
  margin-top: 7px;
  color: var(--vb-ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.auth-card {
  padding: 22px;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.phone-verification {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.phone-verification .secondary-button {
  min-height: 44px;
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

.auth-status {
  margin-top: 14px;
  padding: 12px;
  color: var(--vb-ink-soft);
  background: rgba(232, 248, 247, 0.72);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.auth-status.is-success {
  border-color: rgba(22, 132, 95, 0.28);
  color: var(--vb-green);
  background: rgba(230, 247, 239, 0.86);
}

.auth-status.is-error {
  border-color: rgba(179, 38, 30, 0.28);
  color: var(--vb-red);
  background: rgba(255, 244, 241, 0.86);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.role-grid article {
  padding: 13px;
  background: rgba(247, 251, 250, 0.82);
}

.role-grid strong {
  color: var(--vb-teal-dark);
  font-size: 13px;
}

.docs-toc {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.docs-toc a {
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--vb-ink-soft);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 900;
  text-decoration: none;
}

.docs-toc a:hover {
  color: var(--vb-teal-dark);
}

.docs-content {
  display: grid;
  gap: 16px;
}

.doc-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-console {
  background: var(--vb-paper);
}

.product-console .console-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
}

.console-nav-group {
  display: block;
  margin: 12px 10px 3px;
  color: #879590;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-console .console-nav {
  gap: 2px;
}

.product-console .console-nav a {
  min-height: 32px;
  padding-inline: 10px;
  font-size: 13px;
}

.product-console .console-main {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 32px;
}

.template-review-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
  gap: 16px;
}

.template-review-layout .resource-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.template-review-decision {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(213, 226, 229, 0.92);
}

.template-review-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(213, 226, 229, 0.92);
}

.template-review-item > div {
  display: grid;
  gap: 4px;
}

.template-review-item span,
.template-review-item small {
  color: var(--vb-muted);
  font-size: 12px;
}

.template-review-item button {
  align-self: center;
  width: auto;
}

.console-overview {
  grid-template-columns: minmax(320px, 1.3fr) repeat(3, minmax(160px, 0.7fr));
  margin-bottom: 18px;
}

.overview-card {
  padding: 20px;
}

.primary-overview {
  background: linear-gradient(135deg, rgba(232, 248, 247, 0.96), rgba(255, 247, 241, 0.92));
}

.overview-card span,
.billing-summary span {
  display: block;
  color: var(--vb-muted);
  font-size: 12px;
  font-weight: 900;
}

.overview-card strong,
.billing-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--vb-ink);
  font-size: 30px;
}

.console-section {
  margin-top: 18px;
}

.onboarding-panel {
  margin: 18px 0;
  border: 1px solid rgba(213, 226, 229, 0.95);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 248, 247, 0.72));
  box-shadow: var(--vb-shadow-soft);
}

.onboarding-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: end;
}

.onboarding-head h2 {
  color: var(--vb-ink);
}

.onboarding-head p {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--vb-ink-soft);
  line-height: 1.65;
}

.onboarding-meter {
  display: grid;
  gap: 9px;
  color: var(--vb-teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.onboarding-bar {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(8, 113, 127, 0.20);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.onboarding-bar i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--vb-teal), var(--vb-green));
  transition: width 0.18s ease;
}

.onboarding-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.onboarding-step {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.82);
}

.onboarding-step.is-current {
  border-color: rgba(8, 113, 127, 0.46);
  box-shadow: 0 14px 36px rgba(8, 113, 127, 0.12);
}

.onboarding-step.is-done {
  background: rgba(237, 249, 242, 0.84);
}

.onboarding-step-index {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--vb-teal-dark);
  background: rgba(232, 248, 247, 0.9);
  font-size: 12px;
  font-weight: 900;
}

.onboarding-step.is-done .onboarding-step-index {
  color: var(--vb-green);
  background: rgba(230, 247, 239, 0.92);
}

.onboarding-step span,
.onboarding-step small {
  display: block;
  color: var(--vb-muted);
  font-size: 12px;
  font-weight: 900;
}

.onboarding-step h3 {
  margin: 5px 0 8px;
  color: var(--vb-ink);
  font-size: 15px;
  line-height: 1.25;
}

.onboarding-step p {
  margin: 0;
  color: var(--vb-ink-soft);
  font-size: 13px;
  line-height: 1.52;
}

.onboarding-step small {
  margin-top: 10px;
  color: var(--vb-coral);
}

.onboarding-step button {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.section-row-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 12px;
}

.section-row-title h2 {
  color: var(--vb-ink);
}

.console-template-card {
  min-height: 244px;
}

.console-template-card.is-selected {
  border-color: rgba(8, 113, 127, 0.48);
  box-shadow: 0 16px 46px rgba(8, 113, 127, 0.13);
}

.product-console .product-workbench {
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  gap: 18px;
  margin-top: 18px;
}

.product-console .quality-panel {
  grid-column: 1 / -1;
  position: relative;
  top: auto;
}

.schema-box {
  margin-top: 16px;
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 12px;
  background: rgba(247, 251, 250, 0.78);
}

.schema-box strong,
.selected-template strong {
  display: block;
  color: var(--vb-ink);
}

.selected-template {
  border: 1px solid rgba(8, 113, 127, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: rgba(232, 248, 247, 0.72);
}

.selected-template span,
.selected-template small {
  display: block;
  color: var(--vb-muted);
  font-size: 12px;
  font-weight: 900;
}

.selected-template small {
  margin-top: 5px;
  color: var(--vb-ink-soft);
  font-weight: 700;
  line-height: 1.5;
}

.table-panel {
  overflow: hidden;
}

.number-route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 16px;
}

.compliance-secondary-grid {
  margin-top: 16px;
}

.number-route-grid .table-panel {
  padding: 18px;
  overflow: visible;
}

.inline-head h3 {
  margin: 0;
  color: var(--vb-ink);
  font-size: 16px;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 0.7fr 0.7fr 0.6fr;
  gap: 12px;
  padding: 13px 16px;
  border-top: 1px solid rgba(213, 226, 229, 0.76);
  color: var(--vb-ink-soft);
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: var(--vb-muted);
  background: rgba(247, 251, 250, 0.84);
  font-size: 12px;
  font-weight: 900;
}

.status-dot.good {
  width: fit-content;
  color: var(--vb-green);
  border-color: rgba(22, 132, 95, 0.20);
  background: rgba(230, 247, 239, 0.88);
}

.product-console .resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.call-review-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
}

.call-list-panel,
.call-detail-panel {
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 18px;
  background: var(--vb-panel);
  box-shadow: var(--vb-shadow);
}

.call-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.call-list-item {
  width: 100%;
  min-height: 74px;
  display: block;
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-left: 4px solid rgba(8, 113, 127, 0.18);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--vb-ink-soft);
  background: rgba(247, 251, 250, 0.78);
  box-shadow: none;
  text-align: left;
}

.call-list-item:hover,
.call-list-item.is-selected {
  border-color: rgba(8, 113, 127, 0.42);
  border-left-color: var(--vb-teal);
  color: var(--vb-ink);
  background: rgba(232, 248, 247, 0.82);
  transform: none;
}

.call-list-item strong,
.call-list-item span,
.call-list-item em {
  display: block;
  overflow-wrap: anywhere;
}

.call-list-item strong {
  color: var(--vb-ink);
  font-size: 14px;
}

.call-list-item span {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
}

.call-list-item em {
  margin-top: 7px;
  color: var(--vb-coral);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.call-detail-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.detail-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.compact-button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.danger-button {
  border-color: rgba(193, 63, 63, 0.24);
  color: var(--vb-red);
  background: rgba(255, 247, 247, 0.92);
}

.danger-button:hover {
  border-color: rgba(193, 63, 63, 0.38);
  background: rgba(255, 238, 238, 0.96);
}

.detail-status {
  margin-top: 10px;
  border: 1px solid rgba(8, 113, 127, 0.14);
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--vb-muted);
  background: rgba(232, 248, 247, 0.52);
  font-size: 12px;
  font-weight: 800;
}

.review-workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.review-step {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: space-between;
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 12px;
  background: rgba(247, 251, 250, 0.78);
}

.review-step.is-current {
  border-color: rgba(8, 113, 127, 0.42);
  background: rgba(232, 248, 247, 0.78);
}

.review-step.is-done {
  background: rgba(237, 249, 242, 0.84);
}

.review-step span,
.review-step small {
  display: block;
  color: var(--vb-muted);
  font-size: 12px;
  font-weight: 900;
}

.review-step h4 {
  margin: 5px 0 7px;
  color: var(--vb-ink);
  font-size: 14px;
  line-height: 1.3;
}

.review-step p {
  margin: 0;
  color: var(--vb-ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.review-step small {
  margin-top: 8px;
  color: var(--vb-coral);
}

.call-detail-summary > div {
  min-height: 76px;
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 11px;
  background: rgba(247, 251, 250, 0.78);
}

.call-detail-summary span {
  display: block;
  color: var(--vb-muted);
  font-size: 12px;
  font-weight: 900;
}

.call-detail-summary strong {
  display: block;
  margin-top: 7px;
  color: var(--vb-ink);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.call-detail-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
  margin-top: 16px;
}

.call-detail-grid h4 {
  margin: 0 0 10px;
  color: var(--vb-ink);
  font-size: 14px;
}

.quality-list.compact {
  margin: 0;
}

.scorecard-run-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.scorecard-run-item {
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 11px;
  background: rgba(247, 251, 250, 0.78);
}

.scorecard-run-item strong,
.scorecard-run-item span,
.scorecard-run-item em {
  display: block;
  overflow-wrap: anywhere;
}

.scorecard-run-item strong {
  color: var(--vb-ink);
  font-size: 13px;
}

.scorecard-run-item span,
.scorecard-run-item li {
  color: var(--vb-ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.scorecard-run-item em {
  margin-top: 5px;
  color: var(--vb-coral);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.scorecard-run-item ul {
  margin: 8px 0 0;
  padding-left: 17px;
}

.console-timeline.compact {
  max-height: 360px;
  overflow: auto;
}

.account-billing-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  margin-bottom: 48px;
}

.billing-card {
  padding: 20px;
}

.billing-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.billing-summary div,
.plan-option,
.usage-item,
.payment-item,
.invoice-list article {
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 12px;
  background: rgba(247, 251, 250, 0.78);
}

.plan-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.payment-method-control {
  margin: 0 0 12px;
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 12px;
  background: rgba(247, 251, 250, 0.78);
}

.plan-option {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  text-align: left;
}

.plan-option.is-active {
  border-color: rgba(8, 113, 127, 0.48);
  background: rgba(232, 248, 247, 0.82);
}

.plan-option strong,
.usage-item strong,
.payment-item strong {
  color: var(--vb-ink);
}

.plan-option span,
.usage-item span,
.payment-item span {
  color: var(--vb-ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.plan-option em,
.usage-item em,
.payment-item em {
  color: var(--vb-coral);
  font-style: normal;
  font-weight: 900;
}

.plan-option button,
.payment-item button {
  margin-top: auto;
}

.billing-subsection {
  margin-top: 18px;
}

.compact-row {
  margin-bottom: 10px;
}

.compact-row h3 {
  margin: 0;
  color: var(--vb-ink);
  font-size: 16px;
}

.usage-item-list,
.payment-list {
  display: grid;
  gap: 8px;
}

.payment-list + .payment-list {
  margin-top: 8px;
}

.usage-item,
.payment-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.usage-item small,
.payment-item small {
  display: block;
  margin-top: 4px;
  color: var(--vb-muted);
  font-size: 12px;
  line-height: 1.45;
}

.invoice-list {
  display: grid;
  gap: 8px;
}

.invoice-list article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--vb-ink-soft);
}

.invoice-list em {
  color: var(--vb-coral);
  font-style: normal;
  font-weight: 900;
}

.login-form,
.account-form,
.invoice-form {
  display: grid;
  gap: 12px;
}

.login-form {
  margin-bottom: 16px;
  border: 1px solid rgba(8, 113, 127, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(232, 248, 247, 0.72);
}

.account-form {
  border-top: 1px solid rgba(213, 226, 229, 0.92);
  padding-top: 16px;
}

.invoice-form {
  margin-bottom: 12px;
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 12px;
  background: rgba(247, 251, 250, 0.78);
}

.member-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  border-top: 1px solid rgba(213, 226, 229, 0.92);
  padding-top: 16px;
}

.security-subsection {
  margin-top: 16px;
  border-top: 1px solid rgba(213, 226, 229, 0.92);
  padding-top: 16px;
}

.retention-form,
.audit-log-list {
  display: grid;
  gap: 10px;
}

.toggle-line {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(247, 251, 250, 0.78);
  color: var(--vb-ink-soft);
  font-size: 13px;
}

.toggle-line input {
  width: 16px;
  height: 16px;
  accent-color: var(--vb-teal);
}

.audit-log-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(213, 226, 229, 0.92);
  border-radius: 8px;
  padding: 11px;
  background: rgba(247, 251, 250, 0.78);
}

.audit-log-item strong,
.audit-log-item span {
  display: block;
  overflow-wrap: anywhere;
}

.audit-log-item strong {
  color: var(--vb-ink);
}

.audit-log-item span {
  margin-top: 4px;
  color: var(--vb-ink-soft);
  font-size: 12px;
}

.audit-log-item em {
  color: var(--vb-coral);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.member-list {
	display: grid;
	gap: 8px;
	margin-top: 14px;
}

.invitation-list {
	margin-bottom: 14px;
}

.role-permission-box {
	display: grid;
	gap: 6px;
	margin: 14px 0;
	padding: 12px;
	border: 1px solid rgba(213, 226, 229, 0.92);
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(238, 249, 249, 0.92), rgba(255, 248, 242, 0.88));
}

.role-permission-box strong {
	color: var(--vb-ink);
	font-size: 14px;
}

.role-permission-box span {
	color: var(--vb-ink-soft);
	font-size: 13px;
	line-height: 1.5;
}

.role-permission-box em {
	color: var(--vb-teal);
	font-size: 12px;
	font-style: normal;
	font-weight: 900;
}

.role-permission-box.is-restricted {
	border-color: rgba(234, 179, 8, 0.32);
	background: rgba(255, 251, 235, 0.78);
}

.member-item {
	border: 1px solid rgba(213, 226, 229, 0.92);
	border-radius: 8px;
	padding: 11px;
	background: rgba(247, 251, 250, 0.78);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
}

.member-main {
	min-width: 0;
}

.member-main strong,
.member-main span,
.member-main em {
	display: block;
	overflow-wrap: anywhere;
}

.member-main strong {
	color: var(--vb-ink);
}

.member-main span {
	margin-top: 4px;
	color: var(--vb-ink-soft);
	font-size: 13px;
}

.member-main em {
	margin-top: 8px;
	color: var(--vb-coral);
	font-size: 12px;
	font-style: normal;
	font-weight: 900;
}

.member-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.member-actions select {
	width: 128px;
	min-height: 36px;
}

@media (max-width: 1180px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-capability-grid,
  .pricing-grid,
  .billing-explain,
  .onboarding-steps,
  .plan-picker,
  .console-overview,
  .call-review-layout,
  .call-detail-grid,
  .review-workflow,
  .account-billing-grid,
  .number-route-grid,
  .product-console .resource-grid,
  .product-console .product-workbench {
    grid-template-columns: 1fr 1fr;
  }

  .primary-overview,
  .product-console .quality-panel {
    grid-column: 1 / -1;
  }

  .template-detail-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
	.member-item {
		grid-template-columns: 1fr;
	}

	.member-actions {
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}

@media (max-width: 760px) {
  .product-section,
  .product-flow,
  .product-api,
  .page-hero,
  .pricing-grid,
  .billing-explain,
  .docs-layout,
  .template-detail-grid {
    width: min(100% - 32px, 1180px);
  }

  .product-site .site-nav,
  .product-site .site-footer {
    align-items: stretch;
  }

  .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    gap: 2px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding-inline: 8px;
    white-space: nowrap;
  }

  .workflow-steps,
  .product-capability-grid,
  .auth-shell,
  .auth-path,
  .role-grid,
  .onboarding-head,
  .onboarding-steps,
  .pricing-grid,
  .billing-explain,
  .docs-layout,
  .api-table div,
  .doc-grid,
  .console-overview,
  .call-review-layout,
  .call-detail-grid,
  .call-detail-summary,
  .account-billing-grid,
  .number-route-grid,
  .product-console .resource-grid,
  .product-console .product-workbench,
  .template-detail-body,
  .billing-summary {
    grid-template-columns: 1fr;
  }

  .template-review-layout {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .template-review-layout .resource-panel,
  .template-review-layout form,
  .template-review-layout input,
  .template-review-layout select,
  .template-review-layout textarea,
  .template-review-layout button {
    min-width: 0;
    max-width: 100%;
  }

  .api-table code {
    justify-self: start;
  }

  .template-detail-card footer,
  .section-row-title,
  .invoice-list article {
    align-items: stretch;
    flex-direction: column;
  }

  .docs-toc,
  .product-console .console-sidebar {
    position: relative;
    top: auto;
    height: auto;
  }

  .product-console .console-main {
    padding: 16px;
  }

  .table-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .product-site .site-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .product-site .site-nav .nav-links {
    display: none;
  }

  .product-site .site-nav.is-nav-open .nav-links {
    display: flex;
  }

  .product-console .console-sidebar {
    position: fixed;
    top: 0;
    height: 100dvh;
  }
}
