*,*::before,*::after{box-sizing:border-box}
:root{--blue:#0056a7;--deep:#123454;--orange:#f17b00;--ink:#172e43;--muted:#4e6375;--line:#d9e3ec;--paper:#fff;--ground:#f2f6fa}
body{margin:0;background:var(--ground);color:var(--ink);font:1rem/1.5 "Inter","Segoe UI",system-ui,sans-serif}
.shell{width:min(100% - 2rem,72rem);margin-inline:auto}
.top{color:white;background:var(--deep);border-bottom:4px solid var(--orange)}
.top-inner,.identity,.heading,.row,.actions,.checks{display:flex;align-items:center;gap:.8rem}
.top-inner,.heading,.row{justify-content:space-between}
.top-inner{min-height:4.8rem}
.brand{display:flex;align-items:center;gap:.8rem;color:white;text-decoration:none;line-height:1.15}
.brand strong{letter-spacing:.12em}
.brand small{display:block;color:#d5e7f6;margin-top:.25rem}
.brand-symbol{width:1.2rem;height:1.2rem;background:var(--orange);border-radius:70% 15% 70% 15%}
nav{background:white;border-bottom:1px solid var(--line)}
.nav-inner{display:flex;gap:.5rem;overflow:auto}
nav a{flex:none;padding:.85rem .65rem;border-bottom:3px solid transparent;text-decoration:none}
nav a.current{border-color:var(--orange);font-weight:700}
main{padding-block:2rem;min-height:65vh}
footer{color:var(--muted);border-top:1px solid var(--line);padding-block:1rem}
h1,h2,p{margin:0}
h1{font-size:clamp(1.65rem,3.8vw,2.45rem);line-height:1.15}
h2{font-size:1.2rem;margin-bottom:.75rem}
h1+p,.heading p,.muted{color:var(--muted)}
h1+p,.heading p{margin-top:.35rem}
.heading{margin-bottom:1.25rem;flex-wrap:wrap}
.heading+.panel,main>h1+.panel{margin-top:1rem}
a{color:var(--blue);font-weight:600}
.panel{background:white;border:1px solid var(--line);border-radius:.8rem;padding:clamp(.9rem,2vw,1.35rem);margin-bottom:1rem;box-shadow:0 2px 5px #12345408}
.columns,.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.filters{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));margin-bottom:.75rem}
.login{max-width:50rem;margin:1.5rem auto}
.login h1{margin-bottom:1.5rem}
.narrow{max-width:32rem}
label{display:grid;gap:.35rem;font-size:.9rem;font-weight:600;margin-bottom:.85rem}
input,textarea,select,button{font:inherit}
input:not([type=checkbox]),select,textarea{width:100%;color:var(--ink);background:white;border:1px solid #aebfcd;border-radius:.4rem;padding:.55rem .65rem;min-height:2.75rem}
textarea{resize:vertical}
button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:2.75rem;padding:.55rem .85rem;color:white;background:var(--blue);border:1px solid var(--blue);border-radius:.45rem;text-decoration:none;font-weight:700;cursor:pointer;text-align:center}
.secondary{background:#fff;color:var(--blue);border-color:#a7c5e1}
.quiet{background:transparent;border-color:#92acc4;color:white}
:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.status{display:inline-block;border-radius:2rem;padding:.25rem .65rem;background:#e4effa;color:#064582;font-size:.83rem;font-weight:700}
.attention{background:#fff0dc;color:#733700}
.notice,.empty{padding:.8rem 1rem;background:#e6f0fa;border-radius:.4rem;margin:.8rem 0}
.notice.error{background:#fce5e3;color:#89221b}
fieldset{border:1px solid var(--line);border-radius:.5rem;padding:.6rem .9rem;margin:0 0 .8rem;min-width:0}
legend,summary{font-weight:700}
summary{cursor:pointer}
details form{margin-top:.8rem}
.checks,.actions{flex-wrap:wrap;margin:.7rem 0}
.check{display:flex;align-items:center;gap:.45rem}
.check input{width:1.15rem;height:1.15rem;accent-color:var(--blue)}
.line{display:grid;grid-template-columns:minmax(0,1fr) minmax(5rem,auto);align-items:center;gap:.8rem;padding:.65rem 0;border-top:1px solid var(--line)}
.line label{max-width:7rem;margin:0}
.line p,.row p{margin:.2rem 0}
.order-group{margin-top:1.15rem}
.order-form fieldset .line:first-of-type{border-top:0}
.order-form[hidden],[hidden]{display:none!important}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse;text-align:left}
th,td{padding:.65rem .55rem;border-bottom:1px solid var(--line);vertical-align:top}
th{background:#edf3f9;color:var(--deep)}
.confirmation{display:flex;align-items:end;gap:.75rem;margin:.85rem 0;flex-wrap:wrap}
.confirmation label{max-width:8rem;margin:0}
.timeline{padding-left:1.3rem;margin-bottom:0}
.timeline li+li{margin-top:.55rem}
@media(max-width:40rem){main{padding-block:1.25rem}.columns{grid-template-columns:1fr}.identity>span{display:none}.row{align-items:flex-start}.row .button{flex:none}.line{gap:.5rem}.line p{font-size:.88rem}th,td{min-width:7rem}.login{margin-top:.6rem}}

