.dashboard-page{max-width:2200px;margin:0 auto}
.dashboard-title{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:4px 0 24px}
.dashboard-title h1{font-size:26px;font-weight:700;margin-bottom:5px}
.dashboard-date{font-size:13px;color:var(--muted)}
.dashboard-date>span{font-size:11px;border-left:1px solid var(--line);padding-left:12px;margin-left:12px}
.dashboard-user{width:285px;padding-top:6px}
.dashboard-user select{height:41px}
.dashboard-panel{border:1px solid var(--line);border-radius:7px;background:var(--panel);overflow:hidden;margin-bottom:25px}
.dashboard-section-title{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px}
.dashboard-section-title>div{display:flex;align-items:center;gap:16px}
.dashboard-section-title h2{font-size:17px;font-weight:700;margin:0;white-space:nowrap}
.dashboard-section-title span,.dashboard-section-title label{font-size:12px}
.dashboard-section-title label{display:flex;align-items:center;gap:8px;white-space:nowrap}
.dashboard-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:22px;margin-left:8px;padding:0 6px;border-radius:4px;font-size:12px;font-weight:600}
.dashboard-dated .dashboard-section-title{background:linear-gradient(100deg,#17334e,#294d6b);color:#fff}
.dashboard-dated .dashboard-count{background:#ffffff1f;color:#fff}
.dashboard-dated .dashboard-section-title>div>span,.dashboard-dated .dashboard-section-title label{color:#e1eaf4}
.dashboard-prospecting .dashboard-section-title{background:linear-gradient(100deg,#e3ebf2,#f1f5f9);color:#27465f;border-bottom:1px solid var(--line)}
.dashboard-prospecting .dashboard-count{background:#cad9e6;color:#294d6b}
.dashboard-prospecting .dashboard-section-title>div>span,.dashboard-order{color:#546d81}
.dashboard-table-scroll{overflow:auto}
.dashboard-panel table:not(:where(.vp-shell table,.dashboard-source-detail table)){table-layout:fixed;font-size:12px;width:100%;border-collapse:separate;border-spacing:0}
.dashboard-task-table{min-width:1550px}
.dashboard-prospect-table{min-width:1627px}
.dashboard-panel th:not(:where(.vp-shell th,.dashboard-source-detail th)){position:static;padding:11px 9px;white-space:nowrap;font-size:11.5px;font-weight:650;border-right:1px solid #ffffff10}
.dashboard-task-table th{background:#3c536c;color:#fff}
.dashboard-prospect-table th{background:#60758a;color:#fff;font-size:11px;padding:11px 8px}
.dashboard-panel td:not(:where(.vp-shell td,.dashboard-source-detail td)){height:45px;padding:10px 9px;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-bottom:1px solid var(--line)}
.dashboard-panel td+td:not(:where(.vp-shell td,.dashboard-source-detail td)){border-left:1px solid light-dark(#dce5ee,#526b83)}
.dashboard-panel tbody tr:last-child td:not(:where(.vp-shell td,.dashboard-source-detail td)){border-bottom:0}
.dashboard-dated-row{background:light-dark(#eaf0f6,#263c51);cursor:pointer}
.dashboard-dated-row:nth-child(even){background:light-dark(#e0e9f2,#30465c)}
.dashboard-dated-row:hover{background:light-dark(#d5e3f0,#3c5973)}
.dashboard-dated-row:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.dashboard-task-date{font-weight:650}
.dashboard-task-date.is-overdue{color:light-dark(#b52c31,#ffb5b5)}
.dashboard-task-type{font-weight:600!important;color:light-dark(#223e58,#daeaff)!important}
.dashboard-dated-row.is-completed,.dashboard-dated-row.is-completed:nth-child(even){background:light-dark(#f0f1f3,#30363d);color:light-dark(#7b838c,#b1b8c0)}
.dashboard-dated-row.is-completed a,.dashboard-dated-row.is-completed button{color:light-dark(#7b838c,#b1b8c0)!important}
.dashboard-note{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dashboard-prospect-table tr:nth-child(even){background:var(--stripe)}
.dashboard-prospect-table tbody tr:hover{background:var(--group)}
.dashboard-panel button.rowlink{font:inherit;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;display:inline-block;vertical-align:middle;min-height:0;padding:0;border:0;background:none}
.dashboard-panel .contact-rating{font-size:15px;letter-spacing:0;white-space:nowrap}
.dashboard-panel .dashboard-select{text-align:center;padding:8px}
.dashboard-next-due{font-weight:700;color:var(--text)}
.dashboard-table-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:11px 16px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}
.dashboard-table-tools>label{display:flex;align-items:center;gap:8px}
.dashboard-table-tools select{padding:5px 8px;min-width:61px}
.dashboard-search{position:relative;width:350px}
.dashboard-search input{width:100%;padding:8px 10px 8px 33px;font-size:12px}
.dashboard-search svg{position:absolute;left:10px;top:9px;width:15px;height:15px;stroke:var(--muted);stroke-width:1.7;fill:none}
.dashboard-table-footer{display:flex;justify-content:space-between;gap:16px;padding:12px 16px;border-top:1px solid var(--line);color:var(--muted);font-size:11.5px}
.dashboard-task-identity{display:flex;gap:10px;padding:6px 0 15px;margin-bottom:12px;border-bottom:1px solid var(--line);font-weight:600}
.dashboard-panel .dashboard-empty{text-align:center;padding:24px;color:var(--muted)}
@media(prefers-color-scheme:dark){.dashboard-prospecting .dashboard-section-title{background:linear-gradient(100deg,#30475c,#3b5267);color:#f0f4fa}.dashboard-prospecting .dashboard-section-title>div>span,.dashboard-order{color:#cfdae5}}
/* T2827: page content follows the width #content has (container "main", base.css), not the viewport; the @media copy keeps dialogs/menus outside #content on the viewport */
@container main (max-width:736px){.dashboard-title{flex-wrap:wrap;gap:13px}.dashboard-user{width:100%}.dashboard-section-title{align-items:flex-start;flex-wrap:wrap}.dashboard-section-title>div{gap:8px;flex-wrap:wrap}.dashboard-table-tools{align-items:flex-start;flex-wrap:wrap}.dashboard-search{width:100%}.dashboard-table-footer{flex-wrap:wrap}.dashboard-panel{max-width:100%}}
@media (max-width:760px){.dashboard-title:where(:not(#content *)){flex-wrap:wrap;gap:13px}.dashboard-user:where(:not(#content *)){width:100%}.dashboard-section-title:where(:not(#content *)){align-items:flex-start;flex-wrap:wrap}.dashboard-section-title>div:where(:not(#content *)){gap:8px;flex-wrap:wrap}.dashboard-table-tools:where(:not(#content *)){align-items:flex-start;flex-wrap:wrap}.dashboard-search:where(:not(#content *)){width:100%}.dashboard-table-footer:where(:not(#content *)){flex-wrap:wrap}.dashboard-panel:where(:not(#content *)){max-width:100%}}

/* One primary dashboard at a time; internal source-page controls stay intact. */
.dashboard-accordion { border:1px solid var(--line);border-radius:7px;margin-bottom:16px;overflow:hidden;background:var(--panel); }
.dashboard-accordion-heading { margin:0;font-size:18px; }
.dashboard-accordion-heading button { display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-radius:0;padding:16px 18px;font:inherit;font-weight:700;text-align:left;color:#fff;background:linear-gradient(110deg,#1c3952,#304e66); }
.dashboard-accordion-heading button:hover { background:linear-gradient(110deg,#25455f,#3c5b73); }
.dashboard-accordion-heading button span { font-size:23px;line-height:1; }
.dashboard-accordion-body[hidden] { display:none; }
.dashboard-accordion-body { padding:16px; }
.dashboard-accordion-body>.dashboard-panel { margin-bottom:0; }
.dashboard-accordion-body>.dashboard-sales>.dashboard-section-title { display:none; }
.dashboard-accordion-body>.dashboard-dated { margin-bottom:20px; }
.dashboard-task-owner { display:flex;justify-content:flex-end;margin-bottom:12px; }
.dashboard-task-owner select { margin-left:8px;min-width:210px; }
