*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f5f6f8;color:#111}
.topbar{background:#680905;color:#fff;padding:22px 5%;display:flex;justify-content:space-between;align-items:center;gap:20px}
.topbar h1{margin:0 0 5px;font-size:26px}.topbar p{margin:0;opacity:.85}
.container{width:min(1200px,92%);margin:30px auto}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}
.card,.panel{background:#fff;border-radius:12px;padding:22px;box-shadow:0 4px 18px rgba(0,0,0,.07)}
.card span{display:block;color:#666;font-size:14px}.card strong{display:block;font-size:32px;margin-top:8px;color:#680905}
.button{display:inline-block;background:#f91107;color:#fff;text-decoration:none;border:0;border-radius:7px;padding:11px 17px;cursor:pointer;font-weight:bold}
.button.secondary{background:#fff;color:#680905}
.notice{background:#e9f8ee;color:#146c2e;padding:13px 16px;border-radius:8px;margin-bottom:20px}
.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}
.panel h2{margin-top:0}
#search{width:280px;padding:11px;border:1px solid #ccc;border-radius:7px}
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;min-width:900px}
th,td{padding:13px 10px;border-bottom:1px solid #eee;text-align:left}
th{background:#fafafa;font-size:13px}
.actions{white-space:nowrap}.actions a{margin-right:10px;color:#680905;text-decoration:none;font-weight:bold}.actions .danger{color:#c00}
.status{display:inline-block;padding:5px 9px;border-radius:20px;font-size:12px;font-weight:bold}
.status.active{background:#e8f7ed;color:#137333}.status.inactive{background:#fbe9e9;color:#a00}
.empty{text-align:center;padding:35px;color:#777}
.form-panel{max-width:760px;margin:auto}
form label{display:block;font-weight:bold;margin:16px 0 7px}
form input,form select,form textarea{width:100%;padding:12px;border:1px solid #ccc;border-radius:7px;font:inherit}
form button{margin-top:20px}
.details{max-width:800px;margin:auto}.details p{padding:10px 0;border-bottom:1px solid #eee}
@media(max-width:700px){.topbar{flex-direction:column;align-items:flex-start}.cards{grid-template-columns:1fr}.panel-head{flex-direction:column;align-items:stretch}#search{width:100%}}
