/* Employee-facing pages only. Loaded after each page's own theme. */
@media (max-width: 820px) {
  body[data-worker-mobile] {
    background: #f3f9f8 !important;
    background-attachment: scroll !important;
    color: #173438;
  }
  body[data-worker-mobile] h1 {
    font-size: clamp(1.35rem, 5vw, 1.7rem) !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
  }
  body[data-worker-mobile] h2 { font-size: 1.25rem !important; }
  body[data-worker-mobile] :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
    font-size: 16px;
  }
  body[data-worker-mobile] :is(.employee-shell, .walker-shell, .uniform-shell, .mobile-app-shell, .app-shell, .sign-shell) {
    width: 100%; max-width: none; margin: 0;
    padding: 0 0 env(safe-area-inset-bottom) !important;
    min-height: 100svh;
  }
  body[data-worker-mobile] :is(.employee-app, .track-panel, .sign-card) {
    width: 100%; max-width: none; margin: 0;
    border: 0 !important; border-radius: 0 !important;
    box-shadow: none !important; backdrop-filter: none !important;
  }
  body[data-worker-mobile] :is(.employee-hero, .track-head, .hero-card, .sign-header) {
    min-height: 0; margin: 0; padding: calc(16px + env(safe-area-inset-top)) 16px 16px;
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  }
  body[data-worker-mobile] .employee-hero {
    background: linear-gradient(125deg, #064e53, #087f73 60%, #0aa890) !important;
  }
  body[data-worker-mobile] .employee-avatar {
    width: 48px; height: 48px; min-width: 48px;
    border-radius: 15px; font-size: 1rem;
  }
  body[data-worker-mobile] .employee-copy { min-width: 0; }
  body[data-worker-mobile] .employee-copy .eyebrow { opacity: 1; color: #effffb !important; }
  body[data-worker-mobile] .employee-meta { gap: 5px; }
  body[data-worker-mobile] .employee-meta-chip {
    font-size: .72rem; white-space: normal; overflow-wrap: anywhere; max-width: 100%;
  }
  body[data-worker-mobile] .employee-dashboard-panel {
    padding: 14px !important; border: 0 !important; border-radius: 0 !important;
    box-shadow: none !important; background: #f3f9f8 !important;
  }
  body[data-worker-mobile] .employee-week-card { gap: 10px; padding: 14px; }
  body[data-worker-mobile] .employee-week-picker-control { min-width: 0; max-width: 100%; }
  body[data-worker-mobile] .employee-action-card {
    min-height: 76px; padding: 12px; gap: 12px;
  }
  body[data-worker-mobile] .employee-action-card::after { display: none; }
  body[data-worker-mobile] .employee-action-card small {
    white-space: normal; overflow: visible; text-overflow: clip;
    font-size: .8rem; line-height: 1.4;
  }
  body[data-worker-mobile] .employee-action-card .action-glyph { width: 36px; height: 36px; }
  body[data-worker-mobile] .request-head-actions { flex-wrap: wrap; gap: 8px; }
  body[data-worker-mobile] .employee-back-link { min-width: 44px; min-height: 44px; }
  body[data-worker-mobile] .track-panel { padding: 0 14px 20px; }
  body[data-worker-mobile] .track-head { margin: 0 -14px 16px; }
  body[data-worker-mobile] .bg-glow { display: none; }
  body[data-worker-mobile] .uniform-shell > :not(.hero-card),
  body[data-worker-mobile] .mobile-app-shell > :not(.mobile-topbar),
  body[data-worker-mobile] .app-shell > :not(.topbar) { margin-left: 12px; margin-right: 12px; }
  body[data-worker-mobile] :is(.mobile-topbar, .topbar, .hld-header) {
    padding: calc(12px + env(safe-area-inset-top)) 14px 12px;
    border-radius: 0;
  }
  body[data-worker-mobile] :is(.mobile-topbar, .topbar, .hld-header) h1 { margin: 0; }
  body[data-worker-mobile] .hld-mode { max-width: none; border-radius: 0; }
  body[data-worker-mobile] .sign-shell { padding: 12px !important; }
  body[data-worker-mobile] .sign-header { padding-top: 16px; }
  body[data-worker-mobile] :is(.voice-page, .page-shell) {
    width: 100%; max-width: none; margin: 0; padding: 14px;
  }
  body[data-worker-mobile] .voice-header {
    width: 100%; min-width: 0; margin: 0 0 16px; padding: 16px;
    border-radius: 0; box-shadow: none;
  }
}
@media (max-width: 380px) {
  body[data-worker-mobile] .employee-week-card { flex-wrap: wrap; }
  body[data-worker-mobile] .employee-week-picker-control { width: 100%; }
}
