@layer legacy, components;
@import url("/shared/ui-core.css?v=20261008-brand") layer(components);
/* TASK-SMALL-MODEL-A: one anchored notice, reusing the ordering UI tokens. */
@layer components {
  [data-model-size-anchor] { overflow-wrap: anywhere; }
  .quote-size-trigger {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    min-height: 44px; margin: 4px 0 0 8px; padding: 5px 10px;
    border: 1px solid #e7cba1; border-radius: var(--fl-radius-sm, 6px);
    background: #fff8e9; color: var(--fl-color-warning, #9a5a13);
    font: inherit; font-size: 12px; font-weight: 600; line-height: 1.4;
    vertical-align: middle; cursor: pointer;
  }
  .quote-size-trigger[aria-expanded="true"] { border-color: var(--fl-color-warning); }
  .quote-size-trigger::before {
    content: "!"; display: inline-grid; place-items: center; width: 15px; height: 15px;
    border: 1px solid currentColor; border-radius: 50%; font-size: 10px; font-weight: 700;
  }
  .quote-size-popover {
    position: fixed; z-index: 150; width: min(344px, calc(100vw - 24px));
    max-height: var(--quote-size-max-height, calc(100dvh - 120px));
    padding: 18px; border: 1px solid #e7cba1;
    border-radius: var(--fl-radius-md, 8px); background: var(--fl-color-surface, #fff);
    box-shadow: 0 12px 36px #182c4a26; color: var(--fl-color-text, #0d1729);
    font-family: inherit; font-size: 14px; line-height: 1.7;
  }
  .quote-size-popover[hidden] { display: none; }
  .quote-size-popover::before {
    content: ""; position: absolute; top: -7px;
    left: var(--quote-size-arrow-left, 24px); width: 12px; height: 12px;
    background: var(--fl-color-surface, #fff);
    border-top: 1px solid #e7cba1; border-left: 1px solid #e7cba1; transform: rotate(45deg);
  }
  .quote-size-popover[data-placement="above"]::before {
    top: auto; bottom: -7px; transform: rotate(225deg);
  }
  .quote-size-popover__head { display: flex; align-items: flex-start; gap: 8px; }
  .quote-size-popover__title {
    flex: 1; margin: 0; color: var(--fl-color-warning); font-size: 16px; font-weight: 700; line-height: 1.6;
  }
  .quote-size-popover__close {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 44px; min-height: 44px; margin: -10px -10px -4px 0; padding: 0;
    border: 0; border-radius: var(--fl-radius-sm); background: transparent;
    color: var(--fl-color-text-muted); font: inherit; font-size: 24px; cursor: pointer;
  }
  .quote-size-popover__copy { margin: 10px 0 0; color: var(--fl-color-text-muted); }
  .quote-size-popover__file { display: block; margin: 4px 0 0; font-size: 12px; color: var(--fl-color-text-muted); overflow-wrap: anywhere; }
  .quote-size-popover__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .quote-size-popover__actions .fl-button { flex: 1 1 120px; min-height: 44px; padding: 9px 10px; font-size: 13px; white-space: normal; }
  .quote-size-popover__ack {
    display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 5px 0;
    background: transparent; border: 0; color: var(--fl-color-text-muted); font: inherit;
    font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
  }
  .quote-size-popover__editor { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--fl-color-border); }
  .quote-size-popover__editor[hidden] { display: none; }
  .quote-size-popover__target-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
  .quote-size-popover__editor input {
    width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--fl-color-border);
    border-radius: var(--fl-radius-sm); background: var(--fl-color-surface); color: var(--fl-color-text); font: inherit;
  }
  .quote-size-popover__editor .fl-button { width: 100%; min-height: 44px; margin-top: 10px; }
  .quote-size-popover__editor small { display: block; margin-top: 7px; color: var(--fl-color-text-muted); font-size: 12px; }
  .quote-size-popover__error { margin: 7px 0 0; color: var(--fl-color-warning); font-size: 13px; }
  .quote-size-popover :is(button, input):focus-visible, .quote-size-trigger:focus-visible {
    outline: 3px solid #87b7ff; outline-offset: 3px;
  }
  @media (max-width: 480px) {
    .quote-size-popover { padding: 16px; }
    .quote-size-trigger { margin-left: 6px; }
  }
  .quote-size-popover[data-scrollable="true"] { overflow-y: auto; }
  @media print { .quote-size-popover, .quote-size-trigger { display: none !important; } }
}
/* Operational variants; public display regions 1-13 retain their UI. */
@layer components {
  /* TASK-115: selected homepage A. Quote composition is owned by site-upgrade.css. */
  body.platform-home main > section > .section-inner { width: min(1200px, calc(100% - 64px)); max-width: none; }
/* TASK-127: approved Taiwan digital craft composition. The original hero and
   service-card component declarations are consolidated here; other pages keep
   their existing owners. Quote-only visual variants retain the shared workflow. */
body.craft-home { background: #fff; }
.topbar {
  top: 0; left: 0; right: 0; width: 100%; max-width: none; min-height: 80px;
  margin: 0; padding: 12px max(24px, calc((100vw - 1280px) / 2));
  transform: none; border-width: 0 0 1px; border-radius: 0;
  background: #fff; box-shadow: 0 2px 14px #162d4810;
}
/* TASK-129: reuse shared chrome, labels and form states across public pages. */
.fl-page-title { font-size: var(--page-title-size, 44px) !important; line-height: 1.25 !important; text-wrap: balance; }
.fl-page-eyebrow { color: var(--page-eyebrow-color, var(--fl-color-brand)) !important; }
.editorial-photo-hero { --page-eyebrow-color: #d8eaff; }
.required-marker { display: inline; margin-left: 2px; color: var(--fl-color-text-muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.social-control:disabled { opacity: .45; cursor: default; pointer-events: none; }
/* Shared support launcher: brand blue, bundled headset, persistent contact label.
   Channel availability belongs to the panel, independent of launcher appearance. */
.social-dock-toggle {
  position: relative; isolation: isolate; display: grid; place-items: center;
  width: 58px; height: 54px; min-width: 58px; min-height: 54px; padding: 0;
  border: 0; border-radius: 21px 21px 7px 21px; background: transparent; color: #fff;
  box-shadow: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease;
}
.social-dock-toggle::before {
  content: ""; position: absolute; pointer-events: none;
  border-radius: inherit; transition: background-color 180ms ease, transform 180ms ease;
}
.social-dock-toggle::before {
  z-index: -1; inset: 0; background: var(--fl-color-brand);
  box-shadow: inset 0 1px 0 #ffffff38, 0 8px 22px #003d9e26;
}
.social-dock-mark, .social-dock-dismiss { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity 150ms ease, transform 180ms ease; }
.social-dock-mark svg { width: 26px; height: 26px; stroke-width: 2; }
.social-dock-dismiss svg { width: 23px; height: 23px; stroke-width: 2; }
.social-dock-dismiss { opacity: 0; transform: rotate(-45deg) scale(.8); }
.social-dock.is-open .social-dock-mark { opacity: 0; transform: scale(.8); }
.social-dock.is-open .social-dock-dismiss { opacity: 1; transform: none; }
.social-dock-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 7px var(--fl-color-text); }
.social-dock-label {
  position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: max-content; min-height: 44px; box-sizing: border-box;
  padding: 8px 14px; border: 1px solid var(--fl-color-border);
  border-radius: var(--fl-radius-md); background: var(--fl-color-surface); color: var(--fl-color-text);
  font-size: 13px; font-weight: 600; line-height: 1.5;
  opacity: 1; visibility: visible; pointer-events: auto; cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
  .social-dock-toggle:hover { transform: translateY(-2px); }
  .social-dock-toggle:hover::before { background: var(--fl-color-brand-hover); }
}
@media (max-width: 760px) {
  .social-dock-toggle { width: 56px; height: 52px; min-width: 56px; min-height: 52px; border-radius: 20px 20px 7px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .social-dock-toggle, .social-dock-toggle::before,
  .social-dock-mark, .social-dock-dismiss { transition: none; }
  .social-dock-toggle:hover { transform: none; }
}
.social-dock-close { min-width: 44px; min-height: 44px; }
.social-dock-panel { position: static; inset: auto; max-height: calc(100dvh - 160px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 760px) { .social-dock-panel { max-height: calc(100dvh - 220px); } }
.social-inquiry-link { display: flex; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin: 14px 0; }
.social-inquiry-link svg { width: 17px; height: 17px; }
.social-panel-list .social-control { height: auto; min-height: 88px; padding-block: 10px; }
.social-panel-list .social-control:disabled { opacity: 1; color: var(--fl-color-text-muted); background: var(--fl-color-surface-subtle, #f5f8fc); }
.social-control-status { font-size: 11px; line-height: 1.5; }
.social-dock-panel > .social-dock-missing { font-size: 12px; line-height: 1.7; text-align: left; }
.auth-recovery-help, .photo-shipping-details { padding-block: 14px; border-block: 1px solid var(--fl-color-border); color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.7; }
.auth-recovery-help > summary, .photo-shipping-details > summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: var(--fl-color-text); }
.photo-shipping-details > .photo-option-grid { margin-top: 16px; }
.model-pricing-eligibility { margin: 14px 0; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.7; }
@media (max-width: 760px) {
  .fl-page-title { font-size: var(--page-title-size-mobile, 32px) !important; }
  body form :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="file"]) { font-size: 16px; }
}
:is(body.craft-home .video-hero, [data-brand-hero]) { min-height: 680px; overflow: hidden; background-color: var(--brand-hero-bg, #09131d); --brand-hero-secondary-color: #fff; --brand-hero-secondary-line: #bac9db80; --brand-hero-secondary-hover: #b9d8ff; --brand-hero-secondary-hover-line: #fff; }
:is(body.craft-home .video-hero, [data-brand-hero])::after {
  content: ""; position: absolute; inset: 0; height: auto; pointer-events: none;
  background: var(--brand-hero-overlay, linear-gradient(90deg, #06111aeb, #081520b0 50%, #08152026 78%), linear-gradient(0deg, #081520b3, transparent 40%));
}
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-content {
  display: flex; align-items: center; width: min(1200px, calc(100% - 64px));
  max-width: none; min-height: 680px; margin-inline: auto; padding-block: 142px 44px;
}
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-copy { position: relative; width: 100%; max-width: none; padding: 0; }
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-copy > .eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; color: var(--brand-hero-eyebrow, #c1daf1); font-size: 13px; font-weight: 600; letter-spacing: .06em; }
:is(body.craft-home .video-hero, [data-brand-hero]) .eyebrow svg { width: 17px; height: 17px; }
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-brand { margin: 0 0 10px; color: var(--brand-hero-title, #fff); font-size: 25px; font-weight: 700; line-height: 1.4; letter-spacing: -.03em; }
:is(body.craft-home .video-hero, [data-brand-hero]) h1 { max-width: 65%; margin: 0; color: var(--brand-hero-title, #fff); font-size: clamp(42px, 4.5vw, 66px); line-height: 1.22; letter-spacing: -.045em; text-wrap: balance; }
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-promise { max-width: 62%; margin: 16px 0 0; color: var(--brand-hero-promise, #bfcee0); font-size: clamp(15px, 1.4vw, 19px); font-weight: 500; line-height: 1.65; }
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-promise span { display: inline-block; }
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-lede { max-width: 57%; margin: 22px 0 0; color: var(--brand-hero-copy, #ecf1f7); font-size: 18px; line-height: 1.75; }
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-lede span { display: block; }
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-actions { display: flex; flex-wrap: wrap; gap: 24px; max-width: 62%; margin-top: 28px; }
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-actions .icon-button { min-width: 0; min-height: 52px; justify-content: center; padding: 14px 24px; font-size: 15px; }
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-actions .icon-button span { white-space: normal; overflow: visible; text-overflow: clip; }
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-actions .secondary { padding-inline: 0; color: var(--brand-hero-secondary-color, #fff); border: 0; border-bottom: 1px solid var(--brand-hero-secondary-line, #bac9db80); border-radius: 0; background: transparent; box-shadow: none; }
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-actions .secondary:hover { border-color: var(--brand-hero-secondary-hover-line, #fff); color: var(--brand-hero-secondary-hover, #b9d8ff); background: transparent; }
:is(body.craft-home .video-hero, [data-brand-hero]) .hero-actions .icon-button:focus-visible { outline: 3px solid var(--brand-hero-focus, #b6d7ff); outline-offset: 4px; }
:is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights { position: relative; z-index: 2; width: min(800px, 100%); max-width: none; margin: 48px 0 0; padding: 0; gap: 24px; border: 0; border-radius: 0; background: transparent; }
:is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights > div { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-content: start; column-gap: 13px; row-gap: 4px; padding: 0; border: 0; }
:is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights > div + div { border-left: 1px solid var(--brand-hero-divider, #c5d6e947); padding-left: 24px; grid-template-columns: 36px minmax(0, 1fr); }
:is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights > div + div dt svg { left: 24px; }
:is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights dt { grid-column: 2; color: var(--brand-hero-title, #fff); font-size: 15px; line-height: 1.5; }
:is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights dt svg { position: absolute; left: 0; top: 5px; width: 32px; height: 32px; color: var(--brand-hero-icon, #c1daf1); stroke-width: 1.5; }
:is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights dd { grid-column: 2; margin: 0; color: var(--brand-hero-highlight-copy, #d4deea); font-size: 12px; line-height: 1.65; }
body.craft-home #service-paths { padding-block: 64px 46px; background: #fff; scroll-margin-top: 100px; }
body.craft-home #service-paths .platform-section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); align-items: end; gap: 44px; margin-bottom: 30px; text-align: left; }
body.craft-home #service-paths .platform-section-heading > div { max-width: none; }
body.craft-home #service-paths .eyebrow { margin: 0 0 12px; color: var(--fl-color-brand); font-size: 12px; letter-spacing: .035em; }
body.craft-home #service-paths h2 { max-width: none; margin: 0; font-size: clamp(27px, 3vw, 39px); line-height: 1.4; letter-spacing: -.025em; }
body.craft-home #service-paths .platform-section-heading > p { max-width: 34ch; margin: 0; font-size: 14px; line-height: 1.8; }
body.craft-home #service-paths .platform-intent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.craft-home #service-paths .platform-intent-card {
  --intent-accent: var(--fl-color-brand); --intent-wash: #fff; --intent-line: var(--fl-color-border);
  position: relative; display: flex; flex-direction: column; gap: 0; padding: 0 0 8px;
  min-width: 0; overflow: hidden; border: 0; border-radius: 6px; background: #fff;
  color: var(--fl-color-text); text-decoration: none; cursor: pointer; scroll-margin-top: 104px;
  box-shadow: none; transition: background-color .18s ease;
}
body.craft-home #service-paths .platform-intent-card:is(:hover, :focus-visible) { background: #f5f8fd; box-shadow: none; }
body.craft-home #service-paths .platform-intent-card:focus-visible { outline: 3px solid var(--intent-accent); outline-offset: 4px; }
body.craft-home #service-paths .platform-intent-copy { flex: 0 0 auto; width: 100%; padding: 20px 20px 0; }
body.craft-home #service-paths .platform-intent-meta { min-height: 0; margin: 0 0 6px; }
body.craft-home #service-paths .platform-intent-meta small { color: var(--intent-accent); font-size: 13px; font-weight: 650; }
body.craft-home #service-paths h3 { margin: 0; font-size: clamp(23px, 2.2vw, 29px); line-height: 1.35; letter-spacing: -.015em; }
body.craft-home #service-paths .platform-intent-description { flex: 1; margin: 0; padding: 10px 54px 12px 20px; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.8; }
body.craft-home #service-paths .platform-card-media { display: block; flex: 0 0 auto; aspect-ratio: 3 / 2; width: 100%; max-width: 100%; height: auto; margin: 0; border-radius: 6px; object-fit: cover; object-position: center; background: #f3f6fa; mix-blend-mode: normal; mask-image: none; transition: filter .18s ease; }
body.craft-home #service-paths .platform-intent-card:hover .platform-card-media { filter: brightness(1.035); }
body.craft-home #service-paths .platform-intent-cta { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: auto; min-height: 44px; margin: 0 20px; padding: 7px 0; border: 0; border-radius: 0; color: var(--intent-accent); background: transparent; font-size: 14px; font-weight: 650; }
body.craft-home #service-paths .platform-intent-cta svg { width: 19px; height: 19px; }
body.craft-home #service-paths .platform-intent-cta svg:last-child { position: absolute; right: 0; width: 23px; }
body.craft-home #service-paths .platform-intent-card:is(:hover, :focus-visible) .platform-intent-cta { color: var(--intent-accent); background: transparent; filter: none; }
body.craft-home #service-paths .platform-media-caption { margin-top: 20px; font-size: 12px; text-align: left; line-height: 1.7; }

/* Craft quote variant: existing viewer, state machine, native fields and server
   totals remain authoritative. This bounded variant changes only composition. */
body.craft-home .platform-quote-section { padding-block: 48px 60px; background: #f5f8fc; }
body.craft-home.quote-route-focused .platform-quote-section { padding-top: 116px; }
body.craft-home .quote-design-a { padding: 28px; border-radius: 10px; box-shadow: 0 8px 28px #203a5b08; scroll-margin-top: 108px; }
body.craft-home .quote-design-a .quote-panel-heading { padding-bottom: 24px; }
body.craft-home .quote-design-a .quote-panel-heading h2 { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.4; letter-spacing: -.025em; }
body.craft-home .quote-design-a .quote-panel-description { margin-top: 8px; font-size: 14px; }
body.craft-home .quote-design-a .quote-requirement-model { background: #fff; border-radius: 8px; }
body.craft-home .quote-design-a .quote-model-expand { display: none; }
body.craft-home .quote-design-a .quote-requirement-files { padding: 18px; }
body.craft-home .quote-design-a .quote-file-heading { margin-bottom: 14px; }
body.craft-home .quote-design-a .quote-file-heading h3 { font-size: 17px; }
body.craft-home .quote-design-a .quote-file-heading button { min-height: 44px; }
body.craft-home .quote-design-a .quote-requirement-file { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; }
body.craft-home .quote-design-a .quote-requirement-file > svg { display: none; }
body.craft-home .quote-design-a .quote-requirement-file strong { font-size: 14px; }
body.craft-home .quote-design-a .quote-requirement-file :is(span, small) { font-size: 13px; }
body.craft-home .quote-design-a .quote-requirement-file .quote-unit-state.is-confirmed { color: #16784f; }
body.craft-home .quote-design-a .quote-requirement-files > p { margin-top: 14px; }
body.craft-home .quote-design-a .quote-production-settings { padding: 16px; border-color: var(--fl-color-border); }
body.craft-home .quote-design-a .quote-setting-disclosure { background: #fff; box-shadow: none; }
body.craft-home .quote-design-a .quote-setting-disclosure > summary { min-height: 68px; padding: 14px 12px; gap: 10px; }
body.craft-home .quote-design-a .quote-setting-disclosure > summary strong { font-size: 15px; }
body.craft-home .quote-design-a .quote-setting-step { width: 34px; height: 34px; flex-basis: 34px; font-size: 13px; }
body.craft-home .quote-design-a .quote-advanced-details > summary { min-height: 60px; font-size: 14px; }
body.craft-home .quote-design-a .quote-model-settings > label > small { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.65; }
body.craft-home .quote-design-a .quote-model-settings :is(input, select) { min-height: 44px; }
body.craft-home .quote-design-a .quote-preview-tools button { width: 40px; height: 40px; }
body.craft-home .quote-design-a .quote-preview-hint { max-width: calc(100% - 78px); font-size: 10px; }
body.craft-home .quote-design-a .quote-preview-dfm { font-size: 11px; }
body.craft-home .quote-design-a .quote-estimate-summary { border-top: 1px solid var(--fl-color-border); border-radius: 8px; background: #fff; box-shadow: none; }
body.craft-home .quote-design-a .quote-estimate-summary > summary { min-height: 66px; padding: 18px; }
body.craft-home .quote-design-a .quote-estimate-summary > summary > span { font-size: 18px; }
body.craft-home .quote-design-a .quote-estimate-summary > summary > strong { font-size: 11px; white-space: normal; text-align: right; }
body.craft-home .quote-design-a .quote-estimate-summary-body { padding: 18px; }
body.craft-home .quote-design-a .quote-summary-price { padding: 12px 0 24px; margin: 0 0 20px; border-bottom: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; }
body.craft-home .quote-design-a .quote-summary-price strong { font-size: 28px; line-height: 1.35; letter-spacing: -.025em; }
body.craft-home .quote-design-a[data-price-state="ready"] .quote-summary-price strong { font-size: clamp(32px, 3.1vw, 44px); }
body.craft-home .quote-design-a .quote-summary-price :is(span, small) { font-size: 13px; line-height: 1.65; }
body.craft-home .quote-design-a .direct-order-breakdown { padding-bottom: 24px; gap: 18px; }
body.craft-home .quote-design-a .quote-order-summary { margin: 16px -18px -18px; padding: 18px; border-top: 1px solid var(--fl-color-border); background: #fafbfd; }
body.craft-home .quote-design-a .quote-order-summary-title { font-size: 15px; }
body.craft-home .quote-design-a .quote-summary-list :is(dt, dd) { font-size: 12px; }
body.craft-home .quote-design-a .quote-summary-intro { font-size: 12px; line-height: 1.8; }
@media (min-width: 1100px) {
  body.craft-home .quote-design-a[data-current-step="2"] .quote-workspace-layout { grid-template-columns: minmax(0, 2.45fr) minmax(255px, 1fr); gap: 18px; }
  body.craft-home .quote-design-a[data-current-step="2"] .quote-stage { grid-template-columns: minmax(0, .775fr) minmax(0, 1fr); gap: 18px; }
  body.craft-home .quote-design-a[data-current-step="2"] .quote-requirement-model { top: 100px; margin: 0; padding: 12px; }
  body.craft-home .quote-design-a[data-current-step="2"] .quote-requirement-files { padding: 16px 4px 4px; }
  body.craft-home .quote-design-a[data-current-step="2"] #quoteRequirementPreviewMount .model-preview { height: 360px; min-height: 360px; border: 0; }
  body.craft-home .quote-design-a[data-current-step="2"] #quoteRequirementPreviewMount canvas { height: 360px; min-height: 360px; }
  body.craft-home .quote-design-a[data-current-step="2"] .quote-production-settings { padding: 16px; }
  body.craft-home .quote-design-a[data-current-step="2"] .quote-estimate-summary { top: 100px; }
}
@media (max-width: 1099px) {
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-content { padding-top: 130px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) h1 { max-width: 75%; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-lede { font-size: 16px; }
  body.craft-home #service-paths .platform-intent-description { padding-right: 20px; }
  body.craft-home .quote-design-a { padding: 24px; }
}
@media (max-width: 999px) {
  body.craft-home .quote-design-a .quote-requirement-model { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: start; gap: 12px; padding: 12px; }
  body.craft-home .quote-design-a .quote-requirement-files { grid-column: 2; grid-row: 1; min-width: 0; padding: 0; border: 0; }
  body.craft-home .quote-design-a .quote-file-heading { gap: 8px; margin-bottom: 6px; }
  body.craft-home .quote-design-a .quote-file-heading h3 { font-size: 15px; }
  body.craft-home .quote-design-a .quote-file-heading button { min-height: 44px; padding: 8px; }
  body.craft-home .quote-design-a .quote-requirement-file { padding: 8px 0; border: 0; }
  body.craft-home .quote-design-a .quote-requirement-file strong { font-size: 13px; }
  body.craft-home .quote-design-a .quote-requirement-file :is(span, small) { font-size: 12px; }
  body.craft-home .quote-design-a .quote-requirement-files > p { display: none; }
  body.craft-home .quote-design-a #quoteRequirementPreviewMount { grid-column: 1; grid-row: 1; width: 100%; margin: 0; }
  body.craft-home .quote-design-a #quoteRequirementPreviewMount .model-preview { height: 120px; min-height: 120px; border: 0; }
  body.craft-home .quote-design-a #quoteRequirementPreviewMount canvas { height: 120px; min-height: 120px; }
  body.craft-home .quote-design-a .quote-requirement-model:not(.is-preview-expanded) :is(.quote-preview-tools, .quote-preview-hint, .quote-preview-dfm) { display: none; }
  body.craft-home .quote-design-a .quote-model-expand { display: flex; grid-column: 1 / -1; grid-row: 2; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 10px 12px; color: var(--fl-color-brand); border: 0; border-top: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; font-size: 13px; cursor: pointer; }
  body.craft-home .quote-design-a .quote-model-expand:focus-visible { outline: 3px solid var(--fl-color-brand); outline-offset: 2px; }
  body.craft-home .quote-design-a .quote-requirement-model.is-preview-expanded { grid-template-columns: minmax(0, 1fr); }
  body.craft-home .quote-design-a .is-preview-expanded .quote-requirement-files { grid-column: 1; grid-row: 1; }
  body.craft-home .quote-design-a .is-preview-expanded #quoteRequirementPreviewMount { grid-column: 1; grid-row: 2; }
  body.craft-home .quote-design-a .is-preview-expanded #quoteRequirementPreviewMount .model-preview,
  body.craft-home .quote-design-a .is-preview-expanded #quoteRequirementPreviewMount canvas { height: 280px; min-height: 280px; }
  body.craft-home .quote-design-a .is-preview-expanded .quote-model-expand { grid-row: 3; }
}
@media (max-width: 760px) {
  .topbar { min-height: 72px; padding: 12px 20px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) { min-height: 0; }
  :is(body.craft-home .video-hero, [data-brand-hero])::after { background: var(--brand-hero-overlay-mobile, linear-gradient(180deg, #06111aea, #081520b3 56%, #081520eb)); }
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-content { width: calc(100% - 40px); min-height: 0; align-items: flex-start; padding-block: var(--brand-hero-padding-mobile, 118px 34px); }
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-copy > .eyebrow { margin-bottom: 18px; font-size: 12px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-brand { font-size: 20px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) h1 { max-width: none; font-size: clamp(34px, 8.9vw, 52px); }
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-promise { max-width: none; margin-top: 12px; font-size: 14px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-lede { max-width: none; margin-top: 18px; font-size: 15px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-actions { max-width: none; gap: 16px; margin-top: 24px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-actions .icon-button { min-height: 48px; padding: 12px 16px; font-size: 14px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-actions .secondary { padding-inline: 0; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights { gap: 12px; margin-top: 32px; padding: 20px 0 0; border: 0; border-top: 1px solid var(--brand-hero-mobile-divider, #94a9bf66); border-radius: 0; background: transparent; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights > div { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 0; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights > div + div { grid-template-columns: minmax(0, 1fr); padding-left: 12px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights dt { grid-column: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights dt svg { position: static; width: 27px; height: 27px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .service-highlights dd { grid-column: 1; margin: 0; font-size: 11px; line-height: 1.6; text-wrap: balance; }
  body.craft-home #service-paths { padding-block: 40px 28px; }
  body.craft-home #service-paths .platform-section-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
  body.craft-home #service-paths .platform-section-heading > p { max-width: none; }
  body.craft-home #service-paths .platform-intent-grid { grid-template-columns: 1fr; gap: 28px; }
  body.craft-home #service-paths .platform-intent-copy { padding: 18px 4px 0; }
  body.craft-home #service-paths .platform-intent-description { padding: 8px 4px; }
  body.craft-home #service-paths .platform-intent-cta { margin-inline: 4px; }
  body.craft-home #service-paths .platform-media-caption { font-size: 11px; }
  body.craft-home .platform-quote-section { padding-block: 32px 44px; }
  body.craft-home.quote-route-focused .platform-quote-section { padding-top: 100px; }
  body.craft-home .quote-design-a { padding: 18px 14px; border-radius: 8px; }
  body.craft-home .quote-design-a .quote-panel-heading { padding-bottom: 20px; }
  body.craft-home .quote-design-a .quote-panel-description { font-size: 13px; }
  body.craft-home .quote-design-a .quote-setting-disclosure > summary { min-height: 62px; padding: 12px 10px; gap: 7px; }
  body.craft-home .quote-design-a .quote-setting-disclosure > summary strong { font-size: 14px; }
  body.craft-home .quote-design-a .quote-production-settings { padding: 12px; }
  body.craft-home .quote-design-a .quote-summary-price strong { font-size: 25px; }
  body.craft-home .quote-design-a .quote-model-settings > label { grid-template-columns: minmax(80px, .7fr) minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .topbar { padding-inline: 16px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-content { width: calc(100% - 32px); }
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-actions { gap: 10px; }
  :is(body.craft-home .video-hero, [data-brand-hero]) .hero-actions .icon-button { padding-inline: 12px; font-size: 13px; }
  body.craft-home .quote-design-a { padding-inline: 10px; }
  body.craft-home .quote-design-a .quote-production-settings { padding: 8px; }
  body.craft-home .quote-design-a .quote-requirement-model { grid-template-columns: 88px minmax(0, 1fr); padding: 10px; gap: 10px; }
  body.craft-home .quote-design-a .quote-requirement-model.is-preview-expanded { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  :is(body.craft-home .video-hero, [data-brand-hero]) > .hero-bg-video { display: none; }
  body.craft-home #service-paths :is(.platform-intent-card, .platform-card-media) { transition: none; }
}

body.platform-home .platform-capability-section { padding-block: 48px; }
body.platform-home .platform-capability-section .platform-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px; margin-bottom: 24px; }
body.platform-home .platform-capability-section .platform-section-heading h2 { max-width: none; }
body.platform-home .platform-capability-section .platform-section-heading > p { max-width: none; border-left: 1px solid var(--fl-color-border); padding-left: 28px; }
body.platform-home .platform-capability-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.platform-home .platform-capability-card,
body.platform-home .platform-capability-card:first-child {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  min-height: 460px;
  padding: 24px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #0c1d30;
  color: #fff;
  box-shadow: none;
}
body.platform-home .platform-capability-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, #08192d00 25%, #08192d70 48%, #08192deb 72%, #08192d 100%);
  pointer-events: none;
}
body.platform-home .platform-capability-card .platform-card-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: right center;
}
body.platform-home .platform-capability-card .catalog-kicker { align-self: auto; margin: 0; font-size: 11px; color: #fff; }
body.platform-home .platform-capability-card h3 { margin: 0; font-size: 23px; line-height: 1.35; color: #fff; }
body.platform-home .platform-capability-card p { min-height: 4.95em; margin: 0; font-size: 14px; line-height: 1.65; color: #fff; }
body.platform-home .platform-capability-card-cta { justify-content: flex-start; min-height: 44px; margin: 4px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #fff; font-size: 14px; }
body.platform-home .platform-capability-card:focus-visible { outline: 3px solid var(--fl-color-brand); outline-offset: 4px; }

body.platform-home .true-color-method-section { padding-block: 20px 32px; background: linear-gradient(110deg, #eaf4ff, #f8fbff); }
body.platform-home .true-color-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin: 0; border: 0; border-radius: 12px; overflow: hidden; background: #eef6ff; }
body.platform-home .true-color-showcase > div { order: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 32px; background: transparent; }
body.platform-home .true-color-showcase figure { order: 2; position: relative; margin: 0; min-height: 290px; height: 100%; }
body.platform-home .true-color-showcase img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
body.platform-home .true-color-showcase figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 7px 14px; color: #fff; background: #102236a8; font-size: 10px; }
body.platform-home .true-color-showcase .method-badge { margin: 0 0 12px; color: var(--fl-color-brand); background: transparent; padding: 0; font-size: 12px; }
body.platform-home .true-color-showcase h2 { margin: 0 0 12px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.45; }
body.platform-home .true-color-showcase p { margin: 0 0 18px; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.8; }
body.platform-home .true-color-showcase .icon-button { margin: 0; min-height: 44px; font-size: 14px; }
body.platform-home .home-method-details { margin-top: 12px; }
body.platform-home .home-method-details > summary { width: fit-content; min-height: 44px; padding: 10px 0; color: var(--fl-color-brand); font-size: 13px; font-weight: 600; cursor: pointer; }
body.platform-home .home-method-details > summary:focus-visible { outline: 2px solid var(--fl-color-brand); outline-offset: 3px; }
body.platform-home .home-method-intro { max-width: 80ch; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.7; }
body.platform-home .home-method-details .true-color-method-grid { margin-top: 16px; }
body.platform-home .true-color-method-grid article { min-height: 0; padding: 20px; }
body.platform-home .true-color-method-grid .method-badge { margin-bottom: 14px; }
body.platform-home .portfolio-strip { padding-block: 52px; }
body.platform-home .portfolio-strip .section-heading { margin-bottom: 16px; }
body.platform-home .case-section-intro { margin-bottom: 18px; }
body.platform-home .portfolio-strip .case-preview-card { grid-template-rows: 170px auto; }
body.platform-home .portfolio-strip .case-preview-card > div { gap: 8px; padding: 13px 16px 15px; }
body.platform-home .portfolio-strip .case-preview-card h3 { margin: 0; font-size: 17px; line-height: 1.4; }
body.platform-home .portfolio-strip .case-preview-card :is(.case-kicker,.case-preview-facts),
body.platform-home .portfolio-strip .case-preview-card > div > p:not(.case-kicker) { display: none; }
body.platform-home .platform-assist-section { padding-block: 24px; }


body.platform-home .platform-assist-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: end; gap: 28px; }
body.platform-home .platform-contact-slot { min-width: 0; min-height: 52px; }
body.platform-home .platform-assist-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border: 1px solid var(--fl-color-border); border-radius: 10px; background: #fff; box-shadow: 0 5px 16px #173c6608; }
body.platform-home .platform-assist-band > div:first-child { min-width: 0; padding-left: 20px; border-left: 4px solid var(--fl-color-brand); }
body.platform-home .platform-assist-band .eyebrow { display: none; }
body.craft-home .platform-assist-band { padding: 28px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.craft-home .platform-assist-band > div:first-child { padding-left: 0; border-left: 0; }
body.craft-home .platform-assist-band .eyebrow { display: block; margin: 0 0 12px; color: var(--fl-color-brand); font-size: 11px; font-weight: 650; line-height: 1.6; letter-spacing: .035em; }
body.platform-home .platform-assist-band h2 { margin: 0 0 6px; font-size: 26px; line-height: 1.4; }
body.platform-home .platform-assist-band p { max-width: none; margin: 0; font-size: 13px; }
body.platform-home .platform-assist-band .cta-actions { display: flex; flex: 0 0 auto; gap: 12px; }
body.platform-home .platform-assist-band .icon-button { min-height: 56px; padding: 14px 18px; font-size: 15px; }
body.platform-home .platform-assist-band .icon-button svg { flex-shrink: 0; }
body.platform-home .social-dock-panel { width: min(300px, calc(100vw - 40px)); }
body.platform-home .social-dock.is-at-assist { position: static; width: 100%; max-width: 100%; transform: none; }
body.platform-home .social-dock.is-at-assist .social-dock-panel { position: static; inset: auto; width: 100%; max-height: none; animation: none; }
body .site-footer { padding: 36px 0 18px; }
body .footer-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 28px; width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 0 0 24px; }
body .footer-brand > p { max-width: 30ch; font-size: 13px; }
body .footer-brand > .footer-social { margin-top: 16px; padding: 0; }
body .footer-origin { display: inline-flex; margin-top: 14px; padding: 5px 14px; border: 1px solid #64dff1; border-radius: 999px; color: #88e9f5; font-size: 14px; font-weight: 650; }
body .footer-social-status { display: block; margin-top: 10px; color: #bdc9db; font-size: 12px; }
body .footer-column { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding-left: 28px; border-left: 1px solid #91a7c04d; }
body .footer-column strong { margin-bottom: 6px; color: #fff; font-size: 16px; }
body .footer-column strong::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 10px; background: #64dff1; }
body .footer-column a { color: #dce5f1; font-size: 14px; line-height: 1.6; }
body .footer-column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
body .footer-bottom { width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding-top: 18px; color: #c4d0e0; font-size: 12px; }
body .footer-bottom a { color: inherit; }
@media (max-width: 1350px) {
 body.platform-home .platform-assist-band { flex-direction: column; align-items: stretch; }
 body.platform-home .platform-assist-band .cta-actions { flex-wrap: wrap; }
 body.platform-home .platform-assist-band .icon-button { flex: 1; }
}
@media (max-width: 1100px) {
 body.platform-home .platform-capability-card, body.platform-home .platform-capability-card:first-child { min-height: 440px; padding: 20px; }
 body.platform-home .platform-capability-card h3 { font-size: 19px; }
}
@media (max-width: 760px) {
 body.platform-home main > section > .section-inner { width: calc(100% - 32px); }
 body.platform-home .platform-capability-section { padding-block: 36px; }
 body.platform-home .platform-capability-section .platform-section-heading { grid-template-columns: 1fr; gap: 12px; }
 body.platform-home .platform-capability-section .platform-section-heading > p { border-left: 0; padding-left: 0; }
 body.platform-home .platform-capability-grid { grid-template-columns: 1fr; gap: 14px; }
 body.platform-home .platform-capability-card, body.platform-home .platform-capability-card:first-child { min-height: 400px; padding: 24px; }
 body.platform-home .true-color-showcase { grid-template-columns: 1fr; }
 body.platform-home .true-color-showcase > div { order: 1; padding: 24px; }
 body.platform-home .true-color-showcase figure { order: 2; min-height: 220px; }
 body.platform-home .portfolio-strip { padding-block: 36px; }
 body.platform-home .platform-assist-layout { grid-template-columns: 1fr; gap: 16px; }
 body.platform-home .platform-assist-band { flex-direction: column; align-items: stretch; padding: 22px; gap: 20px; }
 body.platform-home .platform-assist-band h2 { font-size: 20px; }
 body.platform-home .platform-assist-band .cta-actions { flex-wrap: wrap; }
 body.platform-home .platform-assist-band .icon-button { flex: 1 1 140px; min-width: 0; gap: 8px; padding: 12px; font-size: 14px; }
 body.platform-home .platform-assist-band .icon-button span { white-space: nowrap; }
 body.platform-home .platform-assist-band .icon-button svg { width: 18px; height: 18px; }
 body.platform-home .platform-assist-band .icon-button svg:last-child { width: 16px; height: 16px; }
 body .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
 body .footer-inner { width: calc(100% - 40px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
 body .footer-brand { grid-column: 1 / -1; }
 body .footer-column { border: 0; padding-left: 0; }
 body .footer-bottom { width: calc(100% - 40px); flex-direction: column; align-items: flex-start; gap: 8px; }
}

  .auth-main,
  .photo-order-page,
  .member-main,
  .checkout-main,
  .after-sales-main,
  .legal-main{ background: var(--color-surface); }
  :is(.auth-main, .photo-order-page, .checkout-main, .after-sales-main, .legal-main) h1{
    font-size: 32px;
    line-height: 1.4;
    max-width: 28ch;
    overflow-wrap: anywhere;
  }
  :is(.auth-main, .photo-order-page, .checkout-main, .after-sales-main, .legal-main) :is(h2, h3){
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .auth-main .auth-layout{ max-width: 1060px; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 80px; align-items: start; min-height: 560px; }
  .auth-main .auth-section{ padding-top: 140px; }
  .auth-main .auth-copy{ padding-top: 40px; }
  .auth-main .auth-copy h1{ max-width: 13em; }
  .auth-main .auth-copy > p:not(.eyebrow){ font-size: 16px; line-height: 1.8; }
  .auth-main .auth-benefits{ display: grid; gap: 0; max-width: 420px; }
  .auth-main .auth-benefits span{ padding: 16px 0; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; background: transparent; }
  .auth-main .auth-benefits svg{ width: 20px; height: 20px; color: var(--color-brand); }
  .auth-main .auth-panels{ display: flex; flex-direction: column; gap: 0; padding: 28px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); }
  .auth-main .auth-panels > .auth-social-card{ order: 2; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--color-border); }
  .auth-main .auth-social-card > summary{ cursor: pointer; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--color-text-muted); }
  .auth-main .auth-social-card h2{ font-size: 18px; }
  .auth-main .auth-card > .panel-heading{ display: none; }
  .auth-main .auth-card{ gap: 20px; }
  .auth-main .auth-benefits{ margin-block: 24px; }
  .auth-main :is(.auth-card, .auth-social-card){ padding: 24px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .auth-main .auth-mode-tabs{ border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; background: transparent; }
  .auth-main .auth-mode-tabs button{ flex: 1; min-height: 48px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; box-shadow: none; }
  .auth-main .auth-mode-tabs button[aria-selected="true"]{ border-bottom-color: var(--color-brand); color: var(--color-brand); }
  .auth-main .auth-form-feedback{ margin-top: 20px; }
  .auth-main [hidden]{ display: none; }
  body:is([data-page="login"], [data-page="member"], [data-page="photo-order"], [data-page="checkout"], [data-page="after-sales"]) .social-dock{ position: relative; right: auto; bottom: auto; width: max-content; margin: 16px 24px 24px auto; }
  #afterSalesEvidenceList{ overflow-wrap: anywhere; scroll-margin-top: 112px; }
  #afterSalesEvidenceList.is-error{ color: var(--fl-color-danger); }
  @media (max-width: 760px) {
  .platform-home .video-hero .hero-content{ padding-bottom: 84px; }
  }
  :is(.photo-order-page, .checkout-main, .after-sales-main) .workflow-section-heading{ display: flex; gap: 12px; align-items: baseline; padding-top: 28px; margin: 28px 0 20px; border-top: 1px solid var(--color-border); font-size: 22px; }
  :is(.photo-order-stage, .checkout-payment-options) > .workflow-section-heading:first-child{ margin-top: 0; padding-top: 0; border-top: 0; }
  .workflow-section-heading > span{ flex-shrink: 0; font-size: 13px; color: var(--color-brand); }
  :is(.photo-order-page, .checkout-main) .workflow-summary-list{ padding: 0; margin-block: 20px; }
  .workflow-summary-list > div{ display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--color-border); font-size: 14px; line-height: 1.6; }
  .workflow-summary-list dt{ color: var(--color-text-muted); }
  .workflow-summary-list dd{ margin: 0; font-weight: 600; overflow-wrap: anywhere; }
  .member-main .member-section{ padding-top: 108px; }
  .member-main .member-dashboard-head{ margin-bottom: 16px; align-items: start; }
  .member-main .member-dashboard-head h1{ font-size: var(--workspace-title-size, 26px); margin: 0; }
  .member-main .member-dashboard-head p{ font-size: 14px; margin: 6px 0 0; overflow-wrap: anywhere; }
  .member-main #memberQuotes{ padding: 16px 0 0; }
  .member-main #memberQuotes > .panel-heading{ margin-bottom: 0; align-items: center; }
  .member-main #memberQuotes h2{ margin: 0; font-size: 18px; }
  .member-main .member-quote-overview{ grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: start; }
  .member-main .member-quote-copy strong{ font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
  .member-main .member-quote-copy small{ font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
  .member-main .member-task-stage{ display: block; color: var(--color-brand); font-size: 14px; font-weight: 600; }
  .member-main .member-task-amount{ display: block; color: var(--color-text-muted); font-size: 14px; }
  .member-main .member-quote-type{ width: auto; height: auto; min-height: 32px; padding: 4px; border-radius: 4px; white-space: nowrap; }
  .member-main .member-quote-action:not(.is-pending){ background: var(--color-brand); }
  .member-main .member-task-payment-note{ font-size: 14px; color: var(--color-text-muted); overflow-wrap: anywhere; }
  .member-main .member-quote-actions{ flex-wrap: wrap; }
  .member-main .member-quote-actions :is(a, button){ min-height: 44px; }
  .member-main .member-quote-action.is-pending{ white-space: normal; }
  .member-main .member-command-center{ display: flex; flex-direction: column-reverse; align-items: stretch; text-align: left; gap: 16px; padding: 20px 0; border: 0; border-top: 1px solid var(--color-border); border-radius: 0; background: transparent; box-shadow: none; }
  .member-main .member-command-center > *{ width: 100%; max-width: none; }
  .member-main .member-command-copy > :is(h2, p){ display: none; }
  .member-main .member-summary{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; background: transparent; border: 0; gap: 20px; }
  .member-main .member-summary article{ display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 8px 0; background: transparent; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; }
  .member-main .member-summary strong{ font-size: 26px; color: var(--color-text); }
  .member-main .member-workspace-actions{ margin: 0; }
  .member-main .member-command-center h2{ font-size: 22px; }
  .member-main .member-section-nav{ position: static; margin-block: 20px; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; background: var(--color-surface); }
  .member-main .member-section-nav a{ min-height: 48px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; }
  .member-main .member-section-nav a.is-active,
  .member-main .member-section-nav a[aria-current]{ border-bottom-color: var(--color-brand); color: var(--color-brand); }
  .member-main .member-workspace-panel{ padding: 24px 0; border: 0; border-top: 1px solid var(--color-border); border-radius: 0; box-shadow: none; }
  .member-main .member-priority-grid{ grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .member-main .member-quote-card{ padding: 16px 0; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; box-shadow: none; background: transparent; }
  .member-main .member-quote-topline{ padding-bottom: 12px; }
  .member-main .member-proof-panel{ padding: 24px 0; border: 0; border-top: 1px solid var(--color-border); border-radius: 0; background: transparent; }
  .member-main .member-proof-panel.is-pending{ display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); column-gap: 28px; }
  .member-main .member-proof-panel > header{ grid-column: 1 / -1; margin-bottom: 24px; }
  .member-main .member-proof-panel h4{ font-size: 20px; }
  .member-main .member-proof-panel header p{ font-size: 14px; }
  .member-main .member-proof-layout{ grid-column: 1; grid-row: 2 / 5; display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .member-main .member-proof-visual{ width: 100%; height: auto; min-height: 300px; aspect-ratio: 4 / 3; background: var(--color-surface-muted); border-radius: 8px; }
  .member-main .member-proof-visual img{ width: 100%; height: 100%; object-fit: contain; }
  .member-main :is(.member-proof-feedback, .member-proof-ack, .member-proof-actions, .member-proof-validation){ grid-column: 2; margin: 0 0 20px; }
  .member-main .member-proof-validation[hidden]{ display: none; }
  .member-main :is([data-proof-note], [data-proof-ack])[aria-invalid="true"]{ outline: 2px solid var(--color-danger, #ba1235); outline-offset: 2px; }
  .member-main .member-proof-feedback{ align-content: start; gap: 12px; font-size: 14px; }
  .member-main .member-proof-ack{ align-self: start; font-size: 14px; }
  .member-main .member-proof-actions{ flex-wrap: wrap; align-self: end; }
  .member-main .member-proof-copy{ font-size: 14px; }
  .member-main .member-status-list{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .member-main .member-status-row{ border-radius: 0; border: 0; border-bottom: 1px solid var(--color-border); background: transparent; padding: 20px 0; }
  #memberStatusList{ max-height: none; overflow: visible; }
  #memberStatusList .member-status-row{ grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; }
  #memberStatusList .member-status-row > div{ min-width: 0; }
  #memberStatusList .member-status-row strong{ font-size: 16px; line-height: 1.5; }
  #memberStatusList .member-status-row small{ margin-top: 4px; color: var(--color-text-muted); font-size: 13px; font-weight: 400; }
  #memberStatusList .member-progress-details{ display: grid; gap: 8px; margin: 0; }
  #memberStatusList .member-progress-details > div{ display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
  #memberStatusList .member-progress-details :is(dt, dd){ min-width: 0; margin: 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
  #memberStatusList .member-progress-details dt{ flex: 0 0 4em; color: var(--color-text-muted); }
  #memberStatusList .member-progress-details dd{ flex: 1 1 12em; color: var(--color-text); }
  .member-main .member-workspace-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .member-main .member-document-item{ padding: 18px 0; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; }
  .member-main .member-account-panel{ border: 0; border-block: 1px solid var(--color-border); border-radius: 0; box-shadow: none; background: transparent; }
  .member-main .member-profile{ padding: 24px 0; border: 0; box-shadow: none; }
  .member-main :is(.member-guest, .member-empty-start){ display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 440px; text-align: center; padding: 48px 24px; border: 0; box-shadow: none; background: transparent; }
  .member-main :is(.member-guest, .member-empty-start)[hidden]{ display: none; }
  .member-state-icon{ display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--color-surface-info); color: var(--color-brand); margin-bottom: 16px; }
  .member-state-icon svg{ width: 28px; height: 28px; }
  .member-main .member-dashboard.is-empty > :is(#memberQuotes, .member-priority-grid, .member-workspace:not(#memberAssets), .member-cases){ display: none; }
  @media (max-width: 760px) {
  .member-main .member-quote-overview{ grid-template-columns: max-content minmax(0, 1fr); }
  .member-main .member-quote-actions{ grid-column: 1 / -1; display: flex; gap: 8px; }
  .member-main .member-quote-actions > :is(a, button){ flex: 1 1 130px; }
  .member-main .member-section-nav{ flex-wrap: wrap; overflow: visible; gap: 4px; }
  .member-main .member-section-nav a{ flex: 1 1 100px; white-space: normal; }
  }
  .member-main .member-case-row{ border-radius: 0; box-shadow: none; }
  .after-sales-main .after-sales-hero,
  .legal-main :is(.legal-hero, .legal-document-hero){ background: transparent; border: 0; }
  .after-sales-main .after-sales-steps li{ border: 0; border-top: 2px solid var(--color-border); border-radius: 0; background: transparent; }
  .after-sales-main .after-sales-form{ padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .checkout-main .checkout-result{ display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 32px; margin-top: 24px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface-muted); scroll-margin-top: 120px; }
  .checkout-main .checkout-result > strong{ font-size: 24px; }
  .checkout-main .checkout-result[hidden]{ display: none; }
  .checkout-main .checkout-result .icon-button{ align-self: start; }
  .checkout-main .checkout-card:is([data-checkout-state="expired"], [data-checkout-state="locked"]) > :not(.checkout-case-field){ display: none; }
  .after-sales-main .after-sales-hero{ padding-top: 136px; padding-bottom: 32px; }
  .after-sales-main .after-sales-hero-layout{ display: block; max-width: 1180px; }
  .after-sales-main .after-sales-hero p{ max-width: 72ch; }
  .after-sales-main .after-sales-section{ padding-top: 0; }
  .after-sales-main .after-sales-layout{ grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .after-sales-main .after-sales-guide{ position: sticky; top: 112px; padding: 24px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface-muted); }
  .after-sales-main .after-sales-guide article{ padding: 16px 0; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; background: transparent; box-shadow: none; }
  .after-sales-main .after-sales-upload{ display: flex; flex-direction: column; justify-content: center; min-height: 220px; padding: 28px; text-align: center; border: 1px dashed var(--color-brand); background: var(--color-surface-info); border-radius: 8px; }
  .after-sales-main .after-sales-consent{ padding: 20px 0; border: 0; background: transparent; }
  :is(.photo-order-page, .after-sales-main) .intake-result{ display: flex; flex-direction: column; align-items: center; gap: 0; width: 100%; max-width: 800px; margin: 0 auto; padding: 48px 0; border: 0; border-radius: 0; background: transparent; color: var(--color-text); text-align: center; scroll-margin-top: 112px; }
  :is(.photo-order-page, .after-sales-main) .intake-result[hidden]{ display: none; }
  .intake-result-icon{ display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%; background: var(--color-surface-info); color: var(--color-brand); }
  .intake-result-icon svg{ width: 32px; height: 32px; }
  .intake-result h2{ font-size: 30px; margin: 0 0 16px; }
  .intake-result p{ color: var(--color-text-muted); font-size: 15px; line-height: 1.8; }
  .intake-result-reference{ font-weight: 600; overflow-wrap: anywhere; }
  .intake-result-next{ width: 100%; padding-block: 28px; margin-top: 24px; border-block: 1px solid var(--color-border); text-align: left; }
  .intake-result-next h3{ font-size: 22px; margin: 0 0 20px; }
  .intake-result-next ol{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
  .intake-result-next li{ display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--color-border); }
  .intake-result-next small{ color: var(--color-brand); }
  .intake-result-next span{ font-size: 14px; color: var(--color-text-muted); }
  .intake-result-actions{ display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .intake-result-actions a{ margin: 0; text-decoration: none; }
  .photo-order-page[data-intake-complete] :is(.photo-order-intro, .photo-order-stepper, .photo-order-layout),
  .after-sales-main[data-intake-complete] :is(.after-sales-hero, .after-sales-layout){ display: none; }
  :is(.photo-order-page, .after-sales-main)[data-intake-complete] > section:last-child{ padding-top: 128px; }
  .legal-main .legal-document-layout{ grid-template-columns: 220px minmax(0, 1fr); gap: 48px; max-width: 1080px; }
  .legal-main .legal-body{ border: 0; border-radius: 0; padding: 0; background: transparent; max-width: 760px; }
  .legal-main .legal-body > section{ padding: 28px 0; border-bottom: 1px solid var(--color-border); margin: 0; }
  .legal-main .legal-body h2{ font-size: 21px; margin-bottom: 18px; }
  .legal-main .legal-body :is(p, li){ font-size: 15px; }
  .legal-main .legal-toc{ position: sticky; top: 112px; max-height: calc(100dvh - 144px); overflow-y: auto; padding: 20px; border: 0; border-radius: 0; background: var(--color-surface-muted); }
  .legal-main :is(.legal-hero, .legal-document-hero){ padding-top: 136px; padding-bottom: 36px; }
  .legal-main .operator-card{ padding: 28px 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .legal-main .operator-details{ display: block; }
  .legal-main .operator-details > div{ display: grid; grid-template-columns: minmax(100px, 180px) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
  .legal-main .legal-policy-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .legal-main .legal-policy-grid > a{ padding: 24px 0; border: 0; border-bottom: 1px solid var(--color-border); border-radius: 0; box-shadow: none; background: transparent; }
  .legal-main .legal-body p,
  .legal-main .legal-body li{ line-height: 1.85; }
  .legal-main .legal-toc a{ min-height: 40px; display: flex; align-items: center; }
  #equipmentInquirySuccess,
  #photoOrderSuccess,
  #quoteSuccess,
  #checkoutResult,
  #afterSalesResult{ box-shadow: none; border-radius: 8px; overflow-wrap: anywhere; }
  @media (max-width: 980px) {
  .checkout-main .checkout-layout,
  .after-sales-main .after-sales-layout{ grid-template-columns: minmax(0, 1fr); }
  .checkout-main .checkout-summary,
  .after-sales-main .after-sales-guide{ position: static; width: 100%; }
  .member-main .member-proof-panel.is-pending{ grid-template-columns: minmax(0, 1fr); }
  .member-main .member-proof-layout{ grid-row: auto; }
  .member-main :is(.member-proof-feedback, .member-proof-ack, .member-proof-actions, .member-proof-validation){ grid-column: 1; }
  .legal-main .legal-document-layout{ grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  .auth-main .auth-layout{ gap: 32px; }
  .member-main .member-priority-grid{ grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 920px) {
  }
  @media (max-width: 720px) {
  .legal-main .legal-policy-grid{ grid-template-columns: 1fr; }
  :is(.auth-main, .photo-order-page, .checkout-main, .after-sales-main, .legal-main) h1{ font-size: 26px; }
  .auth-main .auth-layout{ grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .auth-main .auth-section{ padding-top: 112px; }
  .auth-main .auth-copy{ position: static; padding: 0; }
  .auth-main .auth-panels{ padding: 20px; }
  .auth-main .auth-benefits{ display: none; }
  .auth-main .auth-layout{ min-height: 0; }
  .auth-main .auth-copy > .member-panel-action{ margin-top: 16px; }
  .checkout-main .checkout-intro,
  .after-sales-main .after-sales-hero,
  .legal-main .legal-document-hero,
  .legal-main .legal-hero,
  .member-main .member-section{ padding-top: 112px; }
  :is(.photo-order-page, .checkout-main, .after-sales-main) .workflow-section-heading{ font-size: 20px; }
  .member-main .member-summary{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .member-main .member-section-nav{ top: 96px; }
  .member-main :is(.member-workspace-grid, .member-status-list){ grid-template-columns: minmax(0, 1fr); }
  .member-main .member-proof-visual{ min-height: 200px; }
  .member-main .member-proof-actions{ flex-direction: column; align-items: stretch; }
  .checkout-main .checkout-specification-grid > div{ grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .checkout-main .checkout-specification-grid small{ grid-column: 1; }
  .checkout-main .checkout-result{ padding: 24px 16px; }
  .checkout-main .checkout-result > strong{ font-size: 22px; }
  .intake-result-next ol{ grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .intake-result-actions{ flex-direction: column; width: 100%; }
  .intake-result h2{ font-size: 26px; }
  .legal-main .legal-document-layout{ grid-template-columns: minmax(0, 1fr); }
  .legal-main .legal-toc{ position: static; max-height: 220px; }
  .member-main .member-workspace-panel{ padding-inline: 0; }
  }
}

/* TASK-076: approved A account and formal-quote layouts in the existing owner. */
@layer components {
  .quote-account-a { background: var(--fl-color-bg); }
  .quote-account-a :is(.auth-main, .member-main, .checkout-main) { background: var(--fl-color-bg); }
  .quote-account-a .section-inner { max-width: 1440px; }
  .quote-account-a :is(.auth-section, .member-section) { padding: 120px 32px 48px; }
  .quote-account-a :is(.auth-layout, .member-dashboard-content, .member-record-browser, .member-case-detail, .checkout-column, .checkout-summary) { min-width: 0; }
  .quote-account-a :is(p, dd, small, strong) { overflow-wrap: anywhere; }
  .quote-account-a [hidden] { display: none !important; }

  /* The two existing forms retain their mode, provider and validation hooks. */
  .quote-account-a .auth-layout { grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr); gap: 0; align-items: stretch; min-height: 690px; overflow: hidden; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-lg); background: var(--fl-color-surface); }
  .quote-account-a .auth-copy { position: relative; top: auto; padding: 48px; background: var(--color-surface-info); }
  .quote-account-a .auth-copy > .eyebrow { margin: 0 0 20px; font-size: 12px; letter-spacing: 0.16em; }
  .quote-account-a .auth-copy h1 { max-width: 14em; margin: 0 0 16px; font-size: var(--workspace-title-size, clamp(28px, 2.7vw, 40px)); line-height: 1.45; }
  .quote-account-a .auth-copy > p:not(.eyebrow) { margin: 0; color: var(--fl-color-text-muted); font-size: 16px; line-height: 1.8; }
  .quote-account-a .auth-benefits { display: grid; gap: 22px; margin: 32px 0; max-width: none; }
  .quote-account-a .auth-benefits > div { display: flex; align-items: center; gap: 16px; }
  .quote-account-a .auth-benefits > div > svg { flex: 0 0 48px; width: 48px; height: 48px; padding: 12px; box-sizing: border-box; border-radius: 50%; background: var(--fl-color-surface); color: var(--fl-color-brand); }
  .quote-account-a .auth-benefits strong { font-size: 17px; }
  .quote-account-a .auth-benefits p { margin: 4px 0 0; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.7; }
  .quote-account-a .auth-manufacturing-visual { position: relative; margin: 28px 0 0; overflow: hidden; border-radius: var(--fl-radius-md); }
  .quote-account-a .auth-manufacturing-visual img { display: block; width: 100%; height: 190px; object-fit: cover; object-position: right 60%; }
  .quote-account-a .auth-manufacturing-visual figcaption { position: absolute; left: 12px; bottom: 10px; padding: 3px 8px; border-radius: 4px; background: rgba(13,23,41,.76); color: #fff; font-size: 11px; }
  .quote-account-a .auth-panels { padding: 36px 48px; border: 0; border-radius: 0; background: var(--fl-color-surface); }
  .quote-account-a .auth-mode-tabs { flex: 0 0 auto; margin: 0 0 16px; }
  .quote-account-a .auth-mode-tabs button { min-height: 52px; font-size: 17px; }
  .quote-account-a .auth-card { gap: 24px; padding: 16px 0 0; }
  .quote-account-a .auth-card > .panel-heading { display: block; margin: 0; }
  .quote-account-a .auth-card > .panel-heading .eyebrow { display: none; }
  .quote-account-a .auth-card h2 { margin: 0; font-size: 28px; }
  .quote-account-a .auth-card .panel-heading p { margin: 8px 0 0; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.75; }
  .quote-account-a .auth-password-field > label { color: var(--fl-color-text); font-size: 14px; font-weight: 600; }
  .quote-account-a .auth-password-input { position: relative; min-width: 0; }
  .quote-account-a .auth-password-input > input { width: 100%; padding-right: 52px; }
  .quote-account-a .auth-password-input > button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; min-height: 40px; height: 40px; padding: 8px; border: 0; box-shadow: none; background: transparent; }
  .quote-account-a .auth-return { order: 3; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--fl-color-border); }
  .quote-account-a .auth-return p { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--fl-color-text-muted); }
  .quote-account-a .auth-main .auth-panels > .auth-social-card { margin-top: 24px; }

  /* One member workspace, with the existing resources and proof actions below. */
  .quote-account-a .member-dashboard { display: grid; grid-template-columns: 176px minmax(0, 1fr); align-items: start; gap: 28px; }
  .quote-account-a .member-section-nav { position: sticky; top: 116px; display: flex; flex-direction: column; align-items: stretch; gap: 6px; width: auto; margin: 0; padding: 0 16px 0 0; border: 0; border-right: 1px solid var(--fl-color-border); background: transparent; overflow: visible; }
  .quote-account-a .member-section-nav a { justify-content: flex-start; gap: 12px; min-height: 48px; padding: 12px; border: 0; border-left: 3px solid transparent; border-radius: 4px; color: var(--fl-color-text); font-size: 14px; white-space: normal; }
  .quote-account-a .member-section-nav a:is(.is-active, [aria-current]) { border-left-color: var(--fl-color-brand); background: var(--color-surface-info); color: var(--fl-color-brand); }
  .quote-account-a .member-section-nav a::after { display: none; }
  .quote-account-a .member-dashboard-head { margin: 0 0 24px; gap: 20px; }
  .quote-account-a .member-dashboard-head h1 { font-size: var(--workspace-title-size, 32px); }
  .quote-account-a .member-dashboard-head p { font-size: 15px; }
  .quote-account-a .member-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
  .quote-account-a :is(.member-cases, .member-workspace, .member-command-center, .member-priority-grid, .member-account-panel, #memberQuotes) { margin: 0 0 24px; scroll-margin-top: 116px; }
  .quote-account-a .member-cases { padding: 0; }
  .quote-account-a .member-cases > .section-heading { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; }
  .quote-account-a .member-cases > .section-heading h2 { margin: 0; font-size: 20px; }
  .quote-account-a .member-cases > .section-heading p { margin: 6px 0 0; color: var(--fl-color-text-muted); font-size: 14px; }
  .quote-account-a .member-record-count { color: var(--fl-color-text-muted); font-size: 13px; }
  .quote-account-a .member-record-workspace { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(300px, .9fr); gap: 16px; align-items: start; }
  .quote-account-a :is(.member-record-browser, .member-case-detail) { padding: 20px; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-md); background: var(--fl-color-surface); }
  .quote-account-a .member-record-browser { min-height: 520px; }
  .quote-account-a .member-case-search { margin-bottom: 16px; }
  .quote-account-a .member-case-search > span:first-child { font-size: 13px; }
  .quote-account-a .member-search-input { display: block; position: relative; }
  .quote-account-a .member-search-input > svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--fl-color-text-muted); pointer-events: none; }
  .quote-account-a .member-search-input > input { width: 100%; padding-left: 42px; }
  .quote-account-a .member-case-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; padding: 0; overflow: visible; border: 0; background: transparent; }
  .quote-account-a .member-case-filters button { flex: 1 1 auto; min-height: 40px; padding: 8px 10px; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-sm); color: var(--fl-color-text-muted); background: var(--fl-color-surface); box-shadow: none; font-size: 13px; white-space: normal; }
  .quote-account-a .member-case-filters button[aria-pressed="true"] { border-color: var(--fl-color-brand); color: #fff; background: var(--fl-color-brand); }
  .quote-account-a .member-case-list { display: grid; gap: 10px; }
  .quote-account-a .member-record-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-sm); background: var(--fl-color-surface); }
  .quote-account-a .member-record-row.is-selected { border-color: var(--fl-color-brand); background: var(--color-surface-info); }
  .quote-account-a .member-record-main { grid-column: 1; grid-row: 1; display: flex; justify-content: flex-start; align-items: center; gap: 12px; width: 100%; min-width: 0; min-height: 56px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: left; color: var(--fl-color-text); white-space: normal; }
  .quote-account-a .member-record-main:hover { color: var(--fl-color-brand); background: transparent; }
  .quote-account-a .member-record-main > span { display: grid; min-width: 0; gap: 3px; font-size: 13px; line-height: 1.6; }
  .quote-account-a .member-record-main > svg { flex: 0 0 40px; width: 40px; height: 40px; padding: 8px; box-sizing: border-box; border-radius: 4px; color: var(--fl-color-brand); background: var(--fl-color-surface-muted); }
  .quote-account-a .member-record-main > :is(img, .member-record-icon) { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 4px; object-fit: contain; background: var(--fl-color-surface-muted); }
  .quote-account-a .member-record-main strong { display: block; font-size: 14px; line-height: 1.6; }
  .quote-account-a .member-record-main :is(p, small) { margin: 4px 0 0; color: var(--fl-color-text-muted); font-size: 13px; line-height: 1.6; }
  .quote-account-a .member-record-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--fl-color-text-muted); font-size: 13px; }
  .quote-account-a .member-record-actions { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 8px; align-items: end; }
  .quote-account-a:not(.member-detail-a) .member-case-detail { position: sticky; top: 116px; scroll-margin-top: 116px; }
  .quote-account-a .member-case-detail h3 { font-size: 22px; margin: 0 0 8px; }
  .quote-account-a .member-case-detail h4 { font-size: 17px; margin: 20px 0 12px; }
  .quote-account-a .member-case-detail > header,
  .quote-account-a .member-detail-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
  .quote-account-a .member-detail-preview { display: grid; place-items: center; min-height: 160px; margin: 16px 0; overflow: hidden; border-radius: var(--fl-radius-sm); background: var(--fl-color-surface-muted); }
  .quote-account-a .member-detail-preview img { display: block; width: 100%; max-height: 220px; object-fit: contain; }
  .quote-account-a .member-detail-preview > svg { width: 48px; height: 48px; color: var(--fl-color-text-muted); }
  .quote-account-a .member-detail-meta { margin: 0; }
  .quote-account-a .member-detail-meta > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fl-color-border); font-size: 13px; line-height: 1.7; }
  .quote-account-a .member-detail-meta dt { color: var(--fl-color-text-muted); }
  .quote-account-a .member-detail-meta dd { margin: 0; }
  .quote-account-a .member-detail-progress { display: grid; gap: 12px; margin: 20px 0; padding: 0; list-style: none; }
  .quote-account-a .member-detail-progress li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fl-color-text-muted); }
  .quote-account-a .member-detail-progress li.is-current { color: var(--fl-color-brand); font-weight: 600; }
  .quote-account-a .member-detail-more { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--fl-color-border); }
  .quote-account-a .member-detail-more > summary { display: flex; align-items: center; min-height: 44px; color: var(--fl-color-brand); font-size: 14px; font-weight: 600; cursor: pointer; }
  .quote-account-a .member-detail-more .member-case-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 16px 0; background: transparent; border: 0; }
  .quote-account-a .member-detail-more .member-case-side { align-items: stretch; text-align: left; }
  .quote-account-a .member-detail-more .member-case-meta { flex-wrap: wrap; }
  .quote-account-a .member-detail-more .member-case-files > div { display: grid; grid-template-columns: minmax(0, 1fr); }
  .quote-account-a .member-case-filters [data-filter-count] { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; padding: 0 4px; margin-left: 2px; border-radius: 50%; background: var(--fl-color-surface-muted); color: var(--fl-color-text-muted); font-size: 11px; }
  .quote-account-a .member-case-filters [aria-pressed="true"] [data-filter-count] { color: var(--fl-color-brand); background: var(--fl-color-surface); }
  .quote-account-a .member-detail-quote { margin-top: 20px; padding: 16px; border-radius: var(--fl-radius-sm); background: var(--color-surface-info); }
  .quote-account-a .member-detail-quote > strong { display: block; margin: 8px 0; color: var(--fl-color-brand); font-size: 26px; }
  .quote-account-a .member-detail-quote p { color: var(--fl-color-text-muted); font-size: 13px; line-height: 1.7; }
  .quote-account-a .member-case-detail .hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .quote-account-a .member-case-detail .hero-actions > :is(a, button) { flex: 1 1 140px; }
  .quote-account-a #memberQuotes { padding: 20px 24px; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-md); background: var(--fl-color-surface); }
  .quote-account-a .member-command-center { padding: 20px 0; background: transparent; }
  .quote-account-a .member-summary { gap: 16px; }
  .quote-account-a .member-summary article { flex-direction: column; align-items: start; gap: 8px; padding: 16px; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-md); background: var(--fl-color-surface); }
  .quote-account-a .member-summary span { font-size: 13px; }
  .quote-account-a .member-workspace-panel { padding: 24px; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-md); background: var(--fl-color-surface); }
  .quote-account-a .member-workspace-grid { gap: 20px; }
  .quote-account-a .member-account-panel { padding: 8px 24px; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-md); background: var(--fl-color-surface); }
  .quote-account-a .member-dashboard.is-empty .member-dashboard-content > :is(#memberQuotes, .member-priority-grid, .member-workspace:not(#memberAssets), .member-cases) { display: none; }

  /* TASK-PAYMENT-A: approved single-page checkout. The existing controller
     remains the only owner of order, price, capability and payment state. */
  body[data-page="checkout"].quote-account-a { --public-content-max: 1120px; }
  .quote-account-a .checkout-intro { padding: 128px 32px 28px; border: 0; background: transparent; }
  .quote-account-a .checkout-intro-layout { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: 1120px; }
  .quote-account-a .checkout-intro .workspace-page-heading { margin-bottom: 0; }
  .quote-account-a .checkout-intro .eyebrow { margin: 0 0 10px; }
  .quote-account-a .checkout-intro h1 { margin: 0 0 10px; color: var(--fl-color-text); font-size: var(--workspace-title-size, 32px); line-height: 1.4; }
  .quote-account-a .checkout-intro p:not(.eyebrow) { margin: 0; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.8; }
  .quote-account-a .checkout-guest-label { display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: 36px; padding: 7px 10px; border-radius: var(--fl-radius-sm); color: var(--fl-color-text-muted); background: var(--fl-color-surface-muted); font-size: 12px; }
  .quote-account-a .checkout-guest-label svg { width: 16px; height: 16px; }
  .quote-account-a .checkout-section { padding: 0 32px 48px; }
  .quote-account-a .checkout-layout { max-width: 1120px; grid-template-columns: minmax(0, 1fr) 350px; gap: 32px; align-items: start; }
  .quote-account-a .checkout-column { grid-column: 1; grid-row: 1; min-width: 0; }
  .quote-account-a .checkout-card { min-width: 0; padding: 28px 32px; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-md); background: var(--fl-color-surface); box-shadow: none; }
  .quote-account-a .checkout-card-heading { margin-bottom: 24px; }
  .quote-account-a .checkout-card-heading .eyebrow { display: none; }
  .quote-account-a .checkout-card-heading h2 { margin: 0; font-size: 20px; }
  .quote-account-a .checkout-case-field { margin: 0; }
  .quote-account-a :is(.checkout-contact-section, .checkout-payment-section) { min-width: 0; margin: 0; padding: 0; border: 0; }
  .quote-account-a .checkout-payment-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--fl-color-border); }
  .quote-account-a :is(.checkout-contact-section, .checkout-payment-section) > :is(h2, .checkout-section-heading) { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 18px; line-height: 1.5; }
  .quote-account-a .checkout-section-heading h2 { margin: 0; color: var(--fl-color-text); font-size: 18px; line-height: 1.5; }
  .quote-account-a .checkout-section-number { display: inline-grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; color: var(--fl-color-brand); background: var(--color-surface-info); font-size: 12px; font-weight: 700; }
  .quote-account-a .checkout-contact-section > p { margin: 0 0 18px; color: var(--fl-color-text-muted); font-size: 13px; line-height: 1.8; }
  .quote-account-a .checkout-contact-section .checkout-specification-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
  .quote-account-a .checkout-contact-section .field { min-width: 0; margin: 0; }
  .quote-account-a .checkout-contact-section .field > span { margin-bottom: 6px; font-size: 13px; }
  .quote-account-a .checkout-contact-section .field > input { min-width: 0; min-height: 46px; }
  .quote-account-a .checkout-contact-section .is-wide { grid-column: 1 / -1; }
  .quote-account-a #checkoutContactFeedback { margin: 12px 0 0; font-size: 13px; }
  .quote-account-a #checkoutContactFeedback:empty { display: none; }
  .quote-account-a #checkoutOrderStatus { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--fl-color-brand); font-size: 13px; }
  .quote-account-a .checkout-payment-picker { min-width: 0; padding: 0; margin: 0; border: 0; }
  .quote-account-a .checkout-payment-picker > legend { width: 100%; margin: 0 0 16px; padding: 0; font-size: 18px; font-weight: 700; line-height: 1.5; }
  .quote-account-a .checkout-payment-picker .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; white-space: nowrap; clip: rect(0, 0, 0, 0); clip-path: inset(50%); }
  .quote-account-a .checkout-payment-picker [hidden]:not([hidden="until-found"]) { display: none !important; }
  .quote-account-a .checkout-payment-picker .payment-group { margin: 0; padding: 0; border: 0; }
  .quote-account-a .checkout-payment-picker .payment-group + .payment-group { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--fl-color-border); }
  .quote-account-a .checkout-payment-picker .payment-group-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 12px; }
  .quote-account-a .checkout-payment-picker .payment-group-heading h3 { margin: 0; font-size: 13px; font-weight: 650; line-height: 1.6; }
  .quote-account-a .checkout-payment-picker .payment-group-heading small { color: var(--fl-color-text-muted); font-size: 12px; line-height: 1.6; }
  .quote-account-a .checkout-payment-picker .payment-method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 0; }
  .quote-account-a .checkout-payment-picker .payment-method { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) 18px; gap: 12px; align-items: center; min-width: 0; min-height: 84px; margin: 0; padding: 14px; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-md); color: var(--fl-color-text); background: var(--fl-color-surface); box-shadow: none; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
  .quote-account-a .checkout-payment-picker .payment-method > input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
  .quote-account-a .checkout-payment-picker .payment-method > svg { width: 23px; height: 23px; color: var(--fl-color-text-muted); }
  .quote-account-a .checkout-payment-picker .payment-method-copy { display: grid; min-width: 0; gap: 4px; }
  .quote-account-a .checkout-payment-picker .payment-method strong { margin: 0; color: inherit; font-size: 14px; font-weight: 650; line-height: 1.5; }
  .quote-account-a .checkout-payment-picker .payment-method small { margin: 0; color: var(--fl-color-text-muted); font-size: 12px; line-height: 1.6; }
  .quote-account-a .checkout-payment-picker .payment-radio-mark { display: block; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--fl-color-border-strong, #adbacd); border-radius: 50%; background: var(--fl-color-surface); }
  .quote-account-a .checkout-payment-picker .payment-method:is(.is-selected, :has(input:checked)) { border-color: var(--fl-color-brand); background: var(--color-surface-info); }
  .quote-account-a .checkout-payment-picker .payment-method:is(.is-selected, :has(input:checked)) > svg { color: var(--fl-color-brand); }
  .quote-account-a .checkout-payment-picker .payment-method:has(input:checked) .payment-radio-mark { border: 5px solid var(--fl-color-brand); }
  .quote-account-a .checkout-payment-picker .payment-method:has(input:focus-visible) { outline: 3px solid var(--fl-color-focus, #003e9b); outline-offset: 3px; }
  .quote-account-a .checkout-payment-picker .payment-method:has(input:disabled) { cursor: default; }
  .quote-account-a .checkout-payment-picker .payment-method:has(input:disabled):not(:has(input:checked)) { opacity: .6; }
  .quote-account-a .checkout-payment-picker .payment-more-wallets { margin: 12px 0 0; padding: 0; border: 0; }
  .quote-account-a .checkout-payment-picker .payment-more-wallets > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-height: 46px; padding: 10px 12px; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-sm); color: var(--fl-color-text); background: var(--fl-color-surface-muted); font-size: 13px; line-height: 1.6; cursor: pointer; list-style: none; }
  .quote-account-a .checkout-payment-picker .payment-more-wallets > summary::-webkit-details-marker { display: none; }
  .quote-account-a .checkout-payment-picker .payment-more-wallets > summary::after { content: "+"; flex: none; margin-left: auto; color: var(--fl-color-text-muted); font-size: 19px; line-height: 1; }
  .quote-account-a .checkout-payment-picker .payment-more-wallets[open] > summary::after { content: "−"; }
  .quote-account-a .checkout-payment-picker .payment-more-wallets > summary [data-selected-name] { min-width: 0; color: var(--fl-color-brand); font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
  .quote-account-a .checkout-payment-picker .payment-more-wallets > .payment-method-grid { margin-top: 10px; }
  .quote-account-a .checkout-payment-picker .payment-more-wallets > summary:focus-visible { outline: 3px solid var(--fl-color-focus, #003e9b); outline-offset: 3px; }
  .quote-account-a .checkout-payment-picker .payment-empty { display: grid; justify-items: start; gap: 8px; padding: 18px; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-md); background: var(--fl-color-surface-muted); font-size: 14px; line-height: 1.7; }
  .quote-account-a .checkout-payment-picker .payment-empty > :is(p, strong) { margin: 0; }
  .quote-account-a .checkout-payment-picker .payment-empty p { color: var(--fl-color-text-muted); font-size: 13px; }
  .quote-account-a .checkout-method-note { margin-top: 16px; padding: 12px; background: var(--fl-color-surface-muted); }
  .quote-account-a .checkout-method-note strong { font-size: 13px; }
  .quote-account-a .checkout-method-note span { color: var(--fl-color-text-muted); font-size: 12px; line-height: 1.7; }
  .quote-account-a .checkout-consent { margin: 26px 0 20px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--fl-color-border); background: transparent; }
  .quote-account-a .checkout-consent > .workflow-section-heading { margin: 0 0 12px; font-size: 16px; }
  .quote-account-a .checkout-consent .consent-field { min-height: 44px; padding-block: 6px; color: var(--fl-color-text-muted); font-size: 13px; line-height: 1.8; }
  .quote-account-a .checkout-consent .consent-field input { flex: none; margin-top: 5px; }
  .quote-account-a .checkout-form-footnote { margin: 12px 0 0; color: var(--fl-color-text-muted); font-size: 12px; line-height: 1.7; text-align: center; }
  .quote-account-a .checkout-submit { min-height: 50px; scroll-margin-top: 130px; }
  .quote-account-a .checkout-submit > span { flex: 1; }
  .quote-account-a .checkout-summary { position: sticky; grid-column: 2; grid-row: 1; top: 112px; display: flex; flex-direction: column; gap: 0; min-width: 0; padding: 24px; color: var(--fl-color-text); border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-md); background: var(--fl-color-surface); box-shadow: none; overflow-wrap: anywhere; }
  .quote-account-a .checkout-summary:has(.checkout-summary-details[open]) { position: static; }
  .quote-account-a .checkout-summary-heading { min-height: 28px; margin: 0 0 20px; padding: 0; color: var(--fl-color-text); background: transparent; }
  .quote-account-a .checkout-summary-heading > svg { display: none; }
  .quote-account-a .checkout-summary-heading > span { color: var(--fl-color-text-muted); font-size: 12px; font-weight: 600; letter-spacing: .035em; }
  .quote-account-a .checkout-summary-product { display: flex; min-width: 0; align-items: center; gap: 14px; margin-bottom: 20px; }
  .quote-account-a .checkout-model-preview { display: grid; flex: 0 0 64px; width: 64px; height: 64px; min-width: 0; place-items: center; padding: 6px; border-radius: var(--fl-radius-sm); background: var(--fl-color-surface-muted); overflow: hidden; }
  .quote-account-a .checkout-model-preview > svg { width: 32px; height: 32px; margin: 0; color: var(--fl-color-text-muted); }
  .quote-account-a .checkout-model-preview > :is(span, p) { display: none; }
  .quote-account-a .checkout-model-preview img { display: block; width: 100%; height: 100%; max-height: 64px; object-fit: contain; }
  .quote-account-a .checkout-summary-case { min-width: 0; margin: 0; padding: 0; border: 0; color: var(--fl-color-text); }
  .quote-account-a .checkout-summary-case > small { color: var(--fl-color-text-muted); font-size: 11px; }
  .quote-account-a .checkout-summary-case > span { color: var(--fl-color-text-muted); font-size: 12px; line-height: 1.6; }
  .quote-account-a .checkout-summary-case h2 { margin: 4px 0; font-size: 17px; line-height: 1.6; }
  .quote-account-a .checkout-total { margin: 0; padding: 18px 0; border-block: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; }
  .quote-account-a .checkout-total > span { color: var(--fl-color-text-muted); font-size: 13px; }
  .quote-account-a .checkout-total strong { color: var(--fl-color-text); font-size: 34px; line-height: 1.4; letter-spacing: -.025em; }
  .quote-account-a .checkout-total small { display: block; margin-top: 6px; color: var(--fl-color-text-muted); font-size: 12px; line-height: 1.7; }
  .quote-account-a .checkout-summary-details { margin-top: 4px; }
  .quote-account-a .checkout-summary-details > summary { display: flex; align-items: center; gap: 10px; min-height: 46px; padding-block: 12px; color: var(--fl-color-brand); font-size: 13px; line-height: 1.6; cursor: pointer; list-style: none; }
  .quote-account-a .checkout-summary-details > summary::-webkit-details-marker { display: none; }
  .quote-account-a .checkout-summary-details > summary::after { content: "+"; margin-left: auto; font-size: 19px; }
  .quote-account-a .checkout-summary-details[open] > summary::after { content: "−"; }
  .quote-account-a .checkout-summary-details > summary:focus-visible { outline: 3px solid var(--fl-color-focus, #003e9b); outline-offset: 3px; }
  .quote-account-a .checkout-specification { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .quote-account-a .checkout-summary-details .checkout-specification { border-top: 1px solid var(--fl-color-border); }
  .quote-account-a .checkout-specification-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 0 10px; }
  .quote-account-a .checkout-specification-heading > div > span { display: none; }
  .quote-account-a .checkout-specification-heading h3 { margin: 0; font-size: 14px; line-height: 1.6; }
  .quote-account-a .checkout-specification-heading .compact-button { min-height: 40px; padding: 7px 10px; font-size: 12px; }
  .quote-account-a .checkout-model-specification { display: block; min-width: 0; }
  .quote-account-a .checkout-specification-grid { margin: 0; }
  .quote-account-a .checkout-summary-details .checkout-specification-grid { display: block; }
  .quote-account-a .checkout-specification-grid > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); padding: 10px 0; gap: 8px 12px; border-bottom: 1px solid var(--fl-color-border); background: transparent; }
  .quote-account-a .checkout-specification-grid :is(dt, dd) { margin: 0; font-size: 12px; line-height: 1.8; }
  .quote-account-a .checkout-specification-grid dt { color: var(--fl-color-text-muted); }
  .quote-account-a .checkout-specification-grid small { grid-column: 2; color: var(--fl-color-text-muted); font-size: 12px; line-height: 1.7; }
  .quote-account-a .checkout-specification-warning { display: flex; align-items: start; gap: 8px; margin: 16px 0; padding: 12px; border: 1px solid var(--fl-color-border); border-radius: var(--fl-radius-sm); background: var(--fl-color-surface-muted); color: var(--fl-color-text-muted); font-size: 12px; line-height: 1.8; }
  .quote-account-a .checkout-specification-warning svg { flex: none; width: 17px; height: 17px; margin-top: 3px; }
  .quote-account-a .checkout-price-section { margin: 16px 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .quote-account-a .checkout-price-section h3 { margin: 0 0 10px; font-size: 14px; }
  .quote-account-a .checkout-price-breakdown { font-size: 12px; line-height: 1.8; }
  .quote-account-a .checkout-price-breakdown :is(dl, p) { margin: 0; }
  .quote-account-a .checkout-price-breakdown > h3 { display: none; }
  .quote-account-a .checkout-price-breakdown dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--fl-color-border); }
  .quote-account-a .checkout-price-breakdown dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
  .quote-account-a .checkout-price-breakdown :is(.is-total, .checkout-breakdown-total) { margin-top: 8px; padding-top: 12px; border-bottom: 0; color: var(--fl-color-text); font-size: 15px; font-weight: 700; }
  .quote-account-a .checkout-price-breakdown > p { margin-top: 12px; color: var(--fl-color-text-muted); font-size: 12px; }
  .quote-account-a .checkout-summary-list { margin: 16px 0 0; padding: 0; }
  .quote-account-a .checkout-summary-list > div { display: grid; grid-template-columns: 75px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
  .quote-account-a .checkout-summary-list :is(dt, dd) { margin: 0; font-size: 12px; line-height: 1.8; }
  .quote-account-a .checkout-summary-list dt { color: var(--fl-color-text-muted); }
  .quote-account-a .checkout-summary-list dd { color: var(--fl-color-text); }
  .quote-account-a .checkout-assurance { margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--fl-color-border); }
  .quote-account-a .checkout-assurance > :is(span, a) { align-items: start; font-size: 12px; line-height: 1.8; }
  .quote-account-a .checkout-assurance > span { color: var(--fl-color-text-muted); }
  .quote-account-a .checkout-assurance > a { color: var(--fl-color-brand); min-height: 44px; padding-top: 8px; text-decoration: underline; text-underline-offset: 3px; }
  .quote-account-a .checkout-assurance > a:is(:hover, :focus-visible) { color: var(--fl-color-brand-hover); }
  .quote-account-a .checkout-assurance svg { flex: 0 0 16px; color: var(--fl-color-brand); }
  .quote-account-a .checkout-back { margin-top: 16px; }

  @media (min-width: 721px) and (max-width: 1024px) {
    body .topbar {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 44px 88px;
      align-items: center;
      gap: 10px;
      width: 100%;
      min-height: 72px;
      padding: 8px 14px;
    }
    body .topbar > :not(.nav-links) { grid-row: 1; }
    body .topbar > .brand { grid-column: 1; }
    body .topbar .nav-menu-toggle { grid-column: 2; display: inline-flex; width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
    body .topbar .nav-cta.auth-link { grid-column: 3; display: inline-flex; justify-content: center; gap: 8px; width: 88px; min-width: 88px; height: 44px; min-height: 44px; padding: 0 10px; white-space: nowrap; }
    body .topbar .nav-cta.auth-link span { display: inline; white-space: nowrap; }
    body .topbar .nav-cta.auth-link svg { flex: 0 0 20px; width: 20px; height: 20px; }
    body .topbar.has-member-status { grid-template-columns: minmax(0, 1fr) auto 44px 88px; }
    body .topbar.has-member-status .member-status-access { grid-column: 2; }
    body .topbar.has-member-status .nav-menu-toggle { grid-column: 3; }
    body .topbar.has-member-status .nav-cta { grid-column: 4; }
    body .topbar .member-status-trigger { min-height: 44px; }
    body .topbar .nav-links {
      grid-column: 1 / -1;
      grid-row: 2;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      width: 100%;
      margin: 0;
      padding: 12px 0 4px;
      border-top: 1px solid var(--fl-color-border);
      overflow: visible;
    }
    body .topbar .nav-links a { justify-content: flex-start; min-width: 0; min-height: 44px; padding: 10px 12px; font-size: 14px; white-space: normal; }
    body .topbar .nav-links .nav-start-link { margin-left: 0; }
    body.nav-ready .topbar .nav-links:not(.is-open) { display: none; }
    body.nav-ready .topbar .nav-links.is-open { display: grid; }
    body .member-status-popover { position: fixed; top: 104px; right: 16px; left: auto; width: min(400px, calc(100vw - 32px)); max-height: calc(100svh - 120px); overflow-y: auto; }
  }
  @media (max-width: 1200px) {
    .quote-account-a .auth-copy { padding: 36px; }
    .quote-account-a .auth-panels { padding: 32px; }
    .quote-account-a .member-dashboard { grid-template-columns: 148px minmax(0, 1fr); gap: 20px; }
    .quote-account-a .member-record-workspace { grid-template-columns: minmax(0, 1fr); }
    .quote-account-a .member-case-detail { position: static; }
  }
  @media (max-width: 980px) {
    .quote-account-a .checkout-intro-layout { align-items: start; }
    .quote-account-a .checkout-layout { grid-template-columns: minmax(0, 1fr); }
    .quote-account-a .checkout-summary { position: static; grid-column: 1; grid-row: 1; }
    .quote-account-a .checkout-column { grid-column: 1; grid-row: 2; }
    .quote-account-a .member-workspace-grid { grid-template-columns: minmax(0, 1fr); }
    .quote-account-a .member-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 760px) {
    .quote-account-a :is(.auth-section, .member-section) { padding: 104px 20px 32px; }
    .quote-account-a .auth-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .quote-account-a .auth-copy { padding: 28px; }
    .quote-account-a .auth-copy h1 { font-size: var(--workspace-title-size, 27px); }
    .quote-account-a .auth-copy > .eyebrow { margin-bottom: 10px; font-size: 10px; }
    .quote-account-a :is(.auth-benefits, .auth-manufacturing-visual) { display: none; }
    .quote-account-a .auth-panels { padding: 24px 28px; }
    .quote-account-a .member-dashboard { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .quote-account-a .member-section-nav { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0; border: 0; }
    .quote-account-a .member-section-nav a { justify-content: center; min-height: 48px; padding: 10px 6px; font-size: 13px; border: 1px solid var(--fl-color-border); background: var(--fl-color-surface); }
    .quote-account-a .member-section-nav a:is(.is-active, [aria-current]) { border-color: var(--fl-color-brand); }
    .quote-account-a .member-section-nav a > svg { display: none; }
    .quote-account-a .member-dashboard-head { flex-direction: column; gap: 16px; }
    .quote-account-a .member-dashboard-head h1 { font-size: var(--workspace-title-size, 28px); }
    .quote-account-a .member-head-actions { width: 100%; }
    .quote-account-a .member-head-actions > :is(a, button) { flex: 1; }
    .quote-account-a .member-record-browser { min-height: 0; }
    .quote-account-a :is(.member-record-browser, .member-case-detail, .member-workspace-panel, #memberQuotes) { padding: 20px; }
    .quote-account-a .member-cases > .section-heading { align-items: start; flex-direction: column; gap: 8px; }
    .quote-account-a .member-record-row { grid-template-columns: minmax(0, 1fr); }
    .quote-account-a .member-record-actions { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; }
    .quote-account-a .checkout-intro { padding: 104px 20px 24px; }
    .quote-account-a .checkout-intro h1 { font-size: var(--workspace-title-size, 26px); }
    .quote-account-a .checkout-section { padding: 0 20px 32px; }
    .quote-account-a .checkout-card { padding: 24px; }
    .quote-account-a .checkout-intro-layout { flex-wrap: wrap; gap: 12px; }
    .quote-account-a .checkout-payment-picker .payment-method-grid { grid-template-columns: minmax(0, 1fr); }
    .quote-account-a .checkout-secure-label { display: none; }
    .quote-account-a .checkout-specification-grid > div { grid-template-columns: 78px minmax(0, 1fr); gap: 8px; }
    .quote-account-a .checkout-specification-grid small { grid-column: 2; }
  }
  @media (max-width: 400px) {
    .quote-account-a :is(.auth-section, .member-section) { padding-inline: 12px; }
    .quote-account-a :is(.auth-copy, .auth-panels) { padding: 24px 20px; }
    .quote-account-a .auth-copy h1 { font-size: var(--workspace-title-size, 25px); }
    .quote-account-a :is(.member-record-browser, .member-case-detail, .member-workspace-panel, #memberQuotes, .checkout-card, .checkout-summary) { padding: 16px; }
    .quote-account-a :is(.checkout-intro, .checkout-section) { padding-inline: 12px; }
    .quote-account-a .checkout-contact-section .checkout-specification-grid { grid-template-columns: minmax(0, 1fr); }
    .quote-account-a .checkout-specification-heading { align-items: start; }
  }

/* TASK-121: 04A enterprise and 06B application portfolio, page-scoped variants.
   Integrate inside the existing platform-ui.css components layer. */
body.business-refined:where(:not([data-public-layout])) main > section > .section-inner,
body.portfolio-explore:where(:not([data-public-layout])) main > section > .section-inner { width: min(1200px, calc(100% - 64px)); max-width: none; }

body.business-refined .resources-photo-hero { min-height: 0; }
body.business-refined .resources-photo-hero .resources-hero-content { min-height: 540px; padding-block: 124px 48px; gap: 32px; }
body.business-refined .resources-photo-hero .resources-hero-copy { max-width: 560px; }
body.business-refined .resources-photo-hero h1 { margin-block: 12px 20px; }
body.business-refined .resources-photo-hero .resources-hero-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.8; }
body.business-refined .resources-photo-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
body.business-refined .resources-photo-hero .hero-actions .icon-button { margin-top: 0; }
body.business-refined #business-service { padding-block: 48px 40px; background: #fff; }
body.business-refined #business-service .section-heading { align-items: end; gap: 32px; margin-bottom: 24px; }
body.business-refined #business-service .section-heading h2 { font-size: 30px; line-height: 1.4; }
body.business-refined #business-service .flow-heading-copy { max-width: 540px; margin: 0; font-size: 15px; line-height: 1.75; }
body.business-refined .industry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
body.business-refined .industry-grid article { display: flex; flex-direction: column; min-width: 0; padding: 0; border: 1px solid var(--fl-color-border); border-radius: 8px; background: #fff; box-shadow: none; }
body.business-refined .industry-grid .industry-card-media { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0; object-fit: cover; border: 0; border-radius: 0; }
body.business-refined .industry-card-copy { padding: 18px; }
body.business-refined .industry-card-copy > span { color: var(--fl-color-brand); font-size: 12px; font-weight: 700; }
body.business-refined .industry-card-copy h3 { margin: 8px 0 10px; color: var(--fl-color-text); font-size: 18px; line-height: 1.5; }
body.business-refined .industry-card-copy p { margin: 0; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.75; }
body.business-refined .business-image-note { margin: 12px 0 0; color: var(--fl-color-text-muted); font-size: 12px; }
body.business-refined .business-process-heading { margin: 48px 0 0; }
body.business-refined .business-process-heading h2 { margin: 8px 0 0; font-size: 28px; line-height: 1.4; }
body.business-refined .business-delivery-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 26px 0 0; padding: 0; overflow: visible; list-style: none; border: 0; border-radius: 0; background: transparent; }
body.business-refined .business-delivery-steps::before { content: ""; position: absolute; top: 19px; left: 20px; right: calc(25% - 4px); height: 1px; background: #bfd3f1; }
body.business-refined .business-delivery-steps li { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
body.business-refined .business-step-number { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #bfd3f1; border-radius: 50%; background: #fff; color: var(--fl-color-brand); font-size: 14px; font-weight: 700; }
body.business-refined .business-delivery-steps li > svg { width: 25px; height: 25px; color: #163660; }
body.business-refined .business-delivery-steps strong { margin-bottom: 10px; font-size: 17px; line-height: 1.5; }
body.business-refined .business-delivery-steps p { font-size: 14px; line-height: 1.75; }
body.business-refined .cta-band { padding-block: 12px 48px; background: #fff; }
body.business-refined .cta-band .cta-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 28px 32px; border: 1px solid #dce7f8; border-radius: 8px; background: #eef5ff; }
body.business-refined .cta-band h2 { margin: 8px 0 0; font-size: 22px; line-height: 1.5; }
body.business-refined .cta-band .transaction-disclosure { margin-top: 12px; }
body.business-refined .cta-band .cta-actions { gap: 12px; }

body.portfolio-explore .portfolio-photo-hero { --page-eyebrow-color: var(--fl-color-brand-hover); min-height: 0; background: #f1f5f9; }
body.portfolio-explore .portfolio-photo-hero .page-hero-grid { min-height: 480px; padding-block: 108px 76px; }
body.portfolio-explore .portfolio-photo-hero .page-hero-grid > div { max-width: 550px; }
body.portfolio-explore .portfolio-photo-hero .portfolio-media { left: auto; width: 66%; }
body.portfolio-explore .portfolio-photo-hero::after { background: linear-gradient(90deg, #f1f5f9 28%, rgba(241,245,249,.96) 41%, rgba(241,245,249,.55) 54%, rgba(241,245,249,0) 68%); }
body.portfolio-explore .portfolio-photo-hero h1 { margin-block: 14px 20px; color: var(--fl-color-text); font-size: clamp(32px, 3vw, 42px); }
body.portfolio-explore .portfolio-photo-hero p { color: var(--fl-color-text-muted); font-size: 16px; line-height: 1.8; }
body.portfolio-explore .portfolio-photo-hero .eyebrow { color: #087984; font-size: 12px; }
body.portfolio-explore .portfolio-photo-hero .portfolio-media figcaption { right: 24px; bottom: 16px; max-width: calc(100% - 48px); font-size: 12px; line-height: 1.5; }
body.portfolio-explore .case-route-section { padding-block: 26px 44px; }
body.portfolio-explore .portfolio-category-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
body.portfolio-explore .portfolio-category-nav a { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 14px; border: 1px solid #c9dbf5; border-radius: 8px; color: var(--fl-color-text); background: #f7faff; font-size: 16px; font-weight: 700; text-decoration: none; }
body.portfolio-explore .portfolio-category-nav svg { width: 24px; height: 24px; color: var(--fl-color-brand); flex: 0 0 auto; }
body.portfolio-explore .portfolio-category-nav a:hover { color: var(--fl-color-brand); border-color: var(--fl-color-brand); background: #edf4ff; }
body.portfolio-explore .portfolio-category-nav a:focus-visible { outline: 3px solid var(--fl-color-brand); outline-offset: 3px; }
body.portfolio-explore .case-route-section .section-heading { align-items: end; margin-bottom: 24px; gap: 32px; }
body.portfolio-explore .case-route-section .section-heading h2 { font-size: 28px; line-height: 1.4; }
body.portfolio-explore .case-route-section .flow-heading-copy { max-width: 530px; margin: 0; font-size: 14px; line-height: 1.75; }
body.portfolio-explore .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
body.portfolio-explore .case-route-card { min-width: 0; overflow: hidden; border: 1px solid var(--fl-color-border); border-radius: 8px; background: #fff; box-shadow: none; scroll-margin-top: 112px; }
body.portfolio-explore .case-route-card:target { border-color: var(--fl-color-brand); box-shadow: 0 0 0 3px #0066ff22; }
body.portfolio-explore .case-route-summary { position: relative; display: flex; flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; color: var(--fl-color-text); cursor: pointer; list-style: none; background: var(--fl-color-surface); }
body.portfolio-explore .case-route-summary::-webkit-details-marker { display: none; }
body.portfolio-explore .case-route-summary::marker { content: ""; }
body.portfolio-explore .case-route-summary::after { content: none; }
body.portfolio-explore .case-route-summary .portfolio-image { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 3 / 2; margin: 0; border: 0; border-radius: 8px; box-shadow: none; object-fit: cover; }
body.portfolio-explore .case-route-summary .portfolio-body { display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-width: 0; padding: 20px; }
body.portfolio-explore .case-route-summary .case-state { padding: 6px 9px; color: #07549f; border: 1px solid #c0d8f8; background: #eef5ff; font-size: 12px; font-weight: 700; text-transform: none; }
body.portfolio-explore .case-route-summary .case-kicker { margin: 14px 0 6px; color: var(--fl-color-text-muted); font-size: 11px; line-height: 1.5; font-weight: 700; }
body.portfolio-explore .portfolio-card-title { color: var(--fl-color-text); font-size: 22px; line-height: 1.4; font-weight: 700; text-wrap: balance; }
body.portfolio-explore .case-route-summary .portfolio-card-goal { display: block; margin-top: 10px; color: var(--fl-color-text-muted); font-size: 14px; font-weight: 400; line-height: 1.75; text-transform: none; }
body.portfolio-explore .case-route-summary .portfolio-card-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 18px; color: var(--fl-color-brand); font-size: 13px; text-transform: none; }
body.portfolio-explore .portfolio-card-action > span { color: inherit; font: inherit; text-transform: none; }
body.portfolio-explore .portfolio-card-action svg { display: block; width: 32px; height: 32px; padding: 7px; border: 1px solid #c6d8f2; border-radius: 50%; color: var(--fl-color-brand); background: #fff; transition: transform 150ms ease; }
body.portfolio-explore .case-route-summary:hover .portfolio-card-action svg { color: #fff; border-color: var(--fl-color-brand); background: var(--fl-color-brand); }
body.portfolio-explore .case-route-summary:focus-visible { outline: 3px solid #80b3ff; outline-offset: -5px; }
body.portfolio-explore .case-route-details[open] .portfolio-card-action svg { transform: rotate(180deg); }
body.portfolio-explore .case-route-details .case-decision-list { margin: 0; padding: 8px 26px 14px; }
body.portfolio-explore .case-route-details .case-decision-list > div:first-child { border-top: 0; }
body.portfolio-explore .case-route-details .case-decision-list > div { grid-template-columns: 70px minmax(0, 1fr); gap: 14px; padding-block: 14px; }
body.portfolio-explore .case-route-details .case-decision-list :is(dt, dd) { font-size: 14px; line-height: 1.7; }
body.portfolio-explore .photo-portfolio-section { padding-block: 36px 44px; background: #f7f9fc; }
body.portfolio-explore .photo-portfolio-section .section-heading { margin-bottom: 24px; gap: 32px; }
body.portfolio-explore .photo-portfolio-section .section-heading h2 { font-size: 28px; line-height: 1.4; }
body.portfolio-explore .photo-portfolio-section .flow-heading-copy { max-width: 530px; font-size: 14px; line-height: 1.75; }
body.portfolio-explore .photo-portfolio-grid { margin-top: 0; gap: 24px; }
body.portfolio-explore .photo-portfolio-card { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto; min-height: 300px; box-shadow: none; }
body.portfolio-explore .photo-portfolio-card > div { padding: 24px; }
body.portfolio-explore .photo-portfolio-card h3 { font-size: 21px; line-height: 1.45; }
body.portfolio-explore .photo-portfolio-card p { font-size: 14px; line-height: 1.7; }
body.portfolio-explore .photo-portfolio-card .icon-button { margin-top: 18px; }
body.portfolio-explore .case-disclosure-band { padding-block: 32px; border: 0; background: #edf3fb; }
body.portfolio-explore .case-disclosure-layout { grid-template-columns: minmax(200px, .7fr) minmax(0, 2fr); gap: 28px; }
body.portfolio-explore .case-disclosure-layout h2 { max-width: none; font-size: 20px; line-height: 1.55; }
body.portfolio-explore .case-status-legend article { padding-inline: 18px; }
body.portfolio-explore .case-publishing-section { padding-block: 40px; }
body.portfolio-explore .case-publishing-layout h2 { font-size: 28px; line-height: 1.45; }
body.portfolio-explore .cta-band { padding-block: 36px; }
body.portfolio-explore .cta-band h2 { font-size: 26px; line-height: 1.45; }

@media (min-width: 761px) {
  /* Keep card actions aligned without tying a closed summary to an open neighbor. */
  body.portfolio-explore .case-route-summary .portfolio-card-goal { min-height: 5.25em; }
}

@media (max-width: 1050px) {
  body.business-refined .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.business-refined .industry-grid .industry-card-media { aspect-ratio: 16 / 9; }
  body.business-refined .business-delivery-steps { gap: 22px; }
  body.business-refined .business-delivery-steps strong { font-size: 16px; }
  body.business-refined .cta-band .cta-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.business-refined .cta-band .cta-actions { justify-content: flex-start; }
  body.portfolio-explore .portfolio-photo-hero .page-hero-grid > div { max-width: 500px; }
  body.portfolio-explore .case-route-section .section-heading,
  body.portfolio-explore .photo-portfolio-section .section-heading { display: block; }
  body.portfolio-explore .case-route-section .flow-heading-copy,
  body.portfolio-explore .photo-portfolio-section .flow-heading-copy { max-width: none; margin-top: 12px; }
  body.portfolio-explore .photo-portfolio-card { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  body.portfolio-explore .photo-portfolio-card > div { padding: 18px; }
  body.portfolio-explore .case-disclosure-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.portfolio-explore .case-status-legend article:first-child { padding-left: 0; border-left: 0; }
}

@media (max-width: 768px) {
  body.business-refined:where(:not([data-public-layout])) main > section > .section-inner,
  body.portfolio-explore:where(:not([data-public-layout])) main > section > .section-inner { width: calc(100% - 32px); }
  body.business-refined .resources-photo-hero .resources-hero-content { min-height: 560px; padding-block: 200px 32px; gap: 28px; }
  body.business-refined .resources-photo-hero .resources-hero-copy > p:not(.eyebrow) { font-size: 15px; }
  body.business-refined #business-service { padding-block: 32px; }
  body.business-refined #business-service .section-heading { display: block; }
  body.business-refined #business-service .section-heading h2 { font-size: 26px; }
  body.business-refined #business-service .flow-heading-copy { margin-top: 12px; }
  body.business-refined .industry-grid { gap: 16px; }
  body.business-refined .industry-card-copy { padding: 16px; }
  body.business-refined .business-delivery-steps { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 0; }
  body.business-refined .business-delivery-steps::before { left: 19px; right: auto; top: 20px; bottom: 20px; width: 1px; height: auto; }
  body.business-refined .business-delivery-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 16px; }
  body.business-refined .business-delivery-steps li > svg { display: none; }
  body.business-refined .business-delivery-steps li > div { padding-top: 7px; }
  body.business-refined .business-process-heading { margin-top: 36px; }
  body.business-refined .business-process-heading h2 { font-size: 26px; }
  body.business-refined .cta-band { padding-bottom: 32px; }
  body.business-refined .cta-band .cta-layout { padding: 24px; }
  body.portfolio-explore .portfolio-photo-hero .page-hero-grid { min-height: 600px; padding-block: 240px 96px; align-items: flex-end; }
  body.portfolio-explore .portfolio-photo-hero .portfolio-media { inset: 0; width: 100%; }
  body.portfolio-explore .portfolio-photo-hero::after { background: linear-gradient(0deg, rgba(8,15,20,.97), rgba(8,15,20,.85) 46%, rgba(8,15,20,.06)); }
  body.portfolio-explore .portfolio-photo-hero h1 { color: #fff; font-size: 32px; }
  body.portfolio-explore .portfolio-photo-hero p { color: #edf3fb; font-size: 15px; }
  body.portfolio-explore .portfolio-photo-hero { --page-eyebrow-color: #d8eaff; }
  body.portfolio-explore .portfolio-photo-hero .eyebrow { color: #a8e5e4; }
  body.portfolio-explore .portfolio-photo-hero .portfolio-media figcaption { left: 16px; right: 16px; bottom: 14px; max-width: none; }
  body.portfolio-explore .portfolio-category-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 26px; }
  body.portfolio-explore .portfolio-category-nav a { justify-content: flex-start; min-height: 58px; gap: 10px; padding: 12px 16px; font-size: 14px; }
  body.portfolio-explore .portfolio-category-nav svg { width: 22px; height: 22px; }
  body.portfolio-explore .portfolio-grid { gap: 16px; }
  body.portfolio-explore .photo-portfolio-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.portfolio-explore .photo-portfolio-card { min-height: 260px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  body.portfolio-explore .photo-portfolio-card > div { padding: 20px; }
  body.portfolio-explore .case-route-details .case-decision-list { padding-inline: 20px; }
  body.portfolio-explore .case-status-legend { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.portfolio-explore .case-status-legend article { padding: 0; border-left: 0; }
  body.portfolio-explore .case-status-legend p { margin-top: 8px; }
  body.portfolio-explore .case-publishing-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 560px) {
  body.business-refined .industry-grid { grid-template-columns: minmax(0, 1fr); }
  body.business-refined .industry-card-copy { padding: 18px; }
  body.business-refined .cta-band .cta-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  body.business-refined .cta-band .cta-actions .icon-button { justify-content: center; }
  body.portfolio-explore .portfolio-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.portfolio-explore .case-route-details .case-decision-list > div { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
  body.portfolio-explore .photo-portfolio-card { grid-template-columns: minmax(100px, .65fr) minmax(0, 1fr); }
  body.portfolio-explore .photo-portfolio-card > div { padding: 16px; }
  body.portfolio-explore .photo-portfolio-card h3 { font-size: 19px; }
  body.portfolio-explore .photo-portfolio-card .case-kicker { font-size: 10px; }
  body.portfolio-explore .photo-portfolio-card .icon-button { padding-inline: 12px; }
  body.portfolio-explore .case-hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  body.portfolio-explore .case-hero-actions .icon-button { justify-content: center; }
  body.portfolio-explore .case-route-section .section-heading h2,
  body.portfolio-explore .photo-portfolio-section .section-heading h2,
  body.portfolio-explore .case-publishing-layout h2,
  body.portfolio-explore .cta-band h2 { font-size: 25px; }
}

/* TASK-143: approved B photo landing. One page owner replaces the old TASK-121
   catalog skin; hero geometry/type/actions/highlights remain shared with home.
   Count-driven columns allow future services without a product-specific layout. */
body[data-page="photo-figures"].photo-landing-b { background: #fff; }
body[data-page="photo-figures"] .photo-service-hero {
  position: relative; isolation: isolate; padding: 0;
  /* TASK-144: light five-service scene. Presentation colors stay in the shared
     hero owner; no photo-only typography, CTA or highlight layout is created. */
  --brand-hero-bg: #f7f3ec;
  --brand-hero-title: #14283e;
  --brand-hero-eyebrow: #0054d6;
  --brand-hero-promise: #405568;
  --brand-hero-copy: #405568;
  --brand-hero-icon: var(--fl-color-brand);
  --brand-hero-highlight-copy: #405568;
  --brand-hero-divider: #cbd4dc;
  --brand-hero-mobile-divider: #cbd4dc;
  --brand-hero-focus: var(--fl-color-brand);
  --brand-hero-secondary-color: #294b6a;
  --brand-hero-secondary-line: #8394a2;
  --brand-hero-secondary-hover: #0054d6;
  --brand-hero-secondary-hover-line: #0054d6;
  --brand-hero-overlay: linear-gradient(90deg, #f7f3ec 0%, #f7f3ecb3 24%, #f7f3ec00 42%);
  --brand-hero-overlay-mobile: none;
  --brand-hero-padding-mobile: calc(92px + 62.5vw) 34px;
}
body[data-page="photo-figures"] .photo-service-hero-image {
  position: absolute; inset: 130px 0 auto auto; display: block;
  width: min(100%, 900px); height: auto; max-width: none; margin: 0;
  object-fit: contain; object-position: right center; border: 0; border-radius: 0;
  /* Fade the scene's empty margins into the page; product bounds stay opaque. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 98%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 8%, #000 94%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 98%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 8%, #000 94%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-composite: intersect;
}
@media (min-width: 761px) and (max-width: 1199px) {
  body[data-page="photo-figures"] .photo-service-hero-image { inset: 150px 0 auto auto; width: 60%; height: auto; object-fit: contain; object-position: right top; }
}
body[data-page="photo-figures"] .photo-hero-credit {
  position: absolute; right: max(32px, calc((100% - 1200px) / 2)); bottom: 12px;
  z-index: 2; max-width: 58ch; margin: 0; padding: 0;
  color: var(--brand-hero-copy); background: transparent; font-size: 11px; line-height: 1.65;
}
body[data-page="photo-figures"] .photo-choice-section { background: var(--fl-color-bg); }
body[data-page="photo-figures"] :is(.photo-choice-section, .photo-process-section, .photo-faq-section) .section-heading { margin-bottom: 28px; }
body[data-page="photo-figures"] .photo-choice-section .section-heading.inline-heading {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); align-items: end; gap: 44px; text-align: left;
}
body[data-page="photo-figures"] .photo-choice-section .section-heading > p { max-width: 38ch; margin: 0; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.8; }
body[data-page="photo-figures"] .photo-catalog-grid {
  display: grid; grid-template-columns: repeat(var(--photo-service-columns, 5), minmax(0, 1fr));
  gap: 18px; margin: 0; padding: 0; border: 0; background: transparent;
}
body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden; gap: 0;
  margin: 0; padding: 0; border: 1px solid var(--fl-color-border); border-radius: 8px;
  color: var(--fl-color-text); background: var(--fl-color-surface); text-decoration: none; box-shadow: none;
  transition: border-color .16s ease, transform .16s ease;
}
body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card[hidden] { display: none; }
body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card::before,
body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card::after { content: none; }
body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card > img {
  display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 3;
  flex: 0 0 auto; margin: 0; border: 0; border-radius: 0;
  object-fit: contain; object-position: center; background: #f4f3f0;
}
body[data-page="photo-figures"] .photo-catalog-grid .photo-product-copy {
  display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 0; padding: 16px 14px 12px;
}
/* Cards follow DOM reading order; legacy detail heroes may reorder their copy. */
body[data-page="photo-figures"] .photo-catalog-grid .photo-product-copy > * { order: 0; }
body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card h3 { margin: 0 0 7px; color: var(--fl-color-text); font-size: 19px; font-weight: 650; line-height: 1.5; letter-spacing: -.015em; }
body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card [data-photo-card-copy] { min-height: 44px; margin: 0 0 16px; padding: 0; color: var(--fl-color-text-muted); font-size: 13px; line-height: 1.7; }
body[data-page="photo-figures"] .photo-catalog-grid .photo-card-price { display: block; margin-top: auto; color: var(--fl-color-brand); font-size: 20px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
body[data-page="photo-figures"] .photo-catalog-grid [data-photo-card-price-note] { display: block; margin: 4px 0 14px; color: var(--fl-color-text-muted); font-size: 11px; font-weight: 400; line-height: 1.7; }
body[data-page="photo-figures"] .photo-catalog-grid .photo-card-action {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px;
  margin: 0; padding: 10px 0 0; border: 0; border-top: 1px solid var(--fl-color-border); border-radius: 0;
  color: var(--fl-color-brand); background: transparent; font-size: 13px; font-weight: 650; line-height: 1.5; letter-spacing: 0; text-transform: none;
}
body[data-page="photo-figures"] .photo-card-action svg { width: 20px; height: 20px; flex: none; }
body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card:hover { transform: translateY(-3px); border-color: var(--fl-color-brand); }
body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card:focus-visible { outline: 3px solid var(--fl-color-brand); outline-offset: 4px; border-color: var(--fl-color-brand); }
body[data-page="photo-figures"] .photo-catalog-note { margin: 20px 0 0; color: var(--fl-color-text-muted); font-size: 12px; line-height: 1.8; }
body[data-page="photo-figures"] .photo-catalog-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
body[data-page="photo-figures"] .photo-catalog-status > p { margin: 0; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.75; }
body[data-page="photo-figures"] .photo-catalog-status > p:empty { display: none; }
body[data-page="photo-figures"] .photo-catalog-status:has(> p:empty):not(:has(> button:not([hidden]))) { display: none; }
body[data-page="photo-figures"] .photo-catalog-status > button[hidden] { display: none; }
body[data-page="photo-figures"] .photo-catalog-details { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
body[data-page="photo-figures"] .photo-catalog-details a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--fl-color-brand); font-size: 14px; text-underline-offset: 4px; }
body[data-page="photo-figures"] .photo-catalog-details a:hover { text-decoration: underline; }
body[data-page="photo-figures"] .photo-catalog-details svg { width: 16px; height: 16px; flex: none; }
body[data-page="photo-figures"] .photo-process-section { background: #fff; }
body[data-page="photo-figures"] .photo-process-grid.photo-catalog-timeline {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  margin: 0; padding: 0; border: 0; background: transparent; list-style: none;
}
body[data-page="photo-figures"] .photo-catalog-timeline > li { min-width: 0; margin: 0; padding: 19px 0 0; border: 0; border-top: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; }
body[data-page="photo-figures"] .photo-catalog-timeline .photo-process-number { display: block; color: var(--fl-color-brand); font-size: 13px; font-weight: 700; line-height: 1.5; }
body[data-page="photo-figures"] .photo-catalog-timeline h3 { margin: 8px 0; color: var(--fl-color-text); font-size: 20px; font-weight: 650; line-height: 1.5; }
body[data-page="photo-figures"] .photo-catalog-timeline p { margin: 0; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.85; }
body[data-page="photo-figures"] .photo-faq-section { background: var(--fl-color-bg); }
body[data-page="photo-figures"] .photo-faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 60px; }
body[data-page="photo-figures"] .photo-faq-layout h2 { margin: 0 0 14px; }
body[data-page="photo-figures"] .photo-faq-layout > div > p:not(.eyebrow) { margin: 0; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.8; }
body[data-page="photo-figures"] .photo-faq-list { min-width: 0; border: 0; }
body[data-page="photo-figures"] .photo-faq-list details { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--fl-color-border); background: transparent; }
body[data-page="photo-figures"] .photo-faq-list summary { min-height: 56px; padding: 17px 28px 17px 0; color: var(--fl-color-text); font-size: 16px; font-weight: 600; line-height: 1.6; list-style: none; cursor: pointer; }
body[data-page="photo-figures"] .photo-faq-list summary::-webkit-details-marker { display: none; }
body[data-page="photo-figures"] .photo-faq-list summary::after { top: 14px; right: 0; color: var(--fl-color-brand); font-size: 22px; }
body[data-page="photo-figures"] .photo-faq-list summary:focus-visible { outline: 3px solid var(--fl-color-brand); outline-offset: 3px; border-radius: 4px; }
body[data-page="photo-figures"] .photo-faq-list details :is(p, ul) { margin: 0; padding: 0 28px 20px 0; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.8; }
body[data-page="photo-figures"] .photo-faq-list details ul { padding-left: 20px; }
body[data-page="photo-figures"] .photo-faq-list a { color: var(--fl-color-brand); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) {
  body[data-page="photo-figures"] .photo-catalog-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card { grid-column: span 2; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card:nth-child(3n + 1):nth-last-child(2),
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card:nth-child(3n + 2):last-child { grid-column: span 3; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card:nth-child(3n + 1):last-child { grid-column: 1 / -1; }
  body[data-page="photo-figures"] .photo-faq-layout { gap: 32px; }
}
@media (max-width: 760px) {
  body[data-page="photo-figures"] .photo-service-hero-image { inset: 72px 0 auto auto; width: 125%; height: auto; object-fit: contain; object-position: right top; }
  body[data-page="photo-figures"] .photo-hero-credit { position: relative; right: auto; bottom: auto; width: calc(100% - 40px); max-width: none; margin: 0 auto; padding: 0 0 16px; font-size: 10px; }
  body[data-page="photo-figures"] .photo-choice-section .section-heading.inline-heading { display: block; }
  body[data-page="photo-figures"] .photo-choice-section .section-heading > p { max-width: none; margin-top: 14px; font-size: 13px; }
  body[data-page="photo-figures"] .photo-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card { grid-column: auto; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card:nth-child(n):nth-last-child(n) { grid-column: auto; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card:last-child:nth-child(odd) > img { height: 100%; min-height: 216px; aspect-ratio: auto; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-copy { padding: 12px 10px; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card h3 { font-size: 17px; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card [data-photo-card-copy] { min-height: 40px; margin-bottom: 12px; font-size: 12px; line-height: 1.7; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-card-price { font-size: 18px; }
  body[data-page="photo-figures"] .photo-catalog-grid [data-photo-card-price-note] { font-size: 10px; margin-bottom: 10px; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-card-action { gap: 4px; padding-top: 10px; font-size: 12px; }
  body[data-page="photo-figures"] .photo-card-action svg { width: 18px; height: 18px; }
  body[data-page="photo-figures"] .photo-catalog-note { font-size: 11px; }
  body[data-page="photo-figures"] .photo-catalog-details { gap: 4px 16px; }
  body[data-page="photo-figures"] .photo-catalog-details a { font-size: 13px; }
  body[data-page="photo-figures"] .photo-process-grid.photo-catalog-timeline { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  body[data-page="photo-figures"] .photo-catalog-timeline > li { padding-top: 13px; }
  body[data-page="photo-figures"] .photo-catalog-timeline h3 { margin: 6px 0; font-size: 18px; }
  body[data-page="photo-figures"] .photo-catalog-timeline p { font-size: 13px; }
  body[data-page="photo-figures"] .photo-faq-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body[data-page="photo-figures"] .photo-faq-list summary { font-size: 14px; }
  body[data-page="photo-figures"] .photo-faq-list details :is(p, ul) { font-size: 13px; }
}
@media (max-width: 380px) {
  body[data-page="photo-figures"] .photo-hero-credit { width: calc(100% - 32px); }
  body[data-page="photo-figures"] .photo-catalog-grid { gap: 12px; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card h3 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card { transition: none; }
  body[data-page="photo-figures"] .photo-catalog-grid .photo-product-card:hover { transform: none; }
}

/* TASK-121 selected 12A: retained auth spacing. TASK-139 consolidates
   the superseded 09A photo intake rules in site-upgrade.css. */


  body[data-page="login"].quote-account-a:where(:not([data-public-layout])) .auth-section { padding: 120px 32px 48px; }
  body[data-page="login"].quote-account-a .auth-layout { max-width: var(--public-content-max, 1080px); grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); min-height: 0; }
  body[data-page="login"].quote-account-a .auth-copy { padding: 36px; }
  body[data-page="login"].quote-account-a .auth-copy > .eyebrow { margin-bottom: 14px; font-size: 11px; letter-spacing: .08em; }
  body[data-page="login"].quote-account-a .auth-copy h1 { max-width: none; margin-bottom: 12px; font-size: var(--workspace-title-size, 30px); line-height: 1.5; }
  body[data-page="login"].quote-account-a .auth-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; }
  body[data-page="login"].quote-account-a .auth-benefits { gap: 18px; margin: 26px 0; }
  body[data-page="login"].quote-account-a .auth-benefits > div { gap: 14px; }
  body[data-page="login"].quote-account-a .auth-benefits > div > svg { flex-basis: 40px; width: 40px; height: 40px; padding: 10px; }
  body[data-page="login"].quote-account-a .auth-benefits strong { font-size: 16px; }
  body[data-page="login"].quote-account-a .auth-benefits p { margin-top: 3px; font-size: 13px; }
  body[data-page="login"].quote-account-a .auth-manufacturing-visual { margin-top: 24px; }
  body[data-page="login"].quote-account-a .auth-manufacturing-visual img { height: 160px; }
  body[data-page="login"].quote-account-a .auth-panels { padding: 28px 36px 32px; }
  body[data-page="login"].quote-account-a .auth-mode-tabs { margin-bottom: 12px; }
  body[data-page="login"].quote-account-a .auth-mode-tabs button { min-height: 48px; font-size: 15px; }
  body[data-page="login"].quote-account-a .auth-card { gap: 18px; padding-top: 14px; }
  body[data-page="login"].quote-account-a .auth-card h2 { font-size: 24px; line-height: 1.4; }
  body[data-page="login"].quote-account-a .auth-card .panel-heading p { margin-top: 6px; font-size: 13px; }
  body[data-page="login"].quote-account-a .auth-card .field { gap: 7px; }
  body[data-page="login"].quote-account-a .auth-card input:not([type="checkbox"]) { min-height: 46px; }
  body[data-page="login"].quote-account-a .auth-card .full-button { min-height: 48px; }
  body[data-page="login"].quote-account-a .auth-return { margin-top: 24px; padding-top: 20px; }
  body[data-page="login"].quote-account-a .auth-return p { margin-top: 10px; }
  body[data-page="login"] :is(.auth-mode-tabs button, .auth-password-input button, .auth-return a):focus-visible { outline: 3px solid var(--fl-color-brand); outline-offset: 3px; }

  @media (max-width: 1000px) {
    body[data-page="login"].quote-account-a .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); }
    body[data-page="login"].quote-account-a :is(.auth-copy, .auth-panels) { padding: 28px; }
    body[data-page="login"].quote-account-a .auth-copy h1 { font-size: var(--workspace-title-size, 27px); }
  }
  @media (max-width: 760px) {
    body[data-page="login"].quote-account-a:where(:not([data-public-layout])) .auth-section { padding: 104px 20px 32px; }
    body[data-page="login"].quote-account-a .auth-layout { grid-template-columns: minmax(0, 1fr); }
    body[data-page="login"].quote-account-a .auth-copy { padding: 24px; }
    body[data-page="login"].quote-account-a .auth-copy h1 { font-size: var(--workspace-title-size, 24px); line-height: 1.45; margin-bottom: 8px; }
    body[data-page="login"].quote-account-a .auth-copy > .eyebrow { margin-bottom: 8px; font-size: 10px; }
    body[data-page="login"].quote-account-a .auth-copy > p:not(.eyebrow) { font-size: 13px; }
    body[data-page="login"].quote-account-a :is(.auth-benefits, .auth-manufacturing-visual) { display: none; }
    body[data-page="login"].quote-account-a .auth-panels { padding: 16px 24px 24px; }
    body[data-page="login"].quote-account-a .auth-card { gap: 16px; padding-top: 12px; }
    body[data-page="login"].quote-account-a .auth-card h2 { font-size: 22px; }
    body[data-page="login"].quote-account-a .auth-return { margin-top: 20px; padding-top: 16px; }
  }
  @media (max-width: 480px) {
    body[data-page="login"].quote-account-a:where(:not([data-public-layout])) .auth-section { padding-inline: 12px; }
    body[data-page="login"].quote-account-a .auth-copy { padding: 22px 20px; }
    body[data-page="login"].quote-account-a .auth-panels { padding: 12px 20px 24px; }
    body[data-page="login"].quote-account-a .auth-copy h1 { font-size: var(--workspace-title-size, 22px); }
    body[data-page="login"].quote-account-a .auth-card .field-grid { grid-template-columns: minmax(0, 1fr); }
  }

}

@layer legacy {

/* FabLine public platform components use the shared semantic tokens in site-upgrade.css. */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

.topbar .nav-start-link {
  min-height: 40px;
  padding-inline: 14px;
  font-weight: 780;
}

.topbar .nav-links a::after,
.topbar .nav-start-link::after,
.member-section-nav a::after {
  display: none;
}

.topbar .nav-links a {
  text-decoration: none;
}

.topbar .nav-links a[aria-current="page"] {
  color: var(--color-brand-hover);
  background: #eaf4fb;
}

.member-command-center {
  border-top-width: 0;
}

/* The core customer-facing pages are Chinese-first; compact labels remain in card content where they aid scanning. */
.platform-home .hero-copy > .eyebrow,
.platform-home .platform-section-heading > div > .eyebrow,
.platform-home .home-photo-intro > div > .eyebrow,
.platform-home .platform-assist-band .eyebrow,
.platform-home .quote-panel .panel-heading .eyebrow,
body[data-page="services"] .page-hero .eyebrow,
body[data-page="services"] .section-heading > div > .eyebrow,
body[data-page="services"] .cta-layout .eyebrow,
body[data-page="pricing"] .page-hero .eyebrow,
body[data-page="pricing"] .section-heading > div > .eyebrow,
body[data-page="pricing"] .section-heading > .eyebrow,
body[data-page="pricing"] .photo-pricing-layout .eyebrow,
body[data-page="pricing"] .pricing-payment-copy .eyebrow,
body[data-page="pricing"] .reorder-layout .eyebrow,
body[data-page="pricing"] .cta-layout .eyebrow,
body[data-page="full-color"] .eyebrow,
body[data-page="member"] .member-dashboard .eyebrow {
  display: none;
}

body[data-page="member"] .member-command-center {
  border-color: var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

body[data-page="member"] .member-dashboard-head h1 {
  font-size: var(--workspace-title-size, 2rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  body[data-page="member"] .member-dashboard-head h1 {
    font-size: var(--workspace-title-size, 1.5rem);
  }
}

body[data-page="member"] .member-summary article {
  min-height: 76px;
  border-color: var(--color-border);
  background: #ffffff;
}

body[data-page="member"] .member-summary article:nth-child(3) {
  border-color: #b7d5f1;
  background: var(--color-surface-info);
}

body[data-page="member"] .member-summary article:nth-child(4) {
  border-color: #b9dfd7;
  background: var(--color-surface-success);
}

body[data-page="member"] .member-priority-grid .member-workspace-panel[id="memberQuotes"] {
  border-top: 1px solid var(--color-border);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

body[data-page="member"] .member-quote-card[data-action-state="payable"] {
  border-color: #9bd6cc;
  background: #f1fbf8;
}

body[data-page="member"] .member-quote-card[data-action-state="attention"] {
  border-color: #cad9eb;
  background: #f7fbff;
}

body.platform-home {
  background: var(--color-bg);
}

.platform-home .video-hero {
  min-height: min(760px, 88svh);
}

.platform-home .video-hero::after {
  background:
    linear-gradient(90deg, rgba(8, 21, 36, 0.88) 0%, rgba(8, 21, 36, 0.62) 47%, rgba(8, 21, 36, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 21, 36, 0.7), rgba(8, 21, 36, 0.08) 46%, rgba(8, 21, 36, 0.28));
}

.platform-home .video-hero .hero-content {
  min-height: min(760px, 88svh);
  display: flex;
  align-items: center;
  padding-block: 112px 64px;
}

.platform-home .video-hero .hero-copy {
  max-width: 760px;
}

.platform-home .video-hero h1 {
  max-width: 12.5ch;
  font-size: 3.45rem;
  line-height: 1.03;
}

.platform-home .video-hero .hero-lede {
  max-width: 650px;
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
}

.platform-home .hero-actions {
  margin-top: 28px;
}

.platform-home .hero-actions .icon-button.primary,
.platform-home .hero-actions .icon-button.secondary {
  min-height: 48px;
}

.platform-home .hero-assist-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 720;
}

.platform-home .hero-assist-link svg {
  width: 17px;
  height: 17px;
  color: #6fe2da;
}

.platform-home .hero-assist-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.platform-home .hero-stats {
  max-width: 665px;
  margin-top: 25px;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(7, 20, 34, 0.28);
}

.platform-home .hero-stats span {
  color: rgba(255, 255, 255, 0.78);
}

.platform-home .hero-stats strong {
  color: #ffffff;
}

.platform-intent-section {
  padding-block: 78px 40px;
  background: var(--color-bg);
}

.platform-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.platform-section-heading > div {
  min-width: 0;
}

.platform-section-heading .eyebrow {
  margin-bottom: 8px;
}

.platform-section-heading h2 {
  max-width: 21ch;
  color: var(--color-text);
  font-size: 2rem;
  line-height: 1.12;
}

.platform-section-heading > p {
  max-width: 43ch;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.platform-intent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.platform-intent-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 242px;
  padding: 26px 24px 22px;
  border-left: 1px solid var(--color-border);
  color: var(--color-text);
  transition: background 160ms ease, color 160ms ease;
}

.platform-intent-card:first-child {
  border-left: 0;
}

.platform-intent-card:hover {
  color: var(--color-text);
  background: var(--color-surface-info);
}

.platform-intent-card .platform-intent-icon {
  width: 42px;
  height: 42px;
  display: grid;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  border: 1px solid #c8dfef;
  border-radius: 7px;
  background: #edf8fd;
}

.platform-intent-card .platform-intent-icon svg {
  width: 21px;
  height: 21px;
}

.platform-intent-card small {
  color: var(--color-accent);
  font-size: var(--font-size-caption);
  font-weight: 840;
  letter-spacing: 0;
}

.platform-intent-card h3 {
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.32;
}

.platform-intent-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.62;
}

.platform-intent-card strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: end;
  margin-top: 10px;
  color: var(--color-brand);
  font-size: var(--font-size-label);
}

.platform-intent-card strong svg {
  width: 16px;
  height: 16px;
}

.platform-quote-section {
  padding-block: 72px 88px;
  background: var(--color-surface-muted);
}

.platform-quote-shell {
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.platform-quote-shell .platform-section-heading {
  align-items: start;
  margin: 0;
  padding: 30px 32px 25px;
  border-bottom: 1px solid var(--color-border);
}

.platform-quote-shell .platform-section-heading h2 {
  max-width: 16ch;
  font-size: 1.8rem;
}

.platform-quote-shell .platform-section-heading > p {
  max-width: 43ch;
  font-size: var(--font-size-label);
}

.platform-quote-mount .quote-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--color-text);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.quote-panel-heading {
  align-items: start;
  padding: 27px 32px 21px;
  border-bottom: 1px solid var(--color-border);
}

.quote-panel-heading > div {
  min-width: 0;
}

.quote-overline {
  margin: 0 0 7px;
  color: var(--color-brand);
  font-size: 0.78rem;
  font-weight: 820;
}

.platform-quote-mount .quote-panel .quote-panel-heading h2 {
  max-width: 18ch;
  color: var(--color-text);
  font-size: 1.65rem;
  line-height: 1.2;
}

.quote-panel-description {
  max-width: 62ch;
  margin: 9px 0 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
}

.platform-quote-mount .quote-panel .status-pill {
  min-height: 32px;
  margin-top: 3px;
  color: #07519a;
  border: 1px solid #b9d8eb;
  background: #eef8fc;
  font-size: 0.76rem;
}

.quote-workspace-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(286px, 0.42fr);
  gap: 28px;
  align-items: start;
  padding: 26px 32px 32px;
}

.quote-workspace-main {
  min-width: 0;
}

.platform-quote-mount .quote-panel .model-upload {
  margin: 0;
}

.platform-quote-mount .quote-panel .model-workspace {
  height: auto;
  min-height: 342px;
  grid-template-rows: auto 42px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: #ffffff;
}

.platform-quote-mount .quote-panel .model-workspace-head {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  padding: 15px;
  color: var(--color-text);
  border-bottom: 1px solid #c9dce8;
  background: #f5faff;
  box-shadow: none;
}

.platform-quote-mount .quote-panel .model-workspace-head:hover {
  background: #eef8fd;
  box-shadow: inset 0 0 0 1px #89bbdf;
}

.platform-quote-mount .quote-panel .model-workspace-head:focus-within {
  box-shadow: inset 0 0 0 2px var(--color-brand);
}

.platform-quote-mount .quote-panel .quote-stage .model-workspace .model-drop {
  width: auto;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: var(--color-brand-hover);
}

.platform-quote-mount .quote-panel .quote-stage .model-workspace .model-drop svg {
  width: 20px;
  height: 20px;
  padding: 8px;
  color: #ffffff;
  border-radius: 6px;
  background: var(--color-brand);
  box-shadow: none;
}

.platform-quote-mount .quote-panel .quote-stage .model-workspace .model-drop span {
  overflow: visible;
  font-size: var(--font-size-label);
  font-weight: 800;
  text-overflow: clip;
  white-space: normal;
}

.platform-quote-mount .quote-panel .model-upload-summary strong {
  color: var(--color-text);
  font-size: var(--font-size-label);
}

.platform-quote-mount .quote-panel .model-upload-summary span {
  overflow: visible;
  color: var(--color-text-muted);
  font-size: var(--font-size-caption);
  line-height: 1.45;
  text-overflow: clip;
  white-space: normal;
}

.platform-quote-mount .quote-panel .model-upload-cue {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  color: var(--color-brand-hover);
  border: 1px solid #b6d7e9;
  border-radius: 6px;
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 760;
}

.platform-quote-mount .quote-panel .model-upload-cue svg {
  width: 16px;
  height: 16px;
  padding: 0;
  color: currentColor;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.platform-quote-mount .quote-panel .model-workspace:not(.has-models) {
  min-height: 278px;
  grid-template-rows: auto minmax(0, 1fr);
}

.platform-quote-mount .quote-panel .model-workspace:not(.has-models) .model-workspace-tabs,
.platform-quote-mount .quote-panel .model-workspace:not(.has-models) .quote-parts,
.platform-quote-mount .quote-panel .model-workspace:not(.has-models) .model-preview-empty,
.platform-quote-mount .quote-panel .model-workspace:not(.has-models) .model-preview,
.platform-quote-mount .quote-panel .model-workspace:not(.has-models) .model-metrics,
.platform-quote-mount .quote-panel .model-workspace:not(.has-models) .model-status {
  display: none;
}

.platform-quote-mount .quote-panel .model-workspace:not(.has-models) .model-workspace-pane[data-model-workspace-pane="files"] {
  display: block;
}

.platform-quote-mount .quote-panel .model-workspace:not(.has-models) .model-detail-panel {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #ffffff;
}

.platform-quote-mount .quote-panel .model-empty-guidance {
  max-width: 43ch;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
  text-align: center;
}

.platform-quote-mount .quote-panel .model-empty-guidance svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.platform-quote-mount .quote-panel .model-empty-guidance strong {
  color: var(--color-text);
  font-size: 0.98rem;
}

.platform-quote-mount .quote-panel .model-workspace.has-models .model-empty-guidance {
  display: none;
}

.platform-quote-mount .quote-panel .model-workspace.has-model-error:not(.has-models) .model-status {
  display: grid;
  max-width: 46ch;
  padding: 14px;
  color: #7b2631;
  border: 1px solid #e4b9bf;
  background: #fff7f7;
}

.platform-quote-mount .quote-panel .model-workspace.has-model-error:not(.has-models) .model-empty-guidance {
  display: none;
}

.platform-quote-mount .quote-panel .model-workspace.has-models .model-workspace-pane[data-model-workspace-pane="files"] {
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
}

.platform-quote-mount .quote-panel .model-workspace.has-models .model-detail-panel {
  padding: 13px;
}

.platform-quote-mount .quote-panel .model-workspace.has-models .model-status {
  padding: 10px 0 12px;
  color: var(--color-text);
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

.platform-quote-mount .quote-panel .model-workspace.has-models .model-status span {
  color: var(--color-text-muted);
}

.platform-quote-mount .quote-panel .quote-stage {
  min-height: 0;
  margin-top: 22px;
}

.platform-quote-mount .quote-panel .quote-stepper {
  gap: 6px;
  margin: 0;
  padding: 0;
}

.platform-quote-mount .quote-panel .quote-stepper button {
  min-height: 50px;
  padding: 8px 10px;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #f8fafc;
}

.platform-quote-mount .quote-panel .quote-stepper button strong {
  color: var(--color-brand);
  font-size: var(--font-size-caption);
}

.platform-quote-mount .quote-panel .quote-stepper button span {
  color: currentColor;
  font-size: var(--font-size-caption);
}

.platform-quote-mount .quote-panel .quote-stepper button.is-current {
  color: #ffffff;
  border-color: var(--color-brand);
  background: var(--color-brand);
  box-shadow: none;
}

.platform-quote-mount .quote-panel .quote-stepper button.is-current strong {
  color: #d8f5f1;
}

.quote-estimate-summary {
  position: sticky;
  top: 94px;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: #fbfdfe;
}

.quote-estimate-summary > summary {
  min-height: 67px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  gap: 9px;
  align-items: center;
  padding: 15px 16px;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.quote-estimate-summary > summary::-webkit-details-marker {
  display: none;
}

.quote-estimate-summary > summary > span {
  font-size: 0.9rem;
  font-weight: 790;
}

.quote-estimate-summary > summary > strong {
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.quote-estimate-summary > summary svg {
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  transition: transform 160ms ease;
}

.quote-estimate-summary[open] > summary {
  border-bottom: 1px solid var(--color-border);
}

.quote-estimate-summary[open] > summary svg {
  transform: rotate(180deg);
}

.quote-estimate-summary-body {
  padding: 15px 16px 16px;
}

.quote-summary-intro {
  margin: 0 0 14px;
  color: var(--color-text-muted);
  font-size: var(--font-size-label);
  line-height: 1.55;
}

.quote-summary-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.quote-summary-list div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
}

.quote-summary-list dt,
.quote-summary-list dd {
  min-width: 0;
  margin: 0;
}

.quote-summary-list dt {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.quote-summary-list dd {
  overflow-wrap: anywhere;
  color: var(--color-text);
  font-size: var(--font-size-label);
  font-weight: 720;
  line-height: 1.48;
}

.quote-summary-price {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  padding: 14px;
  border-radius: 6px;
  background: var(--color-surface-info);
}

.quote-summary-price span,
.quote-summary-price small {
  color: var(--color-text-muted);
  font-size: 0.74rem;
}

.quote-summary-price strong {
  color: var(--color-brand-hover);
  font-size: 1.1rem;
  line-height: 1.3;
}

.quote-assist-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 13px;
}

.quote-assist-actions button {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 8px;
  color: var(--color-brand-hover);
  border: 1px solid #bad9e8;
  border-radius: 6px;
  background: #ffffff;
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.35;
  text-align: center;
}

.quote-assist-actions button:hover {
  border-color: var(--color-brand);
  background: #f2f9fd;
}

.quote-assist-actions button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.quote-purpose-intro,
.quote-technical-intro {
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
}

.quote-purpose-intro h3,
.quote-technical-intro h3 {
  color: var(--color-text);
  font-size: 1.22rem;
}

.quote-purpose-intro p,
.quote-technical-intro p,
.quote-engineering-note p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.62;
}

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

.quote-purpose-option,
.quote-technical-mode button {
  min-height: 68px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 4px;
  padding: 12px 14px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: #ffffff;
  text-align: left;
}

.quote-purpose-option strong,
.quote-technical-mode strong {
  font-size: 0.88rem;
}

.quote-purpose-option small,
.quote-technical-mode small {
  color: var(--color-text-muted);
  font-size: 0.77rem;
  line-height: 1.4;
}

.quote-purpose-option:hover,
.quote-technical-mode button:hover {
  border-color: #91bee8;
  background: #f4faff;
}

.quote-purpose-option.is-active,
.quote-technical-mode button.is-active {
  color: #053d84;
  border-color: var(--color-brand);
  background: #ebf5ff;
  box-shadow: inset 0 0 0 1px rgba(7, 95, 202, 0.12);
}

.quote-purpose-option.is-active small,
.quote-technical-mode button.is-active small {
  color: #2a5b88;
}

.quote-intent-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

#quoteModelQuantities.quote-intent-fields {
  grid-template-columns: minmax(0, 1fr);
}

.quote-model-configuration {
  min-width: 0;
  padding: 16px 0;
  border-top: 1px solid var(--fl-color-border);
}

.quote-model-configuration > strong,
.quote-model-configuration > small {
  display: block;
  overflow-wrap: anywhere;
}

.quote-model-settings,
.quote-comparison-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.quote-quantity-comparison,
.quote-color-attachments {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--fl-color-border);
  font-size: 14px;
}

.quote-quantity-comparison > summary,
.quote-color-attachments > summary {
  cursor: pointer;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
}

.quote-quantity-comparison > summary span,
.quote-color-attachments > summary span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--fl-color-text-muted);
}

.quote-comparison-option {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: 0 12px 0 0;
  border-right: 1px solid var(--fl-color-border);
  overflow-wrap: anywhere;
}

.quote-comparison-option:last-child { border-right: 0; padding-right: 0; }
.quote-comparison-option > button { margin-top: auto; }
.quote-comparison-option > strong { font-size: 16px; }
.quote-inline-error { color: var(--fl-color-warning); font-size: 14px; line-height: 1.65; }
.quote-file-issues { margin: 16px 0; }
.quote-file-issue { padding: 12px 0; border-bottom: 1px solid var(--fl-color-border); overflow-wrap: anywhere; }
.quote-file-issue p { margin: 4px 0 12px; font-size: 14px; }
.quote-file-issue-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.quote-file-issue-actions svg,
.quote-attachment-row svg { width: 18px; height: 18px; }
.quote-attachment-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--fl-color-border); }
.quote-attachment-row > span { min-width: 0; overflow-wrap: anywhere; }
.quote-attachment-row small { display: block; color: var(--fl-color-text-muted); }
.quote-attachment-row button { flex: 0 0 44px; }
#quoteColorStatus p { overflow-wrap: anywhere; font-size: 14px; }

@media (max-width: 600px) {
  .quote-model-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-model-settings > label:last-child { grid-column: 1 / -1; }
  .quote-comparison-options { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .quote-comparison-option { border-right: 0; border-bottom: 1px solid var(--fl-color-border); padding: 0 0 16px; }
  .quote-comparison-option:last-child { border-bottom: 0; }
}

.quote-technical-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 13px;
}

.quote-technical-mode button {
  min-height: 72px;
}

.quote-technical-fields {
  display: grid;
  gap: 17px;
  padding: 16px;
  border: 1px solid #cbdde9;
  border-radius: 6px;
  background: #f8fbfd;
}

.quote-technical-fields[hidden] {
  display: none;
}

.quote-engineering-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 13px;
  padding: 12px 0;
  color: #255d6a;
  border: 0;
  border-top: 1px solid #c5e3dd;
  border-bottom: 1px solid #c5e3dd;
  border-radius: 0;
  background: transparent;
}

.quote-engineering-note svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.quote-engineering-note strong {
  display: block;
  margin-bottom: 3px;
  color: #1c4650;
  font-size: 0.86rem;
}

.quote-engineering-note p {
  color: #4e6e73;
}

.quote-technical-fields .process-segmented {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quote-advanced-details {
  margin-top: 17px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.quote-advanced-details > summary {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.quote-advanced-details > summary::-webkit-details-marker {
  display: none;
}

.quote-advanced-details > summary::after {
  grid-column: 1;
  content: "展開選項";
  color: var(--color-brand);
  font-size: 0.75rem;
  font-weight: 780;
}

.quote-advanced-details[open] > summary::after {
  content: "收合選項";
}

.quote-advanced-details > summary > span {
  font-size: 0.88rem;
  font-weight: 770;
}

.quote-advanced-details > summary > small {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.quote-advanced-content {
  padding: 2px 0 17px;
}

.quote-result-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 13px;
}

.quote-result-heading p {
  margin: 0;
  color: var(--color-brand);
  font-size: 0.76rem;
  font-weight: 820;
}

.quote-result-heading h3 {
  color: var(--color-text);
  font-size: 1.22rem;
}

.quote-result-heading span {
  color: var(--color-text-muted);
  font-size: var(--font-size-label);
}

.platform-capability-section {
  padding-block: 88px;
  background: #ffffff;
}

.platform-capability-grid,
.platform-service-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.platform-capability-card,
.platform-service-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 288px;
  padding: 27px 26px 24px;
  border-left: 1px solid var(--color-border);
}

.platform-capability-card:first-child,
.platform-service-card:nth-child(3n + 1) {
  border-left: 0;
}

.platform-capability-card.is-true-color,
.platform-service-card.is-true-color {
  color: #ffffff;
  border-left-color: transparent;
  background: linear-gradient(145deg, #075fc7, #087d80);
}

.platform-capability-card .catalog-kicker,
.platform-service-card .catalog-kicker {
  color: var(--color-accent);
  font-size: var(--font-size-caption);
  font-weight: 830;
}

.platform-capability-card.is-true-color .catalog-kicker,
.platform-service-card.is-true-color .catalog-kicker {
  color: #b9fbf2;
}

.platform-capability-card h3,
.platform-service-card h3 {
  color: var(--color-text);
  font-size: 1.35rem;
  line-height: 1.25;
}

.platform-capability-card.is-true-color h3,
.platform-service-card.is-true-color h3 {
  color: #ffffff;
}

.platform-capability-card p,
.platform-service-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--font-size-label);
  line-height: var(--line-height-body);
}

.platform-capability-card.is-true-color p,
.platform-service-card.is-true-color p {
  color: rgba(255, 255, 255, 0.82);
}

.platform-capability-card ul,
.platform-service-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: #31495f;
  list-style: none;
  font-size: var(--font-size-caption);
}

.platform-capability-card.is-true-color ul,
.platform-service-card.is-true-color ul {
  color: rgba(255, 255, 255, 0.88);
}

.platform-capability-card li::before,
.platform-service-card li::before {
  margin-right: 7px;
  color: var(--color-accent);
  content: "•";
}

.platform-capability-card.is-true-color li::before,
.platform-service-card.is-true-color li::before {
  color: #7af1e6;
}

.platform-catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: end;
  margin-top: 7px;
  color: var(--color-brand);
  font-size: var(--font-size-label);
  font-weight: 800;
}

.platform-catalog-link svg {
  width: 16px;
  height: 16px;
}

.is-true-color .platform-catalog-link {
  color: #ffffff;
}

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

.platform-service-card {
  min-height: 246px;
}

.platform-service-card:nth-child(n + 3) {
  border-top: 1px solid var(--color-border);
}

.platform-service-card.is-secondary {
  background: #f8fbfd;
}

.platform-service-card .catalog-availability {
  width: fit-content;
  padding: 4px 7px;
  color: #306076;
  border: 1px solid #c8dce8;
  border-radius: 999px;
  background: #eef6fb;
  font-size: 0.67rem;
  font-weight: 800;
}

.platform-service-card.is-true-color .catalog-availability {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
}

.platform-enterprise-section {
  padding-block: 84px;
  color: #ffffff;
  background: #102032;
}

.platform-enterprise-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.86fr);
  gap: 60px;
  align-items: center;
}

.platform-enterprise-section .eyebrow,
.platform-enterprise-section h2 {
  color: #ffffff;
}

.platform-enterprise-section h2 {
  max-width: 14ch;
  margin: 8px 0 16px;
  font-size: 2rem;
  line-height: 1.12;
}

.platform-enterprise-section p:not(.eyebrow) {
  max-width: 56ch;
  margin: 0;
  color: #b8c7d4;
  font-size: 0.94rem;
  line-height: 1.72;
}

.platform-enterprise-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.platform-enterprise-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.platform-enterprise-list span {
  color: #72e6dc;
  font-size: 0.76rem;
  font-weight: 830;
}

.platform-enterprise-list strong {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
}

.platform-enterprise-list small {
  display: block;
  margin-top: 3px;
  color: #b8c7d4;
  font-size: 0.77rem;
  line-height: 1.5;
}

.platform-enterprise-section .hero-actions {
  margin-top: 24px;
}

.platform-enterprise-section .icon-button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: transparent;
}

.platform-assist-section {
  padding-block: 42px 84px;
  background: var(--color-bg);
}

.platform-assist-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 30px;
  border: 1px solid #cbdce7;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.platform-assist-band h2 {
  color: var(--color-text);
  font-size: 1.45rem;
}

.platform-assist-band p {
  max-width: 54ch;
  margin: 7px 0 0;
  color: var(--color-text-muted);
  font-size: 0.83rem;
  line-height: 1.6;
}

.platform-assist-band .cta-actions {
  flex: 0 0 auto;
}

.full-color-commercial-ladder-section,
.full-color-price-driver-section {
  padding-block: 86px;
  background: #ffffff;
}

.full-color-commercial-ladder,
.full-color-price-drivers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.full-color-commercial-ladder article,
.full-color-price-drivers article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 186px;
  padding: 20px 18px;
  border-left: 1px solid var(--color-border);
}

.full-color-commercial-ladder article:first-child,
.full-color-price-drivers article:first-child {
  border-left: 0;
}

.full-color-commercial-ladder span,
.full-color-price-drivers span {
  color: var(--color-brand);
  font-size: 0.68rem;
  font-weight: 850;
}

.full-color-commercial-ladder h3,
.full-color-price-drivers h3 {
  color: var(--color-text);
  font-size: 0.96rem;
  line-height: 1.35;
}

.full-color-commercial-ladder p,
.full-color-price-drivers p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.74rem;
  line-height: 1.56;
}

.full-color-evidence-panel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  max-width: 900px;
  margin: 22px auto 0;
  padding: 15px 17px;
  color: #455e72;
  border: 1px solid #c8dce8;
  border-radius: var(--radius-md);
  background: #f7fbfe;
}

.full-color-evidence-panel svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

/* Full-color service pages use a compact, scannable evidence and price-driver layer. */
.full-color-commercial-ladder > li {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 186px;
  padding: 20px 18px;
  border-left: 1px solid var(--color-border);
}

.full-color-commercial-ladder > li:first-child {
  border-left: 0;
}

.full-color-commercial-ladder > li span {
  color: var(--color-brand);
  font-size: 0.68rem;
  font-weight: 850;
}

.full-color-commercial-ladder > li strong {
  color: var(--color-text);
  font-size: 0.96rem;
  line-height: 1.35;
}

.full-color-commercial-ladder > li small {
  color: var(--color-text-muted);
  font-size: 0.74rem;
  line-height: 1.56;
}

.full-color-evidence-panel strong {
  display: block;
  color: var(--color-text);
  font-size: 0.84rem;
}

.full-color-evidence-panel p {
  margin: 4px 0 0;
  font-size: 0.77rem;
  line-height: 1.55;
}

.member-command-center .member-summary article:nth-child(3) strong {
  color: var(--color-brand);
}

.member-command-center .member-summary article:nth-child(3) span {
  color: var(--color-text-muted);
}

@media (max-width: 1060px) {
  .platform-intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-intent-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--color-border);
  }

  .platform-intent-card:nth-child(4) {
    border-top: 1px solid var(--color-border);
  }

  .platform-enterprise-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .full-color-commercial-ladder,
  .full-color-price-drivers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .full-color-commercial-ladder article:nth-child(4),
  .full-color-price-drivers article:nth-child(4) {
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .full-color-commercial-ladder article:nth-child(5),
  .full-color-price-drivers article:nth-child(5) {
    border-top: 1px solid var(--color-border);
  }
}

@media (max-width: 760px) {
  .platform-home .video-hero,
  .platform-home .video-hero .hero-content {
    min-height: 690px;
  }

  .platform-home .video-hero .hero-content {
    align-items: end;
    padding-block: 124px 44px;
  }

  .platform-home .video-hero h1 {
    max-width: 11.5ch;
    font-size: 2.65rem;
  }

  .platform-home .video-hero .hero-lede {
    margin-top: 18px;
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .platform-home .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 21px;
  }

  .platform-home .hero-actions .icon-button {
    width: 100%;
  }

  .platform-home .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 17px;
  }

  .platform-home .hero-stats span + span {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .platform-intent-section,
  .platform-capability-section,
  .platform-workflow-section,
  .full-color-commercial-ladder-section,
  .full-color-price-driver-section {
    padding-block: 58px;
  }

  .platform-section-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 17px;
  }

  .platform-section-heading h2 {
    font-size: 1.85rem;
  }

  .platform-section-heading > p {
    font-size: 0.84rem;
  }

  .platform-intent-grid,
  .platform-capability-grid,
  .platform-service-catalog,
  .platform-workflow-list,
  .full-color-commercial-ladder,
  .full-color-price-drivers {
    grid-template-columns: 1fr;
  }

  .platform-intent-card,
  .platform-intent-card:first-child,
  .platform-intent-card:nth-child(3),
  .platform-intent-card:nth-child(4),
  .platform-capability-card,
  .platform-capability-card:first-child,
  .platform-service-card,
  .platform-service-card:nth-child(3n + 1),
  .platform-service-card:nth-child(n + 3),
  .platform-workflow-list li,
  .platform-workflow-list li:first-child,
  .full-color-commercial-ladder article,
  .full-color-commercial-ladder article:first-child,
  .full-color-commercial-ladder article:nth-child(4),
  .full-color-commercial-ladder article:nth-child(5),
  .full-color-price-drivers article,
  .full-color-price-drivers article:first-child,
  .full-color-price-drivers article:nth-child(4),
  .full-color-price-drivers article:nth-child(5) {
    min-height: 0;
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .platform-intent-card:first-child,
  .platform-capability-card:first-child,
  .platform-service-card:first-child,
  .platform-workflow-list li:first-child,
  .full-color-commercial-ladder article:first-child,
  .full-color-price-drivers article:first-child {
    border-top: 0;
  }

  .platform-intent-card {
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    grid-template-areas:
      "icon kicker action"
      "icon title action"
      "icon copy action";
    gap: 4px 12px;
    padding: 17px;
  }

  .platform-intent-card .platform-intent-icon {
    grid-area: icon;
    align-self: center;
  }

  .platform-intent-card small {
    grid-area: kicker;
  }

  .platform-intent-card h3 {
    grid-area: title;
    font-size: 0.98rem;
  }

  .platform-intent-card p {
    grid-area: copy;
    font-size: 0.73rem;
  }

  .platform-intent-card strong {
    width: 24px;
    grid-area: action;
    margin: 0;
    overflow: hidden;
    font-size: 0;
  }

  .platform-intent-card strong svg {
    width: 20px;
    height: 20px;
  }

  .platform-quote-section {
    padding-block: 24px 58px;
  }

  .platform-quote-shell {
    padding: 17px 13px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .platform-quote-mount .quote-panel .quote-stage {
    min-height: 0;
  }

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

  .quote-purpose-option {
    min-height: 66px;
    padding: 10px;
  }

  .quote-intent-fields,
  .quote-technical-mode {
    grid-template-columns: 1fr;
  }

  .quote-technical-fields {
    padding: 13px;
  }

  .quote-technical-fields .process-segmented {
    grid-template-columns: 1fr;
  }

  .platform-capability-card,
  .platform-service-card {
    padding: 21px 18px;
  }

  .platform-enterprise-section {
    padding-block: 62px;
  }

  .platform-enterprise-layout {
    gap: 27px;
  }

  .platform-enterprise-section h2 {
    font-size: 2rem;
  }

  .platform-assist-section {
    padding-block: 24px 58px;
  }

  .platform-assist-band {
    display: grid;
    gap: 18px;
    padding: 21px 18px;
  }

  .platform-assist-band h2 {
    font-size: 1.25rem;
  }

  .platform-assist-band .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .platform-assist-band .icon-button {
    width: 100%;
  }

  .full-color-commercial-ladder article,
  .full-color-price-drivers article {
    min-height: 0;
    padding: 17px;
  }

  .full-color-evidence-panel {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 13px;
  }

  .full-color-evidence-panel svg {
    width: 20px;
    height: 20px;
  }
}

/* Product UI System v1: three-phase AutoQuote contract. */
.quote-panel[data-quote-flow-version="3"] .quote-stepper {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-panel[data-quote-flow-version="3"] .quote-intent-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-panel[data-quote-flow-version="3"] .quote-technical-intro {
  margin-top: var(--fl-space-6);
  padding-top: var(--fl-space-5);
  border-top: 1px solid var(--fl-color-border);
}

.quote-panel[data-quote-flow-version="3"] .lead-fields {
  grid-template-columns: minmax(0, 1.2fr) minmax(148px, 0.55fr) minmax(0, 1.25fr);
  align-items: start;
}

.quote-panel[data-quote-flow-version="3"] .quote-result {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.quote-panel[data-quote-flow-version="3"] .quote-result > div {
  min-height: 82px;
  padding: var(--fl-space-4);
  border: 0;
  border-inline-end: 1px solid var(--fl-color-border);
  border-radius: 0;
}

.quote-panel[data-quote-flow-version="3"] .quote-result > div:last-child {
  border-inline-end: 0;
}

.quote-panel[data-quote-flow-version="3"] .model-upload-help {
  padding: var(--fl-space-3) var(--fl-space-4);
  color: var(--fl-color-text-muted);
  border-bottom: 1px solid var(--fl-color-border);
  background: var(--fl-color-surface);
  font-size: var(--fl-font-size-caption);
  line-height: 1.55;
}

.quote-panel[data-quote-flow-version="3"] .model-upload-help summary {
  color: var(--fl-color-brand-hover);
  font-weight: 750;
  cursor: pointer;
}

.quote-panel[data-quote-flow-version="3"] .model-upload-help p {
  margin: var(--fl-space-2) 0 0;
}

.quote-panel[data-quote-flow-version="3"] .model-workspace:not(.has-models):not(.has-model-error) {
  min-height: 0;
  grid-template-rows: auto auto;
}

.quote-panel[data-quote-flow-version="3"] .model-workspace:not(.has-models):not(.has-model-error) .model-workspace-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 244px;
  margin: 12px;
  padding: 24px 16px;
  border: 2px dashed var(--fl-color-border);
  border-radius: var(--fl-radius-md);
  background: var(--fl-color-surface-muted);
  text-align: center;
}

.quote-panel[data-quote-flow-version="3"] .model-workspace:not(.has-models):not(.has-model-error) .model-upload-summary {
  max-width: min(100%, 46ch);
  padding: 0;
  white-space: normal;
}

.quote-panel[data-quote-flow-version="3"] .model-workspace:not(.has-models):not(.has-model-error) .model-upload-summary > * {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  -webkit-line-clamp: unset;
}

.quote-panel[data-quote-flow-version="3"] .model-workspace:not(.has-models):not(.has-model-error) .model-upload-cue { margin: 0; }

.quote-panel[data-quote-flow-version="3"] .model-workspace:not(.has-models):not(.has-model-error) .quote-route,
.quote-panel[data-quote-flow-version="3"] .model-workspace:not(.has-models):not(.has-model-error) .model-upload-notes,
.quote-panel[data-quote-flow-version="3"] .model-workspace:not(.has-models):not(.has-model-error) .model-workspace-tabs,
.quote-panel[data-quote-flow-version="3"] .model-workspace:not(.has-models):not(.has-model-error) .model-workspace-pane {
  display: none;
}

.quote-panel[data-quote-flow-version="3"] .model-workspace.has-model-error:not(.has-models) .model-workspace-pane[data-model-workspace-pane="files"] {
  display: block;
}

@media (max-width: 760px) {
  .quote-panel[data-quote-flow-version="3"] .quote-intent-fields,
  .quote-panel[data-quote-flow-version="3"] .lead-fields,
  .quote-panel[data-quote-flow-version="3"] .quote-result {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-panel[data-quote-flow-version="3"] .quote-result > div {
    min-height: 0;
    border-inline-end: 0;
    border-bottom: 1px solid var(--fl-color-border);
  }

  .quote-panel[data-quote-flow-version="3"] .quote-result > div:last-child {
    border-bottom: 0;
  }
}

/* Homepage manufacturing cards use the same image-led decision pattern as the service paths. */
.platform-home .platform-capability-section {
  padding-block: 62px 84px;
  background: #f5f8fb;
}

.platform-home .platform-capability-section .platform-section-heading {
  align-items: start;
  margin-bottom: 28px;
}

.platform-home .platform-capability-section .platform-section-heading h2 {
  max-width: 14ch;
}

.platform-home .platform-capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Image-card content is shared with service entry cards below. */

@media (max-width: 760px) {
  .platform-home .platform-capability-section {
    padding-block: 46px;
  }

  .platform-home .platform-capability-section .platform-section-heading {
    gap: 12px;
    margin-bottom: 20px;
  }

  .platform-home .platform-capability-section .platform-section-heading h2 {
    max-width: none;
  }

  .platform-home .platform-capability-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .platform-home .platform-capability-card,
  .platform-home .platform-capability-card:first-child {
    min-height: 248px;
    padding: 18px;
    border: 1px solid rgba(128, 184, 202, 0.38);
  }

  .platform-home .platform-capability-card h3 {
    font-size: 1.16rem;
  }

  .platform-home .platform-capability-card p {
    max-width: 31ch;
  }
}

@media (max-width: 390px) {
  .platform-home .video-hero,
  .platform-home .video-hero .hero-content {
    min-height: 660px;
  }

  .quote-purpose-grid {
    grid-template-columns: 1fr;
  }

  .quote-purpose-option {
    min-height: 58px;
  }
}

@media (max-width: 1040px) {
  .full-color-commercial-ladder > li:nth-child(4),
  .full-color-commercial-ladder > li:nth-child(5) {
    border-top: 1px solid var(--color-border);
  }

  .full-color-commercial-ladder > li:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .full-color-commercial-ladder > li,
  .full-color-commercial-ladder > li:first-child,
  .full-color-commercial-ladder > li:nth-child(4),
  .full-color-commercial-ladder > li:nth-child(5),
  .full-color-price-driver-grid article,
  .full-color-price-driver-grid article:first-child,
  .full-color-price-driver-grid article:nth-child(3),
  .full-color-price-driver-grid article:nth-child(4) {
    min-height: 0;
    padding: 17px;
    border-top: 1px solid var(--color-border);
    border-left: 0;
  }

  .full-color-commercial-ladder > li:first-child,
  .full-color-price-driver-grid article:first-child {
    border-top: 0;
  }
}

/* Homepage refinement: use one clear product visual and keep the first decision simple. */
.platform-home .video-hero {
  min-height: 720px;
  background:
    linear-gradient(90deg, rgba(7, 14, 24, 0.98) 0%, rgba(7, 14, 24, 0.94) 36%, rgba(7, 14, 24, 0.58) 57%, rgba(7, 14, 24, 0.24) 100%),
    url("./assets/fabline-home-hero-manufacturing.webp") center / cover no-repeat;
}

.platform-home .video-hero > .hero-bg-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; transform: none; object-fit: cover; }
.platform-home .video-hero > .hero-bg-video[hidden],
.platform-home .video-hero > #forgeScene,
.platform-home .video-hero > .hero-noise {
  display: none;
}

.platform-home .video-hero::after {
  background:
    linear-gradient(90deg, rgba(7, 14, 24, .92), rgba(7, 14, 24, .65) 50%, rgba(7, 14, 24, .2));
}

.platform-home .video-hero .hero-content {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding-block: 126px 72px;
}

.platform-home .video-hero .hero-copy {
  max-width: 680px;
  padding-top: 0;
}

.platform-home .video-hero .hero-copy::before {
  display: none;
}

.platform-home .video-hero h1 {
  max-width: 10.5ch;
  color: #ffffff;
  font-size: 3.25rem;
  line-height: 1.06;
  text-wrap: balance;
}

.platform-home .video-hero h1 span:last-child {
  color: #91ede3;
}

.platform-home .video-hero .hero-lede {
  max-width: 590px;
  margin-top: 22px;
  color: rgba(240, 247, 252, 0.84);
  font-size: 1rem;
  line-height: 1.7;
}

.platform-home .hero-actions {
  gap: 11px;
  margin-top: 27px;
}

.platform-home .hero-actions .icon-button {
  min-height: 48px;
  padding-inline: 18px;
}

.platform-home .hero-actions .icon-button.secondary {
  color: #ffffff;
  border-color: rgba(227, 245, 250, 0.46);
  background: rgba(10, 25, 39, 0.26);
  box-shadow: none;
}

.platform-home .hero-actions .icon-button.secondary:hover {
  color: #ffffff;
  border-color: #91ede3;
  background: rgba(8, 41, 55, 0.6);
}

.platform-home .hero-assist-link {
  margin-top: 17px;
  color: #c2f3ed;
  font-size: 0.9rem;
}

.platform-home .hero-assist-link svg {
  color: #91ede3;
}

.platform-home .hero-assist-link:hover {
  color: #ffffff;
}

.platform-home .hero-stats {
  width: min(100%, 650px);
  max-width: none;
  min-height: 70px;
  margin-top: 28px;
  padding: 0;
  border-color: rgba(185, 225, 236, 0.24);
  background: rgba(7, 18, 31, 0.6);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.platform-home .hero-stats span {
  min-height: 68px;
  padding: 11px 15px;
  color: rgba(229, 242, 249, 0.72);
  font-size: 0.75rem;
  line-height: 1.48;
}

.platform-home .hero-stats span + span {
  border-color: rgba(185, 225, 236, 0.2);
}

.platform-home .hero-stats strong {
  display: block;
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 0.94rem;
}

.platform-intent-section {
  padding-block: 74px 48px;
  background: #f5f8fb;
}

.platform-intent-section .platform-section-heading {
  align-items: start;
  margin-bottom: 28px;
}

.platform-intent-section .platform-section-heading h2 {
  max-width: 14ch;
}

.platform-intent-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.platform-intent-card,
.platform-intent-card:first-child {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: 0 8px 20px rgba(21, 34, 53, 0.045);
}

.platform-intent-card:hover {
  border-color: #9acfcf;
  background: #f6fbfc;
  box-shadow: 0 14px 28px rgba(21, 34, 53, 0.08);
}

.platform-intent-card.platform-intent-equipment {
  min-height: 0;
  grid-column: 1 / -1;
  grid-template-columns: 42px minmax(0, 1fr) minmax(210px, 0.78fr) auto;
  align-items: center;
  gap: 12px 16px;
  padding-block: 18px;
  background: #eef8f8;
}

.platform-intent-card.platform-intent-equipment .platform-intent-icon {
  grid-row: span 3;
}

.platform-intent-card.platform-intent-equipment h3,
.platform-intent-card.platform-intent-equipment small {
  grid-column: 2;
}

.platform-intent-card.platform-intent-equipment p {
  grid-column: 3;
  grid-row: 1 / span 3;
}

.platform-intent-card.platform-intent-equipment strong {
  grid-column: 4;
  grid-row: 1 / span 3;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .platform-home .video-hero {
    min-height: 650px;
    background-position: 61% center;
  }

  .platform-home .video-hero::after {
    background:
      linear-gradient(180deg, rgba(7, 14, 24, 0.34) 0%, rgba(7, 14, 24, 0.54) 45%, rgba(7, 14, 24, 0.92) 100%),
      linear-gradient(90deg, rgba(7, 14, 24, 0.52), rgba(7, 14, 24, 0.12));
  }

  .platform-home .video-hero .hero-content {
    min-height: 650px;
    align-items: end;
    padding-block: 116px 36px;
  }

  .platform-home .video-hero .hero-copy {
    min-height: 0;
  }

  .platform-home .video-hero h1 {
    max-width: 10.5ch;
    margin-top: 0;
    font-size: 2.55rem;
    line-height: 1.08;
  }

  .platform-home .video-hero .hero-lede {
    margin-top: 16px;
    font-size: 0.91rem;
    line-height: 1.6;
  }

  .platform-home .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 20px;
  }

  .platform-home .hero-actions .icon-button {
    min-width: 0;
    min-height: 45px;
    padding-inline: 10px;
    font-size: 0.79rem;
  }

  .platform-home .hero-actions .icon-button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .platform-home .hero-assist-link {
    margin-top: 14px;
    font-size: var(--font-size-label);
  }

  .platform-home .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 0;
    margin-top: 19px;
  }

  .platform-home .hero-stats span,
  .platform-home .hero-stats span + span {
    min-height: 67px;
    padding: 10px 8px;
    border-top: 0;
    border-left: 1px solid rgba(185, 225, 236, 0.18);
    font-size: 0.63rem;
  }

  .platform-home .hero-stats span:first-child {
    border-left: 0;
  }

  .platform-home .hero-stats strong {
    font-size: 0.76rem;
  }

  .platform-intent-section {
    padding-block: 46px 34px;
  }

  .platform-intent-section .platform-section-heading {
    gap: 12px;
    margin-bottom: 20px;
  }

  .platform-intent-section .platform-section-heading h2 {
    max-width: none;
  }

  .platform-intent-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .platform-intent-card,
  .platform-intent-card:first-child,
  .platform-intent-card:nth-child(3),
  .platform-intent-card:nth-child(4) {
    min-height: 0;
    border: 1px solid var(--color-border);
  }

  .platform-intent-card.platform-intent-equipment {
    grid-column: auto;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    grid-template-areas:
      "icon kicker action"
      "icon title action"
      "icon copy action";
    gap: 4px 12px;
    padding: 17px;
  }

  .platform-intent-card.platform-intent-equipment .platform-intent-icon {
    grid-area: icon;
    grid-row: auto;
  }

  .platform-intent-card.platform-intent-equipment small,
  .platform-intent-card.platform-intent-equipment h3,
  .platform-intent-card.platform-intent-equipment p,
  .platform-intent-card.platform-intent-equipment strong {
    grid-column: auto;
    grid-row: auto;
  }

  .platform-intent-card.platform-intent-equipment small {
    grid-area: kicker;
  }

  .platform-intent-card.platform-intent-equipment h3 {
    grid-area: title;
  }

  .platform-intent-card.platform-intent-equipment p {
    grid-area: copy;
  }

  .platform-intent-card.platform-intent-equipment strong {
    width: 24px;
    grid-area: action;
    overflow: hidden;
    font-size: 0;
  }
}

@media (max-width: 920px) {
  .quote-workspace-layout {
    grid-template-columns: 1fr;
  }

  .quote-estimate-summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 760px) {
  .platform-quote-section {
    padding-block: 44px 58px;
  }

  .platform-quote-shell {
    padding: 0;
    border-right: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
    border-radius: 7px;
    box-shadow: var(--shadow-sm);
  }

  .platform-quote-shell .platform-section-heading,
  .quote-panel-heading {
    display: grid;
    gap: 12px;
    padding: 21px 18px;
  }

  .platform-quote-shell .platform-section-heading h2,
  .platform-quote-mount .quote-panel .quote-panel-heading h2 {
    max-width: none;
    font-size: 1.72rem;
  }

  .platform-quote-shell .platform-section-heading > p,
  .quote-panel-description {
    max-width: none;
    font-size: 0.88rem;
  }

  .platform-quote-mount .quote-panel .status-pill {
    width: fit-content;
    margin: 0;
  }

  .quote-workspace-layout {
    gap: 17px;
    padding: 17px 13px 20px;
  }

  .quote-estimate-summary > summary {
    min-height: 54px;
    padding: 11px 13px;
  }

  .quote-estimate-summary-body {
    padding: 13px;
  }

  .quote-summary-list div {
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 9px 0;
  }

  .quote-assist-actions {
    grid-template-columns: 1fr;
  }

  .platform-quote-mount .quote-panel .quote-stepper {
    gap: 5px;
  }

  .platform-quote-mount .quote-panel .quote-stepper button {
    min-height: 52px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2px;
    padding: 6px 3px;
    text-align: center;
  }

  .platform-quote-mount .quote-panel .quote-stepper button span {
    font-size: 0.72rem;
  }

  .platform-quote-mount .quote-panel .model-workspace-head {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px;
  }

  .platform-quote-mount .quote-panel .quote-stage .model-workspace .model-drop {
    grid-column: auto;
  }

  .platform-quote-mount .quote-panel .model-upload-summary {
    grid-column: auto;
  }

  .platform-quote-mount .quote-panel .model-upload-cue {
    display: none;
  }

  .platform-quote-mount .quote-panel .model-workspace:not(.has-models) {
    min-height: 250px;
  }

  .platform-quote-mount .quote-panel .model-workspace:not(.has-models) .model-detail-panel {
    min-height: 165px;
    padding: 17px;
  }

  .platform-quote-mount .quote-panel .model-workspace.has-models .model-workspace-pane[data-model-workspace-pane="files"] {
    grid-template-columns: 1fr;
  }

  .platform-quote-mount .quote-panel .model-workspace.has-models .quote-parts {
    max-height: 152px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .quote-purpose-grid {
    gap: 7px;
  }

  .quote-purpose-option,
  .quote-technical-mode button {
    min-height: 62px;
  }

  .quote-purpose-option strong,
  .quote-technical-mode strong {
    font-size: 0.84rem;
  }

  .quote-purpose-option small,
  .quote-technical-mode small,
  .quote-purpose-intro p,
  .quote-technical-intro p,
  .quote-engineering-note p {
    font-size: var(--font-size-label);
  }

  .quote-intent-fields,
  .quote-technical-mode,
  .quote-technical-fields .process-segmented,
  .quote-result {
    grid-template-columns: 1fr;
  }

  .quote-stage-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .quote-stage-actions .icon-button,
  .quote-stage-actions.end .icon-button {
    width: 100%;
  }

  .quote-advanced-details > summary {
    padding-block: 13px;
  }
}

@media (max-width: 540px) {
  .quote-purpose-grid {
    grid-template-columns: 1fr;
  }

  .platform-quote-mount .quote-panel .model-workspace-head {
    min-height: 128px;
  }

  .platform-quote-mount .quote-panel .model-upload-summary {
    min-height: 54px;
  }

  .platform-quote-mount .quote-panel #modelCollectionMeta {
    min-height: 54px;
  }

  .quote-summary-price strong {
    font-size: 1.02rem;
  }
}

/* Homepage feedback correction: content hierarchy, service imagery, and empty upload state. */
.platform-home .hero-stats {
  border-color: rgba(190, 226, 239, 0.38);
  background: rgba(6, 19, 32, 0.84);
}

.platform-home .hero-stats span {
  color: #d7e9f3;
}

.platform-home .video-hero .hero-stats strong,
.platform-home .video-hero .hero-stats span:last-child strong {
  color: #ffffff;
}

/* CIS: service entry and process cards share an inspectable media surface. */
body.platform-home :is(.platform-intent-card, .platform-capability-card),
body.platform-home .platform-capability-card:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding: 22px;
  overflow: hidden;
  color: var(--fl-color-text);
  border: 1px solid var(--fl-color-border);
  border-radius: 8px;
  background: var(--fl-color-surface);
  box-shadow: none;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

body.platform-home :is(.platform-intent-card, .platform-capability-card):hover {
  background: var(--fl-color-surface);
  border-color: var(--fl-color-brand);
  box-shadow: var(--fl-shadow-sm);
  transform: none;
}

body.platform-home :is(.platform-intent-card, .platform-capability-card):focus-visible {
  outline: 3px solid var(--fl-color-brand);
  outline-offset: 4px;
}

body.platform-home :is(.platform-intent-card, .platform-capability-card) .platform-card-media {
  display: block;
  width: calc(100% + 44px);
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 10;
  margin: -22px -22px 8px;
  object-fit: contain;
  background: var(--fl-color-surface-muted);
}

body.platform-home :is(.platform-intent-card, .platform-capability-card) :is(small, .catalog-kicker) {
  color: var(--fl-color-brand-hover);
  font-size: 0.875rem;
}
body.platform-home :is(.platform-intent-card, .platform-capability-card) h3 {
  color: var(--fl-color-text);
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0;
}
body.platform-home :is(.platform-intent-card, .platform-capability-card) p {
  color: var(--fl-color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: none;
  margin: 0 0 8px;
}
body.platform-home :is(.platform-intent-cta, .platform-capability-card-cta) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid var(--fl-color-border);
  border-radius: 6px;
  background: var(--fl-color-surface);
  color: var(--fl-color-brand-hover);
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: normal;
}
body.platform-home :is(.platform-intent-cta, .platform-capability-card-cta) svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
body.platform-home :is(.platform-intent-card, .platform-capability-card):hover :is(.platform-intent-cta, .platform-capability-card-cta) {
  color: #fff;
  background: var(--fl-color-brand);
  border-color: var(--fl-color-brand);
  transform: none;
}
.platform-media-caption {
  margin: 16px 0 0;
  color: var(--fl-color-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.platform-home .platform-capability-card ul { display: none; }

.platform-home .platform-quote-section {
  padding-block: 48px 82px;
}

.platform-quote-mount .quote-panel .model-workspace:not(.has-models) .model-detail-panel {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-content: center;
  overflow: hidden;
}

.platform-quote-mount .quote-panel .model-empty-guidance {
  width: min(100%, 38ch);
  margin: auto;
}

@media (max-width: 760px) {
  .platform-home .hero-stats {
    background: rgba(6, 19, 32, 0.88);
  }

  .platform-home .hero-stats span,
  .platform-home .hero-stats span + span {
    min-height: 72px;
    padding: 10px 9px;
    color: #dcecf4;
    font-size: var(--font-size-caption);
    line-height: 1.4;
  }

  .platform-home .hero-stats strong {
    font-size: var(--font-size-label);
  }

  .platform-home .platform-intent-card--engineering,
  .platform-home .platform-intent-card--enterprise,
  .platform-home .platform-intent-card--photo {
    min-height: 244px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 18px;
  }

  .platform-home .platform-intent-card--engineering .platform-intent-icon,
  .platform-home .platform-intent-card--enterprise .platform-intent-icon,
  .platform-home .platform-intent-card--photo .platform-intent-icon {
    margin-bottom: auto;
  }

  .platform-home .platform-intent-card--engineering h3,
  .platform-home .platform-intent-card--enterprise h3,
  .platform-home .platform-intent-card--photo h3 {
    font-size: 1.06rem;
  }

  .platform-home .platform-intent-card--engineering p,
  .platform-home .platform-intent-card--enterprise p,
  .platform-home .platform-intent-card--photo p {
    font-size: var(--font-size-label);
    line-height: 1.5;
  }

  .platform-home .platform-intent-card--engineering strong,
  .platform-home .platform-intent-card--enterprise strong,
  .platform-home .platform-intent-card--photo strong {
    width: auto;
    margin-top: 2px;
    overflow: visible;
    font-size: var(--font-size-label);
  }

  .platform-home .platform-intent-card .platform-intent-cta {
    min-height: 36px;
    margin-top: 2px;
    padding-inline: 10px;
  }

  .platform-home .platform-quote-section {
    padding-block: 34px 58px;
  }

  .platform-quote-mount .quote-panel .model-workspace:not(.has-models) .model-detail-panel {
    min-height: 190px;
    grid-template-rows: minmax(0, 1fr);
  }

}

body[data-page="full-color"] .full-color-value-section {
  padding-block: 64px;
  background: #fff;
}

body[data-page="full-color"] .full-color-value-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 30px 48px;
}

body[data-page="full-color"] .full-color-value-layout .sticky-heading {
  position: static;
  top: auto;
  align-self: center;
}

body[data-page="full-color"] .full-color-section-media {
  min-width: 0;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cadce6;
  border-radius: 8px;
  background: #e7eef3;
  box-shadow: 0 14px 30px rgba(19, 39, 56, 0.09);
}

body[data-page="full-color"] .full-color-section-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="full-color"] .full-color-applications-media img {
  object-position: 58% center;
}

body[data-page="full-color"] .full-color-task-list {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 0;
}

body[data-page="full-color"] .full-color-task-list article {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px 12px;
  min-height: 168px;
  padding: 20px;
  border: 1px solid #d2e0e8;
  border-radius: 8px;
  background: #ffffff;
}

body[data-page="full-color"] .full-color-task-list strong {
  grid-column: 2;
  margin-top: 4px;
}

body[data-page="full-color"] .full-color-compare-section,
body[data-page="full-color"] .full-color-commercial-ladder-section {
  padding-block: 64px;
}

body[data-page="full-color"] .full-color-commercial-ladder-section {
  background: #fff;
}
body[data-page="full-color"] :is(.full-color-compare-section, .full-color-quality-section) { background: #f5f8fc; }

body[data-page="full-color"] .full-color-lifecycle-editorial {
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
}

body[data-page="full-color"] .full-color-lifecycle-editorial .full-color-section-media {
  order: -1;
}

body[data-page="full-color"] .full-color-table-wrap {
  margin-top: 0;
}

body[data-page="full-color"] .full-color-commercial-ladder {
  margin-top: 0;
}

.service-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--fl-space-4);
  margin-top: var(--fl-space-6);
}

.service-fit-card {
  display: grid;
  gap: var(--fl-space-3);
  padding: var(--fl-space-5);
}

.service-fit-code {
  color: var(--fl-color-brand);
  font-size: var(--fl-font-size-caption);
  font-weight: 800;
}

.service-fit-card h3,
.service-fit-card dl,
.service-fit-card dd {
  margin: 0;
}

.service-fit-card dl,
.service-fit-card dl > div {
  display: grid;
  gap: var(--fl-space-2);
}

.service-fit-card dl {
  gap: var(--fl-space-4);
}

.service-fit-card dl > div + div {
  padding-top: var(--fl-space-3);
  border-top: 1px solid var(--fl-color-border);
}

.service-fit-card dt {
  display: flex;
  align-items: center;
  gap: var(--fl-space-2);
  color: var(--fl-color-text);
  font-size: var(--fl-font-size-label);
  font-weight: 800;
}

.service-fit-card dt svg {
  width: 17px;
  height: 17px;
  color: var(--fl-color-accent);
}

.service-fit-card dd {
  color: var(--fl-color-text-muted);
  font-size: var(--fl-font-size-label);
  line-height: 1.65;
}

/* AutoQuote already exposes contextual LINE and Email actions. Suppress the
   global launcher while the workspace is visible so fixed controls cannot
   cover the form or its mobile action bar. */
body.quote-workspace-active .social-dock:not(.is-open) {
  display: none;
}

@media (max-width: 760px) {
  .service-fit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .topbar .nav-cta.auth-link {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    justify-content: center;
    gap: 0;
    padding: 0;
  }

  .topbar .nav-cta.auth-link svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    stroke-width: 2.1;
  }

  body[data-page="full-color"] .full-color-value-section,
  body[data-page="full-color"] .full-color-compare-section,
  body[data-page="full-color"] .full-color-commercial-ladder-section {
    padding-block: 40px;
  }

  body[data-page="full-color"] .full-color-value-layout,
  body[data-page="full-color"] .full-color-editorial-pair,
  body[data-page="full-color"] .full-color-lifecycle-editorial {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  body[data-page="full-color"] .full-color-editorial-pair {
    margin-bottom: 24px;
  }

  body[data-page="full-color"] .full-color-editorial-pair .section-heading h2 {
    max-width: none;
  }

  body[data-page="full-color"] .full-color-lifecycle-editorial .full-color-section-media {
    order: 0;
  }

  body[data-page="full-color"] .full-color-task-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body[data-page="full-color"] .full-color-task-list article {
    min-height: 0;
    padding: 17px;
  }
}
body[data-page="member"] .member-section { padding-top: 112px; }
@media (max-width: 760px) {
  body[data-page="member"] .member-section { padding-top: 96px; }
}

/* TASK-091: supplied service reference, replacing the intent card presentation. */
body.platform-home #service-paths { padding-block: 56px 40px; background: #f7faff; scroll-margin-top: 110px; }
body.platform-home #service-paths .platform-section-heading { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 30px; }
body.platform-home #service-paths .platform-section-heading > div { max-width: none; }
body.platform-home #service-paths .eyebrow { display: block; color: var(--fl-color-brand); font-size: 13px; margin: 0 0 12px; }
body.platform-home #service-paths h2 { max-width: none; font-size: clamp(28px, 3vw, 42px); line-height: 1.3; }
body.platform-home #service-paths .platform-section-heading > p { max-width: none; margin: 0; font-size: 16px; }
body.platform-home #service-paths .platform-intent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body.platform-home #service-paths .platform-intent-card { --intent-accent: var(--fl-color-brand); --intent-wash: #edf5ff; --intent-line: #d5e6ff; display: flex; flex-direction: column; gap: 0; padding: 0; border-color: var(--intent-line); background: var(--intent-wash); border-radius: 8px; }
body.platform-home #service-paths .platform-intent-card--photo { --intent-accent: #d91979; --intent-wash: #fff2f8; --intent-line: #f9dbea; }
body.platform-home #service-paths .platform-intent-card:hover { border-color: var(--intent-accent); background: var(--intent-wash); }
body.platform-home #service-paths .platform-intent-copy { width: 100%; padding: 22px 22px 0; }
body.platform-home #service-paths .platform-intent-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
body.platform-home #service-paths .platform-intent-meta small { color: var(--intent-accent); font-size: 11px; font-weight: 750; }
body.platform-home #service-paths .platform-intent-meta > span { border: 1px solid var(--intent-line); border-radius: 999px; padding: 4px 10px; color: var(--intent-accent); font-size: 11px; font-weight: 700; }
body.platform-home #service-paths h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.3; margin: 0 0 10px; }
body.platform-home #service-paths .platform-intent-copy p { font-size: 15px; line-height: 1.65; margin: 0; min-height: 50px; }
body.platform-home #service-paths .platform-card-media { width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: 0; background: var(--intent-wash); mix-blend-mode: multiply; }
body.platform-home #service-paths .platform-intent-cta { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; align-self: stretch; width: auto; min-height: 50px; margin: 0 18px; padding: 12px 20px; border: 1px solid var(--intent-accent); border-radius: 6px; color: #fff; background: var(--intent-accent); font-size: 18px; font-weight: 700; text-decoration: none; }
body.platform-home #service-paths .platform-intent-cta svg { width: 22px; height: 22px; }
body.platform-home #service-paths .platform-intent-cta svg:last-child { position: absolute; right: 14px; width: 18px; }
body.platform-home #service-paths .platform-intent-cta:hover { filter: brightness(.92); }
body.platform-home #service-paths .platform-intent-cta:focus-visible { outline: 3px solid var(--fl-color-text); outline-offset: 3px; }
body.platform-home #service-paths .platform-intent-steps { counter-reset: service-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; margin: 0; padding: 22px 12px; list-style: none; background: #fff; margin-top: 18px; }
body.platform-home #service-paths .platform-intent-steps li { counter-increment: service-step; display: flex; align-items: flex-start; gap: 6px; padding-inline: 7px; min-width: 0; }
body.platform-home #service-paths .platform-intent-steps li + li { border-left: 1px solid var(--intent-line); }
body.platform-home #service-paths .platform-intent-steps li::before { content: counter(service-step); display: grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; border-radius: 50%; color: #fff; background: var(--intent-accent); font-size: 13px; }
body.platform-home #service-paths .platform-intent-steps strong { display: block; width: auto; margin: 0 0 5px; color: var(--fl-color-text); font-size: 12px; line-height: 1.5; }
body.platform-home #service-paths .platform-intent-steps span { display: block; color: var(--fl-color-text-muted); font-size: 11px; line-height: 1.5; }
body.platform-home #service-paths .platform-media-caption { text-align: center; font-size: 12px; }
@media (min-width: 761px) and (max-width: 1100px) {
  body.platform-home #service-paths .platform-intent-copy { padding: 18px 16px 0; }
  body.platform-home #service-paths .platform-intent-copy p { min-height: 76px; }
  body.platform-home #service-paths .platform-intent-meta { min-height: 54px; align-content: start; }
  body.platform-home #service-paths .platform-intent-steps li { flex-direction: column; }
}
@media (max-width: 760px) {
  body.platform-home #service-paths { padding-block: 34px 24px; }
  body.platform-home #service-paths .platform-section-heading { gap: 10px; margin-bottom: 22px; }
  body.platform-home #service-paths .platform-section-heading > p { font-size: 14px; }
  body.platform-home #service-paths .platform-intent-grid { grid-template-columns: 1fr; gap: 20px; }
  body.platform-home #service-paths .platform-intent-copy { padding: 20px 18px 0; }
  body.platform-home #service-paths .platform-intent-copy p { min-height: 0; font-size: 14px; }
  body.platform-home #service-paths .platform-card-media { aspect-ratio: 3 / 2; }
  body.platform-home #service-paths .platform-intent-steps { padding: 16px 8px; }
  body.platform-home #service-paths .platform-intent-steps li { flex-direction: column; }
  body.platform-home #service-paths .platform-intent-steps span { display: none; }
}



}

@layer components {
/* TASK-132: full-color uses the approved homepage hero owner above.
   Page-specific rules only own imagery, disclosures and section continuity. */
body[data-page="full-color"] .full-color-page-hero { min-height: 680px; background: #09131d; }
body[data-page="full-color"] .hero-lede { text-wrap: balance; }
body[data-page="full-color"] .full-color-hero-image { filter: saturate(1.08) contrast(1.03); }
body[data-page="full-color"] .full-color-visual-note {
  display: block; position: static; max-width: 800px; margin: 24px 0 0; padding: 0;
  color: #c1cedb; border: 0; border-radius: 0; background: transparent;
  font-size: 11px; line-height: 1.65; backdrop-filter: none;
}
body[data-page="full-color"] main .section-inner {
  width: min(1200px, calc(100% - 64px)); max-width: none; margin-inline: auto;
}
body[data-page="full-color"] main > .section { padding-block: 64px; }
body[data-page="full-color"] .full-color-page .section h2 {
  max-width: none; font-size: clamp(27px, 3vw, 39px); line-height: 1.4; letter-spacing: -.025em;
}
body[data-page="full-color"] .full-color-compare-table .is-recommended { color: var(--fl-color-text); background: #edf5ff; }
body[data-page="full-color"] .full-color-compare-table thead .is-recommended { color: #fff; background: var(--fl-color-brand-hover); }
body[data-page="full-color"] :is(.full-color-commercial-ladder span, .full-color-task-list > article > span, .full-color-evidence-panel svg, .full-color-compare-action svg),
body[data-page="full-color"] .full-color-compare-table tbody td.is-recommended::before { color: var(--fl-color-brand-hover); }
body[data-page="full-color"] .full-color-quality-layout p { font-size: 14px; line-height: 1.8; color: var(--fl-color-text-muted); }
body[data-page="full-color"] .full-color-expectation-list summary { font-size: 16px; line-height: 1.5; }
body[data-page="full-color"] .full-color-subnav { top: 88px; }
body[data-page="full-color"] .full-color-page > section[id]:not(#top) { scroll-margin-top: 164px; }


body[data-page="full-color"] .full-color-editorial-pair { display: block; margin-bottom: 32px; }
body[data-page="full-color"] :is(.full-color-editorial-pair, .full-color-stage-heading) .section-heading.inline-heading {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  align-items: end; gap: 44px; max-width: none; margin: 0 0 32px;
}
body[data-page="full-color"] .full-color-editorial-pair .section-heading h2 { max-width: none; }
body[data-page="full-color"] :is(.full-color-editorial-pair, .full-color-stage-heading) .flow-heading-copy {
  max-width: none; margin: 0;
}


@media (max-width: 760px) {
  body[data-page="full-color"] .full-color-page-hero { min-height: 0; }
  body[data-page="full-color"] .full-color-hero-image { object-position: 64% center; }
  body[data-page="full-color"] main .section-inner { width: calc(100% - 40px); }
  body[data-page="full-color"] main > .section { padding-block: 40px; }
  body[data-page="full-color"] .full-color-page .section h2 { font-size: 27px; }
  body[data-page="full-color"] .full-color-subnav { top: 78px; }
  body[data-page="full-color"] .full-color-page > section[id]:not(#top) { scroll-margin-top: 184px; }
  body[data-page="full-color"] :is(.full-color-editorial-pair, .full-color-stage-heading) .section-heading.inline-heading {
    grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 24px;
  }
  body[data-page="full-color"] .full-color-visual-note { margin-top: 20px; }

}
@media (max-width: 380px) {
  body[data-page="full-color"] main .section-inner { width: calc(100% - 32px); }
}

/* TASK-133: all public routes opt into one homepage-derived presentation contract.
   Marketing reuses data-brand-hero; products keep their approved photo composition;
   workspaces and documents share gutters/type without inheriting marketing density. */
body[data-public-layout] {
  --public-content-max: 1200px;
  --public-gutter: 32px;
  --public-section-space: 64px;
}
body[data-public-layout] main .section-inner {
  width: min(var(--public-content-max), calc(100% - 2 * var(--public-gutter)));
  max-width: none; margin-inline: auto;
}
body[data-public-layout] main > .section { padding-inline: 0; }
body[data-public-layout] main > section[id] { scroll-margin-top: 112px; }
body[data-public-layout="marketing"] .public-brand-hero {
  position: relative; isolation: isolate; padding: 0;
  --page-eyebrow-color: #c1daf1;
}
.public-brand-hero .brand-hero-image,
.public-brand-hero .brand-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.public-brand-hero .brand-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.public-brand-hero .hero-content { position: relative; z-index: 1; }
.public-brand-hero .equipment-response, .public-brand-hero .equipment-response :is(span, svg) { color: #c1daf1; }
body[data-public-layout="marketing"] :is(.equipment-deployment-section, .case-publishing-section) { --page-eyebrow-color: #c1daf1; }
body[data-public-layout="marketing"] .quote-model-grid .text-link { align-self: flex-start; display: inline-flex; gap: 8px; min-height: 44px; align-items: center; color: var(--fl-color-brand); background: transparent; }
.public-brand-hero .brand-hero-credit {
  display: block; max-width: 72ch; margin: 24px 0 0; padding: 0;
  color: #c1cedb; font-size: 11px; line-height: 1.65; background: transparent; border: 0;
}
body[data-public-layout="marketing"] main > .section:not([data-brand-hero]),
body[data-public-layout="product"] main > .section { padding-block: var(--public-section-space); }
body[data-public-layout="marketing"] main .section:not([data-brand-hero]) h2,
body[data-public-layout="product"] main .section h2 {
  font-size: clamp(27px, 3vw, 39px); line-height: 1.4; letter-spacing: -.025em; text-wrap: balance;
}
body[data-public-layout="product"] {
  --page-title-size: clamp(38px, 3.6vw, 52px);
  --page-title-size-mobile: clamp(32px, 8.9vw, 40px);
}
body[data-public-layout="product"] .section:is(.photo-catalog-intro, .photo-product-hero) { padding-block: 136px 64px; }
body[data-public-layout="product"] .photo-catalog-intro .photo-catalog-hero-copy { max-width: min(560px, 48%); }
body[data-public-layout="product"] :is(.photo-catalog-hero-copy, .photo-product-copy) > p:not(.eyebrow) { font-size: 16px; line-height: 1.8; }
body[data-public-layout="product"] .photo-expectation-section { --page-eyebrow-color: #c1daf1; }
body[data-public-layout="product"] .hero-actions { gap: 24px; }
body[data-public-layout="product"] .hero-actions .icon-button { min-height: 52px; padding: 14px 24px; font-size: 15px; }
body[data-public-layout="product"] .hero-actions .secondary {
  padding-inline: 0; color: var(--brand-hero-secondary-color, var(--fl-color-text)); border: 0; border-bottom: 1px solid var(--brand-hero-secondary-line, var(--fl-color-border));
  border-radius: 0; background: transparent; box-shadow: none;
}
body[data-public-layout="product"] .hero-actions .secondary:hover { color: var(--brand-hero-secondary-hover, var(--fl-color-brand)); border-color: var(--brand-hero-secondary-hover-line, currentColor); }
body[data-public-layout="workspace"] main > .section:first-child,
body[data-public-layout="document"] .legal-main > .section:first-child { padding-top: 136px; }
body[data-public-layout="workspace"] { --workspace-title-size: clamp(28px, 2.7vw, 39px); }
body[data-public-layout="workspace"] main h1,
body[data-public-layout="document"] main h1 { font-size: clamp(28px, 2.7vw, 39px); line-height: 1.4; letter-spacing: -.025em; text-wrap: balance; }
body[data-public-layout="workspace"] main > .section:last-child { padding-bottom: 64px; }
body[data-public-layout="workspace"] .auth-layout { max-width: none; }
body[data-public-layout="workspace"] .auth-copy { --workspace-title-size: clamp(28px, 2.5vw, 36px); }
@media (max-width: 760px) {
  body[data-public-layout] { --public-gutter: 20px; --public-section-space: 40px; }
  body[data-public-layout="product"] .section:is(.photo-catalog-intro, .photo-product-hero) { padding-block: 112px 40px; }
  body[data-public-layout="product"] .photo-catalog-intro .photo-catalog-hero-copy { max-width: none; }
  body[data-public-layout="product"] .photo-catalog-hero-image { display: none; }
  body[data-public-layout="product"] .photo-catalog-intro::before { background: none; }
  body[data-public-layout="product"] .hero-actions { gap: 16px; }
  body[data-public-layout="product"] .hero-actions .icon-button { min-height: 48px; padding: 12px 16px; }
  body[data-public-layout="product"] .hero-actions .secondary { padding-inline: 0; }
  body[data-public-layout="workspace"] main > .section:first-child,
  body[data-public-layout="document"] .legal-main > .section:first-child { padding-top: 112px; }
  body[data-public-layout="workspace"] main > .section:last-child { padding-bottom: 40px; }
  .public-brand-hero .brand-hero-image { object-position: 65% center; }
}
@media (max-width: 600px) {
  body[data-public-layout="workspace"].quote-account-a.member-detail-a .member-record-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  body[data-public-layout="workspace"].quote-account-a.member-detail-a .member-record-main { grid-column: 1 / -1; grid-row: 1; }
  body[data-public-layout="workspace"].quote-account-a.member-detail-a .member-record-meta { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  body[data-public-layout="workspace"].quote-account-a.member-detail-a .member-record-actions { grid-column: 2; grid-row: 2; }
}
@media (max-width: 380px) {
  body[data-public-layout] { --public-gutter: 16px; }
}

/* TASK-147: approved home A. This opt-in extends the existing public components
   owner; home and photo pages retain their accepted owners and computed styles.
   Service media/card anatomy replaces former per-page 02A/07B variants.
   Guide/workspace density replaces the selected routes' 07B/05A geometry. */
body[data-layout-system="home-A"] > main { background: var(--fl-color-surface); }
body[data-layout-system="home-A"][data-public-layout="workspace"] > main { background: var(--fl-color-surface-muted); }
body[data-layout-system="home-A"] {
  --public-media-radius: 6px;
  --workspace-title-size: clamp(28px, 2.7vw, 36px);
}
body[data-layout-system="home-A"][data-public-layout="marketing"] .section:not([data-layout-protected]) > .section-inner > .section-heading.inline-heading,
body[data-layout-system="home-A"] .full-color-stage-heading > .section-heading {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  align-items: end; gap: 44px; max-width: none; margin: 0 0 30px;
}
body[data-layout-system="home-A"][data-public-layout="marketing"] .section:not([data-layout-protected]) .section-heading > p { max-width: 44ch; font-size: 14px; line-height: 1.8; }
body[data-layout-system="home-A"] [data-home-media-card] h3 { font-size: 23px; line-height: 1.4; }
body[data-layout-system="home-A"] [data-home-media-card] p { font-size: 14px; line-height: 1.8; }
body[data-layout-system="home-A"] .cta-band { padding-block: var(--public-section-space); background: var(--fl-color-surface); }
body[data-layout-system="home-A"] .cta-band .cta-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px;
  padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
body[data-layout-system="home-A"] .cta-band h2 { margin: 0 0 12px; max-width: 24ch; color: var(--fl-color-text); font-size: clamp(27px, 3vw, 39px); line-height: 1.4; }
body[data-layout-system="home-A"] .cta-band :is(p, .eyebrow) { color: var(--fl-color-text-muted); }
body[data-layout-system="home-A"] .cta-band .cta-actions { justify-content: flex-start; gap: 16px; }
body[data-layout-system="home-A"] .cta-band .icon-button.primary { min-height: 52px; }
body[data-layout-system="home-A"][data-public-layout="document"] .legal-hero-layout { display: block; }
body[data-layout-system="home-A"][data-public-layout="document"] .legal-main :is(.legal-hero, .legal-document-hero) { background: var(--fl-color-surface); }
body[data-layout-system="home-A"][data-public-layout="document"] .legal-main :is(.legal-hero, .legal-document-hero) h1 { max-width: 26ch; font-size: clamp(32px, 3.5vw, 44px); line-height: 1.4; }
body[data-layout-system="home-A"][data-public-layout="document"] .legal-version-row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--fl-color-border); color: var(--fl-color-text-muted); font-size: 13px; }
body[data-layout-system="home-A"][data-public-layout="document"] .legal-body { border: 0; }
body[data-layout-system="home-A"][data-public-layout="document"] .legal-body > section > h2 { font-size: 24px; line-height: 1.5; }
@media (max-width: 760px) {
  body[data-layout-system="home-A"][data-public-layout="marketing"] .section:not([data-layout-protected]) > .section-inner > .section-heading.inline-heading,
  body[data-layout-system="home-A"] .full-color-stage-heading > .section-heading { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 24px; }
  body[data-layout-system="home-A"] .cta-band .cta-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media print {
  body[data-layout-system="home-A"][data-public-layout="document"] .legal-main :is(.legal-hero, .legal-document-hero) { padding-block: 12px; }
}

/* Proposed declarations for the existing TASK-133 components owner.
   All opt-in selectors below exclude home and all five photo routes.
   Do not copy as a new stylesheet. Retire corresponding superseded visual
   properties from business-refined/full-color/etc owners where practical. */
body[data-layout-system="home-A"] [data-home-media-grid] {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
body[data-layout-system="home-A"] [data-home-media-grid="two"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body[data-layout-system="home-A"] [data-home-media-card]:is(a, article, details) {
  min-width: 0; margin: 0; padding: 0 0 18px; overflow: visible;
  border: 0; border-bottom: 1px solid var(--fl-color-border); border-radius: 0;
  background: transparent; box-shadow: none;
}
body[data-layout-system="home-A"] [data-home-media-card] :is(.commercial-path-media, .industry-card-media, .full-color-task-image, .portfolio-image) {
  display: block; width: 100%; max-width: 100%; height: auto;
  aspect-ratio: 3 / 2; margin: 0; object-fit: cover; border: 0;
  border-radius: 6px; box-shadow: none;
}
body[data-layout-system="home-A"] .commercial-path-card {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  color: var(--fl-color-text); text-decoration: none; transform: none;
}
body[data-layout-system="home-A"] .commercial-path-card:is(:hover, :focus-visible) {
  background: transparent; border-color: var(--fl-color-border); box-shadow: none; transform: none;
}
body[data-layout-system="home-A"] .commercial-path-card:focus-visible {
  outline: 3px solid var(--fl-color-brand); outline-offset: 5px;
}
body[data-layout-system="home-A"] .commercial-path-card .service-route-label { margin: 18px 0 6px; padding: 0; }
body[data-layout-system="home-A"] .commercial-path-card > h3 { margin: 0 0 8px; }
body[data-layout-system="home-A"] .commercial-path-card > p { flex: 1; margin: 0; }
body[data-layout-system="home-A"] .commercial-path-card > strong {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 44px; margin-top: 18px; padding: 0; color: var(--fl-color-brand); background: transparent;
}
body[data-layout-system="home-A"] .industry-card-copy { padding: 18px 0 0; }
body[data-layout-system="home-A"] .case-route-summary .portfolio-body { padding: 18px 0 0; }
body[data-layout-system="home-A"] .case-route-summary { overflow: visible; background: transparent; }
body[data-layout-system="home-A"] .case-route-details .case-decision-list { padding: 12px 0 0; }
body[data-layout-system="home-A"] .full-color-value-layout[data-home-section-layout] { display: block; }
body[data-layout-system="home-A"] .full-color-task-list { margin-top: 0; }
body[data-layout-system="home-A"] .full-color-task-list article { display: flex; flex-direction: column; gap: 0; min-height: 0; }
body[data-layout-system="home-A"] .full-color-task-list article > span { margin: 18px 0 6px; color: var(--fl-color-brand); }
body[data-layout-system="home-A"] .full-color-task-list article h3 { margin: 0 0 8px; }
body[data-layout-system="home-A"] .full-color-task-list article p { margin: 0; }
body[data-layout-system="home-A"] .full-color-task-list article > strong { margin: 18px 0 0; font-size: 14px; color: var(--fl-color-text-muted); }
body[data-layout-system="home-A"] .full-color-review-media { aspect-ratio: auto; margin-top: 28px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
body[data-layout-system="home-A"] .full-color-review-media img { height: auto; aspect-ratio: 3 / 2; border-radius: 6px; }
body[data-layout-system="home-A"] .full-color-review-media figcaption { margin-top: 10px; font-size: 12px; line-height: 1.7; color: var(--fl-color-text-muted); }
body[data-layout-system="home-A"] [data-home-info-grid] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body[data-layout-system="home-A"] [data-home-info-grid] article {
  min-width: 0; min-height: 0; padding: 24px 0; border: 0;
  border-top: 1px solid var(--fl-color-border); border-radius: 0;
  background: transparent; box-shadow: none; color: var(--fl-color-text);
}
body[data-layout-system="home-A"] [data-home-info-grid] article.is-featured { border-top-color: var(--fl-color-brand); }
body[data-layout-system="home-A"] [data-home-info-grid] :is(svg, article > span, article a) { color: var(--fl-color-brand); }
body[data-layout-system="home-A"] [data-home-info-grid] :is(h3, strong) { color: var(--fl-color-text); }
body[data-layout-system="home-A"] .equipment-decision-grid .is-featured a span { color: inherit; }
body[data-layout-system="home-A"] [data-home-info-grid] :is(p, ul) { color: var(--fl-color-text-muted); }
body[data-layout-system="home-A"] .equipment-deployment-section { background: #f5f8fc; --page-eyebrow-color: var(--fl-color-brand); }
body[data-layout-system="home-A"] .equipment-deployment-section h2 { color: var(--fl-color-text); }
body[data-layout-system="home-A"] .equipment-deployment-section .flow-heading-copy { color: var(--fl-color-text-muted); }
body[data-layout-system="home-A"] .equipment-deployment-steps li { min-height: 0; padding-block: 18px 0; border-color: var(--fl-color-border); }
body[data-layout-system="home-A"] .equipment-deployment-steps span { margin-bottom: 18px; color: var(--fl-color-brand); }
body[data-layout-system="home-A"] .equipment-deployment-steps strong { color: var(--fl-color-text); }
body[data-layout-system="home-A"] .equipment-deployment-steps p { color: var(--fl-color-text-muted); }
@media (max-width: 760px) {
  body[data-layout-system="home-A"] [data-home-media-grid],
  body[data-layout-system="home-A"] [data-home-media-grid="two"],
  body[data-layout-system="home-A"] [data-home-info-grid] { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}


/* TASK-147 guideA: integrate into the existing TASK-133 platform-ui.css owner.
   Guide opt-in only; photo subblocks retain their existing component styles. */
body[data-layout-system="home-A"][data-public-layout="guide"] .home-page-head {
  padding-block: 136px 40px;
  background: var(--fl-color-surface, #fff);
}
body[data-layout-system="home-A"][data-public-layout="guide"] .home-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 24px; color: var(--fl-color-text-muted); font-size: 13px;
}
body[data-layout-system="home-A"][data-public-layout="guide"] .home-breadcrumb a { color: inherit; }
body[data-layout-system="home-A"][data-public-layout="guide"] .home-page-head h1 {
  margin-block: 12px 20px; color: var(--fl-color-text); font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.4; letter-spacing: -.025em; text-wrap: balance;
}
body[data-layout-system="home-A"][data-public-layout="guide"] .home-page-head .hero-lede {
  max-width: 68ch; margin: 0; color: var(--fl-color-text-muted); font-size: 16px; line-height: 1.8;
}
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-layout {
  display: grid; grid-template-columns: 216px minmax(0, 1fr); align-items: start; gap: 48px;
  padding-block: 40px 64px;
}
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-toc {
  position: sticky; top: 112px; min-width: 0; padding-block: 12px;
}
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-toc > p {
  margin: 0 0 12px; padding-inline: 14px; color: var(--fl-color-text-muted); font-size: 12px;
}
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-toc nav { display: grid; gap: 4px; }
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-toc a {
  display: flex; min-height: 44px; align-items: center; padding: 10px 14px; border-left: 2px solid transparent;
  color: var(--fl-color-text-muted); border-radius: 0 6px 6px 0; font-size: 14px; line-height: 1.5;
}
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-toc a:is(:hover, :focus-visible) {
  color: var(--fl-color-brand); border-left-color: currentColor; background: var(--fl-color-brand-soft, #eef5ff);
}
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-content { min-width: 0; }
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-content .section-inner { width: 100%; max-width: none; }
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-content > .section {
  margin: 0 0 56px; padding: 0; background: transparent;
}
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-content > .section:last-child { margin-bottom: 0; }
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-content :is(section[id], article[id]) { scroll-margin-top: 112px; }
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-anchor { position: absolute; width: 0; height: 0; scroll-margin-top: 112px; }
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-content > .section:not([data-layout-protected]) h2 {
  margin-block: 0 16px; color: var(--fl-color-text); font-size: clamp(24px, 2.25vw, 30px); line-height: 1.4; letter-spacing: -.025em;
}
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-content > .section:not([data-layout-protected]) .eyebrow { margin-bottom: 12px; color: var(--fl-color-brand); }
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-content > .section:not([data-layout-protected]) p { line-height: 1.8; }
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-content .section-heading { margin-bottom: 24px; }
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-content .section-heading.inline-heading { display: block; }
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-content .section-heading.inline-heading > .icon-button { margin-top: 8px; }
body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-intro { margin: 0 0 24px; color: var(--fl-color-text-muted); }
body[data-layout-system="home-A"][data-public-layout="guide"] .guide-detail-grid { gap: 40px; }
body[data-layout-system="home-A"][data-public-layout="guide"] .guide-detail-grid > article {
  position: relative; display: block; padding: 28px 0 0; border: 0; border-top: 1px solid var(--fl-color-border);
  border-radius: 0; background: transparent; box-shadow: none;
}
body[data-layout-system="home-A"][data-public-layout="guide"] .guide-detail-grid > article:first-child { padding-top: 0; border-top: 0; }
body[data-layout-system="home-A"][data-public-layout="guide"] .guide-detail-icon { display: none; }
body[data-layout-system="home-A"][data-public-layout="guide"] :is(.material-matrix, .industry-grid, .quote-model-grid, .file-rule-grid, .pricing-payment-grid) {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
body[data-layout-system="home-A"][data-public-layout="guide"] :is(.material-matrix, .industry-grid, .quote-model-grid, .file-rule-grid, .pricing-payment-grid) > article {
  min-width: 0; padding: 24px; border: 1px solid var(--fl-color-border); border-radius: 8px;
  background: var(--fl-color-surface, #fff); box-shadow: none;
}
body[data-layout-system="home-A"][data-public-layout="guide"] .quote-model-grid > article:first-child { grid-column: 1 / -1; }
body[data-layout-system="home-A"][data-public-layout="guide"] .quote-model-grid .text-link { display: inline-flex; align-self: start; align-items: center; gap: 8px; min-height: 44px; color: var(--fl-color-brand); background: transparent; }
body[data-layout-system="home-A"][data-public-layout="guide"] :is(.file-ready-layout, .reorder-layout, .pricing-payment-layout) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
body[data-layout-system="home-A"][data-public-layout="guide"] .sticky-heading { position: static; }
body[data-layout-system="home-A"][data-public-layout="guide"] .reorder-rules article { padding: 20px 0; border: 0; border-top: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; box-shadow: none; }
body[data-layout-system="home-A"][data-public-layout="guide"] #reorder p { color: var(--fl-color-text-muted); }
body[data-layout-system="home-A"][data-public-layout="guide"] .reorder-rules strong { color: var(--fl-color-text); }
body[data-layout-system="home-A"][data-public-layout="guide"] .reorder-rules svg { color: var(--fl-color-brand); }
body[data-layout-system="home-A"][data-public-layout="guide"] .formal-flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body[data-layout-system="home-A"][data-public-layout="guide"] .formal-flow-grid > article { min-width: 0; padding: 20px 0; border: 0; border-top: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; box-shadow: none; }
@media (max-width: 900px) {
  body[data-layout-system="home-A"][data-public-layout="guide"] .home-page-head { padding-block: 112px 32px; }
  body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 24px 40px; }
  body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-toc { position: static; padding: 0; }
  body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-toc > p { padding: 0; }
  body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-toc nav { display: flex; gap: 8px; overflow-x: auto; padding: 3px 3px 8px; }
  body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-toc a { flex: 0 0 auto; padding: 10px 14px; border: 1px solid var(--fl-color-border); border-radius: 6px; background: var(--fl-color-surface, #fff); }
  body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-toc a:is(:hover, :focus-visible) { border-color: var(--fl-color-brand); }
  body[data-layout-system="home-A"][data-public-layout="guide"] .home-guide-content > .section { margin-bottom: 40px; }
}
@media (max-width: 600px) {
  body[data-layout-system="home-A"][data-public-layout="guide"] :is(.material-matrix, .industry-grid, .quote-model-grid, .file-rule-grid, .pricing-payment-grid, .formal-flow-grid) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body[data-layout-system="home-A"][data-public-layout="guide"] :is(.material-matrix, .industry-grid, .quote-model-grid, .file-rule-grid, .pricing-payment-grid) > article { padding: 20px; }
  body[data-layout-system="home-A"][data-public-layout="guide"] .home-breadcrumb { margin-bottom: 20px; }
}


/* TASK-147 workspace A. Integrate into platform-ui.css's existing public/workspace
   owner; keep after or replace the former TASK-130 05A route geometry.
   Every selector explicitly opts in, so the homepage and photo routes are excluded.
   Shared fields/buttons/status colors and all photo proofing internals are reused. */
body[data-layout-system="home-A"][data-public-layout="workspace"] .workspace-page-heading { margin-bottom: 32px; }
body[data-layout-system="home-A"][data-public-layout="workspace"] .workspace-page-heading .eyebrow { margin: 0 0 10px; color: var(--fl-color-brand); font-size: 12px; line-height: 1.5; }
body[data-layout-system="home-A"][data-public-layout="workspace"] .workspace-page-heading h1 { max-width: 26ch; margin: 0 0 12px; font-size: clamp(28px, 2.7vw, 36px); line-height: 1.4; letter-spacing: -.025em; }
body[data-layout-system="home-A"][data-public-layout="workspace"] .workspace-page-heading p:not(.eyebrow) { max-width: 68ch; margin: 0; color: var(--fl-color-text-muted); font-size: 15px; line-height: 1.8; }
body[data-layout-system="home-A"][data-public-layout="workspace"] :is(.workspace-secondary-link, .auth-guest-link) { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; margin-top: 20px; color: var(--fl-color-brand); font-size: 14px; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; }

/* One auth surface: form and compact benefit list, no marketing image/hero. */
body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-layout { max-width: none; min-height: 0; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: 8px; }
body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-copy { padding: 32px; background: var(--fl-color-surface); border-right: 1px solid var(--fl-color-border); }
body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-copy h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.5; }
body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-copy > p { margin: 0; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.8; }
body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-benefits { gap: 0; margin: 24px 0 0; }
body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-benefits > div { gap: 12px; padding-block: 18px; border-top: 1px solid var(--fl-color-border); }
body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-benefits > div > svg { flex: 0 0 20px; width: 20px; height: 20px; padding: 0; background: transparent; border-radius: 0; }
body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-benefits strong { font-size: 15px; }
body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-panels { padding: 32px; }

/* Task-first member workspace. #memberQuotes stays within #memberRecords because
   its full-record links use the records controller's delegated click handler. */
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-dashboard { display: block; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-dashboard-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 24px; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-section-nav { position: static; display: flex; flex-direction: row; flex-wrap: wrap; gap: 0; margin: 0 0 28px; padding: 0; border: 0; border-bottom: 1px solid var(--fl-color-border); background: transparent; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-section-nav a { flex: 0 1 auto; justify-content: flex-start; min-height: 48px; padding: 12px 16px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-section-nav a:is(.is-active, [aria-current]) { color: var(--fl-color-brand); border-bottom-color: var(--fl-color-brand); background: transparent; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-cases { padding: 24px; border: 1px solid var(--fl-color-border); border-radius: 8px; background: var(--fl-color-surface); }
body[data-layout-system="home-A"][data-page="member"].quote-account-a #memberQuotes { margin: 0 0 28px; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; box-shadow: none; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-record-workspace { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-record-browser { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-case-detail { padding: 0 0 0 24px; border: 0; border-left: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 20px; padding-block: 16px; border-block: 1px solid var(--fl-color-border); }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-summary article { align-items: start; gap: 6px; min-width: 0; padding: 0 16px; border: 0; border-left: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; box-shadow: none; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-summary article:first-child { padding-left: 0; border-left: 0; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-summary strong { font-size: 22px; line-height: 1.4; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-summary span { font-size: 12px; line-height: 1.6; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-command-center { padding-block: 24px; border: 0; border-top: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; box-shadow: none; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-workspace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-workspace-panel { border-radius: 8px; }
body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-guest h1 { margin: 0 0 16px; font-size: clamp(28px, 2.7vw, 36px); line-height: 1.4; }

/* Same checkout surface, with a task-first empty state before order access. */
body[data-page="checkout"] .checkout-main.is-awaiting-order .checkout-layout { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
body[data-page="checkout"] .checkout-main.is-awaiting-order :is(.checkout-summary, .checkout-flow) { display: none; }
body[data-page="checkout"] .checkout-main.is-awaiting-order .checkout-access-state { grid-template-columns: 28px minmax(0, 1fr); margin-bottom: 24px; }
body[data-page="checkout"] .checkout-main.is-awaiting-order .checkout-access-state > .icon-button { grid-column: 2; justify-self: start; margin: 12px 0 0; }
body[data-page="checkout"] .checkout-main.is-awaiting-order .checkout-column { display: flex; flex-direction: column; }
body[data-page="checkout"] .checkout-main.is-awaiting-order .checkout-access-state { order: -1; }

/* Read-only lookup: one white surface, a primary form and quiet explanation.
   Detail/proof/parcel internals retain their existing components and controller. */
body[data-layout-system="home-A"][data-page="order-status"] .order-lookup-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; padding: 32px; border-radius: 8px; }
body[data-layout-system="home-A"][data-page="order-status"] .order-lookup-form { padding: 0 32px 0 0; border: 0; border-right: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; box-shadow: none; }
body[data-layout-system="home-A"][data-page="order-status"] .order-lookup-copy { padding: 0; }
body[data-layout-system="home-A"][data-page="order-status"] .order-lookup-copy h2 { font-size: 22px; }
body[data-layout-system="home-A"][data-page="order-status"] .order-lookup-steps { gap: 20px; margin-top: 24px; }
body[data-layout-system="home-A"][data-page="order-status"] :is(.order-progress-panel, .order-items-panel, .order-shipping-panel, .order-payment-panel) { border-radius: 8px; }

/* Support intake reuses existing fields, upload, validation and result surfaces;
   the three groups are semantic sections without a card around every question. */
body[data-layout-system="home-A"][data-page="after-sales"] .after-sales-hero-layout { max-width: var(--public-content-max, 1200px); }
body[data-layout-system="home-A"][data-page="after-sales"] .after-sales-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
body[data-layout-system="home-A"][data-page="after-sales"] .after-sales-form { min-width: 0; padding: 24px; border: 1px solid var(--fl-color-border); border-radius: 8px; background: var(--fl-color-surface); box-shadow: none; }
body[data-layout-system="home-A"][data-page="after-sales"] .after-sales-form > .panel-heading { align-items: start; gap: 16px; margin-bottom: 0; }
body[data-layout-system="home-A"][data-page="after-sales"] .after-sales-form > .panel-heading h2 { margin: 0; font-size: 22px; }
body[data-layout-system="home-A"][data-page="after-sales"] .after-sales-form > .panel-heading p { margin: 8px 0 0; color: var(--fl-color-text-muted); font-size: 14px; line-height: 1.8; }
body[data-layout-system="home-A"][data-page="after-sales"] .workspace-form-section { padding: 0; margin: 0; border: 0; }
body[data-layout-system="home-A"][data-page="after-sales"] .workspace-form-section .workflow-section-heading { margin: 24px 0 20px; padding-top: 24px; font-size: 18px; }
body[data-layout-system="home-A"][data-page="after-sales"] .after-sales-guide { padding: 0; border: 0; background: transparent; }
body[data-layout-system="home-A"][data-page="after-sales"] .after-sales-guide > h2 { margin: 0 0 20px; font-size: 20px; line-height: 1.5; }
body[data-layout-system="home-A"][data-page="after-sales"] .after-sales-guide article { padding: 18px 0; border: 0; border-top: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; box-shadow: none; }

@media (max-width: 1180px) {
  body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-record-workspace { grid-template-columns: minmax(0, 1fr); }
  body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-case-detail { position: static; padding: 24px 0 0; border: 0; border-top: 1px solid var(--fl-color-border); }
}
@media (max-width: 980px) {
  body[data-layout-system="home-A"][data-page="after-sales"] .after-sales-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body[data-layout-system="home-A"][data-public-layout="workspace"] .workspace-page-heading { margin-bottom: 24px; }
  body[data-layout-system="home-A"][data-public-layout="workspace"] .workspace-page-heading p:not(.eyebrow) { font-size: 14px; }
  body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-layout { grid-template-columns: minmax(0, 1fr); }
  body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-panels { order: -1; padding: 24px; }
  body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-copy { padding: 24px; border: 0; border-top: 1px solid var(--fl-color-border); }
  body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-copy h2 { font-size: 18px; }
  body[data-layout-system="home-A"][data-page="login"].quote-account-a .auth-copy > p { font-size: 13px; }
  body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-dashboard-head { flex-direction: column; }
  body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-section-nav { display: flex; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; }
  body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-section-nav a { flex: 0 0 auto; padding-inline: 12px; white-space: nowrap; }
  body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-cases { padding: 20px; }
  body[data-layout-system="home-A"][data-page="member"].quote-account-a #memberQuotes { padding: 0 0 20px; }
  body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-summary article { padding-inline: 10px; }
  body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-workspace-grid { grid-template-columns: minmax(0, 1fr); }
  body[data-layout-system="home-A"][data-page="order-status"] .order-lookup-layout { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 28px; }
  body[data-layout-system="home-A"][data-page="order-status"] .order-lookup-form { padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--fl-color-border); }
}
@media (max-width: 380px) {
  body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-cases { padding: 16px; }
  body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  body[data-layout-system="home-A"][data-page="member"].quote-account-a .member-summary article:nth-child(3) { padding-left: 0; border-left: 0; }
  body[data-layout-system="home-A"][data-page="after-sales"] .after-sales-form { padding: 20px; }
  body[data-layout-system="home-A"][data-page="order-status"] .order-lookup-layout { padding: 20px; }
}


  /* TASK-130: approved layout variants in the existing public component owner.
     Only the selected routes opt in; home/quote/checkout/support stay unchanged. */
  body[data-layout-choice]:where(:not([data-public-layout])) {
    --public-content-max: 1200px;
    --public-section-space: 64px;
    --public-media-radius: 8px;
  }
  body[data-layout-choice]:where(:not([data-page="full-color"], [data-public-layout])) main .section-inner,
  :where(body[data-layout-choice="03B"]:not([data-public-layout])) .photo-service-page.photo-detail-page .section-inner {
    width: calc(100% - 48px); max-width: var(--public-content-max); margin-inline: auto;
  }
  body[data-layout-choice]:where(:not([data-page="full-color"], [data-public-layout])) main > .section:not(:first-child) { padding-block: var(--public-section-space); }
  body[data-layout-choice] main :is(h1, h2, h3) { overflow-wrap: anywhere; text-wrap: balance; }
  body[data-layout-choice] main .section-heading { margin-bottom: 32px; }
  body[data-layout-choice]:where(:not([data-public-layout])) main .section-heading h2 { font-size: 32px; line-height: 1.4; }
  body[data-layout-choice] main .section-heading > p { max-width: 44ch; line-height: 1.8; }

  /* 02A: compact photograph hero, route grid and comparable manufacturing cards. */
  body[data-layout-choice="02A"] .resources-photo-hero { min-height: 480px; padding-block: 0; }
  body[data-layout-choice="02A"] .resources-photo-hero .resources-hero-content {
    min-height: 480px; padding-block: 116px 48px; gap: 24px;
  }
  body[data-layout-choice="02A"] .resources-photo-hero h1 { font-size: 44px; }
  body[data-layout-choice="02A"] .equipment-photo-hero { min-height: 480px; padding-block: 0; }
  body[data-layout-choice="02A"] .equipment-photo-content { min-height: 480px; padding-block: 116px 48px; }
  body[data-layout-choice="02A"] .equipment-photo-content h1 { font-size: 44px; }
  body[data-layout-choice="02A"] .service-pathways .commercial-path-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px;
  }
  body[data-layout-choice="02A"] .service-pathways .commercial-path-card {
    padding: 0 0 20px; gap: 12px; border: 0; border-bottom: 1px solid var(--fl-color-border);
    border-radius: 0; background: transparent; box-shadow: none;
  }
  body[data-layout-choice="02A"] .service-pathways .commercial-path-media {
    width: 100%; margin: 0 0 4px; aspect-ratio: 16 / 10; border-radius: var(--public-media-radius);
  }
  body[data-layout-choice="02A"] .platform-services .platform-service-catalog {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px;
  }
  body[data-layout-choice="02A"] .platform-services .catalog-process-image { aspect-ratio: 16 / 10; border-radius: var(--public-media-radius); }
  body[data-layout-choice="02A"] .platform-services .platform-service-card h3 { font-size: 24px; }
  body[data-layout-choice="02A"] .platform-services .catalog-limitation { flex: 1; }
  body[data-layout-choice="02A"] .platform-services .platform-catalog-link { min-height: 44px; }
  body[data-layout-choice="02A"] :is(.equipment-decision-grid, .equipment-application-grid) { gap: 24px; }

  /* Existing 03B photo detail routes retain their approved layout. */
  body[data-layout-choice="03B"] .photo-service-page.photo-detail-page .photo-product-hero-grid {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center;
  }
  body[data-layout-choice="03B"] .photo-service-page.photo-detail-page .photo-product-media { margin: 0; width: 100%; }
  body[data-layout-choice="03B"] .photo-service-page.photo-detail-page .photo-product-media img {
    height: auto; width: 100%; aspect-ratio: 7 / 5; object-fit: contain; border-radius: 8px;
  }
  body[data-layout-choice="03B"] .photo-service-page.photo-detail-page .photo-product-copy h1 { font-size: 44px; }

  /* 05A: pending work across the content width, existing fixed detail at right. */
  .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-dashboard {
    grid-template-columns: 176px minmax(0, 1fr); gap: 24px;
  }
  .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-record-workspace {
    grid-template-columns: minmax(0, 1fr) 360px; gap: 24px;
  }
  .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) #memberQuotes { margin: 0 0 24px; padding: 20px 24px; }
  .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-quote-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-quote-overview {
    display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: start;
  }
  .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) :is(.member-quote-copy, .member-quote-actions, .member-record-side) { min-width: 0; }
  .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-quote-copy { overflow-wrap: anywhere; }
  .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-case-detail { position: sticky; top: 112px; }
  .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-record-browser { min-height: 0; }
  body[data-page="login"]:where([data-layout-choice="05A"]) .auth-layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; min-height: 0; max-width: var(--public-content-max, 1080px);
  }
  body[data-page="login"]:where([data-layout-choice="05A"]) .auth-copy { padding: 36px; }
  body[data-page="login"]:where([data-layout-choice="05A"]) .auth-panels { padding: 32px; }

  /* 07B: existing photography and prose in an editorial sequence. */
  body[data-layout-choice="07B"] .resources-photo-hero { min-height: 480px; padding-block: 0; }
  body[data-layout-choice="07B"] .resources-photo-hero .resources-hero-content { min-height: 480px; padding-block: 116px 48px; }
  body[data-layout-choice="07B"] .editorial-photo-hero { position: relative; min-height: 480px; padding-block: 116px 64px; background: #0d1729; isolation: isolate; }
  body[data-layout-choice="07B"] .editorial-photo-hero::after { content: none; }
  body[data-layout-choice="07B"] .editorial-photo-hero .page-hero-grid { position: static; display: block; min-height: 0; padding-block: 0; }
  body[data-layout-choice="07B"] .editorial-photo-hero .page-hero-grid > div { position: relative; z-index: 2; max-width: 620px; }
  body[data-layout-choice="07B"] .editorial-photo-hero .editorial-hero-media { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; border: 0; border-radius: 0; z-index: 0; }
  body[data-layout-choice="07B"] .editorial-photo-hero .editorial-hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
  body[data-layout-choice="07B"] .editorial-photo-hero .editorial-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d1729ed, #0d172999 56%, #0d172940); }
  body[data-layout-choice="07B"] .editorial-photo-hero .editorial-hero-media figcaption { position: absolute; z-index: 1; bottom: 16px; right: 24px; max-width: 58ch; margin: 0; padding: 6px 12px; font-size: 12px; color: white; background: #0d1729d9; }
  body[data-layout-choice="07B"] .editorial-photo-hero :is(h1, p) { color: white; }
  body[data-layout-choice="07B"] .editorial-photo-hero h1 { font-size: 44px; line-height: 1.3; }
  body[data-layout-choice="07B"] .editorial-photo-hero .eyebrow { color: #9be7ec; }
  body[data-layout-choice="07B"] .quote-model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  body[data-page="pricing"]:where([data-layout-choice="07B"]) .quote-model-grid article {
    display: flex; flex-direction: column; padding: 0 24px 0 0; border: 0; border-right: 1px solid var(--fl-color-border); border-radius: 0; background: transparent; box-shadow: none;
  }
  body[data-page="pricing"]:where([data-layout-choice="07B"]) .quote-model-grid article:last-child { border-right: 0; padding-right: 0; }
  body[data-layout-choice="07B"] .formal-flow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  body[data-layout-choice="07B"] .formal-flow-grid > article { padding: 20px 0 0; border: 0; border-top: 2px solid var(--fl-color-border); border-radius: 0; background: transparent; box-shadow: none; }
  body[data-layout-choice="07B"] .portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px 24px; }
  body[data-layout-choice="07B"] .portfolio-grid > article { padding: 0; border: 0; background: transparent; box-shadow: none; }
  body[data-layout-choice="07B"] .portfolio-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
  body[data-layout-choice="07B"] .resource-strip { gap: 0; border-block: 1px solid var(--fl-color-border); }
  body[data-layout-choice="07B"] .resource-strip > :is(a, article) { padding: 20px 24px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  body[data-layout-choice="07B"] :is(.photo-gallery-layout, .company-proof-layout, .timeline-layout) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
  body[data-layout-choice="07B"] .photo-gallery-layout > figure { order: -1; }
  body[data-layout-choice="07B"] :is(.photo-gallery-layout, .company-proof-layout, .timeline-layout) p { max-width: 68ch; font-size: 16px; line-height: 1.8; }
  body[data-layout-choice="07B"] .timeline > :is(article, div) { padding-block: 20px; border-radius: 0; background: transparent; box-shadow: none; }

  /* 08A: native collapsible navigation, unchanged complete legal articles. */
  body[data-layout-choice="08A"] .legal-main :is(.legal-hero, .legal-document-hero) { padding-top: 116px; padding-bottom: 32px; }
  body[data-layout-choice="08A"] .legal-main .legal-document-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); align-items: start; gap: 48px; }
  body[data-layout-choice="08A"] .legal-main .legal-body { max-width: 68ch; padding: 0; background: transparent; }
  body[data-layout-choice="08A"] .legal-main .legal-body :is(p, li) { font-size: 16px; line-height: 1.8; }
  body[data-layout-choice="08A"] .legal-main .legal-body > section { scroll-margin-top: 104px; }
  body[data-layout-choice="08A"] .legal-main .legal-toc { display: block; min-width: 0; position: sticky; top: 104px; padding: 0 20px 0 0; border: 0; border-right: 1px solid var(--fl-color-border); background: transparent; }
  body[data-layout-choice="08A"] .legal-main .legal-toc nav { display: grid; grid-template-columns: minmax(0, 1fr); }
  body[data-layout-choice="08A"] .legal-main .legal-toc summary { min-height: 44px; padding-block: 10px; cursor: pointer; font-weight: 700; }
  body[data-layout-choice="08A"] .legal-main .legal-toc a { min-height: 44px; font-size: 14px; line-height: 1.65; padding-block: 10px; }
  body[data-layout-choice="08A"] .legal-main .legal-policy-index .legal-policy-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  body[data-layout-choice="08A"] .legal-main .legal-policy-index .legal-policy-grid a { display: block; padding: 12px 0; }
  body[data-layout-choice="08A"] .legal-main .legal-policy-index .legal-policy-grid a > svg { display: none; }
  body[data-layout-choice="08A"] .legal-main .legal-policy-index .legal-policy-grid small { display: block; font-size: 12px; margin-top: 4px; }
  body[data-layout-choice="08A"] .legal-main .operator-card { padding-top: 0; }

  @media (min-width: 1440px) {
    body[data-layout-choice="07B"] .formal-flow-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  }
  @media (max-width: 1180px) {
    .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-record-workspace { grid-template-columns: minmax(0, 1fr); }
    .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-case-detail { position: static; }
  }
  @media (max-width: 980px) {
    body[data-layout-choice="03B"] .photo-product-hero-grid,
    body[data-layout-choice="03B"] .photo-service-page.photo-detail-page .photo-product-hero-grid,
    body[data-layout-choice="07B"] :is(.photo-gallery-layout, .company-proof-layout, .timeline-layout),
    body[data-layout-choice="08A"] .legal-main .legal-document-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    body[data-layout-choice="03B"] .photo-product-media { order: -1; }
    body[data-layout-choice="08A"] .legal-main .legal-toc { position: static; max-height: none; border: 0; border-block: 1px solid var(--fl-color-border); padding: 0; }
    body[data-layout-choice="08A"] .legal-main .legal-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
    body[data-layout-choice="08A"] .legal-main .legal-policy-index .legal-policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
    .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-dashboard { grid-template-columns: minmax(0, 1fr); }
    .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-section-nav { position: static; flex-direction: row; overflow-x: auto; border: 0; }
    .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-section-nav a { flex: 0 0 auto; }
  }
  @media (max-width: 760px) {
    body[data-layout-choice]:where(:not([data-public-layout])) { --public-section-space: 32px; }
    body[data-layout-choice]:where(:not([data-page="full-color"], [data-public-layout])) main .section-inner,
    :where(body[data-layout-choice="03B"]:not([data-public-layout])) .photo-service-page.photo-detail-page .section-inner { width: calc(100% - 32px); }
    body[data-layout-choice] main .section-heading { display: block; margin-bottom: 24px; }
    body[data-layout-choice]:where(:not([data-public-layout])) main .section-heading h2 { font-size: 26px; }
    body[data-layout-choice="02A"] .resources-photo-hero .resources-hero-content,
    body[data-layout-choice="02A"] .equipment-photo-content,
    body[data-layout-choice="07B"] .resources-photo-hero .resources-hero-content { min-height: 480px; padding-block: 180px 32px; }
    body[data-layout-choice="02A"] :is(.resources-photo-hero, .equipment-photo-content) h1 { font-size: 32px; }
    body[data-layout-choice="02A"] .service-pathways .commercial-path-grid,
    body[data-layout-choice="02A"] .platform-services .platform-service-catalog { grid-template-columns: minmax(0, 1fr); }
    body[data-layout-choice="03B"] .photo-service-page.photo-detail-page .photo-product-copy h1 { font-size: 32px; }
    .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) .member-quote-overview { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .quote-account-a.member-detail-a:where([data-layout-choice="05A"]) #memberQuotes { padding: 16px; }
    body[data-page="login"]:where([data-layout-choice="05A"]) .auth-layout { grid-template-columns: minmax(0, 1fr); }
    body[data-page="login"]:where([data-layout-choice="05A"]) .auth-panels { order: -1; padding: 24px; }
    body[data-page="login"]:where([data-layout-choice="05A"]) .auth-copy { padding: 24px; }
    body[data-layout-choice="07B"] .editorial-photo-hero { min-height: 520px; padding-block: 140px 100px; }
    body[data-layout-choice="07B"] .editorial-photo-hero h1 { font-size: 32px; }
    body[data-layout-choice="07B"] .editorial-photo-hero .editorial-hero-media figcaption { right: 16px; left: 16px; font-size: 12px; }
    body[data-layout-choice="07B"] .quote-model-grid,
    body[data-layout-choice="07B"] .formal-flow-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    body[data-page="pricing"]:where([data-layout-choice="07B"]) .quote-model-grid article { padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--fl-color-border); }
    body[data-layout-choice="07B"] .resource-strip > :is(a, article) { padding: 16px 0; }
    body[data-layout-choice="08A"] .legal-main .legal-policy-index .legal-policy-grid { grid-template-columns: minmax(0, 1fr); }
    body[data-layout-choice="08A"] .legal-main :is(.legal-hero, .legal-document-hero) { padding-top: 112px; padding-bottom: 24px; }
  }
  @media print {
    body[data-layout-choice="08A"] :is(.topbar, .site-footer, .social-dock, .toast, .legal-toc) { display: none; }
    body[data-layout-choice="08A"] .legal-main .legal-document-layout { display: block; }
    body[data-layout-choice="08A"] .legal-main .legal-body { max-width: none; }
    body[data-layout-choice="08A"][data-public-layout="document"] .legal-main > .section:first-child,
    body[data-layout-choice="08A"] .legal-main :is(.legal-hero, .legal-document-hero, .section) { padding-block: 12px; }
  }
}
