/* STAFF-MOBILE-21 clean slate PSG mobile app */

.psg14-app {
  display: none;
}

@media (max-width: 768px) {
  html,
  body {
    width: 100% !important;
    min-height: 100% !important;
    background: #07051c !important;
    overflow-x: hidden !important;
  }

  body {
    margin: 0 !important;
    padding: 0 0 76px !important;
  }

  body:has(.psg14-app) {
    background: #07051c !important;
  }

  body:has(.psg14-app) main,
  body:has(.psg14-app) main.container,
  body:has(.psg14-app) main.container-fluid,
  body:has(.psg14-app) .container,
  body:has(.psg14-app) .container-fluid {
    width: 100% !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    padding: 0 11px 84px !important;
    background: #07051c !important;
    box-sizing: border-box !important;
  }

  .psg14-app {
    display: block !important;
    width: 100% !important;
    min-height: calc(100vh - 76px) !important;
    background: #07051c !important;
    color: #f7f9ff !important;
    padding-top: 8px !important;
    box-sizing: border-box !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  }

  /* Hide all old/global clutter on psg14 pages */
  body:has(.psg14-app) .navbar,
  body:has(.psg14-app) header.navbar,
  body:has(.psg14-app) .topbar,
  body:has(.psg14-app) footer,
  body:has(.psg14-app) .alert,
  body:has(.psg14-app) [role="alert"],
  body:has(.psg14-app) .bottom-nav,
  body:has(.psg14-app) .mobile-bottom-nav,
  body:has(.psg14-app) .staff-bottom-nav,
  body:has(.psg14-app) .fixed-bottom,
  body:has(.psg14-app) .psg08-bottom-nav,
  body:has(.psg14-app) .psg09-bottom-nav,
  body:has(.psg14-app) .psg10-bottom-nav,
  body:has(.psg14-app) .psg-mobile-action-bar,
  body:has(.psg14-app) .psg-clean-top-actions,
  body:has(.psg14-app) .psg-clean-bottom-nav,
  body:has(.psg14-app) .psg-sample-top-actions,
  body:has(.psg14-app) .psg-sample-bottom-nav,
  body:has(.psg14-app) nav:not(.psg14-bottom)[class*="nav"],
  body:has(.psg14-app) div:not(.psg14-bottom)[class*="nav"],
  body:has(.psg14-app) nav:not(.psg14-bottom)[class*="bottom"],
  body:has(.psg14-app) div:not(.psg14-bottom)[class*="bottom"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  /* Kill all logo images on psg14 pages. We use text badge only. */
  body:has(.psg14-app) img[class*="logo"],
  body:has(.psg14-app) img[src*="logo"],
  body:has(.psg14-app) .psg14-logo-img,
  body:has(.psg14-app) .psg14-logo-row img,
  body:has(.psg14-app) .psg14-brand-text,
  body:has(.psg14-app) .psg14-warn {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
  }

  .psg14-header {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  .psg14-logo-row {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  .psg14-logo-badge {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    border-radius: 999px !important;
    background: #087bff !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -.4px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .psg14-right-icons {
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .psg14-right-icons a {
    color: #f7f9ff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  .psg14-right-icons a.green {
    color: #35d47a !important;
  }

  .psg14-row-between {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #c7d2ea !important;
    font-size: 13px !important;
    margin: 6px 0 14px !important;
  }

  .psg14-row-between a {
    color: #c7d2ea !important;
    text-decoration: none !important;
  }

  .psg14-tabs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-bottom: 15px !important;
  }

  .psg14-tab {
    height: 62px !important;
    border-radius: 5px !important;
    background: #2a2c45 !important;
    color: #e9eefc !important;
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: 650 !important;
  }

  .psg14-tab.active {
    background: #087bff !important;
    color: #fff !important;
  }

  .psg14-tab .ico {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .psg14-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 11px !important;
  }

  .psg14-title h1 {
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    font-weight: 800 !important;
  }

  .psg14-help {
    width: 26px !important;
    height: 26px !important;
    border-radius: 999px !important;
    background: #087bff !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  .psg14-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .psg14-job {
    background: #0e0a2d !important;
    border: 1px solid rgba(8,123,255,.55) !important;
    display: grid !important;
    grid-template-columns: 42px 1fr 28px !important;
    grid-template-areas:
      "date body more"
      "date actions actions" !important;
    min-height: 112px !important;
  }

  .psg14-date {
    grid-area: date !important;
    background: #087bff !important;
    color: #fff !important;
    display: flex !important;
    justify-content: center !important;
    padding-top: 22px !important;
    font-size: 18px !important;
  }

  .psg14-job-body {
    grid-area: body !important;
    min-width: 0 !important;
    padding: 10px 4px 6px 10px !important;
  }

  .psg14-site {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 4px !important;
  }

  .psg14-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    color: #c7d2ea !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    margin-bottom: 3px !important;
  }

  .psg14-role {
    color: #c7d2ea !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  .psg14-more {
    grid-area: more !important;
    color: #e9eefc !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
  }

  .psg14-actions {
    grid-area: actions !important;
    display: grid !important;
    grid-template-columns: 36px 36px 36px 36px 1fr !important;
    gap: 8px !important;
    padding: 4px 10px 10px !important;
  }

  .psg14-actions a,
  .psg14-circle-btn {
    height: 34px !important;
    border-radius: 999px !important;
    background: #28314d !important;
    color: #eef3ff !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
  }

  .psg14-actions .book,
  .psg14-primary-btn {
    border-radius: 4px !important;
    background: #087bff !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .psg14-panel,
  .psg14-empty {
    background: #0e0a2d !important;
    border: 1px solid #233f78 !important;
    border-radius: 5px !important;
    padding: 13px !important;
    margin-bottom: 10px !important;
    color: #e9eefc !important;
  }

  .psg14-panel h2 {
    color: #fff !important;
    font-size: 15px !important;
    margin: 0 0 9px !important;
  }

  .psg14-field {
    margin-bottom: 10px !important;
  }

  .psg14-field label {
    display: block !important;
    color: #c7d2ea !important;
    font-size: 11px !important;
    margin-bottom: 5px !important;
  }

  .psg14-field input,
  .psg14-field select,
  .psg14-field textarea {
    width: 100% !important;
    background: #07051c !important;
    color: #fff !important;
    border: 1px solid #263d70 !important;
    border-radius: 4px !important;
    padding: 9px !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
  }

  .psg14-primary-btn {
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    width: 100% !important;
  }

  .psg14-bottom {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 66px !important;
    min-height: 66px !important;
    max-height: 66px !important;
    background: #08051c !important;
    border-top: 1px solid #203d70 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: center !important;
    padding: 5px 4px 7px !important;
    z-index: 2147483647 !important;
    box-sizing: border-box !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .psg14-bottom a {
    color: #d7dff3 !important;
    text-decoration: none !important;
    font-size: 9px !important;
    font-weight: 750 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .psg14-bottom .circle {
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
  }

  .psg14-bottom a.active .circle,
  .psg14-bottom .up .circle {
    background: #087bff !important;
    color: #fff !important;
  }
}
