.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 42px;
}

.login-brand .brand-logo {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

.mobile-brand img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.section-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.employee-switcher label {
  gap: 4px;
  color: #64748b;
  font-size: 10px;
}

.employee-switcher select {
  min-width: 210px;
  min-height: 58px;
  font-weight: 700;
}

.metric-grid.leave-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.leave-summary .pending-metric {
  border-color: #f0cf82;
  background: #fffaf0;
}

.leave-summary .pending-metric small {
  color: #946008;
}

html,
body {
  font-family: 'Graphik Web', HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Neue', sans-serif;
}

.calendar-header,
.staff-row {
  grid-template-columns: 190px minmax(1260px, 1fr);
  min-width: 1450px;
}

.staff-name strong {
  font-size: 14px;
  line-height: 1.2;
}

.staff-name small {
  font-size: 10px;
}

.staff-row:hover .day-cell {
  box-shadow: inset 0 2px 0 rgba(23, 111, 242, .13), inset 0 -2px 0 rgba(23, 111, 242, .13);
}

.staff-row:not(.current-user-row):hover .staff-name {
  background: #f1f6fd;
}

.staff-row.current-user-row .staff-name {
  color: #fff;
  background: #08284d;
}

.staff-row.current-user-row .staff-avatar-wrap {
  color: inherit;
  background: transparent;
}

.staff-row.current-user-row .staff-avatar-wrap > .staff-avatar-initials {
  color: #08284d;
  background: #fff;
}

.staff-row.current-user-row .staff-avatar-wrap > img {
  background: transparent;
}

.staff-row.current-user-row .staff-name strong,
.staff-row.current-user-row .staff-name small,
.staff-row.current-user-row .staff-leave-link,
.staff-row.current-user-row .staff-leave-link strong {
  color: #fff;
}

@media (max-width: 1120px) {
  .metric-grid.leave-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .section-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .employee-switcher select,
  .section-actions .primary {
    width: 100%;
  }

  .metric-grid.leave-summary {
    grid-template-columns: 1fr;
  }
}
.user-card > .user-card-profile {
  min-width: 0;
  flex: 1;
  margin-left: 0;
  color: inherit;
}

.sidebar-bradford-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 10px 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  color: #fff;
  background: rgba(0,18,43,.25);
}

.sidebar-bradford-card + .user-card { margin-top: 8px; }
.sidebar-bradford-card span { display: flex; align-items: baseline; gap: 8px; }
.sidebar-bradford-card small { color: #d7e5f4; font-size: 10px; font-weight: 650; }
.sidebar-bradford-card strong { color: #fff; font-size: 20px; line-height: 1; }
.sidebar-bradford-card > b { padding: 4px 7px; border-radius: 12px; font-size: 9px; }
.sidebar-bradford-card.bradford-low > b { color: #b9f2d8; background: rgba(28,154,102,.28); }
.sidebar-bradford-card.bradford-monitor > b { color: #ffe1a0; background: rgba(211,145,20,.28); }
.sidebar-bradford-card.bradford-high > b { color: #ffc2c8; background: rgba(211,68,86,.3); }
.sidebar-bradford-card.bradford-na > b { color: #d6e0eb; background: rgba(255,255,255,.1); }

.user-card > .user-card-profile:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-signout svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-bradford {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  color: #c5d7ea;
  background: rgba(255,255,255,.07);
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

.mobile-bradford strong {
  color: #fff;
  font-size: 13px;
}

.mobile-bradford.bradford-low { border-color: rgba(80,212,151,.55); background: rgba(28,154,102,.24); }
.mobile-bradford.bradford-monitor { border-color: rgba(245,190,81,.58); background: rgba(211,145,20,.24); }
.mobile-bradford.bradford-high { border-color: rgba(243,109,124,.62); background: rgba(211,68,86,.28); }

@media (max-width: 780px) {
  .mobile-hide-on-my-leave {
    display: none;
  }

  .role-user .calendar-upcoming-stat {
    display: none;
  }
}
