:root{font-family:Arial,sans-serif;color:#15395e;background:#edf4f8;font-size:14px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{background:#15395e;color:white;border-bottom:4px solid #ffbf19;padding:18px 28px;display:flex;justify-content:space-between;align-items:center;gap:15px}.brand{display:flex;align-items:center;gap:24px}.brand img{width:125px;max-height:64px;object-fit:contain}.brand h1{font-size:24px;margin:0 0 4px}.brand small{color:#dbe7f1}.identity{display:flex;align-items:center;gap:15px}main{max-width:1550px;padding:22px;margin:auto}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #c4d5e5;background:white;color:#15395e;border-radius:5px;padding:9px 12px}button:hover{border-color:#15395e}button:disabled{opacity:.5;cursor:default}.primary{background:#ffbf19;border-color:#ecb119;font-weight:bold}.login-card{background:white;border:1px solid #d2e0eb;border-top:4px solid #ffbf19;border-radius:12px;padding:26px;max-width:440px;margin:55px auto}h2{font-size:23px;margin:8px 0 10px}p{line-height:1.5}label{display:grid;gap:6px;font-size:12px;margin:9px 0}input,select,textarea{width:100%;min-width:0;border:1px solid #bfcede;border-radius:5px;padding:9px 10px;background:white;color:#15395e}input:focus,select:focus,textarea:focus{outline:2px solid #ffbf19;outline-offset:1px}.login-card button{width:100%;margin-top:15px}.eyebrow{font-size:11px;letter-spacing:.7px;font-weight:bold}#tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}#tabs button.selected{background:#15395e;color:white;border-bottom:3px solid #ffbf19}.view{background:white;border:1px solid #d1dfeb;border-top:4px solid #ffbf19;border-radius:10px;padding:20px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.page-heading p{font-size:12px;color:#60768b;margin:0 0 12px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px}.metric{text-align:left;border-top:3px solid #15395e;padding:18px;display:grid;gap:10px}.metric strong{font-size:30px}.metric small{font-size:11px;color:#62768a}.panel{padding:18px;border:1px solid #d5e2ec;border-radius:6px}.next{margin-top:22px;background:#f6f9fc}.next h3{margin:0}.next p{margin-bottom:0;font-size:13px}.tools{display:flex;gap:8px;margin:14px 0}.tools input{max-width:650px}.system-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.system-grid article{padding:15px;border:1px solid #d3dfeb;border-left:3px solid #ffbf19;border-radius:5px}.system-grid small{display:block;margin-top:12px;overflow-wrap:anywhere}.system-grid p{font-size:12px;color:#62768a}table{width:100%;border-collapse:collapse;table-layout:fixed}th{background:#edf4f8;text-transform:uppercase;letter-spacing:.5px;font-size:10px;text-align:left;padding:11px 9px}td{font-size:12px;border-bottom:1px solid #dbe5ee;padding:11px 9px;overflow-wrap:anywhere}td small{display:block;color:#62768a;margin-top:5px}td button{font-size:11px;padding:6px 8px;margin:2px}.pill{font-size:10px;background:#edf3f8;border-radius:4px;padding:4px 6px;display:inline-block}.pill.ok{background:#e4f5ec;color:#176342}.pill.pending{background:#fff2cc;color:#806013}.pill.error{background:#ffe9e7;color:#a62a20}.pager{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:16px;font-size:12px}#message:not(:empty){background:#fff4d7;padding:12px;margin-bottom:12px;border-left:3px solid #ffbf19}dialog{color:#15395e;border:1px solid #c8d9e8;border-top:4px solid #ffbf19;border-radius:10px;width:min(740px,94vw);padding:22px;max-height:calc(100dvh - 30px)}dialog::backdrop{background:#102f4c99}.dialog-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.dialog-heading h2{font-size:20px;margin:0 0 12px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.fields .wide{grid-column:1/-1}.dialog-footer{display:flex;justify-content:flex-end;border-top:1px solid #d7e2ec;padding-top:12px;margin-top:12px}.help{font-size:11px;color:#61758b}#credential-message,#connection-message,#reauth-message,#login-message{font-size:12px;color:#a4352b}#reauth-dialog{width:min(450px,94vw)}#reveal-dialog{width:min(600px,94vw)}footer{font-size:11px;color:#62768a;text-align:center;padding:20px}@media(max-width:750px){header{padding:14px;align-items:start}.brand{gap:12px}.brand img{width:85px}.brand h1{font-size:19px}.brand small{font-size:10px}.identity{flex-direction:column;font-size:10px;align-items:end}.identity button{font-size:11px;padding:7px}main{padding:12px}.view{padding:13px}.cards,.system-grid{grid-template-columns:1fr}.metric{padding:14px}.metric strong{font-size:24px}.fields{grid-template-columns:1fr}.page-heading{align-items:start}h2{font-size:20px}.table-frame table,.table-frame tbody{display:block}.table-frame thead{display:none}.table-frame tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #d6e3ec;border-radius:5px;margin:8px 0;padding:6px}.table-frame td{display:block;border:0;padding:6px}.table-frame td:last-child{grid-column:1/-1}.pager{gap:10px;font-size:11px}dialog{padding:15px}}

.system-tools{flex-wrap:wrap}.system-tools input{flex:2;min-width:180px}.system-tools select{flex:1;min-width:140px;max-width:230px}.system-card-head{display:flex;justify-content:space-between;align-items:start;gap:8px}.system-card-head strong{overflow-wrap:anywhere}.system-grid article{min-width:0}.system-grid article p{overflow-wrap:anywhere;margin:10px 0;min-height:36px}.system-grid article button{margin-top:12px}#system-message{color:#a4352b;font-size:12px}input[readonly]{background:#edf4f8}@media(max-width:750px){.system-tools input,.system-tools select{max-width:100%;flex-basis:100%}.system-grid article p{min-height:0}.page-heading{flex-wrap:wrap}}
