
    :root{--editor-accent:#6252a3;--editor-surface:#eef0fa}
    .editor-shell{width:min(1120px,92vw);margin-inline:auto}
    .editor-header{border-bottom:1px solid var(--line,var(--border,#a7a7ad));padding:1rem 0}
    .editor-header .editor-shell,.editor-foot .editor-shell{display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between;align-items:center}
    .editor-brand,.editor-nav a{color:inherit;font-weight:700;text-decoration:none}
    .editor-brand{display:flex;align-items:center;gap:.6rem}
    .editor-nav{display:flex;flex-wrap:wrap;gap:.7rem 1.4rem}
    .editor-nav a[aria-current]{color:var(--editor-accent);text-decoration:underline;text-underline-offset:.25rem}
    .editor-main{padding-bottom:4rem;min-height:55vh}
    .editor-hero{margin:1.8rem auto 3rem;padding:clamp(1.5rem,5vw,4rem);background:var(--editor-surface);border-radius:var(--radius,12px);display:grid;gap:2rem;align-items:center}
    .editor-hero.with-media{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
    .editor-hero h1,.editor-body h1{font-size:clamp(1.9rem,5vw,3.4rem);line-height:1.13;margin:0 0 1rem;overflow-wrap:anywhere}
    .editor-hero p,.editor-body p{max-width:70ch;line-height:1.65}
    .editor-hero img{width:100%;max-height:340px;object-fit:cover;border-radius:var(--radius,12px)}
    .editor-action{display:inline-block;margin-top:.9rem;padding:.55em 1em;border:1px solid var(--editor-accent);border-radius:8px;color:var(--editor-accent);font-weight:700}
    .editor-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr))}
    .editor-card{border:1px solid var(--line,var(--border,#a7a7ad));border-radius:var(--radius,12px);padding:1.3rem;background:var(--editor-surface)}
    .editor-card h2,.editor-card h3{line-height:1.25;margin:0 0 .65rem;font-size:1.27rem}
    .editor-card a,.editor-body a{color:var(--editor-accent);text-decoration:underline;text-underline-offset:.18em}
    .editor-crumb{display:block;margin:1.4rem 0;color:var(--editor-accent)}
    .editor-body{width:min(78ch,100%);margin:2.2rem auto;font-size:clamp(1rem,2vw,1.12rem);overflow-wrap:anywhere}
    .editor-body h2{margin:1.45em 0 .55em}
    .editor-body img{height:auto;max-width:100%}
    .editor-table,.editor-body pre{overflow:auto}
    .editor-foot{border-top:1px solid var(--line,var(--border,#a7a7ad));padding:1rem 0}
    .reading .editor-hero h1{font-family:var(--serif,Georgia)}
    .terminal .editor-hero{border-left:4px solid var(--editor-accent)}
    .terminal .editor-hero h1{font-family:var(--mono,monospace)}
    .engineering .editor-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr))}
    .activity .editor-hero{border-bottom:5px solid var(--ochre,#d9b48b)}
    .building .editor-hero img{aspect-ratio:4/3}
    @media(max-width:700px){.editor-hero.with-media{grid-template-columns:1fr}}
    