:root { color-scheme: light; font: 16px/1.5 system-ui, sans-serif; color: #222c3d; background: #f5f8fc; }
* { box-sizing: border-box; }
main { max-width: 49rem; margin: auto; padding: clamp(1rem, 4vw, 2rem); }
h1, h2 { line-height: 1.18; margin: 0 0 .55rem; }
h1 { font-size: clamp(1.65rem, 5vw, 2.35rem); }
h2 { font-size: 1.2rem; }
p { margin: 0 0 .75rem; }
fieldset, .panel { background: #fff; border: 1px solid #ccd8e6; border-radius: 11px; padding: .85rem; margin: .75rem 0; min-width: 0; }
fieldset { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 100%), 1fr)); gap: .55rem; }
legend, label { font-weight: 620; }
legend { padding: 0 .35rem; }
label { display: block; font-size: .88rem; }
input, select, button { font: inherit; }
input[type=text], select { display: block; width: 100%; color: inherit; background: #fff; border: 1px solid #758ba4; border-radius: 6px; padding: .4rem; margin-top: .2rem; }
.consent { display: flex; align-items: flex-start; gap: .55rem; margin: .75rem 0; font-weight: 500; }
.consent input { flex-shrink: 0; margin-top: .34rem; }
button { border: 1px solid #31547f; border-radius: 7px; background: #31547f; color: white; padding: .45rem .7rem; cursor: pointer; }
button.secondary { background: #fff; color: #31547f; }
button:disabled { background: #4e6178; border-color: #4e6178; color: #fff; cursor: default; }
:focus-visible { outline: 3px solid #a34a18; outline-offset: 3px; }
a { color: #245182; text-underline-offset: .16em; }
.hint { color: #44596e; font-size: .875rem; margin-top: .6rem; }
header { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .37rem; border-bottom: 1px solid #dce5f0; overflow-wrap: anywhere; vertical-align: top; }
th { background: #edf3f9; }
footer { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .875rem; margin-top: 1rem; }
#status { margin-top: .8rem; }
