:root { color-scheme: light; color: #30241c; background: #f8f3e9; font: 16px/1.55 system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
header, main { max-width: 42rem; margin-inline: auto; padding-inline: 1.25rem; }
header { display: flex; justify-content: space-between; align-items: center; min-height: 4rem; border-bottom: 1px solid #d8c8af; }
header a { color: #684123; }
.brand { color: #30241c; font-weight: 750; text-decoration: none; }
main { padding-block: 2rem 4rem; }
h1 { font-family: "Songti SC", "Noto Serif CJK SC", serif; font-size: clamp(2.1rem, 7vw, 3rem); line-height: 1.2; margin: 0 0 1.3rem; }
h2 { font-size: 1.2rem; margin: 1.8rem 0 .65rem; }
.card { padding: 1.1rem; border: 1px solid #d8c8af; border-radius: .9rem; background: #fffcf5; }
label, .results strong, .results span { display: block; }
label { margin-bottom: .8rem; font-weight: 630; }
input, select, textarea { width: 100%; min-height: 2.75rem; padding: .55rem .65rem; margin-top: .3rem; border: 1px solid #c7b69c; border-radius: .45rem; font: inherit; color: inherit; background: white; }
.fields { display: grid; grid-template-columns: 1.2fr 1fr; gap: .65rem; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .55rem 1rem; border: 1px solid #895d35; border-radius: .55rem; color: #30241c; background: #e6c997; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
button:active, .button:active { transform: scale(.98); background: #d7b583; }
a { color: #754423; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #895d35; outline-offset: 3px; }
.results { list-style: none; margin: 0; padding: 0; }
.results li { margin-block: .65rem; }
.results li > a { display: block; padding-block: .5rem; }
.results li:not(.card) { border-bottom: 1px solid #d8c8af; }
.results span, .lead, p { color: #634e3e; }
p { margin: .5rem 0 .85rem; }
.qr-card { text-align: center; }
.qr-card img { display: block; max-width: 100%; height: auto; margin: .75rem auto; }
.filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.letter-nav { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.letter-nav a { display: grid; place-items: center; min-width: 2.25rem; padding: .3rem .5rem; border-radius: .4rem; text-decoration: none; }
.letter-nav a[aria-current] { font-weight: 700; color: #30241c; background: #e6c997; }
.result-count { margin-left: .3rem; color: #634e3e; font-size: .85rem; font-weight: 500; }
.pagination { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }
.request-box { margin-top: 1.6rem; }
.request-box summary { cursor: pointer; font-weight: 650; }
.request-box form { margin-top: .9rem; }
