@layer legacy, components;
@layer legacy {
:root {
  color-scheme: light;
  --ink: #0d1117;
  --muted: #5f6b7a;
  --paper: #f7f9fc;
  --paper-strong: #ffffff;
  --line: rgba(13, 17, 23, 0.1);
  --line-dark: rgba(255, 255, 255, 0.18);
  --teal: #00f2d2;
  --coral: #0066ff;
  --lime: #0066ff;
  --violet: #b100ff;
  --amber: #1ba7ff;
  --brand-blue: #0066ff;
  --brand-cyan: #00f2d2;
  --brand-purple: #b100ff;
  --brand-charcoal: #0d1117;
  --brand-gray: #f2f4f7;
  --dark-panel: rgba(13, 17, 23, 0.88);
  --shadow: 0 22px 60px rgba(13, 17, 23, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans TC", "PingFang TC", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  width: min(calc(100% - 32px), 1160px);
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(17, 16, 15, 0.6);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.lightbar {
  position: fixed;
  top: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(17, 16, 15, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  overflow: hidden;
  background: url("/shared/assets/3dfab-tw-icon-20261008.svg") center / cover no-repeat;
  box-shadow:
    0 8px 22px rgba(0, 191, 165, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.brand-name {
  min-width: 0;
  display: grid;
  gap: 1px;
  line-height: 1.02;
}

.brand-name > span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-name small {
  display: block;
  color: currentColor;
  opacity: 0.68;
  font-size: 0.68rem;
  font-weight: 860;
  letter-spacing: 0;
}

.dark-brand .brand-mark {
  box-shadow:
    inset 0 0 0 1px rgba(17, 16, 15, 0.12),
    0 8px 20px rgba(0, 191, 165, 0.12);
}

.nav-links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.dark-links {
  color: rgba(17, 16, 15, 0.65);
}

.dark-links a:hover {
  color: var(--ink);
  background: rgba(17, 16, 15, 0.07);
}

.dark-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(17, 16, 15, 0.08);
}

.icon-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  line-height: 1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.icon-button svg,
.card-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.icon-button:hover {
  transform: translateY(-1px);
}

.icon-button.primary {
  color: var(--ink);
  background: var(--lime);
  border-color: rgba(255, 255, 255, 0.35);
}

.icon-button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.icon-button.outline {
  color: var(--ink);
  background: transparent;
  border-color: rgba(17, 16, 15, 0.22);
}

.icon-button.dark-button {
  color: #fff;
  background: var(--ink);
}

.icon-button.light {
  border-color: rgba(17, 16, 15, 0.18);
}

.icon-button.secondary.light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: #fff;
  background: #11100f;
}

#forgeScene {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg-video {
  position: absolute;
  top: calc(var(--hero-video-offset, 80px) + (var(--hero-video-stage, 670px) / 2));
  left: 50%;
  z-index: 0;
  display: block;
  width: 1280px;
  height: auto;
  aspect-ratio: 16 / 9;
  min-width: 100%;
  min-height: var(--hero-video-stage, 670px);
  max-width: none;
  transform: translate(-50%, -50%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.88), rgba(17, 16, 15, 0.56) 48%, rgba(17, 16, 15, 0.18)),
    linear-gradient(0deg, rgba(17, 16, 15, 0.86), rgba(17, 16, 15, 0.08) 34%, rgba(17, 16, 15, 0.3));
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0));
}

.layout-grid,
.section-inner {
  width: min(calc(100% - 32px), 1160px);
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  align-items: center;
  gap: 44px;
  padding: 104px 0 44px;
}

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

.eyebrow {
  margin: 0 0 13px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #007d71;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 11ch;
  font-size: 6rem;
  font-weight: 900;
}

.hero h1 span {
  display: block;
}

.hero-lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 680px);
  margin-top: 42px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.hero-stats span {
  min-width: 0;
  padding: 16px 16px 16px 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.25;
}

.quote-panel {
  align-self: end;
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px);
  box-shadow: var(--shadow);
}

.panel-heading,
.inline-heading,
.cta-layout,
.workflow-hero-grid,
.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.panel-heading h2 {
  color: #fff;
  font-size: 1.7rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.78rem;
  font-weight: 780;
  white-space: nowrap;
}

.quote-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.quote-stepper span {
  min-width: 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 840;
  text-align: center;
}

.quote-stepper .is-current {
  color: #fff;
  border-color: rgba(0, 242, 210, 0.36);
  background:
    linear-gradient(135deg, rgba(0, 242, 210, 0.2), rgba(0, 102, 255, 0.2)),
    rgba(255, 255, 255, 0.08);
}

.model-upload {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.model-drop {
  min-height: 118px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 18px;
  color: #fff;
  text-align: center;
  border: 1px dashed rgba(215, 242, 91, 0.48);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 191, 165, 0.14), rgba(255, 98, 74, 0.1)),
    rgba(17, 16, 15, 0.38);
  cursor: pointer;
}

.model-drop:hover {
  border-color: rgba(215, 242, 91, 0.82);
}

.model-drop.is-dragging {
  border-color: var(--lime);
  background:
    linear-gradient(135deg, rgba(215, 242, 91, 0.18), rgba(0, 191, 165, 0.18)),
    rgba(17, 16, 15, 0.5);
}

.model-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.model-drop svg {
  width: 28px;
  height: 28px;
  color: var(--lime);
}

.model-drop span {
  font-weight: 840;
}

.model-drop small,
.model-status span,
.model-metrics span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.model-status {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(17, 16, 15, 0.38);
}

.model-status strong {
  color: #fff;
  font-size: 0.88rem;
}

.model-preview {
  min-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 44%, rgba(215, 242, 91, 0.12), transparent 44%),
    rgba(17, 16, 15, 0.5);
}

.model-preview canvas {
  width: 100%;
  height: 150px;
  display: block;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.model-preview canvas.is-rotating {
  cursor: grabbing;
}

.model-preview canvas.is-static-preview {
  cursor: default;
  touch-action: auto;
}

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

.model-metrics div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(17, 16, 15, 0.42);
}

.model-metrics span,
.model-metrics strong {
  display: block;
}

.model-metrics strong {
  margin-top: 3px;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.18;
}

.quote-parts,
.dfm-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(17, 16, 15, 0.42);
}

.quote-parts[hidden],
.dfm-panel[hidden] {
  display: none;
}

.quote-parts > strong,
.dfm-panel-head strong {
  color: #fff;
  font-size: 0.84rem;
}

.quote-part-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-part-row span,
.quote-part-row small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-part-row span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 800;
}

.quote-part-row small,
.dfm-panel-head span,
.dfm-item small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
}

.dfm-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dfm-list {
  display: grid;
  gap: 6px;
}

.dfm-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.045);
}

.dfm-item > span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(117, 230, 218, 0.86);
  font-size: 0.68rem;
  font-weight: 860;
  white-space: nowrap;
}

.dfm-item.warn > span {
  background: var(--lime);
}

.dfm-item.ok > span {
  color: #fff;
  background: #00bfa5;
}

.dfm-item strong,
.dfm-item small {
  display: block;
}

.dfm-item strong {
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.25;
}

.dfm-item small {
  margin-top: 2px;
  line-height: 1.35;
}

.field {
  position: relative;
  display: grid;
  gap: 7px;
  margin-top: 13px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 720;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  outline: none;
  background: rgba(17, 16, 15, 0.56);
}

.field input,
.field select {
  min-height: 44px;
}

.field textarea {
  min-height: 92px;
  padding-top: 11px;
  padding-bottom: 11px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(215, 242, 91, 0.86);
  box-shadow: 0 0 0 3px rgba(215, 242, 91, 0.12);
}

.field option {
  color: var(--ink);
}

.select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
}

.custom-select {
  position: relative;
  min-width: 0;
  z-index: 1;
}

.custom-select.is-open {
  z-index: 80;
}

.custom-select-trigger {
  width: 100%;
  min-height: 44px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  outline: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(117, 230, 218, 0.05)),
    rgba(17, 16, 15, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.custom-select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(215, 242, 91, 0.11), rgba(117, 230, 218, 0.08)),
    rgba(17, 16, 15, 0.62);
}

.custom-select-trigger:focus-visible,
.custom-select.is-open .custom-select-trigger {
  border-color: rgba(215, 242, 91, 0.86);
  box-shadow: 0 0 0 3px rgba(215, 242, 91, 0.12);
}

.custom-select-value {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid rgba(215, 242, 91, 0.86);
  border-bottom: 2px solid rgba(215, 242, 91, 0.86);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.custom-select.is-open .custom-select-chevron {
  transform: translateY(2px) rotate(225deg);
}

.custom-select-menu {
  position: absolute;
  z-index: 90;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 100%;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(215, 242, 91, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(36, 38, 34, 0.98), rgba(18, 20, 20, 0.98)),
    rgba(17, 16, 15, 0.98);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.custom-select-menu[hidden] {
  display: none;
}

.custom-select.opens-up .custom-select-menu {
  top: auto;
  bottom: calc(100% + 7px);
}

.material-property-row .custom-select-menu {
  width: min(286px, calc(100vw - 32px));
  right: auto;
}

.custom-select-menu::-webkit-scrollbar {
  width: 8px;
}

.custom-select-menu::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(215, 242, 91, 0.36);
  background-clip: padding-box;
}

.custom-select-option {
  min-height: 38px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.76);
  border: 1px solid transparent;
  border-radius: 5px;
  outline: none;
  background: transparent;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.custom-select-option.is-selected {
  color: var(--ink);
  border-color: rgba(215, 242, 91, 0.68);
  background:
    linear-gradient(135deg, rgba(215, 242, 91, 0.96), rgba(117, 230, 218, 0.9)),
    var(--lime);
}

.material-property-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 13px;
}

.material-property-row > .field {
  margin-top: 0;
}

.material-property-row .material-hint {
  min-height: 71px;
  margin-top: 0;
  align-content: center;
}

.quantity-field {
  margin-top: 13px;
}

.process-field {
  gap: 9px;
}

.process-segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(17, 16, 15, 0.44);
}

.process-option {
  min-width: 0;
  min-height: 72px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  padding: 8px 6px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.process-option svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.process-option strong,
.process-option small {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}

.process-option strong {
  font-size: 0.84rem;
  font-weight: 820;
}

.process-option small {
  color: currentColor;
  opacity: 0.72;
  font-size: 0.7rem;
  font-weight: 740;
}

.process-option:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.process-option.is-active {
  color: var(--ink);
  border-color: rgba(215, 242, 91, 0.8);
  background:
    linear-gradient(135deg, rgba(215, 242, 91, 0.98), rgba(117, 230, 218, 0.92)),
    var(--lime);
  box-shadow: 0 10px 24px rgba(0, 191, 165, 0.18);
}

.material-hint {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(17, 16, 15, 0.36);
}

.material-hint strong {
  color: #fff;
  font-size: 0.88rem;
}

.material-hint span,
.material-hint small {
  font-size: 0.78rem;
  line-height: 1.35;
}

.material-hint small {
  color: rgba(255, 255, 255, 0.58);
}

.field-grid,
.lead-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.quote-requirements label {
  min-width: 0;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(17, 16, 15, 0.38);
  font-size: 0.78rem;
  font-weight: 780;
}

.quote-requirements label:has(input:checked) {
  color: var(--ink);
  border-color: rgba(215, 242, 91, 0.68);
  background:
    linear-gradient(135deg, rgba(215, 242, 91, 0.96), rgba(117, 230, 218, 0.88)),
    var(--lime);
}

.quote-requirements input {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  accent-color: var(--lime);
}

.quote-requirements span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.quote-result {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 8px;
  margin-top: 16px;
}

.quote-result div {
  min-width: 0;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(17, 16, 15, 0.5);
}

.quote-result span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
}

.quote-result strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.15;
}

.quote-submit {
  width: 100%;
  margin-top: 14px;
  color: var(--ink);
  background: var(--coral);
  border-color: rgba(255, 255, 255, 0.25);
}

.section {
  padding: 76px 0;
}

.intro-band {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 191, 165, 0.15), rgba(215, 242, 91, 0.26), rgba(255, 98, 74, 0.12)),
    #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.cta-layout h2,
.workflow-hero h1 {
  font-size: 3.55rem;
}

.intro-grid p,
.workflow-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  margin-bottom: 26px;
}

.platform-services {
  background:
    linear-gradient(180deg, rgba(245, 249, 252, 0.92), rgba(255, 255, 255, 0.98)),
    var(--paper);
}

.platform-card-grid {
  display: grid;
  gap: 16px;
}

.platform-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 16, 15, 0.055);
}

.service-card {
  min-height: 312px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.service-card.is-planned .service-status {
  color: rgba(17, 16, 15, 0.62);
  background: rgba(17, 16, 15, 0.06);
}

.service-card h3 {
  font-size: 1.28rem;
  line-height: 1.22;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 7px;
  margin: auto 0 0;
  padding: 0;
  color: rgba(17, 16, 15, 0.7);
  font-size: 0.9rem;
  font-weight: 740;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 16px;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2c6, #0066ff);
}

.pricing-preview {
  background:
    linear-gradient(90deg, rgba(0, 191, 165, 0.07), rgba(0, 102, 255, 0.06)),
    #fff;
}

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

.price-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.price-card span {
  color: #0066ff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 1.32rem;
}

.price-card p {
  margin: 0;
  color: var(--muted);
}

.price-card strong {
  align-self: end;
  margin-top: auto;
  color: #005a78;
  font-size: 0.94rem;
  line-height: 1.35;
}

.price-card.featured {
  border-color: rgba(0, 102, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(236, 255, 251, 0.92), rgba(237, 246, 255, 0.94)),
    #fff;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.industry-grid article {
  min-height: 218px;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.industry-grid span {
  color: #0066ff;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.industry-grid h3 {
  font-size: 1.16rem;
  line-height: 1.28;
}

.industry-grid p {
  margin: 0;
  color: var(--muted);
}

.resource-preview {
  background:
    linear-gradient(180deg, rgba(245, 249, 252, 0.98), rgba(255, 255, 255, 0.96)),
    var(--paper);
}

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

.resource-strip a {
  min-height: 170px;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.resource-strip a:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 102, 255, 0.26);
  box-shadow: 0 18px 38px rgba(0, 102, 255, 0.08);
}

.resource-strip svg {
  width: 26px;
  height: 26px;
  color: #007d71;
}

.resource-strip strong {
  font-size: 1.08rem;
}

.resource-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.material-matrix-section {
  background: #fff;
}

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

.material-matrix article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(13, 17, 23, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.96)),
    #fff;
}

.material-matrix span {
  color: var(--brand-blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.material-matrix h3 {
  font-size: 1.16rem;
}

.material-matrix p,
.material-matrix dd {
  color: #4b5563;
}

.material-matrix p {
  margin: 0;
  font-size: 0.92rem;
}

.material-matrix dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.material-matrix dl div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(13, 17, 23, 0.08);
}

.material-matrix dt,
.material-matrix dd {
  margin: 0;
  font-size: 0.84rem;
}

.material-matrix dt {
  color: #0d1117;
  font-weight: 850;
}

.business-layout .eyebrow.dark {
  color: #87fff3;
}

.commerce-grid,
.file-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.commerce-grid article,
.file-rule-grid article {
  min-width: 0;
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.commerce-grid strong,
.file-rule-grid strong {
  font-size: 1.18rem;
  line-height: 1.22;
}

.commerce-grid p,
.file-rule-grid p {
  margin: 0;
  color: var(--muted);
}

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

.capability-card {
  min-width: 0;
  min-height: 258px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.capability-card h3 {
  margin-top: 28px;
  font-size: 1.35rem;
}

.capability-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.capability-card span {
  margin-top: auto;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.file-ready-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.file-rule-grid article {
  background: #fff;
}

.file-rule-grid span {
  color: rgba(17, 16, 15, 0.22);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.card-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.accent-teal .card-icon {
  background: rgba(0, 191, 165, 0.16);
  color: #007d71;
}

.accent-coral .card-icon {
  background: rgba(255, 98, 74, 0.15);
  color: #d94a34;
}

.accent-lime .card-icon {
  background: rgba(215, 242, 91, 0.34);
  color: #5d7100;
}

.accent-violet .card-icon {
  background: rgba(115, 87, 255, 0.14);
  color: #5d48d8;
}

.process-section {
  background: #161412;
  color: #fff;
}

.process-section .eyebrow.dark {
  color: var(--lime);
}

.sticky-heading {
  position: sticky;
  top: 110px;
  align-self: start;
}

.inline-heading {
  margin-bottom: 24px;
}

.inline-heading h2 {
  max-width: 760px;
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(215, 242, 91, 0.48), rgba(0, 191, 165, 0.18) 46%, rgba(255, 98, 74, 0.18)),
    #f4f7e8;
}

.cta-layout {
  align-items: flex-end;
}

.cta-layout h2 {
  max-width: 760px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-footer {
  width: min(calc(100% - 32px), 1160px);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.88rem;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  width: min(360px, calc(100vw - 40px));
  padding: 14px 16px;
  color: #fff;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.flow-heading-copy {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.quote-flow-section {
  padding-top: 28px;
}

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

.formal-flow-grid article {
  min-width: 0;
  min-height: 270px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 16, 15, 0.055);
}

.formal-flow-grid span {
  color: rgba(17, 16, 15, 0.2);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.formal-flow-grid svg {
  width: 28px;
  height: 28px;
  color: #007d71;
  stroke-width: 2.1;
}

.formal-flow-grid h3 {
  font-size: 1.18rem;
}

.formal-flow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.case-count {
  color: var(--muted);
  font-weight: 780;
}

.kanban-column {
  min-height: 460px;
  min-width: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  scroll-snap-align: start;
}

.kanban-column header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.kanban-column h2 {
  font-size: 1rem;
  line-height: 1.2;
}

.kanban-column header span {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.82rem;
  font-weight: 820;
}

.case-card {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  padding: 13px;
  border: 1px solid rgba(17, 16, 15, 0.11);
  border-radius: var(--radius);
  background: #fff;
}

.case-card .case-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.case-card h3 {
  font-size: 0.98rem;
  line-height: 1.24;
}

.case-id {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 820;
  white-space: nowrap;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  color: rgba(17, 16, 15, 0.74);
  background: rgba(17, 16, 15, 0.06);
  font-size: 0.76rem;
  font-weight: 740;
}

.case-detail {
  display: grid;
  gap: 4px;
  color: rgba(17, 16, 15, 0.64);
  font-size: 0.78rem;
  line-height: 1.35;
}

.case-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.case-footer strong {
  color: var(--ink);
}

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

.case-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(17, 16, 15, 0.04);
  font-size: 0.78rem;
  font-weight: 780;
}

.case-actions button:not(:disabled):hover {
  border-color: rgba(0, 191, 165, 0.45);
  background: rgba(0, 191, 165, 0.1);
}

.case-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.column-empty {
  margin: 0;
  padding: 18px 12px;
  color: rgba(17, 16, 15, 0.46);
  border: 1px dashed rgba(17, 16, 15, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.54);
  font-size: 0.84rem;
  font-weight: 740;
  text-align: center;
}

.member-note {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.page-main {
  min-height: calc(100svh - 72px);
  background:
    linear-gradient(90deg, rgba(0, 191, 165, 0.08), rgba(255, 255, 255, 0) 52%, rgba(255, 98, 74, 0.08)),
    var(--paper);
}

.page-hero {
  padding-top: 118px;
  overflow: hidden;
}

.page-hero-grid,
.split-layout,
.timeline-layout,
.auth-layout,
.member-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 44px;
  align-items: center;
}

.page-hero h1,
.auth-copy h1,
.member-guest h1,
.member-dashboard h1 {
  max-width: 880px;
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1.02;
}

.page-hero p,
.auth-copy p,
.member-guest p,
.copy-block p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.home-company .split-layout {
  align-items: start;
}

.value-grid,
.featured-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-card,
.work-card,
.portfolio-card,
.auth-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.value-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
}

.value-card h3 {
  font-size: 1.28rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

.timeline-layout {
  align-items: start;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.timeline span {
  color: var(--lime);
  font-weight: 900;
}

.timeline h3 {
  margin-top: 10px;
  font-size: 1.34rem;
}

.timeline p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.portfolio-strip {
  background: #fff;
}

.work-card {
  overflow: hidden;
}

.work-card .project-canvas {
  width: 100%;
  height: 220px;
  display: block;
  background: #151311;
}

.work-card div {
  padding: 18px;
}

.work-card span,
.portfolio-body span {
  color: #007d71;
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.work-card h3 {
  margin-top: 8px;
  font-size: 1.28rem;
}

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

.portfolio-card {
  overflow: hidden;
}

.portfolio-card .project-canvas {
  width: 100%;
  height: 280px;
  display: block;
  background: #151311;
}

.portfolio-body {
  padding: 20px;
}

.portfolio-body h2 {
  margin-top: 8px;
  font-size: 1.55rem;
}

.portfolio-body p {
  margin: 12px 0 0;
  color: var(--muted);
}

.portfolio-body ul {
  display: grid;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  color: rgba(17, 16, 15, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  list-style: none;
}

.auth-main,
.member-main {
  background:
    linear-gradient(90deg, rgba(215, 242, 91, 0.25), rgba(0, 191, 165, 0.08) 42%, rgba(255, 98, 74, 0.1)),
    var(--paper);
}

.auth-section,
.member-section {
  padding-top: 120px;
}

.auth-layout {
  align-items: start;
}

.auth-copy {
  position: sticky;
  top: 112px;
}

.auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.auth-benefits span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(17, 16, 15, 0.72);
  font-size: 0.84rem;
  font-weight: 780;
}

.auth-benefits svg {
  width: 16px;
  height: 16px;
}

.auth-panels {
  display: grid;
  gap: 14px;
}

.auth-card {
  padding: 20px;
  box-shadow: 0 20px 50px rgba(17, 16, 15, 0.08);
}

.light-heading h2 {
  color: var(--ink);
  font-size: 1.7rem;
}

.light-field {
  color: var(--ink);
}

.light-field input,
.light-field select,
.light-field textarea {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.light-field input[readonly] {
  color: rgba(17, 16, 15, 0.62);
  background: rgba(17, 16, 15, 0.05);
}

.full-button {
  width: 100%;
  margin-top: 16px;
}

.member-guest {
  max-width: 760px;
  padding: 68px 0 96px;
}

.member-dashboard {
  padding-bottom: 44px;
}

.member-dashboard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.member-dashboard-head h1 {
  margin-top: 4px;
  font-size: 3.4rem;
  line-height: 1.05;
}

.member-dashboard-head p:last-child {
  margin-top: 8px;
  color: #5f6b7a;
}

.member-command-center {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid rgba(13, 17, 23, 0.1);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 18%, rgba(0, 242, 210, 0.1), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 255, 0.96));
  box-shadow: 0 18px 42px rgba(13, 17, 23, 0.05);
}

.member-command-copy h2 {
  margin-top: 4px;
  font-size: 1.75rem;
}

.member-command-copy > p:last-of-type {
  max-width: 680px;
  margin-top: 8px;
  color: #5f6b7a;
}

.member-workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

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

.member-summary article {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.member-summary span,
.member-empty {
  color: var(--muted);
  font-weight: 760;
}

.member-summary strong {
  font-size: 1.6rem;
  line-height: 1;
}

.member-section-nav {
  position: sticky;
  z-index: 8;
  top: 86px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin-bottom: 18px;
  padding: 5px;
  border: 1px solid rgba(13, 17, 23, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(13, 17, 23, 0.06);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.member-section-nav::-webkit-scrollbar {
  display: none;
}

.member-section-nav a {
  min-width: max-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1 0 auto;
  padding: 0 13px;
  color: #475569;
  border-radius: 5px;
  font-size: 0.86rem;
  font-weight: 820;
}

.member-section-nav a:first-child,
.member-section-nav a:hover {
  color: #0047b3;
  background: #eef7ff;
}

.member-section-nav svg {
  width: 16px;
  height: 16px;
}

.member-priority-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 34px;
  scroll-margin-top: 146px;
}

.member-priority-grid .member-workspace-panel {
  min-height: 100%;
}

.member-order-panel .member-status-list {
  grid-auto-rows: max-content;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 3px;
}

.member-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.member-section-heading h2 {
  margin-top: 4px;
  font-size: 1.7rem;
}

.member-section-heading > p {
  max-width: 500px;
  color: #5f6b7a;
  text-align: right;
}

.member-asset-workspace,
.member-cases,
.member-account-panel {
  scroll-margin-top: 146px;
}

.member-workspace {
  margin-bottom: 34px;
}

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

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

.member-account-panel {
  margin-top: 34px;
  border: 1px solid rgba(13, 17, 23, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(13, 17, 23, 0.04);
}

.member-account-panel > summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}

.member-account-panel > summary::-webkit-details-marker {
  display: none;
}

.member-account-panel > summary strong,
.member-account-panel > summary small {
  display: block;
}

.member-account-panel > summary strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.member-account-panel > summary small {
  margin-top: 3px;
  color: #5f6b7a;
}

.member-account-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #005eea;
  border-radius: 6px;
  background: #eef7ff;
}

.member-account-icon svg,
.member-account-chevron {
  width: 20px;
  height: 20px;
}

.member-account-chevron {
  transition: transform 180ms ease;
}

.member-account-panel[open] .member-account-chevron {
  transform: rotate(180deg);
}

.member-account-panel .member-profile {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(13, 17, 23, 0.08);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: none;
}

.member-profile-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.member-workspace-panel {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(13, 17, 23, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(13, 17, 23, 0.045);
}

.member-workspace-panel .panel-heading h2 {
  color: var(--ink);
  font-size: 1.32rem;
}

.member-model-list,
.member-quote-list,
.member-status-list,
.member-document-list {
  display: grid;
  gap: 9px;
}

.member-workspace-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(13, 17, 23, 0.08);
  border-radius: 6px;
  background: rgba(247, 250, 252, 0.86);
}

.member-workspace-row > span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #005a78;
  border: 1px solid rgba(0, 102, 255, 0.12);
  border-radius: 999px;
  background: rgba(237, 247, 255, 0.92);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.member-workspace-row strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.25;
}

.member-workspace-row small {
  display: block;
  margin-top: 3px;
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 720;
}

.document-row > span {
  color: #007d71;
  background: rgba(236, 255, 251, 0.94);
}

.member-status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(13, 17, 23, 0.08);
  border-radius: 6px;
  background: rgba(247, 250, 252, 0.86);
}

.member-status-row strong,
.member-status-row small {
  display: block;
  overflow-wrap: anywhere;
}

.member-status-row small {
  margin-top: 4px;
  color: #4b5563;
  font-size: 0.8rem;
  font-weight: 720;
}

.member-status-row span {
  color: var(--brand-blue);
  font-size: 0.84rem;
  font-weight: 900;
}

.member-status-row i {
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(13, 17, 23, 0.08);
}

.member-status-row i::after {
  content: "";
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00c9c0, #0066ff);
}

.member-empty.compact {
  padding: 14px;
  border: 1px dashed rgba(13, 17, 23, 0.12);
  border-radius: 6px;
  background: rgba(247, 250, 252, 0.72);
  font-size: 0.9rem;
}

.status-pill.calm {
  background: rgba(0, 191, 165, 0.15);
  color: #007d71;
}

.compact-heading h2 {
  font-size: 2rem;
}

.member-case-list {
  display: grid;
  gap: 10px;
}

.member-case-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.member-case-row h3 {
  font-size: 1.02rem;
}

.member-case-row > div {
  min-width: 0;
}

.member-case-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.member-case-row .member-case-track {
  margin-top: 10px;
  color: rgba(17, 16, 15, 0.64);
  font-size: 0.82rem;
  font-weight: 760;
}

.member-case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.member-case-meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: rgba(17, 16, 15, 0.68);
  background: rgba(0, 191, 165, 0.09);
  font-size: 0.78rem;
  font-weight: 760;
}

.member-case-row strong {
  white-space: nowrap;
}

.admin-main {
  background:
    linear-gradient(90deg, rgba(0, 191, 165, 0.1), rgba(255, 255, 255, 0) 45%, rgba(115, 87, 255, 0.08)),
    var(--paper);
}

.admin-hero {
  padding-top: 118px;
  padding-bottom: 28px;
}

.admin-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.admin-hero h1 {
  font-size: 4.5rem;
  line-height: 1;
}

.admin-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.admin-hero-actions,
.admin-button-row,
.admin-save-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.admin-workspace {
  padding-top: 20px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-metrics article,
.admin-list-card,
.admin-detail-card,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(17, 16, 15, 0.08);
}

.admin-metrics article {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.admin-metrics span,
.admin-panel-note,
.admin-empty {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
}

.admin-metrics strong {
  font-size: 2rem;
  line-height: 1;
}

.admin-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(17, 16, 15, 0.08);
}

.admin-tab {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: rgba(17, 16, 15, 0.72);
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  font-weight: 820;
  text-align: left;
}

.admin-tab svg {
  width: 17px;
  height: 17px;
}

.admin-tab:hover,
.admin-tab.is-active {
  color: var(--ink);
  border-color: rgba(0, 191, 165, 0.26);
  background: rgba(0, 191, 165, 0.1);
}

.admin-panel {
  display: none;
  padding: 16px;
}

.admin-panel.is-active {
  display: block;
}

.admin-panel-heading,
.admin-detail-head,
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-panel-heading {
  margin-bottom: 14px;
}

.admin-panel-heading h2 {
  font-size: 1.75rem;
}

.admin-grid,
.pricing-grid,
.pricing-rules-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 14px;
  align-items: start;
}

.pricing-grid {
  margin-bottom: 14px;
}

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

.admin-list-card,
.admin-detail-card {
  padding: 14px;
}

.admin-toolbar {
  align-items: end;
  margin-bottom: 12px;
}

.admin-toolbar .field {
  width: 100%;
  margin-top: 0;
}

.admin-order-list,
.admin-shipping-list,
.pricing-rule-list {
  display: grid;
  gap: 8px;
}

.admin-order-item {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
  text-align: left;
}

.admin-order-item:hover,
.admin-order-item.is-active {
  border-color: rgba(0, 191, 165, 0.38);
  background: rgba(0, 191, 165, 0.1);
}

.admin-order-item span,
.admin-order-item small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
}

.admin-order-item strong,
.admin-order-item small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-order-item strong {
  grid-column: 1;
  font-size: 0.96rem;
}

.admin-order-item em {
  grid-row: 1 / span 3;
  grid-column: 2;
  align-self: center;
  color: var(--ink);
  font-style: normal;
  font-weight: 840;
  white-space: nowrap;
}

.admin-detail-head {
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-detail-head span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 820;
}

.admin-detail-head h3 {
  margin-top: 4px;
  font-size: 1.22rem;
}

.admin-detail-head strong {
  white-space: nowrap;
}

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

.admin-form-grid .wide-field {
  grid-column: 1 / -1;
}

.admin-inline-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.admin-inline-summary article,
.admin-checklist-summary {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(17, 16, 15, 0.035);
}

.admin-inline-summary article span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 780;
}

.admin-inline-summary article strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.35;
}

.admin-checklist-summary {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-checklist-summary span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: rgba(17, 16, 15, 0.72);
  background: rgba(0, 191, 165, 0.1);
  font-size: 0.76rem;
  font-weight: 780;
}

.admin-checklist-summary span.warn {
  background: rgba(215, 242, 91, 0.28);
}

.admin-checklist-summary span.ok {
  color: #007d71;
  background: rgba(0, 191, 165, 0.14);
}

.admin-progress-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(220px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.admin-progress-column {
  min-width: 220px;
  min-height: 420px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 16, 15, 0.04);
}

.admin-progress-column header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.admin-progress-column h3 {
  font-size: 0.96rem;
}

.admin-progress-column header span {
  min-width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--lime);
  font-size: 0.78rem;
  font-weight: 840;
}

.admin-progress-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.admin-progress-card strong,
.admin-progress-card span,
.admin-progress-card small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-progress-card span,
.admin-progress-card small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 740;
}

.admin-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.admin-card-actions button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(17, 16, 15, 0.04);
  font-size: 0.76rem;
  font-weight: 780;
}

.admin-card-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.pricing-rule-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(92px, 0.7fr) minmax(92px, 0.7fr);
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(17, 16, 15, 0.035);
}

.pricing-rule-row label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
}

.pricing-rule-row input {
  width: 100%;
  min-height: 38px;
  min-width: 0;
  padding: 0 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font: inherit;
}

.admin-save-bar {
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(215, 242, 91, 0.12);
}

.admin-save-bar span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
}

.admin-empty {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.admin-empty.compact {
  padding: 12px;
}

@media (max-width: 1040px) {
  .hero h1 {
    font-size: 5rem;
  }

  .intro-grid h2,
  .section-heading h2,
  .cta-layout h2,
  .page-hero h1,
  .auth-copy h1,
  .member-guest h1,
  .member-dashboard h1,
  .admin-hero h1 {
    font-size: 2.85rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: 102px;
  }

  .quote-panel {
    max-width: 720px;
  }

  .capability-grid,
  .intro-grid,
  .process-layout,
  .service-system-layout,
  .file-ready-layout,
  .split-layout,
  .page-hero-grid,
  .timeline-layout,
  .auth-layout,
  .member-grid,
  .quote-proof-grid,
  .admin-hero-grid,
  .admin-shell,
  .admin-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .auth-copy {
    position: static;
  }

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

  .admin-sidebar {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-tab {
    justify-content: center;
  }

  .admin-hero-actions {
    justify-content: flex-start;
  }

  .value-grid,
  .featured-work-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 2px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 9px;
    font-size: 0.82rem;
  }

  .nav-cta {
    min-width: 46px;
    padding: 0 12px;
  }

  .nav-cta span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(17, 16, 15, 0.9), rgba(17, 16, 15, 0.58)),
      linear-gradient(0deg, rgba(17, 16, 15, 0.88), rgba(17, 16, 15, 0.12) 54%, rgba(17, 16, 15, 0.44));
  }

  .hero-content {
    min-height: 92svh;
    gap: 28px;
    padding: 132px 0 28px;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: 3.2rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .intro-grid h2,
  .section-heading h2,
  .cta-layout h2,
  .page-hero h1,
  .auth-copy h1,
  .member-guest h1,
  .member-dashboard h1 {
    font-size: 2.05rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats span {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .hero-stats span:last-child {
    border-bottom: 0;
  }

  .quote-panel {
    padding: 16px;
  }

  .material-property-row .custom-select-menu {
    width: 100%;
  }

  .field-grid,
  .lead-fields,
  .material-property-row,
  .quote-trust-row,
  .quote-requirements,
  .admin-metrics,
  .admin-form-grid,
  .admin-inline-summary,
  .pricing-rules-grid,
  .pricing-rule-row,
  .quote-result,
  .model-metrics,
  .mini-board,
  .trust-grid,
  .commerce-grid,
  .file-rule-grid,
  .formal-flow-grid,
  .ops-metrics,
  .value-grid,
  .featured-work-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .quote-result strong {
    font-size: 1.08rem;
  }

  .admin-hero {
    padding-top: 138px;
  }

  .admin-hero h1 {
    font-size: 2.5rem;
  }

  .formal-flow-grid article {
    min-height: auto;
  }

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

  .admin-tab {
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .admin-panel,
  .admin-list-card,
  .admin-detail-card {
    padding: 12px;
  }

  .admin-panel-heading,
  .admin-detail-head,
  .admin-toolbar,
  .admin-save-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-order-item {
    grid-template-columns: 1fr;
  }

  .admin-order-item em {
    grid-row: auto;
    grid-column: auto;
  }

  .quote-part-row,
  .dfm-panel-head {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .section {
    padding: 52px 0;
  }

  .admin-hero {
    padding-top: 154px;
    padding-bottom: 36px;
  }

  .inline-heading,
  .cta-layout,
  .workflow-hero-grid,
  .board-toolbar,
  .member-case-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions,
  .workflow-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .cta-actions .icon-button,
  .workflow-actions .icon-button {
    width: 100%;
  }

  .member-case-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-case-row strong {
    justify-self: start;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0;
  }

  .page-hero,
  .auth-section,
  .member-section {
    padding-top: 128px;
  }
}

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

/* CIS identity alignment: 3D FabLine / 3D列印工廠 */
body {
  color: var(--brand-charcoal);
  background:
    linear-gradient(90deg, rgba(0, 102, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 102, 255, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
}

.topbar,
.lightbar {
  top: 16px;
  min-height: 64px;
  color: var(--ink);
  border-color: rgba(13, 17, 23, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(13, 17, 23, 0.08);
}

.brand {
  gap: 11px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: url("/shared/assets/3dfab-tw-icon-20261008.svg") center / contain no-repeat;
  box-shadow: none;
}

.brand-name > span {
  color: var(--ink);
  font-weight: 860;
}

.brand-name small {
  color: var(--brand-blue);
  opacity: 1;
  letter-spacing: 0;
}

.dark-brand .brand-mark {
  box-shadow: none;
}

.nav-links,
.dark-links {
  color: rgba(13, 17, 23, 0.68);
}

.nav-links a:hover,
.dark-links a:hover,
.nav-links a[aria-current="page"],
.dark-links a[aria-current="page"] {
  color: var(--brand-blue);
  background: rgba(0, 102, 255, 0.08);
}

.icon-button {
  border-radius: 8px;
}

.icon-button.primary,
.quote-submit,
.admin-hero-actions .primary {
  color: #fff;
  border-color: rgba(0, 102, 255, 0.2);
  background: linear-gradient(135deg, var(--brand-blue), #0053d1);
  box-shadow: 0 16px 34px rgba(0, 102, 255, 0.2);
}

.icon-button.secondary,
.icon-button.outline,
.clear-button {
  color: var(--brand-blue);
  border-color: rgba(0, 102, 255, 0.24);
  background: #fff;
}

.icon-button.secondary:hover,
.icon-button.outline:hover,
.clear-button:hover {
  border-color: rgba(0, 102, 255, 0.48);
  background: rgba(0, 102, 255, 0.06);
}

.hero {
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 32%, rgba(0, 242, 210, 0.2), transparent 26%),
    radial-gradient(circle at 88% 64%, rgba(0, 102, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

#forgeScene {
  z-index: 0;
  opacity: 0.92;
}

.hero-bg-video {
  background: #f7f9fc;
}

.video-hero.is-video-ready #forgeScene,
.video-hero.is-video-poster #forgeScene {
  opacity: 0;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 132px;
  left: min(50vw, 620px);
  width: min(34vw, 390px);
  aspect-ratio: 1;
  pointer-events: none;
  background: url("/shared/assets/3dfab-tw-icon-20261008.svg") center / contain no-repeat;
  filter: drop-shadow(0 28px 42px rgba(0, 102, 255, 0.16));
  opacity: 0.92;
}

.video-hero::before {
  left: min(56vw, 720px);
  width: min(42vw, 480px);
  background:
    radial-gradient(circle at 42% 36%, rgba(0, 242, 210, 0.18), transparent 34%),
    radial-gradient(circle at 74% 62%, rgba(0, 102, 255, 0.12), transparent 36%);
  filter: none;
  opacity: 0.72;
}

.hero::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78) 46%, rgba(255, 255, 255, 0.18)),
    linear-gradient(0deg, rgba(247, 249, 252, 0.98), rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0.7));
}

.video-hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.2) 42%, rgba(255, 255, 255, 0.04) 70%, rgba(255, 255, 255, 0)),
    linear-gradient(0deg, rgba(247, 249, 252, 0.28), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0.1));
}

.hero-noise {
  z-index: 1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(0, 102, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.035) 1px, transparent 1px);
}

.hero-content {
  align-items: start;
}

.hero-copy {
  padding-top: 112px;
}

.video-hero .hero-copy {
  position: relative;
  isolation: isolate;
}

.video-hero .hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 56px -70px 104px -42px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54) 52%, rgba(255, 255, 255, 0.08) 82%, rgba(255, 255, 255, 0)),
    radial-gradient(circle at 16% 35%, rgba(255, 255, 255, 0.62), transparent 56%);
  filter: blur(18px);
}

.video-hero .eyebrow {
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.9);
}

.video-hero h1 {
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.26),
    0 14px 38px rgba(255, 255, 255, 0.52);
}

.video-hero .hero-lede {
  color: rgba(13, 17, 23, 0.84);
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.76);
}

.video-hero .hero-stats {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18));
  border-color: rgba(13, 17, 23, 0.18);
  backdrop-filter: blur(4px);
}

.video-hero .hero-stats span {
  color: rgba(13, 17, 23, 0.7);
  text-shadow: 0 1px 16px rgba(255, 255, 255, 0.72);
}

.video-hero .hero-stats strong {
  color: var(--ink);
}

.quote-panel {
  align-self: start;
}

.eyebrow,
.eyebrow.dark,
.process-section .eyebrow.dark {
  color: var(--brand-blue);
}

.hero h1,
.workflow-hero h1,
.page-hero h1,
.admin-hero h1 {
  color: var(--ink);
}

.hero-lede,
.hero-stats span,
.member-note {
  color: rgba(13, 17, 23, 0.68);
}

.hero-stats {
  border-color: rgba(13, 17, 23, 0.12);
}

.hero-stats strong {
  color: var(--ink);
}

.quote-panel {
  color: var(--ink);
  border: 1px solid rgba(13, 17, 23, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(13, 17, 23, 0.12);
}

.panel-heading h2 {
  color: var(--ink);
}

.status-pill {
  color: #fff;
  background: var(--brand-blue);
}

.model-drop {
  color: var(--ink);
  border-color: rgba(0, 102, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 242, 210, 0.1), rgba(0, 102, 255, 0.08)),
    #fff;
}

.model-drop:hover,
.model-drop.is-dragging {
  border-color: rgba(0, 102, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(0, 242, 210, 0.16), rgba(0, 102, 255, 0.1)),
    #fff;
}

.model-drop svg,
.quote-trust-row svg,
.commerce-grid svg,
.formal-flow-grid svg,
.trust-grid svg {
  color: var(--brand-blue);
}

.model-drop small,
.model-status span,
.model-metrics span,
.quote-part-row small,
.dfm-panel-head span,
.dfm-item small {
  color: rgba(13, 17, 23, 0.56);
}

.model-status,
.model-metrics div,
.quote-parts,
.dfm-panel,
.process-segmented,
.material-hint,
.quote-result div {
  border-color: rgba(13, 17, 23, 0.1);
  background: #fff;
}

.model-status strong,
.model-metrics strong,
.quote-parts > strong,
.dfm-panel-head strong,
.dfm-item strong,
.material-hint strong,
.quote-result strong {
  color: var(--ink);
}

.quote-trust-row span,
.quote-requirements label {
  color: rgba(13, 17, 23, 0.68);
  border-color: rgba(13, 17, 23, 0.09);
  background: #fff;
}

.model-preview {
  border-color: rgba(0, 102, 255, 0.12);
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 242, 210, 0.18), transparent 38%),
    linear-gradient(145deg, #f7fbff, #eef4ff);
}

.dfm-item {
  border-color: rgba(13, 17, 23, 0.08);
  background: rgba(0, 102, 255, 0.035);
}

.dfm-item > span,
.dfm-item.warn > span,
.dfm-item.ok > span {
  color: #fff;
  background: var(--brand-blue);
}

.field {
  color: rgba(13, 17, 23, 0.74);
}

.field input,
.field select,
.field textarea,
.light-field input,
.light-field select {
  color: var(--ink);
  border-color: rgba(13, 17, 23, 0.12);
  background: #fff;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(13, 17, 23, 0.38);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.custom-select-trigger:focus-visible,
.custom-select.is-open .custom-select-trigger {
  border-color: rgba(0, 102, 255, 0.82);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.custom-select-trigger {
  color: var(--ink);
  border-color: rgba(13, 17, 23, 0.12);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.custom-select-trigger:hover {
  border-color: rgba(0, 102, 255, 0.32);
  background: #fff;
}

.custom-select-value {
  color: var(--ink);
}

.custom-select-chevron {
  border-color: var(--brand-blue);
}

.custom-select-menu {
  border-color: rgba(0, 102, 255, 0.16);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(13, 17, 23, 0.16);
}

.custom-select-menu[hidden] {
  display: none;
}

.custom-select-menu::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 255, 0.28);
  background-clip: padding-box;
}

.custom-select-option {
  color: rgba(13, 17, 23, 0.76);
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  color: var(--brand-blue);
  border-color: rgba(0, 102, 255, 0.14);
  background: rgba(0, 102, 255, 0.06);
}

.custom-select-option.is-selected,
.process-option.is-active,
.quote-requirements label:has(input:checked) {
  color: #fff;
  border-color: rgba(0, 102, 255, 0.18);
  background: linear-gradient(135deg, var(--brand-blue), #00a9ff);
}

.process-option {
  color: rgba(13, 17, 23, 0.62);
}

.process-option:hover {
  color: var(--brand-blue);
  border-color: rgba(0, 102, 255, 0.16);
  background: rgba(0, 102, 255, 0.05);
}

.quote-result span {
  color: rgba(13, 17, 23, 0.54);
}

.trust-band,
.process-section {
  color: var(--ink);
  background: #fff;
}

.trust-grid article,
.process-list li,
.commerce-grid article,
.file-rule-grid article,
.capability-card,
.mini-board article,
.formal-flow-grid article,
.quote-proof-list article,
.ops-metrics article,
.case-card,
.kanban-column,
.portfolio-card,
.about-card,
.member-card,
.auth-card,
.admin-card {
  border-color: rgba(13, 17, 23, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(13, 17, 23, 0.06);
}

.trust-grid span,
.process-list span,
.file-rule-grid span,
.formal-flow-grid span,
.flow-preview-cards strong {
  color: var(--brand-blue);
}

.trust-grid p,
.process-list p,
.commerce-grid p,
.file-rule-grid p,
.formal-flow-grid p,
.section-copy,
.intro-grid p,
.workflow-hero p,
.page-hero p,
.admin-hero p {
  color: var(--muted);
}

.intro-band,
.file-ready-section,
.cta-band,
.workflow-main,
.quote-proof-band,
.page-main,
.admin-main {
  background:
    linear-gradient(120deg, rgba(0, 242, 210, 0.08), rgba(255, 255, 255, 0) 42%, rgba(0, 102, 255, 0.08)),
    var(--paper);
}

.accent-teal .card-icon,
.accent-coral .card-icon,
.accent-lime .card-icon,
.accent-violet .card-icon {
  color: var(--brand-blue);
  background: rgba(0, 102, 255, 0.08);
}

.card-icon {
  border: 1px solid rgba(0, 102, 255, 0.12);
}

.capability-card span {
  color: var(--brand-blue);
}

.workflow-hero,
.page-hero,
.admin-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(0, 242, 210, 0.18), transparent 30%),
    linear-gradient(180deg, #fff, #f7f9fc);
}

.site-footer {
  color: rgba(13, 17, 23, 0.58);
  border-top: 1px solid rgba(13, 17, 23, 0.08);
}

.toast {
  color: #fff;
  background: var(--brand-charcoal);
}

.kanban-column header span,
.case-actions button:not(:disabled):hover {
  color: #fff;
  background: var(--brand-blue);
}

.case-actions button {
  color: var(--brand-blue);
  background: #fff;
}

.member-note {
  color: rgba(13, 17, 23, 0.58);
}

/* Contrast pass for the light CIS theme */
.nav-links a[aria-current="page"],
.dark-links a[aria-current="page"] {
  color: #0047b3;
  background: #e8f1ff;
}

.model-drop small,
.model-status span,
.model-metrics span,
.quote-part-row small,
.dfm-panel-head span,
.dfm-item small,
.flow-preview-cards small,
.quote-result span,
.member-summary span,
.member-empty,
.admin-metrics span,
.admin-panel-note,
.admin-empty,
.admin-order-item span,
.admin-order-item small,
.admin-progress-card span,
.admin-progress-card small {
  color: #4b5563;
}

.material-hint {
  color: #334155;
}

.material-hint span,
.material-hint small {
  color: #4b5563;
}

.material-hint strong {
  color: #0d1117;
}

.quote-panel small,
.quote-panel .field span,
.quote-panel .process-option small {
  color: #4b5563;
}

.quote-panel .process-option strong {
  color: #334155;
}

.quote-panel .process-option.is-active,
.quote-panel .process-option.is-active strong,
.quote-panel .process-option.is-active small,
.quote-requirements label:has(input:checked),
.quote-requirements label:has(input:checked) span {
  color: #fff;
}

.timeline article {
  border-color: rgba(13, 17, 23, 0.1);
  background: #fff;
  box-shadow: 0 18px 46px rgba(13, 17, 23, 0.06);
}

.timeline span {
  color: var(--brand-blue);
}

.timeline h3 {
  color: var(--ink);
}

.timeline p,
.work-card p,
.portfolio-body p,
.member-case-row p,
.member-case-row .member-case-track {
  color: #4b5563;
}

.status-pill.calm {
  color: #0047b3;
  background: #e8f1ff;
}

.member-case-meta span {
  color: #334155;
  background: #edf7ff;
}

.light-field input[readonly] {
  color: #334155;
}

/* Legacy button aliases: canonical shared tokens own the public palette. */
:root {
  --cis-button-primary: var(--fl-color-brand, #0066ff);
  --cis-button-primary-hover: var(--fl-color-brand-hover, #004ed1);
  --cis-button-border: var(--fl-color-border, #dce4f0);
  --cis-button-surface: var(--fl-color-surface, #fff);
  --cis-button-surface-hover: var(--fl-color-surface-muted, #f5f8fc);
  --cis-button-soft: var(--fl-color-surface, #fff);
  --cis-button-soft-hover: var(--fl-color-surface-muted, #f5f8fc);
  --cis-button-shadow: var(--fl-shadow-sm, 0 6px 18px rgba(13, 17, 23, 0.06));
  --cis-button-border-color: var(--fl-color-border, #dce4f0);
}

.icon-button,
.quote-submit,
.case-actions button,
.admin-card-actions button,
.admin-order-item,
.admin-tab,
.process-option,
.custom-select-trigger,
.custom-select-option.is-selected,
.quote-requirements label:has(input:checked) {
  color: var(--ink);
  border-color: var(--cis-button-border-color);
  background: var(--cis-button-surface);
  box-shadow: 0 8px 18px rgba(0, 102, 255, 0.06);
}

.icon-button.primary,
.icon-button.dark-button,
.quote-submit,
.process-option.is-active,
.admin-tab.is-active,
.case-actions button:not(:disabled):hover,
.admin-card-actions button:not(:disabled):hover,
.custom-select-option.is-selected,
.quote-requirements label:has(input:checked) {
  color: #fff;
  border-color: rgba(0, 102, 255, 0.38);
  background: var(--cis-button-primary);
  box-shadow: var(--cis-button-shadow);
  text-shadow: 0 1px 1px rgba(0, 23, 45, 0.18);
}

.icon-button:hover,
.process-option:hover,
.admin-tab:hover,
.admin-order-item:hover,
.custom-select-trigger:hover,
.custom-select.is-open .custom-select-trigger,
.case-actions button:not(:disabled):hover,
.admin-card-actions button:not(:disabled):hover {
  color: var(--ink);
  border-color: var(--cis-button-border-color);
  background: var(--cis-button-surface-hover);
  box-shadow: 0 12px 24px rgba(0, 102, 255, 0.1);
  transform: translateY(-1px);
}

.icon-button.primary:hover,
.icon-button.dark-button:hover,
.quote-submit:hover,
.process-option.is-active:hover,
.admin-tab.is-active:hover,
.case-actions button:not(:disabled):hover,
.admin-card-actions button:not(:disabled):hover,
.custom-select-option.is-selected:hover,
.quote-requirements label:has(input:checked):hover {
  color: #fff;
  background: var(--cis-button-primary-hover);
  box-shadow: 0 16px 34px rgba(0, 102, 255, 0.2), 0 8px 18px rgba(0, 125, 137, 0.14);
}

.icon-button svg,
.process-option svg,
.admin-tab svg,
.case-actions button svg,
.admin-card-actions button svg,
.status-pill svg {
  color: currentColor;
}

.icon-button span,
.icon-button strong,
.icon-button small,
.quote-submit span,
.quote-panel .process-option.is-active,
.quote-panel .process-option.is-active strong,
.quote-panel .process-option.is-active small,
.process-option strong,
.process-option small,
.admin-tab span,
.custom-select-trigger,
.case-actions button,
.admin-card-actions button,
.admin-order-item,
.admin-order-item strong,
.admin-order-item span,
.admin-order-item small,
.admin-order-item em,
.custom-select-option.is-selected,
.quote-requirements label:has(input:checked) span,
.status-pill {
  color: currentColor;
}

.icon-button.primary,
.icon-button.dark-button,
.quote-submit,
.process-option.is-active,
.process-option.is-active strong,
.process-option.is-active small,
.admin-tab.is-active,
.admin-tab.is-active span,
.custom-select-option.is-selected,
.quote-requirements label:has(input:checked),
.quote-requirements label:has(input:checked) span {
  color: #fff;
}

.icon-button.secondary,
.icon-button.outline,
.icon-button.light,
.icon-button.secondary.light,
.status-pill,
.status-pill.calm {
  color: var(--ink);
  border-color: transparent;
  background: var(--cis-button-surface);
  box-shadow: 0 8px 18px rgba(0, 102, 255, 0.06);
}

.status-pill,
.status-pill.calm {
  color: #005a78;
  background:
    linear-gradient(135deg, rgba(236, 255, 251, 0.96), rgba(235, 247, 255, 0.96)) padding-box,
    linear-gradient(135deg, rgba(0, 242, 210, 0.42), rgba(0, 102, 255, 0.34)) border-box;
}

.process-option:not(.is-active),
.admin-tab:not(.is-active),
.admin-order-item:not(.is-active),
.case-actions button,
.admin-card-actions button {
  box-shadow: none;
}

.process-option:not(.is-active) {
  color: var(--ink);
  background: var(--cis-button-soft);
}

.admin-tab:not(.is-active),
.admin-order-item:not(.is-active),
.case-actions button,
.admin-card-actions button {
  color: var(--ink);
  background: var(--cis-button-soft);
}

.admin-order-item:hover,
.admin-order-item.is-active {
  color: var(--ink);
  border-color: transparent;
  background: var(--cis-button-soft-hover);
  box-shadow: 0 10px 22px rgba(0, 102, 255, 0.08);
}

.admin-order-item.is-active {
  box-shadow: inset 3px 0 0 #0066ff, 0 10px 22px rgba(0, 102, 255, 0.08);
}

.custom-select-trigger,
.custom-select-option:not(.is-selected) {
  box-shadow: none;
}

@media (max-width: 980px) {
  .member-dashboard-head h1 {
    font-size: 2.7rem;
  }

  .member-command-center,
  .member-priority-grid {
    grid-template-columns: 1fr;
  }

  .member-command-center {
    align-items: start;
  }

  .member-section-nav {
    top: 78px;
  }

  .topbar,
  .lightbar {
    align-items: flex-start;
  }

  .hero-content,
  .page-hero-grid,
  .workflow-hero-grid,
  .admin-hero-grid,
  .member-workspace-hero,
  .intro-grid,
  .business-layout,
  .service-system-layout,
  .file-ready-layout,
  .process-layout,
  .quote-proof-grid {
    grid-template-columns: 1fr;
  }

  .workflow-actions,
  .admin-hero-actions,
  .business-actions,
  .cta-actions {
    justify-content: flex-start;
  }

  .service-card-grid,
  .pricing-teaser-grid,
  .industry-grid,
  .resource-strip,
  .material-matrix,
  .member-flow-map,
  .member-workspace-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero::before {
    top: 118px;
    left: auto;
    right: 22px;
    width: min(42vw, 250px);
    opacity: 0.32;
  }

  .hero-copy {
    padding-top: 38px;
  }

  .video-hero .hero-copy::before {
    inset: 4px -28px 76px -20px;
    filter: blur(16px);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.46) 62%, rgba(255, 255, 255, 0.06)),
      radial-gradient(circle at 26% 26%, rgba(255, 255, 255, 0.56), transparent 58%);
  }
}

@media (max-width: 620px) {
  .member-dashboard-head {
    align-items: flex-start;
    gap: 12px;
    padding-top: 12px;
  }

  .member-dashboard-head h1 {
    font-size: 1.85rem;
  }

  .member-dashboard-head > div > p:last-child {
    max-width: 290px;
  }

  .member-dashboard-head .icon-button {
    min-width: 76px;
    flex: 0 0 auto;
    margin-top: 2px;
    padding-inline: 10px;
  }

  .member-dashboard-head .icon-button span {
    display: inline;
    font-size: 0.8rem;
  }

  .member-command-center {
    gap: 20px;
    padding: 18px;
  }

  .member-command-copy h2 {
    font-size: 1.45rem;
  }

  .member-workspace-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-workspace-actions .icon-button {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    padding-inline: 11px;
    font-size: 0.82rem;
  }

  .member-section-nav {
    top: 74px;
    margin-inline: -2px;
  }

  .member-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .member-section-heading > p {
    text-align: left;
  }

  .member-asset-workspace .member-workspace-grid,
  .member-profile-fields {
    grid-template-columns: 1fr;
  }

  .member-account-panel > summary {
    padding-inline: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .topbar,
  .lightbar {
    width: min(calc(100% - 20px), 1160px);
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 0;
    font-size: 0.78rem;
  }

  .nav-links a {
    min-height: 32px;
    padding: 0 6px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.84) 58%, rgba(247, 249, 252, 0.98));
  }

  .hero::before {
    display: none;
  }

  .material-property-row,
  .member-grid,
  .member-workspace-hero,
  .member-workspace-grid,
  .field-grid,
  .lead-fields,
  .quote-result,
  .quote-requirements,
  .quote-trust-row,
  .quote-stepper,
  .model-metrics,
  .commerce-grid,
  .file-rule-grid,
  .capability-grid,
  .service-card-grid,
  .pricing-teaser-grid,
  .industry-grid,
  .resource-strip,
  .material-matrix,
  .formal-flow-grid,
  .member-flow-map,
  .ops-metrics {
    grid-template-columns: 1fr;
  }

  .quote-stepper span {
    min-height: 36px;
  }

  .member-workspace-row {
    grid-template-columns: 66px minmax(0, 1fr);
  }
}

/* Final contrast fixes for nav auth CTA and quote process cards */
.nav-cta.auth-link,
.lightbar .nav-cta.auth-link,
.topbar.lightbar .nav-cta.auth-link.dark-button {
  color: #0d1117;
  border-color: rgba(0, 102, 255, 0.2);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(0, 102, 255, 0.42), rgba(0, 242, 210, 0.34)) border-box;
  text-shadow: none;
}

.topbar:not(.lightbar) .nav-cta.auth-link {
  color: #0d1117;
  border-color: rgba(0, 102, 255, 0.2);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(0, 102, 255, 0.42), rgba(0, 242, 210, 0.34)) border-box;
  text-shadow: none;
}

.nav-cta.auth-link svg,
.nav-cta.auth-link span {
  color: currentColor;
  stroke: currentColor;
}

.nav-cta.auth-link:hover,
.lightbar .nav-cta.auth-link:hover,
.topbar.lightbar .nav-cta.auth-link.dark-button:hover {
  color: #0047b3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 249, 255, 0.98)) padding-box,
    linear-gradient(135deg, rgba(0, 102, 255, 0.5), rgba(0, 242, 210, 0.42)) border-box;
}

.topbar:not(.lightbar) .nav-cta.auth-link:hover {
  color: #0047b3;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 249, 255, 0.98)) padding-box,
    linear-gradient(135deg, rgba(0, 102, 255, 0.5), rgba(0, 242, 210, 0.42)) border-box;
}

.quote-panel .process-segmented {
  border-color: rgba(13, 17, 23, 0.1);
  background: #f7fbff;
}

.quote-panel .process-option,
.quote-panel .process-option:not(.is-active) {
  color: #334155;
  border-color: rgba(13, 17, 23, 0.1);
  background: #ffffff;
  box-shadow: none;
  text-shadow: none;
}

.quote-panel .process-option strong,
.quote-panel .process-option small,
.quote-panel .process-option svg {
  color: currentColor;
  opacity: 1;
}

.quote-panel .process-option small {
  color: #5f6b7a;
}

.quote-panel .process-option:hover,
.quote-panel .process-option:not(.is-active):hover {
  color: #0047b3;
  border-color: rgba(0, 102, 255, 0.24);
  background: #eef7ff;
}

.quote-panel .process-option.is-active,
.quote-panel .process-option.is-active:hover {
  color: #ffffff;
  border-color: rgba(0, 102, 255, 0.46);
  background:
    radial-gradient(circle at 18% 16%, rgba(0, 242, 210, 0.22), transparent 34%),
    linear-gradient(135deg, #005eea 0%, #006fc6 50%, #007d89 100%);
  box-shadow: 0 12px 26px rgba(0, 102, 255, 0.16);
  text-shadow: 0 1px 1px rgba(0, 23, 45, 0.2);
}

.quote-panel .process-option.is-active strong,
.quote-panel .process-option.is-active small,
.quote-panel .process-option.is-active svg {
  color: #ffffff;
  opacity: 1;
}

/* Hero video background, using the local reference showreel with Weerg-like centered 16:9 scaling */
.video-hero {
  --hero-video-offset: 80px;
  --hero-video-stage: clamp(670px, 74svh, 720px);
  background: #f7f9fc;
}

.hero-bg-video {
  pointer-events: none;
}

.hero-bg-video[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .video-hero {
    --hero-video-stage: 503px;
  }

  .hero-bg-video {
    width: 1280px;
  }

  .video-hero::before {
    display: none;
  }

  .video-hero::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.18) 48%, rgba(247, 249, 252, 0.52));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    display: none;
  }
}
}

/* Public support replies use the existing member typography and width. */
.member-support-response {
  min-width: 0;
  max-width: 100%;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.member-support-response p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.7;
}
