#weeklyIncentiveDashboard{--wid-bg:var(--panel,#112039);--wid-card:var(--card,#182c45);--wid-text:var(--text,#edf4ff);--wid-muted:var(--muted,#abbdd3);--wid-border:var(--line,#34475f);box-sizing:border-box;grid-column:1/-1;width:100%;min-width:0;margin:16px 0;padding:16px;border:1px solid var(--wid-border);border-radius:16px;background:var(--wid-bg);color:var(--wid-text);font:14px/1.4 system-ui,-apple-system,sans-serif}
#weeklyIncentiveDashboard[hidden]{display:none!important}
#weeklyIncentiveDashboard *{box-sizing:border-box}
#weeklyIncentiveDashboard :is(h2,p){margin:0}
#weeklyIncentiveDashboard h2{font-size:18px;font-weight:750;line-height:1.2;color:var(--wid-text)!important}
#weeklyIncentiveDashboard .wid-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
#weeklyIncentiveDashboard button{font:inherit;color:var(--wid-text);border:1px solid var(--wid-border);border-radius:10px;min-height:44px;cursor:pointer}
#weeklyIncentiveDashboard button:disabled{opacity:.6;cursor:wait}
#weeklyIncentiveDashboard button:focus-visible{outline:3px solid #5398ff;outline-offset:3px}
#weeklyIncentiveDashboard .wid-refresh{width:44px;height:44px;flex:0 0 44px;background:transparent;font-size:24px;padding:0;line-height:1;text-align:center}
#weeklyIncentiveDashboard .wid-period{font-size:11px;color:var(--wid-muted);margin:0 0 12px}
#weeklyIncentiveDashboard .wid-gallery{display:grid;grid-template-columns:3fr 5fr;gap:18px}
#weeklyIncentiveDashboard .wid-gallery section{min-width:0}
#weeklyIncentiveDashboard .wid-badge{position:absolute;top:-8px;right:5px;z-index:1;display:inline-block;background:#d8f5e6;color:#145735;font-size:10px;font-weight:800;line-height:1.4;border-radius:6px;padding:2px 5px;white-space:nowrap;box-shadow:0 0 0 2px var(--wid-bg)}
#weeklyIncentiveDashboard .wid-x2{background:#ece3ff;color:#583294}
#weeklyIncentiveDashboard :is(.wid-categories,.wid-bonuses){display:grid;gap:8px}
#weeklyIncentiveDashboard .wid-categories{grid-template-columns:repeat(3,minmax(0,1fr))}
#weeklyIncentiveDashboard .wid-category{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0;min-height:80px;padding:10px;text-align:left;white-space:normal;background:var(--wid-card);transition:box-shadow .15s}
#weeklyIncentiveDashboard .wid-category:hover{box-shadow:0 0 0 2px #5398ff}
#weeklyIncentiveDashboard .wid-category strong{font-size:12px;font-weight:750;line-height:1.35;overflow-wrap:anywhere}
#weeklyIncentiveDashboard .wid-group{font-size:10px;line-height:1.2;color:var(--wid-muted)}
#weeklyIncentiveDashboard .wid-bonuses{grid-template-columns:repeat(5,minmax(0,1fr))}
#weeklyIncentiveDashboard .wid-photo{position:relative;display:grid;place-items:center;min-width:0;width:100%;height:80px;padding:8px;background:#fff;transition:box-shadow .15s}
#weeklyIncentiveDashboard .wid-photo:hover{box-shadow:0 0 0 2px #5398ff}
#weeklyIncentiveDashboard .wid-photo img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
#weeklyIncentiveDashboard .wid-placeholder{display:grid;place-items:center;height:100%;color:#7a8ba5;font-weight:800}
#weeklyIncentiveDashboard .wid-note{grid-column:1/-1;font-size:12px;color:var(--wid-muted);margin:10px 0}
:is(html[data-theme="light"],html[data-theme="pink"],html[data-theme="lilac"]) #weeklyIncentiveDashboard{--wid-bg:#fff;--wid-card:#f7f9fc;--wid-text:#192b45;--wid-muted:#52637b;--wid-border:#d9e2ee}
@media(max-width:1199px){#weeklyIncentiveDashboard .wid-gallery{grid-template-columns:1fr;gap:12px}#weeklyIncentiveDashboard .wid-categories{grid-template-columns:repeat(3,minmax(0,1fr))}#weeklyIncentiveDashboard .wid-photo{height:80px}}
@media(max-width:767px){#weeklyIncentiveDashboard{padding:14px;margin:12px 0}#weeklyIncentiveDashboard h2{font-size:17px}#weeklyIncentiveDashboard .wid-bonuses{gap:6px}#weeklyIncentiveDashboard .wid-bonuses .wid-photo{height:64px;padding:5px}}

/* The weekly selection lives in an on-demand subpanel, reached from Home shortcuts. */
#weeklyIncentiveDashboard{max-width:1100px;width:calc(100% - 32px);max-height:85dvh;margin:auto;overflow:auto;padding:24px;box-shadow:0 24px 80px #0006}
#weeklyIncentiveDashboard::backdrop{background:rgba(2,10,23,.65)}
#weeklyIncentiveDashboard .wid-header-actions{display:flex;gap:8px;align-items:center}
#weeklyIncentiveDashboard .wid-close{background:var(--wid-card);padding:8px 14px}
#weeklyIncentiveDashboard .wid-period{margin:8px 0 22px}
[data-weekly-incentives][hidden]{display:none!important}
[data-weekly-incentives] svg{width:24px;height:24px;flex-shrink:0}
[data-weekly-incentives] em{display:flex;align-items:center;justify-content:space-between;gap:8px;font-style:normal}
[data-weekly-incentives] :is(small,p){overflow-wrap:anywhere}
@media(min-width:900px){html body #dashboardSection[data-dashboard-view="home"] .desktop-home-view.rm-home-dashboard>.rm-task-grid.wid-shortcut-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:100%;gap:12px!important}html body #dashboardSection[data-dashboard-view="home"] .desktop-home-view.rm-home-dashboard>.rm-task-grid.wid-shortcut-grid>.rm-task-card{min-width:0!important}}
@media(max-width:1199px){html #dashboardSection .tablet-ref-home .tablet-metric-row.wid-shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:767px){#weeklyIncentiveDashboard{padding:16px;width:calc(100% - 20px)}html #dashboardSection .phone-ref-home .phone-metric-row.wid-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

.phone-metric.wid-shortcut{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;min-height:150px;padding:16px;border:1px solid var(--line,#34475f);border-radius:16px;background:var(--card,#112039);color:var(--text,#edf4ff);font:inherit;text-align:left;cursor:pointer}
.phone-metric.wid-shortcut p{margin:0;font-weight:750}
.phone-metric.wid-shortcut em{width:100%;margin-top:auto;font-size:12px}
.phone-metric.wid-shortcut>strong:empty{display:none}
