@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@600;700;800&display=swap");

:root {
  color-scheme: only dark;
  --cream: #091321;
  --paper: #142842;
  --ink: #f4f8ff;
  --muted: #a5b6ca;
  --blue: #3d8bff;
  --orange: #ff9a5c;
  --line: #2b496b;
  --steel: #7690aa;
  --green: #35d399;
  --red: #ff7a73;
  --ui-blue: #3d8bff;
  --ui-blue-dark: #286fd8;
  --ui-ink: #f4f8ff;
  --ui-paper: #142842;
  --ui-line: #2b496b;
  --ui-shadow-sm: 0 7px 20px rgba(2, 8, 18, .24);
  --ui-shadow-md: 0 18px 46px rgba(2, 8, 18, .34);
  --admin-ink: #091321;
  --admin-navy: #0d1b2e;
  --admin-blue: #3d8bff;
  --admin-paper: #142842;
  --admin-canvas: #091321;
  --admin-line: #2b496b;
  --admin-muted: #a5b6ca;
  --admin-shadow-sm: 0 7px 20px rgba(2, 8, 18, .28);
  --admin-shadow-md: 0 18px 46px rgba(2, 8, 18, .38);
}

html {
  background: #091321;
}

body,
.info-body,
.admin-body {
  background:
    radial-gradient(circle at 12% 0, rgba(61, 139, 255, .09), transparent 29rem),
    #091321;
  color: #f4f8ff;
}

body::before {
  background:
    radial-gradient(circle at 12% 7%, rgba(61, 139, 255, .09), transparent 27rem),
    radial-gradient(circle at 88% 22%, rgba(140, 196, 255, .035), transparent 24rem);
}

::selection {
  background: #3d8bff;
  color: #fff;
}

a {
  color: inherit;
}

a:hover {
  color: #8cc4ff;
}

input,
select,
textarea {
  color: #f4f8ff;
  caret-color: #8cc4ff;
}

input::placeholder,
textarea::placeholder {
  color: #7890aa;
  opacity: 1;
}

select option {
  background: #142842;
  color: #f4f8ff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline-color: rgba(140, 196, 255, .65);
}

/* Shared navigation and actions */
.site-header,
.portal-header {
  border-color: rgba(140, 196, 255, .18);
  background: rgba(9, 19, 33, .9);
  color: #f4f8ff;
  box-shadow: 0 12px 34px rgba(2, 8, 18, .22);
  backdrop-filter: blur(16px) saturate(125%);
}

.site-header.is-scrolled,
.portal-header.is-scrolled {
  border-color: rgba(140, 196, 255, .2);
  background: rgba(9, 19, 33, .95);
  box-shadow: 0 12px 34px rgba(2, 8, 18, .42);
}

.logo,
footer .logo,
.info-footer .logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  font-family: "Oxanium", "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: #f4f8ff;
}

.logo::before {
  content: "[FIX]";
  width: auto;
  height: auto;
  margin-right: .18em;
  border: 0;
  border-radius: 0;
  background: none;
  color: #f4f8ff;
  box-shadow: none;
  transform: none;
}

.logo::after {
  content: "labs";
  color: #8cc4ff;
  text-transform: none;
}

.logo {
  font-size: 0 !important;
}

.logo::before,
.logo::after {
  font-size: 31px;
}

.site-header .logo::before,
.site-header .logo::after,
footer .logo::before,
footer .logo::after {
  font-size: 34px;
}

.admin-header .logo::before,
.admin-header .logo::after {
  font-size: 31px;
}

.logo span {
  display: none;
}

.site-header nav a,
.portal-header nav a,
.footer-links a,
.info-footer nav a {
  color: #c8d6e7;
}

.site-header nav a:hover,
.portal-header nav a:hover,
.site-header nav a.is-current,
.portal-header nav a.is-current,
.info-footer nav a.is-current {
  color: #8cc4ff;
}

.site-header nav a::after,
.portal-header nav a:not(.header-action)::after {
  background: #3d8bff;
}

.header-repair-btn,
.header-action,
.primary-action,
.primary-btn,
.launch-banner > a,
.label-purchase-btn {
  background: linear-gradient(135deg, #3d8bff, #246edb);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(25, 101, 211, .3);
}

.header-repair-btn:hover,
.header-action:hover,
.primary-action:hover,
.primary-btn:hover,
.launch-banner > a:hover,
.label-purchase-btn:not(:disabled):hover {
  background: linear-gradient(135deg, #5a9cff, #327ceb);
  color: #fff !important;
}

body:not(.admin-body) .primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  width: max-content;
  max-width: 100%;
  border: 1px solid #66a8ff;
  border-radius: 999px;
  padding: 12px 14px 12px 20px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(33, 104, 218, .32), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

body:not(.admin-body) .primary-action span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(244, 248, 255, .16);
  color: #fff !important;
  font-size: 18px;
  line-height: 1;
}

body:not(.admin-body) .primary-action:hover span {
  background: rgba(244, 248, 255, .24);
}

.secondary-action,
.secondary-btn,
.status-pill,
.back-link {
  border-color: #385a7e;
  background: #142842;
  color: #d9e5f4;
}

.secondary-action:hover,
.secondary-btn:hover,
.status-pill:hover,
.back-link:hover {
  border-color: #5799ed;
  background: #1a3352;
  color: #fff;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .primary-action,
.hero-actions .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.hero-actions .primary-action {
  gap: 14px;
  border-color: #4e98ff;
}

.hero-actions .primary-action span {
  color: #ffe0cc;
  font-size: 20px;
  line-height: .7;
}

.hero-actions .secondary-action {
  border-color: #385a7e;
  background: #142842;
  color: #d9e5f4;
}

.hero-actions .secondary-action:hover {
  border-color: #5799ed;
  background: #1a3352;
  color: #fff;
}

.intake-submit-btn {
  min-height: 48px;
  gap: 12px;
  border: 1px solid #66a8ff;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 45%),
    linear-gradient(135deg, #2f82f0, #215fbd) !important;
  color: #fff !important;
  padding: 12px 14px 12px 20px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(33, 104, 218, .32), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.intake-submit-btn b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(244, 248, 255, .16);
  color: #fff;
  font-size: 18px;
  font-style: normal;
  line-height: 1;
  transition: transform .18s ease, background-color .18s ease;
}

.intake-submit-btn:hover {
  border-color: #9bc8ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 45%),
    linear-gradient(135deg, #4694ff, #2a71d5) !important;
  box-shadow: 0 16px 34px rgba(33, 104, 218, .38), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transform: translateY(-1px);
}

.intake-submit-btn:hover b {
  background: rgba(244, 248, 255, .24);
  transform: translateX(2px);
}

.intake-submit-btn:active {
  transform: translateY(1px) scale(.99);
  box-shadow: 0 8px 18px rgba(33, 104, 218, .28);
}

.page-kicker,
.eyebrow,
.article-label,
.updated {
  color: #8cc4ff;
}

.page-lead,
.section-note,
.field-help,
.fine-print {
  color: #a5b6ca;
}

/* Customer home */
.hero {
  background: #091321;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 84px 0 auto clamp(24px, 4vw, 64px);
  width: 72px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #3d8bff, #ff9a5c);
  box-shadow: 0 0 22px rgba(61, 139, 255, .46);
}

.hero-copy {
  background:
    radial-gradient(circle at 8% 15%, rgba(61, 139, 255, .13), transparent 25rem),
    #091321;
}

.customer-launch-status {
  display: grid;
  gap: 6px;
  max-width: 640px;
  border: 2px solid #4e98ff;
  border-radius: 14px;
  background: #10243c;
  box-shadow: 0 14px 34px rgba(2, 8, 18, .26), inset 0 0 0 1px rgba(140, 196, 255, .12);
  color: #d9e5f4;
  padding: 16px 18px;
  margin: 0 0 24px;
}

.customer-launch-status strong {
  color: #f4f8ff;
  font: 800 30px/.9 "Barlow Condensed", Impact, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.customer-launch-status span {
  color: #a5b6ca;
  font-size: 13px;
  line-height: 1.55;
}

.customer-launch-status .status-email,
.intake-launch-status a.status-email {
  display: inline;
  width: auto;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #9ecbff;
  padding: 0;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.customer-launch-status .status-email:hover,
.intake-launch-status a.status-email:hover {
  color: #fff;
}

.customer-launch-status:focus-visible {
  outline: 3px solid #8cc4ff;
  outline-offset: 4px;
}

.customer-launch-status.paused {
  border-color: #ff9a5c;
  background: #321b16;
  box-shadow: 0 16px 38px rgba(2, 8, 18, .3), inset 0 0 0 1px rgba(255, 154, 92, .16);
}

.customer-launch-status.paused strong {
  color: #ffd2b6;
}

.customer-launch-status.open {
  border-color: #2f8f70;
  background: #0f2b28;
}

.customer-launch-status.open strong {
  color: #78efc0;
}

.launch-paused-link {
  border-color: #4f86ca !important;
  background: #112943 !important;
  color: #d9e5f4 !important;
  box-shadow: inset 0 0 0 1px rgba(140, 196, 255, .12) !important;
  cursor: not-allowed !important;
  opacity: .96;
}

.launch-paused-link:hover {
  transform: none !important;
  border-color: #69a8f5 !important;
  background: #173755 !important;
}

.bundle-grid .bundle.launch-paused-link {
  border-color: #4f86ca !important;
  background:
    linear-gradient(180deg, rgba(35, 83, 135, .18), transparent 48%),
    #0d1b2e !important;
  color: #f4f8ff !important;
}

.bundle-grid .bundle.launch-paused-link::before {
  background: radial-gradient(circle at 100% 0, rgba(79, 134, 202, .2), transparent 48%);
  opacity: 1;
}

.bundle-grid .bundle.launch-paused-link h3,
.bundle-grid .bundle.launch-paused-link strong {
  color: #f4f8ff !important;
}

.bundle-grid .bundle strong {
  line-height: 1.12;
}

.bundle-grid .bundle strong small {
  display: block;
  margin-top: 6px;
  color: #9dbdff;
  font: 800 13px/1.2 "Inter", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.build-grid .build-card strong,
.rate-row b {
  line-height: 1.12;
}

.rate-row b small {
  display: block;
  margin-top: 5px;
  color: #8cc4ff;
  font-size: 16px;
  line-height: 1;
}

.bundle-grid .bundle.launch-paused-link p {
  color: #b8c9dc !important;
}

.bundle-grid .bundle.launch-paused-link .bundle-cta {
  border-top-color: #315a85;
  color: #9ecbff !important;
}

.intake-launch-status {
  display: grid;
  gap: 8px;
  border: 2px solid #2f8f70;
  border-radius: 14px;
  background: rgba(20, 103, 77, .24);
  color: #d9e5f4;
  padding: 18px;
  margin: 22px 0 0;
}

.intake-launch-status strong {
  color: #78efc0;
  font: 800 26px/.9 "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.intake-launch-status p {
  margin: 0;
  color: #a5b6ca;
  line-height: 1.55;
}

.intake-launch-status a {
  width: max-content;
  border: 1px solid #385a7e;
  border-radius: 10px;
  background: #142842;
  color: #d9e5f4;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

.intake-launch-status.paused {
  border-color: #ff9a5c;
  background: rgba(79, 34, 21, .72);
}

.intake-launch-status.paused strong {
  color: #ffd2b6;
}

.intake-paused {
  opacity: .72;
}

.intake-paused button[type="submit"] {
  border: 1px solid #ff9a5c;
  background: #321b16;
  color: #ffd2b6;
  cursor: not-allowed;
}

.hero h1,
.section h2 {
  color: #f4f8ff;
}

.hero h1 em {
  color: #8cc4ff;
}

.hero-text,
.form-note {
  color: #a5b6ca;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(9, 19, 33, .92), rgba(9, 19, 33, .1) 42%, rgba(9, 19, 33, .16));
  pointer-events: none;
}

.hero-visual {
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, .18) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: bench-scan 5.8s ease-in-out infinite;
  pointer-events: none;
}

.image-wash {
  z-index: 1;
  background: linear-gradient(90deg, #091321 0, rgba(9, 19, 33, .54) 22%, transparent 58%);
}

.image-tag {
  z-index: 3;
  border-color: rgba(140, 196, 255, .42);
  background: rgba(13, 27, 46, .9);
  color: #eaf3ff;
  box-shadow: 0 10px 24px rgba(2, 8, 18, .32);
}

.trust-rail {
  border-color: #2b496b;
  background: rgba(20, 40, 66, .94);
  box-shadow: 0 16px 42px rgba(2, 8, 18, .32);
}

.trust-rail > div {
  border-color: #2b496b;
}

.trust-rail > div:hover {
  background: #1a3352;
}

.trust-rail strong {
  color: #f4f8ff;
}

.trust-rail small {
  color: #9eb0c5;
}

.trust-icon {
  border-color: #5799ed;
  background: rgba(61, 139, 255, .1);
  color: #8cc4ff;
}

.services {
  background: #0d1b2e;
}

.service-card,
.capability-grid article,
.price-preview-grid article,
.launch-metrics article {
  border-color: #2b496b;
  background: #142842;
  box-shadow: 0 12px 30px rgba(2, 8, 18, .16);
}

.service-card:hover,
.capability-grid article:hover,
.price-preview-grid article:hover,
.launch-metrics article:hover {
  border-color: #5799ed;
  background: #1a3352;
  box-shadow: 0 18px 44px rgba(2, 8, 18, .34), inset 0 0 0 1px rgba(140, 196, 255, .08);
}

.service-card p,
.capability-grid p,
.price-preview-grid p,
.pc-services-heading > p:last-child,
.section-heading > p:last-child {
  color: #a5b6ca;
}

.device-icon {
  border-color: #8cc4ff;
}

.phone-icon::after {
  background: #8cc4ff;
}

.pc-services {
  background:
    radial-gradient(circle at 85% 20%, rgba(61, 139, 255, .11), transparent 26rem),
    #10223a;
}

.soft-launch {
  background:
    radial-gradient(circle at 100% 0, rgba(255, 154, 92, .12), transparent 22rem),
    radial-gradient(circle at 0 60%, rgba(61, 139, 255, .12), transparent 26rem),
    #0b182a;
}

.soft-launch-copy > p:not(.eyebrow),
.launch-metrics p {
  color: #a5b6ca;
}

.launch-metrics strong,
.launch-metrics span {
  color: #8cc4ff;
}

.launch-metrics article:nth-child(2)::before {
  background: radial-gradient(circle at 100% 0, rgba(61, 139, 255, .18), transparent 45%);
}

.launch-metrics article:nth-child(3)::before {
  background: radial-gradient(circle at 100% 0, rgba(53, 211, 153, .14), transparent 45%);
}

.capability-grid article > span {
  border-color: #5799ed;
  background: rgba(61, 139, 255, .09);
  color: #8cc4ff;
}

.price-preview {
  background: #0b182a;
}

.price-preview-grid strong,
.price-preview-grid span,
.price-preview-links a,
.knowledge-preview a {
  color: #8cc4ff;
}

.knowledge-preview,
.process {
  background:
    radial-gradient(circle at 80% 10%, rgba(61, 139, 255, .1), transparent 24rem),
    #091321;
}

.knowledge-topics span {
  border-color: #2b496b;
  background: #142842;
}

.knowledge-topics span:hover {
  border-color: #5799ed;
  background: #1a3352;
  color: #8cc4ff;
}

.steps li {
  border-color: #2b496b;
}

.steps li:hover {
  background: rgba(26, 51, 82, .68);
}

.steps p,
.process-intro > p:last-child,
.knowledge-preview > div > p:not(.eyebrow) {
  color: #a5b6ca;
}

.launch-banner {
  background:
    linear-gradient(135deg, rgba(61, 139, 255, .96), rgba(30, 87, 180, .98)),
    #246edb;
}

.launch-banner .eyebrow,
.launch-banner p {
  color: #e1edff;
}

.launch-banner > a {
  border: 1px solid rgba(255, 255, 255, .32);
  background: #f4f8ff;
  color: #0d1b2e !important;
  box-shadow: 0 12px 28px rgba(2, 8, 18, .22);
}

.launch-banner > a:hover {
  background: #fff;
  color: #091321 !important;
}

.faq {
  background: #10223a;
}

.faq-list details {
  border-color: #2b496b;
}

.faq details[open] {
  background: rgba(20, 40, 66, .62);
}

.faq details:hover {
  border-color: #5799ed;
}

.faq details p {
  color: #a5b6ca;
}

footer,
.info-footer {
  border-color: #223d5d;
  background: #07101b;
  color: #91a5bc;
}

.footer-contact a {
  border-color: #385a7e;
  background: #10243c;
  color: #9dbdff;
}

.footer-contact a:hover {
  border-color: #5799ed;
  background: #1a3352;
  color: #fff;
}

/* Customer information, pricing, knowledge and about pages */
.info-shell,
.page-shell,
.legal-shell {
  color: #f4f8ff;
}

.hero-note,
.knowledge-watch,
.about-mailin {
  border: 1px solid #2b496b;
  background:
    radial-gradient(circle at 90% 0, rgba(61, 139, 255, .13), transparent 20rem),
    #0d1b2e;
  box-shadow: 0 15px 36px rgba(2, 8, 18, .25);
}

.hero-note p,
.watch-grid p,
.about-mailin p:not(.page-kicker) {
  color: #a5b6ca;
}

.price-notice,
.quick-rule,
.consultation-intro,
.consent-toolbar,
.packing-confirmation,
.payment-panel,
.inbound-tracking-card {
  border-color: #3a628e;
  background: #142f50;
  color: #eaf3ff;
}

.price-notice p,
.quick-rule,
.consultation-intro span,
.consent-toolbar p,
.packing-confirmation p,
.payment-panel p,
.payment-panel small,
.inbound-tracking-card p {
  color: #b8c9dc;
}

.price-card,
.rate-list,
.custom-estimate article,
.topic-nav a,
.knowledge-article,
.source-panel,
.source-list a,
.about-technicians,
.repair-promise,
.promise-rules article,
.about-service-grid article,
.about-principles,
.legal-summary,
.legal-section,
.success-panel,
.thanks-card,
.track-card,
.track-search,
.shipping-quote-card,
.customer-address-card {
  border-color: #2b496b;
  background: #142842;
  color: #f4f8ff;
  box-shadow: 0 12px 30px rgba(2, 8, 18, .16);
}

.price-card:hover,
.custom-estimate article:hover,
.topic-nav a:hover,
.knowledge-article:hover,
.about-technicians:hover,
.repair-promise:hover,
.promise-rules article:hover,
.about-service-grid article:hover,
.legal-summary:hover,
.source-list a:hover {
  border-color: #5799ed;
  background: #1a3352;
}

.price-card > p,
.rate-row p,
.custom-estimate p,
.knowledge-article p,
.knowledge-article li,
.technician-bio p:not(.page-kicker),
.repair-promise > div:first-child p:not(.page-kicker),
.promise-rules p,
.about-service-grid p,
.about-principles p,
.about-statement > p:last-child,
.about-builds > div:last-child,
.legal-section p,
.legal-section li,
.legal-summary li,
.source-panel p {
  color: #a5b6ca !important;
}

.rate-row,
.about-principles article {
  border-color: #2b496b;
}

.rate-row:hover,
.about-principles article:hover {
  background: #1a3352;
}

.technician-tags span {
  border-color: #385a7e;
  background: #10243c;
  color: #9dbdff;
}

.promise-rules span {
  color: #8cc4ff;
}

.model-chips span,
.service-tag,
.topic-nav a,
.knowledge-topics span {
  background: #1a3352;
  color: #c8d8ea;
}

.model-chips span:hover,
.service-tag:hover,
.topic-nav a:hover {
  background: #21436a;
  color: #8cc4ff;
}

.service-warning {
  border-color: #2b496b;
  color: #b8c9dc !important;
}

.trace-note {
  border-color: #965e3f;
  background: rgba(117, 60, 28, .34);
  color: #ffd6be !important;
}

.bundle,
.build-card {
  border: 1px solid #2b496b;
  background: #0d1b2e;
  box-shadow: 0 13px 30px rgba(2, 8, 18, .22);
}

.build-grid .build-card {
  border-color: #2b496b;
  background: #0d1b2e;
  color: #f4f8ff;
}

.bundle p,
.build-card p {
  color: #b8c9dc;
}

.bundle-grid .bundle {
  position: relative;
  overflow: hidden;
  border-color: #2b496b;
  background: #0d1b2e;
  color: #f4f8ff;
  text-decoration: none;
  cursor: pointer;
}

.bundle-grid .bundle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0, rgba(61, 139, 255, .17), transparent 48%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.bundle-grid .bundle:hover,
.bundle-grid .bundle:focus-visible {
  border-color: #5799ed;
  background: #142f50;
  color: #fff;
  box-shadow: 0 18px 42px rgba(2, 8, 18, .38), inset 0 0 0 1px rgba(61, 139, 255, .22);
  transform: translateY(-5px);
}

.bundle-grid .bundle:hover::before,
.bundle-grid .bundle:focus-visible::before {
  opacity: 1;
}

.bundle-grid .bundle > * {
  position: relative;
  z-index: 1;
}

.bundle-grid .bundle > span:first-child {
  color: #9dbdff;
}

.bundle-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #2b496b;
  color: #8cc4ff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
}

.bundle-selection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 28px 0 10px;
  padding: 20px 22px;
  border: 1px solid #5799ed;
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0, rgba(61, 139, 255, .18), transparent 45%),
    #142842;
  box-shadow: 0 14px 34px rgba(2, 8, 18, .25);
}

.bundle-selection-copy {
  display: grid;
  gap: 5px;
}

.bundle-selection-copy > span,
.bundle-device-choice > span {
  color: #8cc4ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bundle-selection-copy strong {
  font: 700 28px "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.bundle-selection-copy p {
  max-width: 680px;
  margin: 0;
  color: #a5b6ca;
  font-size: 12px;
  line-height: 1.55;
}

.bundle-device-choice {
  display: grid;
  gap: 9px;
}

.bundle-device-choice > div {
  display: flex;
  gap: 8px;
}

.bundle-device-choice button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #385a7e;
  border-radius: 9px;
  background: #0f2138;
  color: #d9e5f4;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}

.bundle-device-choice button:hover,
.bundle-device-choice button.active {
  border-color: #6caaff;
  background: #245f9f;
  color: #fff;
}

.bundle-device-choice button:active {
  transform: translateY(1px) scale(.985);
}

.bundle-selection.is-ready {
  border-color: #4b9be9;
  background:
    radial-gradient(circle at 100% 0, rgba(53, 211, 153, .1), transparent 45%),
    #142842;
}

#serviceSection {
  scroll-margin-top: 95px;
}

.info-cta {
  border: 1px solid #4f9aff;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .13), transparent 18rem),
    linear-gradient(135deg, #246edb, #194b99);
  box-shadow: 0 18px 40px rgba(2, 8, 18, .3);
}

.info-cta a {
  background: #f4f8ff;
  color: #0d1b2e;
}

.legal-callout,
.about-note {
  border-color: #3a628e;
  background: #142f50;
  color: #dce9f8;
}

.legal-meta span {
  border-color: #2b496b;
  background: #142842;
  color: #a5b6ca;
}

/* Customer forms and tracking */
.form-section,
.side-card,
.success-panel,
.track-card,
.track-search {
  border-color: #2b496b;
  background: #142842;
}

.side-card {
  box-shadow: 0 15px 36px rgba(2, 8, 18, .22);
}

.field input,
.field select,
.field textarea,
.track-search input,
.estimate-card input,
.customer-address-form input,
.inbound-tracking-card input {
  border-color: #385a7e;
  background: #0f2138;
  color: #f4f8ff;
}

.field input:hover,
.field select:hover,
.field textarea:hover,
.track-search input:hover,
.estimate-card input:hover,
.customer-address-form input:hover {
  border-color: #5799ed;
  background: #122945;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.track-search input:focus,
.estimate-card input:focus,
.customer-address-form input:focus {
  border-color: #6caaff;
  background: #142f50;
  box-shadow: 0 0 0 3px rgba(61, 139, 255, .22);
}

/* Keep every completed, selected and browser-filled control in the dark palette.
   These selectors intentionally outrank the original light customer form theme. */
body:not(.admin-body) .field.is-filled input:not(:focus),
body:not(.admin-body) .field.is-filled select:not(:focus),
body:not(.admin-body) .field.is-filled textarea:not(:focus) {
  border-color: #3f648a;
  background: #112743;
  color: #f4f8ff;
}

body:not(.admin-body) .form-section .field input:focus,
body:not(.admin-body) .form-section .field select:focus,
body:not(.admin-body) .form-section .field textarea:focus {
  border-color: #6caaff;
  background: #142f50;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(61, 139, 255, .22);
}

body:not(.admin-body) .field input:not([type="checkbox"]):not([type="radio"]),
body:not(.admin-body) .field select,
body:not(.admin-body) .field textarea {
  color-scheme: dark;
}

.soft-intake-panel {
  display: grid;
  gap: 6px;
  max-width: 720px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid #3a628e;
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 154, 92, .12), transparent 52%),
    #142f50;
  box-shadow: 0 14px 34px rgba(2, 8, 18, .22);
}

.soft-intake-panel span {
  color: #8cc4ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.soft-intake-panel strong {
  font-size: 16px;
}

.soft-intake-panel p {
  margin: 0;
  color: #b8c9dc;
  font-size: 13px;
  line-height: 1.55;
}

body:not(.admin-body) .field input:disabled,
body:not(.admin-body) .field select:disabled,
body:not(.admin-body) .field textarea:disabled {
  border-color: #2b496b;
  background: #0c1a2c !important;
  color: #91a5bc !important;
  opacity: 1;
}

body:not(.admin-body) input:-webkit-autofill,
body:not(.admin-body) input:-webkit-autofill:hover,
body:not(.admin-body) input:-webkit-autofill:focus,
body:not(.admin-body) textarea:-webkit-autofill,
body:not(.admin-body) textarea:-webkit-autofill:hover,
body:not(.admin-body) textarea:-webkit-autofill:focus,
body:not(.admin-body) select:-webkit-autofill,
body:not(.admin-body) select:-webkit-autofill:hover,
body:not(.admin-body) select:-webkit-autofill:focus {
  border-color: #3f648a !important;
  -webkit-text-fill-color: #f4f8ff !important;
  -webkit-box-shadow: 0 0 0 1000px #112743 inset !important;
  box-shadow: 0 0 0 1000px #112743 inset !important;
  caret-color: #f4f8ff;
  transition: background-color 99999s ease-out 0s;
}

.symptom-picker span {
  border-color: #385a7e;
  background: #0f2138;
  color: #a5b6ca;
}

.symptom-picker label:hover span {
  border-color: #5799ed;
  background: #1a3352;
  color: #eaf3ff;
}

.symptom-picker input:checked + span {
  border-color: #6caaff;
  background: #1b4270;
  color: #dceaff;
  box-shadow: inset 0 0 0 1px #3d8bff;
}

.step-label {
  color: #91a5bc;
}

.step-node {
  background: #2b496b;
}

.step-node.active {
  background: #3d8bff;
}

.step-controls {
  border-color: #2b496b;
}

.next-action {
  border-color: #3a628e;
  background: #142f50;
  color: #f4f8ff;
}

.next-action p,
.help-card small {
  color: #a5b6ca;
}

.help-card {
  border-color: #2b496b;
  background: #0f2138;
  color: #f4f8ff;
}

.checks,
.packing-tips {
  color: #c8d6e7;
}

.packing-tips li,
.estimate-line,
.shipping-quote-lines,
.shipping-quote-line,
.approval-total-row {
  border-color: #2b496b;
}

.progress {
  background: #07101b;
}

.timeline-item {
  border-color: #2b496b;
}

.timeline-item::before {
  border-color: #142842;
  background: #3d8bff;
}

.timeline-item p,
.timeline-item time {
  color: #a5b6ca;
}

.estimate-box,
.shipping-quote-card {
  border-color: #5799ed;
  background: #142842;
}

.rma-badge {
  border: 1px solid #5799ed;
  background: #0d1b2e;
}

.thanks-page {
  background:
    radial-gradient(circle at 30% 12%, rgba(61, 139, 255, .18), transparent 25rem),
    #091321;
}

/* Admin workbench */
.admin-body,
.admin-shell,
.admin-main {
  background:
    radial-gradient(circle at 90% 0, rgba(61, 139, 255, .06), transparent 29rem),
    #091321;
}

.admin-header {
  border-color: #223d5d;
  background: rgba(7, 16, 27, .97);
  box-shadow: 0 10px 28px rgba(2, 8, 18, .45);
}

.admin-header nav {
  background: rgba(140, 196, 255, .055);
}

.admin-header nav button {
  color: #a5b6ca;
}

.admin-header nav button:hover {
  background: #142842;
  color: #fff;
}

.admin-header nav button.active {
  background: #1a3352;
  color: #fff;
}

.admin-header nav button.active::after {
  background: #8cc4ff;
}

.admin-sidebar {
  border-color: #223d5d;
  background:
    linear-gradient(180deg, rgba(61, 139, 255, .09), transparent 15rem),
    #0b1728;
}

.admin-sidebar h3 {
  color: #7890aa;
}

.admin-sidebar .filter-btn {
  color: #b9c8d8;
}

.admin-sidebar .filter-btn:hover {
  background: #142842;
  color: #fff;
}

.admin-sidebar .filter-btn.active {
  border-color: #385a7e;
  background: #1a3352;
  color: #fff;
  box-shadow: 0 8px 22px rgba(2, 8, 18, .3);
}

.admin-sidebar .filter-btn b {
  background: #0f2138;
  color: #a5b6ca;
}

.admin-sidebar .filter-btn.active b {
  background: #8cc4ff;
  color: #091321;
}

.queue-heading {
  border-color: #223d5d;
}

.admin-toolbar input,
.admin-form input,
.admin-form select,
.admin-form textarea,
.shipping-grid input,
.shipping-grid select,
.shipping-grid textarea,
.login-card input {
  border-color: #385a7e;
  background: #0f2138;
  color: #f4f8ff;
}

.admin-toolbar input:hover,
.admin-form input:hover,
.admin-form select:hover,
.admin-form textarea:hover,
.shipping-grid input:hover,
.shipping-grid select:hover,
.shipping-grid textarea:hover {
  border-color: #5799ed;
}

.admin-toolbar input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.shipping-grid input:focus,
.shipping-grid select:focus,
.shipping-grid textarea:focus,
.login-card input:focus {
  border-color: #6caaff;
  background: #142f50;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(61, 139, 255, .2);
}

.view-switch {
  border-color: #385a7e;
  background: #0f2138;
}

.view-switch button {
  color: #91a5bc;
}

.view-switch button:hover:not(.active) {
  color: #fff;
}

.view-switch button.active {
  background: #3d8bff;
  color: #fff;
}

.ticket-table,
.streamlined-table {
  background: transparent;
  color: #eaf3ff;
}

.ticket-table th,
.ticket-table td {
  border-color: #223d5d;
}

.ticket-table th,
.streamlined-table thead th {
  background: #0d1b2e;
  color: #91a5bc;
}

.streamlined-table tbody tr {
  background: #142842;
  box-shadow: 0 1px 0 #2b496b;
}

.streamlined-table tbody tr[data-id]:hover,
.streamlined-table tbody tr.ui-selected {
  background: #1a3352;
  box-shadow: 0 9px 22px rgba(2, 8, 18, .34), inset 3px 0 0 #3d8bff;
}

.queue-device,
.next-action-copy {
  color: #8cc4ff;
}

.streamlined-table small,
.queue-empty,
.repair-identity span,
.activity-loading {
  color: #91a5bc;
}

.queue-empty {
  border-color: #385a7e;
  background: rgba(20, 40, 66, .7);
}

.admin-card,
.activity-panel,
.metric-card,
.report-card,
.report-panel,
.kanban-column,
.repair-action-bar,
.workflow-stage,
.utility-card,
.stage-subsection,
.estimate-summary,
.build-brief-card,
.reported-issue,
.advanced-drawer,
.consultation-note-form,
.shipping-step,
.shipping-approval-panel,
.label-readiness-panel,
.label-action-panel,
.destination-card,
.customer-address-card,
.rate-option,
.shipping-method {
  border-color: #2b496b;
  background: #142842;
  color: #f4f8ff;
}

.metric-card.accent {
  border-color: #3d8bff;
  background: linear-gradient(135deg, #246edb, #194b99);
}

.metric-card small,
.report-card small {
  color: #91a5bc;
}

.metric-card.accent small {
  color: #dce9ff;
}

.kanban-column {
  background: #0f2138;
}

.kanban-count,
.kanban-card,
.workbench-table,
.workbench-table th,
.workbench-table select,
.quick-actions button {
  border-color: #2b496b;
  background: #142842;
  color: #f4f8ff;
}

.kanban-card:hover,
.workbench-table tr:hover,
.quick-actions button:hover {
  border-color: #5799ed;
  background: #1a3352;
}

.kanban-card p,
.kanban-card footer,
.workbench-table th {
  color: #91a5bc;
}

.workbench-table th,
.workbench-table td {
  border-color: #223d5d;
}

.bar-track {
  background: #0b1728;
}

.bar-track span {
  background: #3d8bff;
}

.admin-card,
.activity-panel,
.report-card,
.report-panel {
  box-shadow: 0 7px 20px rgba(2, 8, 18, .18);
}

.activity-panel:hover,
.report-card:hover,
.workflow-stage:hover,
.estimate-summary:hover,
.stage-subsection:hover,
.build-brief-card:hover,
.shipping-approval-panel:hover {
  border-color: #5799ed;
  box-shadow: 0 10px 26px rgba(2, 8, 18, .3);
}

.repair-action-bar {
  background: rgba(13, 27, 46, .95);
  box-shadow: 0 12px 30px rgba(2, 8, 18, .4);
}

.workflow-stage.active-stage {
  border-color: #5799ed;
  background: linear-gradient(135deg, #173253, #142842);
  box-shadow: 0 12px 30px rgba(16, 76, 158, .19);
}

.workflow-stage.active-stage > .compact-card-header::before {
  background: rgba(61, 139, 255, .18);
  color: #8cc4ff;
}

.compact-card-header {
  border-color: #2b496b;
}

.compact-card-header:hover {
  background: #1a3352;
}

.compact-card:not(.collapsed) .compact-card-header {
  border-color: #2b496b;
}

.compact-card-toggle {
  border-color: #385a7e;
  background: #0f2138;
  color: #b9c8d8;
}

.compact-card-toggle:hover {
  background: #21436a;
  color: #8cc4ff;
}

.reported-issue,
.consultation-note-form {
  background: #0f2138;
}

.reported-issue small,
.inline-action-form label,
.consultation-note-form label,
.estimate-summary small,
.detail-row small,
.shipping-grid label,
.shipping-title-row small,
.shipping-approval-heading small,
.approval-email-meta,
.rate-heading small,
.rate-option small {
  color: #91a5bc;
}

.workflow-guidance {
  border-color: #9b78df;
  background: rgba(80, 48, 129, .28);
  color: #d9c8ff;
}

.build-brief-card {
  border-color: #4d416b;
  background: #151d35;
}

.build-brief-card small {
  color: #c2a8ff;
}

.estimate-summary.approved {
  border-color: #2f8f70;
  background: rgba(20, 86, 66, .25);
}

.advanced-drawer {
  border-color: #486889;
  background: #10223a;
}

.advanced-drawer::before {
  color: #91a5bc;
}

.activity-panel-title,
.attention-item,
.activity-event,
.email-log-row {
  border-color: #223d5d;
}

.attention-item,
.activity-event {
  background: #142842;
  color: #eaf3ff;
}

.attention-item:hover,
.activity-event:hover {
  background: #1a3352;
  box-shadow: inset 3px 0 0 rgba(61, 139, 255, .8);
}

.attention-item small,
.attention-item em,
.activity-event small,
.activity-event em,
.email-log-row small {
  color: #91a5bc;
}

.activity-panel-title > span {
  background: rgba(61, 139, 255, .18);
  color: #8cc4ff;
}

.activity-empty {
  background: linear-gradient(145deg, rgba(53, 211, 153, .07), transparent);
  color: #91a5bc;
}

.activity-empty strong {
  color: #65e5b3;
}

.shipping-method:hover,
.rate-option:hover,
.shipping-method.active,
.rate-option.selected {
  border-color: #5799ed;
  background: #1a3352;
}

.shipping-method.active,
.rate-option.selected {
  box-shadow: inset 0 0 0 1px #3d8bff, 0 8px 20px rgba(2, 8, 18, .24);
}

.shipping-info,
.settings-shipping-address,
.current-address,
.shipping-message {
  border-color: #3a628e;
  background: #142f50;
  color: #c8d8ea;
}

.shipping-warning,
.label-readiness-panel.locked {
  border-color: #a9782f;
  background: rgba(118, 77, 16, .3);
  color: #ffe0a6;
}

.shipping-step[open] > summary {
  border-color: #2b496b;
  background: #1a3352;
}

.shipping-step > summary em,
.destination-note {
  color: #91a5bc;
}

.shipping-step > summary b {
  background: rgba(61, 139, 255, .18);
  color: #8cc4ff;
}

.shipping-step[open] > summary b {
  background: #3d8bff;
  color: #fff;
}

.shipping-total {
  background: #07101b;
}

/* Clear operational states */
.alert.success,
.shipping-message.success,
.mini-badge.paid,
.payment-chip.paid,
.payment-card-state.paid,
.shipping-approval-badge.paid,
.shipping-customer-status.paid,
.address-confirmation-chip.confirmed,
.label-action-panel {
  border-color: #2f8f70;
  background: rgba(20, 103, 77, .32);
  color: #78efc0;
}

.alert.error,
.shipping-message.error,
.mini-badge.urgent,
.shipping-approval-badge.declined,
.shipping-customer-status.declined,
.email-state.failed,
.email-state.not_configured {
  border-color: #a84d49;
  background: rgba(131, 43, 40, .3);
  color: #ffaaa5;
}

.mini-badge.due,
.payment-chip.due,
.payment-card-state.due,
.shipping-approval-badge.sent,
.shipping-customer-status,
.address-confirmation-chip.pending {
  border-color: #a9782f;
  background: rgba(118, 77, 16, .32);
  color: #ffdda0;
}

.mini-badge.shipping,
.shipping-approval-badge.approved,
.shipping-customer-status.approved,
.shipping-api-badge,
.status-pill {
  border-color: #3a70aa;
  background: rgba(35, 92, 153, .32);
  color: #a9d2ff;
}

.mini-badge.consultation,
.event-icon.email {
  border-color: #7453aa;
  background: rgba(87, 54, 139, .32);
  color: #d8c0ff;
}

.mini-badge {
  border: 1px solid #385a7e;
  background: #0f2138;
  color: #b9c8d8;
}

.payment-row-due {
  background: rgba(115, 61, 18, .2) !important;
  box-shadow: inset 5px 0 0 #f0a04b;
}

.payment-row-paid {
  background: rgba(20, 86, 66, .22) !important;
  box-shadow: inset 5px 0 0 #35d399;
}

.ticket-table tr.payment-row-due:hover {
  background: rgba(130, 72, 25, .3) !important;
}

.ticket-table tr.payment-row-paid:hover {
  background: rgba(26, 105, 80, .3) !important;
}

.event-icon {
  background: #0f2138;
  color: #b9c8d8;
}

.event-icon.payment {
  background: rgba(118, 77, 16, .32);
  color: #ffdda0;
}

.event-icon.shipping {
  background: rgba(20, 103, 77, .32);
  color: #78efc0;
}

.event-icon.customer {
  background: rgba(35, 92, 153, .32);
  color: #a9d2ff;
}

.login-shell {
  background:
    radial-gradient(circle at 20% 16%, rgba(61, 139, 255, .2), transparent 28rem),
    linear-gradient(145deg, #07101b, #0d1b2e 58%, #10223a);
}

.login-card {
  border-color: #2b496b;
  background: #142842;
  box-shadow: 0 28px 80px rgba(2, 8, 18, .55);
}

@keyframes bench-scan {
  0%, 58% { transform: translateX(-120%); opacity: 0; }
  68% { opacity: .75; }
  88%, 100% { transform: translateX(120%); opacity: 0; }
}

@media (max-width: 900px) {
  .site-header {
    background: rgba(9, 19, 33, .95);
  }

  .hero-copy {
    padding-top: 80px;
  }

  .hero-visual::after {
    background: linear-gradient(180deg, rgba(9, 19, 33, .42), rgba(9, 19, 33, .18));
  }

  .image-wash {
    background: linear-gradient(180deg, #091321, transparent 35%);
  }
}

.mobile-menu-toggle,
.mobile-nav-menu {
  display: none;
}

@media (min-width: 1025px) {
  .site-header > .mobile-nav-menu,
  .portal-header > .mobile-nav-menu {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .site-header.mobile-nav-open,
  .portal-header.mobile-nav-open {
    z-index: 40;
  }

  .site-header > nav:not(.mobile-nav-menu),
  .portal-header > nav:not(.mobile-nav-menu),
  .site-header > .header-repair-btn,
  .site-header > .status-pill {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(140, 196, 255, .32);
    border-radius: 7px;
    background: #10243d;
    color: #f4f8ff;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
  }

  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus-visible {
    border-color: #8cc4ff;
    background: #173250;
  }

  .mobile-nav-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-nav-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header > .mobile-nav-menu,
  .portal-header > .mobile-nav-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    margin: 0;
    padding: 10px clamp(18px, 5vw, 34px) 18px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0;
    border-top: 1px solid rgba(140, 196, 255, .16);
    border-bottom: 1px solid rgba(140, 196, 255, .3);
    background: #071322;
    box-shadow: 0 22px 40px rgba(2, 8, 18, .48);
  }

  .site-header > .mobile-nav-menu {
    height: calc(100dvh - 84px);
    max-height: calc(100dvh - 84px);
  }

  .portal-header > .mobile-nav-menu {
    height: calc(100dvh - 76px);
    max-height: calc(100dvh - 76px);
  }

  .site-header.mobile-nav-open > .mobile-nav-menu,
  .portal-header.mobile-nav-open > .mobile-nav-menu {
    display: flex !important;
  }

  .mobile-nav-menu a {
    display: flex !important;
    align-items: center;
    min-height: 48px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(140, 196, 255, .13);
    color: #dbe8f7 !important;
    font-size: 15px;
    font-weight: 700;
  }

  .mobile-nav-menu a::after {
    content: '\2192';
    width: auto;
    height: auto;
    margin-left: auto;
    background: none !important;
    color: #8cc4ff;
    font-size: 18px;
    transform: none !important;
  }

  .mobile-nav-menu a:hover,
  .mobile-nav-menu a:focus-visible,
  .mobile-nav-menu a.is-current {
    color: #8cc4ff !important;
  }

  .mobile-nav-menu .mobile-nav-action {
    justify-content: center;
    min-height: 50px;
    margin-top: 12px;
    padding-inline: 18px;
    border: 1px solid #6fb7ff;
    border-radius: 7px;
    background: #287ff0;
    color: #fff !important;
  }

  .mobile-nav-menu .mobile-nav-action::after {
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual::before {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    width: 100%;
  }

  .bundle-selection {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bundle-device-choice > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.white-label-tracking-banner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 0 0 24px;
  padding: 18px 20px;
  border-top: 1px solid #4b82b5;
  border-bottom: 1px solid #4b82b5;
  background: #102a44;
}

.white-label-intake-banner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 14px 0 24px;
  padding: 16px 0;
  border-top: 1px solid #4b82b5;
  border-bottom: 1px solid #4b82b5;
  background: #102a44;
}

.white-label-intake-banner > span {
  width: max-content;
  padding: 8px 10px;
  border-radius: 4px;
  color: #091321;
  background: #8cc4ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.white-label-intake-banner strong {
  display: block;
  color: #f4f8ff;
  font: 800 24px "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.white-label-intake-banner p {
  margin: 3px 0 0;
  color: #b8c9dc;
  line-height: 1.5;
}

.tracking-credentials-notice {
  margin: 18px 0 24px;
  padding: 18px;
  border: 1px solid #5f92c4;
  border-left: 4px solid #8cc4ff;
  border-radius: 6px;
  background: #0d2035;
}

.tracking-credentials-notice > strong {
  display: block;
  color: #f4f8ff;
  font: 800 25px "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.tracking-credentials-notice p {
  margin: 5px 0 14px;
  color: #b8c9dc;
  line-height: 1.5;
}

.tracking-credentials-notice span {
  display: grid;
  gap: 4px;
}

.tracking-credentials-notice b {
  color: #8cc4ff;
  font-size: 12px;
  text-transform: uppercase;
}

.tracking-credentials-notice code {
  overflow-wrap: anywhere;
  color: #f4f8ff;
  font: 700 16px Inter, sans-serif;
}

.white-label-tracking-banner > span,
.mini-badge.white-label {
  color: #091321;
  background: #8cc4ff;
  font-weight: 800;
  text-transform: uppercase;
}

.white-label-tracking-banner > span {
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 12px;
}

.white-label-tracking-banner strong {
  display: block;
  color: #f4f8ff;
  font: 800 25px "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.white-label-tracking-banner p {
  margin: 3px 0 0;
  color: #b8c9dc;
  line-height: 1.5;
}

.mini-badge.white-label {
  border: 1px solid #b9dcff;
}

.white-label-toggle.is-active {
  border-color: #8cc4ff !important;
  color: #ddecff !important;
  background: #173a5d !important;
}

.tracking-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 640px) {
  .white-label-tracking-banner,
  .white-label-intake-banner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .white-label-tracking-banner > span {
    width: max-content;
  }
}

/* Guided customer estimate approval */
.estimate-flow {
  --estimate-summary-height: 0px;
  --estimate-summary-clearance: 18px;
  max-width: 1180px;
  margin-inline: auto;
}

.estimate-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  align-items: start;
  gap: 22px;
}

.estimate-flow-steps {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: 18px;
}

.estimate-step {
  scroll-margin-top: var(--estimate-summary-clearance);
  border: 1px solid #2b496b;
  border-radius: 12px;
  background: #0f2138;
  padding: clamp(18px, 3vw, 28px);
}

.estimate-step :is(button, input, textarea, select, a[href]) {
  scroll-margin-top: var(--estimate-summary-clearance);
}

.estimate-step h3,
.estimate-step h4,
.estimate-step p {
  margin-top: 0;
}

.estimate-step-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.estimate-step-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #276fd2;
  color: #fff;
  font-weight: 800;
}

.estimate-step-heading .page-kicker,
.estimate-step-heading h3 {
  margin: 0;
}

.estimate-expiration,
.estimate-empty,
.estimate-step > p {
  color: #aebfd2;
  line-height: 1.55;
}

.estimate-option-group + .estimate-option-group {
  margin-top: 22px;
}

.estimate-options {
  display: grid;
  gap: 10px;
}

.estimate-option {
  border: 1px solid #365a80;
  border-radius: 9px;
  background: #132a46;
}

.estimate-option label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 14px;
  cursor: pointer;
}

.estimate-option label:has(input:focus-visible) {
  outline: 3px solid #8cc4ff;
  outline-offset: 3px;
}

.estimate-option input[type="checkbox"] {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #3d8bff;
}

.estimate-option input:disabled {
  opacity: .75;
}

.estimate-option-copy {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.estimate-option-title {
  color: #f4f8ff;
  font-weight: 700;
}

.estimate-option-badge {
  border: 1px solid #537aa3;
  border-radius: 999px;
  padding: 3px 7px;
  color: #bcd2e9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.estimate-option-badge.required {
  border-color: #2f8f70;
  color: #78efc0;
}

.estimate-live-status {
  min-height: 24px;
  margin-top: 14px;
  color: #9ecbff;
  line-height: 1.5;
}

.estimate-live-status.stale {
  border-left: 4px solid #e0a147;
  padding: 10px 12px;
  background: rgba(118, 77, 16, .28);
  color: #ffe0a6;
}

.estimate-breakdown .estimate-line.detail {
  color: #b9d8fa;
}

.estimate-breakdown .estimate-line.minus strong {
  color: #78efc0;
}

.estimate-total-row {
  border-top: 1px solid #365a80;
  margin-top: 12px;
  padding-top: 16px;
}

.estimate-flow .estimate-summary {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 18px;
  bottom: 0;
  z-index: 4;
  display: grid;
  gap: 14px;
  border: 1px solid #4f7cac;
  border-radius: 12px;
  background: rgba(15, 33, 56, .97);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(2, 8, 18, .35);
}

.estimate-flow .estimate-summary span,
.estimate-flow .estimate-summary small,
.estimate-flow .estimate-summary strong {
  display: block;
}

.estimate-flow .estimate-summary strong {
  margin: 4px 0;
  color: #fff;
  font-size: clamp(28px, 5vw, 38px);
}

.estimate-flow button,
.estimate-flow .primary-btn,
.estimate-flow .secondary-btn,
.estimate-flow .text-btn {
  min-height: 44px;
}

.estimate-flow .approval-actions,
.payment-choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.estimate-decline,
.estimate-flow .text-btn {
  background: transparent;
}

.estimate-flow .text-btn {
  border: 0;
  color: #9ecbff;
  text-decoration: underline;
  cursor: pointer;
}

.estimate-terminal {
  border-left: 4px solid #8aa0b9;
  background: #132a46;
  padding: 14px 16px;
  color: #d8e5f3;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .estimate-flow {
    --estimate-summary-clearance: calc(var(--estimate-summary-height, 0px) + 24px + env(safe-area-inset-top));
  }

  .estimate-flow-grid {
    display: flex;
    flex-direction: column;
  }

  .estimate-flow .estimate-summary {
    order: -1;
    top: max(8px, env(safe-area-inset-top));
    bottom: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    margin-bottom: 16px;
  }

  .estimate-flow-steps {
    width: 100%;
    padding-bottom: var(--estimate-summary-clearance);
  }
}

@media (max-width: 520px) {
  .estimate-flow-steps {
    padding-bottom: max(var(--estimate-summary-clearance), calc(100dvh - var(--estimate-summary-clearance)));
  }

  .estimate-option label,
  .estimate-flow .approval-actions,
  .payment-choice-actions {
    align-items: stretch;
  }

  .estimate-flow .approval-actions > *,
  .payment-choice-actions > * {
    width: 100%;
  }

  .estimate-flow .estimate-summary {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .estimate-flow *,
  .estimate-flow *::before,
  .estimate-flow *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
