/* B · 읽기 중심: generous serif reading rhythm, unraised paper-like surfaces. */
@media screen{
  html[data-design-theme="editorial"]{
    --bg:#f3f3f1;--panel:#fff;--panel-soft:#f6f6f4;--text:#292c32;--muted:#646970;--line:#d9dcdd;
    --accent:#34576e;--accent2:#566b58;--tree-hover:#edf1f3;
    --font-body:"RIDIBatang",ui-serif,serif;
    --surface-radius:4px;--list-radius:0px;--row-padding:26px 24px;--row-padding-mobile:22px 16px;--prose-leading:2;
    --shadow:none;
  }
  html.dark[data-design-theme="editorial"]{
    --bg:#191c20;--panel:#21252a;--panel-soft:#282d33;--text:#e6e7e9;--muted:#b3b8bf;--line:#424850;
    --accent:#afcddd;--accent2:#b4cbb7;--tree-hover:#313a43;--shadow:none;
  }
  html[data-design-theme="editorial"] body{background:var(--bg)}
  html[data-design-theme="editorial"] :is(.home-hero,.category-panel,.right-block){border-radius:4px}
  html[data-design-theme="editorial"] .doc-hero{border-radius:4px 4px 0 0}
  html[data-design-theme="editorial"] .doc-hero.no-image{background:var(--panel);border-bottom:2px solid var(--text)}
  html[data-design-theme="editorial"] .doc-hero.no-image .doc-hero-shade{background:none}
  html[data-design-theme="editorial"] .post-list{border-left:0;border-right:0;border-top:2px solid var(--text);background:var(--panel)}
  html[data-design-theme="editorial"] .post-main h3{font-size:20px;line-height:1.55;font-weight:700;letter-spacing:-.035em}
  html[data-design-theme="editorial"] .post-main p{font-size:15px;line-height:1.8}
  html[data-design-theme="editorial"] .article .prose{font-size:18px;line-height:var(--prose-leading)}
  html[data-design-theme="editorial"] .article .prose h2{margin-top:2.4em;border-bottom:0;letter-spacing:-.035em}
  html[data-design-theme="editorial"] :is(.doc-summary-box,.doc-related,.doc-backlinks){background:var(--panel-soft);border-radius:4px;box-shadow:none}
  html[data-design-theme="editorial"] :is(.doc-related-card,.doc-backlinks li,.subcategory-card){border-radius:4px;box-shadow:none}
  html[data-design-theme="editorial"] .right-recent-link{background:transparent;border-bottom:1px solid var(--line);border-radius:0}
}
@media screen and (max-width:640px){
  html[data-design-theme="editorial"] .article .prose{font-size:17px}
  html[data-design-theme="editorial"] .post-main h3{font-size:18px}
}
