/* v723 navigation (Leadership, 27 Sep 2026; HP-0283): plain text in one row, only the active item softly marked.
   Department ⌄ │ Today · Inbox · Funds · Share profiles · Time in · More, the department's own tasks, then Shared tools
   as one always-open row. Layout only: labels, permissions and routing are unchanged. Loaded last. */
#tabs .department-heading{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:wrap;gap:0!important;row-gap:0!important;padding:0 0 10px!important;margin:0!important;border:0!important}
#tabs .department-heading>div:first-child{display:flex;align-items:center;flex:0 0 auto!important;margin:0 14px 0 0;padding-right:14px;border-right:1px solid #E3E7EF}
#tabs .department-eyebrow{display:none!important}
#department-switch{font-size:15px!important;font-weight:500;color:#0B1A2B;border:0!important;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235E6878' fill='none' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 2px center!important;padding:6px 16px 6px 0!important;appearance:none;-webkit-appearance:none;box-shadow:none!important;width:auto!important;min-width:0!important;max-width:none!important;field-sizing:content}
#desk-toolbar{display:flex!important;flex:1 1 auto!important;align-items:center;justify-content:flex-start!important;gap:2px!important;flex-wrap:wrap;border:0!important;padding:0!important;margin:0!important;min-width:0}
#tabs #desk-actions{display:contents!important}
#tabs #desk-toolbar button.desk-tab,#tabs #desk-toolbar button.desk-action,#tabs #desk-toolbar #desk-more-btn{font-size:15px!important;font-weight:400!important;color:#5E6878!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:6px 10px!important;border-radius:0!important;border-bottom:1.5px solid transparent!important;min-height:0!important}
/* v804 (Leadership, 29 Sep 2026): no underline; the one selected item sits on the soft pale-blue mark the department menu uses.
   The item last chosen (aria-pressed) wins; the older inline marker counts only when no item is chosen, so two items are never marked. */
#tabs #desk-toolbar button.desk-tab,#tabs #desk-toolbar button.desk-action,#tabs #desk-toolbar #desk-more-btn{border-bottom:0!important;border-radius:8px!important}
#tabs #desk-toolbar button.desk-tab[aria-pressed="true"],#tabs #desk-toolbar:not(:has(button.desk-tab[aria-pressed="true"])) button.desk-tab[style*="--navy"]{color:#0B1A2B!important;background:#E9EEF7!important}
#tabs #desk-toolbar #tab-attendance{color:#0B1A2B!important;font-weight:500!important}
#tabs #desk-toolbar button:hover{color:#0B1A2B!important}
#tabs #desk-more{margin-left:auto}
#tabs .department-menu{display:flex;gap:2px;flex-wrap:wrap;padding-top:10px;border-top:1px solid #EEF1F6;margin-top:0}
#tabs .department-menu button{font-size:13px!important;background:transparent!important;color:#5E6878!important;border-radius:8px!important;padding:6px 10px!important}
#tabs .department-menu button[aria-current="page"]{background:#E9EEF7!important;color:#0B1A2B!important}
#tabs .department-tools{margin:8px 0 0!important;padding:8px 0 0!important;border-top:1px solid #EEF1F6;display:flex;flex-wrap:wrap;align-items:center;gap:2px;font-size:13px}
#tabs .department-tools-label{font-size:13px;color:#5E6878;padding:6px 10px 6px 0}
#tabs .department-tools>div{display:contents!important}
#tabs .department-tools button{font-size:13px!important;color:#0B1A2B!important;background:transparent!important;border:0!important;padding:6px 8px!important;box-shadow:none!important;min-height:0!important}
#tabs .department-tools button:hover{background:#E9EEF7!important;border-radius:8px!important}
@media (max-width:600px){
 #tabs .department-heading{flex-direction:column!important;align-items:stretch!important}
 #tabs .department-heading>div:first-child{width:100%;border-right:0;margin:0 0 4px;padding:0}
 #desk-toolbar{width:100%!important;flex-direction:row!important;grid-template-columns:none!important;column-gap:0!important;row-gap:2px!important}
 #tabs #desk-toolbar button{white-space:nowrap!important;width:auto!important;flex:0 0 auto!important;padding:6px 8px!important;margin:0!important}
 #tabs #desk-more{margin-left:0!important}
 #tabs .department-menu button{flex:0 1 auto!important;text-align:left}
}
/* v805 (Leadership, 29 Sep 2026: "why put it in Money, seems off"): the work waiting on a person (packets to approve or send,
   families and helpers still to sign, interviews, requests, representative signatures) shows only on Today (including the
   Client Care and HR Today screens), never above Money, Inbox or other screens. The lists and what they open are unchanged. */
body:not(:has(#todayview:not(.hidden), #caretodayview:not(.hidden), #hrtodayview:not(.hidden))) :is(#packet-approvals,#packets-unsent,#families-waiting,#helpers-waiting,#interviews-waiting,#requests-waiting,#rep-sign-note,#settle-received){display:none!important}
