:root{--navy:#071d35;--navy2:#0d2d4e;--gold:#c9a45c;--bg:#f4f6f8;--text:#17212b;--muted:#6b7785;--line:#e2e7ec}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}
.shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}aside{background:var(--navy);color:#fff;padding:28px 20px;display:flex;flex-direction:column}
.brand{display:flex;gap:12px;align-items:center;font-weight:700;letter-spacing:.08em}.brand>span,.login-logo{width:42px;height:42px;border:2px solid var(--gold);color:var(--gold);display:grid;place-items:center;font-family:Georgia;font-size:27px}.brand small{display:block;font-size:8px;color:#aeb9c5;margin-top:4px}
nav{margin-top:45px}nav a{display:block;color:#cbd5df;text-decoration:none;padding:12px 14px;border-radius:7px;margin:5px 0}nav a:hover{background:var(--navy2);color:#fff}.user{margin-top:auto;border-top:1px solid #29415a;padding-top:18px}.user small{display:block;color:#93a4b5;margin:5px 0 12px}.logout{color:#cbd5df;font-size:13px}
main{padding:42px 48px}.login-main{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#06192e,#0d3154);padding:20px}
.login-card{background:white;width:min(430px,100%);padding:42px;border-radius:14px;box-shadow:0 24px 60px #0005}.login-logo{margin:auto}.login-card h1{text-align:center;margin:22px 0 5px}.login-card>p{text-align:center;color:var(--muted);margin-bottom:30px}
h1{font-size:30px;margin:3px 0 7px}h2{margin-top:0}.eyebrow{color:#a57d35;font-size:11px;font-weight:800;letter-spacing:.16em;margin:0}header p{color:var(--muted)}header.row{display:flex;justify-content:space-between;align-items:center}
.cards{display:grid;grid-template-columns:repeat(2,minmax(220px,360px));gap:18px;margin:30px 0}.card,.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:24px;box-shadow:0 2px 7px #16283a0b}.card span,.card small{display:block;color:var(--muted)}.card strong{font-size:29px;display:block;margin:10px 0}
.panel{margin-top:25px}.primary,button{background:var(--navy);color:white;border:0;border-radius:6px;padding:11px 17px;text-decoration:none;font-weight:650;cursor:pointer;display:inline-block}.primary:hover,button:hover{background:var(--navy2)}
label{display:block;font-weight:650;margin:0 0 20px}input{width:100%;padding:12px 13px;border:1px solid #cbd3dc;border-radius:6px;margin-top:7px;font:inherit}label small{display:block;color:var(--muted);font-weight:400;margin-top:6px}.form-panel{max-width:650px}.actions{display:flex;justify-content:flex-end;gap:10px}.secondary{background:#fff!important;color:var(--text)!important;border:1px solid #ccd4dc!important}.linkbtn{padding:10px 16px;border-radius:6px;text-decoration:none}
table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:15px 12px;border-bottom:1px solid var(--line)}th{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.pill{font-size:12px;font-weight:700;padding:5px 9px;border-radius:20px}.pill.on{background:#e8f6ee;color:#19723d}.pill.off{background:#f2f2f2;color:#777}
.flash{max-width:700px;padding:12px 15px;border-radius:7px;margin-bottom:18px}.flash.error{background:#ffecec;color:#9a2525}.flash.success{background:#eaf7ef;color:#236a40}
@media(max-width:800px){.shell{grid-template-columns:1fr}aside{display:none}main{padding:25px}.cards{grid-template-columns:1fr}header.row{align-items:flex-start;gap:20px;flex-direction:column}}

select{width:100%;padding:12px 13px;border:1px solid #cbd3dc;border-radius:6px;margin-top:7px;background:white;font:inherit}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.permissions{background:#f6f8fa;border:1px solid var(--line);padding:18px;border-radius:8px;margin:25px 0}.permissions h3{margin:0}.permissions p{color:var(--muted)}.permissions label{font-weight:500;margin:11px 0}.permissions input{width:auto;margin:0 8px 0 0}.access{font-size:12px;color:var(--muted)}@media(max-width:700px){.grid2{grid-template-columns:1fr}}


/* User access screen upgrade */
.form-panel.wide{max-width:820px}.section{border-bottom:1px solid var(--line);padding:4px 0 22px;margin-bottom:24px}.section:last-of-type{border-bottom:0}.section h3{margin:0 0 6px}.section>p,.role-help{color:var(--muted);margin:5px 0 17px}.role-help{background:#f6f8fa;border-left:3px solid var(--gold);padding:12px 14px;border-radius:4px}.hidden{display:none}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px 18px}.permission{display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:7px;padding:11px 12px;margin:0;font-weight:500}.permission input{width:auto;margin:0 9px 0 0}.permission span{line-height:1.2}@media(max-width:700px){.permission-grid{grid-template-columns:1fr}}



.coverage-tabs{display:flex;gap:8px;margin:24px 0}.tab{background:#fff;color:var(--text);border:1px solid var(--line)}.tab.active{background:var(--navy);color:#fff}.inline-form{display:grid;grid-template-columns:180px 1fr auto;gap:12px;align-items:end}.inline-form input{margin:0}.table-tools{display:flex;justify-content:flex-end;margin-bottom:12px}.searchbox{max-width:340px}.steps{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:30px}.steps span{width:56px;height:56px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-weight:700}.steps span.active{background:var(--navy);color:white}.steps span small{font-size:9px;font-weight:500}.steps i{width:80px;height:1px;background:var(--line)}.choice-row{display:flex;gap:28px}.choice-row label{font-weight:500}.choice-row input{width:auto;margin-right:7px}.upload-box{margin-top:18px;border:2px dashed #ccd4dc;border-radius:10px;padding:45px;text-align:center;color:var(--muted)}.upload-box strong{color:var(--navy)}.upload-box small{display:block;margin-top:8px}


.review-wrap{max-width:1200px}.sticky-head{position:sticky;top:var(--topbar,0px);background:var(--bg);z-index:5;padding-bottom:14px}.save-status{background:#e8f7ef;color:#16794b;border-radius:20px;padding:9px 14px;font-weight:700;font-size:13px}.save-status.saving{background:#fff4d8;color:#8a6500}.review-section{margin-bottom:18px}.section-title{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:20px}.section-title h2{margin:0 0 4px}.section-title p{margin:0;color:var(--muted)}.status-chip{background:#e8f7ef;color:#16794b;border-radius:20px;padding:6px 10px;font-size:12px;font-weight:700}.status-chip.warn{background:#fff4d8;color:#8a6500}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.missing input{border-color:#d99a00;background:#fffdf5}.missing small{color:#a76e00}.policy-total{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:18px;font-size:16px}.submit-panel{display:flex;align-items:center;justify-content:space-between}.submit-panel p{margin:4px 0 0;color:var(--muted)}button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:900px){.grid3{grid-template-columns:1fr 1fr}}@media(max-width:650px){.grid3{grid-template-columns:1fr}}



.table-link{color:var(--navy);text-decoration:none}.table-link:hover{text-decoration:underline}
.brand img{width:205px;height:auto;display:block}.brand{display:block}.login-logo-img{display:block;width:300px;max-width:100%;height:auto;margin:0 auto 18px}
/* Agent ACH page — polished payout layout */
.agent-ach-page{max-width:1500px}
.agent-ach-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px}
.agent-ach-header>div:first-child{flex:1}
.agent-ach-header h1{margin:3px 0 7px}
.agent-ach-header p:not(.eyebrow){margin:0;color:var(--muted)}
.agent-ach-page .batch-total{flex:0 0 auto;background:#202020;border:1px solid #3b3b3b;border-radius:8px;padding:11px 17px;text-align:center;min-width:108px;box-sizing:border-box}
.agent-ach-page .batch-total span{display:block;color:#aaa;font-size:11px;font-weight:700;letter-spacing:.03em}
.agent-ach-page .batch-total strong{display:block;color:#eee;font-size:21px;margin-top:3px}
.agent-ach-card{background:#202020;border:1px solid #353535;border-radius:12px;overflow-x:auto;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.agent-ach-table{min-width:1240px}
.agent-ach-row{display:grid;grid-template-columns:1.05fr .78fr 1.32fr 1.22fr 1.32fr;gap:18px;padding:18px 18px;border-bottom:1px solid #363636;align-items:start;box-sizing:border-box;color:#e8e8e8}
.agent-ach-row:last-child{border-bottom:0}
.agent-ach-head{background:#252525;color:#c9c9c9;font-weight:700;font-size:13px;padding-top:14px;padding-bottom:14px}
.agent-ach-row>div{min-width:0}
.agent-ach-page .agent-cell strong{display:block;color:#eee;font-size:15px;line-height:1.35}
.agent-ach-page .agent-cell span,.agent-ach-page .field-help{display:block;color:#aaa;font-size:11px;line-height:1.35;margin-top:5px}
.agent-ach-page .money-input{display:flex;align-items:center;height:49px;margin:0;background:#242424;border:1px solid #444;border-radius:8px;padding:0 11px;box-sizing:border-box}
.agent-ach-page .money-input span{color:#aaa;font-size:15px;margin:0}
.agent-ach-page .money-input input{flex:1;width:auto;height:45px;margin:0!important;padding:0 0 0 8px!important;background:transparent!important;border:0!important;border-radius:0!important;color:#eee!important;box-sizing:border-box}
.agent-ach-page .agent-ach-row input[type=email],
.agent-ach-page .agent-ach-row select{width:100%;height:49px;margin:0;padding:0 12px;background:#242424;color:#eee;border:1px solid #444;border-radius:8px;box-sizing:border-box}
.agent-ach-page .agent-ach-row select{font:inherit;font-size:13px}
.agent-ach-page .attachment-box{min-height:78px;margin:0;border:2px dashed #444;border-radius:8px;background:#222;display:flex;flex-direction:column;justify-content:center;padding:10px 13px;box-sizing:border-box;cursor:pointer}
.agent-ach-page .attachment-box input{display:none}
.agent-ach-page .attachment-box strong{display:block;color:#ddd;font-size:13px;line-height:1.35}
.agent-ach-page .attachment-box span{display:block;color:#999;font-size:11px;margin-top:5px}
.agent-ach-page .agent-ach-empty{grid-column:1/-1;text-align:center;padding:70px 20px}
.agent-ach-page .agent-ach-empty h3{margin:0 0 6px;color:#eee}
.agent-ach-page .agent-ach-empty p{margin:0;color:#999}
.agent-ach-page .agent-ach-footer{display:flex;justify-content:space-between;align-items:center;padding:20px 0;color:#777}
.agent-ach-page .agent-ach-footer .payments-primary{padding:13px 20px}
@media(max-width:900px){
 .agent-ach-header{flex-direction:column}
 .agent-ach-page .batch-total{align-self:flex-start}
}

.brand-logo{display:block;width:100%;max-width:205px;height:auto;margin:0 auto 10px;background:#fff;padding:8px;border-radius:4px;box-sizing:border-box}.login-brand-logo{display:block;width:100%;max-width:330px;height:auto;margin:0 auto 18px}
.agent-ach-page .agent-ach-head{align-items:center}.agent-ach-page .agent-ach-row:not(.agent-ach-head) .agent-cell{padding-top:6px}
.agent-ach-page .agent-ach-row input[type=email],.agent-ach-page .agent-ach-row select,.agent-ach-page .money-input input,.agent-ach-page .money-input span{font-size:14px!important}.agent-ach-page .money-input input{font-weight:600}
/* ===== Account Status ===== */
.as-page{--as-blue:#0b4fd6;--as-blue-d:#0a43b8;--as-ink:#14284b;--as-muted:#5d6b82;--as-line:#dfe6f1;--as-green:#2fa84f;--as-red:#e5202e;--as-orange:#f39c12;--as-purple:#8e2bd1;--as-slate:#6b7489;--as-gold:#f2a516;max-width:1600px;color:var(--as-ink)}
.as-page svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.as-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}
.as-title{display:flex;gap:14px;align-items:flex-start}
.as-title-icon{width:34px;height:34px;color:var(--as-ink);stroke-width:2.4!important;margin-top:4px;flex:0 0 34px}
.as-title h1{margin:0;font-size:30px;color:var(--as-ink);letter-spacing:-.01em}
.as-title p{margin:4px 0 0;color:#3b4a64;font-size:15px}
.as-actions{display:flex;gap:14px;flex-wrap:wrap}
.as-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 22px;border-radius:6px;font:inherit;font-size:16px;font-weight:600;cursor:pointer;text-decoration:none;box-sizing:border-box;white-space:nowrap;margin:0;width:auto}
.as-btn svg{width:19px;height:19px}
.as-btn .as-caret{width:16px;height:16px;margin-left:2px}
.as-btn-outline{background:#fff;border:1px solid #cfd8e6;color:var(--as-ink)}
.as-btn-outline:hover{background:#f5f8fc}
.as-btn-primary{background:var(--as-blue);border:1px solid var(--as-blue);color:#fff}
.as-btn-primary:hover{background:var(--as-blue-d)}
.as-btn-light{background:#fff;border:1px solid #cfd8e6;color:var(--as-ink);height:40px;padding:0 18px;font-size:14px}
.as-btn-sm{height:40px;padding:0 18px;font-size:14px}
.as-btn-sm svg{width:16px;height:16px}
.as-filters{background:#f3f7fd;border:1px solid var(--as-line);border-radius:8px;padding:16px 16px 14px;margin-bottom:14px}
.as-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 26px}
.as-f{display:flex;align-items:center;gap:10px;margin:0;font-size:14px;font-weight:500;color:var(--as-ink);white-space:nowrap}
.as-filter-grid .as-f{display:grid;grid-template-columns:84px 1fr}
.as-f input,.as-f select{flex:1;min-width:0;width:100%;height:34px;margin:0;padding:0 12px;border:1px solid #d5ddea;border-radius:4px;background:#fff;color:var(--as-ink);font:inherit;font-size:13px;font-weight:400;box-sizing:border-box}
.as-f input::placeholder{color:#8a96a8}
.as-f input:focus,.as-f select:focus{outline:2px solid #b9cdf6;border-color:var(--as-blue)}
.as-filter-bottom{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 14px;margin-top:10px}
.as-f-date input{width:170px;flex:0 0 170px}
.as-check{display:inline-flex;align-items:center;gap:8px;margin:0 6px 0 4px;font-size:14px;color:var(--as-ink);white-space:nowrap}
.as-check input{width:17px;height:17px;margin:0;accent-color:var(--as-blue)}
.as-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin-bottom:14px}
.as-stat{display:flex;justify-content:space-between;align-items:stretch;gap:8px;padding:12px 18px 12px 22px;border-radius:6px;border:1px solid var(--as-line);background:#fff;min-height:82px;box-sizing:border-box}
.as-stat strong{display:block;font-size:30px;line-height:1.1;font-weight:700;letter-spacing:-.01em}
.as-stat span{display:flex;align-items:center;gap:6px;margin-top:5px;font-size:16px;font-weight:600;white-space:nowrap}
.as-stat-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;padding:6px 0 2px}
.as-stat-side em{font-style:normal;font-size:14px;color:var(--as-muted)}
.as-stat-total{background:linear-gradient(135deg,#f3f7fe,#e8f0fc);color:var(--as-ink)}
.as-stat-total span{color:var(--as-ink)}
.as-stat-doc{width:32px;height:32px;border-radius:50%;background:#dbe6fb;display:grid;place-items:center;margin-top:6px;color:#3a6fd8}
.as-stat-doc svg{width:18px;height:18px;stroke-width:1.8!important}
.as-dot{display:inline-block;width:11px;height:11px;border-radius:50%;background:currentColor;flex:0 0 11px}
.as-dot-lg{width:16px;height:16px}
.as-green{background:linear-gradient(135deg,#f4fbf5,#e9f6ec);color:var(--as-green)}.as-green strong{color:#1f8b3d}
.as-red{background:linear-gradient(135deg,#fff5f5,#fdeaea);color:var(--as-red)}
.as-orange{background:linear-gradient(135deg,#fffaf1,#fdf1de);color:var(--as-orange)}.as-orange strong{color:#e8930a}
.as-purple{background:linear-gradient(135deg,#faf5fe,#f1e6fb);color:var(--as-purple)}
.as-slate{background:linear-gradient(135deg,#f7f8fb,#eef0f5);color:var(--as-slate)}
.as-stat:not(.as-stat-total) span{color:var(--as-ink)}
.as-stat:not(.as-stat-total) span .as-dot{color:inherit}
.as-green span .as-dot{background:var(--as-green)}.as-red span .as-dot{background:var(--as-red)}.as-orange span .as-dot{background:var(--as-orange)}.as-purple span .as-dot{background:var(--as-purple)}.as-slate span .as-dot{background:var(--as-slate)}
.as-red span,.as-red strong{color:#d0141f}
.as-table-wrap{background:#fff;border:1px solid var(--as-line);border-radius:6px;overflow-x:auto}
.as-table{width:100%;min-width:1280px;border-collapse:collapse;font-size:14px}
.as-table thead th{background:var(--as-blue);color:#fff;font-weight:600;text-align:left;padding:11px 14px;white-space:nowrap;border:0}
.as-table th[data-sort]::after{content:"⇕";font-size:12px;opacity:.8;margin-left:7px}
.as-table td{padding:7px 14px;border-top:1px solid #e9eef5;white-space:nowrap;color:#26385a}
.as-table tbody tr:hover td{background:#f7faff}
.as-c{text-align:center!important}
.as-status{display:inline-flex;align-items:center;gap:9px;font-weight:500}
.as-s-current{color:var(--as-green)}.as-s-past-due{color:var(--as-red)}.as-s-paid-in-full{color:var(--as-orange)}.as-s-closed{color:var(--as-purple)}.as-s-cancelled{color:var(--as-slate)}
.as-status .as-dot{width:14px;height:14px;flex-basis:14px}
.as-star{width:20px;height:20px;fill:var(--as-gold)!important;stroke:none!important;vertical-align:middle}
.as-star-head{fill:#fff!important}
.as-link{color:var(--as-blue);text-decoration:none}
.as-link:hover{text-decoration:underline}
.as-name{max-width:170px;overflow:hidden;text-overflow:ellipsis}
.as-bill{display:inline-flex;align-items:center;gap:10px;color:var(--as-blue)}
.as-bill svg{width:20px;height:20px;stroke-width:1.7!important;color:#2c4f8f}
.as-b-coupons,.as-b-coupons svg{color:#e6970f}
.as-b-coupons svg{fill:#f4b23c!important;stroke:#e6970f!important}
.as-table td.as-pastdue{color:var(--as-red);font-weight:500}
.as-more{width:36px;height:22px;margin:0;padding:0;border:1px solid #d5ddea;border-radius:4px;background:#fff;color:var(--as-ink);font-size:11px;letter-spacing:1px;cursor:pointer;line-height:1}
.as-more:hover{background:#eef3fb}
.as-empty-row td{padding:0;background:#fff!important}
.as-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:70px 20px;text-align:center}
.as-empty-icon{width:56px;height:56px;border-radius:50%;background:#e8f0fc;color:#3a6fd8;display:grid;place-items:center;margin-bottom:8px}
.as-empty-icon svg{width:26px;height:26px;stroke-width:1.7!important}
.as-empty strong{font-size:17px;color:var(--as-ink)}
.as-empty span{color:var(--as-muted);font-size:14px}
.as-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:22px 0 16px}
.as-showing{font-size:17px;color:var(--as-ink)}
.as-pager{display:flex;align-items:center;gap:9px;font-size:16px}
.as-pager>span{margin-right:6px}
.as-pagesize{width:84px;height:36px;margin:0 10px 0 0;padding:0 10px;border:1px solid #9fb6e0;border-radius:4px;background:#fff;color:var(--as-ink);font:inherit;font-size:15px}
.as-pg{width:36px;height:36px;margin:0;padding:0;border:1px solid var(--as-line);border-radius:4px;background:#fff;color:var(--as-ink);font:inherit;font-size:15px;cursor:pointer}
.as-pg:disabled{color:#a6b1c2;cursor:default}
.as-pg-on{background:var(--as-blue);border-color:var(--as-blue);color:#fff}
.as-legend{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 14px;border:1px solid var(--as-line);border-radius:4px;background:#f3f7fd;font-size:14px}
.as-legend strong{font-weight:600;color:var(--as-ink)}
.as-legend span{color:var(--as-muted);font-size:12.5px}
@media(max-width:1400px){.as-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.as-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.as-header{flex-direction:column}.as-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.as-filter-grid{grid-template-columns:1fr}.as-filter-bottom{justify-content:flex-start}}
.as-table thead th{text-transform:none!important;letter-spacing:0!important;font-size:14px;padding:11px 10px}
.as-table td{padding:7px 10px}
.as-table{min-width:1180px}
.as-name{max-width:150px}
.as-dot-lg{flex:0 0 16px!important;width:16px;height:16px}
.as-filter-bottom{grid-column:2/-1;margin-top:0}
@media(max-width:1400px){.as-filter-bottom{grid-column:1/-1}}
.as-filter-grid .as-f.as-f-date{display:flex;grid-template-columns:none}.as-f-date input{width:160px;flex:0 0 160px}
/* ===== Agency add/edit: full-width two-column form ===== */
.form-panel.agency-form-panel{max-width:none}
.agency-form-panel form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;align-items:start}
.agency-form-panel form>label{margin:0 0 20px}
.agency-form-panel form>.city-state-row{margin-bottom:20px}
.agency-form-panel form>.city-state-row label{margin:0}
.agency-form-panel form>.banking-section,.agency-form-panel form>.agency-card,.agency-form-panel form>.actions{grid-column:1/-1}
.agency-form-panel .banking-section-content:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;align-items:start;margin-top:10px}
.agency-form-panel .banking-section-content>p{grid-column:1/-1;margin:0 0 14px}
.agency-form-panel .banking-section-content>label{margin:0 0 20px}
.agency-form-panel .program-config-body .program-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.agency-form-panel form>.actions{margin-top:24px}
@media(max-width:900px){.agency-form-panel form,.agency-form-panel .banking-section-content:not([hidden]),.agency-form-panel .program-config-body .program-grid{grid-template-columns:1fr}}
.agency-form-panel .fee-group-label{max-width:calc(50% - 14px)}@media(max-width:900px){.agency-form-panel .fee-group-label{max-width:none}}
.nav-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:8px;border-radius:999px;background:#e5202e;color:#fff;font-size:12px;font-weight:700;line-height:1;vertical-align:1px;box-sizing:border-box}
.nav-badge[hidden]{display:none}
.pm-new{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:#e5202e;color:#fff;font-size:11px;font-weight:700;letter-spacing:.02em;vertical-align:1px}
.test-bar{background:#fff1d6;color:#5c4300;border-bottom:1px solid #f1d59a;text-align:center;font-size:13.5px;padding:6px 12px;position:sticky;top:0;z-index:900}
.nodb-bar{background:#b4202b;color:#fff;text-align:center;font-size:14px;padding:9px 14px;line-height:1.4}
.user .profile-link{display:block;margin-bottom:8px}
/* a notice bar above the page (test site, warnings) must not push the bottom of the menu off the screen */
body{min-height:100vh;display:flex;flex-direction:column}
body>.shell,body>main.login-main{flex:1 0 auto;min-height:0}
