.dashboard-page{--dash-border:#dce6f3;max-width:1800px;margin:0 auto}.dashboard-welcome{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:10px 2px 26px}.dashboard-eyebrow{font-size:10px!important;letter-spacing:1.5px;font-weight:600;color:#6985a4;margin:0 0 10px}.dashboard-welcome h1{font-size:30px;letter-spacing:-.6px;margin:0 0 8px;color:#062a55}.dashboard-welcome p{color:#7085a1;font-size:13px}.dashboard-date{display:grid;justify-items:end;gap:7px;font-size:12px;color:#7287a4}.dashboard-date strong{color:#1d416b;font-size:13px}.dashboard-date button{margin-top:5px}.dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.dashboard-card{padding:20px 22px;background:#fff;border:1px solid var(--dash-border);border-radius:12px;box-shadow:0 4px 15px #123c6810;display:grid;gap:7px;position:relative;overflow:hidden}.dashboard-card:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--dash-color)}.dashboard-tone-0{--dash-color:#0878ed;--dash-tint:#ecf5ff}.dashboard-tone-1{--dash-color:#7764d6;--dash-tint:#f2efff}.dashboard-tone-2{--dash-color:#008c83;--dash-tint:#eaf8f5}.dashboard-tone-3{--dash-color:#bd7b22;--dash-tint:#fff6e7}.dashboard-card-top{display:flex;align-items:center;gap:10px;font-weight:600;font-size:12px}.dashboard-card-icon,.dashboard-empty-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;color:var(--dash-color);background:var(--dash-tint);flex-shrink:0}.dashboard-card-icon svg{width:18px;height:18px}.dashboard-count{font-size:34px;line-height:1.2;margin-top:5px;font-weight:700;letter-spacing:-1px}.dashboard-card-period{font-size:11px;color:#7a8da7}.dashboard-go{color:#006bff;justify-self:start;padding:12px 0 0!important;font-size:11px;display:flex;gap:10px;align-items:center}.dashboard-go span{font-size:17px}.dashboard-context{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:22px 2px 14px;font-size:11px;color:#6c83a1}.dashboard-context>span:first-child{display:flex;align-items:center;gap:7px}.dashboard-context svg{width:14px;height:14px}.dashboard-tables{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.dashboard-table.panel{padding:0;margin:0;overflow:hidden;min-width:0;border-radius:12px;box-shadow:0 3px 12px #133d6505}.dashboard-table-heading{padding:19px 18px 15px;display:grid;gap:6px}.dashboard-table-heading>div{display:flex;align-items:center;gap:8px}.dashboard-table-heading h2{font-size:13px;margin:0}.dashboard-accent{width:3px;height:17px;background:var(--dash-color);border-radius:3px}.dashboard-table-count{background:var(--dash-tint);color:var(--dash-color);border-radius:12px;padding:2px 7px;font-size:10px;font-weight:600}.dashboard-table-heading>span{font-size:10px;color:#7a8da7;margin-left:11px}.dashboard-table-scroll{overflow:auto;min-height:275px;max-height:410px;border-top:1px solid var(--dash-border)}.dashboard-table table{width:100%;min-width:610px;border-collapse:collapse;font-size:11px}.dashboard-table th{font-size:10px;text-align:left;background:#f5f8fc;color:#6b84a4;padding:11px 13px;font-weight:600;white-space:nowrap}.dashboard-table td{padding:13px;vertical-align:top;border-bottom:1px solid #e8eef6;max-width:225px;overflow-wrap:anywhere;line-height:1.5}.dashboard-table tbody tr:hover{background:#f8fbff}.dashboard-table .dashboard-agency{padding:0;text-align:left;color:#0968c3;font-weight:600;font-size:11px;line-height:1.5;display:block}.dashboard-table .dashboard-agency:disabled{color:#7b8da4}.dashboard-subline{display:block;font-size:10px;color:#8191a8;margin-top:4px}.dashboard-phone{white-space:nowrap;font-variant-numeric:tabular-nums}.dashboard-extra{display:block;font-size:9px;color:#7b8da4;margin-top:3px}.dashboard-due{white-space:nowrap}.dashboard-table-footer{padding:12px 16px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#7287a4;border-top:1px solid var(--dash-border)}.dashboard-table-footer>div{display:flex;gap:6px}.dashboard-table-footer button{font-size:10px;padding:6px 10px}.dashboard-table td.dashboard-empty{text-align:center;height:272px;vertical-align:middle;color:#8495ac}.dashboard-empty-icon{margin:0 auto 12px;display:flex;width:40px;height:40px}.dashboard-empty-icon svg{width:20px;height:20px}.dashboard-empty strong,.dashboard-empty>span:last-child{display:block}.dashboard-empty strong{font-size:12px;color:#4e6a8a;font-weight:500}.dashboard-empty>span:last-child{font-size:10px;margin-top:6px}.dashboard-footnote{font-size:10px;color:#8192a9;margin:17px 2px}.dashboard-filter-note{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px;background:#eff6ff;border-top:1px solid #dce8f7;border-bottom:1px solid #dce8f7}.dashboard-filter-note>div{flex:1;min-width:220px;display:grid;gap:5px}.dashboard-filter-note strong{font-size:12px}.dashboard-filter-note span{font-size:11px;color:#6682a3}.dashboard-filter-note button{font-size:11px}.dashboard-skeleton{height:200px;border-radius:12px;background:linear-gradient(110deg,#eaf0f7,#f7f9fc,#eaf0f7);background-size:200% 100%;animation:dashboard-pulse 1.5s ease-in-out infinite}@keyframes dashboard-pulse{50%{background-position:100% 0}}@media(min-width:1700px){.dashboard-table table{min-width:0}}@media(max-width:1100px){.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-tables{grid-template-columns:1fr}}@media(max-width:600px){.dashboard-welcome{display:block;padding-bottom:20px}.dashboard-welcome h1{font-size:25px}.dashboard-date{justify-items:start;margin-top:18px}.dashboard-card{padding:15px 13px}.dashboard-card-top{font-size:11px;gap:6px}.dashboard-card-icon{width:28px;height:28px}.dashboard-count{font-size:28px}.dashboard-card-period{font-size:10px}.dashboard-cards{gap:10px}.dashboard-card-top{align-items:flex-start}.dashboard-context{font-size:10px}.dashboard-table-heading h2{font-size:12px}.dashboard-footnote{line-height:1.8}}@media(prefers-reduced-motion:reduce){.dashboard-skeleton{animation:none}}

.dashboard-date-warning{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.dashboard-date-warning button{flex-shrink:0}.dashboard-date-review{overflow:auto;max-height:55vh;margin:18px 0}.dashboard-date-review table{width:100%;border-collapse:collapse;font-size:12px}.dashboard-date-review th,.dashboard-date-review td{text-align:left;padding:10px;border-bottom:1px solid #dce6f3;vertical-align:top}.dashboard-date-review th{background:#f5f8fc}.dashboard-date-review td{overflow-wrap:anywhere}.dashboard-date-review code{white-space:pre-wrap}.dashboard-date-review button{white-space:nowrap}
.dashboard-cards:has(.dashboard-tone-4){grid-template-columns:repeat(5,minmax(0,1fr))}.dashboard-tone-4{--dash-color:#ba4766;--dash-tint:#fff0f4}.dashboard-expiry-buttons{display:flex;gap:6px;padding-top:9px}.dashboard-expiry-buttons button{display:flex;gap:7px;align-items:center;justify-content:center;flex:1;padding:7px 5px;font-size:12px;min-height:36px;color:#8e3851}.dashboard-expiry-buttons button span{font-size:10px;border-radius:8px;background:#fff0f4;padding:1px 5px}.dashboard-expiry-buttons button.active{border-color:#ba4766;background:#fff0f4}.dashboard-expiry-buttons button:focus-visible{outline:2px solid #ba4766;outline-offset:2px}
#dashboard-contract-expiry{margin-top:20px}#dashboard-contract-expiry[hidden]{display:none}.dashboard-expiry-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px}.dashboard-expiry-heading h2{font-size:14px;margin:0 0 6px}.dashboard-expiry-heading span{font-size:11px;color:#7a8da7}.dashboard-expiry-heading button{padding:7px;display:flex}.dashboard-expiry-heading svg{width:16px;height:16px}.dashboard-expiry-remaining{display:inline-block;white-space:nowrap;background:#fff5e5;color:#94611c;font-size:11px;padding:4px 8px;border-radius:5px}.dashboard-expiry-remaining.urgent{background:#ffe9ee;color:#a12d4b}
@media(max-width:1250px){.dashboard-cards:has(.dashboard-tone-4){grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.dashboard-cards:has(.dashboard-tone-4){grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-tone-4.dashboard-card{grid-column:1/-1}.dashboard-expiry-buttons{max-width:300px}}@media(max-width:600px){.dashboard-expiry-buttons button{min-height:40px}.dashboard-expiry-heading{padding:15px}}

.dashboard-expiry-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.dashboard-expiry-actions #dashboard-expiry-agencies{padding:9px 12px;font-size:12px;white-space:nowrap}@media(max-width:600px){.dashboard-expiry-heading{flex-wrap:wrap}.dashboard-expiry-actions{margin-left:auto}}

.dashboard-expiry-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.dashboard-expiry-buttons button{min-width:0;flex-wrap:wrap;gap:3px;padding:7px 3px;font-size:11px}.dashboard-expiry-buttons button span{font-size:9px;padding:1px 3px}

#dashboard-contract-expiry table{min-width:980px}#dashboard-contract-expiry .dashboard-sort{display:inline-flex;align-items:center;gap:7px;width:auto;padding:0;border:0;background:transparent;font-size:10px;font-weight:600;color:inherit;white-space:nowrap}#dashboard-contract-expiry .dashboard-sort span{font-size:12px;min-width:10px}#dashboard-contract-expiry th[aria-sort=ascending],#dashboard-contract-expiry th[aria-sort=descending]{color:#006bff}.dashboard-expiry-updated{white-space:nowrap}.dashboard-invalid-date{color:#a26a20}
.dashboard-reminder-list{max-height:50vh;overflow:auto;margin:16px 0}.dashboard-reminder-list table{width:100%;border-collapse:collapse;font-size:12px}.dashboard-reminder-list th,.dashboard-reminder-list td{text-align:left;padding:10px 8px;border-bottom:1px solid #e1e9f5;vertical-align:top}.dashboard-reminder-list th{background:#f5f8fc;font-size:11px;color:#6b84a4}.dashboard-reminder-list small{display:block;color:#7a8da7;font-size:10px;margin-top:5px}.dashboard-reminder-list button{text-align:left;font-size:12px;padding:0;overflow-wrap:anywhere}.dashboard-reminder-status{font-size:10px;white-space:nowrap;border-radius:5px;padding:3px 6px}.dashboard-reminder-status.shown{background:#e6f5ee;color:#18734c}.dashboard-reminder-status.pending{background:#fff2dc;color:#825b13}.dashboard-reminder-status.upcoming{background:#edf5ff;color:#006bff}

.dashboard-followup-card{align-content:start;min-height:205px;gap:14px}.dashboard-followup-body{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:12px;align-items:stretch}.dashboard-followup-main{display:grid;align-content:start;justify-items:start;gap:12px;min-width:0}.dashboard-followup-main .dashboard-count{margin:0}.dashboard-followup-main .dashboard-card-period{font-size:10px;line-height:1.5}.dashboard-followup-card .dashboard-go{padding:5px 0 0!important;text-align:left;font-size:10px;line-height:1.5}.dashboard-reminder-summary{display:grid;align-content:start;justify-items:start;gap:7px;min-width:0;padding:11px 10px;text-align:left;border:1px solid #e2eaf5;border-radius:8px;background:#f7faff;color:#537394;box-shadow:none}.dashboard-reminder-summary>span{font-size:10px;font-weight:500;line-height:1.4}.dashboard-reminder-summary b{font-size:18px;line-height:1.2;font-weight:600;color:#123e6b;font-variant-numeric:tabular-nums}.dashboard-reminder-summary small{font-size:9px;font-weight:400;color:#7a8da7;line-height:1.6;overflow-wrap:normal}.dashboard-reminder-summary:hover{border-color:#b8d2f5;background:#eff6ff}.dashboard-reminder-summary:focus-visible{outline:2px solid #0878ed;outline-offset:3px}@media(max-width:600px){.dashboard-followup-card{grid-column:1/-1}.dashboard-followup-body{gap:16px}.dashboard-reminder-summary{padding:12px}}
/* Outstanding new-contact work occupies a second row below today's follow-ups. */
.dashboard-work-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:16px}
.dashboard-work-cards.dashboard-work-with-expiry{grid-template-columns:repeat(5,minmax(0,1fr))}
.dashboard-new-contacts{--dash-color:#16827a;--dash-tint:#e9f8f5}
@media(max-width:1250px){.dashboard-work-cards.dashboard-work-with-expiry{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.dashboard-work-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.dashboard-work-cards.dashboard-work-with-expiry{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dashboard-work-cards,.dashboard-work-cards.dashboard-work-with-expiry{grid-template-columns:1fr;gap:10px}}
