#wlpWorkspaceV2{max-width:980px;margin:1rem auto}#wlpWorkspaceV2 .wlp-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#wlpWorkspaceV2 .wlp-action{min-height:108px;padding:16px;border:1px solid #64748b;border-radius:12px;text-align:left;background:#1e293b;color:#f8fafc;cursor:pointer;font:inherit}#wlpWorkspaceV2 .wlp-action strong{display:block;font-size:1.12rem;margin-bottom:8px}#wlpWorkspaceV2 .wlp-action small{opacity:.85}#wlpWorkspaceV2 .wlp-panel{margin-top:16px;padding:14px;border:1px solid #64748b;border-radius:12px}#wlpWorkspaceV2 .wlp-panel[hidden]{display:none}#wlpWorkspaceV2 .wlp-card{padding:12px;border-bottom:1px solid #64748b}#wlpWorkspaceV2 .wlp-card p{margin:6px 0}#wlpWorkspaceV2 input[type=search]{width:100%;padding:10px}#wlpWorkspaceV2 button:focus-visible,#wlpMainNavV2 button:focus-visible{outline:3px solid #38bdf8;outline-offset:2px}#wlpMainNavV2{display:flex;gap:8px;justify-content:center;margin:8px auto 18px;max-width:980px}#wlpMainNavV2 button{flex:1;min-height:44px}body.wlp-workspace-v2 #nav{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}body.wlp-workspace-v2 #nav button{display:inline-block!important}body.wlp-workspace-v2 #dashboard>#recent,body.wlp-workspace-v2 #dashboard>h3,body.wlp-workspace-v2 #wlpOpenWork{display:none!important}@media(max-width:700px){#wlpWorkspaceV2 .wlp-actions{grid-template-columns:1fr}#wlpWorkspaceV2 .wlp-action{min-height:72px}body.wlp-workspace-v2{padding-bottom:92px!important}#wlpMainNavV2{position:fixed;bottom:0;left:0;right:0;z-index:1000;margin:0;max-width:none;padding:9px 8px calc(9px + env(safe-area-inset-bottom));background:#111827;border-top:1px solid #64748b}#wlpMainNavV2 button{min-width:0;padding:10px 2px;font-size:.82rem}}

/* WrenchLog PRO dashboard cleanup */

/* Hide duplicate legacy dashboard actions, but retain Find Parts */
body.wlp-workspace-v2 #dashboard button {
  /* Existing buttons remain functional unless specifically hidden below */
}

/* Hide the old navigation overflow arrow */
body.wlp-workspace-v2 #nav,
body.wlp-workspace-v2 .nav-next,
body.wlp-workspace-v2 .nav-arrow {
  display: none !important;
}

/* Keep the new workspace visible */
body.wlp-workspace-v2 #wlpWorkspaceV2 {
  display: block !important;
}


/* WrenchLog PRO streamlined dashboard cleanup */

/* Hide duplicate legacy buttons */
body.wlp-workspace-v2 #wlpStreamlineTop > :not(#wlpPartsOpen) {
    display: none !important;
}

/* Keep Find Parts available */
body.wlp-workspace-v2 #wlpStreamlineTop #wlpPartsOpen {
    display: inline-flex !important;
}

/* Hide the legacy empty Open Jobs section heading */
body.wlp-workspace-v2 #dashboard > h2,
body.wlp-workspace-v2 #dashboard > h3 {
    display: none !important;
}

/* Preserve the new workspace */
body.wlp-workspace-v2 #wlpWorkspaceV2 {
    display: block !important;
}



/* WLP_FINAL_DASHBOARD_CLEANUP */
body.wlp-workspace-v2 #wlpStreamlineTop > :not(#wlpPartsOpen) {
    display: none !important;
}
body.wlp-workspace-v2 #wlpStreamlineTop #wlpPartsOpen {
    display: inline-flex !important;
}

/* WLP_DASHBOARD_FOUR_CARDS */
#wlpWorkspaceV2 .wlp-action-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
}

#wlpWorkspaceV2 #wlpPartsOpen.wlp-parts-workspace-card {
  display:flex !important;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  width:100%;
  min-height:105px;
  padding:16px;
  border:1px solid #64748b;
  border-radius:12px;
  background:#1e293b !important;
  color:#f8fafc !important;
  font:inherit;
  font-weight:700;
  text-align:left;
  cursor:pointer;
}

#wlpWorkspaceV2 #wlpPartsOpen.wlp-parts-workspace-card:hover {
  border-color:#ff9800;
}

#dashboard .wlp-obsolete-job-panel {
  display:none !important;
}

@media(max-width:540px) {
  #wlpWorkspaceV2 .wlp-action-grid {
    grid-template-columns:1fr !important;
  }
}

/* WLP_FOUR_CARD_LAYOUT_FINAL */

#wlpWorkspaceV2 .wlp-actions {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
}

#wlpWorkspaceV2 .wlp-actions > .wlp-action,
#wlpWorkspaceV2 .wlp-actions > #wlpPartsOpen {
  box-sizing:border-box;
  width:100%;
  min-height:105px;
  margin:0;
}

#wlpWorkspaceV2 #wlpPartsOpen.wlp-fourth-action {
  display:flex !important;
  align-items:flex-start;
  justify-content:center;
  flex-direction:column;
  padding:16px;
  border:1px solid #64748b;
  border-radius:12px;
  background:#1e293b !important;
  color:#f8fafc !important;
  font:inherit;
  font-weight:700;
  text-align:left;
  cursor:pointer;
}

#wlpWorkspaceV2 #wlpPartsOpen.wlp-fourth-action:hover {
  border-color:#ff9800;
}

#dashboard .wlp-obsolete-service-card {
  display:none !important;
}

@media(max-width:540px) {
  #wlpWorkspaceV2 .wlp-actions {
    grid-template-columns:1fr !important;
  }
}


/* WLP_MOBILE_REPAIR_CLEANUP_V1 — native form and save handlers preserved */
@media(max-width:700px){
  body.wlp-workspace-v2{padding-bottom:16px!important}
  body.wlp-workspace-v2 #wlpMainNavV2{
    position:static!important;bottom:auto!important;left:auto!important;right:auto!important;
    z-index:auto!important;margin:8px auto 16px!important;padding:0 8px!important;
    border:0!important;background:transparent!important;max-width:980px!important;
  }
  body.wlp-workspace-v2 #wlpMainNavV2 button{font-size:.84rem!important;min-height:44px!important}
  body.wlp-mobile-repair-active #wlpWorkspaceV2>.wlp-actions,
  body.wlp-mobile-repair-active #wlpWorkspaceV2>h2,
  body.wlp-mobile-repair-active #wlpWorkspaceV2>.wlp-action-grid{display:none!important}
  body.wlp-mobile-repair-active #wlpWorkspaceV2{margin:0 auto!important}
  body.wlp-mobile-repair-active #wlpGuidedCustomer{
    margin:4px 0 12px!important;padding:12px!important;width:100%!important;
    max-width:none!important;box-sizing:border-box!important;
  }
  body.wlp-mobile-repair-active #wlpGuidedCustomer>p{display:none!important}
  body.wlp-mobile-repair-active #wlpGuidedCustomer>h2{margin:0 0 12px!important;font-size:1.35rem!important}
  body.wlp-mobile-repair-active #wlpGuidedCustomer #serviceForm{
    width:100%!important;max-width:none!important;margin:0!important;
    padding:12px!important;box-sizing:border-box!important;
  }
  body.wlp-mobile-repair-active #serviceForm .fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  body.wlp-mobile-repair-active #serviceForm .fields>label{min-width:0!important;margin:0!important}
  body.wlp-mobile-repair-active #serviceForm .fields>label:has([name="vehicleId"]),
  body.wlp-mobile-repair-active #serviceForm .fields>label:has([name="status"]){display:none!important}
  body.wlp-mobile-repair-active #serviceForm .fields>label:has([name="description"]),
  body.wlp-mobile-repair-active #serviceForm .fields>label:has([name="notes"]){grid-column:1/-1!important}
  body.wlp-mobile-repair-active #serviceForm input,
  body.wlp-mobile-repair-active #serviceForm select,
  body.wlp-mobile-repair-active #serviceForm textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  body.wlp-mobile-repair-active #serviceForm .actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  body.wlp-mobile-repair-active #serviceForm #wlpSaveForLater,
  body.wlp-mobile-repair-active #serviceForm #wlpMarkJobCompleted{flex:1 1 145px!important;min-height:46px!important}
  body.wlp-mobile-repair-active #wlpGuidedCustomer button{min-height:44px}
  body.wlp-mobile-repair-active #serviceForm #wlpServiceStatusPanel{padding:9px!important;margin:10px 0!important}
  body.wlp-mobile-repair-active #serviceForm #wlpServiceStatusHint{display:none!important}
  body.wlp-mobile-repair-active #wlpGuidedCustomer #serviceForm .wlp-help,
  body.wlp-mobile-repair-active #wlpGuidedCustomer #serviceForm .field-help{display:none!important}
}


/* WLP_MOBILE_REPAIR_POLISH_V2 — mobile-only presentation; native fields and handlers remain intact. */
@media(max-width:700px){
  body.wlp-mobile-repair-active #serviceForm{gap:10px!important}
  /* Remove long instructional callouts; required labels and validation remain. */
  body.wlp-mobile-repair-active #serviceForm .wlp-inline-tip,
  body.wlp-mobile-repair-active #serviceForm .wlp-inline-next,
  body.wlp-mobile-repair-active #serviceForm .field-help,
  body.wlp-mobile-repair-active #serviceForm .wlp-help{display:none!important}
  body.wlp-mobile-repair-active #serviceForm>p:first-of-type{display:none!important}
  /* Date and mileage share a compact row; description and notes use full width. */
  body.wlp-mobile-repair-active #serviceForm .fields{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:start!important;
    gap:12px!important;
  }
  body.wlp-mobile-repair-active #serviceForm .fields>label{min-width:0!important;margin:0!important}
  body.wlp-mobile-repair-active #serviceForm .fields>label:has([name="vehicleId"]),
  body.wlp-mobile-repair-active #serviceForm .fields>label:has([name="status"]){display:none!important}
  body.wlp-mobile-repair-active #serviceForm .fields>label:has([name="description"]),
  body.wlp-mobile-repair-active #serviceForm .fields>label:has([name="notes"]){grid-column:1/-1!important}
  body.wlp-mobile-repair-active #serviceForm .fields>label:has([name="description"]){font-weight:700!important}
  body.wlp-mobile-repair-active #serviceForm textarea[name="description"]{min-height:112px!important}
  body.wlp-mobile-repair-active #serviceForm textarea[name="notes"]{min-height:68px!important}
  body.wlp-mobile-repair-active #serviceForm input,
  body.wlp-mobile-repair-active #serviceForm select,
  body.wlp-mobile-repair-active #serviceForm textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  body.wlp-mobile-repair-active #serviceForm .wlp-mobile-parts-details{
    margin:8px 0 12px!important;border:1px solid #475569!important;border-radius:10px!important;
    padding:10px!important;background:rgba(15,23,42,.22)!important;
  }
  body.wlp-mobile-repair-active #serviceForm .wlp-mobile-parts-details>summary{
    cursor:pointer!important;font-weight:700!important;min-height:28px!important;
    display:flex!important;align-items:center!important;
  }
  body.wlp-mobile-repair-active #serviceForm .wlp-mobile-parts-details[open]>summary{margin-bottom:10px!important}
  body.wlp-mobile-repair-active #serviceForm .wlp-mobile-parts-details .actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  body.wlp-mobile-repair-active #serviceForm #wlpServiceStatusPanel{padding:9px!important;margin:8px 0!important}
  body.wlp-mobile-repair-active #serviceForm #wlpServiceStatusHint{display:none!important}
  body.wlp-mobile-repair-active #serviceForm .actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  body.wlp-mobile-repair-active #serviceForm #wlpSaveForLater,
  body.wlp-mobile-repair-active #serviceForm #wlpMarkJobCompleted{flex:1 1 135px!important;min-height:48px!important}
}


/* WLP_REPAIR_IDENTITY_AND_YELLOW_ACTIONS_V1 */
.wlp-repair-identity{
  display:flex;flex-direction:column;gap:3px;
  margin:0 0 12px;padding:11px 13px;
  border:1px solid #526782;border-left:4px solid #ff9d00;
  border-radius:10px;background:#1e293b;color:#f8fafc;
}
.wlp-repair-identity strong{font-size:1rem;font-weight:750}
.wlp-repair-identity div{font-size:.92rem;color:#dbe4ef}
/* During an active repair, every enabled button is clearly actionable and yellow.
   Disabled controls retain their native disabled appearance. */
body.wlp-mobile-repair-active #wlpGuidedCustomer button:not(:disabled){
  background:#ff9d00!important;color:#111827!important;
  border-color:#ffb52e!important;opacity:1!important;
  font-weight:700!important;
}
body.wlp-mobile-repair-active #wlpGuidedCustomer button:not(:disabled):hover{
  background:#ffb52e!important;color:#111827!important;
}
body.wlp-mobile-repair-active #wlpGuidedCustomer button:not(:disabled):focus-visible{
  outline:3px solid #fff!important;outline-offset:2px!important;
}
