/* ============================================================
   outputs/assets/doc-theme.css — 产出文档主题层
   由 tools/retint_outputs.py 生成，请勿手改。
   作用：把产出文档的调色板接到 course/shared/theme.css 的令牌上，
        从而与课程站同一套配色，并自动跟随系统深浅色。
   ============================================================ */

:root{
  --bg: var(--paper);
  --bg2: var(--paper-light);
  --bg3: var(--code-bg);
  --bg4: var(--border-light);
  --line: var(--border);
  --fg: var(--ink);
  --fg2: var(--ink-60);
  --fg3: var(--ink-40);
  --sticky-bg: rgba(251,250,247,.96);
  --ok: var(--success);
  --info: var(--accent);
  --c-vision: #1257a5;
  --c-lidar: #2e8a3b;
  --c-fusion: #9e731a;
  --c-neural: #5012a5;
  --c-gs: #a5125f;
  --c-learn: #a51c12;
  --c-multi: #248c94;
  --accent-color: #1257a5;
  --accent-deep: #1257a5;
  --warn: #9e731a;
  --bad: #b3261e;
  --t-0b1017-bg: #ecf0f5;
  --t-0f2417-bg: #eaf5ef;
  --t-101a13-bg: #eef4f0;
  --t-101a26-bg: #eaeff5;
  --t-111c2b-bg: #eaeff6;
  --t-12171e-bg: #eef1f4;
  --t-12202e-bg: #eaf0f6;
  --t-141c26-bg: #edf0f5;
  --t-151c25-bg: #eef1f5;
  --t-16304a-bg: #e7eff7;
  --t-1a1213-bg: #f4f0f0;
  --t-1a2332-bg: #edf0f5;
  --t-1c2430-bg: #eef1f4;
  --t-1d1a10-bg: #f5f3ed;
  --t-1d3a54-bg: #e8f0f6;
  --t-1f2937-bg: #eef0f5;
  --t-1f3a54-line: #c4d5e5;
  --t-211a06-bg: #f7f2e4;
  --t-232b35-line: #d1d7df;
  --t-23622f-line: #c3e5c9;
  --t-24422c-line: #cde1d2;
  --t-24425c-line: #c5d6e4;
  --t-250f0f-bg: #f6eaea;
  --t-262d36-line: #d3d8de;
  --t-26406b-line: #c3d0e5;
  --t-2d4a6b-line: #c7d4e4;
  --t-3a4553-line: #d3d8de;
  --t-3d4753-line: #d4d9de;
  --t-4a3c17-line: #e7dcc0;
  --t-4d5763-fg: #365f8f;
  --t-5c2b2b-line: #e2c9c9;
  --t-5c4708-line: #e4d9b9;
  --t-6b2020-line: #e7bfbf;
  --t-9ecbff-fg: #0b488e;
  --t-9fe0a8-fg: #2b8638;
  --t-cfe6ff-fg: #0b4a8e;
  --t-ff9e9e-fg: #8e0b0b;
  --t-ffa657-fg: #8e490b;
}

@media screen and (prefers-color-scheme: dark){:root{
  --sticky-bg: rgba(36,29,26,.96);
  --c-vision: #58a6ff;
  --c-lidar: #3fb950;
  --c-fusion: #d29922;
  --c-neural: #bc8cff;
  --c-gs: #f778ba;
  --c-learn: #ff7b72;
  --c-multi: #39c5cf;
  --accent-color: #58a6ff;
  --accent-deep: #58a6ff;
  --warn: #d29922;
  --bad: #f85149;
  --t-0b1017-bg: #0b1017;
  --t-0f2417-bg: #0f2417;
  --t-101a13-bg: #101a13;
  --t-101a26-bg: #101a26;
  --t-111c2b-bg: #111c2b;
  --t-12171e-bg: #12171e;
  --t-12202e-bg: #12202e;
  --t-141c26-bg: #141c26;
  --t-151c25-bg: #151c25;
  --t-16304a-bg: #16304a;
  --t-1a1213-bg: #1a1213;
  --t-1a2332-bg: #1a2332;
  --t-1c2430-bg: #1c2430;
  --t-1d1a10-bg: #1d1a10;
  --t-1d3a54-bg: #1d3a54;
  --t-1f2937-bg: #1f2937;
  --t-1f3a54-line: #1f3a54;
  --t-211a06-bg: #211a06;
  --t-232b35-line: #232b35;
  --t-23622f-line: #23622f;
  --t-24422c-line: #24422c;
  --t-24425c-line: #24425c;
  --t-250f0f-bg: #250f0f;
  --t-262d36-line: #262d36;
  --t-26406b-line: #26406b;
  --t-2d4a6b-line: #2d4a6b;
  --t-3a4553-line: #3a4553;
  --t-3d4753-line: #3d4753;
  --t-4a3c17-line: #4a3c17;
  --t-4d5763-fg: #4d5763;
  --t-5c2b2b-line: #5c2b2b;
  --t-5c4708-line: #5c4708;
  --t-6b2020-line: #6b2020;
  --t-9ecbff-fg: #9ecbff;
  --t-9fe0a8-fg: #9fe0a8;
  --t-cfe6ff-fg: #cfe6ff;
  --t-ff9e9e-fg: #ff9e9e;
  --t-ffa657-fg: #ffa657;
}}

/* 与课程站统一的版式 */
body{font-family:var(--font-sans);background:var(--paper);color:var(--ink);}
h1,h2,h3,h4{font-family:var(--font-serif);}
.doc-bar{position:sticky;top:0;z-index:9;display:flex;gap:16px;align-items:center;
  padding:10px 18px;background:var(--paper-light);border-bottom:1px solid var(--border);
  font-size:13.5px;font-family:var(--font-sans);}
.doc-bar a{color:var(--accent-deep);text-decoration:none;}
.doc-bar a:hover{text-decoration:underline;}
