/* Service desks, documents and yard planning. Existing phone/native/print layouts
   and the separately approved dispatch, workboard and vessel workspaces are untouched. */
@media screen and (min-width: 901px) and (hover: hover) and (pointer: fine) {
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main { color: var(--mp-ink); font-size: 14px; line-height: 1.5; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(.intake-page,.intake-create-page,.intake-detail-page,.estimates-shell,.hours-report-shell,.yard-logistics-shell) { width: 100%; max-width: none; margin-inline: 0; padding: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(.mp-page-header,.service-page-heading,.intake-create-header,.intake-detail-header,.work-order-hero,.hours-report-hero,.yard-month-toolbar) { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; min-height: 0; margin-bottom: 24px; padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--mp-line); border-radius: 0; color: var(--mp-ink); background: none; box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(.mp-page-header,.work-order-hero,.hours-report-hero)::after { display: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(h1,.h3) { color: var(--mp-ink); font-size: 28px; line-height: 1.2; font-weight: 650; letter-spacing: -.7px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(.mp-page-header,.service-page-heading,.intake-create-header,.intake-detail-header,.hours-report-hero,.yard-month-toolbar) p { max-width: 76ch; margin: 8px 0 0; color: var(--mp-muted); font-size: 14px; line-height: 1.5; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(.service-eyebrow,.intake-eyebrow,.work-order-kicker,.mp-page-header-copy > span) { color: var(--mp-gold); font-size: 11px; font-weight: 650; letter-spacing: .08em; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(.card,.estimate-panel,.hours-panel,.profitability-panel,.profitability-filter-panel) { border: 1px solid var(--mp-line); border-radius: var(--mp-radius); background: var(--mp-surface); box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(.card-header,.card-footer) { padding: 14px 18px; border-color: var(--mp-line); color: var(--mp-ink); background: var(--mp-surface); font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main .card-body { padding: 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(.card-header h2,.card-body h2,.work-order-jobs-heading h2,.intake-form-section h2) { margin-bottom: 12px; font-size: 17px; font-weight: 650; letter-spacing: -.25px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(.form-label,.form-check-label) { margin-bottom: 6px; font-size: 12px; font-weight: 550; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(.form-control,.form-select) { min-height: 36px; border-color: var(--mp-line); border-radius: 6px; font-size: 14px; line-height: 1.4; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main textarea.form-control { min-height: 72px; resize: vertical; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(.form-text,.small,small) { font-size: 12px; line-height: 1.5; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main .input-group-text { padding: 7px 10px; border-color: var(--mp-line); background: var(--mp-canvas); font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main .table { margin-bottom: 0; color: var(--mp-ink); font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main .table > :not(caption) > * > * { padding: 13px 16px; border-color: var(--mp-line); vertical-align: middle; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main .table thead th { color: var(--mp-muted); background: var(--mp-canvas); font-size: 12px; font-weight: 600; white-space: nowrap; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main .table :is(.text-end,.fw-bold) { font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main .table-responsive { border-radius: 9px; overscroll-behavior-inline: contain; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .service-main :is(.dashboard-empty-state,.estimate-empty,.hours-empty,.intake-empty,.profitability-empty) { padding: 32px 20px; color: var(--mp-muted); background: var(--mp-surface); font-size: 14px; }

  /* Work overview: four aligned numbers, then concise operational rows. */
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .service-command-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard :is(.service-command-card,.service-metric) { display: grid; align-content: start; gap: 7px; min-height: 128px; padding: 18px; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); color: var(--mp-ink); background: var(--mp-surface); box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .service-command-card.is-financial { border-top: 3px solid var(--mp-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard :is(.service-command-card,.service-metric) > span { color: var(--mp-muted); font-size: 12px; font-weight: 550; letter-spacing: 0; text-transform: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard :is(.service-command-card,.service-metric) > strong { color: var(--mp-ink); font-size: 28px; line-height: 1.15; font-weight: 650; font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .service-metric { min-height: 112px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .dashboard-dropdown > summary { padding: 16px 18px; border-bottom: 1px solid var(--mp-line); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .dashboard-dropdown > summary strong { color: var(--mp-ink); font-size: 15px; font-weight: 650; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .dashboard-dropdown > summary small { margin-top: 4px; color: var(--mp-muted); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .dashboard-dropdown > summary > b { min-width: 27px; height: 27px; border-radius: 6px; color: var(--mp-gold); background: var(--mp-soft-gold); font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .dashboard-schedule-row { grid-template-columns: 76px minmax(0,1fr) auto; gap: 16px; padding: 16px 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .dashboard-schedule-row :is(strong,time) { font-size: 14px; font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard :is(.dashboard-section-link,.dashboard-selection-bar) { padding: 12px 18px; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .dashboard-interaction-list > article { grid-template-columns: 32px minmax(0,1fr); gap: 14px; padding: 16px 18px; border-color: var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .interaction-type-icon { width: 32px; height: 32px; border-radius: 7px; color: var(--mp-gold); background: var(--mp-soft-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .interaction-heading strong { font-size: 14px; font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-dashboard .dashboard-interaction-list p { margin: 6px 0; font-size: 14px; }

  /* Intake: a triage strip and a record-oriented list; editing keeps all fields. */
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-archive-tabs { display: flex; gap: 22px; margin-bottom: 18px; padding: 0; border-bottom: 1px solid var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-archive-tabs a { padding: 10px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--mp-muted); background: none; font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-archive-tabs a.is-active { border-bottom-color: var(--mp-gold); color: var(--mp-ink); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-summary-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-summary-card { min-height: 84px; padding: 16px; border-radius: 8px; box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-summary-card > span { font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-summary-card > strong { font-size: 27px; font-weight: 650; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-priority-rulebar { padding: 12px 16px; border-radius: 7px; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 16px; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-search { flex: 1 1 240px; min-width: 180px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-filter-field { flex: 1 1 125px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-list { overflow: hidden; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-list-row { display: grid; grid-template-columns: 10px minmax(0,1fr) minmax(145px,.3fr) 20px; align-items: center; gap: 16px; margin: 0; padding: 17px 18px; border: 0; border-bottom: 1px solid var(--mp-line); border-radius: 0; box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-list-main :is(h2,div > strong) { margin: 0 0 6px; color: var(--mp-ink); font-size: 15px; font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes :is(.intake-list-main p,.intake-list-meta) { color: var(--mp-muted); font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intakes .intake-list-meta { text-align: right; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-new .intake-create-card { max-width: 1080px; margin-inline: auto; overflow: visible; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-new .intake-create-card > .card-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-new .intake-form-section { min-width: 0; margin: 0; padding: 0 0 20px; border-bottom: 1px solid var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-new .intake-form-section:is(:first-child,:nth-child(4),:last-child) { grid-column: 1 / -1; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-new .intake-form-section:nth-child(2) .row > div { width: 100%; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-new .intake-form-section:nth-child(3) .row > div { width: 100%; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-new .intake-photo-upload { min-height: 94px; padding: 20px; border: 1px dashed var(--mp-line); border-radius: 7px; background: var(--mp-canvas); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-new .intake-create-actions { justify-content: flex-end; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--mp-line); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-detail .intake-detail-id { flex: 0 0 auto; padding: 10px 16px; border: 1px solid var(--mp-line); border-radius: 7px; color: var(--mp-muted); background: var(--mp-surface); font-size: 11px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-detail .intake-detail-id strong { color: var(--mp-ink); font-size: 20px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-detail .intake-convert-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,1.4fr); gap: 24px; align-items: center; padding: 22px; border: 1px solid var(--mp-line); border-left: 3px solid var(--mp-gold); border-radius: var(--mp-radius); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-detail .intake-convert-card form { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-detail .intake-convert-card form > button { grid-column: 1 / -1; justify-self: end; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-detail .intake-convert-copy :is(h2,p) { color: var(--mp-ink); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-intake-detail .intake-photo-grid { grid-template-columns: repeat(auto-fill,minmax(112px,1fr)); gap: 10px; }

  /* Estimates: status tabs and item rows, with editable job sections below. */
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-tabs { display: flex; gap: 20px; margin: 0 0 20px; padding: 0; border-bottom: 1px solid var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-tab { gap: 8px; padding: 11px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--mp-muted); background: none; font-size: 14px; font-weight: 550; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-tab.active { color: var(--mp-ink); border-bottom-color: var(--mp-gold); background: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-tab.active b { color: var(--mp-gold); background: var(--mp-soft-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-panel-title { gap: 16px; padding: 14px 18px; background: var(--mp-canvas); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-panel-title strong { font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-panel-title span { font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-row { grid-template-columns: minmax(0,1fr) 145px 80px; gap: 22px; padding: 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-row h2 { margin-bottom: 5px; font-size: 16px; font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-row p { font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-row-meta { gap: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-row-meta span { padding: 0; color: var(--mp-muted); background: none; font-size: 12px; font-weight: 400; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .estimate-row-total strong { color: var(--mp-ink); font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates .systems-check-row { grid-template-columns: minmax(0,1fr) minmax(245px,.6fr); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimates :is(.systems-check-findings strong,.systems-check-findings span,.inspection-review-findings summary,.estimate-inline-actions button) { font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .service-collapsible-job { overflow: hidden; border-width: 1px; border-left: 3px solid var(--mp-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .service-collapsible-job > .card-header { padding: 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .service-collapsible-job input[name="name"] { font-size: 18px; font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .service-collapsible-job .text-end { min-width: 170px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .service-collapsible-job .h4 { font-size: 20px; font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .service-job-collapsible-body > .border-top > .d-flex { padding: 12px 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .service-job-collapsible-body .list-group-item { padding: 16px 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .service-job-collapsible-body .list-group-item .row { display: grid; grid-template-columns: minmax(140px,1fr) 72px 86px 90px 54px; align-items: end; gap: 10px; margin: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .service-job-collapsible-body .list-group-item .row > div { width: auto; margin: 0; padding: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .service-job-collapsible-body .list-group-item input[type="number"] { padding-inline: 7px; font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .sticky-form { position: static; border-top: 3px solid var(--mp-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .desktop-service-disclosure > summary { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px; color: var(--mp-ink); cursor: pointer; list-style: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .desktop-service-disclosure > summary > :is(strong,.card-header) { margin: 0; padding: 0 !important; border: 0; color: var(--mp-ink); background: transparent; font-size: 14px; font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .desktop-service-disclosure > summary::after { content: "⌄"; margin-left: auto; color: var(--mp-gold); font-size: 16px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .desktop-service-disclosure[open] > summary::after { content: "⌃"; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .desktop-service-disclosure[open] > summary { border-bottom: 1px solid var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page .desktop-disclosure-state { color: var(--mp-muted); font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail [data-desktop-collapse-label] { margin-bottom: 14px !important; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail #estimate-details .card-body > form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail #estimate-details .card-body > form > :is(p,.row) { grid-column: 1 / -1; margin: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail #estimate-details .card-body > form > .mb-3 { margin: 0 !important; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail #client-approval .desktop-service-disclosure > .card-body { padding: 16px !important; }

  /* Work orders: stable job headers, row-based editing and a distinct totals rail. */
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page [data-desktop-record-heading]:has(> .unified-record-save) { display: grid !important; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 16px 24px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page [data-desktop-record-heading] > .unified-record-save { position: static; grid-column: 2; grid-row: 1; z-index: auto; display: flex; align-items: center; gap: 14px; min-width: 0; max-width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; color: var(--mp-ink); background: transparent; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; transition: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page [data-desktop-record-heading] > .unified-record-save strong { font-size: 12px; font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page [data-desktop-record-heading] > .unified-record-save span { color: var(--mp-muted); font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page [data-desktop-record-heading] > .unified-record-save.is-error :is(strong,span) { color: #a8323e; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page [data-desktop-record-heading] > .unified-record-save .btn { min-height: 38px; padding: 9px 14px; font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page [data-desktop-record-heading] > .unified-record-save.is-visible { position: fixed; inset: auto 20px 20px auto; z-index: 1040; min-width: 320px; max-width: calc(100vw - 40px); padding: 12px 14px; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); background: var(--mp-surface); box-shadow: 0 10px 30px #252b3026; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-page [data-desktop-record-heading] > .unified-record-save.is-visible.is-error { border-color: #a8323e; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order [data-desktop-record-heading]:has(> .unified-record-save) { grid-template-columns: minmax(0,1fr) 300px; gap: 12px 24px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order [data-desktop-record-heading]:has(> .unified-record-save) > .work-order-hero-copy { grid-column: 1; grid-row: 1 / span 2; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order [data-desktop-record-heading]:has(> .unified-record-save) > .work-order-hero-summary { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 4px 12px; min-width: 0; padding: 10px 12px; text-align: right; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail [data-desktop-record-heading]:has(> .unified-record-save) > div:nth-child(2) { grid-column: 1 / -1; justify-content: flex-start !important; padding-top: 14px; border-top: 1px solid var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-hero-copy { min-width: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-hero-copy > a { margin-bottom: 7px; color: var(--mp-gold) !important; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-identity { flex-wrap: wrap; gap: 10px; margin-top: 8px; color: var(--mp-muted) !important; font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-identity span { color: var(--mp-muted) !important; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-hero-summary { min-width: 180px; padding: 12px 16px; border: 1px solid var(--mp-line); border-radius: 7px; color: var(--mp-ink); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-hero-summary > strong { grid-column: 2; grid-row: 1; color: var(--mp-ink) !important; font-size: 22px; font-weight: 650; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-hero-summary > small { grid-column: 2; margin: 0; color: var(--mp-muted) !important; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-hero-summary > small.text-success { grid-column: 1 / -1; color: #34734c !important; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-stage { grid-column: 1; grid-row: 1 / span 2; justify-self: start; margin: 0; padding: 5px 8px; border: 1px solid #c4dfce; border-radius: 5px; color: #25653d !important; background: #ebf7ef !important; font-size: 12px; font-weight: 600; text-align: left; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-stage.is-paused { border-color: #efd1d5; color: #9c303f !important; background: #fcf0f2 !important; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dispatch-readiness-card { margin-bottom: 22px; border: 1px solid var(--mp-line); border-radius: 8px; background: var(--mp-surface); box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dispatch-readiness-card > header { padding: 14px 18px; border-bottom: 1px solid var(--mp-line); color: var(--mp-ink); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dispatch-readiness-body { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 20px; padding: 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dispatch-readiness-jobs { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); align-content: start; gap: 10px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dispatch-readiness-job { padding: 12px; border-radius: 6px; background: var(--mp-canvas); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dispatch-readiness-job > header strong { font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dispatch-gates { gap: 5px; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dispatch-gates span { padding: 4px 6px; border-radius: 4px; font-size: 12px; font-weight: 550; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .desktop-readiness-disclosure > summary { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .desktop-readiness-disclosure > summary > header { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 12px; padding: 0; color: var(--mp-ink); background: transparent; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .desktop-readiness-disclosure > summary > header > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .desktop-readiness-disclosure > summary :is(span,b) { color: var(--mp-muted); font-size: 12px; font-weight: 500; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .desktop-readiness-disclosure > summary strong { color: var(--mp-ink); font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .desktop-readiness-disclosure > summary b.is-ready { color: #25653d; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .desktop-readiness-disclosure > summary::after { content: "Review checks ⌄"; color: var(--mp-gold); font-size: 12px; white-space: nowrap; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .desktop-readiness-disclosure[open] > summary::after { content: "Close checks ⌃"; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .desktop-readiness-disclosure[open] > summary { border-bottom: 1px solid var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .service-main > .row.g-4 > .col-xl-9 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-content: start; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .service-main > .row.g-4 > .col-xl-9 > :not(details),
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .service-main > .row.g-4 > .col-xl-9 > details[open] { grid-column: 1 / -1; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .service-main > .row.g-4 > .col-xl-9 > :is(.work-order-control-panel,.work-job) { min-width: 0; margin-bottom: 0 !important; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-control-panel { margin-bottom: 14px; border: 1px solid var(--mp-line); border-radius: 8px; background: var(--mp-surface); box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-control-panel > summary { padding: 15px 18px; color: var(--mp-ink); font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-control-body { padding: 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-jobs-heading { margin: 10px 0 2px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-clean { border-left: 3px solid var(--mp-gold); overflow: visible; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-clean.is-job-completed { border-left-color: #34734c; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-clean-header { display: grid; grid-template-columns: 34px minmax(0,1fr) auto auto 28px; align-items: start; gap: 12px; padding: 18px; border-bottom: 1px solid var(--mp-line); color: var(--mp-ink); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-clean-header::after { grid-column: 2 / -1; justify-self: end; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-clean-index { width: 32px; height: 32px; border: 1px solid var(--mp-line); border-radius: 6px; color: var(--mp-muted); background: var(--mp-canvas); font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-clean-copy :is(h2,h3) { margin: 2px 0 6px; color: var(--mp-ink); font-size: 18px; line-height: 1.3; font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-clean-copy p { color: var(--mp-muted); font-size: 14px; line-height: 1.5; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-price { min-width: 112px; padding: 0; border: 0; border-radius: 0; color: var(--mp-ink); background: transparent; text-align: right; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-price > span { color: var(--mp-muted); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-price strong { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order :is(.work-job-completion-admin,.job-technician-assignment,.job-timekeeping,.work-job-editor,.work-job-toolbar) { padding: 14px 18px; border-color: var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--mp-canvas); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-margin-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--mp-line); border-radius: 7px; background: var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-margin-grid > div { min-width: 0; padding: 12px; border: 0; border-radius: 0; background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-margin-grid strong { font-size: 17px; font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-line-drop > .list-group-item { padding: 14px 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-line-form .row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order :is(.work-line-form,.job-line-drop) .row > [class*="col-"] { width: auto; min-width: 0; margin: 0; padding: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-line-drop .row { display: grid; grid-template-columns: minmax(140px,1fr) 85px 85px 98px; align-items: end; gap: 10px; margin: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-line-drop .work-charge-line > .row { grid-template-columns: minmax(120px,1fr) 55px 75px 75px 44px 90px; gap: 8px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-line-drop input[type="number"] { padding-inline: 7px; font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-line-drop .row > div:last-child { text-align: right; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-line-drop .row > div:last-child .d-flex { justify-content: flex-end; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-line-drop .row .btn { min-height: 30px; padding: 4px 8px; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .part-fulfillment-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-color: var(--mp-line); background: var(--mp-canvas); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .part-fulfillment-heading { flex: 1 1 175px; margin: 0; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .part-status-steps { flex: 0 1 300px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .part-status-step { padding: 6px 8px; border-radius: 5px; font-size: 12px; font-weight: 550; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .part-status-step:has(input:focus-visible) { outline: 2px solid var(--mp-gold); outline-offset: 2px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-editor > form { display: grid; grid-template-columns: minmax(0,1fr) 110px; gap: 12px; margin: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-editor > form > div { width: auto; margin: 0; padding: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-job-editor > form > .col-md-4 { grid-column: 1 / -1; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-side-rail { display: grid; gap: 16px; position: static; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-summary-card { border-top: 3px solid var(--mp-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-summary-line { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-summary-total { margin-top: 14px; padding: 15px 12px; border-top: 1px solid var(--mp-line); border-radius: 6px; color: var(--mp-ink); background: var(--mp-soft-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-summary-total :is(span,strong) { color: var(--mp-ink); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-summary-total strong { font-size: 24px; font-weight: 650; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-payment-grid > .is-balance { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-payment-grid strong { font-size: 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-photo-hub { padding: 18px; border-color: var(--mp-line); border-radius: 8px; background: var(--mp-surface); box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-photo-hub-header { padding: 0 0 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-photo-hub-header h4 { color: var(--mp-ink); font-size: 16px; font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-photo-hub-header :is(p,.job-photo-eyebrow) { color: var(--mp-muted); font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-photo-empty { margin: 0 0 12px; padding: 10px 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-photo-empty :is(strong,p) { font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-photo-uploader { margin: 0; border-color: var(--mp-line); border-radius: 6px; background: var(--mp-canvas); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-photo-uploader > summary { min-height: 40px; padding: 8px 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-photo-uploader > summary :is(strong,small) { font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-photo-gallery { grid-template-columns: repeat(auto-fill,minmax(148px,1fr)); gap: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .job-photo-preview { aspect-ratio: 4 / 3; }

  /* Functional work-order workspace. These nodes exist only while desktop JS is active. */
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-workspace { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 24px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order :is(.dwo-main,.dwo-sidebar,.dwo-job-content) { min-width: 0; width: 100%; padding: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .work-order-hero.dwo-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 18px; margin-bottom: 18px; overflow: visible; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-heading h1 { font-size: 24px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-heading-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-heading-actions > .unified-record-save { position: static; inset: auto; display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 290px; padding: 0; border: 0; border-radius: 0; opacity: 1; transform: none; background: transparent; box-shadow: none; pointer-events: auto; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-heading-actions > .unified-record-save :is(strong,span) { font-size: 10px; color: var(--mp-muted); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-heading-actions > .unified-record-save.is-error :is(strong,span) { color: #a8323e; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-heading-actions > .unified-record-save .btn { min-height: 40px; font-size: 12px; white-space: nowrap; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-more-actions { position: relative; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-more-actions > summary { padding: 10px 14px; border: 1px solid var(--mp-line); border-radius: 6px; background: #fff; color: var(--mp-ink); font-size: 12px; list-style: none; cursor: pointer; white-space: nowrap; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-more-menu { position: absolute; top: calc(100% + 7px); right: 0; z-index: 1020; display: grid; width: 245px; max-height: 65vh; overflow: auto; padding: 6px; border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; box-shadow: 0 8px 30px #252b3020; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-more-menu button { padding: 10px 12px; border: 0; border-radius: 4px; background: transparent; color: var(--mp-ink); text-align: left; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-more-menu button:hover { background: var(--mp-soft-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-linked-records { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 14px 16px; border: 1px solid var(--mp-line); border-radius: 7px; background: #fff; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-linked-records > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-linked-records > div + div { padding-left: 16px; border-left: 1px solid var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-linked-records strong { font-weight: 500; overflow-wrap: anywhere; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-linked-records a { color: #285da0; text-decoration: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-tabs { display: flex; gap: 24px; margin: 12px 0 14px; border-bottom: 1px solid var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-tabs button { padding: 12px 3px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--mp-muted); font-size: 13px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-tabs button[aria-selected="true"] { border-bottom-color: var(--mp-gold); color: var(--mp-ink); font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-panel-heading { margin: 0 0 16px; padding: 15px 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-panel-heading h2 { margin: 0 0 8px; font-size: 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-panel-heading p { margin: 0; color: var(--mp-muted); font-size: 12px; line-height: 1.6; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-panel-heading button { margin-bottom: 12px; padding: 0; border: 0; color: #285da0; background: transparent; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-sidebar :is(.work-order-summary-card,.dwo-payment-summary,.dwo-communication) { margin: 0; border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order :is(.dwo-payment-summary,.dwo-communication) { padding: 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order :is(.dwo-payment-summary,.dwo-communication) h2 { margin: 0 0 16px; font-size: 15px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-sidebar .work-order-summary-total { padding: 14px 0 0; border-radius: 0; background: transparent; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-sidebar .work-order-summary-total strong { font-size: 20px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-payment-summary .work-order-payment-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 16px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-payment-summary .work-order-payment-grid > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border: 0; border-radius: 0; background: transparent; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-payment-summary .work-order-payment-grid span { color: var(--mp-muted); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-payment-summary .work-order-payment-grid strong { margin: 0; font-size: 16px; font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order [data-dwo-payment-action] > :is(button,a) { display: block; width: 100%; padding: 10px 12px; border: 1px solid #c6a055; border-radius: 5px; background: #fff; color: #89631d; font-size: 12px; text-align: center; text-decoration: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-communication :is(button,a) { display: block; padding: 8px 0; border: 0; color: #285da0; background: transparent; text-align: left; font-size: 12px; text-decoration: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-order-jobs-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; padding: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-order-jobs-heading h2 { margin: 0; font-size: 16px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-order-jobs-heading :is(p,.work-order-kicker) { font-size: 11px; margin: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-job-clean { margin: 0 0 10px !important; border-left-width: 1px; border-radius: 7px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-job-clean-header { grid-template-columns: 22px minmax(0,1fr) auto 30px 28px; align-items: center; gap: 10px; padding: 13px 16px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-job-clean-index { width: 22px; height: 26px; border: 0; background: transparent; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-job-clean-copy h3 { margin: 0; font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-job-clean-copy :is(p,.small) { font-size: 10px; margin: 3px 0 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-job-price { grid-column: 3; min-width: 78px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-job-price strong { font-size: 15px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-job-price :is(span,small) { font-size: 9px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-snapshot { grid-column: 2 / -1; grid-row: 2; color: var(--mp-muted); font-size: 10px; overflow-wrap: anywhere; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .service-job-collapse-toggle { grid-column: 4; grid-row: 1; width: 28px; min-height: 28px; padding: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .service-job-collapse-toggle span { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-job-actions { grid-column: 5; grid-row: 1; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .connected-job-state-row { padding: 7px 16px; font-size: 10px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-support { margin: 12px 16px; border: 1px solid var(--mp-line); border-radius: 6px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-support > summary { padding: 11px 13px; cursor: pointer; color: var(--mp-ink); font-size: 12px; font-weight: 500; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .job-line-drop > .list-group-item { padding: 7px 16px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .job-line-drop .row.dwo-line-grid { display: grid; grid-template-columns: minmax(120px,1fr) 62px 78px 86px 28px; gap: 9px; align-items: center; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-grid [data-dwo-line-field="description"] { grid-column: 1; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-grid [data-dwo-line-field="quantity"] { grid-column: 2; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-grid [data-dwo-line-field="rate"] { grid-column: 3; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-grid [data-dwo-line-field="amount"] { grid-column: 4; text-align: right; font-size: 13px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-grid > [data-dwo-line-field] { grid-row: 1; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-grid > [data-dwo-line-field] :is(input,.small,label) { font-size: 11px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-grid > [data-dwo-line-field] .form-control { min-height: 30px; padding: 5px 6px; border-color: #e7ebed; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-grid .badge { font-size: 9px; font-weight: 500; padding: 3px 6px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-actions { position: relative; grid-column: 5; grid-row: 1; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-actions > summary { padding: 5px; list-style: none; cursor: pointer; text-align: center; font-size: 20px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-actions > div { position: absolute; right: 0; top: 100%; z-index: 1015; display: grid; gap: 12px; width: 270px; padding: 14px; border: 1px solid var(--mp-line); border-radius: 7px; background: #fff; box-shadow: 0 8px 28px #252b3020; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-actions > div > div { width: 100%; padding: 0; text-align: left; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-line-actions .part-fulfillment-panel { display: block; margin: 0 !important; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-add-lines { display: flex; flex-wrap: wrap; gap: 16px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-add-lines button { padding: 3px 0; border: 0; background: transparent; color: #285da0; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-add-lines button::before { content: "+ "; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-job-content .work-job-toolbar { padding: 10px 16px; background: #fff; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-photo-group { margin-bottom: 20px; border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-photo-group > h3 { margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--mp-line); font-size: 15px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-history-list { display: grid; gap: 10px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-history-list > article { padding: 17px 18px; border: 1px solid var(--mp-line); border-radius: 7px; background: #fff; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-history-list article > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: var(--mp-muted); font-size: 10px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-history-list h3 { margin: 0 0 7px; font-size: 13px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-history-list p { margin: 0; color: #4f5b62; font-size: 12px; line-height: 1.7; white-space: pre-wrap; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-empty { padding: 24px 18px; color: var(--mp-muted); font-size: 13px; }

  /* Invoices remain real document content; this affects screen presentation only. */
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoices .service-metric { min-height: 110px; padding: 18px; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); background: var(--mp-surface); box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoices .service-metric > span { color: var(--mp-muted); font-size: 12px; text-transform: none; letter-spacing: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoices .service-metric > strong { color: var(--mp-ink); font-size: 28px; font-weight: 650; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoices .table td:nth-child(5) { text-align: right; font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoices .table th:nth-child(5) { text-align: right; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoice-detail .invoice-sheet { max-width: 1180px; padding: 28px; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); background: var(--mp-surface); box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoice-detail .marinepro-document-header { align-items: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--mp-ink); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoice-detail .invoice-work-summary { padding: 16px 18px; border: 1px solid var(--mp-line); border-radius: 7px; background: var(--mp-canvas); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoice-detail .invoice-job-group { margin-top: 20px; border-color: var(--mp-line); border-radius: 7px; box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoice-detail .invoice-job-line-heading { padding: 12px 16px; font-size: 14px; background: var(--mp-canvas); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoice-detail .invoice-balance-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 24px; padding: 20px; border: 1px solid var(--mp-line); border-radius: 8px; background: var(--mp-soft-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoice-detail .invoice-balance-summary strong { font-size: 23px; font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoice-detail .invoice-payment-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-invoice-detail .invoice-payment-options > article { padding: 16px; border: 1px solid var(--mp-line); border-radius: 8px; background: var(--mp-surface); }

  /* Catalog and calculator: keep entry beside the list / computed quote. */
  html:not(.is-native-app) body.desktop-refresh.desktop-service-inventory .service-main > .row { display: grid; grid-template-columns: minmax(240px,.85fr) minmax(0,2fr); align-items: start; gap: 20px; margin: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-inventory .service-main > .row > [class*="col-"] { width: auto; margin: 0; padding: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-inventory .sticky-form { position: sticky; top: 88px; border-top: 3px solid var(--mp-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-inventory .col-xl-8 .inventory-item-form > .row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-inventory .col-xl-8 .inventory-item-form > .row > div { width: auto; margin: 0; padding: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-inventory .col-xl-8 .inventory-item-form > .row > .col-md-4 { grid-column: span 2; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator #detailingCalculator { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; margin: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator #detailingCalculator > [class*="col-"] { width: auto; margin: 0; padding: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator #detailingCalculator > .col-12 { grid-column: 1 / -1; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator .detail-area-card { border: 1px solid var(--mp-line); border-radius: 8px; box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator .detail-area-card > header { align-items: start; padding: 16px; background: var(--mp-canvas); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator .detail-pass-row { display: grid; grid-template-columns: 22px minmax(0,1fr) 96px 66px; gap: 8px; padding: 12px 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator .detail-pass-row strong { font-size: 13px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator .detail-pass-row small { font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator .detail-addon { padding: 16px; border: 1px solid var(--mp-line); border-radius: 8px; background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator .detailing-summary-stack { position: static; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator .detailing-quote-summary { border-top: 3px solid var(--mp-gold); color: var(--mp-ink); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator #detailFinal { color: var(--mp-ink); font-size: 34px; font-weight: 650; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator .detail-condition-explanation { padding: 12px 16px; border-radius: 6px; font-size: 12px; }

  /* Reports: readable, aligned figures, with semantics retained for losses/live time. */
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-division-tabs { display: flex; gap: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-division-tabs a { flex: 0 1 300px; padding: 12px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--mp-muted); background: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-division-tabs a.active { border-bottom-color: var(--mp-gold); color: var(--mp-ink); background: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-filter-panel { padding: 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-filter-form { display: grid; grid-template-columns: minmax(145px,1fr) minmax(145px,1fr) auto; align-items: end; gap: 14px; padding: 14px 0 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-date-field { grid-row: 1; min-width: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-date-field:nth-of-type(1) { grid-column: 1; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-date-field:nth-of-type(2) { grid-column: 2; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-run-button { grid-column: 3; grid-row: 1; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-category-field { grid-column: 1 / -1; grid-row: 2; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-filter-form :is(.profitability-date-field > label,legend) { margin-bottom: 6px; color: var(--mp-muted); font-size: 12px; font-weight: 550; letter-spacing: 0; text-transform: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-filter-form .service-report-checks { display: flex; flex-wrap: wrap; gap: 8px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-filter-form .service-report-checks label { min-height: 32px; padding: 6px 10px; border-radius: 5px; font-size: 12px; font-weight: 500; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-basis-note { margin-top: 16px; color: var(--mp-muted); font-size: 12px; line-height: 1.6; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .desktop-note-disclosure { margin-top: 14px; border-top: 1px solid var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .desktop-note-disclosure > summary { min-height: 0; padding: 10px 0 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .desktop-note-disclosure > summary > strong { color: var(--mp-muted); font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .desktop-note-disclosure[open] > summary { border-bottom: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .desktop-note-disclosure > .profitability-basis-note { margin: 0; padding: 12px 0 0; border: 0; background: transparent; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-kpis { display: grid; grid-template-columns: repeat(auto-fit,minmax(155px,1fr)); gap: 12px; margin-block: 20px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-kpis > article { min-height: 124px; padding: 18px; border: 1px solid var(--mp-line); border-radius: 8px; color: var(--mp-ink); background: var(--mp-surface); box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-kpis > article.is-primary { border-top: 3px solid var(--mp-gold); background: var(--mp-soft-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-kpis > article.is-negative strong { color: #a8323e; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-kpis strong { font-size: 25px; font-weight: 650; font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-kpis :is(span,small) { font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-panel > header { padding: 18px; border-bottom: 1px solid var(--mp-line); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-panel > header h2 { font-size: 17px; font-weight: 650; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-category-table :is(th,td) { padding: 14px 18px; font-size: 14px; border-color: var(--mp-line); font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-category-table thead th { color: var(--mp-muted); background: var(--mp-canvas); font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-activity-list > article { gap: 16px; padding: 16px 18px; border-color: var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-report-hero > div:last-child { display: flex; flex: 0 0 230px; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--mp-line); border-radius: 8px; color: var(--mp-muted); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-report-hero > div:last-child strong { color: var(--mp-gold); font-size: 30px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-report-hero > div:last-child span { color: var(--mp-muted); font-size: 12px; font-weight: 550; text-transform: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-report-filter { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; gap: 12px; padding: 18px; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-filter-person { grid-column: 1 / -1; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-report-filter :is(input,select) { min-height: 38px; border: 1px solid var(--mp-line); border-radius: 6px; padding: 7px 10px; font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-report-filter label { margin-bottom: 6px; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-overview { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin-block: 20px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-overview > article { padding: 18px; border: 1px solid var(--mp-line); border-radius: 8px; color: var(--mp-ink); background: var(--mp-surface); box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-overview > article.is-gold { border-top: 3px solid var(--mp-gold); background: var(--mp-soft-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-overview strong { font-size: 26px; font-weight: 650; font-variant-numeric: tabular-nums; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-overview :is(span,small) { font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-panel > header { padding: 18px; border-bottom: 1px solid var(--mp-line); background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-panel > header h2 { font-size: 17px; font-weight: 650; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-person-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(255px,1fr)); gap: 16px; padding: 18px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-person-grid > article { border: 1px solid var(--mp-line); border-radius: 8px; padding: 16px; box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-person-head strong { font-size: 15px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-person-grid dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-job-list > a { padding: 15px 18px; }

  /* Yard schedules remain one chronological grid, not rearranged workflow states. */
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-logistics-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 20px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-logistics-summary > article { min-height: 105px; padding: 18px; border-radius: 8px; box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-logistics-summary strong { font-size: 26px; font-weight: 650; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule :is(.yard-logistics-create-panel,.yard-schedule-filter-panel) { padding: 18px; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); background: var(--mp-surface); box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-logistics-form-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-schedule-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-week-board { margin-top: 20px; padding-bottom: 12px; border: 0; border-radius: 0; background: none; overflow-x: auto; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-week-grid { display: grid; grid-template-columns: repeat(7,minmax(190px,1fr)); gap: 12px; min-width: 1402px; align-items: stretch; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-day-column { min-height: 360px; padding: 0; border: 1px solid var(--mp-line); border-radius: 8px; background: var(--mp-surface); box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-day-column > header { padding: 14px; border-bottom: 1px solid var(--mp-line); border-radius: 7px 7px 0 0; background: var(--mp-canvas); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-day-column.is-today { border-top: 3px solid var(--mp-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-day-events { display: grid; align-content: start; gap: 10px; padding: 10px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-event-card { padding: 12px; border-radius: 6px; box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-event-card :is(time,strong) { font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-event-card :is(small,.yard-event-client,.yard-event-notes,.yard-event-route) { font-size: 12px; line-height: 1.45; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule .yard-event-editor > summary { padding-block: 9px; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule-month .yard-month-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1px solid var(--mp-line); border-radius: 8px; background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule-month .yard-month-legend { gap: 16px; font-size: 12px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule-month .yard-month-shell { margin-top: 20px; overflow-x: auto; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); background: var(--mp-surface); box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule-month .yard-month-grid { grid-template-columns: repeat(7,minmax(145px,1fr)); min-width: 1015px; gap: 1px; background: var(--mp-line); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule-month .yard-month-weekday { padding: 12px; color: var(--mp-muted); background: var(--mp-canvas); font-size: 12px; font-weight: 600; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule-month .yard-month-day { min-height: 165px; padding: 10px; border: 0; background: var(--mp-surface); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule-month .yard-month-day.outside-month { background: var(--mp-canvas); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule-month .yard-month-day > header strong { font-size: 14px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule-month .yard-month-day.is-today > header strong { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: var(--mp-gold); background: var(--mp-soft-gold); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule-month .yard-month-event { margin-bottom: 6px; padding: 8px; border-radius: 5px; box-shadow: none; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-schedule-month .yard-month-event :is(time,strong,span,small) { font-size: 12px; line-height: 1.4; }
}

@media screen and (min-width: 901px) and (hover: hover) and (pointer: fine) and (min-width: 1250px) {
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-workspace { grid-template-columns: minmax(0,1fr) 310px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .dwo-sidebar { display: grid; grid-template-columns: minmax(0,1fr); }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .service-main > .row.g-4 { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 22px; margin: 0; align-items: start; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-estimate-detail .service-main > .row.g-4 > [class*="col-"] { width: auto; margin: 0; padding: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .service-main > .row.g-4 { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 22px; margin: 0; align-items: start; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-work-order .service-main > .row.g-4 > [class*="col-"] { width: auto; margin: 0; padding: 0; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator #detailingCalculator { grid-template-columns: minmax(0,1fr) 300px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator .detail-area-card { height: 100%; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator .detail-pass-row { grid-template-columns: 18px minmax(0,1fr) 86px; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-calculator .detail-pass-row > .detail-service-total { grid-column: 3; text-align: right; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-filter-form { grid-template-columns: 155px 155px minmax(0,1fr) auto; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-category-field { grid-column: 3; grid-row: 1; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-reports .profitability-run-button { grid-column: 4; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-report-filter { grid-template-columns: 155px 155px minmax(170px,1fr) auto auto; }
  html:not(.is-native-app) body.desktop-refresh.desktop-service-hours .hours-filter-person { grid-column: auto; }
}
