:root { color-scheme:dark; --bg:#080d0b; --surface:#111a16; --line:#293a30; --text:#f4f6f2; --muted:#aebbb2; --accent:#b8f438; --ink:#0a1403; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.55}
* { box-sizing:border-box}
html { scroll-behavior:smooth}
body { margin:0; background:var(--bg); color:var(--text)}
a { color:inherit; text-decoration:none}
a:hover { text-decoration:underline}
button,input,textarea,select { font:inherit}
button { cursor:pointer}
img { display:block; max-width:100%}
h1,h2,h3,p { margin:0 0 .7rem}
h1,h2,h3 { line-height:1.08; letter-spacing:-.035em}
h1 { font-size:clamp(3rem,5.7vw,5.9rem)}
h2 { font-size:clamp(1.8rem,3.3vw,3.15rem)}
h3 { font-size:1.15rem}
p { color:var(--muted)}
.shell { width:min(1180px,calc(100% - 48px)); margin:auto}
.button { display:inline-flex; align-items:center; justify-content:center; border:1px solid #70816d; background:transparent; color:inherit; border-radius:8px; padding:.8rem 1.1rem; font-size:.92rem; font-weight:750; text-align:center; line-height:1.25}
.button:hover { border-color:var(--accent); text-decoration:none}
.primary { background:var(--accent); color:var(--ink); border-color:var(--accent)}
.eyebrow { color:var(--accent); font-size:.76rem; letter-spacing:.18em; font-weight:800; display:block; margin-bottom:.8rem}
.actions { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center}
.actions { margin-top:1.25rem}
.admin-head { display:flex; align-items:center; justify-content:space-between; gap:1rem}
.footer { border-top:1px solid var(--line); padding:1.3rem 0; color:var(--muted); font-size:.8rem}
.skip { position:absolute; left:-9999px}
.skip:focus { left:1rem; top:1rem; background:var(--bg); padding:1rem; z-index:9}
:focus-visible { outline:3px solid #81baf6; outline-offset:3px}
.admin { padding-block:2.5rem}
.admin h1 { font-size:2.5rem}
.admin section { margin-top:2.5rem}
.login { max-width:420px; margin:6vh auto; padding:2rem}
.login form { margin:1.5rem 0}
.editor { border:1px solid var(--line); background:var(--surface); padding:1rem; border-radius:12px}
.editor form,.login form { display:grid; gap:.7rem}
label { display:grid; gap:.25rem; font-size:.85rem; font-weight:650}
input,textarea,select { width:100%; min-width:0; background:#080d0b; border:1px solid #607264; color:var(--text); border-radius:6px; padding:.6rem}
.check { display:flex; align-items:center; gap:.5rem}
.check input { width:auto}
.danger { color:#ffb8b8; border-color:#aa5959}
.notice { border:1px solid var(--accent); padding:.7rem; border-radius:6px}
.preview { width:100%; max-height:180px; object-fit:contain; margin-bottom:1rem}
.editor .actions { margin-top:0}
.admin nav { color:var(--accent)}

.editor-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:1.5rem }

@media(max-width:900px) { .editor-grid { grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:640px) { .shell { width:calc(100% - 32px)} .editor-grid { grid-template-columns:1fr} .admin-head { align-items:flex-start; flex-direction:column} .admin h1 { font-size:2rem} }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto} }
