
:root{color-scheme:light;--ink:#132442;--muted:#586781;--line:#d6e0ef;--paper:#f4f7fb;--blue:#102c62}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:15px/1.5 'Segoe UI',sans-serif}
header{display:flex;gap:20px;align-items:center;padding:14px max(18px,calc((100% - 1100px)/2));background:#0b2154;color:#fff}
header .brand{font-size:1.25rem;font-weight:750;color:white;text-decoration:none;letter-spacing:.04em}
header .identity{margin-left:auto}header form{margin:0}header button{background:#274777}
main{width:min(1100px,calc(100% - 28px));margin:26px auto 56px}
.hero{display:flex;justify-content:space-between;gap:20px;align-items:center}
h1{font-size:2.1rem;line-height:1.12;margin:12px 0 18px}h2{font-size:1.17rem;margin:0 0 16px}
section{background:white;border:1px solid var(--line);border-radius:9px;padding:20px;margin:12px 0 18px}
section.login{max-width:440px;margin:9vh auto}a{color:#1556a0}a:hover{text-decoration-thickness:2px}
form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:8px 0 14px}
label{display:grid;gap:3px;min-width:135px;color:var(--muted);font-size:.9rem}label.check{display:flex;align-items:center}
input,select,button{font:inherit;border:1px solid #afc1da;border-radius:5px;padding:7px 10px;min-width:0}
input[type=file]{max-width:100%}input[type=checkbox]{width:auto}
button{background:var(--blue);color:white;border-color:transparent;cursor:pointer}button:hover{background:#19509b}
:focus-visible{outline:3px solid #de8e23;outline-offset:2px}
details{margin:8px 0}summary{cursor:pointer;color:var(--blue);font-weight:600}
.table{overflow:auto}table{width:100%;border-collapse:collapse}td,th{vertical-align:top;text-align:left;border-bottom:1px solid var(--line);padding:8px}
thead{background:#eff4fd}thead th{min-width:150px}tbody th{min-width:150px}
article{border-top:1px solid var(--line);padding:5px 0}pre,code{white-space:pre-wrap;overflow-wrap:anywhere}
pre{background:var(--paper);padding:12px;max-height:350px;overflow:auto}.list{padding:0;list-style:none}.list li{padding:9px 0}
.photo,.qr{max-width:130px;max-height:150px;display:block;margin:10px 0}.hero strong{background:#e0ebfa;padding:7px 12px;border-radius:5px}
@media (max-width:620px){header{gap:8px;flex-wrap:wrap}.hero{align-items:start}.hero h1{font-size:1.6rem}section{padding:14px}label{max-width:100%}}

header a.nav{color:#e6eefc;text-decoration:none}header a.nav:hover{text-decoration:underline}
.start{max-width:630px;margin:3rem auto}.start form{display:grid;gap:1.25rem}.start label{display:grid;gap:.35rem}.start button{justify-self:start}.pdf-preview{width:100%;height:72vh;min-height:420px;border:1px solid #cbd5e1}
