*{box-sizing:border-box}
body{font-family:Arial,Helvetica,sans-serif;margin:0;background:#f4f6f9;color:#222}
.wrap{max-width:1000px;margin:0 auto;padding:0 15px}
header{background:#1f3a5f;color:#fff;padding:12px 0}
header h1{margin:0 0 8px;font-size:22px}
nav a{color:#fff;margin-right:18px;text-decoration:none;font-weight:bold}
nav a:hover{text-decoration:underline}
main{padding:20px 15px}
footer{text-align:center;color:#888;padding:20px;font-size:12px}
.card{background:#fff;border-radius:8px;padding:20px;margin-bottom:20px;box-shadow:0 1px 4px rgba(0,0,0,.1)}
table{width:100%;border-collapse:collapse;background:#fff}
th,td{padding:10px;border-bottom:1px solid #e3e3e3;text-align:left;font-size:14px}
th{background:#eef1f6}
tr.click:hover{background:#f0f6ff;cursor:pointer}
label{display:block;margin:12px 0 4px;font-weight:bold}
input[type=text],input[type=email],input[type=number],input[type=date],input[type=password],select,textarea,input[type=file]{width:100%;padding:8px;border:1px solid #bbb;border-radius:4px;font-size:14px}
input[type=checkbox],input[type=radio]{margin-right:8px}
.check label{font-weight:normal;margin:6px 0}
button,.btn{background:#1f3a5f;color:#fff;border:0;padding:10px 18px;border-radius:4px;cursor:pointer;font-size:14px;text-decoration:none;display:inline-block;margin:4px 4px 4px 0}
button.green,.btn.green{background:#2e8b57}
button.red,.btn.red{background:#c0392b}
button.orange,.btn.orange{background:#e08e0b}
button.grey,.btn.grey{background:#777}
.badge{display:inline-block;padding:3px 9px;border-radius:12px;font-size:12px;color:#fff}
.badge.blue{background:#2d6cdf}.badge.orange{background:#e08e0b}.badge.red{background:#c0392b}
.badge.green{background:#2e8b57}.badge.grey{background:#777}
.alert{padding:12px 15px;border-radius:5px;margin:15px 0}
.alert.warn{background:#fff3cd;border:1px solid #e0b100}
.alert.info{background:#e3f0ff;border:1px solid #7fb0ee}
.alert.ok{background:#e0f5e8;border:1px solid #66bb88}
.alert.err{background:#fde3e0;border:1px solid #d9604f}
.steps{display:flex;gap:6px;margin:15px 0;flex-wrap:wrap}
.step{flex:1;min-width:140px;padding:10px;text-align:center;background:#e1e5ec;border-radius:5px;font-size:13px}
.step.done{background:#2e8b57;color:#fff}
.step.current{background:#2d6cdf;color:#fff;font-weight:bold}
.hidden{display:none}
dl{display:grid;grid-template-columns:220px 1fr;gap:6px 12px}
dt{font-weight:bold}dd{margin:0}
@media(max-width:600px){dl{grid-template-columns:1fr}}