/* Reading surfaces and theme tokens shared by both languages. */
:root{color-scheme:light;--body-text:#50584e;--surface:#f9f7f0}
:root[data-theme="dark"]{color-scheme:dark;--paper:#171e1a;--ink:#e8ede6;--muted:#acb7ac;--accent:#e4a18b;--line:#435047;--sage:#26332b;--card:#222d26;--body-text:#cbd4c9;--surface:#202a23}
.theme-control{display:block;flex-shrink:0;width:90px;font-size:12px}
.theme-control select{width:100%;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:3px;padding:7px 4px;font-size:12px;cursor:pointer}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.article p,.article li{font-size:18px;line-height:1.95;color:var(--body-text)}
.article .article-meta,.article .sources p,.article .sources li{font-size:13px;color:var(--muted)}
.article .intro{font-size:20px;color:var(--ink)}
.article h2{margin-top:48px}
.article-toc{padding:20px 0;border-block:1px solid var(--line);display:flex;flex-wrap:wrap;gap:10px 20px;margin:28px 0}
.article-toc p{width:100%;font-size:12px;color:var(--muted);margin:0}
.article .article-toc a{font-size:13px}
.table-scroll:focus-visible{outline:3px solid var(--accent);outline-offset:5px}
.table-scroll{max-width:100%;overflow-x:auto;margin:28px 0}
.article table{width:100%;min-width:560px;border-collapse:collapse;font-size:14px;line-height:1.8}
.article th,.article td{text-align:left;padding:14px;border:1px solid var(--line);vertical-align:top}
.article th{background:var(--sage);color:var(--ink)}
.article td{color:var(--body-text)}
.start-reading{margin:32px 0;padding:24px;background:var(--sage);border-top:2px solid var(--accent)}
.start-reading h2{font-size:24px;margin:0 0 16px}
.start-reading ol{padding-left:22px;margin:0;display:grid;gap:12px}
.start-reading a{text-decoration:underline;text-underline-offset:4px}
.start-reading small{display:block;color:var(--muted);font-size:12px}
:root[data-theme="dark"] .featured{background:var(--surface)}
:root[data-theme="dark"] .intro,:root[data-theme="dark"] .hero-description,:root[data-theme="dark"] .case-intro,:root[data-theme="dark"] .case-intro p,:root[data-theme="dark"] .contact-section p{color:var(--body-text)}
:root[data-theme="dark"] .button{background:var(--sage);color:var(--ink);border-color:var(--line)}
:root[data-theme="dark"] .button:hover{background:var(--line)}
:root[data-theme="dark"] .skip{background:var(--sage);color:var(--ink)}
:root[data-theme="dark"] form select,:root[data-theme="dark"] form textarea{background:var(--surface);color:var(--ink);border-color:var(--line)}
:root[data-theme="dark"] .contact-section,:root[data-theme="dark"] .hero-art,:root[data-theme="dark"] .work-visual,:root[data-theme="dark"] .case-highlight{background:var(--surface)}
@media(max-width:760px){.theme-control{width:80px}.header{gap:12px}.header .brand{font-size:20px}.article p,.article li{font-size:16px;line-height:1.95}.article .intro{font-size:18px}.article-toc{gap:12px 18px}.start-reading{padding:20px}.start-reading h2{font-size:22px}}

:root[data-theme="dark"] .lab-section{background:var(--sage);color:var(--ink)}
