/* User-selected operations polish.
   Keep the approved dark layouts intact while aligning action color, type scale,
   and Windows text rasterization across the named screens. */

/* Jobs: the New Job action now uses the active Board orange, selected KPI
   labels are one step larger, and board titles use a supported native face. */
#app .premium-app .jobs-command-page .jobs-command-toolbar>.primary{
  border-color:#ff922b!important;
  background:#f58216!important;
  color:#120c07!important;
  box-shadow:none!important;
}

/* Direct annotation polish: orange-control ink and Home Repair General Repairs. */
#app .premium-app .ironflow-calendar-page:not(.ironflow-production-calendar-page)
  .calendar-focus-metric[data-calendar-focus="new-appointment"] .calendar-focus-icon,
#app .premium-app .ironflow-calendar-page:not(.ironflow-production-calendar-page)
  .calendar-month-open-slots-v4 .add-slot > svg,
#app .premium-app .ironflow-calendar-page:not(.ironflow-production-calendar-page)
  .calendar-board-view-controls .calendar-segment.active-chip[data-cal-mode="month"] > svg{
  color:#130b04!important;
  stroke:currentColor!important;
}

#app .premium-app.customer-reference-shell .customer-preview-actions-v8 > .customer-preview-build-project-v10 > svg,
#app .premium-app.customer-reference-shell .customer-preview-actions-v8 > .customer-preview-build-project-v10:is(:hover,:focus,:focus-visible,:active) > svg{
  color:#130b04!important;
  stroke:currentColor!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}

#app .premium-app.customer-reference-shell .customer-preview-actions-v8 > .customer-preview-build-project-v10 > svg *,
#app .premium-app.customer-reference-shell .customer-preview-actions-v8 > .customer-preview-build-project-v10:is(:hover,:focus,:focus-visible,:active) > svg *{
  stroke:currentColor!important;
}

#app .premium-app .hgc-root > .hgc-shared-estimate-top > .hgc-shared-estimate-actions > .hgc-primary[data-hgc-open="customer-start"],
#app .premium-app .hgc-root > .hgc-shared-estimate-top > .hgc-shared-estimate-actions > .hgc-primary[data-hgc-open="customer-start"]:is(:hover,:focus,:focus-visible,:active){
  color:#090d12!important;
  text-shadow:none!important;
}

#app .premium-app .hgc-root > .hgc-shared-estimate-top > .hgc-shared-estimate-actions > .hgc-primary[data-hgc-open="customer-start"] > svg,
#app .premium-app .hgc-root > .hgc-shared-estimate-top > .hgc-shared-estimate-actions > .hgc-primary[data-hgc-open="customer-start"] > svg *{
  color:inherit!important;
  stroke:currentColor!important;
}

#app .premium-app .hgc-root .hgc-gr-page :is(
  .hgc-gr-entry-modes button,
  .hgc-gr-cost-breakdown legend,
  .hgc-shared-proposal-table .head,
  .home-repair-service-rail-workflow .painting-summary-approval-actions,
  .hgc-shared-back-services
){
  font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;
  font-synthesis:none!important;
  text-rendering:auto!important;
  -webkit-font-smoothing:auto!important;
  -moz-osx-font-smoothing:auto!important;
  text-shadow:none!important;
  filter:none!important;
  letter-spacing:0!important;
}

#app .premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes button{
  min-height:52px;
  font-size:15px!important;
  font-weight:700!important;
  line-height:19px!important;
}

#app .premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes button > span strong{
  font-size:15px!important;
  font-weight:700!important;
  line-height:19px!important;
}

#app .premium-app .hgc-root .hgc-gr-page .hgc-gr-entry-modes button > span small{
  font-size:12.5px!important;
  font-weight:600!important;
  line-height:16px!important;
}

#app .premium-app .hgc-root .hgc-gr-page .hgc-gr-cost-breakdown legend{
  color:#f7f8f9!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:20px!important;
}

#app .premium-app .hgc-root .hgc-gr-page .hgc-shared-proposal-table .head{
  color:#f7f8f9!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:16px!important;
}

#app .premium-app .hgc-root .hgc-gr-page .hgc-shared-proposal-table .head > span{
  color:inherit!important;
  font:inherit!important;
}

#app .premium-app .hgc-root .hgc-gr-page .hgc-gr-custom-fields > .core-ai-inline[data-core-ai-slot="scope-tools"]{
  grid-column:1/-1;
  width:100%;
  margin:0;
  padding:10px 0 2px;
}

#app .premium-app .hgc-root .hgc-gr-page .home-repair-service-rail-workflow
  .painting-summary-approval-actions :is(
    button[data-home-repair-rail-slot],
    a[data-home-repair-rail-slot],
    [data-home-repair-rail-slot="packages"] > button,
    [data-home-repair-rail-slot="measurements"]
  ){
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:8px 12px!important;
  box-sizing:border-box!important;
  border-radius:6px!important;
  font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:16px!important;
  text-align:left!important;
  text-shadow:none!important;
  filter:none!important;
}

#app .premium-app .hgc-root .hgc-gr-page .home-repair-service-rail-workflow
  [data-home-repair-rail-slot="packages"] > button strong{
  color:inherit!important;
  font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:16px!important;
  text-shadow:none!important;
}

#app .premium-app .hgc-root .hgc-gr-page .home-repair-service-rail-workflow
  [data-home-repair-rail-slot="packages"] > button small{
  font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif!important;
  font-size:11.5px!important;
  font-weight:600!important;
  line-height:14px!important;
  text-shadow:none!important;
}

#app .premium-app .hgc-root .hgc-gr-page .home-repair-service-rail-workflow
  .painting-summary-approval-actions :is(
    button[data-home-repair-rail-slot],
    a[data-home-repair-rail-slot],
    [data-home-repair-rail-slot="packages"] > button,
    [data-home-repair-rail-slot="measurements"]
  ) > svg{
  flex:0 0 auto;
  width:17px!important;
  height:17px!important;
}

#app .premium-app .hgc-root .hgc-gr-page .hgc-shared-back-services{
  min-height:48px!important;
  padding:10px 14px!important;
  border-width:2px!important;
  color:#65f2f4!important;
  font-size:15px!important;
  font-weight:800!important;
  line-height:19px!important;
}

#app .premium-app .jobs-command-page .jobs-command-toolbar>.primary svg{
  color:currentColor!important;
  stroke:currentColor!important;
}

#app .premium-app .jobs-production-board-scroll-v6 .job-card-top h3{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-synthesis:none!important;
  letter-spacing:0!important;
  text-shadow:none!important;
  filter:none!important;
  text-rendering:auto!important;
  -webkit-font-smoothing:auto!important;
  -moz-osx-font-smoothing:auto!important;
}

#app .premium-app .jobs-command-page :is(
  .jobs-kpi-card,
  .jobs-action-card,
  .job-list-weather-title,
  .job-list-weather-metric,
  .job-list-weather-details
){
  cursor:pointer!important;
}

#app .premium-app .jobs-command-page [data-job-weather-overview]{
  cursor:pointer!important;
}

#app .premium-app .jobs-command-page [data-job-weather-overview]{
  cursor:pointer!important;
}

@media (min-width:761px){
  #app .premium-app .jobs-kpi-card .jobs-overview-card-copy>span{
    font-size:13.5px!important;
    line-height:17px!important;
    font-weight:700!important;
  }

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

/* The permanent rail consumes usable width before the viewport reaches the
   existing responsive breakpoint. At 1501–1680 px, retain the four quick
   cards on row one and give the already-clickable Weather controls row two. */
@media (min-width:1501px) and (max-width:1680px){
  #app .premium-app :is(
    .jobs-command-page,
    .jobs-command-overview,
    .jobs-overview-card-grid,
    .jobs-overview-weather
  ){
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  #app .premium-app .jobs-command-page .jobs-command-overview>.jobs-overview-card-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }

  #app .premium-app .jobs-command-page .jobs-command-overview>.jobs-overview-card-grid>.jobs-overview-weather{
    grid-column:1/-1!important;
    grid-row:auto!important;
    height:auto!important;
  }
}

/* Invoices: enlarge only the selected command/KPI copy and keep the orange
   Payment Assistant reminder readable with dark ink in every interaction. */
#app .premium-app .invoice-command-actions :is(.btn,.primary),
#app .premium-app .invoice-reference-kpi>div>span:first-child,
#app .premium-app .invoice-attention-assistant>div>button.btn[data-invoice-reminder]{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-synthesis:none!important;
  text-shadow:none!important;
  filter:none!important;
  text-rendering:auto!important;
  -webkit-font-smoothing:auto!important;
  -moz-osx-font-smoothing:auto!important;
}

@media (min-width:761px){
  #app .premium-app .invoice-command-actions :is(.btn,.primary){
    font-size:14px!important;
    line-height:18px!important;
    font-weight:700!important;
  }

  #app .premium-app .invoice-reference-kpi>div>span:first-child{
    font-size:13px!important;
    line-height:16px!important;
    font-weight:700!important;
    letter-spacing:0!important;
  }
}

#app .premium-app .invoice-attention-assistant>div>button.btn[data-invoice-reminder],
#app .premium-app .invoice-attention-assistant>div>button.btn[data-invoice-reminder]:is(:hover,:focus,:focus-visible,:active){
  color:#111820!important;
}

#app .premium-app .invoice-attention-assistant>div>button.btn[data-invoice-reminder] svg{
  color:currentColor!important;
  stroke:currentColor!important;
}

/* Workforce: selected top-line KPI labels use the same readable card-label
   size as the surrounding operational pages. */
@media (min-width:761px){
  #app .premium-app .wfops-metric>span:last-child>small{
    font-family:"Segoe UI",Arial,sans-serif!important;
    font-synthesis:none!important;
    font-size:14px!important;
    line-height:18px!important;
    font-weight:700!important;
    letter-spacing:0!important;
    text-shadow:none!important;
    filter:none!important;
    text-rendering:auto!important;
    -webkit-font-smoothing:auto!important;
    -moz-osx-font-smoothing:auto!important;
  }
}

/* Blast Builder: every selected orange destination shares the active Board
   fill, border, and ink, including the outer workflow's Settings step. */
#app .premium-app .marketing-blast-reference .blast-hero-actions>.primary,
#app .premium-app .marketing-blast-reference .recent-blasts>header>.primary,
#app .premium-app .marketing-blast-reference .campaign-coach section>.primary,
#app .premium-app .marketing-blast-reference .blast-reference-footer>.primary,
#app .premium-app:has(.marketing-blast-reference) .app-workflow-nav .workflow-next:not(.is-disabled){
  border-color:#ff922b!important;
  background:#f58216!important;
  color:#120c07!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}

#app .premium-app .marketing-blast-reference .blast-hero-actions>.primary svg,
#app .premium-app .marketing-blast-reference .recent-blasts>header>.primary svg,
#app .premium-app .marketing-blast-reference .campaign-coach section>.primary svg,
#app .premium-app .marketing-blast-reference .blast-reference-footer>.primary svg,
#app .premium-app:has(.marketing-blast-reference) .app-workflow-nav .workflow-next:not(.is-disabled) svg{
  color:currentColor!important;
  stroke:currentColor!important;
}

/* Marketing Hub: use a restrained size increase that still fits the nine-tab
   desktop row. Color remains on icons/numbers; labels and notes stay white. */
#app .premium-app .marketing-hub .mh-metric{
  transform:none!important;
  will-change:auto!important;
}

#app .premium-app .marketing-hub .mh-metric>:is(small,strong,em){
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-synthesis:none!important;
  filter:none!important;
  opacity:1!important;
  text-shadow:none!important;
  transform:none!important;
  text-rendering:auto!important;
  -webkit-font-smoothing:auto!important;
  -moz-osx-font-smoothing:auto!important;
}

#app .premium-app .marketing-hub .mh-metric>:is(small,em){
  color:#f5f6f7!important;
}

@media (min-width:761px){
  #app .premium-app .marketing-hub .mh-tabs>button{
    font-family:"Segoe UI",Arial,sans-serif!important;
    font-synthesis:none!important;
    font-size:13px!important;
    line-height:17px!important;
    font-weight:700!important;
    text-rendering:auto!important;
    -webkit-font-smoothing:auto!important;
    -moz-osx-font-smoothing:auto!important;
  }

  #app .premium-app .marketing-hub .mh-metric>small{
    font-size:13px!important;
    line-height:17px!important;
    font-weight:700!important;
  }

  #app .premium-app .marketing-hub .mh-metric>strong{
    font-size:27px!important;
    line-height:31px!important;
    font-weight:700!important;
  }

  #app .premium-app .marketing-hub .mh-metric>em{
    font-size:12px!important;
    line-height:16px!important;
    font-weight:600!important;
  }
}

#app .premium-app .marketing-hub .mh-hero-actions>.mh-primary,
#app .premium-app .marketing-hub .mh-hero-actions>.mh-primary:is(:hover,:focus,:focus-visible,:active){
  color:#130b04!important;
}

#app .premium-app .marketing-hub .mh-hero-actions>.mh-primary svg{
  color:currentColor!important;
  stroke:currentColor!important;
}

/* Reports Center: its late reference stylesheet used 8–11 px labels. Restore
   the established page/body/caption hierarchy without altering report data,
   grid tracks, panel dimensions, or responsive ownership. */
#app .premium-app .reports-center-page,
#app .premium-app .reports-center-page .report-dialog{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-synthesis:none!important;
  text-rendering:auto!important;
  -webkit-font-smoothing:auto!important;
  -moz-osx-font-smoothing:auto!important;
}

#app .premium-app .reports-center-page :is(
  h2,h3,h4,p,span,small,strong,b,em,button,select,label,option
){
  text-shadow:none!important;
  filter:none!important;
}

#app .premium-app .reports-center-page .report-revenue-svg text{
  font-family:"Segoe UI",Arial,sans-serif!important;
  font-synthesis:none!important;
}

@media (min-width:761px){
  #app .premium-app .reports-center-page h3{
    font-size:16px!important;
    line-height:20px!important;
    font-weight:700!important;
    letter-spacing:0!important;
  }

  #app .premium-app .reports-center-page :is(button,select){
    font-size:13px!important;
    line-height:17px!important;
    font-weight:600!important;
  }

  #app .premium-app .reports-center-page :is(p,em){
    font-size:12.5px!important;
    line-height:17px!important;
  }

  #app .premium-app .reports-center-page small{
    font-size:12px!important;
    line-height:16px!important;
  }

  #app .premium-app .reports-center-page .reports-center-hero>div:nth-child(2)>span{
    font-size:12.5px!important;
    line-height:17px!important;
  }

  #app .premium-app .reports-center-page .report-filter-bar nav b{
    font-size:12px!important;
    line-height:16px!important;
    font-weight:700!important;
  }

  #app .premium-app .reports-center-page .report-kpi small{
    font-size:13px!important;
    line-height:17px!important;
    font-weight:700!important;
    white-space:normal!important;
  }

  #app .premium-app .reports-center-page .report-kpi strong{
    font-size:24px!important;
    line-height:28px!important;
    font-weight:700!important;
  }

  #app .premium-app .reports-center-page .report-kpi em,
  #app .premium-app .reports-center-page .report-kpi b{
    font-size:13px!important;
    line-height:17px!important;
    font-weight:600!important;
    white-space:normal!important;
  }

  #app .premium-app .reports-center-page .report-kpi :is(small,em,b){
    color:#f5f6f7!important;
  }

  #app .premium-app .reports-center-page .report-kpi b svg{
    color:currentColor!important;
    stroke:currentColor!important;
  }

  #app .premium-app .reports-center-page .report-finance-summary span{
    font-size:11px!important;
    line-height:15px!important;
  }

  #app .premium-app .reports-center-page .report-revenue-svg .labels{
    font-size:11px!important;
  }

  #app .premium-app .reports-center-page .report-trade-row,
  #app .premium-app .reports-center-page .revenue-trade>footer,
  #app .premium-app .reports-center-page .top-trades>div,
  #app .premium-app .reports-center-page .crew-productivity>div{
    font-size:12px!important;
    line-height:16px!important;
  }

  #app .premium-app .reports-center-page .report-library-card strong{
    font-size:13px!important;
    line-height:17px!important;
    font-weight:700!important;
  }

  #app .premium-app .reports-center-page .report-library-card small,
  #app .premium-app .reports-center-page .report-attention small{
    font-size:11.5px!important;
    line-height:15px!important;
  }

  #app .premium-app .reports-center-page .report-library-card b,
  #app .premium-app .reports-center-page .report-attention strong{
    font-size:12px!important;
    line-height:16px!important;
    font-weight:700!important;
  }

  #app .premium-app .reports-center-page .report-ai p{
    font-size:12.5px!important;
    line-height:17px!important;
  }
}
