/* 3.7.3: restore the original frontend brand colours and white labels.
 * frontend.css is unchanged from 3.6.29. Let its original tokens inherit
 * the site design system again; do not override the teal/gradient on body
 * or shell and do not recolour the gradient labels/spinners here.
 * Keep administrative styling, focus, disabled and other safety UI rules.
 */
.std-mp-admin { --teal: #087681; --gradient: linear-gradient(135deg, #0369a1, #087681 45%, #1d4ed8); }
.std-mp-admin .std-mp-admin-portal-link {
  color: #fff !important;
  background: linear-gradient(135deg, #0369a1, #087681 45%, #1d4ed8) !important;
}
.std-mp-shell .std-mp-button.is-danger { background: #b91c3c !important; color: #fff !important; }
.std-mp-admin :is(a,button,input,select,textarea,summary):focus-visible,
.std-mp-shell :is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #0369a1; outline-offset: 3px; }
.std-mp-attendance-fields { border: 0; padding: 0; margin: 12px 0 0; min-width: 0; }
.std-mp-attendance-fields:disabled { opacity: .8; }
.std-mp-attendance-fields:disabled button { cursor: not-allowed; }
.std-mp-inline-save-status { overflow-wrap: anywhere; }
.std-mp-inline-save-status .button { margin-top: 10px; }
.std-mp-density-toggle { margin: 0 0 14px !important; }
.std-mp-density-toggle[aria-pressed="true"] { background: #e0f2fe; border-color: #0369a1; color: #071a33; }
.std-mp-admin.is-compact-workspace .std-mp-admin-head { padding: 18px 22px; margin: 16px 0; }
.std-mp-admin.is-compact-workspace .std-mp-admin-head h1 { font-size: clamp(28px,3vw,38px); }
.std-mp-admin.is-compact-workspace .std-mp-admin-card { padding: 20px; margin-bottom: 18px; }
.std-mp-admin.is-compact-workspace .std-mp-admin-card-head { margin-bottom: 14px; }
.std-mp-admin.is-compact-workspace .std-mp-admin-card-head h2 { font-size: 25px; }
.std-mp-admin.is-compact-workspace :is(td,th) { padding-top: 9px; padding-bottom: 9px; }
.std-mp-admin .std-mp-admin-table-wrap { overflow-x: auto; }
@media (prefers-reduced-motion: reduce) {
  .std-mp-shell *, .std-mp-admin * { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.std-mp-admin.std-mp-health { max-width: 1300px; }
.std-mp-health .widefat { table-layout: fixed; }
.std-mp-health .widefat :is(th,td) { overflow-wrap: anywhere; word-break: normal; }
.std-mp-health .widefat th { width: 30%; }
.std-mp-health :is(input,select,button,.button) { max-width: 100%; box-sizing: border-box; }
.std-mp-health :is(button,.button) { white-space: normal; height: auto; }
.std-mp-admin .std-mp-roster-admin-tools > span { white-space: normal; overflow-wrap: anywhere; padding-top: 7px; padding-bottom: 7px; box-sizing: border-box; }
