:root {
  color-scheme: light;
  font-family: "Atkinson Hyperlegible Next", system-ui, "Noto Sans TC", sans-serif;
  color: #172b37;
  background: #f3f6f7;
  accent-color: #0b665e;
}
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #173440; color: #fff; }
.bar, nav, main { max-width: 1250px; margin: auto; padding: 1rem clamp(.8rem, 4vw, 2rem); }
.bar, nav { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
.bar strong { font-size: 1.2rem; }
.classification { color: #ffdb92; font-weight: 700; }
.logout { margin-inline-start: auto; display: flex; align-items: center; gap: .5rem; }
nav { padding-top: 0; padding-bottom: 0; }
nav a { color: #d5e9ea; padding: .6rem .25rem; border-block-end: 3px solid transparent; }
nav [aria-current] { color: white; border-color: #82d6c7; }
main { padding-top: 1.5rem; }
h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-block: 0 1rem; }
a { color: #095b54; text-underline-offset: .18em; }
button, input, select { font: inherit; }
input, select, button, .button { border: 1px solid #82949b; border-radius: .35rem; padding: .5rem .65rem; background: #fff; color: #172b37; }
button, .button { cursor: pointer; display: inline-block; text-decoration: none; }
.primary { color: #fff; background: #09665b; border-color: #09665b; }
:focus-visible { outline: 3px solid #a65d0f; outline-offset: 2px; }
.card, .filters, .summary, .table-wrap { border: 1px solid #ccd8db; background: white; border-radius: .65rem; }
.card, .summary { padding: 1rem; }
.card { max-width: 36rem; display: grid; gap: .85rem; }
.login { max-width: 25rem; }
.card button { justify-self: start; }
.filters { display: flex; align-items: end; gap: .75rem; flex-wrap: wrap; padding: .85rem; margin-bottom: 1rem; }
.filters input, .filters select { max-width: 100%; }
label { display: grid; gap: .25rem; font-weight: 600; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: start; }
th, td { padding: .65rem .8rem; text-align: start; border-bottom: 1px solid #e1e8e9; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: #e5efef; white-space: nowrap; }
.value, code, pre { overflow-wrap: anywhere; }
pre { white-space: pre-wrap; }
.row-actions { min-width: 12rem; }
.row-actions a { margin-inline-end: .4rem; }
.row-actions form { display: inline; }
.summary dt { font-weight: 700; }
.summary dd { margin: .2rem 0 .75rem; }
.message { border-inline-start: .3rem solid #0b665e; background: #e7f4ef; padding: .7rem; }
.error { border-color: #a12a2d; background: #fbe9e9; }
.pagination { display: flex; align-items: center; gap: 1rem; }
