*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#080f1c;color:#f1f5f9;font:15px system-ui,-apple-system,Segoe UI,sans-serif}html.light body{background:#f2f5fa;color:#172033}.layout{display:grid;grid-template-columns:255px 1fr;min-height:100vh}aside{background:#101c2d;padding:25px;border-right:1px solid #344156}aside .logo{width:100%;max-height:135px;object-fit:contain}aside h2{margin:4px 0}aside p,.eyebrow{color:#e5b856}nav{display:grid;gap:8px;margin:30px 0}nav a{color:inherit;text-decoration:none;padding:12px;border-radius:9px}nav a:hover{background:#283b52}main{padding:32px;min-width:0;max-width:1500px;width:100%;margin:auto}header{margin-bottom:25px}h1{font-size:clamp(24px,3vw,36px);margin:8px 0}h2{font-size:21px}p{color:#9caabd;line-height:1.6}html.light p{color:#536178}.panel{background:#132238;border:1px solid #2b4059;border-radius:17px;padding:24px;margin-bottom:22px;box-shadow:0 8px 24px #0000000d}html.light .panel{background:#fff;border-color:#dce4ee}html.light aside{background:#fff;border-color:#dce4ee}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stats .panel{display:grid;gap:12px}.stats strong{font-size:clamp(20px,2.4vw,30px);color:#f5bf57}.stats span{color:#9caabd}.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap}td,th{text-align:left;padding:12px;border-bottom:1px solid #35465a}html.light td,html.light th{border-color:#e4eaf1}th{color:#e4b85e}form{display:grid;gap:13px}label{display:grid;gap:6px;font-weight:600}input,select,textarea{width:100%;padding:12px;border:1px solid #40536a;border-radius:9px;background:#0b1727;color:#fff;font:inherit}html.light input,html.light select,html.light textarea{background:#fff;color:#172033;border-color:#bdc9d8}button{background:#e7b84f;color:#171b25;border:0;border-radius:9px;padding:12px 17px;font-weight:800;cursor:pointer}button.secondary{background:transparent;color:inherit;border:1px solid #75849a;margin:6px 0;width:100%}details{border-bottom:1px solid #40536a;padding:15px 0}summary{cursor:pointer;font-weight:700}footer{color:#9caabd;text-align:center;padding:25px}.login{max-width:430px;margin:7vh auto;padding:35px}.login .logo{display:block;width:100%;max-height:210px;object-fit:contain}.alert{color:#f59e90}@media(max-width:900px){.layout{display:block}aside{padding:15px}aside .logo{max-width:150px;max-height:90px}nav{display:flex;flex-wrap:wrap;margin:10px 0}main{padding:15px}.two,.stats{grid-template-columns:1fr}}
/* UI v2: collapsible agency forms */
.manage-panel{margin-top:4px}.manage-panel>.two{margin-top:20px}.form-dropdown{border:1px solid #40536a;border-radius:12px;padding:0;margin:0 0 14px;background:#0d1a2c;overflow:hidden}.form-dropdown>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px 20px;color:#f5bf57;cursor:pointer}.form-dropdown>summary::-webkit-details-marker{display:none}.form-dropdown>summary:after{content:'⌄';font-size:22px;margin-left:auto;transition:transform .2s}.form-dropdown[open]>summary:after{transform:rotate(180deg)}.form-dropdown[open]>summary{border-bottom:1px solid #40536a}.dropdown-body{padding:20px}.hint{font-size:12px;color:#9caabd;font-weight:400}.form-dropdown:focus-within{outline:1px solid #e7b84f}html.light .form-dropdown{background:#f8fafc;border-color:#dce4ee}html.light .form-dropdown[open]>summary{border-color:#dce4ee}html.light .form-dropdown>summary{color:#815700}@media(max-width:900px){.form-dropdown>summary{padding:16px}.dropdown-body{padding:14px}.hint{display:none}}
