/* Jobs production board — 20260727qa724
   Exposes the existing four-stage production board as a first-class Jobs view
   and makes horizontal board navigation visible when the workspace is narrow. */

#app .premium-app .jobs-view-bar-v6 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #26384a;
  border-radius: 10px;
  background: #07121c;
}

#app .premium-app .jobs-view-bar-v6 > div:first-child {
  display: grid;
  gap: 2px;
  min-width: 170px;
}

#app .premium-app .jobs-view-bar-v6 > div:first-child strong {
  color: #f4f7fb;
  font-size: 14px;
  line-height: 18px;
}

#app .premium-app .jobs-view-bar-v6 > div:first-child span {
  color: #9fb0c2;
  font-size: 11px;
  line-height: 15px;
}

#app .premium-app .jobs-view-bar-v6 .job-view-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  margin: 0;
  overflow-x: auto;
}

#app .premium-app .jobs-view-bar-v6 .job-view-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #31465a;
  border-radius: 7px;
  background: #111e2b;
  color: #c9d4df;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

#app .premium-app .jobs-view-bar-v6 .job-view-tabs button svg {
  width: 16px;
  height: 16px;
  color: #25c7ff;
}

#app .premium-app .jobs-view-bar-v6 .job-view-tabs button:hover {
  border-color: #f58216;
  background: #172536;
  color: #ffffff;
}

#app .premium-app .jobs-view-bar-v6 .job-view-tabs button.active {
  border-color: #ff922b;
  background: #f58216;
  color: #120c07;
  box-shadow: 0 7px 18px rgba(245, 130, 22, .18);
}

#app .premium-app .jobs-view-bar-v6 .job-view-tabs button.active svg {
  color: #120c07;
}

#app .premium-app .jobs-production-board-v6 {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #26384a;
  border-radius: 11px;
  background: #050c13;
}

#app .premium-app .jobs-board-heading-v6 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 13px;
  border-bottom: 1px solid #26384a;
  background: #091520;
}

#app .premium-app .jobs-board-heading-v6 .eyebrow {
  margin: 0 0 2px;
  color: #f58216;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#app .premium-app .jobs-board-heading-v6 h2 {
  margin: 0;
  color: #f4f7fb;
  font-size: 16px;
  line-height: 20px;
}

#app .premium-app .jobs-board-heading-v6 > p {
  margin: 0;
  color: #9fb0c2;
  font-size: 11px;
}

#app .premium-app .jobs-production-board-scroll-v6 {
  width: 100%;
  max-width: 100%;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  padding: 10px 10px 8px;
  scrollbar-gutter: stable !important;
  scrollbar-width: auto !important;
  scrollbar-color: #f58216 #111922 !important;
}

#app .premium-app .jobs-production-board-scroll-v6 .job-board {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(270px, 1fr)) !important;
  align-items: stretch !important;
  gap: 9px !important;
  width: 100% !important;
  min-width: 1080px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

#app .premium-app .jobs-production-board-scroll-v6 .job-column {
  --job-column-accent: #f58216;
  display: flex !important;
  min-width: 0 !important;
  min-height: 420px !important;
  padding: 0 !important;
  border: 1px solid #2b3c4d !important;
  border-radius: 9px !important;
  background: #07111a !important;
  overflow: hidden !important;
}

#app .premium-app .jobs-production-board-scroll-v6 .job-column-scheduled {
  --job-column-accent: #3ca5ff;
}

#app .premium-app .jobs-production-board-scroll-v6 .job-column-progress {
  --job-column-accent: #ff9c39;
}

#app .premium-app .jobs-production-board-scroll-v6 .job-column-complete {
  --job-column-accent: #30d67b;
}

#app .premium-app .jobs-production-board-scroll-v6 .job-column > h3 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 11px 8px !important;
  border: 0 !important;
  border-bottom: 3px solid var(--job-column-accent) !important;
  background: #0b1722 !important;
  color: #f4f7fb !important;
  font-family: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
  -moz-osx-font-smoothing: auto !important;
}

#app .premium-app .jobs-production-board-scroll-v6 .job-column > h3 .pill {
  display: grid !important;
  place-items: center !important;
  min-width: 24px !important;
  height: 24px !important;
  padding: 0 6px !important;
  border: 1px solid #3c5064 !important;
  border-radius: 6px !important;
  background: #172536 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
}

#app .premium-app .jobs-production-board-scroll-v6 .job-column-body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  gap: 9px !important;
  min-height: 360px !important;
  padding: 9px !important;
  background: #050c13 !important;
}

#app .premium-app .jobs-production-board-scroll-v6 .job-card {
  border-left: 4px solid var(--job-column-accent) !important;
  background: #0b1722 !important;
}

#app .premium-app .job-column-empty-v6 {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  min-height: 178px;
  margin: 1px;
  padding: 20px;
  border: 1px dashed #33485c;
  border-radius: 8px;
  color: #91a4b7;
  text-align: center;
}

#app .premium-app .job-column-empty-v6 svg {
  width: 30px;
  height: 30px;
  color: var(--job-column-accent);
}

#app .premium-app .job-column-empty-v6 strong {
  color: #e8eef5;
  font-size: 12px;
}

#app .premium-app .job-column-empty-v6 span {
  max-width: 190px;
  font-size: 10px;
  line-height: 15px;
}

#app .premium-app .jobs-production-board-scroll-v6 .job-stage-drop {
  margin-top: auto !important;
  border-color: #33485c !important;
  background: #08131d !important;
  color: #a9b8c7 !important;
}

#app .premium-app .jobs-production-board-scroll-v6::-webkit-scrollbar {
  display: block !important;
  width: auto !important;
  height: 14px !important;
  background: #111922 !important;
}

#app .premium-app .jobs-production-board-scroll-v6::-webkit-scrollbar-track {
  border: 1px solid #293746 !important;
  border-radius: 999px !important;
  background: #111922 !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .42) !important;
}

#app .premium-app .jobs-production-board-scroll-v6::-webkit-scrollbar-thumb {
  min-width: 72px !important;
  border: 3px solid #111922 !important;
  border-radius: 999px !important;
  background: #f58216 !important;
  box-shadow: none !important;
}

#app .premium-app .jobs-production-board-scroll-v6::-webkit-scrollbar-thumb:hover {
  background: #ff9a3c !important;
}

@media (max-width: 840px) {
  #app .premium-app .jobs-view-bar-v6 {
    display: grid;
  }

  #app .premium-app .jobs-view-bar-v6 .job-view-tabs {
    width: 100%;
  }

  #app .premium-app .jobs-view-bar-v6 .job-view-tabs button {
    flex: 1 0 auto;
  }

  #app .premium-app .jobs-board-heading-v6 {
    align-items: flex-start;
  }
}

/* Jobs Command Center desktop readability — 20260728qa751
   Restore the shared CRM type scale after earlier compact-board rules made
   operational labels too small to scan comfortably. */
@media (min-width: 761px) {
  #app .premium-app .jobs-command-toolbar {
    min-height: 96px;
    padding: 18px 20px;
  }

  #app .premium-app .jobs-command-toolbar .eyebrow {
    font-size: 11px !important;
    line-height: 14px !important;
    font-weight: 900 !important;
    letter-spacing: .055em !important;
  }

  #app .premium-app .jobs-command-toolbar > div > strong {
    font-size: 22px !important;
    line-height: 28px !important;
    font-weight: 800 !important;
  }

  #app .premium-app .jobs-command-toolbar > div > span {
    font-size: 14px !important;
    line-height: 20px !important;
  }

  #app .premium-app .jobs-command-toolbar > .primary {
    min-height: 48px !important;
    padding: 11px 20px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  #app .premium-app .jobs-overview-card-copy > span {
    font-size: 10.5px !important;
    line-height: 13px !important;
    font-weight: 850 !important;
  }

  #app .premium-app .jobs-overview-card-copy > strong {
    font-size: 20px !important;
    line-height: 23px !important;
  }

  #app .premium-app .jobs-overview-card-copy > small {
    font-size: 10.5px !important;
    line-height: 14px !important;
    font-weight: 600 !important;
  }

  #app .premium-app .jobs-action-card .jobs-overview-card-copy > strong {
    font-size: 12.5px !important;
    line-height: 16px !important;
  }

  #app .premium-app .jobs-overview-weather .job-list-weather-title strong {
    font-size: 15px !important;
    line-height: 19px !important;
  }

  #app .premium-app .jobs-overview-weather .job-list-weather-title small {
    font-size: 11px !important;
    line-height: 15px !important;
  }

  #app .premium-app .jobs-overview-weather .job-list-weather-metrics strong {
    font-size: 16px !important;
    line-height: 18px !important;
  }

  #app .premium-app .jobs-overview-weather .job-list-weather-metrics small {
    font-size: 10px !important;
    line-height: 13px !important;
  }

  #app .premium-app .jobs-overview-weather .job-list-weather-details {
    min-height: 40px !important;
    padding: 8px 12px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
  }

  #app .premium-app .jobs-view-bar-v6 {
    padding: 12px 14px;
  }

  #app .premium-app .jobs-view-bar-v6 > div:first-child strong {
    font-size: 16px;
    line-height: 21px;
  }

  #app .premium-app .jobs-view-bar-v6 > div:first-child span {
    font-size: 12.5px;
    line-height: 17px;
  }

  #app .premium-app .jobs-view-bar-v6 .job-view-tabs button {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 12px;
  }

  #app .premium-app .jobs-board-heading-v6 {
    padding: 15px 17px;
  }

  #app .premium-app .jobs-board-heading-v6 .eyebrow {
    font-size: 11px;
    line-height: 14px;
  }

  #app .premium-app .jobs-board-heading-v6 h2 {
    font-size: 22px;
    line-height: 27px;
  }

  #app .premium-app .jobs-board-heading-v6 > p {
    font-size: 13px;
    line-height: 18px;
  }

  #app .premium-app .jobs-production-board-scroll-v6 .job-column > h3 {
    min-height: 52px !important;
    padding: 12px 13px 10px !important;
    font-size: 14px !important;
    line-height: 18px !important;
  }

  #app .premium-app .jobs-production-board-scroll-v6 .job-column > h3 .pill {
    min-width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
  }

  #app .premium-app .job-column-empty-v6 strong {
    font-size: 14px;
    line-height: 18px;
  }

  #app .premium-app .job-column-empty-v6 span {
    max-width: 220px;
    font-size: 12px;
    line-height: 17px;
  }

  #app .premium-app .jobs-production-board-scroll-v6 .job-card-top h3 {
    font-size: 18px !important;
    line-height: 22px !important;
  }

  #app .premium-app .jobs-production-board-scroll-v6 .job-card-customer strong {
    font-size: 13.5px !important;
    line-height: 17px !important;
  }

  #app .premium-app .jobs-production-board-scroll-v6 .job-card-service {
    font-size: 11.5px !important;
    line-height: 15px !important;
  }

  #app .premium-app .jobs-production-board-scroll-v6 .job-card-facts > div {
    min-height: 34px !important;
    grid-template-columns: minmax(108px, .8fr) minmax(0, 1.2fr) !important;
  }

  #app .premium-app .jobs-production-board-scroll-v6 .job-card-facts > div > span,
  #app .premium-app .jobs-production-board-scroll-v6 .job-card-facts > div > strong {
    font-size: 12px !important;
    line-height: 16px !important;
  }
}
