:root {
  --paper: #f4f7f6;
  --card: #ffffff;
  --ink: #17324d;
  --ink-soft: #466075;
  --muted: #768692;
  --line: #d8e2e1;
  --line-strong: #bccdca;
  --teal: #2d8c86;
  --teal-soft: #e4f2ef;
  --blue-soft: #eaf1f8;
  --yellow: #c69318;
  --orange: #da6b33;
  --red: #c44e4e;
  --green: #3b9568;
  --shadow: 0 16px 42px rgba(29, 62, 76, .08);
  --shadow-soft: 0 7px 22px rgba(29, 62, 76, .06);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input, select { font: inherit; }
button, a, label, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.lab-page { min-height: 100dvh; background: radial-gradient(circle at 86% 4%, rgba(45, 140, 134, .08), transparent 28%), var(--paper); }
.lab-shell { max-width: 1360px; margin: 0 auto; padding: 30px 42px 38px; }
.lab-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.brand-lockup { display: flex; align-items: flex-start; gap: 14px; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; color: white; background: var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--teal); font: 700 14px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; }
.brand-kicker, .eyebrow, .card-index, .module-bar, .readout-label { margin: 0; color: var(--teal); font: 700 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .13em; }
.brand-kicker { margin: 2px 0 8px; color: var(--ink-soft); }
.lab-header h1 { margin: 0; color: var(--ink); font-size: clamp(23px, 3vw, 36px); line-height: 1.12; letter-spacing: -.055em; }
.brand-subtitle { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.header-status { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; margin-top: 7px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255, 255, 255, .7); color: var(--ink-soft); font-size: 12px; box-shadow: var(--shadow-soft); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.intro-band { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr); align-items: end; gap: 50px; padding: 62px 0 45px; }
.intro-band .eyebrow { margin-bottom: 18px; }
.intro-band h2 { max-width: 720px; margin: 0; color: var(--ink); font-size: clamp(39px, 6vw, 76px); line-height: .98; letter-spacing: -.075em; text-wrap: balance; }
.intro-band h2 em { color: var(--teal); font-style: normal; }
.intro-copy { max-width: 410px; margin: 0 0 5px; color: var(--ink-soft); font-size: 15px; line-height: 1.85; }
.workbench-grid { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(330px, .86fr); gap: 20px; }
.lab-card { background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.input-card, .method-card { min-height: 490px; padding: 28px; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.card-index { margin-bottom: 12px; color: var(--teal); }
.card-heading h2 { margin: 0; font-size: 27px; letter-spacing: -.055em; }
.card-tag, .method-state { display: inline-flex; align-items: center; min-height: 26px; padding: 5px 9px; border-radius: 6px; background: var(--teal-soft); color: var(--teal); font: 700 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; }
.method-state { background: var(--blue-soft); color: var(--ink-soft); }
.card-lead { max-width: 620px; margin: 14px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.dropzone { display: flex; min-height: 180px; flex-direction: column; align-items: center; justify-content: center; margin: 25px 0 15px; border: 1px dashed var(--line-strong); border-radius: 14px; background: #f8fbfa; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.dropzone:hover, .dropzone.drag { border-color: var(--teal); background: var(--teal-soft); transform: translateY(-2px); }
.dropzone input { display: none; }
.upload-symbol { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--teal); background: white; font-size: 25px; line-height: 1; }
.dropzone strong { margin-top: 13px; color: var(--ink); font-size: 15px; }
.dropzone small { margin-top: 7px; color: var(--muted); font-size: 12px; }
.file-meta { padding: 11px 13px; overflow: hidden; border: 1px solid #c6e1dc; border-radius: 9px; background: var(--teal-soft); color: var(--teal); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.hidden { display: none !important; }
.control-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 18px 0; }
.field-label { color: var(--ink-soft); font-size: 13px; }
select { min-width: 205px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: white; color: var(--ink); cursor: pointer; }
select:focus, .dropzone:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45, 140, 134, .14); }
.primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: center; gap: 13px; border-radius: 10px; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.primary-action { width: 100%; padding: 14px 18px; border: 1px solid var(--ink); background: var(--ink); color: white; font-weight: 700; }
.primary-action:hover:not(:disabled) { background: #224766; box-shadow: 0 7px 16px rgba(23, 50, 77, .18); transform: translateY(-1px); }
.primary-action:disabled { opacity: .38; cursor: not-allowed; }
.action-arrow { color: #bde4d8; font-size: 20px; line-height: .7; }
.progress-wrap { margin-top: 19px; }
.progress-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.progress-heading b { color: var(--teal); font: 700 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: #e5eeec; }
.progress-track div { height: 100%; width: 0; border-radius: inherit; background: var(--teal); transition: width .3s ease; }
.error-message { margin: 14px 0 0; padding: 10px 12px; border: 1px solid #f1c5c5; border-radius: 8px; background: #fff5f5; color: var(--red); font-size: 12px; line-height: 1.5; }
.privacy-note { display: flex; align-items: center; gap: 7px; margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.privacy-note span { color: var(--teal); font-size: 16px; }
.method-steps { display: grid; gap: 0; margin: 25px 0 0; padding: 0; list-style: none; }
.method-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.method-steps li:last-child { border-bottom: 0; }
.step-number { color: var(--teal); font: 700 13px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.method-steps strong { display: block; color: var(--ink); font-size: 14px; }
.method-steps small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.method-note { display: flex; gap: 13px; margin-top: 17px; padding: 14px; border-radius: 10px; background: #f4f8fa; }
.note-line { width: 3px; flex: 0 0 auto; border-radius: 3px; background: var(--teal); }
.method-note strong { color: var(--ink); font-size: 12px; }
.method-note p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.readout-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin: 20px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.readout-strip > div { min-height: 88px; padding: 19px 20px; border-right: 1px solid var(--line); }
.readout-strip > div:last-child { border-right: 0; }
.readout-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; }
.readout-strip strong { display: block; color: var(--ink); font-size: 15px; }
.readout-strip small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.evidence-section, .spatial-section { padding-top: 70px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 23px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: 36px; letter-spacing: -.065em; }
.section-heading p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.secondary-action { padding: 10px 13px; border: 1px solid var(--line-strong); background: white; color: var(--ink-soft); font-size: 12px; }
.secondary-action:hover { border-color: var(--teal); color: var(--teal); }
.evidence-grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(300px, .68fr); gap: 20px; }
.preview-card, .summary-card { padding: 14px; }
.module-bar { display: flex; align-items: center; justify-content: space-between; padding: 3px 3px 12px; color: var(--muted); font-size: 10px; }
.module-bar span:last-child { color: var(--teal); }
.video-shell { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 11px; background: #142434; }
.video-shell video { width: 100%; height: 100%; object-fit: contain; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #a9bbc5; font-size: 13px; }
.video-caption { display: flex; justify-content: space-between; gap: 15px; padding: 13px 3px 1px; color: var(--muted); font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.caption-note { color: var(--teal); }
.summary-intro { display: flex; align-items: flex-start; gap: 12px; padding: 15px 3px 16px; border-bottom: 1px solid var(--line); }
.summary-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: var(--teal-soft); color: var(--teal); font-size: 21px; }
.summary-intro strong { color: var(--ink); font-size: 15px; }
.summary-intro p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.risk-key { display: flex; flex-wrap: wrap; gap: 10px 12px; padding: 15px 3px 11px; color: var(--muted); font-size: 11px; }
.risk-dot { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; vertical-align: 1px; }
.green { background: var(--green); } .yellow { background: var(--yellow); } .orange { background: var(--orange); } .red { background: var(--red); }
.event-list { max-height: 330px; overflow: auto; }
.event-item { padding: 13px 3px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .2s ease; }
.event-item:hover { background: #f5faf8; }
.event-top { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.event-name { color: var(--ink); font-size: 13px; font-weight: 700; }
.event-badge { padding: 4px 7px; border-radius: 5px; color: white; font-size: 10px; }
.event-time { margin: 7px 0; color: var(--teal); font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.event-reason { color: var(--muted); font-size: 11px; line-height: 1.5; }
.empty-state { margin: 0; padding: 26px 3px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.timeline-card { margin-top: 20px; padding: 21px 23px 25px; }
.timeline-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.timeline-heading h3 { margin: 9px 0 0; color: var(--ink); font-size: 18px; letter-spacing: -.03em; }
.timeline-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.module-bar.inline { display: block; padding: 0; }
.timeline-rail { position: relative; height: 32px; margin-top: 27px; }
.timeline-rail::before { position: absolute; top: 14px; right: 0; left: 0; height: 2px; background: var(--line); content: ""; }
.timeline-rail span, .timeline-rail i { position: absolute; top: 9px; width: 12px; height: 12px; border: 3px solid white; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.timeline-rail span { left: 16%; } .timeline-rail i:nth-of-type(1) { left: 42%; background: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); } .timeline-rail i:nth-of-type(2) { left: 68%; background: var(--orange); box-shadow: 0 0 0 1px var(--orange); } .timeline-rail i:nth-of-type(3) { left: 86%; background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.spatial-heading { align-items: end; }
.accuracy-note { max-width: 360px; padding: 8px 11px; border: 1px solid #eedca1; border-radius: 7px; background: #fffaf0; color: var(--yellow); font-size: 11px; line-height: 1.4; }
.spatial-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; }
.scene-wrap { position: relative; height: 490px; overflow: hidden; }
.scene-wrap > div:first-child { position: absolute; inset: 0; }
.scene-legend { position: absolute; bottom: 16px; left: 16px; display: flex; flex-wrap: wrap; gap: 13px; padding: 9px 11px; border: 1px solid rgba(216, 226, 225, .75); border-radius: 7px; background: rgba(255, 255, 255, .88); color: var(--ink-soft); font-size: 11px; }
.line-swatch { display: inline-block; width: 20px; height: 3px; margin-right: 5px; vertical-align: middle; }
.line-swatch.wire { background: #c69318; } .line-swatch.branch { background: var(--green); }
.model-note { align-self: start; padding: 24px; }
.model-note h3 { margin: 16px 0 10px; font-size: 22px; letter-spacing: -.05em; }
.model-note > p:not(.card-index) { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.model-key { display: grid; gap: 12px; margin-top: 28px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.key-mark { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; vertical-align: -1px; } .key-mark.blue { background: #5d85a7; } .key-mark.teal { background: var(--teal); } .key-mark.coral { background: var(--red); }
.lab-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
:focus-visible { outline: 3px solid rgba(45, 140, 134, .35); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (max-width: 900px) { .lab-shell { padding: 24px 20px 30px; } .intro-band { grid-template-columns: 1fr; gap: 22px; padding: 48px 0 34px; } .intro-copy { max-width: 600px; } .workbench-grid, .evidence-grid, .spatial-grid { grid-template-columns: 1fr; } .method-card { min-height: auto; } .model-note { display: none; } }
@media (max-width: 620px) { .lab-shell { padding: 19px 15px 25px; } .lab-header, .section-heading, .timeline-heading, .lab-footer { display: block; } .header-status { display: inline-flex; margin-top: 18px; } .brand-kicker { font-size: 9px; } .brand-subtitle { line-height: 1.5; } .intro-band h2 { font-size: 44px; } .input-card, .method-card { padding: 21px 18px; } .readout-strip { grid-template-columns: repeat(2, 1fr); } .readout-strip > div:nth-child(2) { border-right: 0; } .readout-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .section-heading h2 { font-size: 31px; } .result-actions { margin-top: 18px; } .secondary-action { width: 100%; } .timeline-heading p { margin-top: 12px; } .scene-wrap { height: 360px; } .lab-footer span { display: block; margin-top: 8px; } }

.documentation-section { margin-top: 88px; padding-top: 72px; border-top: 1px solid var(--line); }
.docs-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr); align-items: end; gap: 30px; margin-bottom: 25px; }
.docs-intro h2 { margin: 0; color: var(--ink); font-size: 42px; letter-spacing: -.07em; }
.docs-intro > div > p:not(.eyebrow) { max-width: 620px; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.docs-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.docs-nav a { padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink-soft); font-size: 11px; text-decoration: none; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.docs-nav a:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.doc-block { margin-top: 20px; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .86); box-shadow: var(--shadow-soft); scroll-margin-top: 18px; }
.doc-block-heading { display: grid; grid-template-columns: 48px 1fr; gap: 17px; align-items: start; margin-bottom: 25px; }
.doc-number { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: #c7eadf; font: 700 13px ui-monospace, SFMono-Regular, Consolas, monospace; }
.doc-block-heading .card-index { margin: 1px 0 9px; }
.doc-block-heading h3 { margin: 0; color: var(--ink); font-size: 25px; letter-spacing: -.05em; }
.doc-block-heading p:not(.card-index) { max-width: 690px; margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.flow-diagram { display: flex; align-items: stretch; gap: 9px; overflow-x: auto; padding: 3px 2px 10px; }
.flow-node { min-width: 128px; flex: 1; padding: 15px 13px; border: 1px solid var(--line); border-radius: 11px; background: #f8fbfa; }
.flow-node.accent { border-color: #aad6ce; background: var(--teal-soft); }
.flow-node b { display: block; margin-bottom: 12px; color: var(--teal); font: 700 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.flow-node strong { display: block; color: var(--ink); font-size: 13px; white-space: nowrap; }
.flow-node small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.45; white-space: nowrap; }
.flow-arrow { align-self: center; color: var(--teal); font-size: 18px; }
.flow-code, .architecture-code { overflow: auto; margin: 20px 0 0; padding: 18px; border: 1px solid #d5e4e1; border-radius: 10px; background: #f5faf8; color: var(--ink-soft); font: 12px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre; }
.info-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; }
.info-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 12px; }
.info-table th, .info-table td { padding: 14px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.55; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 12%; background: #f5faf8; color: var(--teal); font-weight: 700; white-space: nowrap; }
.info-table td { width: 38%; color: var(--ink-soft); }
.architecture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.architecture-card { min-height: 195px; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfc; }
.architecture-label { color: var(--teal); font: 700 10px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.architecture-card h4 { margin: 14px 0 8px; color: var(--ink); font-size: 15px; }
.architecture-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.architecture-card code { display: block; margin-top: 15px; color: var(--ink-soft); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.software-module { min-height: 156px; padding: 17px; border-top: 3px solid var(--teal); border-radius: 10px; background: #f8fbfa; }
.software-module > span { color: var(--teal); font: 700 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.software-module h4 { margin: 11px 0 7px; color: var(--ink); font-size: 14px; }
.software-module p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
@media (max-width: 1000px) { .architecture-grid, .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .documentation-section { margin-top: 60px; padding-top: 53px; } .docs-intro { display: block; } .docs-intro h2 { font-size: 34px; } .docs-nav { justify-content: flex-start; margin-top: 18px; } .doc-block { padding: 20px 17px; } .doc-block-heading { grid-template-columns: 39px 1fr; gap: 11px; } .doc-number { width: 34px; height: 34px; } .doc-block-heading h3 { font-size: 21px; } .flow-diagram { margin-right: -4px; } .architecture-grid, .module-grid { grid-template-columns: 1fr; } .architecture-card, .software-module { min-height: auto; } }
