:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#334155;background:#f4f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}[hidden]{display:none!important}.login-screen{min-height:100vh;background:#f3f7fc}.login-top{height:78px;padding:0 7%;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e4ebf3}.logo{width:136px;height:auto}.login-top>span,.nav-label,.side-brand span,.card-kicker,.login-footer,.side-note small{font-size:10px;letter-spacing:.13em;font-weight:700;color:#94a3b8}.login-layout{max-width:1150px;min-height:calc(100vh - 140px);margin:auto;display:grid;grid-template-columns:1fr 430px;align-items:center;gap:100px;padding:55px 24px}.eyebrow{font-size:11px;letter-spacing:.13em;font-weight:750;color:#1e64b7;display:flex;align-items:center;gap:8px}.eyebrow i,.live-dot,.tag i{width:7px;height:7px;border-radius:50%;background:#3e85d1;display:inline-block}.login-intro h1{font-size:56px;letter-spacing:-.055em;line-height:1.12;color:#163b66;margin:20px 0}.login-intro em{font-style:normal;color:#397fca}.login-intro p{max-width:415px;font-size:16px;line-height:1.8;color:#75889e}.login-line{border-top:1px solid #dce7f3;margin-top:60px;padding-top:19px;color:#91a0b1;font-size:10px;letter-spacing:.13em;font-weight:700}.login-line span{color:#1e64b7;margin-right:18px}.login-card{background:white;border:1px solid #e2eaf3;box-shadow:0 20px 70px #315c8a0c;border-radius:16px;padding:38px}.agency{display:flex;gap:10px;margin-bottom:28px}.agency img{height:34px;width:34px;object-fit:contain}.card-kicker{color:#1e64b7}.login-card h2{margin:12px 0 6px;font-size:27px;letter-spacing:-.035em;color:#193d64}.login-card p{margin:0 0 28px;font-size:14px;color:#8291a3}.login-card label{display:block;font-size:12px;font-weight:650;color:#526176;margin-bottom:18px}.login-card input,.search input,select{width:100%;height:46px;border:1px solid #dbe3ed;border-radius:8px;padding:0 14px;background:white;color:#334155;outline:none}.login-card input{margin-top:8px}.login-card input:focus,.search:focus-within,select:focus{border-color:#397cbe;box-shadow:0 0 0 3px #397cbe17}.primary{background:#1e64b7;border:1px solid #1e64b7;color:white;border-radius:8px;padding:12px 16px;font-weight:650}.primary span{float:right}.wide{width:100%;text-align:left}.form-error{font-size:12px;color:#b42318;margin:0 0 12px}.login-help{border-top:1px solid #eef2f6;margin-top:24px;padding-top:20px;color:#9aa9b9;font-size:11px}.login-footer{max-width:1150px;margin:auto;padding:20px 24px;display:flex;justify-content:space-between}.app-shell{min-height:100vh;display:flex}.sidebar{width:236px;flex:none;background:#fff;border-right:1px solid #e6edf4;display:flex;flex-direction:column;min-height:100vh;position:fixed;inset:0 auto 0 0}.side-brand{height:99px;padding:22px 23px;border-bottom:1px solid #edf2f7}.side-brand img{display:block;width:116px;height:auto}.side-brand span{display:block;margin-top:6px;font-size:8px;letter-spacing:.16em}.nav-label{margin:32px 24px 12px}.sidebar nav{padding:0 12px}.nav{width:100%;height:43px;display:flex;align-items:center;gap:12px;border:0;text-align:left;background:transparent;color:#708096;border-radius:8px;padding:0 12px;font-size:13px;font-weight:600}.nav:hover{background:#f4f8fd}.nav.active{background:#eaf3fd;color:#1e64b7}.nav-icon{font-size:19px;width:20px;text-align:center}.side-bottom{margin-top:auto;padding:14px}.side-note{background:#f4f8fd;border:1px solid #e5eef8;border-radius:10px;padding:14px 10px;display:flex;gap:10px;align-items:center}.side-note-icon{font-size:18px;color:#377cca}.side-note strong,.side-note small{display:block}.side-note strong{color:#33557a;font-size:11px}.side-note small{margin-top:4px;font-size:9px;letter-spacing:0}.logout{margin-top:12px;padding:12px;background:none;border:0;color:#73849a;font-size:12px}.workspace{margin-left:236px;min-width:0;width:calc(100% - 236px)}.topbar{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:white;border-bottom:1px solid #e9eef4}.top-crumb{font-size:12px;color:#a0acba}.top-crumb span{font-size:10px;letter-spacing:.1em;font-weight:700}.top-crumb b{padding:0 9px;color:#d6dee8}.top-crumb strong{color:#526b87}.top-right{display:flex;align-items:center;gap:9px;font-size:11px;color:#73869b}.live-dot{background:#31b780}.divider{height:27px;width:1px;background:#e8edf3;margin:0 10px}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#eaf3fd;color:#1e64b7;font-weight:700}.profile strong,.profile small{display:block}.profile strong{color:#344c66;font-size:11px}.profile small{font-size:10px;color:#98a6b6;margin-top:3px}.content{max-width:1510px;margin:auto;padding:39px 40px}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px}.eyebrow.small{font-size:10px}.muted{color:#9aaaba}.page-head h1{font-size:30px;letter-spacing:-.04em;color:#203b59;margin:9px 0 4px}.page-head p,.panel-head p{margin:0;color:#92a0b0;font-size:13px}.secondary,.icon-button{background:#fff;border:1px solid #dde6ef;border-radius:8px;color:#58708a}.secondary{padding:10px 15px;font-size:12px;font-weight:650}.secondary:hover,.icon-button:hover{background:#f4f8fd}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.stat{background:white;border:1px solid #e6edf4;border-radius:12px;padding:19px 19px 17px;min-width:0}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#74869a;font-size:12px;font-weight:600}.stat-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;font-size:17px}.blue{background:#ebf4ff;color:#397fc7}.violet{background:#f0edff;color:#8977cc}.green{background:#e8f8ef;color:#31a36e}.amber{background:#fff5e5;color:#c29137}.stat strong{display:block;font-size:29px;color:#244465;letter-spacing:-.05em;margin:12px 0 3px}.stat small{font-size:11px;color:#9aaabb}.panel{background:white;border:1px solid #e3ebf3;border-radius:13px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:23px 24px 20px}.panel-head h2{margin:6px 0;font-size:17px;letter-spacing:-.02em;color:#294865}.panel-head p{font-size:12px}.tag{color:#6081a1;background:#f3f8fd;border:1px solid #e4edf7;border-radius:20px;padding:6px 10px;font-size:10px;font-weight:650}.tag i{width:6px;height:6px;margin-right:5px;background:#6c9dcc}.toolbar{display:flex;gap:10px;align-items:center;padding:0 24px 18px}.search{display:flex;align-items:center;border:1px solid #dfe7ef;border-radius:8px;width:390px;max-width:100%;overflow:hidden}.search>span{padding-left:13px;color:#9aabba;font-size:19px}.search input{border:0;height:39px;min-width:0;font-size:12px;box-shadow:none!important}.search button{border:0;background:#f1f6fc;color:#346996;font-size:11px;font-weight:650;align-self:stretch;padding:0 13px}.toolbar select{width:180px;height:41px;font-size:12px}.toolbar-spacer{flex:1}.record-count{color:#9aabba;font-size:11px;white-space:nowrap}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}thead{background:#f8fafc}th{padding:13px 24px;color:#90a0b1;font-weight:700;font-size:10px;letter-spacing:.05em;white-space:nowrap}td{padding:16px 24px;border-top:1px solid #f0f3f7;color:#63768a;white-space:nowrap}td strong{color:#344d67;font-weight:650}td small{display:block;color:#a1afbd;margin-top:4px}.pill{display:inline-block;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:700;background:#f0f4f8;color:#71849a}.pill.paid{background:#e7f7ee;color:#248b5b}.pill.pending{background:#fff5df;color:#af822f}.pill.failed{background:#fff0ef;color:#bb5a54}.link-btn{border:0;background:none;color:#3479c2;font-weight:650;font-size:11px;padding:4px}.empty{text-align:center;padding:55px 10px;color:#92a3b4}.empty>div{font-size:30px;color:#b2c9e2}.empty strong{color:#566c82;font-size:13px}.empty p{font-size:12px}.pagination{border-top:1px solid #edf1f5;padding:14px 24px;display:flex;justify-content:space-between;align-items:center;color:#91a0b0;font-size:11px}.icon-button{width:32px;height:32px;font-size:18px}.pagination .icon-button+ .icon-button{margin-left:5px}.footer{display:flex;justify-content:space-between;color:#afbcc9;font-size:9px;letter-spacing:.1em;margin-top:25px}.alert{margin:0 24px 16px;border-radius:7px;background:#fff2f0;color:#ad5148;padding:12px;font-size:12px}dialog{width:min(650px,calc(100% - 32px));max-height:80vh;border:1px solid #dae5f0;border-radius:14px;padding:0;box-shadow:0 18px 80px #1b385733}dialog::backdrop{background:#17365366}.detail-head{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid #edf1f5}.detail-head h2{margin:6px 0 0;color:#294865;font-size:18px}#detail-content{padding:20px 24px;overflow:auto}#detail-content pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#526981;font-size:12px;line-height:1.65;background:#f6f9fc;padding:16px;border-radius:8px}@media(max-width:1050px){.stats{grid-template-columns:repeat(2,1fr)}.content{padding:30px 24px}.profile{display:none}}@media(max-width:720px){.login-layout{grid-template-columns:1fr;gap:24px;padding:40px 18px}.login-intro h1{font-size:38px}.login-intro p{font-size:14px}.login-line{margin-top:25px}.login-card{padding:25px}.sidebar{position:static;min-height:auto;width:100%;border-right:0}.app-shell{display:block}.side-brand{height:auto}.sidebar nav{display:flex;overflow:auto}.nav-label,.side-bottom{display:none}.nav{min-width:max-content}.workspace{margin:0;width:100%}.topbar{height:58px;padding:0 18px}.content{padding:24px 15px}.stats{gap:9px}.stat{padding:13px}.stat strong{font-size:24px}.toolbar{flex-wrap:wrap}.search{width:100%}.toolbar select{width:100%}.record-count{display:none}th,td{padding:13px 16px}.panel-head{padding:19px}.footer{font-size:8px}}

.mobile-only{display:none}@media(max-width:720px){.nav.mobile-only{display:flex}}

/* Keep the action column visible while long references are available in details. */
table{table-layout:fixed;min-width:650px}th,td{padding-left:14px;padding-right:14px;overflow:hidden;text-overflow:ellipsis}th:first-child{width:25%}th:nth-child(2){width:17%}th:nth-child(3){width:19%}th:nth-child(4){width:14%}th:nth-child(5){width:15%}th:last-child{width:10%}td:first-child strong,td:first-child small{display:block;overflow:hidden;text-overflow:ellipsis}.link-btn{white-space:nowrap}

/* Center the agency marks while preserving the CEIR header position. */
.login-card .agency{justify-content:center}

/* Keep the login focused on a single, centered form. */
.login-layout{min-height:100vh;display:flex;justify-content:center;padding:24px}.login-card{width:100%;max-width:430px}.login-logo{display:block;width:136px;max-width:100%;height:auto;margin:0 auto 30px}.login-card h1{margin:0 0 6px;font-size:27px;letter-spacing:-.035em;color:#193d64}

/* Numbered pages stay compact for long lists and small screens. */
.pagination>div,.page-numbers{display:flex;align-items:center;gap:5px}.page-number{font-size:12px;font-weight:650}.page-number.active{background:#1e64b7;border-color:#1e64b7;color:#fff}.page-gap{padding:0 3px;color:#91a0b0}@media(max-width:420px){.pagination{gap:8px;flex-wrap:wrap}.pagination>div{flex-wrap:wrap}}

.audit-details{display:grid;grid-template-columns:minmax(110px, 150px) minmax(0, 1fr);gap:12px 16px;margin:0;font-size:13px;line-height:1.5}.audit-details dt{font-weight:650;color:#344d67}.audit-details dd{margin:0;overflow-wrap:anywhere;color:#63768a}

.date-filter{display:flex;align-items:center;gap:6px;color:#63768a;font-size:11px;white-space:nowrap}.date-filter input{height:40px;border:1px solid #dbe3ed;border-radius:8px;padding:0 8px;color:#334155;background:white}@media(max-width:1200px){.toolbar{flex-wrap:wrap}}
