*{box-sizing:border-box}body{margin:0;background:#eef4f7;color:#142d43;font:16px system-ui,Arial}
header{background:#142d43;color:white;padding:10px 22px;display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;font-size:13px}.brand{display:flex;align-items:center;gap:22px;flex:none;text-decoration:none}.brand img{height:62px;width:auto;display:block;background:none;border-radius:0}.brand span{color:#8ddce5;font-size:21px;line-height:1.2;white-space:nowrap}.sessionbar{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;color:#cfe3ef;font-size:13px}.sessionbar form{display:inline;margin:0}.sessionbar button{padding:7px 12px;margin:0;font-size:13px}
nav{display:flex;gap:6px;flex-wrap:wrap;padding:12px 22px;background:#203e56}nav a{color:#e2edf4;padding:9px 10px;border-radius:7px;text-decoration:none;font-size:15px;line-height:1.2}nav a:hover{background:#2b4c66}nav a.sel{background:#317cab;color:white}
main{max-width:1150px;margin:auto;padding:22px}
.card{background:white;border-radius:14px;padding:20px;margin:14px 0;box-shadow:0 3px 14px #142d4312}
.card img{max-width:100%;max-height:340px;object-fit:contain;display:block;margin:auto}
.login{max-width:420px;margin:40px auto}
label{display:block;margin:12px 0 4px;font-weight:600;font-size:14px}
input,select,textarea{display:block;width:100%;padding:11px;border:1px solid #b9cad7;border-radius:8px;font:inherit;background:white;color:#142d43}
input[type=checkbox]{display:inline;width:auto}
textarea{min-height:90px}
button,.btn{display:inline-block;margin:8px 4px 0 0;background:#1766a0;color:white;border:0;border-radius:8px;padding:11px 16px;text-decoration:none;font:inherit;font-weight:600;cursor:pointer}
button.alt,.btn.alt{background:#e3edf4;color:#194764}
.btn.small,button.small{padding:6px 10px;font-size:13px;margin:2px}
.big{font-size:18px;padding:16px 20px}
button:disabled{opacity:.55;cursor:wait}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.scroll{overflow:auto}
table{border-collapse:collapse;width:100%;background:white;font-size:14px}th,td{text-align:left;padding:9px;border-bottom:1px solid #dce5ec;vertical-align:top}th{background:#e4eef5;font-size:12px}
tr.gray{background:#eef0f1;color:#777}
.note{background:#fff5df;padding:12px;border-radius:8px}.note.ok{background:#e2f3e8}.note.err{background:#fce2e0}
.muted{color:#647b8a}
.search{max-width:360px;margin:8px 0}
.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;align-items:end}.filters label{margin:0}.filters button{margin:0}
@media print{header,nav,.noprint,button,.btn{display:none!important}body{background:white}main{padding:0}.card{box-shadow:none;padding:0}table{font-size:10px}tr{break-inside:avoid}}
@media(max-width:600px){main{padding:12px}}

@media(max-width:600px){header{padding:8px 12px}.brand img{height:40px}.sessionbar span{display:none}.brand span{display:none}.sessionbar{gap:6px;font-size:12px}.sessionbar button{padding:6px 9px;font-size:12px}nav{padding:7px}nav a{font-size:12px}}

@media(max-width:1180px){.brand{gap:16px}.brand span{font-size:17px}}@media(max-width:1040px){.brand span{display:none}}
