/* W15 (2026-12-01): the plain pages (topic hubs, archive, weekly index, author pages, article pages for agents, /widget/, /feeds/) wear the look the reader chose.
   appearance.js (loaded in the head of every plain page) restores the reader's saved style/color world/font/mode from localStorage of the same origin and sets the
   tokens (--bg --surface --ink --muted --line --accent ...) on <html>; this file only uses them. The values below are the fallback of a first visit before the script ran
   (the start look: dark). The inline <style> of the page (SeoPages.Style) stays underneath as the no-CSS fallback; this file comes later in the head and wins. */
:root{color-scheme:dark;--bg:#0f1013;--surface:#17181c;--surface-2:#1f2026;--ink:#ececf1;--muted:#a2a2ad;--faint:#7d7d88;--line:#2a2b31;--accent:#ff7a2f;--accent-text:#ff7a2f;
  --action-start:#be00d2;--action-end:#3652eb;--button-ink:#fff;--heading-ink:#ececf1;--radius:18px;--font-body:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;--font-display:'Manrope','DM Sans',system-ui,sans-serif}
:root[data-theme=light]{color-scheme:light;--bg:#faf9f7;--surface:#fff;--surface-2:#f0eeea;--ink:#1d1d1f;--muted:#5f5f68;--faint:#8a8a92;--line:#e3e1dc;--accent:#c4470a;--accent-text:#c4470a;--heading-ink:#1d1d1f}
html{background:var(--bg)}
body.page-wide{max-width:none;padding:0}
body{margin:0 auto;max-width:56rem;padding:0 1.4rem 3.5rem;background:var(--bg);color:var(--ink);font:17px/1.65 var(--font-body);-webkit-font-smoothing:antialiased}
body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background-color:var(--bg);background-image:var(--page-art,none);background-size:var(--page-art-size,auto);background-position:var(--page-art-position,center);background-repeat:var(--page-art-repeat,repeat);background-blend-mode:var(--page-art-blend,normal);opacity:var(--page-art-opacity,1)}
a{color:var(--accent-text,var(--accent));text-underline-offset:.18em}
a:hover{text-decoration-thickness:2px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
body:not(.page-wide) header{padding:1.3rem 0 .6rem;border-bottom:1px solid var(--line);margin-bottom:.4rem}
body:not(.page-wide) header a{font:800 1.5rem/1 var(--font-display);letter-spacing:-.04em;color:var(--ink);text-decoration:none}
body:not(.page-wide) header a::after{content:'.';color:var(--accent)}
body:not(.page-wide) nav{display:flex;flex-wrap:wrap;gap:.4rem .5rem;padding:.7rem 0 .2rem}
body:not(.page-wide) nav a{display:inline-block;margin:0;padding:.3rem .8rem;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);font-size:.86rem;text-decoration:none}
body:not(.page-wide) nav a:hover,body:not(.page-wide) nav a[aria-current]{color:var(--ink);border-color:var(--accent)}
h1,h2,h3{font-family:var(--font-display);color:var(--heading-ink,var(--ink));letter-spacing:-.02em}
h1{font-size:clamp(1.9rem,4.5vw,2.7rem);line-height:1.1;margin:1.6rem 0 .5rem}
h2{font-size:1.3rem;margin:2.2rem 0 .6rem}
.meta,figcaption,.note,small{color:var(--muted);opacity:1}
ul.cloud{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
ul.cloud li{margin:0;padding:.35rem .85rem;border:1px solid var(--line);border-radius:999px;background:var(--surface)}
ul.cloud li:hover{border-color:var(--accent)}
ul.cloud a{text-decoration:none;color:var(--ink);font-weight:600}
ul.cloud small{margin-left:.3rem}
ol.posts{list-style:none;padding:0;display:grid;gap:.9rem}
ol.posts li{margin:0;padding:1rem 1.2rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
ol.posts h2{margin:0 0 .2rem;font-size:1.12rem}
ol.posts a{text-decoration:none}
ol.posts a:hover{text-decoration:underline}
figure img{border-radius:calc(var(--radius) - 6px)}
.cta a,.actions button,button.primary{display:inline-block;padding:.7rem 1.2rem;border:0;border-radius:999px;background:linear-gradient(115deg in srgb,var(--action-start),var(--action-end));color:var(--button-ink,#fff);font:700 .95rem/1 var(--font-body);text-decoration:none;cursor:pointer}
hr{border:0;border-top:1px solid var(--line);opacity:1}
table{border-collapse:collapse;width:100%}
th,td{border-bottom:1px solid var(--line)!important}
th{color:var(--muted);font-weight:600}
pre,code,textarea{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:10px}
code{padding:.1rem .35rem}
details{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:.7rem 1rem}
.kind,.badge{border-color:var(--line)!important;color:var(--muted)}
.stage{border-radius:var(--radius)}
/* Shared pieces of the static pages /widget/ and /feeds/ */
.foot{max-width:56rem;margin:2rem auto 0;padding:1.2rem 0 0;color:var(--muted);font-size:.85rem;border-top:1px solid var(--line)}
.foot a{color:var(--muted)}
.foot a:hover{color:var(--accent)}
@media (max-width:600px){body{padding:0 1rem 3rem;font-size:16px}}
@media print{body::before{display:none}}
