:root {
  color-scheme: dark;
  --bg: #081015;
  --surface: #0d171d;
  --surface-2: #101e25;
  --surface-3: #13252d;
  --line: rgba(153, 193, 202, 0.18);
  --line-strong: rgba(112, 222, 230, 0.38);
  --text: #e5f1f1;
  --muted: #8aa2a8;
  --faint: #547078;
  --cyan: #66e0e2;
  --cyan-soft: rgba(102, 224, 226, 0.12);
  --lime: #a8e68b;
  --amber: #f2c675;
  --rose: #f398a0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); line-height: 1.55; }
button, select { font: inherit; }
button { color: inherit; }
button:focus-visible, select:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.site-shell { position: relative; overflow: hidden; }
.site-shell::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .28; background-image: linear-gradient(rgba(102,224,226,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(102,224,226,.04) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 78%); }
.topbar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 26px 0 22px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--cyan); font-weight: 700; letter-spacing: .06em; box-shadow: inset 0 0 18px rgba(102,224,226,.08); }
.brand strong { display: block; font-size: 14px; letter-spacing: .02em; }
.brand small { display: block; margin-top: 2px; color: var(--faint); font-size: 9px; letter-spacing: .16em; }
.environment-status { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.status-dot, .run-state-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px rgba(168,230,139,.7); }
.status-divider { width: 1px; height: 13px; background: var(--line); }
main { position: relative; z-index: 1; }
.console-band, .output-band, .standards-band, .boundary-band { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.console-band { padding: 76px 0 80px; }
.console-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); gap: 48px; align-items: end; }
.eyebrow, .section-index { margin: 0 0 13px; color: var(--cyan); font-size: 10px; letter-spacing: .18em; font-weight: 600; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 17px; font-size: clamp(36px, 5vw, 66px); line-height: 1.06; letter-spacing: -.045em; font-weight: 650; }
.positioning { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.security-statement { display: flex; align-items: flex-start; gap: 13px; padding: 17px 18px; border: 1px solid var(--line); border-left: 2px solid var(--cyan); background: rgba(13, 23, 29, .76); }
.lock-icon { position: relative; display: inline-block; width: 17px; height: 15px; margin-top: 3px; border: 1.5px solid var(--cyan); border-radius: 3px; }
.lock-icon::before { content: ""; position: absolute; left: 3px; top: -9px; width: 8px; height: 9px; border: 1.5px solid var(--cyan); border-bottom: 0; border-radius: 6px 6px 0 0; }
.security-statement strong { display: block; margin-bottom: 4px; font-size: 13px; }
.security-statement p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.demo-toolbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 54px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.scenario-control { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--line); background: var(--surface); }
.scenario-button, .metric-control button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.scenario-button { padding: 8px 14px; font-size: 12px; }
.scenario-button:hover, .scenario-button.is-active { background: var(--cyan-soft); color: var(--cyan); }
.run-button { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border: 1px solid var(--cyan); background: var(--cyan); color: #071114; cursor: pointer; font-size: 12px; font-weight: 700; }
.run-button:hover { background: #a5f1ed; }
.run-button:disabled { cursor: wait; opacity: .65; }
.run-button svg, .download-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.process-surface { margin-top: 22px; padding: 23px 24px 25px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(17, 31, 38, .95), rgba(10, 19, 24, .88)); box-shadow: var(--shadow); }
.surface-heading, .section-heading, .artifact-toolbar, .trend-toolbar, .anomaly-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.surface-heading h2, .section-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.02em; }
.run-state { display: inline-flex; align-items: center; gap: 9px; padding-top: 5px; color: var(--muted); font-size: 12px; }
.run-state-dot.is-running { background: var(--amber); box-shadow: 0 0 12px rgba(242,198,117,.7); animation: pulse 1s ease-in-out infinite; }
.run-state-dot.is-warning { background: var(--amber); box-shadow: 0 0 12px rgba(242,198,117,.7); }
.run-state-dot.is-neutral { background: var(--muted); box-shadow: none; }
.process-list { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin: 26px 0 0; padding: 0; list-style: none; }
.phase { position: relative; min-height: 100px; padding: 13px 12px; border: 1px solid var(--line); background: rgba(9, 19, 24, .62); }
.phase:not(:last-child)::after { content: ""; position: absolute; top: 25px; right: -8px; z-index: 2; width: 8px; border-top: 1px solid var(--line); }
.phase-mark { display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 19px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-family: ui-monospace, monospace; font-size: 10px; }
.phase-copy strong { display: block; font-size: 12px; line-height: 1.4; }
.phase-copy small { display: block; margin-top: 6px; color: var(--faint); font-size: 10px; line-height: 1.45; }
.phase-state { position: absolute; right: 12px; top: 16px; color: var(--faint); font-size: 9px; letter-spacing: .08em; }
.phase-done { border-color: rgba(168,230,139,.24); }
.phase-done .phase-mark { border-color: rgba(168,230,139,.55); color: var(--lime); }
.phase-done .phase-state { color: var(--lime); }
.phase-active { border-color: rgba(242,198,117,.45); }
.phase-active .phase-mark { border-color: var(--amber); color: var(--amber); }
.phase-active .phase-state { color: var(--amber); }
@keyframes pulse { 50% { opacity: .38; } }
.output-band, .standards-band, .boundary-band { padding: 78px 0; border-top: 1px solid var(--line); }
.section-heading > p { margin: 5px 0 0; color: var(--faint); font-size: 12px; }
.metrics-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 25px; }
.metric-card { min-height: 104px; padding: 17px 18px; border: 1px solid var(--line); border-top-width: 2px; background: rgba(13,23,29,.84); }
.metric-card > span { color: var(--muted); font-size: 11px; }
.metric-card strong { display: block; margin-top: 16px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 27px; line-height: 1; letter-spacing: -.06em; }
.metric-card strong small { margin-left: 6px; color: var(--muted); font-family: inherit; font-size: 11px; letter-spacing: 0; }
.metric-accent { border-top-color: var(--cyan); }.metric-cyan { border-top-color: #7cb7f7; }.metric-green { border-top-color: var(--lime); }.metric-warning { border-top-color: var(--amber); }.metric-neutral { border-top-color: var(--faint); }
.output-workspace { margin-top: 23px; border: 1px solid var(--line); background: rgba(13,23,29,.84); }
.tablist { display: flex; gap: 3px; padding: 7px; border-bottom: 1px solid var(--line); background: rgba(5, 12, 15, .6); }
.tablist button { padding: 9px 13px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }
.tablist button:hover, .tablist button[aria-selected="true"] { border-bottom-color: var(--cyan); color: var(--text); }
.result-panel { min-height: 360px; padding: 23px; }.result-panel[hidden] { display: none; }
.feishu-window { max-width: 900px; margin: 0 auto; border: 1px solid var(--line); background: #e9eef0; color: #152228; box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.feishu-topline { display: flex; align-items: center; gap: 9px; padding: 10px 15px; background: #f5f8f8; color: #67777d; font-size: 11px; }.feishu-topline time { margin-left: auto; color: #9aa8ad; font-size: 10px; }.feishu-avatar { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #4e7f78; color: #fff; font-size: 10px; }.feishu-label { padding: 2px 6px; border: 1px solid #bfd3ce; border-radius: 3px; color: #4e7f78; font-size: 9px; }.feishu-body { padding: 27px 29px 25px; }.feishu-body h3 { margin-bottom: 20px; font-size: 22px; font-weight: 600; }.feishu-body h3 em { color: #7d8b8f; font-style: normal; font-weight: 400; }.headline-metrics { display: flex; gap: 42px; }.headline-metrics strong { font-size: 31px; line-height: 1; letter-spacing: -.05em; }.headline-metrics small { margin-left: 5px; font-size: 11px; font-weight: 400; letter-spacing: 0; }.carrier-line { margin: 17px 0 23px; color: #53666d; font-size: 12px; }.feishu-divider { border-top: 1px solid #ccd6d8; }.mini-heading { margin: 19px 0 10px; color: #77878b; font-size: 12px; }.warehouse-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid rgba(164,180,184,.34); }.warehouse-row strong { display: inline-block; min-width: 108px; font-size: 12px; }.warehouse-row small { color: #718287; font-size: 11px; }.warehouse-row > span { color: #65767b; font-size: 10px; text-align: right; }.feishu-footnote { margin-top: 23px; color: #718287; font-size: 11px; }.artifact-toolbar { align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }.download-button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--line); background: transparent; color: var(--cyan); cursor: pointer; font-size: 11px; }.download-button:hover { border-color: var(--cyan); background: var(--cyan-soft); }.markdown-preview { max-height: 380px; margin: 0; padding: 20px 2px 0; overflow: auto; color: #b7d0d3; font: 12px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }.trend-toolbar { align-items: end; padding-bottom: 17px; border-bottom: 1px solid var(--line); }.trend-toolbar label > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; }.trend-toolbar select { min-width: 160px; padding: 8px 28px 8px 10px; border: 1px solid var(--line); border-radius: 0; background: var(--surface-2); color: var(--text); font-size: 12px; }.metric-control { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); }.metric-control button { padding: 7px 10px; font-size: 11px; }.metric-control button.is-active { background: var(--cyan-soft); color: var(--cyan); }.trend-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px 0 4px; }.trend-summary span { display: block; color: var(--faint); font-size: 10px; }.trend-summary strong { display: block; margin-top: 4px; font-family: ui-monospace, monospace; font-size: 15px; }.chart-wrap { position: relative; margin-top: 12px; min-height: 250px; }.chart-wrap svg { display: block; width: 100%; height: auto; min-height: 250px; }.chart-grid { stroke: rgba(153,193,202,.16); stroke-width: 1; }.chart-label { fill: var(--muted); font: 10px ui-monospace, monospace; }.chart-axis-title { fill: var(--text); font: 11px "Segoe UI", sans-serif; }.chart-line { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(102,224,226,.35)); }.chart-point { fill: var(--surface); stroke: var(--cyan); stroke-width: 2; cursor: crosshair; }.chart-point:hover, .chart-point:focus { fill: var(--cyan); }.chart-tooltip { position: absolute; z-index: 2; padding: 7px 9px; border: 1px solid var(--line-strong); background: #102126; color: var(--text); font: 10px ui-monospace, monospace; pointer-events: none; white-space: nowrap; }.empty-result { display: flex; align-items: center; justify-content: center; gap: 17px; min-height: 290px; color: var(--muted); text-align: left; }.empty-result.compact { min-height: 250px; justify-content: flex-start; }.empty-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); color: var(--amber); font-size: 22px; }.empty-result strong { display: block; color: var(--text); font-size: 15px; }.empty-result p { margin: 6px 0 10px; font-size: 12px; }.result-tag { display: inline-block; padding: 4px 7px; border: 1px solid var(--line); font-size: 10px; }.tag-neutral { color: var(--muted); }.tag-warning { border-color: rgba(242,198,117,.42); color: var(--amber); }.anomaly-header { align-items: end; padding-bottom: 18px; border-bottom: 1px solid var(--line); }.anomaly-header h3 { margin: 12px 0 0; font-size: 18px; }.anomaly-header p { margin: 0; color: var(--muted); font-size: 11px; }.anomaly-list { margin-top: 5px; }.anomaly-row { display: grid; grid-template-columns: 34px 145px 1fr 1.5fr; align-items: center; gap: 15px; min-height: 58px; border-bottom: 1px solid var(--line); font-size: 12px; }.anomaly-index { color: var(--faint); font: 11px ui-monospace, monospace; }.anomaly-row code { color: var(--cyan); font: 11px ui-monospace, monospace; }.anomaly-row span { color: var(--muted); }.anomaly-row strong { color: var(--amber); font-weight: 500; }.section-heading { align-items: end; }.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; border: 1px solid var(--line); background: var(--line); }.rule-item { min-height: 174px; padding: 21px; background: var(--surface); }.rule-number { color: var(--cyan); font: 11px ui-monospace, monospace; }.rule-item h3 { margin: 28px 0 9px; font-size: 14px; }.rule-item p { max-width: 250px; margin: 0; color: var(--muted); font-size: 12px; }.boundary-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 28px; background: var(--line); border: 1px solid var(--line); }.boundary-column { min-height: 248px; padding: 23px; background: var(--surface); }.boundary-column h3 { margin-bottom: 20px; font-size: 15px; }.boundary-column h3 span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 7px; border: 1px solid currentColor; font-family: ui-monospace, monospace; }.can-do h3 { color: var(--lime); }.cannot-do h3 { color: var(--rose); }.boundary-column ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }.boundary-column li::before { content: "//"; display: inline-block; width: 28px; color: var(--faint); font-family: ui-monospace, monospace; }.architecture-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 29px; padding: 18px; border: 1px solid var(--line); background: rgba(13,23,29,.55); }.architecture-flow div { min-width: 0; }.architecture-flow small { display: block; color: var(--faint); font: 9px ui-monospace, monospace; letter-spacing: .14em; }.architecture-flow strong { display: block; margin-top: 5px; font-size: 12px; }.architecture-flow > span { color: var(--cyan); font-size: 18px; }.standards-band { padding-bottom: 80px; }footer { display: flex; justify-content: space-between; gap: 20px; width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 26px 0 32px; border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; }footer p { margin: 0; }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 920px) { .console-intro { grid-template-columns: 1fr; gap: 27px; }.process-list { grid-template-columns: repeat(4, 1fr); }.phase:nth-child(4)::after, .phase:nth-child(7)::after { display: none; }.rules-grid { grid-template-columns: repeat(2, 1fr); }.architecture-flow { grid-template-columns: 1fr auto 1fr; }.architecture-flow > span:nth-of-type(2), .architecture-flow > span:nth-of-type(3) { display: none; }.architecture-flow > div:nth-of-type(3), .architecture-flow > div:nth-of-type(4) { display: none; } }
@media (max-width: 620px) { .topbar, .console-band, .output-band, .standards-band, .boundary-band, footer { width: min(100% - 28px, 1280px); }.topbar { align-items: flex-start; padding: 18px 0; }.environment-status { flex-wrap: wrap; justify-content: flex-end; max-width: 150px; font-size: 10px; line-height: 1.35; }.status-divider { display: none; }.console-band { padding: 53px 0 59px; }h1 { font-size: 38px; }.positioning { font-size: 15px; }.demo-toolbar { align-items: stretch; flex-direction: column; margin-top: 38px; }.scenario-control { overflow-x: auto; }.scenario-button { flex: 1 0 auto; }.run-button { justify-content: center; }.process-surface { padding: 17px; }.process-list { grid-template-columns: repeat(2, 1fr); }.phase { min-height: 112px; }.phase:not(:last-child)::after { display: none; }.metrics-strip { grid-template-columns: repeat(2, 1fr); }.metric-card { min-height: 95px; padding: 14px; }.metric-card strong { margin-top: 13px; font-size: 22px; }.tablist { overflow-x: auto; }.tablist button { flex: 0 0 auto; }.result-panel { padding: 14px; }.feishu-body { padding: 21px 17px; }.feishu-body h3 { font-size: 18px; }.headline-metrics { gap: 24px; }.headline-metrics strong { font-size: 25px; }.warehouse-row { display: block; }.warehouse-row > span { display: block; margin-top: 5px; text-align: left; line-height: 1.6; }.trend-toolbar { display: block; }.metric-control { margin-top: 12px; width: fit-content; }.trend-summary { grid-template-columns: repeat(2, 1fr); gap: 15px 8px; }.anomaly-header { display: block; }.anomaly-header p { margin-top: 12px; }.anomaly-row { grid-template-columns: 24px 1fr; gap: 6px 10px; padding: 12px 0; }.anomaly-row span:not(.anomaly-index), .anomaly-row strong { grid-column: 2; }.rules-grid { grid-template-columns: 1fr; }.rule-item { min-height: auto; }.boundary-layout { grid-template-columns: 1fr; }.boundary-column { min-height: auto; }.architecture-flow { grid-template-columns: 1fr; gap: 14px; }.architecture-flow > span { display: none; }.architecture-flow > div:nth-of-type(3), .architecture-flow > div:nth-of-type(4) { display: block; }footer { display: block; }footer p + p { margin-top: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

/* The warehouse selector is a button group so it remains obvious and keyboard-friendly on touch screens. */
.control-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.warehouse-control { display: flex; flex-wrap: wrap; gap: 4px; }
.warehouse-control button { padding: 7px 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; }
.warehouse-control button:hover, .warehouse-control button.is-active { border-color: var(--line-strong); background: var(--cyan-soft); color: var(--cyan); }
