:root { color-scheme: light; font: 16px "DM Sans", system-ui, sans-serif; color: #243128; background: #f4f3eb; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.masthead { min-height: 66px; display: flex; align-items: center; justify-content: space-between; padding: .7rem max(1.35rem, calc((100% - 1050px) / 2)); background: #243128; color: #f7f8ee; }
.masthead strong { font-size: 1.12rem; }
main { max-width: 1100px; margin: auto; padding: 2rem clamp(1rem, 4vw, 2rem); }
h1 { font: 600 clamp(2rem, 6vw, 3.4rem)/1.05 "Instrument Serif", Georgia, serif; letter-spacing: -.04em; margin: 0; }
h2 { font-size: 1.15rem; margin: 0 0 .75rem; }
p { line-height: 1.5; }
.panel { padding: 1.2rem; border: 1px solid #d8dbcf; background: #fffef7; border-radius: 12px; margin-bottom: 1rem; }
.access { max-width: 440px; margin: 10vh auto 1rem; padding: 1.7rem; }
.access h1 { margin-bottom: 1.25rem; }
.grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: 1rem; }
.heading h2 { margin: 0; }
button, input, select, textarea { font: inherit; min-height: 42px; padding: .55rem .8rem; border: 1px solid #b4c2ad; border-radius: 7px; color: #243128; background: white; }
button { cursor: pointer; font-weight: 650; }
button:hover { background: #ebf0e4; }
button:disabled { opacity: .55; cursor: wait; }
button.primary { color: #f3f9e7; background: #294332; border-color: #294332; }
button.primary:hover { background: #3a5a44; }
details { margin-top: 1.1rem; }
summary { cursor: pointer; }
form { margin-top: 1rem; }
label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 650; }
input { width: 100%; }
.check { display: flex; align-items: center; gap: .6rem; min-height: 42px; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 0; padding: 0; flex-shrink: 0; }
form > button { margin-top: .7rem; }
.fields { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul { list-style: none; padding: 0; margin: 0; }
li { padding: .62rem 0; border-top: 1px solid #e2e6dc; overflow-wrap: anywhere; }
li:first-child { border-top: 0; }
li p { margin: .15rem 0; }
li .meta, #version { color: #526359; font-size: .9rem; }
#notice { padding: .75rem 1rem; border-radius: 8px; background: #e2edde; }
#notice.error { background: #f4e3d8; color: #782d20; }
:focus-visible { outline: 3px solid #69915c; outline-offset: 2px; }
@media (max-width: 650px) { .grid, .fields { grid-template-columns: 1fr; } .grid { gap: 0; } }
.gallery h1 { margin-bottom: 1.25rem; }
.gallery li a { margin-right: 1.2rem; color: #294d3d; font-weight: 650; }
.gallery .panel { max-width: 690px; }
.archive-selection { display: flex; align-items: center; gap: .35rem; }
.archive-selection input { width: auto; min-height: initial; }
