:root {
  color-scheme: light;
  color: #242220;
  background: #f6f4f1;
  font: 16px/1.5 system-ui, sans-serif;
  --ink: #252220;
  --muted: #5f5954;
  --line: #ddd7d2;
  --accent: #a83515;
}
* {box-sizing:border-box}
body {margin:0}
a {color:inherit}
.wrap {width:min(100% - 32px, 960px);margin-inline:auto}
.bar {background:#171717;color:white;border-bottom:3px solid #f65c2f}
.bar .wrap {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:70px}
.brand {display:inline-flex;background:white;border-radius:8px;padding:5px 8px}
.brand img {width:139px;height:auto;display:block}
button,.secondary {font:inherit;font-weight:720;cursor:pointer}
button:disabled {cursor:default;opacity:.46}
.secondary,.primary {display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:8px;padding:8px 13px}
.secondary {border:1px solid #bdb6b0;background:white;color:var(--ink);text-decoration:none}
.secondary:hover {background:#fff4ee}
.primary {background:var(--accent);color:#fff;border:1px solid var(--accent)}
.primary:hover:not(:disabled) {background:#82290f}
:focus-visible {outline:3px solid #bc441c;outline-offset:3px}
.heading {padding-top:clamp(22px,5vw,42px)}
h1,h2,h3,p {margin:0}
h1 {font-size:clamp(1.85rem,4vw,2.65rem);line-height:1.1;letter-spacing:-.035em}
.heading p,.section-head p {color:var(--muted);margin-top:7px}
.pages {display:flex;flex-wrap:wrap;gap:7px 20px;margin-block:20px}
.pages a {font-weight:700;color:var(--accent);text-underline-offset:3px}
fieldset {min-width:0;margin:0;padding:0;border:0}
section {background:white;margin-bottom:16px;border:1px solid var(--line);border-radius:13px;padding:clamp(13px,2.5vw,24px);scroll-margin-top:14px}
.section-head,.group-head {display:flex;align-items:center;justify-content:space-between;gap:10px 18px;flex-wrap:wrap}
.section-head {margin-bottom:16px}
.section-head h2 {font-size:1.35rem;line-height:1.2}
.group-head {margin-bottom:8px}
.group {margin-top:13px;padding-top:13px;border-top:1px solid var(--line)}
.group h3 {font-size:1.06rem}
.records {display:grid;gap:8px}
details {border:1px solid var(--line);border-radius:9px;background:#fcfaf8}
summary {cursor:pointer;padding:10px 12px;font-weight:750;overflow-wrap:anywhere}
details[open]>summary {border-bottom:1px solid var(--line)}
.record-body {padding:12px}
.record-actions {display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:10px}
.record-actions .remove {color:#922913}
.fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fields .wide {grid-column:1/-1}
label {display:grid;gap:4px;align-content:start;font-weight:670}
label small {font-weight:450;color:var(--muted)}
input,textarea {font:inherit;color:var(--ink);width:100%;min-width:0;border:1px solid #bdb6b0;border-radius:7px;padding:7px 9px;background:white}
textarea {resize:vertical}
.save-bar {position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f6f4f1;border-top:1px solid var(--line);padding:14px 0 max(14px,env(safe-area-inset-bottom))}
#status {font-weight:720}
#status[data-error="true"] {color:#922913}
#updated {font-size:.84rem;color:var(--muted)}
.sr-only {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:550px) {.fields {grid-template-columns:1fr}.save-bar .primary {white-space:nowrap;padding-inline:11px}}

.admin-top-actions {display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.mund-login {max-width:505px;padding-top:clamp(20px,5vw,50px)}
.mund-login form {display:grid;gap:13px}
.mund-login .primary {justify-self:start}
.mund-login .form-error {color:#922913;background:#fff1eb;padding:9px 12px;border-radius:7px;margin-bottom:13px}
