body{font-family:system-ui,sans-serif;margin:0;background:#f4f5f7;color:#222}
header{display:flex;justify-content:space-between;align-items:center;background:#1f2a44;color:#fff;padding:.5rem 1.5rem}
header h1{font-size:1.2rem}main{max-width:1000px;margin:1rem auto;padding:0 1rem}
.card{background:#fff;padding:1rem 1.5rem;border-radius:8px;margin:1rem 0;box-shadow:0 1px 3px #0002}
.narrow{max-width:340px;margin:10vh auto}label{display:block;margin:.5rem 0}
input,select{padding:.4rem;border:1px solid #bbb;border-radius:4px;font:inherit}
label input{display:block;width:100%;box-sizing:border-box}
button{padding:.45rem .9rem;border:0;border-radius:4px;background:#2f6fed;color:#fff;cursor:pointer;font:inherit}
button.secondary{background:#6b7280}.toolbar{display:flex;gap:.5rem;flex-wrap:wrap;align-items:end;margin:.5rem 0}
.toolbar #search{flex:1;min-width:200px}table{width:100%;border-collapse:collapse;background:#fff}
th,td{text-align:left;padding:.5rem;border-bottom:1px solid #e5e7eb}tbody tr.clickable{cursor:pointer}tbody tr.clickable:hover{background:#eef3ff}
.error{color:#b00020}.inactive{color:#999}dialog{border:0;border-radius:8px;min-width:320px}
#demo-banner{background:#fff3cd;color:#6b4e00;padding:.5rem 1.5rem;border-bottom:2px solid #f0b400;font-weight:600}
#demo-banner button{margin-left:1rem}.badge{background:#f0b400;color:#222;font-size:.7rem;font-weight:700;padding:1px 6px;border-radius:8px;margin-left:.4rem}
button.demo{background:#b8860b}.demo-note{font-size:.85rem;color:#6b4e00}
