.dash-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.dash-heading h1{margin:8px 0}.dash-heading p,#dash-state{color:#657b90}.dash-panel{background:white;border:1px solid #d8e3ed;border-radius:16px;padding:24px;margin-bottom:20px;min-width:0}.dash-panel h2{font-size:19px;margin:0 0 18px;color:#152d43}.dash-panel p{color:#62788c;font-size:13px;line-height:1.65}.dash-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.dash-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dash-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;border:0;border-radius:12px;padding:22px;color:white;background:#2474d9;text-align:left;cursor:pointer}.dash-card strong{font-size:30px}.dash-total{background:#7556bc}.dash-online{background:#138767}.dash-expired{background:#a9670d}.dash-suspended,.dash-disconnected{background:#b54848}.dash-hold{background:#237e8e}.dash-card:hover{filter:brightness(.94)}.dash-link{background:none;border:0;color:#1768c4;text-align:inherit;cursor:pointer;font:inherit;padding:0;text-decoration:underline;text-underline-offset:3px}.dash-panel h2 .dash-link{text-decoration:none}.dash-link:hover{text-decoration:underline}.dash-link:focus-visible,.dash-card:focus-visible,.dash-chart button:focus-visible{outline:3px solid #ffbf47;outline-offset:4px}.dash-amount{font-size:30px}.dash-rows{margin:0}.dash-rows>div{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #e5ecf2}.dash-rows dt{color:#526b80}.dash-rows dd{margin:0;font-weight:700}.dash-chart{height:180px;display:flex;align-items:stretch;gap:6px;margin-top:24px;border-bottom:1px solid #cad9e7;padding-bottom:24px}.dash-chart>button{position:relative;flex:1;display:flex;align-items:flex-end;justify-content:center;padding:0;border:0;background:#f2f6fb;cursor:pointer;min-width:0}.dash-bar{display:block;background:#2b7bd6;width:100%;border-radius:3px 3px 0 0}.dash-chart button:hover .dash-bar{background:#124d94}.dash-chart small{position:absolute;bottom:-20px;font-size:10px;color:#62788c}.dash-chart-range{display:flex;justify-content:space-between;font-size:11px;margin-top:9px;color:#62788c}#dash-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0}#dash-filter label{display:flex;flex-direction:column;gap:7px;color:#526b80}#dash-filter input{border:1px solid #cad9e7;border-radius:8px;padding:10px;max-width:220px}.dash-table-wrap{overflow:auto}.dash-table{width:100%;border-collapse:collapse;table-layout:auto}.dash-table th,.dash-table td{text-align:left;padding:14px;border-bottom:1px solid #e1e9f0;vertical-align:top}.dash-table th{background:#f2f6fa;color:#526b80}.dash-table td{font-size:13px;overflow-wrap:anywhere}.dash-pagination{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:20px}@media(max-width:1000px){.dash-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-two{grid-template-columns:1fr;gap:0}.dash-panel{padding:18px}.dash-card strong{font-size:25px}}

.dash-customer-table{min-width:2300px}.dash-customer-table th,.dash-customer-table td{white-space:nowrap;overflow-wrap:normal}.dash-customer-table td[data-dash-column="franchise_name"],.dash-customer-table td[data-dash-column="full_name"]{white-space:normal;min-width:180px;max-width:300px}.dash-customer-online{color:#08783d;font-weight:600}.dash-customer-offline{color:#b4233b;font-weight:600}.dash-customer-date-note{font-size:12px}.dash-table-wrap:focus-visible{outline:3px solid #8278ed;outline-offset:3px}

.dash-customer-table-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.dash-customer-table-tools>button{min-height:32px;font-size:12px}.dash-customer-table th{position:relative}.dash-customer-table .dash-column-handle{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:28px!important;padding:2px 0!important;border:0!important;border-radius:0;background:transparent!important;color:inherit!important;box-shadow:none!important;font:inherit;letter-spacing:inherit;text-transform:inherit;text-align:left;white-space:nowrap;cursor:grab;touch-action:none;user-select:none}.dash-column-grip{opacity:.7;font-size:17px}.dash-customer-table .dash-column-handle:focus-visible{outline:2px solid #c9c3ff;outline-offset:4px}.dash-customer-table.dash-column-dragging .dash-column-handle{cursor:grabbing}.dash-customer-table th.dash-column-source{opacity:.55}.dash-customer-table th.dash-column-drop-before::before,.dash-customer-table th.dash-column-drop-after::after{content:'';position:absolute;top:0;bottom:0;width:4px;background:#b3a8ff;pointer-events:none}.dash-customer-table th.dash-column-drop-before::before{left:0}.dash-customer-table th.dash-column-drop-after::after{right:0}

/* Match the workspace theme while keeping forecast counts readable on phones. */
body.portal-shell #dashboard-page #dash-live-status{grid-template-columns:repeat(7,minmax(0,1fr))}
.dash-forecast-wrap{max-width:100%;overflow-x:auto}.dash-forecast-table{width:100%;border-collapse:collapse;table-layout:fixed}.dash-forecast-table th,.dash-forecast-table td{padding:12px 8px;border-bottom:1px solid #d8e3ed;white-space:normal;overflow-wrap:normal}.dash-forecast-table thead th{font-size:12px;color:#526b80;text-align:right}.dash-forecast-table th:first-child{text-align:left}.dash-forecast-table td{text-align:right;font-weight:700}.dash-forecast-table tbody th{font-size:13px;font-weight:600;color:#526b80}.dash-forecast-table .dash-link{min-height:32px;display:inline-flex;align-items:center;justify-content:flex-end}
@media(max-width:1300px){body.portal-shell #dashboard-page #dash-live-status{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){body.portal-shell #dashboard-page #dash-live-status{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){body.portal-shell #dashboard-page #dash-live-status{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-forecast-table th,.dash-forecast-table td{padding:10px 4px;font-size:12px}.dash-forecast-table thead th{font-size:11px}}

.dash-entity-filter{display:grid;grid-template-columns:auto minmax(220px,650px);align-items:center;gap:10px 18px;background:#fff;border:1px solid #bdcce7;border-radius:14px;padding:16px 20px;margin-bottom:18px}.dash-entity-filter label{font-weight:700;color:#294474}.dash-entity-filter select{width:100%;min-width:0;max-width:100%;text-overflow:ellipsis}.dash-entity-filter p{grid-column:1/-1;margin:0;color:#536987;font-size:14px}@media(max-width:640px){.dash-entity-filter{grid-template-columns:minmax(0,1fr);padding:14px}.dash-entity-filter select{font-size:14px}.dash-entity-filter p{line-height:1.5}}

/* Compact entity selector; retain the existing responsive field alignment. */
body.portal-shell #console #dashboard-page .dash-entity-filter{padding:10px 16px;gap:8px 12px;margin-bottom:12px}
@media(max-width:640px){body.portal-shell #console #dashboard-page .dash-entity-filter{padding:10px 12px}}

.dash-entity-picker{display:flex;gap:8px;min-width:0;align-items:center}.dash-entity-picker input{width:35%;min-width:100px;max-width:200px}.dash-entity-picker select{flex:1;min-width:0}
@media(max-width:640px){.dash-entity-picker{flex-wrap:wrap}.dash-entity-picker input{width:100%;max-width:none}.dash-entity-picker select{flex-basis:100%}}
