
#mbn-station{font:14px/1.5 Arial,sans-serif;color:#f1f7ff;background:#071727;border-radius:12px;overflow:hidden;--line:#23425a;--muted:#a8bdd3}#mbn-station *{box-sizing:border-box}#mbn-station button,#mbn-station input{font:inherit}#mbn-station button{background:#102e48;color:#f1f7ff;border:1px solid #345577;border-radius:7px;padding:9px 12px;min-height:42px}#mbn-station button[aria-pressed=true]{background:#205780;border-color:#68caff}#mbn-station button:focus-visible,#mbn-station input:focus-visible{outline:3px solid #68caff;outline-offset:2px}#mbn-station button:disabled{opacity:.4}#mbn-station .chrome{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line);background:#061d35;gap:12px}#mbn-station .brand{font-size:22px;font-weight:700}#mbn-station .brand span{color:#29a6ff}#mbn-station nav{display:flex;flex-wrap:wrap;gap:5px}#mbn-station main{padding:22px}#mbn-station h1{font-size:27px;margin:0}#mbn-station h2{font-size:18px;margin:0 0 12px}#mbn-station h3{font-size:15px;margin:18px 0 8px}#mbn-station .muted{color:var(--muted);font-size:12px}#mbn-station .heading{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:20px}#mbn-station .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}#mbn-station .stat{border:1px solid var(--line);background:#102a43;border-radius:10px;padding:16px}#mbn-station .stat strong{display:block;font-size:24px;margin:8px 0;font-variant-numeric:tabular-nums}#mbn-station .green{color:#56e9b1}#mbn-station .yellow{color:#ffd577}#mbn-station .panels{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;margin:16px 0}#mbn-station .panel{border:1px solid var(--line);background:#091e31;padding:16px;border-radius:10px;min-width:0}#mbn-station .chart{width:100%;height:150px}#mbn-station .chart text{fill:var(--muted);font:11px Arial}#mbn-station .feed{list-style:none;padding:0;margin:0}#mbn-station .feed li{padding:7px 0;border-bottom:1px solid var(--line);font-size:12px}#mbn-station .rail{display:flex;gap:10px;flex-wrap:wrap}#mbn-station .orb{position:relative;display:flex;gap:7px;align-items:center;transition:transform .5s}#mbn-station .avatar{display:grid;place-items:center;border-radius:50%;width:36px;height:36px;background:#123b5c;color:#79c9ff;font-size:12px}#mbn-station .badges{display:flex;gap:12px}#mbn-station .badge{position:relative;display:inline-flex;gap:3px;align-items:center;font-size:12px}#mbn-station .badge b{background:#205780;min-width:20px;height:20px;border-radius:50%;text-align:center;font-size:11px}#mbn-station .toolbar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 0}#mbn-station .tabs{display:flex;flex-wrap:wrap;gap:6px}#mbn-station input{background:#061726;border:1px solid #345577;border-radius:7px;color:#f1f7ff;padding:10px;max-width:100%}#mbn-station .list{border:1px solid var(--line);border-radius:10px;overflow:hidden}#mbn-station .row{display:grid;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(85px,1fr)) minmax(140px,1.4fr);align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}#mbn-station .row:last-child{border:0}#mbn-station .row.paid{background:#10392f}#mbn-station .row.hot{animation:mbn-arrival 1.5s ease-out}#mbn-station .person{display:flex;align-items:center;gap:9px;background:transparent;border:0;text-align:left;padding:0}#mbn-station .person small{display:block;color:var(--muted);font-size:11px}#mbn-station .person .badges{margin-top:5px}#mbn-station .action{display:flex;flex-direction:column;align-items:flex-start;gap:5px}#mbn-station .pagination{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 0}#mbn-station .detail{border:1px solid #68caff;background:#102a43;border-radius:10px;padding:20px;margin:16px 0}#mbn-station .detail[hidden]{display:none}#mbn-station .detailtop{display:flex;justify-content:space-between;gap:15px}#mbn-station .detailsums{display:flex;flex-wrap:wrap;gap:24px;margin:16px 0}#mbn-station .detailsums strong{display:block;font-size:20px}#mbn-station .documents{display:flex;gap:8px;flex-wrap:wrap}#mbn-station .history{max-height:220px;overflow:auto;padding:0;list-style:none}#mbn-station .history li{padding:8px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px}#mbn-station .progress{height:5px;background:#213c52;border-radius:3px;overflow:hidden;margin-top:7px}#mbn-station .progress span{display:block;height:100%;background:#56e9b1;transition:width .8s}#mbn-station .status{color:#8bd5ff;min-height:22px}#mbn-station .mobile-label{display:none}#mbn-station .dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#56e9b1;margin-right:6px}#mbn-station .document{background:#f7f9fc;color:#17283c;padding:20px;margin:15px 0;border-radius:5px}#mbn-station .document h3{margin:0 0 12px}#mbn-station .document p{border-bottom:1px solid #d5dce5;padding-bottom:8px}#mbn-station .print-only{display:none}@keyframes mbn-arrival{from{box-shadow:inset 4px 0 #56e9b1;background:#16485a}to{box-shadow:inset 0 0 transparent}}@media(max-width:740px){#mbn-station main{padding:14px}#mbn-station .stats{grid-template-columns:repeat(2,1fr)}#mbn-station .panels{grid-template-columns:1fr}#mbn-station .row{grid-template-columns:repeat(3,1fr);gap:12px}#mbn-station .person{grid-column:1/3}#mbn-station .action{grid-column:3;grid-row:1}#mbn-station .headrow{display:none}#mbn-station .mobile-label{display:block;color:var(--muted);font-size:11px}#mbn-station .stat strong{font-size:20px}#mbn-station nav button{padding:8px;font-size:12px}#mbn-station .chart{height:140px}}@media(prefers-reduced-motion:reduce){#mbn-station *{animation:none!important;transition:none!important}}@media print{#mbn-station .chrome,#mbn-station main>*:not(.detail),#mbn-station .detail button{display:none!important}#mbn-station,#mbn-station .detail{background:white;color:black;border:0}#mbn-station .detail{display:block!important}#mbn-station .history{max-height:none;overflow:visible}}

#mbn-station{border-radius:0}#mbn-station .mbnd-live-checklist{display:flex;justify-content:flex-end;padding:12px 22px 0}.mbn-dashboard:has(#mbn-station){padding:0;background:none}


/* Keep the existing activity control reachable throughout the case list. */
#mbn-station .activity-control-anchor{display:inline-flex;max-width:100%}
#mbn-station #mbn-run{max-width:calc(100vw - 28px)}
#mbn-station #mbn-run.activity-floating{position:fixed;top:var(--activity-top);right:var(--activity-right);z-index:90;box-shadow:0 4px 18px #0008}
#mbn-station button.stat{padding:16px;text-align:start;border-color:var(--line);background:#102a43}
#mbn-station #mbn-cases,#mbn-station #mbn-detail{scroll-margin-top:var(--activity-scroll-offset,150px)}

/* Dashboard views keep the four summary controls in the same position. */
#mbn-station [hidden]{display:none!important}
#mbn-station #mbn-view-content{margin-top:22px;scroll-margin-top:var(--activity-scroll-offset,150px)}
#mbn-station #mbn-reports{grid-template-columns:1fr}
#mbn-station[data-view="overview"] #mbn-reports{grid-template-columns:1.4fr 1fr}
#mbn-station #mbn-cases:has(>#mbn-sort-label[hidden]){display:none}
/* The payment panel sets the shared row height; the complete ad scales inside it. */
@media(min-width:741px){
 #mbn-station[data-view="overview"] #mbn-dashboard-ad{contain:size;height:100%;min-height:0;align-self:stretch;display:flex;flex-direction:column}
 #mbn-station[data-view="overview"] #mbn-dashboard-ad .mbn-ad-image{flex:1;min-height:0;display:flex;align-items:center;justify-content:center}
 #mbn-station[data-view="overview"] #mbn-dashboard-ad .mbn-ad-image img{width:100%;height:100%;min-height:0;aspect-ratio:auto;object-fit:contain}
}
#mbn-station .view-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#mbn-station .view-heading h2{margin:0}
#mbn-station .view-heading:has(h2[hidden]){display:none}
#mbn-station .case-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%}
#mbn-station .case-tools label{min-width:0}
@media(max-width:740px){#mbn-station[data-view="overview"] #mbn-reports{grid-template-columns:1fr}}
#mbn-station button.stat[aria-pressed=true]{border-color:#68caff;box-shadow:inset 0 -3px #68caff}
#mbn-station .finance-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
#mbn-station .finance-summary strong{display:block;font-size:21px;font-variant-numeric:tabular-nums;margin-top:6px;overflow-wrap:anywhere}
#mbn-station .finance-charts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
#mbn-station .funding-charts{grid-template-columns:repeat(2,minmax(0,1fr))}
#mbn-station .finance-charts h3{margin-top:0}
#mbn-station .finance-donut>svg{display:block;width:100%;max-width:190px;height:190px;margin:auto}
#mbn-station .finance-legend{list-style:none;padding:0;margin:12px 0 0}
#mbn-station .finance-legend li{display:flex;flex-wrap:wrap;gap:6px;justify-content:space-between;border-top:1px solid var(--line);padding:9px 0;font-size:12px}
#mbn-station .finance-legend strong{font-weight:normal}
#mbn-station .finance-bars{display:grid;gap:15px}
#mbn-station .finance-bar>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:12px;margin-bottom:5px}
#mbn-station .finance-bar>svg{width:100%;height:12px;display:block}
#mbn-station .receipt-panel{margin-bottom:16px}
#mbn-station .receipt-scroll{overflow-x:auto}
#mbn-station .receipt-table{border-collapse:collapse;width:100%;font-size:13px}
#mbn-station .receipt-table th,#mbn-station .receipt-table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:start;font-variant-numeric:tabular-nums}
#mbn-station .receipt-table th{color:var(--muted);font-weight:normal;white-space:nowrap}
#mbn-station .receipt-table td:first-child,#mbn-station .receipt-table td:last-child{white-space:nowrap}
#mbn-station .receipt-table button{text-align:start;min-width:140px}
#mbn-station .receipt-table small{display:block;color:var(--muted)}
#mbn-station .waiting{display:block;color:#ffd577;margin-top:5px}
#mbn-station select{font:inherit;color:#f1f7ff;background:#061726;border:1px solid #345577;border-radius:7px;padding:10px;max-width:100%}
#mbn-station select:focus-visible{outline:3px solid #68caff;outline-offset:2px}
#mbn-station .toolbar label{max-width:100%}
#mbn-station .list>.detail{margin:0;border-radius:0}
#mbn-station .empty-view{padding:16px}
@media(max-width:1000px){#mbn-station .finance-charts{grid-template-columns:repeat(2,minmax(0,1fr))}#mbn-station .finance-charts>section:last-child:nth-child(3){grid-column:1/-1}}
@media(max-width:740px){#mbn-station .finance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}#mbn-station .finance-charts{grid-template-columns:minmax(0,1fr)}#mbn-station .finance-summary strong{font-size:18px}#mbn-station .finance-donut{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,1.2fr);gap:12px;align-items:center}#mbn-station .finance-donut>svg{height:auto}#mbn-station .finance-legend{margin:0}#mbn-station .stats>.stat{min-width:0;overflow-wrap:anywhere}#mbn-station .toolbar label{display:flex;flex-wrap:wrap;gap:8px;align-items:center}}


/* The document library is scoped to the bondsman Documents view. */
#mbn-station #mbn-document-results{display:grid;gap:8px}
#mbn-station #mbn-document-results button{text-align:start;overflow-wrap:anywhere}
#mbn-station #mbn-document-library .toolbar>div{display:flex;flex-wrap:wrap;gap:6px}
#mbn-station #mbn-library-preview{margin-top:16px;scroll-margin-top:var(--activity-scroll-offset,150px)}


/* Keep capacity beneath the case list, centered between its footer controls. */
#mbn-station .pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
#mbn-station #mbn-active-count{margin:0;text-align:center}
#mbn-station #mbn-view-all{justify-self:end}
#mbn-station #mbn-status{display:block;width:auto;height:auto;border-radius:0;background:transparent;padding:0}
#mbn-station #mbn-status:empty{display:none}
@media(max-width:480px){#mbn-station .pagination{grid-template-columns:1fr 1fr}#mbn-station #mbn-active-count{grid-column:1/-1;grid-row:2}#mbn-station #mbn-view-all{grid-column:2;grid-row:1}}

/* Expand client intake in the document flow above the changing case rows. */
.mbn-bondsman-workspace:has(#mbn-new-client){overflow-anchor:none}
#mbn-station .mbn-new-client{margin-top:12px}
#mbn-station .mbn-new-client>.profile-review-content{padding:0;background:transparent;border:0}
#mbn-station .mbn-new-client .form-grid{gap:0 16px}
#mbn-station .mbn-new-client label{margin:13px 0 5px}
#mbn-station .mbn-new-client input{width:100%}
#mbn-station .mbn-new-client .actions{margin-top:22px}
#mbn-station .mbn-new-client .button{background:linear-gradient(135deg,var(--blue),var(--blue-2));font-weight:750}
#mbn-station .mbn-new-client .button.secondary{background:#102943}
#mbn-station [data-add-customer][aria-expanded=true]{border-color:#68caff}
