:root { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #182535; background: #f3f5f7; line-height: 1.65; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 850px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 1.6rem; line-height: 1.35; }
h2 { font-size: 1.18rem; margin: 0 0 14px; }
header, footer { padding: 4px 0 16px; }
header p, footer, .muted { color: #536170; }
footer { font-size: .9rem; margin-top: 24px; }
.panel { background: #fff; border: 1px solid #d6dce2; border-radius: 10px; padding: 20px; margin: 16px 0; }
label { display: block; font-weight: 600; margin: 12px 0 6px; }
input, select { width: 100%; min-height: 46px; border: 1px solid #798897; border-radius: 6px; padding: 10px; background: #fff; color: inherit; font: inherit; }
button { min-height: 46px; padding: 10px 18px; border: 1px solid #235780; border-radius: 6px; color: #fff; background: #235780; font: inherit; font-weight: 600; cursor: pointer; }
form button { margin-top: 16px; }
button.secondary { background: #fff; color: #235780; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #a75313; outline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.records-list { padding: 0; list-style: none; margin: 0; }
.records-list > li { border-top: 1px solid #d6dce2; }
details { padding: 12px 0; }
details details { margin: 8px 0 8px 10px; padding-left: 12px; border-left: 2px solid #d6dce2; }
summary { cursor: pointer; font-weight: 600; padding: 4px 0; overflow-wrap: anywhere; }
p, .prewrap, #updated { overflow-wrap: anywhere; white-space: pre-wrap; }
.error { color: #a12525; }
[hidden] { display: none !important; }
@media (max-width: 480px) { main { padding: 16px 12px 32px; } .panel { padding: 16px; } .actions button { flex: 1 1 auto; } }
