.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.dash-head{align-items:flex-start;gap:18px}.dash-tools{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.dash-tools select{padding:10px 12px;border:1px solid #cbdced;border-radius:8px;background:#fff;color:#193a5c;font:inherit}.dash-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:22px 0}.dash-metric{display:flex;align-items:flex-start;gap:12px;padding:18px 14px;min-width:0}.dash-icon,.dash-activity-icon{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#edf4ff;color:#2457e6}.dash-icon svg{width:25px;height:25px}.dash-metric strong{display:block;font-size:26px;letter-spacing:-.6px;line-height:1.3;overflow-wrap:anywhere}.dash-label{font-size:12px;font-weight:600}.dash-metric small{display:block;color:#62768c;font-size:10px;line-height:1.4;margin-top:5px}.dash-upper,.dash-lower{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px;margin-bottom:18px}.dash-panel{padding:20px;min-width:0}.dash-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.dashboard h2{font-size:18px;margin:0;color:#122e50}.dash-trend{width:100%;height:auto;display:block;margin-top:18px;min-height:160px}.dash-trend text{fill:#62768c;font-size:11px}.dash-footnote{font-size:11px;line-height:1.5;color:#62768c;margin:10px 0}.dash-status{display:flex;align-items:center;justify-content:center;gap:24px;min-height:230px}.dash-ring{width:160px;height:160px;border-radius:50%;padding:22px;flex-shrink:0}.dash-ring>div{width:100%;height:100%;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.dash-ring strong{font-size:24px;letter-spacing:-.8px}.dash-ring span{font-size:11px}.dash-ring-empty{background:#e8eef6}.dash-legend{flex:1;max-width:270px}.dash-legend>div{display:flex;align-items:center;gap:14px;border-bottom:1px solid #edf2f8;padding:13px 0;font-size:12px}.dash-legend span{flex:1;white-space:nowrap}.dash-legend i{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:7px}.dash-legend small{color:#62768c;min-width:30px;text-align:right}.dash-link{border:0;background:transparent;color:#2457e6;padding:4px;font:inherit;font-size:12px;cursor:pointer}.dash-leader-table{overflow:auto}.dash-leader-table table{width:100%;border-collapse:collapse;min-width:470px}.dash-leader-table th{white-space:nowrap;padding:12px 8px;font-size:10px}.dash-leader-table td{padding:13px 8px;font-size:12px}.dash-leader-table tbody tr:first-child{background:#eef4ff}.dash-agent-sub{display:block;color:#62768c;font-size:10px;margin-top:4px}.dash-rank{font-weight:700;color:#2457e6}.dash-aside{display:flex;flex-direction:column;gap:18px}.dash-snapshot{padding:20px;background:#082a50;color:#fff;border-radius:14px}.dash-snapshot h2{color:#fff}.dash-snapshot>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px;text-align:center}.dash-snapshot span{font-size:10px;line-height:1.6;color:#c6dcf3}.dash-snapshot strong{display:block;font-size:24px;line-height:1.3;color:#fff}.dash-activity-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #edf2f8}.dash-activity-icon{width:30px;height:30px}.dash-activity-icon svg{width:16px;height:16px}.dash-activity-row>div{flex:1;min-width:0}.dash-activity-row strong{font-size:12px;display:block;text-transform:capitalize;overflow-wrap:anywhere}.dash-activity-row small,.dash-activity-row time{font-size:10px;color:#62768c}.dash-data{font-size:11px;color:#62768c}.dash-data summary{cursor:pointer}.dash-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-height:180px;overflow:auto;margin-top:10px}.dash-counts span{display:flex;justify-content:space-between;gap:6px;padding:5px;background:#f4f7fc}@media(max-width:1450px){.dash-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-status{gap:12px;flex-wrap:wrap}.dash-ring{width:140px;height:140px;padding:18px}}@media(max-width:1150px){.dash-upper,.dash-lower{grid-template-columns:1fr}.dash-status{flex-wrap:nowrap}.dash-head{flex-direction:column}.dash-tools{justify-content:flex-start}}@media(max-width:600px){.dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dash-metric{padding:14px 10px;gap:8px}.dash-icon{width:30px;height:30px}.dash-icon svg{width:19px;height:19px}.dash-metric strong{font-size:23px}.dash-panel{padding:15px}.dash-tools{width:100%}.dash-tools>*{flex:1}.dash-status{gap:14px}.dash-ring{width:125px;height:125px;padding:16px}.dash-ring strong{font-size:20px}.dash-counts{grid-template-columns:repeat(2,1fr)}}

.dash-quick-actions h2{margin:0 0 16px;font-size:18px;color:#122e50}
.dash-quick-buttons{display:grid;gap:10px}
.dash-quick-buttons .btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;width:100%;border-radius:5px}
.dash-quick-buttons .btn.primary{background:#087df0}
.dash-request-action{display:flex;align-items:center;gap:12px;width:100%;margin-top:20px;padding:15px;text-align:left;background:#fff0f1;border:1px solid #ffd2d6;border-radius:6px;color:#981b24;cursor:pointer;font:inherit}
.dash-request-action>span:first-child{flex:1}
.dash-request-action strong{display:block;font-size:14px}
.dash-request-action small{display:block;font-size:13px;margin-top:5px}
.dash-request-count{display:grid;place-items:center;min-width:28px;height:28px;padding:0 6px;border-radius:50%;background:#e82039;color:#fff;font-weight:700;font-size:14px}
.dash-request-action:hover{background:#ffe4e7}
.dash-request-action:focus-visible{outline:3px solid #89b5ff;outline-offset:3px}

/* Keep Quick Actions sized to its controls instead of stretching with the adjacent table. */
.dash-quick-actions{align-self:start;padding:18px;height:auto;min-height:0}
.dashboard .dash-quick-actions h2{margin-bottom:14px}
.dash-quick-buttons{gap:8px}
.dash-quick-actions .dash-request-action{margin-top:14px;padding:12px 14px}

/* Master dashboard — approved production layout B. */
.dash-b{color:#122343}
.dash-b .dash-head{align-items:center;margin-bottom:20px}
.dash-b .dash-head h1{font-size:34px;letter-spacing:-1px;margin:0}
.dash-b .dash-head p{font-size:14px;color:#64748b;margin:6px 0 0}
.dash-b .dash-tools .btn{display:flex;align-items:center;gap:9px;min-height:44px;font-size:14px;border-radius:7px}
.dash-b .dash-tools .btn svg{height:19px;width:19px}
.dash-b .dash-upper{display:block;margin:0}
.dash-b .dash-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}
.dash-b .dash-metric{padding:23px 20px;align-items:center;border:1px solid #dce5f1;border-radius:8px;box-shadow:none;gap:18px}
.dash-b .dash-metric .dash-icon{width:54px;height:54px;background:#e2f1ff;color:#0869e8}
.dash-b .dash-metric:nth-child(2) .dash-icon{background:#e0f8f0;color:#159a76}
.dash-b .dash-metric:nth-child(3) .dash-icon{background:#fff5dc;color:#a67510}
.dash-b .dash-metric:nth-child(4) .dash-icon{background:#efebff;color:#3459e6}
.dash-b .dash-label{font-size:15px;font-weight:500}
.dash-b .dash-metric strong{font-size:29px;letter-spacing:-.5px;color:#0c1837;margin-top:5px}
.dash-b .dash-metric small{font-size:12px;color:#718096;margin-top:8px}
.dash-b .db-content{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px;align-items:start}
.dash-b .dash-panel{padding:18px;border:1px solid #dce5f1;border-radius:8px;box-shadow:none}
.dash-b .dash-panel h2{font-size:18px;color:#112344}
.dash-b .dash-link{font-size:13px}
.dash-b .db-closings{padding:0;overflow:hidden}
.dash-b .db-closings .dash-panel-head{padding:19px 20px}
.dash-b .dash-leader-table table{min-width:510px}
.dash-b .dash-leader-table th{background:#f6f8fc;text-align:left;font-size:13px;font-weight:600;padding:15px 20px;border-top:1px solid #e9edf5}
.dash-b .dash-leader-table td{font-size:14px;padding:15px 20px;border-bottom:1px solid #edf1f6;white-space:nowrap}
.dash-b .dash-leader-table tbody tr:first-child{background:white}
.dash-b .db-agent{display:flex;align-items:center;gap:12px}
.dash-b .db-agent strong{font-weight:500}
.db-avatar{display:grid;place-items:center;flex-shrink:0;width:37px;height:37px;border-radius:50%;background:#e5efff;color:#173b74;font-size:12px;font-weight:600}
.dash-b .db-money{font-variant-numeric:tabular-nums}
.dash-b .dash-aside{gap:14px}
.db-requests{display:flex;align-items:center;gap:16px;width:100%;padding:16px 0 0;border:0;background:transparent;text-align:left;color:#112344;cursor:pointer}
.db-requests>span:nth-child(2){flex:1}
.db-requests strong{font-size:29px;display:block}
.db-requests small{font-size:13px;color:#65758b}
.db-requests>b{font-size:25px;color:#8798ad}
.db-production{display:grid;gap:13px;margin-top:19px}
.db-producer{display:grid;grid-template-columns:minmax(85px,1fr) minmax(65px,1.3fr) auto;align-items:center;gap:12px;font-size:13px}
.db-producer>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.db-producer strong{font-size:13px;font-weight:500;min-width:78px;text-align:right;font-variant-numeric:tabular-nums}
.db-bar{height:9px;background:#e7edf5;border-radius:5px;overflow:hidden}
.db-bar i{display:block;height:100%;background:#318dfa;border-radius:5px}
.db-announcement-title{font-size:15px;margin:18px 0 8px}
.db-announcement-body{font-size:14px;line-height:1.6;color:#526782;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.dash-b .db-goal{background:#112d51;color:white;border:0;border-radius:9px;padding:25px 30px;margin-bottom:16px;box-shadow:none}
.dash-b .db-goal h2{color:#fff;font-size:17px;margin-bottom:7px}
.db-goal h2 span{font-size:16px;font-weight:400;border-left:1px solid #8295ac;padding-left:16px;margin-left:12px}
.dash-b .db-goal .pc-goal-head p{color:#bdcee2;font-size:12px}
.db-goal .pc-goal-head input{background:#1c3e64;border:1px solid #5d7695;color:#fff;color-scheme:dark}
.db-goal #pcSetGoal{color:#fff;background:#1c3e64;border:1px solid #5d7695;font-size:13px}
.db-goal-values{display:grid;grid-template-columns:1.15fr 1fr;margin:22px 0 20px;gap:35px;align-items:center}
.db-goal-values>div{display:flex;flex-direction:column;gap:8px}
.db-goal-values>div:last-child{border-left:1px solid #647d9c;padding-left:40px}
.db-goal-values span{color:#c1d1e4;font-size:18px}
.db-goal-values strong{font-size:45px;font-weight:750;line-height:1.15;letter-spacing:-1px;color:#fff;font-variant-numeric:tabular-nums}
.db-goal-values>div:last-child strong{font-size:36px}
.db-goal-values small{color:#bfd0e4;font-size:16px}
.db-goal-values b{color:#47adff}
.db-goal .pc-progress-track{background:#385373;height:16px}
.db-goal .pc-progress-track span{background:#359cfa}
@media(max-width:1300px){.dash-b .dash-metric{padding:18px 14px;gap:10px}.dash-b .dash-metric strong{font-size:24px}.dash-b .dash-metric .dash-icon{width:42px;height:42px}.dash-b .db-content{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}}
@media(max-width:1000px){.dash-b .dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-b .db-content{grid-template-columns:1fr}.dash-b .dash-head{align-items:flex-start}.db-goal-values strong{font-size:36px}.db-goal-values>div:last-child strong{font-size:30px}}
@media(max-width:600px){.dash-b .dash-head h1{font-size:28px}.dash-b .db-goal{padding:20px}.db-goal-values{grid-template-columns:1fr;gap:22px}.db-goal-values>div:last-child{border-left:0;border-top:1px solid #647d9c;padding:18px 0 0}.db-goal h2 span{display:block;margin:8px 0 0;padding:0;border:0}.dash-b .dash-metric{padding:15px 12px}.dash-b .dash-metric .dash-icon{display:none}.dash-b .dash-label{font-size:13px}.dash-b .dash-metric strong{font-size:24px}.dash-b .db-goal .pc-goal-head .row{flex-wrap:wrap}.db-producer{font-size:12px;gap:8px}}

.db-carrier{display:flex;align-items:center;min-height:32px}.dash-b .db-carrier .carrier-brand-logo{height:32px;width:140px;margin:0;background:transparent;padding:0;display:flex;align-items:center}.dash-b .db-carrier .carrier-brand-logo img{max-width:140px;max-height:30px;width:auto;height:auto;object-fit:contain!important}.dash-b .db-carrier .carrier-brand-dark{background:#142a46;padding:4px 8px;border-radius:4px}.deal-carrier-preview{margin-top:9px}.deal-carrier-preview:empty{display:none}.deal-carrier-preview .carrier-brand-logo{max-width:160px;height:38px;margin:0}.deal-carrier-preview img{max-height:34px;max-width:155px;object-fit:contain!important}

/* Ethos: clean wordmark, contained within its cell without a dark badge. */
.carrier-brand-logo:has(img[alt="Ethos logo"]){background:transparent!important;padding:0!important}
.carrier-brand-logo img[alt="Ethos logo"]{filter:brightness(0) saturate(100%);object-fit:contain!important;min-width:0;max-width:100%!important}
.dash-b .db-carrier .carrier-brand-logo:has(img[alt="Ethos logo"]){width:110px;height:28px;overflow:visible}
.dash-b .db-carrier .carrier-brand-logo img[alt="Ethos logo"]{width:100%;height:auto;max-height:24px}

/* Pending lead requests stay visible until handled. */
.dash-b .db-request-panel.db-pending{background:#fff1f2;border-color:#f5b4bd}
.dash-b .db-request-panel.db-pending h2,.dash-b .db-request-panel.db-pending .db-requests,.dash-b .db-request-panel.db-pending .db-requests small,.dash-b .db-request-panel.db-pending .db-requests>b,.dash-b .db-request-panel.db-pending .dash-link{color:#b42336}
.dash-b .db-request-panel.db-pending .dash-icon{background:#ffe0e5;color:#d62945}
