:root { color-scheme: light; font-family: system-ui, sans-serif; color: #182c29; background: #f4f7f6; line-height: 1.5; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1900px; margin: auto; padding: 24px; }
h1 { font-size: 1.8rem; margin-top: 0; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1rem; }
section { background: #fff; border: 1px solid #cedbd5; border-radius: 8px; margin: 24px 0; padding: 16px; min-width: 0; }
p { max-width: 100ch; }
.notice { padding: 12px; border-left: 4px solid #24705c; background: #e5f0eb; }
button, input, select, textarea { font: inherit; color: inherit; border: 1px solid #8bada0; border-radius: 4px; padding: 7px 9px; background: white; max-width: 100%; }
button { cursor: pointer; background: #eff6f2; white-space: normal; }
button:hover { background: #deede5; }
button:disabled, input:disabled, select:disabled, textarea:disabled { opacity: .6; cursor: not-allowed; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, .table-scroll:focus-visible { outline: 3px solid #2c7fba; outline-offset: 2px; }
input[type="checkbox"] { width: 18px; height: 18px; vertical-align: middle; margin-right: 6px; accent-color: #226d55; }
label { display: inline-flex; align-items: center; gap: 4px; margin: 4px 12px 4px 0; }
.toolbar, nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
form > * { margin: 4px; }
form input:not([type="checkbox"]), form textarea { min-width: 180px; }
small { display: block; max-width: 30ch; }
textarea { width: 260px; resize: vertical; }
summary { cursor: pointer; padding: 8px 0; font-weight: 600; }
details label { font-size: .9rem; }
.table-scroll { overflow-x: auto; max-height: 70vh; border: 1px solid #cedbd5; border-radius: 6px; }
table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .9rem; }
caption { text-align: left; padding: 12px; }
thead { position: sticky; top: 0; z-index: 2; background: #e7eee9; }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid #d7e1dc; padding: 10px; min-width: 160px; white-space: pre-wrap; overflow-wrap: anywhere; }
thead td { padding-top: 0; }
thead input, thead select { display: block; width: 100%; margin: 4px 0; min-width: 140px; }
tbody tr:hover { background: #f8fbf9; }
td button { text-align: left; }
td [role="status"], td [role="alert"] { display: block; padding-top: 6px; }
[role="alert"] { color: #9c231f; white-space: pre-wrap; overflow-wrap: anywhere; }
article { border-top: 1px solid #d7e1dc; margin-top: 20px; }
pre { font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; background: #f5f7f6; padding: 12px; border-radius: 4px; }
@media (max-width: 700px) { main { padding: 12px; } section { padding: 12px; } h1 { font-size: 1.5rem; } }
