:root {
  color-scheme: light;
  background: #faf4e5;
  color: #18372a;
  font: 1rem/1.5 system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.frame { width: min(1120px, calc(100% - 2rem)); margin: auto; }
header { border-bottom: 1px solid #ded8c4; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; }
.brand { letter-spacing: .16em; font-weight: 850; }
main { padding-block: 2rem 4rem; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; line-height: 1.1; }
h1 { margin: 0 0 1.5rem; font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.05em; }
h2 { margin: 0 0 1rem; font-size: 1.75rem; }
p { color: #465e4d; }
.panel { background: #fffdf6; border: 1px solid #ded8c4; border-radius: 1rem; padding: clamp(1rem, 3vw, 1.75rem); margin-bottom: 1rem; }
.login { display: grid; gap: 1rem; max-width: 28rem; }
.login button { justify-self: start; }
label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 650; }
input, select, button { font: inherit; border-radius: .5rem; padding: .55rem .8rem; }
input, select { background: white; color: inherit; border: 1px solid #a8ad97; width: 100%; }
button { background: #18372a; color: #fffdf6; border: 1px solid #18372a; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .48; cursor: default; }
.secondary, nav button[aria-pressed=false] { background: transparent; color: #18372a; }
:focus-visible { outline: 3px solid #a34a31; outline-offset: 3px; }
nav, .inline, .pagination { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
nav { margin-bottom: 1rem; }
.table-wrap { margin-top: 1rem; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th, td { padding: .65rem .65rem .65rem 0; border-bottom: 1px solid #ded8c4; }
td { overflow-wrap: anywhere; }
th { font-size: .85rem; text-wrap: nowrap; }
.pagination { align-items: center; margin-top: 1rem; }
#notice { padding: .75rem 1rem; border-radius: .5rem; background: #e5eddf; }
#notice[data-error=true] { background: #f9e3da; color: #7e3320; }
#selected-user { overflow-wrap: anywhere; }
