/* Shared design tokens for the public website and its Next.js presentation. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Fira Code";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/fira-code-latin-400.woff2") format("woff2");
}

:root {
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-display: var(--font-body);
  --font-mono: "Fira Code", Consolas, monospace;
  --bg: #0B0F19;
  --panel: #111827;
  --panel-soft: #172033;
  --surface: #111827;
  --surface-elevated: #172033;
  --surface-soft: rgba(99, 102, 241, 0.1);
  --accent: #6366F1;
  --accent-2: #4F46E5;
  --accent-ink: #ffffff;
  --link: #a5b4fc;
  --ring: 0 0 0 4px rgba(99, 102, 241, 0.22);
  --radius: 20px;
  --radius-card: 16px;
}

html[data-theme="light"] {
  --bg: #f8fafc;
  --panel: #ffffff;
  --panel-soft: #eef2ff;
  --surface: #ffffff;
  --surface-elevated: #f8fafc;
  --surface-soft: rgba(99, 102, 241, 0.06);
  --accent: #6366F1;
  --accent-2: #4F46E5;
  --link: #4338ca;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
}

h1, h2, h3, h4, .brand-wordmark {
  font-family: var(--font-display);
}

code, pre, .doc-code, .doc-option-chip {
  font-family: var(--font-mono);
}

.site-header {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-color: var(--line);
}

.solid-btn {
  background: var(--accent);
  color: #ffffff;
}

.solid-btn:hover {
  background: var(--accent-2);
}

.doc-code {
  background: #030712;
  color: #e5e7eb;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Shared shell for pages that retain live pricing, contact, and account forms. */
:root { --text: #eef2ff; --muted: #9ba9bf; --line: #273247; --accent-text: #a5b4fc; --header-height: 72px; }
html[data-theme="light"] { --text: #111827; --muted: #536176; --line: #d6dce8; --accent-text: #4338ca; }
html { scroll-padding-top: 96px; background: var(--bg); }
body { background: var(--bg); background-image: none; animation: none; }
html[data-theme] body { background: var(--bg); background-image: none; color: var(--text); font-family: var(--font-body); }
body::before, body::after { display: none; }
body button, body input, body select, body textarea { font-family: var(--font-body); }
[hidden] { display: none !important; }
.site-header, .site-header.is-scrolled { height: 72px; top: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: var(--bg); box-shadow: none; backdrop-filter: none; }
.site-header .header-inner { width: 100%; max-width: 1600px; height: 100%; min-height: 0; display: flex; align-items: center; grid-template-columns: none; gap: 38px; padding: 0 36px; margin-inline: auto; }
.site-header .header-inner.container { width: 100%; }
.site-header::before, .site-header::after, .site-header .header-inner::before, .site-header .header-inner::after { display: none; }
.site-header .header-inner .brand { width: 122px; min-width: 0; max-width: none; }
.site-header .header-inner .brand { display: flex; flex: 0 0 auto; padding: 0; margin: 0; gap: 0; min-height: 0; line-height: 1; }
.site-header .header-inner .brand-logo { width: 122px; height: 40px; min-width: 0; min-height: 0; flex: 0 0 auto; margin: 0; padding: 0; object-fit: contain; transform: none; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.site-header .header-inner .main-nav { display: flex; position: static; align-items: center; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; width: auto; min-width: 0; gap: 24px; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.site-header .header-inner .main-nav a { position: relative; flex: 0 0 auto; padding: 24px 0; color: var(--muted); font-family: var(--font-body); font-size: 13px; font-weight: 500; line-height: 23px; text-transform: none; letter-spacing: 0; white-space: nowrap; border: 0; border-radius: 0; background: transparent; text-decoration: none; }
.site-header .header-inner .main-nav a:is(:hover, :focus-visible, .is-active) { color: var(--text); background: transparent; border: 0; box-shadow: none; }
.site-header .header-inner .main-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); border: 0; }
.site-header .header-inner .php-shell-mobile-portal { display: none; }
.site-header .header-inner .header-controls { display: flex; position: static; align-items: center; flex: 0 0 auto; gap: 12px; margin: 0 0 0 auto; padding: 0; }
.site-header .theme-toggle, .site-header .menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; min-height: 0; margin: 0; padding: 8px; border: 1px solid transparent; border-radius: 6px; background: transparent; box-shadow: none; color: var(--muted); }
.site-header .theme-toggle:hover { border-color: var(--line); background: var(--surface); color: var(--text); }
.site-header .theme-toggle-icon { font: 20px/1 var(--font-body); }
.site-header .header-inner .menu-toggle { display: none; }
.site-header .php-shell-search { display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 216px; height: 36px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); font: 12px/1.4 var(--font-body); cursor: pointer; }
.php-shell-search svg, .php-command-input svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; }
.php-shell-search kbd { margin-left: auto; }
.php-shell-search kbd, .php-command kbd { padding: 1px 4px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--muted); font: 10px var(--font-mono); }
.site-header .php-shell-portal { display: inline-flex; align-items: center; gap: 6px; margin-left: 0; padding-left: 20px; border: 0; border-left: 1px solid var(--line); background: none; border-radius: 0; color: var(--text); font-size: 12px; line-height: 20px; text-decoration: none; white-space: nowrap; }
.site-header .php-shell-portal span { color: var(--muted); }
.site-header :focus-visible, .php-command :focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.skip-link { z-index: 1000; color: #fff; background: #4f46e5; }

.php-command { position: fixed; inset: 0; padding: 0; width: min(640px, calc(100% - 32px)); max-height: min(680px, calc(100dvh - 64px)); margin: 96px auto auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: 0 32px 120px #0009; font-family: var(--font-body); }
.php-command::backdrop { background: #030712b3; backdrop-filter: blur(5px); }
.php-command-inner { padding: 20px; }
.php-command-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.php-command-heading h2 { margin: 0; font: 600 15px/1.5 var(--font-body); letter-spacing: -.01em; }
.php-command-heading button { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); font-size: 24px; cursor: pointer; }
.php-command-heading button:hover { background: var(--panel-soft); color: var(--text); }
.php-command-input { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); }
.php-command-input:focus-within { border-color: var(--accent-text); }
.php-command-input input { width: 100%; min-width: 0; padding: 0; border: 0; outline: none; box-shadow: none; background: transparent; color: var(--text); font: 15px/1.6 var(--font-body); }
.php-command-input input::placeholder { color: var(--muted); opacity: 1; }
.php-command-label { margin: 20px 6px 8px; color: var(--muted); font: 10px/1.6 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.php-command-results { max-height: 400px; overflow-y: auto; margin: 0; padding: 0; list-style: none; }
.php-command-results a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 11px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--text); font-size: 13px; line-height: 1.6; text-decoration: none; overflow-wrap: anywhere; }
.php-command-results small { grid-column: 1; color: var(--muted); font: 10px/1.6 var(--font-mono); }
.php-command-results a > span:last-child { grid-column: 2; grid-row: 1 / 3; color: var(--muted); }
.php-command-results a.is-active, .php-command-results a:hover { background: var(--panel-soft); }
.php-command-footer { display: flex; flex-wrap: wrap; gap: 20px; margin: 16px -20px -20px; padding: 12px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.php-command-error { padding: 12px; border-left: 2px solid #d4a64e; color: var(--muted); font-size: 12px; line-height: 1.7; }
.php-command-error p { margin: 0 0 8px; }
.php-command-error button { padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--text); cursor: pointer; }
.php-command-error a { margin-left: 8px; color: var(--accent-text); }
.php-command-empty { padding: 24px 12px; font-size: 14px; }
.php-command-empty p { color: var(--muted); }
.php-command-empty a { color: var(--accent-text); }

body:is(.route-pricing, .route-contact, .route-customer-portal) .site-main { background: var(--bg); }
body:is(.route-pricing, .route-contact, .route-customer-portal) .site-main::before,
body:is(.route-pricing, .route-contact, .route-customer-portal) .site-main::after { display: none; }
body:is(.route-pricing, .route-contact, .route-customer-portal) .site-main .reveal { opacity: 1; transform: none; transition: none; }
body:is(.route-pricing, .route-contact, .route-customer-portal) .container { width: min(1344px, calc(100% - 96px)); }
body:is(.route-pricing, .route-contact, .route-customer-portal) :is(h1, h2, h3, h4) { font-family: var(--font-body); color: var(--text); letter-spacing: -.025em; }
body:is(.route-pricing, .route-contact, .route-customer-portal) :is(.solid-btn, .link-btn) { min-height: 44px; padding: 10px 16px; border-radius: 6px; font-size: 13px; line-height: 1.5; font-weight: 500; text-decoration: none; transform: none; box-shadow: none; }
body:is(.route-pricing, .route-contact, .route-customer-portal) .solid-btn { background: #4f46e5; color: #fff; border: 1px solid #6366f1; }
body:is(.route-pricing, .route-contact, .route-customer-portal) .solid-btn:hover { background: #4338ca; }
body:is(.route-pricing, .route-contact, .route-customer-portal) .link-btn { background: var(--surface); border: 1px solid var(--line); color: var(--text); }
body:is(.route-pricing, .route-contact, .route-customer-portal) :is(.page-hero, .hero-shell, .hero-copy, .section, .contact-shell, .portal-section) { background: transparent; box-shadow: none; }
body:is(.route-pricing, .route-contact, .route-customer-portal) :is(.page-hero, .hero-shell, .hero-copy, .section)::before,
body:is(.route-pricing, .route-contact, .route-customer-portal) :is(.page-hero, .hero-shell, .hero-copy, .section)::after { display: none; }
body.route-pricing .pricing-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; margin-block: 0; padding: 96px 0; border: 0; border-radius: 0; }
body.route-pricing .pricing-hero .hero-copy { min-width: 0; margin: 0; padding: 0; }
body.route-pricing .pricing-hero h1 { max-width: 700px; margin: 20px 0; font-size: clamp(36px, 4.5vw, 60px); font-weight: 650; line-height: 1.12; letter-spacing: -.055em; }
body.route-pricing .pricing-hero p { max-width: 660px; color: var(--muted); font-size: 16px; line-height: 1.85; }
body.route-pricing .landing-eyebrow, body.route-contact .contact-form-head .contact-kicker { display: block; width: auto; padding: 0; margin: 0 0 18px; border: 0; border-radius: 0; box-shadow: none; background: transparent; color: var(--accent-text); font: 10px/1.7 var(--font-mono); font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
body.route-pricing .landing-eyebrow::before, body.route-pricing .landing-eyebrow::after { display: none; }
body.route-pricing .hero-illustration { align-self: center; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; }
body.route-pricing .hero-illustration::before, body.route-pricing .hero-illustration::after { display: none; }
body.route-pricing .hero-illustration img { border: 1px solid var(--line); border-radius: 8px; transform: none; }
body.route-pricing .hero-illustration figcaption { padding: 12px 0; background: transparent; border: 0; color: var(--muted); font-size: 11px; }
body.route-pricing .section { padding-block: 48px; border: 0; border-radius: 0; }
body.route-pricing :is(.pricing-summary-card, .pricing-confidence-card, .pricing-fit-card) { padding: 20px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
body.route-pricing .price-card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: none; transform: none; }
body.route-pricing .price-card.highlight { border-color: var(--accent); background: var(--surface); box-shadow: none; }
body.route-pricing .price-card::before, body.route-pricing .price-card::after { display: none; }
body.route-pricing .pill { border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 11px; font-weight: 400; }
body.route-pricing .pricing-hero .pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
body.route-pricing .pricing-hero .pill { width: auto; padding: 6px 9px; font-size: 10px; }
body.route-pricing .price-badge { background: #6366f11a; border-color: #6366f155; color: var(--accent-text); font-weight: 500; }
body.route-pricing .pricing-compare-table { font-size: 13px; }
body.route-contact .contact-shell { padding-block: 72px; }
body.route-contact .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 72px; }
body.route-contact :is(.contact-form-card, .contact-info-card, .contact-coverage-card) { padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--text); box-shadow: none; overflow: visible; }
body.route-contact .contact-form-head { padding: 0 0 32px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); }
body.route-contact .contact-form-head::after { display: none; }
body.route-contact .contact-form-head .contact-kicker::before, body.route-contact .contact-form-head .contact-kicker::after { display: none; }
body.route-contact .contact-form-head h1 { margin: 20px 0; color: var(--text); font-size: clamp(36px, 4.5vw, 52px); line-height: 1.15; font-weight: 650; letter-spacing: -.045em; }
body.route-contact .contact-form-head p { color: var(--muted); font-size: 14px; line-height: 1.8; }
body.route-contact .contact-form-head .contact-form-note { margin-top: 12px; font-size: 12px; }
body.route-contact .contact-form-body { padding: 28px 0 0; }
body.route-contact .contact-form { gap: 22px; }
body.route-contact .contact-field span { font-size: 12px; font-weight: 500; color: var(--text); }
body.route-contact .contact-field :is(input, select, textarea),
body.route-customer-portal :is(.portal-form, .portal-inline-form) :is(input, select, textarea) { min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background-color: var(--surface); color: var(--text); box-shadow: none; font: 14px/1.6 var(--font-body); }
body.route-contact .contact-field input::placeholder, body.route-contact .contact-field textarea::placeholder { color: var(--muted); }
body.route-contact .contact-field :is(input, select, textarea):focus,
body.route-customer-portal :is(.portal-form, .portal-inline-form) :is(input, select, textarea):focus { outline: 2px solid var(--accent-text); outline-offset: 2px; border-color: var(--accent); box-shadow: none; }
body.route-contact .contact-info-stack { gap: 40px; padding-top: 12px; }
body.route-contact .contact-info-card h2 { margin-top: 0; font-size: 17px; font-weight: 550; }
body.route-contact .contact-info-item { padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
body.route-contact .contact-info-badge { border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--accent-text); font: 11px var(--font-mono); box-shadow: none; }
body.route-contact .contact-info-copy h3 { font-size: 12px; font-weight: 550; }
body.route-contact .contact-info-copy small { color: var(--muted); font-size: 11px; }
body.route-contact .contact-coverage-card { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
body.route-contact .contact-coverage-media { height: auto; min-height: 0; overflow: visible; }
body.route-contact .contact-coverage-media img { height: auto; min-height: 0; object-fit: contain; }
body.route-customer-portal .portal-auth-shell { width: min(1100px, calc(100% - 96px)); margin: 0 auto; padding: 72px 0; min-height: calc(100dvh - 72px); border: 0; border-radius: 0; box-shadow: none; }
body.route-customer-portal .portal-auth-shell::before, body.route-customer-portal .portal-auth-shell::after,
body.route-customer-portal .portal-auth-layout::before, body.route-customer-portal .portal-auth-layout::after { display: none; }
body.route-customer-portal .portal-auth-layout { gap: 80px; }
body.route-customer-portal :is(.portal-card, .portal-auth-copy, .portal-auth-step, .portal-profile-group, .portal-form-panel, .portal-report-chart-panel, .portal-report-threshold-panel, .portal-report-drilldown-panel) { border-color: var(--line); border-radius: 8px; background: var(--surface); box-shadow: none; }
body.route-customer-portal .portal-auth-copy { padding: 0; border: 0; border-radius: 0; background: transparent; }
body.route-customer-portal .portal-auth-copy::before, body.route-customer-portal .portal-auth-copy::after,
body.route-customer-portal .portal-auth-card::before, body.route-customer-portal .portal-auth-card::after { display: none; }
body.route-customer-portal .portal-auth-copy h1 { font-size: clamp(36px, 4vw, 48px); line-height: 1.15; letter-spacing: -.045em; }
body.route-customer-portal .portal-auth-step { padding: 16px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
body.route-customer-portal .portal-auth-step h3 { color: var(--text); }
body.route-customer-portal .portal-auth-step p { color: var(--muted); }
body.route-customer-portal .portal-auth-card { padding: 28px; border: 1px solid var(--line); }
body.route-customer-portal .portal-auth-card h2 { font-size: 28px; line-height: 1.3; }
body.route-customer-portal .portal-auth-card :is(p, .portal-auth-switch) { color: var(--muted); font-size: 13px; }
body.route-customer-portal .portal-auth-switch a { color: var(--accent-text); }
body.route-customer-portal .portal-tabs { border-color: var(--line); background: var(--bg); }
body.route-customer-portal .portal-tabs a.is-active { background: #6366f11a; border-color: #6366f155; color: var(--accent-text); }
body:is(.route-pricing, .route-contact, .route-customer-portal) .site-footer { margin-top: 64px; background: var(--bg); border-top: 1px solid var(--line); }

@media (max-width: 1199px) {
  .site-header .header-inner { gap: 24px; padding-inline: 24px; }
  .site-header .header-inner .main-nav { gap: 16px; }
  .site-header .php-shell-search { width: 40px; height: 40px; padding: 8px; justify-content: center; }
  .site-header .php-shell-search > span, .site-header .php-shell-search kbd { display: none; }
  body.route-contact .contact-grid { gap: 40px; }
  body.route-customer-portal .portal-auth-layout { gap: 40px; }
}
@media (min-width: 800px) {
  .site-header.menu-open .header-inner .main-nav { display: flex; }
  body.menu-open { overflow: auto; }
}
@media (max-width: 799px) {
  .site-header .header-inner { padding-inline: 20px; gap: 16px; }
  .site-header .header-inner .header-controls { gap: 4px; }
  .site-header .header-inner .main-nav { display: none; position: absolute; top: 71px; left: 0; right: 0; width: 100%; padding: 16px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px #0003; }
  .site-header.menu-open .header-inner .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header .header-inner .main-nav a { padding: 12px; min-height: 44px; border: 0; border-radius: 4px; font-size: 15px; }
  .site-header .header-inner .main-nav a.is-active { background: var(--surface); }
  .site-header .header-inner .main-nav a.is-active::after { display: none; }
  .site-header .header-inner .main-nav .php-shell-mobile-portal { display: block; color: var(--accent-text); }
  .site-header .php-shell-portal { display: none; }
  .site-header .header-inner .menu-toggle { display: inline-flex; flex-direction: column; gap: 4px; width: 44px; height: 44px; }
  .site-header .menu-toggle span { display: block; width: 16px; height: 1px; margin: 0; background: currentColor; }
  .site-header .theme-toggle, .site-header .php-shell-search { width: 44px; height: 44px; }
  .php-command { margin-top: 24px; max-height: calc(100dvh - 48px); }
  .php-command-results { max-height: calc(100dvh - 300px); }
  .php-command-input input { font-size: 16px; }
  .php-command-heading button, .php-command-error button { min-height: 44px; }
  body:is(.route-pricing, .route-contact, .route-customer-portal) .container { width: calc(100% - 40px); }
  body.route-pricing .pricing-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 64px; }
  body.route-pricing .section { padding-block: 32px; }
  body.route-pricing .pricing-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.route-contact .contact-shell { padding-block: 48px; }
  body.route-contact .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  body.route-contact .contact-form-row { grid-template-columns: minmax(0, 1fr); }
  body.route-contact .contact-field :is(input, select, textarea), body.route-customer-portal :is(.portal-form, .portal-inline-form) :is(input, select, textarea) { font-size: 16px; }
  body.route-contact .contact-form-actions { align-items: flex-start; }
  body.route-contact .contact-info-stack { gap: 32px; }
  body.route-contact .contact-coverage-card { margin-top: 48px; }
  body.route-customer-portal .portal-auth-shell { width: calc(100% - 40px); padding-block: 48px; }
  body.route-customer-portal .portal-auth-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  body.route-customer-portal .portal-auth-card { padding: 22px; }
}
@media (max-width: 420px) {
  .site-header .header-inner { gap: 8px; }
  .site-header .header-inner .brand-logo { width: 100px; }
  .site-header .header-inner .brand { width: 100px; }
  .site-header .header-inner .header-controls { gap: 0; }
  .php-command-footer { gap: 12px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header *, .php-command *, body:is(.route-pricing, .route-contact, .route-customer-portal) * { scroll-behavior: auto; animation-duration: .01ms; transition-duration: .01ms; }
}

/* Open contact page and compact account workspace share the product typography. */
html[data-theme] .route-contact .contact-shell { padding-block: 96px; gap: 0; }
html[data-theme] .route-contact .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 96px; }
html[data-theme] .route-contact .contact-form-head { padding-bottom: 32px; border: 0; }
html[data-theme] .route-contact .contact-form-head h1 { max-width: 650px; margin-block: 20px; font-size: clamp(36px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.05em; }
html[data-theme] .route-contact .contact-form-head > p { max-width: 600px; font-size: 15px; }
html[data-theme] .route-contact .contact-form-head .contact-form-note { font-size: 12px; }
html[data-theme] .route-contact .contact-kicker { display: block; width: auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--accent-text); font: 10px/1.7 var(--font-mono); letter-spacing: .12em; }
html[data-theme] .route-contact .contact-kicker::before, html[data-theme] .route-contact .contact-kicker::after { display: none; }
html[data-theme] .route-contact .contact-form-body { padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
html[data-theme] .route-contact .contact-form { gap: 24px; }
html[data-theme] .route-contact .contact-form-row { gap: 20px; }
html[data-theme] .route-contact .contact-field { gap: 8px; }
html[data-theme] .route-contact .contact-field span { color: var(--text); font-size: 12px; font-weight: 500; text-transform: none; letter-spacing: 0; }
html[data-theme] .route-contact .contact-field :is(input, select, textarea) { padding: 11px 12px; border-color: var(--line); border-radius: 5px; background-color: var(--bg); color: var(--text); }
html[data-theme] .route-contact .contact-field textarea { min-height: 160px; max-width: 100%; resize: vertical; }
html[data-theme] .route-contact .contact-info-stack { gap: 40px; padding-top: 8px; }
html[data-theme] .route-contact .contact-info-card h2 { margin: 0 0 8px; font-size: 16px; font-weight: 550; letter-spacing: -.02em; }
html[data-theme] .route-contact .contact-info-item { gap: 14px; padding-block: 20px; }
html[data-theme] .route-contact .contact-info-badge { width: 30px; height: 30px; min-height: 0; border-color: var(--line); background: var(--surface); color: var(--accent-text); font: 10px var(--font-mono); }
html[data-theme] .route-contact .contact-info-copy h3 { margin-bottom: 6px; color: var(--text); font-size: 12px; font-weight: 550; }
html[data-theme] .route-contact .contact-info-copy p { font-size: 14px; overflow-wrap: anywhere; }
html[data-theme] .route-contact .contact-info-copy small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.7; }
html[data-theme] .route-contact .contact-link-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
html[data-theme] .route-contact .contact-link-btn { display: flex; justify-content: space-between; min-height: 44px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--muted); text-align: left; font-size: 12px; }
html[data-theme] .route-contact .contact-link-btn::after { content: "↗"; margin-left: 12px; color: var(--accent-text); }
html[data-theme] .route-contact .contact-link-btn:hover { color: var(--text); }
html[data-theme] .route-contact .contact-coverage-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; margin-top: 96px; padding-top: 80px; border-color: var(--line); }
html[data-theme] .route-contact .contact-coverage-copy h2 { margin-block: 16px; font-size: clamp(28px, 3vw, 38px); font-weight: 550; line-height: 1.25; letter-spacing: -.04em; }
html[data-theme] .route-contact .contact-coverage-copy p { color: var(--muted); font-size: 14px; line-height: 1.8; }
html[data-theme] .route-contact .contact-coverage-list { display: grid; gap: 10px; margin-top: 24px; padding-left: 18px; color: var(--muted); font-size: 13px; }
html[data-theme] .route-contact .contact-coverage-list li::marker { color: var(--accent-text); }
html[data-theme] .route-contact .contact-coverage-media { margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: none; }
html[data-theme] .route-contact .contact-coverage-media::before, html[data-theme] .route-contact .contact-coverage-media::after { display: none; }
html[data-theme] .route-contact .contact-coverage-media figcaption { padding: 14px 16px; border-top: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 11px; line-height: 1.7; }

html[data-theme] .route-customer-portal .portal-section { color: var(--text); font-size: 14px; line-height: 1.7; }
html[data-theme] .route-customer-portal .portal-auth-shell { width: min(1160px, calc(100% - 96px)); padding: 96px 0; min-height: calc(100dvh - 72px); align-content: start; }
html[data-theme] .route-customer-portal .portal-auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); gap: 112px; align-items: start; min-height: 0; }
html[data-theme] .route-customer-portal .portal-auth-copy { height: auto; min-height: 0; padding-top: 12px; }
html[data-theme] .route-customer-portal .portal-auth-copy h2 { max-width: 520px; margin: 20px 0; color: var(--text); font-size: clamp(30px, 3.4vw, 44px); font-weight: 550; line-height: 1.2; letter-spacing: -.045em; }
html[data-theme] .route-customer-portal .portal-auth-copy > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
html[data-theme] .route-customer-portal :is(.portal-summary-label, .portal-section-kicker) { display: block; width: auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--accent-text); font: 10px/1.7 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
html[data-theme] .route-customer-portal :is(.portal-summary-label, .portal-section-kicker)::before, html[data-theme] .route-customer-portal :is(.portal-summary-label, .portal-section-kicker)::after { display: none; }
html[data-theme] .route-customer-portal .portal-auth-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 32px; counter-reset: account-step; }
html[data-theme] .route-customer-portal .portal-auth-step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 5px 16px; padding: 18px 0; border-top: 1px solid var(--line); counter-increment: account-step; }
html[data-theme] .route-customer-portal .portal-auth-step::before { content: "0" counter(account-step); grid-row: 1 / span 2; padding-top: 2px; color: var(--accent-text); font: 11px/1.7 var(--font-mono); }
html[data-theme] .route-customer-portal .portal-auth-step strong { grid-column: 2; color: var(--text); font-size: 13px; font-weight: 550; }
html[data-theme] .route-customer-portal .portal-auth-step p { grid-column: 2; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
html[data-theme] .route-customer-portal .portal-auth-card { height: auto; min-height: 0; min-width: 0; padding: 32px; border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: 10px; background: var(--surface); align-self: start; }
html[data-theme] .route-customer-portal .portal-auth-card h2 { margin: 0 0 10px; color: var(--text); font-size: 26px; line-height: 1.3; font-weight: 550; letter-spacing: -.035em; }
html[data-theme] .route-customer-portal .portal-auth-card > p { margin-block: 0 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }
html[data-theme] .route-customer-portal .portal-auth-card .portal-form { margin-top: 24px; gap: 8px; }
html[data-theme] .route-customer-portal .portal-auth-card .portal-form > label { margin-top: 8px; }
html[data-theme] .route-customer-portal .portal-auth-card .portal-form + .portal-form { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
html[data-theme] .route-customer-portal .portal-auth-card .solid-btn { margin-top: 14px; }
html[data-theme] .route-customer-portal .portal-auth-card .portal-auth-switch { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; text-align: left; }
html[data-theme] .route-customer-portal .portal-auth-card .portal-auth-switch + .portal-auth-switch { margin-top: 8px; padding-top: 0; border: 0; }
html[data-theme] .route-customer-portal .portal-section:not(.portal-auth-shell) { width: min(1440px, calc(100% - 64px)); padding: 40px 0 64px; border: 0; border-radius: 0; }
html[data-theme] .route-customer-portal .portal-shell { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
html[data-theme] .route-customer-portal .portal-tabs { position: sticky; top: 96px; max-height: calc(100dvh - 120px); overflow-y: auto; gap: 3px; padding: 0 20px 12px 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
html[data-theme] .route-customer-portal .portal-tabs-intro { padding: 0 10px 20px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
html[data-theme] .route-customer-portal .portal-tabs-intro strong { display: block; margin-top: 8px; color: var(--text); font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
html[data-theme] .route-customer-portal .portal-tabs-intro p { margin: 4px 0 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
html[data-theme] .route-customer-portal .portal-tab-heading { padding: 8px 10px; color: var(--muted); font: 9px/1.6 var(--font-mono); letter-spacing: .08em; }
html[data-theme] .route-customer-portal .portal-tabs a { padding: 10px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.5; text-decoration: none; }
html[data-theme] .route-customer-portal .portal-tabs a:hover { background: var(--surface); color: var(--text); }
html[data-theme] .route-customer-portal .portal-tabs a.is-active { background: #6366f114; color: var(--accent-text); box-shadow: inset 2px 0 var(--accent); }
html[data-theme] .route-customer-portal .portal-tab-sublist { margin: 4px 0 8px 10px; padding-left: 8px; border-left: 1px solid var(--line); }
html[data-theme] .route-customer-portal .portal-logout-form { margin-top: 20px; }
html[data-theme] .route-customer-portal .portal-content { display: grid; min-width: 0; gap: 24px; }
html[data-theme] .route-customer-portal .portal-card:not(.portal-auth-card) { min-width: 0; overflow: visible; padding: 28px; border-color: var(--line); border-radius: 8px; background: var(--surface); box-shadow: none; }
html[data-theme] .route-customer-portal .portal-content > .portal-card > h2 { margin: 0 0 10px; font-size: 28px; font-weight: 550; line-height: 1.3; letter-spacing: -.035em; }
html[data-theme] .route-customer-portal .portal-card > p, html[data-theme] .route-customer-portal .portal-service-card .portal-license-card-title > p { max-width: 74ch; color: var(--muted); font-size: 13px; line-height: 1.8; }
html[data-theme] .route-customer-portal .portal-card :is(h3, h4) { color: var(--text); font-weight: 550; letter-spacing: -.015em; }
html[data-theme] .route-customer-portal .portal-card h3 { font-size: 15px; line-height: 1.5; }
html[data-theme] .route-customer-portal .portal-card h4 { font-size: 12px; line-height: 1.6; }
html[data-theme] .route-customer-portal :is(.portal-form, .portal-inline-form) :is(label, .portal-form-help) { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
html[data-theme] .route-customer-portal :is(.portal-form, .portal-inline-form) label { color: var(--text); font-weight: 500; }
html[data-theme] .route-customer-portal .portal-section :is(input, select, textarea) { max-width: 100%; border-color: var(--line); border-radius: 5px; background-color: var(--bg); color: var(--text); box-shadow: none; font: 13px/1.6 var(--font-body); }
html[data-theme] .route-customer-portal .portal-section select :is(option, optgroup) { background: var(--surface); color: var(--text); }
html[data-theme] .route-customer-portal .portal-section :is(input[readonly], input:disabled, select:disabled, textarea:disabled) { color: var(--muted); background-color: var(--surface); }
html[data-theme] .route-customer-portal .portal-section :is(input[type="checkbox"], input[type="radio"]) { width: 18px; height: 18px; min-height: 18px; flex: 0 0 18px; margin-top: 2px; padding: 0; accent-color: var(--accent); }
html[data-theme] .route-customer-portal :is(.portal-checkbox-inline, .portal-terms-checkbox) { min-height: 44px; gap: 10px; align-items: flex-start; }
html[data-theme] .route-customer-portal .portal-form-help { color: var(--muted); font-size: 12px; line-height: 1.7; }
html[data-theme] .route-customer-portal :is(.portal-action-grid, .portal-runner-grid, .portal-profile-layout, .portal-license-summary-grid, .portal-offer-summary-grid, .portal-service-summary-grid) { gap: 16px; }
html[data-theme] .route-customer-portal :is(.portal-profile-group, .portal-form-panel, .portal-license-card-section) { padding: 20px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
html[data-theme] .route-customer-portal :is(.portal-admin-license-card, .portal-license-detail-card, .portal-enterprise-offer-card, .portal-runner-card, .portal-machine-card) { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); box-shadow: none; }
html[data-theme] .route-customer-portal :is(.portal-license-summary-item, .portal-summary-card) { min-width: 0; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
html[data-theme] .route-customer-portal :is(.portal-license-summary-label, .portal-license-card-meta, .portal-runner-meta, .portal-report-muted) { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.7; letter-spacing: 0; text-transform: none; }
html[data-theme] .route-customer-portal .portal-license-summary-value { margin-top: 6px; color: var(--text); font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
html[data-theme] .route-customer-portal .portal-status-pill { padding: 4px 8px; border: 1px solid #6366f144; border-radius: 4px; background: #6366f110; color: var(--accent-text); font: 10px/1.6 var(--font-mono); text-transform: none; letter-spacing: 0; }
html[data-theme] .route-customer-portal :is(.portal-price-preview, .notice, .portal-report-query-warnings) { padding: 12px 14px; border: 1px solid #6366f144; border-left: 2px solid var(--accent); border-radius: 4px; background: #6366f10a; color: var(--text); font-size: 12px; line-height: 1.8; }
html[data-theme] .route-customer-portal .portal-inline-code { padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--accent-text); font: 11px/1.7 var(--font-mono); overflow-wrap: anywhere; }
html[data-theme] .route-customer-portal :is(.portal-license-table, .portal-report-table) { min-width: 0; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; }
html[data-theme] .route-customer-portal .portal-card table { display: block; width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 12px; line-height: 1.7; }
html[data-theme] .route-customer-portal .portal-card thead { display: table-header-group; position: static; width: auto; height: auto; clip: auto; clip-path: none; visibility: visible; }
html[data-theme] .route-customer-portal .portal-card tbody { display: table-row-group; }
html[data-theme] .route-customer-portal .portal-card tr { display: table-row; }
html[data-theme] .route-customer-portal .portal-card :is(th, td) { display: table-cell; padding: 10px 12px; border-color: var(--line); color: var(--text); font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
html[data-theme] .route-customer-portal .portal-card th { background: var(--bg); color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
html[data-theme] .route-customer-portal .portal-card :is(th, td)::before { display: none; }
html[data-theme] .route-customer-portal :is(.portal-report-chart-panel, .portal-report-threshold-panel, .portal-report-drilldown-panel, .portal-report-mini-chart, .portal-report-workspace-tools, .portal-report-detail-metrics) { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); box-shadow: none; }
html[data-theme] .route-customer-portal :is(.portal-report-multiselect-trigger, .portal-searchable-trigger, .portal-report-tool-trigger) { min-height: 44px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg); color: var(--text); font-size: 12px; font-weight: 500; box-shadow: none; }
html[data-theme] .route-customer-portal :is(.portal-report-multiselect-panel, .portal-searchable-panel, .portal-report-tool-menu-panel, .portal-chart-tooltip, .portal-report-chart-tooltip) { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--text); box-shadow: 0 12px 30px #03071226; }
html[data-theme] .route-customer-portal :is(.portal-searchable-option, .portal-report-multiselect-option) { border-radius: 4px; color: var(--text); font-size: 12px; }
html[data-theme] .route-customer-portal :is(.portal-searchable-option:hover, .portal-searchable-option:focus-visible, .portal-searchable-option.is-selected, .portal-report-multiselect-option:hover, .portal-report-multiselect-option:focus-within, .portal-report-multiselect-option:has(input:checked)) { border-color: #6366f144; background: #6366f114; }
html[data-theme] .route-customer-portal .portal-run-star-toggle { border-color: var(--line); background: var(--surface); color: var(--muted); }
html[data-theme] .route-customer-portal .portal-run-star-toggle:is(:hover, :focus-visible, .is-starred) { border-color: var(--accent); background: #6366f114; color: var(--accent-text); }
html[data-theme] .route-customer-portal :is(.portal-report-empty-state, .portal-report-empty) { padding: 24px; border: 1px dashed var(--line); border-radius: 6px; background: transparent; color: var(--muted); font-size: 13px; line-height: 1.8; }
html[data-theme] .route-customer-portal .portal-report-status { color: var(--muted); font-size: 12px; }

@media (max-width: 1199px) {
  html[data-theme] .route-contact .contact-grid { gap: 56px; }
  html[data-theme] .route-contact .contact-coverage-card { gap: 48px; }
  html[data-theme] .route-customer-portal .portal-auth-layout { gap: 56px; }
  html[data-theme] .route-customer-portal .portal-shell { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 1023px) {
  html[data-theme] .route-customer-portal .portal-shell { grid-template-columns: minmax(0, 1fr); }
  html[data-theme] .route-customer-portal .portal-tabs { position: static; max-height: none; overflow: visible; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--line); gap: 6px; }
  html[data-theme] .route-customer-portal .portal-tabs-intro, html[data-theme] .route-customer-portal .portal-tab-group { grid-column: 1 / -1; }
  html[data-theme] .route-customer-portal .portal-tabs-intro { margin-bottom: 8px; padding-bottom: 16px; }
  html[data-theme] .route-customer-portal .portal-tab-sublist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html[data-theme] .route-customer-portal .portal-tabs a { min-height: 44px; display: flex; align-items: center; background: var(--surface); }
  html[data-theme] .route-customer-portal .portal-logout-form { margin-top: 0; }
}
@media (max-width: 799px) {
  html[data-theme] .route-contact .contact-shell { padding-block: 56px; }
  html[data-theme] .route-contact .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  html[data-theme] .route-contact .contact-form-body { padding: 22px; }
  html[data-theme] .route-contact .contact-field :is(input, select, textarea) { font-size: 16px; }
  html[data-theme] .route-contact .contact-coverage-card { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 64px; padding-top: 48px; }
  html[data-theme] .route-customer-portal .portal-auth-shell { width: calc(100% - 40px); padding-block: 56px; }
  html[data-theme] .route-customer-portal .portal-auth-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  html[data-theme] .route-customer-portal .portal-auth-copy { grid-row: 2; padding-top: 0; }
  html[data-theme] .route-customer-portal .portal-auth-copy h2 { max-width: 600px; font-size: 32px; }
  html[data-theme] .route-customer-portal .portal-auth-steps { margin-top: 24px; }
  html[data-theme] .route-customer-portal .portal-auth-card { grid-row: 1; padding: 24px; }
  html[data-theme] .route-customer-portal .portal-section:not(.portal-auth-shell) { width: calc(100% - 40px); padding-block: 32px 48px; }
  html[data-theme] .route-customer-portal .portal-card:not(.portal-auth-card) { padding: 20px; }
  html[data-theme] .route-customer-portal .portal-tabs, html[data-theme] .route-customer-portal .portal-tab-sublist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-theme] .route-customer-portal .portal-section :is(input, select, textarea) { font-size: 16px; }
  html[data-theme] .route-customer-portal :is(.portal-action-grid, .portal-runner-grid, .portal-license-summary-grid, .portal-offer-summary-grid, .portal-service-summary-grid, .portal-report-filters) { grid-template-columns: minmax(0, 1fr); }
  html[data-theme] .route-customer-portal :is(.portal-grid-profile, .portal-report-workspace-tools, .portal-report-drilldown-grid, .portal-report-threshold-grid) { grid-template-columns: minmax(0, 1fr); }
}
/* Keep the original PHP documentation fallback in the shared theme as well. */
html[data-theme] body:is(.route-docs, [class*="route-docs-"], .route-go-load-testing) .site-main :is(.landing-eyebrow, .landing-kicker) { color: var(--muted); background: transparent; border-color: transparent; box-shadow: none; }
html[data-theme] body:is(.route-docs, [class*="route-docs-"], .route-go-load-testing) .site-main :is(.landing-eyebrow, .landing-kicker)::before { display: none; }
html[data-theme] body:is(.route-docs, [class*="route-docs-"], .route-go-load-testing) .site-main .solid-btn { background: var(--button-bg); color: #fff; border-color: var(--accent); box-shadow: none; }
html[data-theme] body:is(.route-docs, [class*="route-docs-"], .route-go-load-testing) .site-main .doc-route-tab.is-active { border-color: var(--accent-text); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--accent-text); }
html[data-theme] body:is(.route-docs, [class*="route-docs-"], .route-go-load-testing) .site-main .landing-cta-panel { background: var(--surface); border-color: var(--line); box-shadow: none; }
html[data-theme] body:is(.route-docs, [class*="route-docs-"], .route-go-load-testing) .site-main :is(.docs-sidebar a.is-active, .doc-option-chip) { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--accent-text); border-color: var(--line); }
html[data-theme] body:is(.route-docs, [class*="route-docs-"], .route-go-load-testing) .site-main .hero-illustration::before { background: none; box-shadow: none; }
