:root {
  color-scheme: dark;
  --bg: #111820;
  --bg-soft: #151e27;
  --panel: #18222c;
  --panel-2: #1d2934;
  --panel-3: #24333f;
  --line: #34434d;
  --line-strong: #4b5f6b;
  --text: #edf4f2;
  --muted: #84949d;
  --muted-2: #60717b;
  --accent: #69e3ae;
  --accent-strong: #3fcf91;
  --accent-dark: #102c22;
  --orange: #ff9466;
  --yellow: #f2c66d;
  --danger: #ff6f72;
  --shadow: 0 28px 90px #0a1118a6;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: Inter, "Segoe UI", Arial, sans-serif; }
body { min-width: 320px; overflow-x: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }

.site-header {
  position: sticky; z-index: 30; top: 0; display: flex; align-items: center; gap: 34px;
  height: 72px; padding: 0 clamp(18px, 4vw, 68px); border-bottom: 1px solid #ffffff0e;
  background: #080c10e8; backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; padding: 0; border: 0; color: var(--text); background: none; text-align: left; text-decoration: none; cursor: pointer; }
.brand-symbol { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #06110c; background: var(--accent); box-shadow: inset 0 0 0 1px #fff3; }
.brand-symbol svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linejoin: round; stroke-width: 2.4; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .015em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.primary-nav { display: flex; align-self: stretch; align-items: center; gap: 5px; }
.nav-link { position: relative; display: grid; place-items: center; height: 100%; padding: 0 13px; border: 0; color: #a7b2b8; background: none; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.nav-link::after { position: absolute; right: 13px; bottom: -1px; left: 13px; height: 2px; background: var(--accent); content: ""; opacity: 0; transform: scaleX(.4); transition: .2s ease; }
.nav-link:hover, .nav-link.active { color: #f5faf8; }
.nav-link.active::after { opacity: 1; transform: none; }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; color: #aebbc0; background: #111920; font-size: 9px; font-weight: 800; cursor: pointer; transition: .18s ease; }
.theme-toggle:hover { border-color: var(--line-strong); color: var(--text); background: var(--panel-3); }
.theme-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.theme-toggle .theme-moon { display: none; }
.service-status { display: flex; align-items: center; gap: 7px; color: #7e8c94; font-size: 10px; font-weight: 700; letter-spacing: .035em; }
.service-status i, .overline i, .viewer-label i, .engine-status > i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #69e3ae14; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 16px; color: #e9f0ee; background: #131c24; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.button:hover:not(:disabled) { border-color: #526773; background: #192630; transform: translateY(-1px); }
.button.primary { border-color: var(--accent); color: #06130d; background: var(--accent); box-shadow: 0 8px 24px #42d69622; }
.button.primary:hover:not(:disabled) { border-color: #8cf3c5; background: #83edbf; box-shadow: 0 10px 30px #42d69635; }
.button.ghost { background: #101820aa; }
.button.compact { min-height: 36px; padding: 8px 13px; font-size: 11px; }
.button.wide { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .38; }

main { min-height: calc(100vh - 72px); }
.app-page { min-height: 70vh; }
.section-shell { width: min(1480px, calc(100% - clamp(28px, 7vw, 110px))); margin-right: auto; margin-left: auto; }
.overline { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

.hero { display: grid; grid-template-columns: minmax(0, .96fr) minmax(500px, 1.04fr); gap: clamp(42px, 7vw, 104px); align-items: center; min-height: min(820px, calc(100vh - 72px)); padding-top: 66px; padding-bottom: 70px; }
.hero::before { position: absolute; z-index: -1; top: 72px; left: 0; width: 46vw; height: 650px; background: radial-gradient(circle at 20% 45%, #15322980, transparent 64%); content: ""; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 19px 0 23px; font-size: clamp(52px, 6.3vw, 96px); font-weight: 730; letter-spacing: -.065em; line-height: .91; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p { max-width: 650px; margin: 0 0 31px; color: #a0adb2; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.65; }
.hero-drop { display: grid; grid-template-columns: auto minmax(200px, 1fr) auto auto; gap: 13px; align-items: center; max-width: 790px; padding: 16px; border: 1px dashed #3c535f; border-radius: 15px; background: #0c1319d9; box-shadow: 0 20px 55px #0005; transition: .2s ease; }
.hero-drop:hover, .hero-drop.dragging { border-color: var(--accent); background: #0e1d18; box-shadow: 0 20px 60px #0006, 0 0 0 4px #69e3ae0c; }
.drop-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--accent); background: #153126; }
.drop-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.drop-copy { min-width: 0; }
.drop-copy strong, .drop-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-copy strong { margin-bottom: 6px; font-size: 13px; }
.drop-copy span { color: var(--muted); font-size: 10px; }
.drop-security { grid-column: 2 / -1; display: flex; align-items: center; gap: 6px; color: var(--muted-2); font-size: 9px; }
.drop-security svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.restore-upload { grid-column: 2 / -1; display: flex; align-items: center; gap: 9px; min-width: 0; }
.restore-upload .text-button { flex: none; }
.restore-upload span { overflow: hidden; color: var(--muted-2); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.hero-proof { display: flex; gap: 34px; margin-top: 29px; }
.hero-proof > div { display: flex; flex-direction: column; padding-right: 28px; border-right: 1px solid var(--line); }
.hero-proof > div:last-child { border: 0; }
.hero-proof strong { font-size: 18px; }
.hero-proof span { margin-top: 5px; color: var(--muted); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }

.production-visual { position: relative; min-height: 610px; overflow: hidden; border: 1px solid #25343e; border-radius: 24px; background: #0b1117; box-shadow: var(--shadow); }
.production-visual::after { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px #ffffff0a; content: ""; pointer-events: none; }
.visual-glow { position: absolute; top: -25%; left: 10%; width: 80%; height: 70%; background: radial-gradient(ellipse, #2f9d7240, transparent 65%); }
.visual-toolbar { position: relative; z-index: 2; display: flex; justify-content: space-between; padding: 17px 21px; border-bottom: 1px solid #202d35; color: #778891; font: 800 9px/1 monospace; letter-spacing: .09em; }
.visual-toolbar span { display: flex; align-items: center; gap: 7px; }
.visual-toolbar i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cad-stage { position: relative; height: 330px; overflow: hidden; border-bottom: 1px solid #202d35; perspective: 800px; }
.cad-grid { position: absolute; inset: 0; background-image: linear-gradient(#21303855 1px, transparent 1px), linear-gradient(90deg, #21303855 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(to bottom, #000, transparent); transform: perspective(400px) rotateX(62deg) scale(1.55) translateY(-1%); transform-origin: bottom; }
.part-iso { position: absolute; top: 49%; left: 50%; width: 210px; height: 118px; transform: translate(-50%, -50%) rotate(-8deg) skewY(3deg); animation: partFloat 5s ease-in-out infinite; }
.part-face { position: absolute; display: block; border: 1px solid #8df1c7aa; background: #3abb8885; box-shadow: inset 0 0 28px #07130d80; }
.part-face.front { inset: 0; clip-path: polygon(0 23%, 100% 0, 100% 76%, 0 100%); }
.part-face.top { top: -40px; left: 0; width: 100%; height: 66px; clip-path: polygon(0 62%, 100% 0, 100% 38%, 0 100%); background: #65deb09c; }
.part-face.side { top: -20px; right: -45px; width: 46px; height: 111px; clip-path: polygon(0 0,100% 21%,100% 100%,0 79%); background: #207356b0; }
.part-hole { position: absolute; z-index: 2; width: 20px; height: 20px; border: 3px solid #a5f5d2; border-radius: 50%; background: #0c1612; box-shadow: 0 0 0 2px #0b3c2f; }
.part-hole.h1 { top: 30px; left: 35px; }.part-hole.h2 { top: 36px; left: 94px; }.part-hole.h3 { top: 41px; right: 35px; }
.scan-line { position: absolute; z-index: 4; top: 17%; bottom: 7%; left: 19%; width: 1px; background: var(--accent); box-shadow: 0 0 16px 4px #69e3ae66; animation: scan 4.4s ease-in-out infinite; }
.measure-tag { position: absolute; z-index: 4; padding: 5px 7px; border: 1px solid #6ce4b45c; border-radius: 5px; color: #a8f5d6; background: #0d201a; font: 700 8px/1 monospace; }
.tag-a { top: 25%; left: 16%; }.tag-b { top: 37%; right: 14%; }.tag-c { right: 25%; bottom: 14%; }
.production-timeline { display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 20px 17px; }
.timeline-item { position: relative; display: flex; gap: 9px; min-width: 0; color: #62747d; }
.timeline-item > span { display: grid; place-items: center; width: 25px; height: 25px; flex: none; border: 1px solid #31414a; border-radius: 50%; font-size: 8px; font-weight: 900; }
.timeline-item strong, .timeline-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline-item strong { color: #b4c0c4; font-size: 9px; }.timeline-item small { margin-top: 4px; font-size: 7px; }
.timeline-item > i { position: absolute; top: 12px; right: 8px; left: 36px; height: 1px; background: #293841; }
.timeline-item.active > span { border-color: var(--accent); color: #06130d; background: var(--accent); }
.visual-price { display: grid; grid-template-columns: 1fr auto; align-items: end; margin: 0 20px 20px; padding: 17px 18px; border: 1px solid #263740; border-radius: 12px; background: #101921; }
.visual-price span { color: var(--muted); font-size: 9px; text-transform: uppercase; }.visual-price strong { grid-row: span 2; font-size: 23px; }.visual-price small { color: #61737d; font-size: 8px; }

.workflow-overview { padding-top: 110px; padding-bottom: 125px; }
.section-heading { display: grid; grid-template-columns: minmax(350px, 1fr) minmax(280px, .65fr); gap: 30px; align-items: end; margin-bottom: 46px; }
.section-heading .overline { grid-column: 1 / -1; }
.section-heading h2 { max-width: 800px; margin: -12px 0 0; font-size: clamp(34px, 4vw, 59px); line-height: 1.04; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.workflow-cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-cards article { position: relative; min-height: 290px; padding: 25px; border-right: 1px solid var(--line); transition: .25s ease; }
.workflow-cards article:last-child { border: 0; }.workflow-cards article:hover { background: #0d151b; transform: translateY(-5px); }
.workflow-cards article > span { color: #5d6d76; font: 800 9px/1 monospace; }
.workflow-icon { position: relative; width: 72px; height: 72px; margin: 45px 0 27px; border: 1px solid #32434c; border-radius: 18px; background: #111a21; }
.workflow-icon::before, .workflow-icon::after, .workflow-icon i { position: absolute; content: ""; }
.workflow-icon.laser::before { top: 14px; left: 34px; width: 2px; height: 44px; background: var(--accent); box-shadow: 0 0 9px var(--accent); transform: rotate(34deg); }.workflow-icon.laser::after { right: 13px; bottom: 14px; left: 13px; height: 9px; border: 1px solid #687b83; transform: skewX(-20deg); }
.workflow-icon.bend::before { top: 21px; left: 15px; width: 39px; height: 31px; border-top: 5px solid var(--accent); border-right: 5px solid var(--accent); transform: skewY(-28deg); }.workflow-icon.bend::after { top: 35px; left: 13px; width: 45px; border-top: 1px dashed #596b74; }
.workflow-icon.coat::before { inset: 17px; border: 2px solid var(--accent); border-radius: 50% 45% 55% 40%; }.workflow-icon.coat::after { top: 8px; right: 10px; width: 17px; height: 17px; border: 2px solid #89eac1; border-radius: 50%; }
.workflow-icon.quote::before { inset: 14px 18px; border: 2px solid #71858e; border-radius: 3px; }.workflow-icon.quote::after { top: 26px; left: 25px; width: 21px; height: 13px; border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }
.workflow-cards h3 { margin: 0 0 11px; font-size: 18px; }.workflow-cards p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

.production-studio { padding: 50px 0 110px; }
.studio-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.studio-header h2 { margin: 8px 0 0; font-size: 31px; letter-spacing: -.035em; }
.studio-header-meta { display: flex; align-items: center; gap: 10px; }.file-badge { max-width: 300px; overflow: hidden; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; color: #9eadb4; background: #0d141a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.wizard-steps { display: grid; grid-template-columns: repeat(8, minmax(118px, 1fr)); overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #0b1116; scrollbar-width: thin; }
.wizard-step { position: relative; display: flex; gap: 9px; align-items: center; min-width: 126px; padding: 15px 13px; border: 0; border-right: 1px solid var(--line); color: #60717a; background: transparent; cursor: pointer; text-align: left; }
.wizard-step:last-child { border: 0; }.wizard-step:hover { color: #b8c3c7; background: #10181f; }
.wizard-step > span { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border: 1px solid #33434b; border-radius: 50%; font: 800 9px/1 monospace; }
.wizard-step strong, .wizard-step small { display: block; white-space: nowrap; }.wizard-step strong { font-size: 10px; }.wizard-step small { margin-top: 3px; font-size: 8px; font-weight: 600; }
.wizard-step.active { color: #dff9ee; background: #11231c; box-shadow: inset 0 -2px var(--accent); }.wizard-step.active > span { border-color: var(--accent); color: #07140e; background: var(--accent); }
.wizard-step.complete > span { border-color: #2f9c72; color: var(--accent); background: #112b21; }.wizard-step.complete > span::after { content: "✓"; }.wizard-step.complete > span { font-size: 0; }
.studio-status { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 44px; color: var(--muted); font-size: 10px; }
.studio-status > div { display: flex; align-items: center; gap: 8px; }.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #586771; }.status-dot.busy { background: var(--yellow); box-shadow: 0 0 0 4px #f2c66d18; animation: pulse 1s infinite; }.status-dot.ok { background: var(--accent); }.status-dot.error { background: var(--danger); }
.status-links { margin-left: auto; }.status-links a { color: var(--accent); text-decoration: none; }.status-links span { color: #52636c; }

.preview-workspace { display: grid; grid-template-columns: minmax(470px, 1fr) 11px minmax(360px, var(--process-width, 450px)); gap: 0; align-items: stretch; min-width: 0; }
.preview-workspace.features-open { grid-template-columns: minmax(470px, 1fr) 11px minmax(360px, var(--process-width, 450px)); }
.viewer-shell { position: relative; height: clamp(560px, 72vh, 840px); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius) 0 0 var(--radius); background: radial-gradient(circle at 50% 42%, #f8fafb, #eef1f3 68%, #e3e8eb); box-shadow: 0 25px 70px #0b131b5c; }
.viewer-shell.flat-mode { background: #eef1f3; }
#viewer { position: absolute !important; inset: 0; width: 100%; height: 100%; }
.viewer-label { position: absolute; z-index: 4; top: 16px; left: 17px; display: flex; flex-direction: column; gap: 5px; pointer-events: none; }.viewer-label span { display: flex; align-items: center; gap: 7px; color: #354149; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.viewer-label small { color: #687981; font-size: 8px; }
.viewer-shell.flat-mode .viewer-label span { color: #354149; }.viewer-tools { position: absolute; z-index: 5; top: 14px; right: 14px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; padding-left: 210px; }.viewer-tools .tool { min-height: 34px; padding: 7px 13px; border-color: #364750; background: #101920dc; backdrop-filter: blur(10px); font-size: 9px; }.viewer-tools .tool.accent { border-color: #2d9d73; color: #08130e; background: var(--accent); }
.workspace-divider { position: relative; z-index: 7; display: grid; place-items: center; width: 11px; min-width: 11px; padding: 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: #0a1015; cursor: col-resize; touch-action: none; }
.workspace-divider::before { position: absolute; inset: 0 -4px; content: ""; }
.workspace-divider i { width: 3px; height: 62px; border-radius: 99px; background: #31434d; box-shadow: 0 0 0 1px #0007; transition: .18s ease; }
.workspace-divider:hover i, .workspace-divider:focus i, .workspace-divider.dragging i { height: 92px; background: var(--accent); box-shadow: 0 0 15px #69e3ae66; }
.workspace-divider:focus { outline: none; }
.empty-state { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: var(--muted); pointer-events: none; }.empty-state strong { color: #dde7e8; font-size: 15px; }.empty-state > span { font-size: 10px; }.empty-orbit { position: relative; width: 76px; height: 76px; margin-bottom: 12px; border: 1px solid #33444d; border-radius: 50%; animation: orbit 9s linear infinite; }.empty-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }.empty-orbit i:nth-child(1) { top: -4px; left: 34px; }.empty-orbit i:nth-child(2) { right: 5px; bottom: 7px; background: #4a6470; }.empty-orbit i:nth-child(3) { bottom: 8px; left: 4px; background: #2c3e47; }

.feature-sidebar { height: clamp(480px, 66vh, 780px); overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #0e151c; scrollbar-color: #344657 transparent; }
.feature-header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 18px; border-bottom: 1px solid var(--line); background: #0e151cf0; backdrop-filter: blur(12px); }.feature-header h2 { margin: 3px 0 0; font-size: 15px; }.eyebrow { color: var(--accent); font-size: 8px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }.feature-count { display: grid; place-items: center; min-width: 31px; height: 31px; border-radius: 9px; color: #07130d; background: var(--accent); font-size: 11px; font-weight: 900; }
.flat-summary { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; padding: 11px; border-bottom: 1px solid var(--line); }.summary-value { min-width: 0; padding: 9px; border: 1px solid #273640; border-radius: 9px; background: #121b23; }.summary-value span { display: block; margin-bottom: 4px; color: #71828b; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }.summary-value strong { display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.feature-tree { padding: 9px; }.feature-group { margin-bottom: 8px; overflow: hidden; border: 1px solid #273640; border-radius: 10px; background: #111a22; }.feature-group > summary { display: flex; align-items: center; gap: 8px; padding: 10px 11px; cursor: pointer; list-style: none; font-size: 11px; font-weight: 800; }.feature-group > summary::-webkit-details-marker, .feature-item > summary::-webkit-details-marker { display: none; }.feature-group > summary::before { color: #71838c; content: "›"; font-size: 17px; transition: .15s; }.feature-group[open] > summary::before { transform: rotate(90deg); }.feature-group > summary strong { margin-left: auto; min-width: 24px; padding: 3px 6px; border-radius: 99px; color: #92e8c7; background: #183328; font-size: 9px; text-align: center; }.feature-list { border-top: 1px solid #26343d; }.feature-item { border-bottom: 1px solid #202c34; }.feature-item:last-child { border: 0; }.feature-item > summary { display: flex; align-items: center; gap: 8px; padding: 9px 11px; cursor: pointer; list-style: none; font-size: 10px; font-weight: 700; }.feature-item > summary::before { width: 6px; height: 6px; flex: none; border: 2px solid #60727b; border-radius: 2px; content: ""; }.feature-item.bend > summary::before { border-color: #dfe4e5; background: #dfe4e5; }.feature-item.hole > summary::before { border-color: var(--accent); border-radius: 50%; }.feature-item.slot > summary::before { width: 10px; border-color: var(--accent); border-radius: 99px; }.feature-item > summary small { margin-left: auto; color: #71838c; font-size: 8px; }.feature-eye { display: grid; place-items: center; width: 26px; height: 24px; flex: none; margin: -4px -4px -4px 0; padding: 0; border: 1px solid transparent; border-radius: 6px; color: #71838c; background: transparent; }.feature-eye svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }.feature-eye.active { border-color: #35b581; color: var(--accent); background: #17372b; }.feature-item.highlighted > summary { color: #95edcc; background: #12251e; }.feature-properties { display: grid; grid-template-columns: 1fr auto; gap: 6px 11px; margin: 0; padding: 0 11px 11px 28px; color: #82939c; font-size: 9px; }.feature-properties dt, .feature-properties dd { margin: 0; }.feature-properties dd { color: #d3dcdf; font-variant-numeric: tabular-nums; text-align: right; }

.weld-panel { padding: 13px; border-bottom: 1px solid var(--line); }.weld-panel.compact { padding-bottom: 9px; }.weld-panel-heading { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }.weld-panel-heading strong { font-size: 11px; }.weld-panel-heading span { color: #788a93; font-size: 8px; line-height: 1.35; }.weld-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.weld-field-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }.weld-field-grid label { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: #82939c; font-size: 8px; font-weight: 700; }.weld-field-grid input, .weld-field-grid select { width: 100%; min-width: 0; height: 32px; border: 1px solid #31414b; border-radius: 7px; padding: 5px 7px; color: #eaf2ef; background: #121c24; font-size: 10px; }.weld-wide-button { width: 100%; margin-top: 9px; }.weld-actions { display: grid; grid-template-columns: auto 1fr; gap: 7px; margin-top: 9px; }.selected-weld-edges { display: flex; min-height: 40px; align-items: center; gap: 5px; flex-wrap: wrap; margin-bottom: 9px; padding: 7px; border: 1px dashed #324650; border-radius: 8px; color: #71848e; background: #0c1318; font-size: 8px; }.weld-edge-chip { display: inline-flex; align-items: center; padding: 5px 7px; border: 1px solid #237b91; border-radius: 99px; color: #8ee9ff; background: #102b34; font-weight: 800; }.weld-list { display: grid; gap: 6px; max-height: 245px; overflow: auto; }.weld-list-empty { padding: 9px; border: 1px dashed #2c3a43; border-radius: 7px; color: #71838c; font-size: 8px; text-align: center; }.weld-list-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; align-items: center; padding: 8px; border: 1px solid #293840; border-radius: 8px; background: #111b23; }.weld-list-copy { min-width: 0; }.weld-list-copy strong { display: block; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.weld-list-copy span { display: block; margin-top: 3px; color: #71858e; font-size: 7px; line-height: 1.35; }.weld-list-item button { padding: 5px 7px; border: 1px solid #374852; border-radius: 6px; color: #dbe5e5; background: #16212a; font-size: 8px; }.weld-list-item.confirmed { border-color: #6f3b27; background: #271811; }.weld-list-item.confirmed strong { color: #ffbd94; }.weld-warnings { display: grid; gap: 5px; margin-top: 8px; }.weld-warning { padding: 6px 7px; border-left: 2px solid #d99f41; color: #b7a27d; background: #241d12; font-size: 7px; line-height: 1.4; }

.process-deck { height: clamp(560px, 72vh, 840px); min-width: 0; margin: 0; overflow-x: hidden; overflow-y: auto; border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; background: #0d141a; box-shadow: 0 25px 70px #0006; scrollbar-color: #344657 transparent; scrollbar-gutter: stable; }.process-panel { display: none; min-height: 100%; padding: 25px 23px; border: 0; border-radius: 0; background: #0d141a; box-shadow: none; }.process-panel.active { display: block; animation: panelIn .25s ease; }
.process-deck .panel-heading { gap: 13px; margin-bottom: 24px; }.process-deck .panel-index { width: 37px; height: 37px; border-radius: 10px; }.process-deck .panel-heading h3 { font-size: clamp(20px, 1.8vw, 27px); }.process-deck .configuration-grid, .process-deck .configuration-grid.compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.process-deck .result-grid { grid-template-columns: 1fr; }.process-deck .split-analysis, .process-deck .coating-layout, .process-deck .quote-layout, .process-deck .production-package-card { grid-template-columns: 1fr; }.process-deck .tap-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }.process-deck .tap-form .button { grid-column: 1 / -1; }.process-deck .process-option-grid { grid-template-columns: 1fr; }.process-deck .coating-layout .configuration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.process-deck .coating-preview { min-height: 190px; }.process-deck .quote-total-card { width: 100%; }.process-deck .panel-actions { flex-wrap: wrap; }.process-deck .panel-actions .button { flex: 1 1 120px; }.process-panel > .feature-sidebar { height: auto; max-height: none; margin-top: 18px; overflow: visible; border-radius: 13px; }.process-panel > .weld-sidebar { height: auto; max-height: none; margin-top: 18px; overflow: visible; }.process-panel > .weld-sidebar .feature-header, .process-panel > .feature-sidebar .feature-header { position: relative; }
.panel-heading { display: flex; gap: 19px; max-width: 850px; margin-bottom: 31px; }.panel-index { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 1px solid #344750; border-radius: 12px; color: var(--accent); font: 900 11px/1 monospace; }.panel-heading h3 { margin: 6px 0 7px; font-size: clamp(23px, 2.3vw, 33px); letter-spacing: -.035em; }.panel-heading p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }.panel-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 27px; padding-top: 20px; border-top: 1px solid var(--line); }
.result-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }.result-card { min-width: 0; padding: 18px; border: 1px solid #273640; border-radius: 12px; background: #111a22; }.result-card span, .result-card strong, .result-card small { display: block; }.result-card span { color: #70818a; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.result-card strong { overflow: hidden; margin-top: 11px; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }.result-card small { margin-top: 5px; color: #71828b; font-size: 9px; }.success-text { color: var(--accent); }
.configuration-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }.configuration-grid.compact-grid { grid-template-columns: repeat(2,minmax(0,260px)); }.field { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #85969e; font-size: 9px; font-weight: 800; letter-spacing: .025em; }.field input, .field select, textarea { width: 100%; min-width: 0; height: 43px; border: 1px solid #31414b; border-radius: 9px; padding: 9px 11px; color: #e6edeb; background: #121c24; font-size: 11px; font-weight: 650; }.field input:focus, .field select:focus, textarea:focus { outline: 3px solid #69e3ae18; border-color: var(--accent-strong); }.analysis-result { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 18px; border: 1px solid #284238; border-radius: 12px; background: #101d18; }.analysis-result.empty { border-color: #2b3941; background: #10171d; }.analysis-result strong { display: block; font-size: 12px; }.analysis-result p { margin: 5px 0 0; color: #7f9198; font-size: 9px; }.result-pulse { width: 11px; height: 11px; flex: none; border: 2px solid var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px #69e3ae0c; }
.segmented-control { display: grid; grid-template-columns: repeat(3,1fr); max-width: 720px; margin-bottom: 20px; overflow: hidden; border: 1px solid #2e3d46; border-radius: 12px; }.segmented-control label { position: relative; border-right: 1px solid #2e3d46; cursor: pointer; }.segmented-control label:last-child { border: 0; }.segmented-control input { position: absolute; opacity: 0; }.segmented-control span { display: block; padding: 14px 16px; background: #111920; }.segmented-control strong, .segmented-control small { display: block; }.segmented-control strong { font-size: 10px; }.segmented-control small { margin-top: 4px; color: #71838c; font-size: 8px; }.segmented-control input:checked + span { color: #a8f3d5; background: #142b22; box-shadow: inset 0 -2px var(--accent); }
.split-analysis { display: grid; grid-template-columns: 1.2fr .8fr; gap: 15px; margin-top: 22px; }.split-analysis > div { min-width: 0; padding: 18px; border: 1px solid #273640; border-radius: 12px; background: #101820; }.subheading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 13px; }.subheading strong, .subheading span { display: block; }.subheading strong { font-size: 11px; }.subheading span { margin-top: 4px; color: #71828b; font-size: 8px; }.text-button { border: 0; padding: 5px; color: var(--accent); background: none; font-size: 8px; font-weight: 800; cursor: pointer; }.process-list { display: grid; gap: 6px; max-height: 280px; overflow: auto; }.list-empty { padding: 20px; border: 1px dashed #30404a; border-radius: 9px; color: #71828b; font-size: 9px; text-align: center; }.process-list-item { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid #273640; border-radius: 9px; background: #131d25; }.process-list-item > span:first-child { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #3c555d; border-radius: 50%; color: var(--accent); font-size: 8px; }.process-list-item strong, .process-list-item small { display: block; }.process-list-item strong { font-size: 9px; }.process-list-item small { margin-top: 3px; color: #71828b; font-size: 7px; }.route-badge { padding: 5px 7px; border-radius: 99px; color: #9de8cc; background: #153126; font-size: 7px; font-weight: 800; white-space: nowrap; }.route-badge.cnc { color: #ffd3a8; background: #362317; }
.tap-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 8px; align-items: end; }.tap-form .button { min-height: 43px; }.chip-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }.process-chip, .muted-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #30434b; border-radius: 99px; color: #b6c2c6; background: #131e26; font-size: 8px; }.process-chip button { border: 0; padding: 0; color: #71828b; background: none; cursor: pointer; }.muted-chip { color: #6e7e86; }
.operation-summary { display: grid; gap: 11px; }.summary-hero { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid #293942; border-radius: 12px; background: #111a22; }.summary-hero strong, .summary-hero p { display: block; }.summary-hero strong { font-size: 14px; }.summary-hero p { margin: 5px 0 0; color: #7b8c94; font-size: 9px; }.summary-icon { position: relative; width: 45px; height: 45px; flex: none; border: 1px solid #3a4e57; border-radius: 12px; background: #152029; }.summary-icon::before, .summary-icon::after { position: absolute; content: ""; }.bend-icon::before { top: 14px; left: 10px; width: 24px; height: 18px; border-top: 4px solid var(--accent); border-right: 4px solid var(--accent); transform: skewY(-30deg); }.weld-icon::before { top: 20px; left: 8px; width: 28px; height: 5px; border-top: 2px dashed var(--orange); border-bottom: 2px dashed var(--orange); transform: rotate(-25deg); }.operation-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 8px; }.operation-card { padding: 13px; border: 1px solid #293942; border-radius: 10px; background: #111a22; }.operation-card span, .operation-card strong, .operation-card small { display: block; }.operation-card span { color: #71828b; font-size: 7px; text-transform: uppercase; }.operation-card strong { margin-top: 7px; font-size: 10px; }.operation-card small { margin-top: 3px; color: #697a82; font-size: 7px; }
.process-option-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.process-option { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; min-height: 86px; padding: 15px; border: 1px solid #293942; border-radius: 12px; background: #111a22; cursor: pointer; }.process-option:has(input:checked) { border-color: #348a68; background: #12261e; box-shadow: inset 0 0 0 1px #69e3ae21; }.process-option input { position: absolute; top: 11px; right: 11px; accent-color: var(--accent); }.process-option div strong, .process-option div small { display: block; }.process-option div strong { font-size: 10px; }.process-option div small { margin-top: 4px; color: #71828b; font-size: 8px; }.process-option b { grid-column: 2; color: #60717a; font-size: 7px; font-weight: 700; text-transform: uppercase; }.option-icon { position: relative; grid-row: span 2; width: 35px; height: 35px; border: 1px solid #3a4d56; border-radius: 9px; }.option-icon::before { position: absolute; inset: 10px; border: 2px solid var(--accent); content: ""; transform: rotate(45deg); }.add-process-row { display: flex; align-items: end; gap: 9px; max-width: 520px; margin-top: 15px; }.add-process-row .field { flex: 1; }
.coating-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }.coating-layout .configuration-grid { grid-template-columns: repeat(2,1fr); }.coating-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 230px; border: 1px solid #293942; border-radius: 14px; background: #111a22; }.coating-preview span { margin-top: 18px; font-size: 12px; font-weight: 850; }.coating-preview small { margin-top: 5px; color: #71828b; font-size: 8px; }.coated-part { position: relative; width: 145px; height: 73px; background: #aeb6b4; clip-path: polygon(0 25%,78% 0,100% 24%,22% 52%,22% 100%,0 76%); filter: drop-shadow(0 14px 12px #0008); }.coated-part i { position: absolute; width: 15px; height: 15px; border: 3px solid #070b0d; border-radius: 50%; background: #111; }.coated-part i:nth-child(1) { top: 20px; left: 31px; }.coated-part i:nth-child(2) { top: 13px; left: 76px; }.coated-part i:nth-child(3) { top: 10px; right: 18px; }
.quote-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 25px; }.quote-line-items { overflow: hidden; border: 1px solid #293942; border-radius: 12px; background: #111a22; }.quote-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 13px 15px; border-bottom: 1px solid #25343c; }.quote-row:last-child { border: 0; }.quote-row span { color: #9ba8ad; font-size: 10px; }.quote-row strong { font-size: 10px; font-variant-numeric: tabular-nums; }.quote-row.total { background: #14241d; }.quote-row.total span, .quote-row.total strong { color: #b3f0d6; font-weight: 900; }.quote-note { margin-top: 13px; }.quote-note strong { display: block; margin-bottom: 8px; font-size: 10px; }.quote-note textarea { height: auto; resize: vertical; }.quote-total-card { align-self: start; padding: 25px; border: 1px solid #365145; border-radius: 15px; background: #11241c; box-shadow: 0 18px 45px #0004; }.quote-total-card > span { color: #84a397; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.quote-total-card > strong { display: block; margin: 12px 0 4px; color: #e8fff6; font-size: 35px; letter-spacing: -.04em; }.quote-total-card > small { color: #668177; font-size: 8px; }.quote-total-card dl { display: grid; grid-template-columns: 1fr auto; gap: 9px 15px; margin: 21px 0; padding: 17px 0; border-top: 1px solid #2a483b; border-bottom: 1px solid #2a483b; font-size: 9px; }.quote-total-card dt { color: #789287; }.quote-total-card dd { margin: 0; font-weight: 800; text-align: right; }.quote-total-card .button + .button { margin-top: 8px; }.quote-total-card p { margin: 15px 0 0; color: #668177; font-size: 7px; line-height: 1.5; }
.production-package-card { display: grid; grid-template-columns: minmax(220px,1fr) minmax(300px,1.2fr); gap: 18px 25px; margin-top: 25px; padding: 20px; border: 1px solid #315045; border-radius: 14px; background: #101d18; }
.production-package-card h4 { margin: 7px 0 6px; font-size: 16px; }
.production-package-card p { max-width: 620px; margin: 0; color: #789087; font-size: 9px; line-height: 1.55; }
.production-package-actions { display: grid; grid-template-columns: 1fr; gap: 8px; align-content: start; min-width: 0; }
.production-package-actions .button { width: 100%; min-width: 0; min-height: 42px; padding: 9px 11px; font-size: 9px; line-height: 1.3; text-align: center; white-space: normal; }
.production-package-actions #importProductionPackageFinalButton { grid-column: 1 / -1; }
.production-package-status { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid #294238; color: #719083; font: 8px/1.5 monospace; }
.live-quote { position: sticky; z-index: 12; bottom: 15px; display: grid; grid-template-columns: minmax(200px,auto) minmax(180px,1fr) auto; gap: 24px; align-items: center; width: min(800px, calc(100% - 30px)); margin: 18px auto 0; padding: 13px 15px 13px 18px; border: 1px solid #3c574b; border-radius: 14px; background: #102019ed; box-shadow: 0 18px 50px #0009; backdrop-filter: blur(16px); }.live-quote span, .live-quote strong, .live-quote small { display: block; }.live-quote span { color: #7f9a90; font-size: 7px; text-transform: uppercase; }.live-quote strong { margin-top: 3px; font-size: 18px; }.live-quote small { color: #647d73; font-size: 7px; }.quote-meter { height: 3px; overflow: hidden; border-radius: 9px; background: #284138; }.quote-meter i { display: block; width: 5%; height: 100%; background: var(--accent); transition: width .3s ease; }

.pricing-page { padding-top: 66px; padding-bottom: 110px; }.manager-hero { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 42px; }.manager-hero h1 { margin: 10px 0 13px; font-size: clamp(42px,5vw,69px); letter-spacing: -.055em; }.manager-hero p { max-width: 690px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }.manager-summary { min-width: 230px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #0d141a; }.manager-summary span, .manager-summary strong, .manager-summary small { display: block; }.manager-summary span { color: #708089; font-size: 8px; text-transform: uppercase; }.manager-summary strong { margin: 8px 0 4px; font-size: 13px; }.manager-summary small { color: var(--accent); font-size: 8px; }
.manager-layout { display: grid; grid-template-columns: 185px minmax(0,1fr) 255px; gap: 17px; align-items: start; }.manager-nav, .pricing-preview { position: sticky; top: 90px; }.manager-nav { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #0d141a; }.manager-nav a { display: flex; gap: 9px; align-items: center; padding: 13px; border-bottom: 1px solid var(--line); color: #89989f; font-size: 9px; font-weight: 750; text-decoration: none; }.manager-nav a:last-child { border: 0; }.manager-nav a:hover { color: var(--accent); background: #111d18; }.manager-nav span { color: #53646d; font: 800 8px/1 monospace; }
.pricing-form { display: grid; gap: 13px; min-width: 0; }.pricing-section { scroll-margin-top: 92px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #0d141a; }.pricing-section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }.pricing-section-heading h2 { margin: 6px 0 5px; font-size: 19px; }.pricing-section-heading p { margin: 0; color: #71828b; font-size: 8px; }.rate-unit { padding: 6px 8px; border: 1px solid #31444c; border-radius: 7px; color: #81939b; font-size: 7px; font-weight: 800; text-transform: uppercase; }.rate-table { padding: 10px 16px 16px; }.rate-row { display: grid; grid-template-columns: 1.25fr repeat(3,1fr); gap: 10px; align-items: center; min-height: 48px; padding: 7px 8px; border-bottom: 1px solid #202e36; }.rate-row:last-child { border: 0; }.rate-row strong { font-size: 9px; }.rate-row input, .rate-card input { width: 100%; min-width: 0; height: 34px; border: 1px solid #30414a; border-radius: 7px; padding: 6px 8px; color: #e6edeb; background: #121c24; font-size: 10px; }.rate-header { min-height: 31px; color: #687982; font-size: 7px; font-weight: 800; text-transform: uppercase; }.rate-card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; padding: 16px; }.rate-card { padding: 14px; border: 1px solid #293942; border-radius: 10px; background: #111a22; }.rate-card > span, .rate-card > small { display: block; }.rate-card > span { color: #9ba8ad; font-size: 9px; font-weight: 750; }.rate-card > div { display: flex; gap: 6px; align-items: center; margin: 9px 0 6px; }.rate-card b { color: var(--accent); font-size: 10px; }.rate-card > small { color: #687982; font-size: 7px; }.manager-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; padding: 16px; border: 1px solid #365145; border-radius: 12px; background: #102019; }.manager-actions > div { margin-right: auto; }.manager-actions strong, .manager-actions span { display: block; }.manager-actions strong { font-size: 10px; }.manager-actions span { margin-top: 3px; color: #668177; font-size: 7px; }
.pricing-preview { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #0d141a; }.pricing-preview h3 { margin: 8px 0 17px; font-size: 20px; }.engine-status { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid #2e4d40; border-radius: 9px; background: #11251c; }.engine-status strong, .engine-status span { display: block; }.engine-status strong { font-size: 9px; }.engine-status span { margin-top: 3px; color: #668177; font-size: 7px; }.pricing-preview dl { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 20px 0; font-size: 8px; }.pricing-preview dt { color: #71828b; }.pricing-preview dd { margin: 0; font-weight: 800; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding: 28px clamp(18px,4vw,68px); border-top: 1px solid var(--line); color: #64747c; background: #080c10; font-size: 8px; }.footer-brand .brand-symbol { width: 30px; height: 30px; border-radius: 8px; }.footer-brand .brand-symbol svg { width: 19px; }.site-footer p { margin: 0; }.site-footer > span { text-align: right; }
.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: #030507d9; backdrop-filter: blur(12px); }.order-modal { width: min(440px,100%); padding: 37px; border: 1px solid #3b584b; border-radius: 20px; background: #101b16; box-shadow: var(--shadow); text-align: center; }.success-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; color: #07140e; background: var(--accent); }.success-mark svg { width: 33px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }.order-modal h2 { margin: 10px 0; font-size: 27px; letter-spacing: -.035em; }.order-modal p { color: #879890; font-size: 10px; line-height: 1.6; }.order-reference { margin: 20px 0; padding: 13px; border: 1px solid #315143; border-radius: 10px; background: #0c1712; }.order-reference span, .order-reference strong { display: block; }.order-reference span { color: #668177; font-size: 7px; text-transform: uppercase; }.order-reference strong { margin-top: 6px; color: var(--accent); font: 900 15px/1 monospace; letter-spacing: .08em; }

@keyframes scan { 0%,100% { left: 18%; opacity: .35; } 50% { left: 82%; opacity: 1; } }
@keyframes partFloat { 0%,100% { transform: translate(-50%,-50%) rotate(-8deg) skewY(3deg) translateY(0); } 50% { transform: translate(-50%,-50%) rotate(-5deg) skewY(3deg) translateY(-9px); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 1220px) {
  .hero { grid-template-columns: 1fr 470px; gap: 45px; }.hero h1 { font-size: clamp(50px,6vw,75px); }.hero-drop { grid-template-columns: auto 1fr auto; }.hero-drop #uploadButton { grid-column: 3; }.hero-drop .drop-security { grid-column: 2 / -1; }.hero-drop #chooseButton { display: none; }
  .manager-layout { grid-template-columns: 165px minmax(0,1fr); }.pricing-preview { position: static; grid-column: 2; }.rate-card-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 980px) {
  .site-header { gap: 16px; }.primary-nav { display: none; }.service-status { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }.hero-copy { max-width: 800px; }.production-visual { min-height: 560px; }
  .workflow-cards { grid-template-columns: repeat(2,1fr); }.workflow-cards article:nth-child(2) { border-right: 0; }.workflow-cards article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-drop #chooseButton { display: inline-flex; }
  .configuration-grid { grid-template-columns: repeat(2,1fr); }.split-analysis, .quote-layout, .production-package-card { grid-template-columns: 1fr; }.quote-total-card { max-width: none; }.process-option-grid { grid-template-columns: repeat(2,1fr); }
  .manager-layout { grid-template-columns: 1fr; }.manager-nav { position: static; display: flex; overflow-x: auto; }.manager-nav a { white-space: nowrap; border-right: 1px solid var(--line); border-bottom: 0; }.pricing-preview { grid-column: auto; }.site-footer { grid-template-columns: 1fr; text-align: center; }.site-footer .brand { justify-self: center; }.site-footer > span { text-align: center; }
}
@media (max-width: 820px) {
  .preview-workspace, .preview-workspace.features-open { grid-template-columns: 1fr; gap: 12px; }.workspace-divider { display: none; }.viewer-shell { border-radius: var(--radius); }.process-deck { height: auto; max-height: 760px; border-left: 1px solid var(--line); border-radius: var(--radius); }.feature-sidebar { height: auto; max-height: 600px; }
}
@media (max-width: 680px) {
  .site-header { height: 62px; padding: 0 14px; }.header-actions { gap: 7px; }.header-actions .button { padding: 8px 10px; }.brand small { display: none; }
  .section-shell { width: min(100% - 24px,1480px); }.hero { padding-top: 45px; padding-bottom: 40px; }.hero h1 { font-size: clamp(44px,14vw,64px); }.hero-copy > p { font-size: 14px; }
  .hero-drop { grid-template-columns: auto 1fr; }.hero-drop #uploadButton { grid-column: 1 / -1; }.drop-security, .restore-upload { grid-column: 1 / -1 !important; }.restore-upload { align-items: flex-start; flex-direction: column; }.hero-proof { gap: 13px; }.hero-proof > div { padding-right: 12px; }.hero-proof strong { font-size: 14px; }
  .production-visual { min-height: 505px; border-radius: 17px; }.cad-stage { height: 290px; }.production-timeline { grid-template-columns: repeat(2,1fr); gap: 15px 0; }.timeline-item:nth-child(2) { border: 0; }.visual-price { margin-top: 8px; }
  .workflow-overview { padding-top: 70px; padding-bottom: 70px; }.section-heading { grid-template-columns: 1fr; }.section-heading .overline { grid-column: auto; }.workflow-cards { grid-template-columns: 1fr; }.workflow-cards article { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line) !important; }.workflow-cards article:last-child { border: 0 !important; }.workflow-icon { margin-top: 30px; }
  .studio-header, .manager-hero { align-items: start; flex-direction: column; }.studio-header-meta { width: 100%; }.file-badge { flex: 1; }
  .viewer-shell { height: 58vh; min-height: 430px; }.viewer-tools { top: auto; right: 9px; bottom: 9px; left: 9px; padding: 0; }.viewer-label { top: 11px; left: 12px; }
  .process-panel { padding: 20px 15px; }.panel-heading { gap: 11px; }.process-deck .result-grid, .process-deck .configuration-grid, .process-deck .configuration-grid.compact-grid, .process-deck .process-option-grid, .process-deck .coating-layout, .process-deck .coating-layout .configuration-grid { grid-template-columns: 1fr; }.process-deck .tap-form { grid-template-columns: 1fr 1fr; }.process-deck .tap-form .button { grid-column: 1 / -1; }.segmented-control { grid-template-columns: 1fr; }.segmented-control label { border-right: 0; border-bottom: 1px solid #2e3d46; }.segmented-control label:last-child { border: 0; }.panel-actions { flex-direction: column-reverse; }.panel-actions .button { width: 100%; }.production-package-actions { grid-template-columns: 1fr; }.live-quote { grid-template-columns: 1fr auto; gap: 10px; }.live-quote .quote-meter { grid-column: 1 / -1; grid-row: 2; }.live-quote .button { grid-column: 2; grid-row: 1; }
  .manager-hero { margin-bottom: 25px; }.manager-summary { width: 100%; }.rate-row { grid-template-columns: 1fr 1fr; }.rate-row strong { grid-column: 1 / -1; }.rate-header { display: none; }.rate-card-grid { grid-template-columns: 1fr; }.pricing-section-heading { align-items: start; flex-direction: column; }.manager-actions { flex-wrap: wrap; }.manager-actions > div { width: 100%; margin-bottom: 5px; }.manager-actions .button { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* The sidebar and CAD canvas share this orange state so selection reads as one
   continuous interaction instead of two independent controls. */
.process-list-item, .operation-card, .weld-list-item, .feature-item > summary { cursor: pointer; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease; }
.process-list-item.selected,
.operation-card.selected,
.weld-list-item.selected,
.feature-item.selected > summary,
.feature-item.highlighted > summary {
  border-color: #f47a32;
  color: #ffe7d9;
  background: #2a1810;
  box-shadow: inset 3px 0 #f47a32, 0 0 0 1px #f47a3233;
}
.weld-list-item.partially-selected { border-color: #b55b2a; background: #21160f; box-shadow: inset 2px 0 #f47a32; }
.feature-eye.active { border-color: #f47a32; color: #ff9b61; background: #3a1d10; }
.process-list-item.selected > span:first-child { border-color: #f47a32; color: #ff9b61; background: #351b10; }
.operation-card.selected span,
.operation-card.selected small,
.process-list-item.selected small,
.weld-list-item.selected .weld-list-copy span { color: #d9a486; }
.process-chip[data-cutout-id] { cursor: pointer; }

.weld-detection-levels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-bottom: 8px; }
.weld-detection-levels button { display: flex; min-width: 0; align-items: center; gap: 6px; padding: 7px 6px; border: 1px solid #31414b; border-radius: 8px; color: #91a0a7; background: #111a22; text-align: left; cursor: pointer; }
.weld-detection-levels button > b { display: grid; width: 21px; height: 21px; flex: none; place-items: center; border: 1px solid #42545e; border-radius: 50%; font-size: 8px; }
.weld-detection-levels button span,.weld-detection-levels button strong,.weld-detection-levels button small { display: block; min-width: 0; }
.weld-detection-levels button strong { overflow: hidden; color: #d8e3e3; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.weld-detection-levels button small { margin-top: 2px; color: #6f818a; font-size: 6px; }
.weld-detection-levels button.active { border-color: #29b99b; color: #8bffe3; background: #0e2b27; box-shadow: inset 2px 0 #2fd2af; }
.weld-detection-levels button.active > b { border-color: #38d8b6; color: #8bffe3; background: #123e36; }
.weld-level-hint { min-height: 24px; margin: 0 0 9px; color: #779099; font-size: 7px; line-height: 1.45; }
.weld-more-button { width: 100%; margin-top: 6px; border: 1px solid #9a642f; color: #ffd29f; background: #2b1d10; }
.weld-pick-mode { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #82939c; font-size: 8px; font-weight: 700; }
.weld-pick-mode select { min-width: 0; height: 31px; flex: 1; border: 1px solid #31414b; border-radius: 7px; padding: 4px 7px; color: #eaf2ef; background: #121c24; font-size: 9px; }
.weld-face-chip { border-color: #8c63d8; color: #decaff; background: #281d3b; }
.weld-list-item .weld-joint-badge { display: inline-flex; width: max-content; margin: 0 0 4px; padding: 2px 5px; border: 1px solid #257f70; border-radius: 99px; color: #7fe8d1; background: #102a27; font-size: 6px; font-weight: 800; }
.weld-list-item.confirmed.selected { border-color: #f47a32; background: #321b10; }

/* A softened charcoal palette keeps the dark theme industrial without using
   pure-black panels or collapsing every surface into the same dark level. */
:root[data-theme="dark"] .site-header { background: #151d25ed; }
:root[data-theme="dark"] .hero-drop { background: #1a252fd9; box-shadow: 0 20px 55px #0b11185c; }
:root[data-theme="dark"] .hero-drop:hover,
:root[data-theme="dark"] .hero-drop.dragging { background: #1b3028; box-shadow: 0 20px 60px #0b111870, 0 0 0 4px #69e3ae0c; }
:root[data-theme="dark"] .production-visual { background: #17212a; }
:root[data-theme="dark"] .workflow-cards,
:root[data-theme="dark"] .wizard-steps { background: #18232c; }
:root[data-theme="dark"] .workflow-cards article:hover,
:root[data-theme="dark"] .wizard-step:hover { background: #202c36; }
:root[data-theme="dark"] .file-badge,
:root[data-theme="dark"] .feature-sidebar,
:root[data-theme="dark"] .process-deck,
:root[data-theme="dark"] .process-panel,
:root[data-theme="dark"] .manager-summary,
:root[data-theme="dark"] .manager-nav,
:root[data-theme="dark"] .pricing-section,
:root[data-theme="dark"] .pricing-preview { background: #19242d; }
:root[data-theme="dark"] .feature-header { background: #19242df0; }
:root[data-theme="dark"] .feature-group,
:root[data-theme="dark"] .weld-list-item,
:root[data-theme="dark"] .process-list-item,
:root[data-theme="dark"] .operation-card,
:root[data-theme="dark"] .summary-hero,
:root[data-theme="dark"] .result-card,
:root[data-theme="dark"] .split-analysis > div,
:root[data-theme="dark"] .process-option,
:root[data-theme="dark"] .coating-preview,
:root[data-theme="dark"] .quote-line-items,
:root[data-theme="dark"] .rate-card { background: #202c36; }
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] .weld-field-grid input,
:root[data-theme="dark"] .weld-field-grid select,
:root[data-theme="dark"] .rate-row input,
:root[data-theme="dark"] .rate-card input { background: #24323d; }
:root[data-theme="dark"] .segmented-control span { background: #202b35; }
:root[data-theme="dark"] .workspace-divider { background: #202b34; }
:root[data-theme="dark"] .selected-weld-edges,
:root[data-theme="dark"] .process-chip,
:root[data-theme="dark"] .muted-chip { background: #202c35; }
:root[data-theme="dark"] .site-footer { background: #151e26; }
:root[data-theme="dark"] .modal-backdrop { background: #121920d9; }
:root[data-theme="dark"] .theme-toggle { background: #202b34; }

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eef2ef;
  --bg-soft: #f7f9f8;
  --panel: #ffffff;
  --panel-2: #f4f7f5;
  --panel-3: #e8eeeb;
  --line: #ccd7d1;
  --line-strong: #a9b9b0;
  --text: #17221d;
  --muted: #66766e;
  --muted-2: #85928b;
  --accent: #28b979;
  --accent-strong: #159861;
  --accent-dark: #ddf5e9;
  --orange: #ed6f2b;
  --shadow: 0 28px 80px #2a45351f;
}
:root[data-theme="light"] .theme-toggle .theme-sun { display: none; }
:root[data-theme="light"] .theme-toggle .theme-moon { display: block; }
:root[data-theme="light"] .site-header { border-color: #dbe3de; background: #f8faf9ed; }
:root[data-theme="light"] .nav-link { color: #65736c; }
:root[data-theme="light"] .nav-link:hover,
:root[data-theme="light"] .nav-link.active { color: #142019; }
:root[data-theme="light"] .theme-toggle,
:root[data-theme="light"] .button:not(.primary),
:root[data-theme="light"] .file-badge { color: #33423a; background: #fff; }
:root[data-theme="light"] .hero::before { background: radial-gradient(circle at 20% 45%, #9cebc84f, transparent 64%); }
:root[data-theme="light"] .hero-copy > p,
:root[data-theme="light"] .section-heading p { color: #63746b; }
:root[data-theme="light"] .hero-drop { border-color: #abc2b6; background: #fffffff2; box-shadow: 0 20px 50px #31554016; }
:root[data-theme="light"] .hero-drop:hover,
:root[data-theme="light"] .hero-drop.dragging { background: #f1fbf6; box-shadow: 0 20px 50px #3155401f, 0 0 0 4px #28b97914; }
:root[data-theme="light"] .drop-icon,
:root[data-theme="light"] .wizard-step.active,
:root[data-theme="light"] .wizard-step.complete > span { background: #ddf5e9; }
:root[data-theme="light"] .workflow-cards,
:root[data-theme="light"] .wizard-steps,
:root[data-theme="light"] .process-deck,
:root[data-theme="light"] .process-panel,
:root[data-theme="light"] .feature-sidebar,
:root[data-theme="light"] .pricing-section,
:root[data-theme="light"] .manager-nav,
:root[data-theme="light"] .manager-summary,
:root[data-theme="light"] .pricing-preview { background: #fff; }
:root[data-theme="light"] .wizard-step { color: #829087; }
:root[data-theme="light"] .wizard-step:hover { color: #324039; background: #f3f7f5; }
:root[data-theme="light"] .wizard-step.active { color: #17442f; }
:root[data-theme="light"] .workspace-divider { background: #d9e2dd; }
:root[data-theme="light"] .workspace-divider:hover,
:root[data-theme="light"] .workspace-divider.dragging { background: #9bd9bd; }
:root[data-theme="light"] .feature-group,
:root[data-theme="light"] .weld-list-item,
:root[data-theme="light"] .process-list-item,
:root[data-theme="light"] .operation-card,
:root[data-theme="light"] .summary-hero,
:root[data-theme="light"] .result-card,
:root[data-theme="light"] .split-analysis > div,
:root[data-theme="light"] .process-option,
:root[data-theme="light"] .coating-preview,
:root[data-theme="light"] .quote-line-items,
:root[data-theme="light"] .rate-card { border-color: #d8e1dc; background: #f7f9f8; }
:root[data-theme="light"] .feature-list,
:root[data-theme="light"] .feature-item,
:root[data-theme="light"] .quote-row,
:root[data-theme="light"] .rate-row { border-color: #dce4df; }
:root[data-theme="light"] .field input,
:root[data-theme="light"] .field select,
:root[data-theme="light"] textarea,
:root[data-theme="light"] .weld-field-grid input,
:root[data-theme="light"] .weld-field-grid select,
:root[data-theme="light"] .rate-row input,
:root[data-theme="light"] .rate-card input { border-color: #c7d3cc; color: #17221d; background: #fff; }
:root[data-theme="light"] .segmented-control,
:root[data-theme="light"] .segmented-control label { border-color: #d4ded8; }
:root[data-theme="light"] .segmented-control span { background: #f6f8f7; }
:root[data-theme="light"] .segmented-control input:checked + span,
:root[data-theme="light"] .process-option:has(input:checked),
:root[data-theme="light"] .analysis-result { color: #17442f; background: #e9f7f0; }
:root[data-theme="light"] .analysis-result.empty { background: #f6f8f7; }
:root[data-theme="light"] .selected-weld-edges,
:root[data-theme="light"] .process-chip,
:root[data-theme="light"] .muted-chip { border-color: #cad6cf; color: #495950; background: #f4f7f5; }
:root[data-theme="light"] .quote-total-card,
:root[data-theme="light"] .live-quote,
:root[data-theme="light"] .manager-actions,
:root[data-theme="light"] .engine-status { color: #1b3528; background: #e6f5ed; box-shadow: 0 18px 45px #3459441a; }
:root[data-theme="light"] .quote-total-card > strong { color: #173a29; }
:root[data-theme="light"] .site-footer { color: #738179; background: #e8eeeb; }
:root[data-theme="light"] .modal-backdrop { background: #25322c9e; }
:root[data-theme="light"] .order-modal,
:root[data-theme="light"] .order-reference { color: #183125; background: #f7fcf9; }
:root[data-theme="light"] .process-list-item.selected,
:root[data-theme="light"] .operation-card.selected,
:root[data-theme="light"] .weld-list-item.selected,
:root[data-theme="light"] .feature-item.selected > summary,
:root[data-theme="light"] .feature-item.highlighted > summary { color: #6d2d0c; background: #fff0e7; }
:root[data-theme="light"] .weld-list-item.partially-selected { background: #fff7f1; }
