/* Finance categories use the same compact illustrated tiles as the work menu. */
@media screen {
  html body.nw-finance-mode #nwFinanceTopNav {
    display:flex!important;align-items:stretch;flex-wrap:wrap;gap:7px!important;
    padding:8px!important;margin-top:8px;margin-bottom:10px;border-radius:16px!important;
    overflow:visible;
  }
  html body #nwFinanceTopNav > .nw-finance-top-group > summary {
    position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
    box-sizing:border-box;min-height:82px;padding:8px 5px!important;gap:6px!important;
    border:1px solid #e1e9f2!important;border-radius:12px!important;
    background:linear-gradient(150deg,#fff,#eef5ff)!important;
    box-shadow:0 3px 10px rgba(44,70,104,.04);color:#314766;
    font-size:11px;font-weight:800;line-height:1.3;touch-action:manipulation;
  }
  html body #nwFinanceTopNav > .nw-finance-top-group > summary:after {
    position:absolute;top:5px;right:7px;margin:0;color:#94a3b8;font-size:9px;
  }
  html body #nwFinanceTopNav > .nw-finance-top-group:is(.active,[open]) > summary,
  html body #nwFinanceTopNav > .nw-finance-top-group > summary:hover {
    background:#e9f2ff!important;border-color:#9dbfe9!important;color:#176ac2;
  }
  html body #nwFinanceTopNav > .nw-finance-top-group > summary:focus-visible {
    outline:3px solid #418ee9;outline-offset:-3px;
  }
  html body #nwFinanceTopNav .nw-finance-top-label {pointer-events:none;white-space:nowrap}
  html body #nwFinanceTopNav > .nw-finance-top-group > summary > .nw-finance-shared-icon {
    display:flex;align-items:center;justify-content:center;flex:0 0 34px!important;
    width:34px!important;height:34px!important;border-radius:10px!important;
    background:linear-gradient(140deg,#4195ff,#4266df)!important;
    box-shadow:0 5px 11px rgba(42,75,116,.16),inset 0 1px 0 rgba(255,255,255,.3);
    pointer-events:none;
  }
  html body #nwFinanceTopNav .nw-finance-shared-icon[data-app-icon=attendance] {background:linear-gradient(140deg,#40d3b8,#16a687)!important}
  html body #nwFinanceTopNav .nw-finance-shared-icon[data-app-icon=payroll] {background:linear-gradient(140deg,#ab8df2,#7750d3)!important}
  html body #nwFinanceTopNav .nw-finance-shared-icon[data-app-icon=receipts] {background:linear-gradient(140deg,#ffc268,#ed9232)!important}
  html body #nwFinanceTopNav .nw-finance-shared-icon svg {display:block;width:24px!important;height:24px!important;pointer-events:none}
}
@media screen and (min-width:981px) {
  html body #nwFinanceTopNav > .nw-finance-top-group {flex:0 0 100px;min-width:100px}
}
