*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f5f7fb;color:#172033}
.container{max-width:1100px;margin:0 auto;padding:28px 18px}
.header{margin-bottom:24px}
.kicker{color:#2563eb;font-weight:700;font-size:14px}
h1{font-size:34px;margin:6px 0}
h2,h3{margin-top:0}
.muted{color:#64748b}
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
button{border:0;border-radius:9px;padding:11px 16px;background:#2563eb;color:#fff;font-weight:700;cursor:pointer;min-height:44px}
button:hover{filter:brightness(.95)}
button.secondary{background:#e2e8f0;color:#172033}
button.danger{background:#fee2e2;color:#991b1b}
.tab.active{background:#2563eb;color:#fff}
.tab{background:#e2e8f0;color:#172033}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.card{background:#fff;border:1px solid #dbe2ea;border-radius:16px;padding:20px}
label{display:block;font-size:13px;font-weight:700;margin-bottom:5px}
input{width:100%;border:1px solid #dbe2ea;border-radius:9px;padding:10px 12px;font-size:16px;background:#fff;color:#172033}
input:focus{outline:3px solid #dbeafe;border-color:#2563eb}
.metric{background:#f8fafc;border-radius:12px;padding:14px}
.metric .v{font-size:25px;font-weight:800}
.metric .l{font-size:12px;color:#64748b}
.notice{padding:12px;border-radius:10px;background:#f8fafc;font-size:14px}
.formgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.tablewrap{overflow:auto;max-height:330px;margin-top:20px}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{text-align:left;padding:9px;border-bottom:1px solid #dbe2ea}
th{font-size:12px;color:#64748b}
svg{width:100%;height:auto;display:block}
.axis{stroke:#94a3b8;stroke-width:1}
.point{fill:#475569;stroke:#fff;stroke-width:2}
.trend{stroke:#2563eb;stroke-width:3;fill:none}
footer{margin-top:30px;text-align:center;color:#64748b;font-size:13px}
@media(max-width:700px){
 .grid2,.grid3,.formgrid{grid-template-columns:1fr}
 h1{font-size:28px}
}