/* T2783 UX batch C: dashboard/calendar, receiving, sales report, dark-mode headers, bell */

/* Dashboard: counts on the panel headers (several panels can be open) */
.dashboard-accordion-heading button{gap:14px}
.dashboard-accordion-heading .ux-dash-summary{flex:1;min-width:0;font-size:13px;font-weight:500;color:#d6e2ee;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 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-accordion-heading button{flex-wrap:wrap;row-gap:4px}.dashboard-accordion-heading .ux-dash-summary{order:3;flex-basis:100%;white-space:normal;font-size:12px}}
@media (max-width:760px){.dashboard-accordion-heading button:where(:not(#content *)){flex-wrap:wrap;row-gap:4px}.dashboard-accordion-heading .ux-dash-summary:where(:not(#content *)){order:3;flex-basis:100%;white-space:normal;font-size:12px}}

/* Receiving: same list layout as the other search pages */
.rc-search .rc-tabs{margin:14px 0 10px}
.rc-search .groupmain>input[type=checkbox]{margin:0 4px 0 0}
.rc-search tr.rc-more td{padding:6px 11px;background:var(--panel)}
.rc-search tr.rc-more .muted{font-size:12px;margin-left:6px}
.rc-search .rc-table th.selectcell{width:34px}
.rc-search .footer #rc-pageno{min-width:36px}
.rc-bulk .selection{margin-right:8px}

/* Sales report totals row */
.searchtable tfoot .rp-total td{border-top:2px solid var(--line);background:var(--group);font-weight:700}

/* Dark mode: table headers darker than the group rows (contrast.css made them lighter); light mode unchanged */
:root{--head:light-dark(#3c516a,#1c2c3e)}

/* Notification bell: inline SVG in the theme's text colour */
#ce-bell{display:inline-flex;align-items:center;justify-content:center;color:light-dark(#3c516a,#dbe6f2)}
#ce-bell:hover{color:var(--blue)}
#ce-bell .ce-bell-icon{display:block}
