/*
 * Modfixor design system
 * Philosophy: industrial graphite workshop software with copper operating accents.
 * Warm metal, steel-grey structure, clear contrast. Avoid racing and cyberpunk cues.
 */
:root {
  --ink: #171514;
  --navy: #201d1b;
  --panel: #302c29;
  --panel-2: #3d3733;
  --line: rgba(184, 181, 173, 0.24);
  --line-strong: rgba(141, 60, 60, 0.68);
  --silver: #f0ece4;
  --muted: #b8b2ab;
  --blue: #b64f50;
  --blue-soft: rgba(182, 79, 80, 0.15);
  --cyan: #b8b5ad;
  --amber: #aaa39b;
  --red: #b64f50;
  --copper: #b64f50;
  --copper-bright: #b64f50;
  --steel: #b8b5ad;
  --sage: #9cad97;
  --radius: 14px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  margin: 0;
  color: var(--silver);
  background: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.35;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.page-shell { min-height: 100vh; background: radial-gradient(circle at 95% 0%, rgba(60, 102, 153, 0.18), transparent 33%), var(--navy); }
.container { width: min(1500px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow { color: var(--cyan); font-size: 0.77rem; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; }
.muted { color: var(--muted); }
.section-title { margin: 10px 0 0; font-size: clamp(1.75rem, 4vw, 2.8rem); letter-spacing: -0.045em; }
.surface { background: linear-gradient(160deg, rgba(24, 34, 51, 0.95), rgba(12, 19, 31, 0.95)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Brand system: independent Modfixor repair-path symbol plus an editable CSS wordmark. */
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; color: #eef5ff; }
.brand-mark { width: 34px; height: 34px; display: block; object-fit: contain; filter: drop-shadow(0 0 9px rgba(33, 212, 212, .22)); }
.sidebar .brand { margin: 0 0 18px; }
.sidebar .brand strong { font-size: .95rem; }
.sidebar .brand-mark { width: 28px; height: 28px; }
.sidebar-account { margin-top: 14px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.02); }
.sidebar-account strong { font-size: .82rem; line-height: 1.2; word-break: break-word; }
.sidebar-account small { font-size: .68rem; }
.sidebar-identity { margin-top: 8px; }
.workshop-pro-card { padding: 8px 10px; }
.workshop-pro-avatar { width: 28px; height: 28px; font-size: .75rem; }
.workshop-pro-meta strong { font-size: .78rem; line-height: 1.2; word-break: break-word; }
.workshop-pro-meta small { font-size: .65rem; }
.nav-section-label { display: block; margin: 10px 8px 4px; color: #5e7894; font-size: .6rem; font-weight: 850; letter-spacing: .13em; }
.sidebar-language { margin-bottom: 6px; }
.sidebar .brand { margin: 0 0 10px !important; }
.sidebar-language { margin-bottom: 6px; }
.brand-emblem { width: 34px; height: 34px; display: block; filter: drop-shadow(0 0 9px rgba(33, 212, 212, .22)); }
.brand-word { font-size: 1.22rem; font-weight: 820; letter-spacing: -0.065em; line-height: 1; }
.brand-word .fix { color: #5a90ff; }
.brand--large { gap: 13px; }
.brand--large .brand-mark { width: 52px; height: 52px; }
.brand--large .brand-word { font-size: 2rem; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(7, 16, 29, 0.88); backdrop-filter: blur(18px); }
.header-inner { display: flex; height: 78px; align-items: center; gap: 34px; }
.site-nav { display: flex; flex: 1; justify-content: center; gap: 27px; color: #cbd5e3; font-size: 0.9rem; }
.site-nav a { transition: color 160ms ease; }
.site-nav a:hover, .site-nav a.active { color: white; }
.header-actions { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; }
.language-toggle { min-width: 45px; min-height: 32px; padding: 0 9px; border: 1px solid #35527b; border-radius: 7px; color: #b9d9ff; background: rgba(36, 67, 110, .16); font-size: .76rem; font-weight: 800; letter-spacing: .04em; }
.language-toggle:hover { border-color: #4b83d7; color: white; }
.nav-toggle { display: none; border: 0; background: transparent; color: white; font-size: 1.4rem; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; font-size: 0.92rem; font-weight: 740; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: white; background: linear-gradient(135deg, #3779ff, #1f5bdd); box-shadow: 0 10px 24px rgba(33, 93, 235, 0.28); }
.button.secondary { color: #a7c6ff; border-color: #2d62b7; background: rgba(27, 69, 141, 0.13); }
.button.ghost { color: var(--muted); border-color: var(--line); background: transparent; }
.button.small { min-height: 36px; padding: 0 13px; font-size: 0.82rem; }

.hero { position: relative; overflow: hidden; padding: 82px 0 74px; }
.hero::before { content: ""; position: absolute; width: 430px; height: 430px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(67, 142, 255, 0.22), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 52px; }
.hero h1 { margin: 12px 0 18px; max-width: 710px; font-size: clamp(2.5rem, 5vw, 4.7rem); letter-spacing: -0.065em; line-height: 0.98; }
.hero-copy { max-width: 570px; margin: 0; color: #b5c0d1; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 29px; }
.proofs { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 36px; color: #dce5f2; font-size: 0.9rem; }
.proof { display: inline-flex; align-items: center; gap: 9px; }
.proof svg { width: 22px; height: 22px; color: var(--cyan); }

.module-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.ecu-module { position: relative; width: min(100%, 350px); aspect-ratio: 1; padding: 27px; border: 1px solid rgba(150, 174, 211, 0.5); border-radius: 28px; background: linear-gradient(145deg, #2a3545, #080f1a 68%); box-shadow: inset 0 1px 0 rgba(255,255,255,.19), 0 30px 80px rgba(0,0,0,.45); }
.ecu-module::before, .ecu-module::after { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(87, 119, 165, .45); border-radius: 20px; }
.ecu-module::after { inset: 29px; border-style: dashed; opacity: .55; }
.connector-ring { position: relative; z-index: 2; display: grid; width: 176px; aspect-ratio: 1; margin: 60px auto; place-items: center; border: 13px solid #131f31; border-top-color: var(--cyan); border-right-color: #3380ff; border-radius: 50%; box-shadow: 0 0 0 7px rgba(56, 131, 255, .14), 0 0 38px rgba(38, 173, 211, .42); }
.connector-ring::before { content: ""; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #5e7186, #101b28 64%); border: 1px solid #8290a1; box-shadow: inset 0 0 18px black; }
.connector-ring::after { content: "···\A···\A···"; white-space: pre; position: absolute; font-size: 28px; line-height: 19px; letter-spacing: 7px; color: #d7e2ed; transform: rotate(18deg); }
.signal { position: absolute; z-index: 4; width: 120px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); box-shadow: 0 0 12px var(--cyan); }
.signal.one { right: -45px; top: 100px; }
.signal.two { right: -66px; top: 195px; }
.signal.three { right: -52px; top: 290px; }
.status-stack { position: absolute; right: -86px; top: 72px; display: grid; gap: 14px; }
.status-chip { display: flex; align-items: center; width: 190px; gap: 11px; padding: 12px 13px; border: 1px solid rgba(33, 212, 212, .64); border-radius: 9px; background: rgba(8, 20, 31, .85); box-shadow: 0 0 18px rgba(33,212,212,.14); color: #e5f4f5; font-size: .78rem; font-weight: 680; }
.status-chip i { display: grid; width: 23px; height: 23px; place-items: center; color: var(--cyan); font-style: normal; font-size: 1.1rem; }

.workflow { padding: 58px 0 80px; border-top: 1px solid var(--line); }
.workflow-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.workflow-heading h2 { margin: 8px 0 0; font-size: 1.8rem; letter-spacing: -0.035em; }
.step-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.workflow-step { position: relative; min-height: 92px; display: flex; align-items: center; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: rgba(18, 28, 42, .7); }
.workflow-step:not(:last-child)::after { content: "›"; position: absolute; z-index: 2; right: -17px; font-size: 28px; color: #4389e6; }
.step-num { display: grid; flex: 0 0 auto; width: 31px; height: 31px; place-items: center; border: 1px solid #397dff; border-radius: 50%; color: white; background: var(--blue-soft); font-weight: 800; }
.workflow-step strong { display: block; font-size: .88rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 20px; }
.service-card { position: relative; overflow: hidden; min-height: 150px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(130deg, rgba(24, 35, 52, .92), rgba(12, 19, 31, .92)); }
.service-card::after { content: ""; position: absolute; bottom: 0; left: 24px; width: 52px; height: 3px; background: var(--blue); }
.service-card .icon-box { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #335384; border-radius: 10px; color: #59a1ff; background: #101b2c; }
.service-card h3 { margin: 17px 0 0; font-size: 1.05rem; }
.service-card p { margin: 8px 0 0; color: var(--muted); font-size: .84rem; }
.support-catalog { padding: 16px 0 14px; border-top: 1px solid var(--line); }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.catalog-head h2 { max-width: 660px; margin: 8px 0; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.045em; }
.catalog-head p { max-width: 670px; margin: 0; color: var(--muted); }
.catalog-controls { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 24px; padding: 19px; }
.catalog-controls .field { min-width: min(100%, 330px); }
.catalog-note { display: flex; align-items: center; gap: 10px; max-width: 440px; color: #a7b9cf; font-size: .84rem; }
.catalog-note span:first-child { color: var(--cyan); font-size: 1.3rem; }
.function-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; margin-top: 12px; }
.function-grid span { padding: 12px 8px; border: 1px solid var(--line); border-radius: 8px; color: #d4e4f7; background: rgba(24, 48, 81, .22); text-align: center; font-size: .74rem; font-weight: 780; letter-spacing: .03em; }
.support-workbench { margin-top: 24px; overflow: hidden; }
.support-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.018); color: var(--cyan); }
.support-search svg { width: 18px; height: 18px; }
.support-search input { min-width: 0; border: 0; outline: 0; color: #e8f1fb; background: transparent; font-size: .92rem; }
.support-search input::placeholder { color: #6f8299; }
.table-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; color: var(--cyan); background: rgba(255,255,255,.018); border-bottom: 1px solid var(--line); }
.table-search svg { width: 17px; height: 17px; }
.table-search input { min-width: 0; border: 0; outline: 0; color: #e8f1fb; background: transparent; font-size: .85rem; }
.table-search input::placeholder { color: #6f8299; }
.function-icon-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 1px; border-bottom: 1px solid var(--line); background: var(--line); }
.function-icon-button { display: flex; min-height: 87px; align-items: center; justify-content: center; flex-direction: column; gap: 8px; border: 0; padding: 11px 4px; color: #99abc1; background: #101a2a; font-size: .66rem; font-weight: 790; letter-spacing: .035em; }
.function-icon-button b { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #31465e; border-radius: 7px; color: #7f9fca; font-size: 1rem; font-weight: 600; }
.function-icon-button:hover, .function-icon-button.active { color: #e9f6ff; background: #132844; }
.function-icon-button.active { box-shadow: inset 0 -2px 0 var(--cyan); }
.function-icon-button.active b { border-color: var(--cyan); color: var(--cyan); background: rgba(33,212,212,.08); }
.function-tabs { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); background: rgba(5, 13, 24, .42); }
.function-tab { flex: 0 0 auto; padding: 15px 20px; border: 0; border-right: 1px solid var(--line); color: var(--muted); background: transparent; font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.function-tab.active { color: white; background: rgba(47, 107, 255, .16); box-shadow: inset 0 -2px 0 var(--cyan); }
.feature-panel { display: none; padding: 24px; }
.feature-panel.active { display: block; }
.empty-search { margin: 14px 16px; color: var(--muted); font-size: .85rem; }
.feature-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.feature-panel-head h3 { margin: 10px 0 5px; font-size: 1.25rem; }
.feature-panel-head p { margin: 0; color: var(--muted); }
.support-table { margin-top: 22px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.support-row { display: grid; grid-template-columns: 1fr 1.35fr 1fr .8fr; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--line); color: #d9e5f1; font-size: .84rem; }
.support-row:first-child { border-top: 0; }
.support-heading { color: var(--muted); background: rgba(255,255,255,.025); font-size: .73rem; font-weight: 750; text-transform: uppercase; }
.available-label { color: var(--cyan); font-weight: 800; }

/* Support list pagination */
.support-pagination { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; flex-wrap: wrap; }
.support-pagination-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.support-pagination-controls select { min-height: 26px; width: 52px; padding: 0 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel, transparent); color: inherit; font: inherit; font-size: .68rem; }
.support-pagination-buttons { display: flex; gap: 6px; }
.support-pagination-buttons button { min-height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: inherit; font: inherit; font-size: .72rem; cursor: pointer; }
.support-pagination-buttons button:hover:not(:disabled) { border-color: var(--cyan, #6dd2f3); color: var(--cyan, #6dd2f3); }
.support-pagination-buttons button:disabled { opacity: .45; cursor: not-allowed; }
.service-overview { padding: 28px 0 52px; }
.nav-section-label { display: block; margin: 10px 8px 4px; color: #5e7894; font-size: .62rem; font-weight: 850; letter-spacing: .13em; }
.service-workspace { padding-bottom: 48px; }
.service-flow { padding: 0; overflow: hidden; }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: rgba(4,10,19,.45); }
.flow-step { display: flex; align-items: center; gap: 9px; padding: 16px 18px; color: #71849b; border: 0; border-right: 1px solid var(--line); font-size: .74rem; font-weight: 800; background: transparent; text-align: left; cursor: default; }
.flow-step:last-child { border-right: 0; }
.flow-step b { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border: 1px solid #384a5f; border-radius: 999px; font-size: .68rem; }
.flow-step.active { color: #eaf8ff; background: rgba(47,107,255,.12); }
.flow-step.active b, .flow-step.done b { border-color: var(--cyan); color: #05202a; background: var(--cyan); }
.service-content { display: grid; grid-template-columns: 1fr; gap: 0; }
.flow-main { padding: 2px 28px 26px; }
.flow-block { display: block; padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: rgba(5,13,24,.26); transition: opacity .2s ease, border-color .2s ease; }
.flow-block.flow-active { opacity: 1; border-color: rgba(33,212,212,.42); }
.flow-block:last-child { border-bottom: 0; }
.muted-stage { opacity: .72; }
.muted-stage.ready { opacity: 1; }
.block-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.step-kicker { display: none; }
.block-heading h2 { margin: 0; font-size: 1.03rem; letter-spacing: -.02em; }
.block-heading p { margin: 5px 0 0; color: var(--muted); font-size: .83rem; }
.main-function-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 17px; }
.main-function-card { min-height: 108px; display: flex; align-items: flex-start; flex-direction: column; padding: 14px; gap: 6px; border: 1px solid var(--line); border-radius: 9px; color: #b9c9db; text-align: left; background: rgba(12,25,42,.6); }
.main-function-card b { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #36506c; border-radius: 6px; color: #8ba4c3; }
.main-function-card strong { color: #eaf4ff; font-size: .82rem; }
.main-function-card span { color: #778ba2; font-size: .68rem; line-height: 1.35; }
.main-function-card.active { border-color: rgba(33,212,212,.7); background: rgba(8,59,77,.35); box-shadow: inset 0 0 0 1px rgba(33,212,212,.12); }
.main-function-card.active b { color: var(--cyan); border-color: var(--cyan); }
.file-dropzone { display: flex; align-items: center; gap: 14px; margin-top: 17px; padding: 16px; border: 1px dashed #3f607d; border-radius: 9px; color: #b6cbe0; background: rgba(14,33,53,.42); }
.file-dropzone > svg { width: 24px; height: 24px; color: var(--cyan); }
.file-dropzone > div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.file-dropzone strong { color: #e9f5ff; font-size: .84rem; }
.file-dropzone span { color: #718ba4; font-size: .72rem; }
.state-pill { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #8fa7bf; font-size: .7rem; font-weight: 750; white-space: nowrap; }
.state-pill.ready { color: var(--cyan); border-color: rgba(33,212,212,.55); background: rgba(33,212,212,.08); }
.identify-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 16px; }
.identify-item { padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: rgba(4,12,23,.35); }
.identify-item span, .analysis-row span, .summary-function span { display: block; color: #7790aa; font-size: .68rem; }
.identify-item strong { display: block; margin-top: 5px; color: #e6f2ff; font-size: .8rem; }
.analysis-row, .result-download { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(4,12,23,.28); }
.analysis-row strong { display: block; margin-top: 4px; color: var(--cyan); font-size: .9rem; }
.analysis-progress { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #a8c0d6; font-size: .78rem; }
.analysis-progress[hidden] { display: none; }
.analysis-progress i { display: block; width: 110px; height: 5px; border-radius: 99px; overflow: hidden; background: #23364a; }
.analysis-progress i::after { content:""; display:block; width:65%; height:100%; background:var(--cyan); animation: service-progress 1.2s ease-in-out infinite alternate; }
.dtc-code-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 16px; }
.dtc-code-item { display: flex; gap: 9px; align-items: flex-start; min-height: 78px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(4,12,23,.32); }
.dtc-code-item input { margin: 3px 0 0; accent-color: var(--cyan); }.dtc-code-item span { display: flex; flex-direction: column; gap: 5px; }.dtc-code-item strong { color: #ebf6ff; font-size: .83rem; }.dtc-code-item small { color: #8096ae; font-size: .67rem; line-height: 1.35; }
.code-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; color: #8096ae; font-size: .73rem; }
@keyframes service-progress { from { transform: translateX(-35%); } to { transform: translateX(60%); } }
.result-download { opacity: .75; }
.result-download.ready { opacity: 1; border-color: rgba(33,212,212,.38); }
.result-file-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #3c5f77; border-radius: 7px; color: var(--cyan); font-size: 1.1rem; }
.result-download > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.result-download strong { color: #eaf5ff; font-size: .8rem; }.result-download span { color: #7790aa; font-size: .7rem; }
.service-summary { display: grid; grid-template-columns: 1.1fr repeat(2, 1fr) 1.8fr; align-items: center; gap: 14px; padding: 16px 20px; border-left: 0; border-top: 1px solid var(--line); background: rgba(5,12,22,.34); }
.continuous-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 18px; align-items: stretch; }
.continuous-flow .flow-block { min-width: 0; }
.continuous-flow [data-service-stage="function"] { grid-column: 1; grid-row: 1; }
.continuous-flow [data-service-stage="upload"] { grid-column: 2; grid-row: 1; }
.continuous-flow [data-service-stage="identify"] { grid-column: 1; grid-row: 2; }
.continuous-flow [data-service-stage="analysis"] { grid-column: 2; grid-row: 2; }
.continuous-flow [data-service-stage="codes"] { grid-column: 1; grid-row: 3; }
.continuous-flow [data-service-stage="result"] { grid-column: 2; grid-row: 3; }
.continuous-flow .block-heading { gap: 7px; }.continuous-flow .block-heading h2 { font-size: .9rem; }.continuous-flow .block-heading p { font-size: .72rem; }.continuous-flow .main-function-grid { grid-template-columns: repeat(2,1fr); gap: 7px; margin-top: 12px; }.continuous-flow .main-function-card { min-height: 80px; padding: 10px; }.continuous-flow .main-function-card span { font-size: .61rem; }.continuous-flow .file-dropzone { flex-wrap: wrap; margin-top: 12px; padding: 11px; }.continuous-flow .file-dropzone > div { min-width: 115px; }.continuous-flow .identify-grid { grid-template-columns: repeat(2,1fr); margin-top: 12px; gap: 6px; }.continuous-flow .identify-item { padding: 9px; }.continuous-flow .identify-item strong { font-size: .71rem; }.continuous-flow .analysis-row, .continuous-flow .result-download { margin-top: 12px; padding: 10px; flex-wrap: wrap; }.continuous-flow .dtc-code-list { grid-template-columns: 1fr; gap: 6px; margin-top: 10px; }.continuous-flow .dtc-code-item { min-height: auto; padding: 8px; }.continuous-flow .dtc-code-item small { font-size: .61rem; }.continuous-flow .code-footer { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 10px; }.continuous-flow .code-footer .button { width: 100%; }.continuous-flow .result-download { align-items: flex-start; flex-direction: column; }.continuous-flow .result-download .button { width: 100%; }
.summary-label { color: var(--cyan); font-size: .66rem; font-weight: 850; letter-spacing: .12em; }.summary-function { margin: 0; }.summary-function strong { display: block; margin-top: 5px; color: #eff9ff; font-size: 1.02rem; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 0; border-top: 0; color: #8fa4bb; font-size: .76rem; }.summary-line strong { color: #e8f3ff; font-size: .8rem; }.summary-line small { color: var(--cyan); }
.summary-note { display: flex; gap: 8px; margin: 0; padding: 9px; border: 1px solid rgba(45,83,115,.65); border-radius: 7px; color: #8ca5bd; background: rgba(27,59,88,.19); }.summary-note span { color: var(--cyan); font-weight: 900; }.summary-note p { margin: 0; font-size: .71rem; line-height: 1.45; }
@media (max-width: 1100px) { .service-summary { grid-template-columns: repeat(2,1fr); }.continuous-flow { grid-template-columns: repeat(2,1fr); }.continuous-flow [data-service-stage="function"], .continuous-flow [data-service-stage="upload"], .continuous-flow [data-service-stage="identify"], .continuous-flow [data-service-stage="analysis"], .continuous-flow [data-service-stage="codes"], .continuous-flow [data-service-stage="result"] { grid-column: auto; grid-row: auto; }.flow-steps { grid-template-columns: repeat(4,1fr); }.flow-step { padding: 13px 10px; font-size: .66rem; } }
@media (max-width: 640px) { .flow-main { padding: 1px 16px 18px; }.flow-steps { grid-template-columns: repeat(2,1fr); }.flow-step { border-right: 0; border-bottom: 1px solid var(--line); }.continuous-flow { grid-template-columns: 1fr; padding: 12px; }.service-summary { grid-template-columns: 1fr; }.main-function-grid, .identify-grid, .dtc-code-list { grid-template-columns: repeat(2,1fr); }.file-dropzone, .analysis-row, .result-download, .code-footer { align-items: flex-start; flex-direction: column; }.file-dropzone .button, .analysis-row .button, .result-download .button, .code-footer .button { width:100%; } }

/* App workspace styles. */
.app-layout { display: grid; grid-template-columns: 180px 1fr; min-height: 100vh; background: #08111e; }
.sidebar { position: sticky; top: 0; align-self: start; height: 100vh; padding: 20px 10px; border-right: 1px solid var(--line); background: #09121f; }
.sidebar .brand { margin: 0 0 12px; }
.sidebar-language { margin: 0 0 8px; }
.app-nav { display: grid; gap: 4px; }
.app-nav a { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 9px; border: 1px solid transparent; border-radius: 8px; color: #c7d2e1; font-size: .76rem; line-height: 1.2; white-space: normal; word-break: break-word; }
.app-nav button { display: flex; width: 100%; align-items: center; gap: 9px; min-height: 38px; border: 1px solid transparent; border-radius: 8px; padding: 6px 9px; color: #c7d2e1; background: transparent; font: inherit; font-size: .76rem; line-height: 1.2; text-align: left; white-space: normal; word-break: break-word; }
.app-nav a svg { width: 18px; height: 18px; color: #a5b1c2; flex-shrink: 0; }
.app-nav a:hover, .app-nav button:hover { background: rgba(255,255,255,.03); }
.app-nav a.active, .app-nav button.active { color: white; border-color: #336fda; background: linear-gradient(90deg, rgba(37,96,225,.90), rgba(26,70,142,.60)); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.app-nav a.active svg { color: #b9f7ff; }
.workshop-badge { position: absolute; bottom: 22px; right: 15px; left: 15px; display: flex; align-items: center; gap: 11px; padding: 11px; border: 1px solid var(--line); border-radius: 9px; color: #dce4ef; background: rgba(18, 28, 43, .74); font-size: .8rem; }
.workshop-avatar { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #cee1ff; background: #263752; font-weight: 800; }
.workspace { padding: 18px 37px 50px; overflow: hidden; }
.workspace-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 8px; }
.workspace-head h1 { margin: 0; letter-spacing: -0.04em; font-size: 2rem; }
.workspace-head p { margin: 3px 0 0; color: var(--muted); font-size: .94rem; }
.account-cluster { display: flex; align-items: center; gap: 13px; }
.credit-pill { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: #121c2c; font-size: .73rem; color: var(--muted); }
.credit-pill strong { display: block; color: var(--cyan); font-size: 1.25rem; line-height: 1; }
.profile-pill { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: #121c2c; font-size: .86rem; }

.progress { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.progress-step { position: relative; display: flex; align-items: center; gap: 9px; min-height: 55px; padding: 0 16px; color: var(--muted); background: rgba(7, 15, 26, .42); font-size: .82rem; }
.progress-step + .progress-step { border-left: 1px solid var(--line); }
.progress-step.active { color: #7aa8ff; background: rgba(29, 80, 178, .15); }
.progress-step.done { color: #c6fafa; }
.progress-step .badge { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: white; background: #253246; font-weight: 800; }
.progress-step.active .badge { background: var(--blue); }
.progress-step.done .badge { background: var(--cyan); color: #062428; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: 22px; margin-top: 18px; }
.form-card { padding: 22px; }
.form-card h2, .eligibility h2 { margin: 0 0 16px; font-size: 1.1rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice { display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 15px; border: 1px solid #315c90; border-radius: 10px; background: #0f1b2a; color: #e5edf7; font-weight: 670; }
.choice svg { flex: 0 0 auto; width: 28px; height: 28px; color: var(--cyan); }
.choice .check { margin-left: auto; color: var(--cyan); }
.rule { height: 1px; margin: 22px 0; background: var(--line); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.field { display: grid; gap: 7px; }
.field label { color: #d9e2ee; font-size: .78rem; font-weight: 670; }
.field label em { color: var(--red); font-style: normal; }
.input { min-height: 43px; padding: 0 12px; border: 1px solid #334457; border-radius: 7px; outline: none; color: #dbe5ef; background: #0b1523; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,107,255,.14); }
.lookup-link { margin-top: 13px; }
.dropzone { display: grid; min-height: 128px; margin-top: 10px; place-items: center; border: 1px dashed #4386ff; border-radius: 9px; color: #dce6f3; background: rgba(23, 62, 112, .11); text-align: center; }
.dropzone strong { display: block; margin-top: 7px; }
.dropzone span { color: #5794ff; }
.eligibility { padding: 22px; }
.ecu-title { margin: 5px 0 10px; font-size: 1.55rem; letter-spacing: -0.04em; }
.status-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid rgba(33,212,212,.65); border-radius: 6px; color: var(--cyan); background: rgba(33,212,212,.08); font-size: .76rem; font-weight: 760; }
.stat-line { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.stat-line strong { color: var(--cyan); }
.cost { padding: 20px 0 4px; color: var(--muted); }
.cost strong { display: block; margin-top: 4px; color: var(--cyan); font-size: 2rem; line-height: 1; }
.form-footer { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 20px; }
.metric { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(19, 30, 45, .76); }
.metric-label { color: var(--muted); font-size: .79rem; }
.metric-value { margin-top: 4px; color: var(--cyan); font-size: 1.85rem; font-weight: 780; line-height: 1; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 254px; gap: 20px; }
.jobs-card { overflow: hidden; }
.jobs-toolbar { display: flex; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; align-items: center; gap: 23px; font-size: .84rem; }
.tab { padding: 7px 0; color: var(--muted); border-bottom: 2px solid transparent; }
.tab.active { color: white; border-color: var(--blue); }
.search { width: 262px; min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; color: white; background: #0c1523; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 840px; }
th, td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: .82rem; }
th { color: #c5d1e1; background: rgba(14, 22, 35, .72); font-weight: 680; }
td { color: #cfd9e7; }
.table-file { color: white; font-weight: 650; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid; border-radius: 6px; font-size: .72rem; font-weight: 750; white-space: nowrap; }
.pill.complete { color: var(--cyan); border-color: rgba(33,212,212,.6); background: rgba(33,212,212,.07); }
.pill.processing { color: var(--amber); border-color: rgba(244,183,64,.55); background: rgba(244,183,64,.07); }
.pill.action { color: var(--red); border-color: rgba(239,91,91,.58); background: rgba(239,91,91,.07); }
.activity { padding: 18px; }
.activity h2 { margin: 0 0 15px; font-size: 1rem; }
.activity-item { position: relative; padding: 0 0 20px 26px; color: var(--muted); font-size: .78rem; }
.activity-item::before { content: ""; position: absolute; left: 4px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(47,107,255,.14); }
.activity-item.warn::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(244,183,64,.12); }
.activity-item.done::before { background: var(--cyan); box-shadow: 0 0 0 4px rgba(33,212,212,.12); }
.activity-item::after { content: ""; position: absolute; left: 8px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.activity-item:last-child::after { display: none; }
.activity-item strong { display: block; color: white; font-size: .82rem; }

.lookup-card { padding: 19px; }
.lookup-form { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: end; gap: 14px; }
.lookup-result { display: grid; grid-template-columns: 1fr 1.22fr .95fr; gap: 15px; margin-top: 20px; }
.result-card { padding: 19px; }
.result-card h2 { margin: 0 0 14px; font-size: 1.24rem; }
.detail-list { display: grid; gap: 0; }
.detail-list div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.detail-list strong { color: #d9e4ef; font-weight: 650; text-align: right; }
.module-list { display: grid; gap: 9px; }
.module-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #0d1725; font-size: .83rem; }
.module-row small { display: block; margin-top: 3px; color: var(--muted); }
.module-row .available { color: var(--cyan); font-size: .72rem; font-weight: 740; }
.license-status { display: grid; gap: 15px; }
.license-status .license-name { color: #dbe5ef; font-weight: 740; }
.license-status .validity { color: var(--muted); font-size: .83rem; }
.credit-balance { display: flex; justify-content: space-between; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.credit-balance strong { color: var(--cyan); font-size: 1.5rem; line-height: 1; }
.notes { margin-top: 16px; padding: 19px; }
.notes h2 { margin: 0 0 13px; font-size: 1rem; }
.note { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); color: #b8c5d5; font-size: .84rem; }
.note b { color: var(--blue); }

.footer { padding: 35px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(390px, calc(100vw - 48px));
  padding: 14px 17px;
  border: 1px solid rgba(33, 212, 212, .55);
  border-radius: 10px;
  color: #e9fbfb;
  background: rgba(10, 25, 36, .96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
  /* 默认可见：JS 的 showToast 不依赖 .show 类，动画结束后需保持显示 */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 180ms ease, transform 180ms ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast .toast-mark { color: var(--cyan); font-weight: 900; }
.lookup-result.flash { animation: lookup-flash 700ms ease; }
@keyframes lookup-flash { 0%,100% { filter: brightness(1); } 40% { filter: brightness(1.24); } }

[lang="zh-CN"] body { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif; }
[lang="zh-CN"] .eyebrow { letter-spacing: .07em; }
[lang="zh-CN"] .brand-word { letter-spacing: -0.035em; }

@media (max-width: 1000px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-actions { display: none; }
  .site-nav.open { position: absolute; top: 78px; right: 0; left: 0; display: grid; gap: 0; padding: 14px 24px; border-bottom: 1px solid var(--line); background: #0b1020; }
  .site-nav.open a { padding: 10px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .module-visual { min-height: 340px; transform: scale(.85); transform-origin: center; margin: -28px 0; }
  .step-list { grid-template-columns: repeat(3, 1fr); }
  .function-grid { grid-template-columns: repeat(3, 1fr); }
  .function-icon-grid { grid-template-columns: repeat(5, 1fr); }
  .feature-panel-head { align-items: flex-start; flex-direction: column; }
  .workflow-step::after { display: none; }
  .app-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: none; height: auto; }
  .workspace { padding: 28px 24px; }
  .form-layout, .job-layout { grid-template-columns: 1fr; }
  .lookup-result { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1180px); }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: 2.55rem; }
  .proofs { display: grid; gap: 12px; }
  .step-list, .service-grid, .metrics, .choice-grid, .field-grid { grid-template-columns: 1fr; }
  .catalog-head, .catalog-controls { align-items: stretch; flex-direction: column; display: flex; }
  .function-grid { grid-template-columns: repeat(2, 1fr); }
  .support-search { grid-template-columns: auto 1fr; }
  .support-search .button { grid-column: 1 / -1; width: 100%; }
  .table-search { grid-template-columns: auto 1fr; }
  .table-search .button { grid-column: 1 / -1; width: 100%; }
  .function-icon-grid { grid-template-columns: repeat(3, 1fr); }
  .support-row { grid-template-columns: 1fr 1fr; }
  .support-row span:nth-child(3), .support-row span:nth-child(4) { color: var(--muted); }
  .workflow-step { min-height: 64px; }
  .workspace-head, .jobs-toolbar, .lookup-form { align-items: stretch; flex-direction: column; display: flex; }
  .account-cluster { display: none; }
  .progress { grid-template-columns: 1fr 1fr; }
  .progress-step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .progress-step:nth-child(4) { border-top: 1px solid var(--line); }
  .search { width: 100%; }
  .form-footer { flex-wrap: wrap; }
  .form-footer .button { flex: 1; }
  .toast { right: 16px; bottom: 16px; max-width: calc(100vw - 32px); }
}

/* Industrial graphite + copper implementation. This override deliberately changes material, hierarchy and action color without changing the approved layout. */
.page-shell { background: radial-gradient(circle at 92% 0%, rgba(150, 80, 34, .23), transparent 33%), radial-gradient(circle at 0% 42%, rgba(106, 94, 75, .12), transparent 28%), var(--navy); }
.site-header { background: rgba(20, 18, 15, .9); }.site-nav { color:#c9bfb1; }.site-nav a:hover,.site-nav a.active { color:var(--copper-bright); }.language-toggle { border-color:#745235; color:#f1c383; background:rgba(138,78,34,.16); }.language-toggle:hover { border-color:var(--copper-bright); color:#fff4e6; }
.brand { color:#f7eee1; }.brand-mark,.brand-emblem { filter:drop-shadow(0 0 9px rgba(223,142,66,.25)); }.brand-word .fix { color:var(--copper-bright); }
.button.primary { color:#281609; background:linear-gradient(135deg, #f0b46d, #b95e2d); box-shadow:0 10px 24px rgba(134,65,27,.32); }.button.secondary { color:#efbd7c; border-color:#8d5a31; background:rgba(130,68,29,.15); }.button.ghost { border-color:var(--line); color:#c7b9a8; }
.hero::before { background:radial-gradient(circle, rgba(187,104,45,.25), transparent 65%); }.hero-copy { color:#c5b9aa; }.proofs { color:#e4d8c8; }.proof svg { color:var(--copper-bright); }
.ecu-module { border-color:rgba(213,177,129,.5); background:linear-gradient(145deg,#3a332a,#14120f 68%); }.ecu-module::before,.ecu-module::after { border-color:rgba(177,130,82,.5); }.connector-ring { border-color:#28231e; border-top-color:var(--copper-bright); border-right-color:#9d5d31; box-shadow:0 0 0 7px rgba(186,103,43,.13),0 0 38px rgba(183,101,42,.3); }.signal { background:linear-gradient(90deg,var(--copper-bright),transparent); box-shadow:0 0 12px var(--copper); }.status-chip { border-color:rgba(221,149,77,.62); background:rgba(32,26,21,.88); box-shadow:0 0 18px rgba(190,107,45,.14); color:#f2e6d7; }.status-chip i { color:var(--copper-bright); }
.surface,.service-card { background:linear-gradient(150deg,rgba(47,41,34,.96),rgba(26,23,19,.96)); }.service-card::after { background:var(--copper); }.service-card .icon-box { border-color:#70533c; color:var(--copper-bright); background:#211d18; }
.support-workbench { border-color:rgba(208,170,119,.28); background:linear-gradient(150deg,rgba(44,38,31,.98),rgba(24,21,18,.98)); }.function-icon-grid { background:rgba(218,195,160,.17); }.function-icon-button { color:#b8afa3; background:#211e1a; }.function-icon-button b { border-color:#625548; color:#bcae9d; }.function-icon-button:hover,.function-icon-button.active { color:#fff2df; background:#382b20; }.function-icon-button.active { box-shadow:inset 0 -3px 0 var(--copper-bright); }.function-icon-button.active b { border-color:var(--copper-bright); color:var(--copper-bright); background:rgba(231,157,81,.1); }
.table-search { position:relative; z-index:4; color:var(--copper-bright); background:rgba(36,31,25,.96); border-bottom-color:rgba(218,195,160,.22); }.table-search input { color:#f1e7d9; }.table-search input::placeholder { color:#8f8272; }.support-table { overflow:visible; border-color:rgba(218,195,160,.24); background:#1f1c18; }.support-results-scroll { min-height:228px; max-height:min(34vh, 292px); overflow-y:auto; overflow-x:hidden; scrollbar-gutter:stable; scrollbar-color:var(--copper-bright) #171512; }.support-results-scroll::-webkit-scrollbar { width:11px; }.support-results-scroll::-webkit-scrollbar-track { background:#171512; border-left:1px solid rgba(218,195,160,.16); }.support-results-scroll::-webkit-scrollbar-thumb { min-height:58px; border:2px solid #171512; border-radius:99px; background:linear-gradient(#efb36d,#b85b2c); }.support-results-scroll:focus { outline:2px solid rgba(239,179,109,.7); outline-offset:-2px; }.support-row { min-height:51px; color:#e3d7c8; border-top-color:rgba(218,195,160,.17); background:rgba(27,24,20,.42); }.support-row:nth-child(even) { background:rgba(48,41,32,.34); }.support-heading { position:sticky; top:0; z-index:3; min-height:43px; color:#c6b7a4; background:#312921; box-shadow:0 2px 0 rgba(218,195,160,.18); }.available-label { color:var(--copper-bright); }
.app-layout { background:#171512; }.sidebar { background:linear-gradient(180deg,#211d18,#171512); }.app-nav a,.app-nav button { color:#d1c5b5; }.app-nav a:hover,.app-nav button:hover { background:rgba(255,255,255,.035); }.app-nav a.active,.app-nav button.active { border-color:#9f6336; background:linear-gradient(90deg,rgba(186,94,42,.9),rgba(100,53,27,.64)); box-shadow:0 8px 20px rgba(0,0,0,.24); }.workshop-avatar { color:#f5e2cb; background:#4c3928; }.credit-pill,.profile-pill { background:#28231d; }.credit-pill strong,.metric-value { color:var(--copper-bright); }
.status-tag { border-color:rgba(230,165,96,.65); color:var(--copper-bright); background:rgba(230,165,96,.09); }.pill.complete { color:var(--sage); border-color:rgba(163,177,132,.58); background:rgba(163,177,132,.08); }.pill.processing { color:var(--amber); }.activity-item::before { background:var(--copper); box-shadow:0 0 0 4px rgba(199,120,57,.14); }.activity-item.done::before { background:var(--sage); box-shadow:0 0 0 4px rgba(163,177,132,.13); }
.site-nav.open { background:#1a1815; }

/* Homepage CTA reduction: the catalogue remains a passive coverage reference; file service can begin directly from the public homepage. */
.support-row[data-support-row] { cursor:default; }.support-continue { min-width:178px; }

/* Mobile shell: preserve the approved desktop framework, while exposing an explicit menu and a persistent route back to the public homepage. */
.mobile-workspace-bar,.mobile-nav-scrim { display:none; }.workspace-exit-tools { display:flex; align-items:center; gap:8px; margin:0 12px 17px; }.workspace-home-link { display:inline-flex; align-items:center; min-height:34px; color:var(--copper-bright); font-size:.72rem; font-weight:800; }.workspace-home-link:hover { color:#fff1df; }.workspace-menu-close { display:none; }
@media (max-width:1000px) {
  .site-header { position:sticky; }.header-inner { height:66px; gap:16px; }.site-nav.open { top:66px; padding:10px 16px 16px; background:#1a1815; box-shadow:0 18px 28px rgba(0,0,0,.3); }.site-nav.open a { display:flex; align-items:center; min-height:46px; padding:0 4px; border-bottom:1px solid rgba(218,195,160,.14); }.site-nav.open a:last-of-type { border-bottom:0; }.nav-toggle { display:grid; width:42px; height:42px; place-items:center; border:1px solid #765235; border-radius:8px; color:#f1c383; background:rgba(138,78,34,.15); line-height:1; }
  .app-layout { display:block; min-height:100vh; }.mobile-workspace-bar { position:sticky; top:0; z-index:70; display:flex; align-items:center; justify-content:space-between; min-height:58px; padding:0 14px; border-bottom:1px solid rgba(218,195,160,.18); background:rgba(25,22,18,.96); backdrop-filter:blur(16px); }.mobile-workspace-home,.mobile-workspace-toggle { display:inline-flex; align-items:center; justify-content:center; min-height:38px; border:1px solid #745235; border-radius:8px; padding:0 11px; color:#f4d2a2; background:rgba(138,78,34,.14); font:inherit; font-size:.72rem; font-weight:800; }.mobile-workspace-toggle { gap:7px; }.mobile-workspace-toggle > span:first-child { font-size:1rem; }
  .sidebar { position:fixed; z-index:90; top:0; bottom:0; left:0; display:flex; width:min(86vw,320px); height:100dvh; min-height:100vh; flex-direction:column; overflow-y:auto; padding:20px 14px; transform:translateX(-105%); transition:transform 220ms cubic-bezier(.23,1,.32,1); box-shadow:24px 0 60px rgba(0,0,0,.46); }.app-layout.mobile-nav-open .sidebar { transform:translateX(0); }.mobile-nav-scrim { position:fixed; z-index:80; inset:0; width:100%; height:100%; border:0; padding:0; background:rgba(0,0,0,.58); opacity:0; pointer-events:none; transition:opacity 180ms ease; }.app-layout.mobile-nav-open .mobile-nav-scrim { display:block; opacity:1; pointer-events:auto; }.workspace-menu-close { display:grid; width:30px; height:30px; place-items:center; border:1px solid #745235; border-radius:7px; color:#f2c789; background:rgba(138,78,34,.12); font-size:1.1rem; }.workspace-exit-tools { justify-content:space-between; margin:0 12px 16px; }.sidebar-account { margin-top:auto; }.workspace { padding:20px 16px 34px; }.workspace-head { margin-bottom:16px; }.workspace-head h1 { font-size:clamp(1.6rem,8vw,2.1rem); }.workspace-head p { font-size:.85rem; }
}
@media (max-width:680px) {
  body.workspace-menu-open { overflow:hidden; }.container { width:min(100% - 28px,1180px); }.hero { padding:38px 0 32px; }.hero h1 { font-size:clamp(2.25rem,12vw,3.25rem); }.hero-copy { font-size:1rem; }.hero-actions .button { width:100%; }.module-visual { min-height:240px; transform:scale(.7); margin:-68px 0 -48px; }.status-stack { right:-56px; transform:scale(.8); transform-origin:right top; }.support-catalog { padding-top:34px; }.function-icon-grid { grid-template-columns:repeat(3,1fr); }.function-icon-button { min-height:76px; }.feature-panel { padding:16px; }.feature-panel-head .button { width:100%; }.support-results-scroll { max-height:34vh; }.support-row { padding:11px 12px; font-size:.75rem; }.support-heading { font-size:.62rem; }.footer-inner { flex-direction:column; }
}

/* Selected theme: black-brown material, platinum hierarchy, restrained burgundy operations. */
.page-shell { background:radial-gradient(circle at 92% 0%,rgba(141,60,60,.19),transparent 33%),radial-gradient(circle at 0% 42%,rgba(184,181,173,.08),transparent 28%),var(--navy); }.site-header { background:rgba(23,21,20,.92); }.site-nav { color:#cec8c0; }.site-nav a:hover,.site-nav a.active { color:#e4b7b0; }.language-toggle { border-color:#6d4844; color:#e7c2bd; background:rgba(141,60,60,.14); }.language-toggle:hover { border-color:#c16c64; color:#fff5f1; }.brand { color:#f0ece4; }.brand-mark,.brand-emblem { filter:drop-shadow(0 0 9px rgba(141,60,60,.28)); }.brand-word .fix { color:#c16c64; }.button.primary { color:#fff5f1; background:linear-gradient(135deg,#a84f4b,#752c2d); box-shadow:0 10px 24px rgba(96,35,36,.34); }.button.secondary { color:#ded7ce; border-color:#74524d; background:rgba(141,60,60,.12); }.button.ghost { color:#c8c2ba; }.hero::before { background:radial-gradient(circle,rgba(141,60,60,.23),transparent 65%); }.hero-copy { color:#c9c2ba; }.proofs { color:#e2ddd5; }.proof svg { color:#c16c64; }.ecu-module { border-color:rgba(184,181,173,.48); background:linear-gradient(145deg,#403a36,#171514 68%); }.ecu-module::before,.ecu-module::after { border-color:rgba(184,181,173,.4); }.connector-ring { border-color:#2b2725; border-top-color:#c16c64; border-right-color:#7b3334; box-shadow:0 0 0 7px rgba(141,60,60,.13),0 0 38px rgba(141,60,60,.26); }.signal { background:linear-gradient(90deg,#c16c64,transparent); box-shadow:0 0 12px #8d3c3c; }.status-chip { border-color:rgba(193,108,100,.62); background:rgba(35,29,28,.9); box-shadow:0 0 18px rgba(141,60,60,.14); color:#f0ece4; }.status-chip i { color:#c16c64; }.surface,.service-card { background:linear-gradient(150deg,rgba(49,45,42,.98),rgba(27,24,23,.98)); }.service-card::after { background:#8d3c3c; }.service-card .icon-box { border-color:#675e58; color:#c16c64; background:#24211f; }.support-workbench { border-color:rgba(184,181,173,.25); background:linear-gradient(150deg,rgba(47,43,40,.98),rgba(24,22,21,.98)); }.function-icon-grid { background:rgba(184,181,173,.14); }.function-icon-button { color:#bfb8b0; background:#25221f; }.function-icon-button b { border-color:#665f58; color:#c7c0b8; }.function-icon-button:hover,.function-icon-button.active { color:#f5f1ea; background:#382b2b; }.function-icon-button.active { box-shadow:inset 0 -3px 0 #c16c64; }.function-icon-button.active b { border-color:#c16c64; color:#f1c4be; background:rgba(141,60,60,.1); }.table-search { color:#d9a9a3; background:rgba(39,34,32,.97); border-bottom-color:rgba(184,181,173,.2); }.table-search input { color:#f0ece4; }.table-search input::placeholder { color:#9c958d; }.support-table { border-color:rgba(184,181,173,.22); background:#211f1d; }.support-results-scroll { scrollbar-color:#b75b58 #171514; }.support-results-scroll::-webkit-scrollbar-track { background:#171514; border-left-color:rgba(184,181,173,.14); }.support-results-scroll::-webkit-scrollbar-thumb { border-color:#171514; background:linear-gradient(#c16c64,#7c3133); }.support-results-scroll:focus { outline-color:rgba(193,108,100,.7); }.support-row { color:#e2ddd5; border-top-color:rgba(184,181,173,.14); background:rgba(29,27,25,.46); }.support-row:nth-child(even) { background:rgba(52,47,44,.32); }.support-heading { color:#c9c2ba; background:#342f2c; box-shadow:0 2px 0 rgba(184,181,173,.16); }.available-label { color:#dca49d; }.app-layout { background:#171514; }.sidebar { background:linear-gradient(180deg,#292522,#171514); }.app-nav a,.app-nav button { color:#d8d1c8; }.app-nav a.active,.app-nav button.active { border-color:#a6504c; background:linear-gradient(90deg,rgba(141,60,60,.92),rgba(89,37,38,.7)); }.workshop-avatar { color:#f4e7e3; background:#593838; }.credit-pill,.profile-pill { background:#302b28; }.credit-pill strong,.metric-value { color:#d69b94; }.status-tag { border-color:rgba(193,108,100,.65); color:#dfaaa3; background:rgba(141,60,60,.09); }.activity-item::before { background:#8d3c3c; box-shadow:0 0 0 4px rgba(141,60,60,.14); }.site-nav.open { background:#211e1c; }.workspace-home-link { color:#e4b7b0; }.workspace-home-link:hover { color:#fff4ef; }

/* Final three-layer rule: neutral structure; burgundy means click/current; mint means complete/result ready. */
.site-nav a:hover,.site-nav a.active,.language-toggle:hover,.workspace-home-link { color:#b64f50; }.language-toggle,.nav-toggle,.mobile-workspace-home,.mobile-workspace-toggle,.workspace-menu-close { border-color:#625855; color:#d8d1c8; background:rgba(255,255,255,.035); }.button.primary { color:#fff8f6; background:linear-gradient(135deg,#be5959,#8f383b); box-shadow:0 10px 24px rgba(115,40,43,.34); }.button.secondary,.button.ghost { color:#d8d1c8; border-color:#625855; background:rgba(255,255,255,.025); }.button.secondary:hover,.button.ghost:hover { border-color:#b64f50; background:rgba(182,79,80,.1); }.proof svg,.brand-word .fix { color:#b64f50; }.status-chip,.service-card .icon-box { border-color:#625855; box-shadow:none; }.status-chip i,.service-card .icon-box { color:#b8b5ad; }.service-card::after { background:#b64f50; }.function-icon-button:hover { border-color:#756762; background:#302b29; }.function-icon-button.active { background:#462b2d; box-shadow:inset 0 -3px 0 #b64f50; }.function-icon-button.active b { border-color:#b64f50; color:#f0d1d0; background:rgba(182,79,80,.12); }.support-results-scroll { scrollbar-color:#877c76 #171514; }.support-results-scroll::-webkit-scrollbar-thumb { background:#877c76; }.available-label,.pill.complete,.activity-item.done::before { color:#8fc5a1; }.pill.complete { border-color:rgba(143,197,161,.58); background:rgba(143,197,161,.09); }.pill.processing,.status-tag { color:#aaa39b; border-color:#625855; background:rgba(255,255,255,.03); }.activity-item::before { background:#aaa39b; box-shadow:0 0 0 4px rgba(170,163,155,.1); }.activity-item.done::before { background:#8fc5a1; box-shadow:0 0 0 4px rgba(143,197,161,.12); }
