/* C · 기술 라이브러리: compact indexed reference, precise rules, code-like titles. */
@media screen{
  html[data-design-theme="reference"]{
    --bg:#f0f3f4;--panel:#fff;--panel-soft:#f2f6f6;--text:#213238;--muted:#576a72;--line:#cbd6da;
    --accent:#176273;--accent2:#34704c;--tree-hover:#e5eff1;
    --font-body:system-ui,-apple-system,"Segoe UI",sans-serif;
    --surface-radius:6px;--list-radius:6px;--row-padding:12px 18px;--row-padding-mobile:14px;--prose-leading:1.7;
    --shadow:none;
  }
  html.dark[data-design-theme="reference"]{
    --bg:#101b20;--panel:#17262d;--panel-soft:#20323b;--text:#e1edf0;--muted:#a2b8c1;--line:#39515c;
    --accent:#8ad1e1;--accent2:#9bcba6;--tree-hover:#29434e;--shadow:none;
  }
  html[data-design-theme="reference"] body{background:var(--bg)}
  html[data-design-theme="reference"] :is(.home-hero,.category-panel,.right-block){border-radius:6px}
  html[data-design-theme="reference"] .category-panel{border-top:3px solid var(--accent)}
  html[data-design-theme="reference"] .doc-hero{border-radius:6px 6px 0 0}
  html[data-design-theme="reference"] .doc-hero.no-image{background:var(--panel-soft);border-bottom:3px solid var(--accent)}
  html[data-design-theme="reference"] .doc-hero.no-image .doc-hero-shade{background:none}
  html[data-design-theme="reference"] :is(.post-main h3,.category-panel h1){font-family:"D2Coding",ui-monospace,monospace;letter-spacing:-.025em}
  html[data-design-theme="reference"] .post-main h3{font-size:17px;line-height:1.4;margin-bottom:4px}
  html[data-design-theme="reference"] .post-main p{font-size:13px;line-height:1.5}
  html[data-design-theme="reference"] .post-row:nth-child(even){background:var(--panel-soft)}
  html[data-design-theme="reference"] .post-row:hover{background:var(--tree-hover)}
  html[data-design-theme="reference"] :is(.doc-summary-box,.doc-related,.doc-backlinks){background:var(--panel-soft);border-radius:6px;box-shadow:none}
  html[data-design-theme="reference"] :is(.doc-related-card,.doc-backlinks li,.subcategory-card){border-radius:4px;box-shadow:none}
  html[data-design-theme="reference"] .prose h2{border-bottom:2px solid var(--line);font-size:1.4em}
  html[data-design-theme="reference"] .right-recent-link{border-radius:4px;padding:6px 8px}
}
