:root{--bg:#f5f5fa;--fg:#1e1d3a;--muted:#67667f;--brand:#373594;--brand2:#7770b7;--brand-l:#ddd8ed;--brand-xl:#f3f3f9;--acc:#373594;--bd:#d9d7e6;--warn:#fff4d6;--bad:#fde8e8}
*{box-sizing:border-box}
body{margin:0;font:14px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--fg)}
header{background:#fff;color:var(--fg);padding:8px 18px;display:flex;gap:18px;align-items:center;flex-wrap:wrap;
  border-bottom:3px solid var(--brand);box-shadow:0 1px 0 var(--brand-l)}
header a{color:var(--brand);text-decoration:none;font-weight:600}
header nav{display:flex;gap:4px;flex-wrap:wrap}
header nav a{padding:5px 9px;border-radius:5px}
header nav a:hover,header .right a:hover{background:var(--brand-xl);text-decoration:none}
header a.brand{display:flex;align-items:center;gap:8px;margin-right:10px;padding:0}
header a.brand img{height:34px;display:block}
header a.brand span{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--brand2);
  border-left:2px solid var(--brand-l);padding-left:9px}
header .right{margin-left:auto;display:flex;gap:12px;align-items:center;font-size:13px}
header .right a{padding:4px 6px;border-radius:5px;font-weight:500}
header .who{color:var(--muted)}
header form{margin:0}
header button{background:#fff;border:1px solid var(--brand-l);color:var(--brand);border-radius:5px;padding:3px 9px;cursor:pointer;font:inherit}
header button:hover{background:var(--brand-xl)}
header.public{justify-content:center;padding:14px}
header.public a.brand img{height:44px}
main{padding:16px;max-width:1500px;margin:0 auto}
h1{font-size:20px;margin:4px 0 12px;color:var(--brand)}
a{color:var(--brand)}
.card{background:#fff;border:1px solid var(--bd);border-radius:8px;box-shadow:0 1px 2px #37359410;padding:12px 14px;margin-bottom:14px}
table{border-collapse:collapse;width:100%;background:#fff}
th,td{border-bottom:1px solid var(--bd);padding:5px 7px;text-align:left;vertical-align:top}
th{background:var(--brand-xl);color:#2c2b6e;font-weight:600;white-space:nowrap}
td.num,th.num{text-align:right;white-space:nowrap}
td.desc{white-space:pre-wrap;max-width:620px}
tr.review td{background:var(--warn)}
tr.total td{font-weight:700;border-top:2px solid var(--fg)}
.filters{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.filters label{display:flex;flex-direction:column;font-size:12px;color:var(--muted);gap:2px}
input,select,textarea{font:inherit;padding:5px 6px;border:1px solid var(--bd);border-radius:4px;background:#fff}
textarea{width:100%}
.btn{display:inline-block;background:var(--acc);color:#fff;border:0;border-radius:5px;padding:6px 12px;cursor:pointer;text-decoration:none;font:inherit}
.btn.secondary{background:#fff;color:var(--acc);border:1px solid var(--acc)}
.badge{display:inline-block;font-size:11px;padding:1px 6px;border-radius:8px;background:var(--brand-l);color:#2c2b6e;margin-left:3px}
.badge.warn{background:#ffe2a8}.badge.bad{background:#f8c8c8}
.messages{list-style:none;padding:0}.messages li{background:#e3f4e1;border:1px solid #b9dfb3;padding:8px;border-radius:4px}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px 16px}
.grid2 .full{grid-column:1/-1}
.field label{display:block;font-size:12px;color:var(--muted);margin-bottom:2px}
.field input,.field select{width:100%}
.errorlist{color:#b00;margin:2px 0;padding-left:16px;font-size:12px}
.help{font-size:11px;color:var(--muted)}
.muted{color:var(--muted)}
.pager{margin:10px 0;display:flex;gap:8px;align-items:center}
.report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.report-head .logo img{height:46px;display:block}
.summary{font-size:16px;margin:8px 0}
@media print{
  header,.noprint,.filters,.pager{display:none!important}
  body{background:#fff;font-size:11px}
  main{padding:0;max-width:none}
  .card{border:0;padding:0}
  th{background:#eee!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  tr{page-break-inside:avoid}
}
.messages li.warning{background:var(--warn);border-color:#e8c66a}.messages li.error{background:var(--bad);border-color:#e3a3a3}
.field ul{margin:2px 0;padding-left:16px;font-size:12px;color:var(--muted)}
form.inline{display:inline;margin:0}
button.link{background:none;border:0;padding:0;color:var(--acc);cursor:pointer;font:inherit;text-decoration:underline}
td.actions{white-space:nowrap}td.actions>*{margin-right:8px}
a.danger{color:#b00}
.bulkbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
mark{background:#ffe48a}del{background:#f8c8c8}ins{background:#c8f0c8;text-decoration:none}
h3{font-size:15px;margin:14px 0 6px}
.btn:hover{background:#2c2a7a}.btn.secondary:hover{background:var(--brand-xl)}
input:focus,select:focus,textarea:focus{outline:2px solid var(--brand-l);border-color:var(--brand2)}
tbody tr:hover td{background:#fafaff}
.demo-banner{background:repeating-linear-gradient(-45deg,#ffd400 0 22px,#ffcc00 22px 44px);color:#1e1d3a;text-align:center;
  font-weight:600;padding:6px 12px;border-bottom:2px solid #c9a200;letter-spacing:.01em;position:sticky;top:0;z-index:50}
.demo-banner b{background:#1e1d3a;color:#ffd400;padding:1px 8px;border-radius:4px;margin-right:4px;letter-spacing:.12em}
.demo-watermark{display:none}
.demo-banner .hint{font-weight:400;font-size:12px}
@media print{
  .demo-banner{position:static;-webkit-print-color-adjust:exact;print-color-adjust:exact;border:2px solid #c9a200;margin-bottom:8px}
  .demo-watermark{display:block;position:fixed;top:40%;left:0;right:0;text-align:center;transform:rotate(-28deg);
    font:700 140px/1 system-ui,sans-serif;color:rgba(225,170,0,.13);z-index:100;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  @page{margin:0.5in 0.45in 0.6in;@bottom-right{content:"Page " counter(page) " of " counter(pages);font-size:9px;color:#67667f}
    @bottom-left{content:"DNEPC · dnepc.com";font-size:9px;color:#67667f}}
  .report-head{border-bottom:2px solid var(--brand);padding-bottom:8px;margin-bottom:8px}
  th{background:var(--brand-xl)!important}
}
