:is(#majorEquipmentContent,#fleetContent){--eq-line:#d5e1e3;--eq-teal:#007f79;color:#19383e;max-width:1440px;margin:auto;padding:8px 0 28px}
.eq-receipts{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px;margin:14px 0}.eq-receipts li{display:grid;align-content:start;justify-items:start;gap:5px;min-width:0}.eq-receipts small,.eq-receipt-context{color:#536d74;overflow-wrap:anywhere;white-space:pre-wrap}.eq-service-receipts{margin-top:16px;padding:12px;background:#f3f8f7;border-radius:7px}.eq-service-receipts h3{margin:0!important}.eq-service-receipts .eq-empty-small{padding:0;margin-bottom:0}
/* Match the current workspace controls without inheriting legacy global button layouts. */
@layer property-lens {
  #strongholdApp :is(#majorEquipmentContent,#fleetContent,#majorEquipmentDialog,#fleetVehicleDialog,#vehicleInspectionDialog,#fleetServiceDialog,#fleetServiceRequestDialog) :is(h1,h2,h3,p,small,strong,span,button,label,summary,input,select,textarea,dt,dd){font-family:var(--dlc-body-font),Arial,sans-serif!important;text-transform:none!important;letter-spacing:normal!important;text-shadow:none!important}
  #strongholdApp :is(#majorEquipmentContent,#fleetContent,#majorEquipmentDialog,#fleetVehicleDialog,#vehicleInspectionDialog,#fleetServiceDialog,#fleetServiceRequestDialog) :is(button,input,select,textarea){font-size:14px!important;border-radius:6px!important;box-shadow:none!important;min-height:42px!important}
  #strongholdApp :is(#majorEquipmentContent,#fleetContent,#majorEquipmentDialog,#fleetVehicleDialog,#vehicleInspectionDialog,#fleetServiceDialog,#fleetServiceRequestDialog) button{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:10px 14px!important;background:#fff!important;color:#006e66!important;border:1px solid #c3d7d7!important;line-height:1.3!important}
  #strongholdApp :is(#majorEquipmentContent,#fleetContent,#majorEquipmentDialog,#fleetVehicleDialog,#vehicleInspectionDialog,#fleetServiceDialog,#fleetServiceRequestDialog) :is(button.eq-primary,button[type=submit]){background:#00726a!important;color:#fff!important;border-color:#00726a!important}
  #strongholdApp :is(#majorEquipmentContent,#fleetContent,#majorEquipmentDialog,#fleetVehicleDialog,#vehicleInspectionDialog,#fleetServiceDialog,#fleetServiceRequestDialog) button.danger{color:#a32929!important;border-color:#d9aaaa!important}
  #strongholdApp :is(#majorEquipmentList,#fleetRegistryList){display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))!important;gap:18px!important}
  #strongholdApp :is(#majorEquipmentContent,#fleetContent) button.eq-card{display:block!important;width:100%!important;min-width:0!important;padding:0!important;text-align:left!important;background:#fff!important;color:#19383e!important;border:1px solid #d5e1e3!important;border-radius:12px!important;box-shadow:0 3px 12px #173d4510!important}
  #strongholdApp :is(#majorEquipmentContent,#fleetContent) .eq-card h2{text-align:left!important;font-size:19px!important}
  #strongholdApp :is(#majorEquipmentContent,#fleetContent) .eq-heading h1{font-size:clamp(25px,3vw,34px)!important;line-height:1.2!important;overflow-wrap:anywhere!important}
  #strongholdApp :is(#majorEquipmentContent,#fleetContent) .eq-stats strong{font-size:30px!important}
  #strongholdApp :is(#majorEquipmentContent,#fleetContent) .eq-gallery{grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr))}
  #strongholdApp :is(#majorEquipmentContent,#fleetContent) .eq-gallery>div{min-width:0}
  #strongholdApp :is(#majorEquipmentContent,#fleetContent) .eq-gallery button{white-space:normal!important;overflow-wrap:anywhere}
  #strongholdApp :is(#majorEquipmentContent,#fleetContent) .eq-receipts button{white-space:normal!important;overflow-wrap:anywhere;max-width:100%;text-align:left!important}
  @media(max-width:480px){#strongholdApp :is(#majorEquipmentDialog,#fleetVehicleDialog,#vehicleInspectionDialog,#fleetServiceDialog,#fleetServiceRequestDialog) :is(input,select,textarea){font-size:16px!important}}
}
:is(#majorEquipmentContent,#fleetContent) h1,:is(#majorEquipmentContent,#fleetContent) h2,:is(#majorEquipmentContent,#fleetContent) h3{margin:0;line-height:1.2}
:is(#majorEquipmentContent,#fleetContent) h1{font-size:clamp(25px,3vw,36px)}
:is(#majorEquipmentContent,#fleetContent) h2{font-size:19px}:is(#majorEquipmentContent,#fleetContent) h3{font-size:15px;margin-top:15px}
:is(#majorEquipmentContent,#fleetContent) button,:is(#majorEquipmentDialog,#fleetVehicleDialog,#vehicleInspectionDialog,#fleetServiceDialog,#fleetServiceRequestDialog) button{min-height:40px}
.eq-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 24px}.eq-heading p{color:#516d74;max-width:650px;margin:9px 0 0}.eq-eyebrow{display:block;text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:700;color:#007f79;margin-bottom:8px}
.eq-actions,.eq-meta,.eq-card-flags,.eq-files{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.eq-actions{flex-shrink:0}.eq-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px}.eq-stats>div{display:flex;gap:15px;align-items:center;border:1px solid var(--eq-line);border-radius:10px;background:#f1f7f7;padding:16px 20px}.eq-stats strong{font-size:30px;line-height:1}.eq-stats span{font-size:13px;color:#46646c}
.eq-toolbar{display:flex;align-items:end;gap:14px;margin-bottom:18px}.eq-toolbar label{display:grid;gap:6px;font-size:12px;font-weight:600}.eq-toolbar label:first-child{flex:1}.eq-toolbar input,.eq-toolbar select{width:100%;min-height:42px}.eq-toolbar small{padding-bottom:12px;color:#536d74}
.eq-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.eq-card{display:block!important;text-align:left!important;padding:0!important;overflow:hidden;border:1px solid var(--eq-line)!important;border-radius:12px!important;background:#fff!important;color:#19383e!important;box-shadow:0 3px 12px #173d4510;min-width:0;transition:box-shadow .15s}.eq-card:hover{box-shadow:0 5px 18px #173d4526}.eq-card-photo{height:175px;background:#f0f5f5;position:relative}.eq-card-photo img{width:100%;height:100%;object-fit:contain;padding:8px}.eq-photo-status{position:absolute;left:12px;top:12px}.eq-card-copy{padding:17px}.eq-card-copy>small{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#007f79}.eq-card-copy h2{margin-top:6px!important;overflow-wrap:anywhere}.eq-card-copy p{font-size:13px;color:#536d74;margin:6px 0 16px}.eq-card-copy dl{font-size:12px;margin:0 0 16px;display:grid;gap:7px}.eq-card-copy dl>div{display:grid;grid-template-columns:80px 1fr;gap:7px}.eq-card-copy dt{color:#60767b}.eq-card-copy dd{margin:0;overflow-wrap:anywhere}.eq-badge{display:inline-flex;border-radius:5px;padding:4px 7px;background:#e1f1ef;color:#17675f;font-size:11px;font-weight:650;line-height:1.3}.eq-alert{background:#fff0dd;color:#925a12}.eq-empty{grid-column:1/-1;padding:55px 24px;text-align:center;border:1px dashed #b7cbcd;border-radius:12px;background:#f8fbfb}.eq-empty p{max-width:550px;margin:12px auto 22px;color:#536d74}.eq-empty-small{color:#597077;font-size:13px;line-height:1.6;padding:18px 0}.eq-load-more{text-align:center;margin:24px}.eq-back{margin-bottom:12px}.eq-panel{background:#fff;border:1px solid var(--eq-line);border-radius:12px;padding:22px;margin-bottom:18px;min-width:0}.eq-detail-top{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.65fr);gap:18px}.eq-hero{border:1px solid var(--eq-line);background:#f2f6f6;border-radius:12px;display:flex;align-items:center;justify-content:center;min-height:250px;margin-bottom:18px;overflow:hidden}.eq-hero img{width:100%;max-height:400px;object-fit:contain;padding:15px}.eq-details{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;margin:20px 0 0}.eq-details dt{font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:#5a737a}.eq-details dd{margin:5px 0 0;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}.eq-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.eq-history-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.eq-row-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.eq-row-heading>div{min-width:0}.eq-row-heading small{display:block;margin-top:6px;color:#516d74}.eq-row-heading h2 span{font-weight:400;font-size:13px;color:#647b80}.eq-row-heading strong{overflow-wrap:anywhere}.eq-row-heading button{flex-shrink:0}.eq-total{font-size:12px;color:#536d74}.eq-history-row{border-top:1px solid var(--eq-line);padding:18px 0}.eq-meta{font-size:12px;color:#4b656b;margin:8px 0}.eq-recorded{display:block;font-size:11px;color:#647980;margin-top:13px}.eq-files button{font-size:12px;max-width:100%;overflow-wrap:anywhere;white-space:normal}.eq-resolution{padding:12px;background:#eef7f4;border-radius:6px;font-size:13px}.eq-resolution p{margin-bottom:0}.eq-incident{border-left:4px solid #c58020}.eq-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;margin-top:18px}.eq-gallery>div{display:grid;gap:8px}.eq-gallery img{width:100%;height:150px;object-fit:contain;background:#f3f7f7;border-radius:7px}.eq-audit summary{cursor:pointer;font-size:13px}.eq-audit>details{padding-top:15px}.eq-audit .eq-details{padding:10px;background:#f5f8f8}.eq-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;color:#60787f}.eq-form{width:min(800px,94vw);max-width:100%;padding:25px}.eq-form .eq-row-heading p{font-size:12px;color:#597077;margin:8px 0 15px}.eq-fields{border:0;padding:0;margin:10px 0;display:grid;grid-template-columns:1fr 1fr;gap:16px}.eq-fields label{display:grid;gap:7px;font-size:12px;font-weight:600;min-width:0}.eq-fields input,.eq-fields select,.eq-fields textarea{width:100%;min-width:0;min-height:42px}.eq-fields input[type=file]{font-size:12px}.eq-fields small{font-weight:400;color:#5b7178;line-height:1.5}.eq-wide{grid-column:1/-1}.eq-form-extra{padding:14px;background:#f1f6f6;border-radius:8px}.eq-form-extra summary{cursor:pointer;font-weight:600;font-size:13px}.eq-form-actions{display:flex;justify-content:end;gap:10px;border-top:1px solid #d5e1e3;padding-top:18px;margin-top:20px}.eq-form-error{background:#fff0e7;border:1px solid #e1b38d;padding:12px;border-radius:6px;color:#843b0d;white-space:pre-wrap}
@media(max-width:850px){.eq-heading{align-items:start;flex-direction:column}.eq-detail-top{grid-template-columns:1fr}.eq-hero{max-height:300px}.eq-history-columns{grid-template-columns:1fr}.eq-toolbar{flex-wrap:wrap}.eq-toolbar small{flex-basis:100%;padding:0}.eq-stats>div{padding:13px;flex-direction:column;align-items:start;gap:8px}.eq-stats strong{font-size:25px}.eq-stats span{font-size:11px}.eq-panel{padding:17px}}
@media(max-width:480px){.eq-grid{grid-template-columns:1fr}.eq-heading .eq-actions{width:100%}.eq-heading .eq-actions button{flex:1}.eq-toolbar label:first-child{flex-basis:100%}.eq-toolbar label{flex:1}.eq-details{gap:15px}.eq-fields{grid-template-columns:1fr}.eq-wide{grid-column:1}.eq-form{padding:17px;width:94vw}.eq-row-heading{flex-wrap:wrap}.eq-row-heading h2{font-size:18px!important}.eq-form-actions button{flex:1}.eq-gallery{grid-template-columns:1fr 1fr}.eq-footer{align-items:start;flex-direction:column}.eq-back button{width:100%}}

#fleetContent .eq-photo-empty{display:grid;place-items:center;min-height:175px;width:100%;color:#597077;font-size:14px}#fleetContent .eq-hero .eq-photo-empty{min-height:250px}#fleetContent .fleet-registry-repairs{margin-top:28px}#fleetContent .eq-files a{overflow-wrap:anywhere;max-width:100%}#fleetVehicleForm .fleet-service-truck-toggle{display:flex;align-items:center;gap:10px}#fleetVehicleForm .fleet-service-truck-toggle input{width:20px;min-height:20px}#fleetVehicleForm .fleet-form-wide{grid-column:1/-1}
@layer property-lens {
  #strongholdApp :is(#fleetVehicleForm,#vehicleInspectionForm,#fleetServiceForm,#fleetServiceRequestForm){grid-template-columns:minmax(0,1fr)!important;box-sizing:border-box!important}
  #strongholdApp :is(#fleetVehicleForm,#vehicleInspectionForm,#fleetServiceForm,#fleetServiceRequestForm)>*{min-width:0!important;max-width:100%!important}
  #strongholdApp :is(#fleetVehicleForm,#vehicleInspectionForm,#fleetServiceForm,#fleetServiceRequestForm) menu{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end;gap:8px;padding:18px 0 0;margin:10px 0 0;border-top:1px solid #d5e1e3}
  #strongholdApp :is(#fleetVehicleForm,#vehicleInspectionForm,#fleetServiceForm,#fleetServiceRequestForm) :is(input,select,textarea){box-sizing:border-box!important;max-width:100%!important;min-width:0!important}
}

:is(#fleetServiceForm,#fleetServiceRequestForm) .fleet-form-wide{grid-column:1/-1}
@layer property-lens {
  #strongholdApp #fleetContent .fleet-service-date-vendor{display:flex!important;align-items:baseline!important;gap:8px 14px!important;flex:1;min-width:0}
  #strongholdApp #fleetContent .fleet-service-date{flex-shrink:0}
  #strongholdApp #fleetContent .fleet-service-vendor{min-width:0;overflow-wrap:anywhere;color:#46646c;font-size:13px!important}
  #strongholdApp #fleetContent .fleet-service-vendor strong{color:#19383e}
  @media(max-width:480px){#strongholdApp #fleetContent .fleet-service-heading{display:grid!important;grid-template-columns:minmax(0,1fr)!important}#strongholdApp #fleetContent .fleet-service-heading>button{justify-self:end}}
}

.fleet-status-card{position:relative;min-width:0}.fleet-status-card>.eq-card{height:100%}.fleet-status-card>.fleet-status-trigger{position:absolute;top:12px;left:12px}
@layer property-lens{#strongholdApp #fleetContent .fleet-status-card{position:relative!important}#strongholdApp #fleetContent .fleet-status-card>.fleet-status-trigger{position:absolute!important;top:12px!important;left:12px!important;right:auto!important;bottom:auto!important;z-index:2!important}}
@layer property-lens{#strongholdApp #fleetContent .fleet-status-trigger{min-height:32px!important;padding:5px 8px!important;font-size:11px!important;font-weight:650!important;border:0!important;background:#e1f1ef!important;color:#17675f!important}#strongholdApp #fleetContent .fleet-status-trigger.eq-alert{background:#fff0dd!important;color:#925a12!important}}

@layer property-lens {
  #strongholdApp #fleetContent select.fleet-status-trigger { appearance:auto!important; width:auto!important; max-width:calc(100% - 24px)!important; cursor:pointer; padding:5px 8px!important; background-image:none!important; }
  #strongholdApp #fleetContent select.fleet-status-trigger:focus-visible { outline:2px solid #00726a!important; outline-offset:3px!important; }
}

/* Keep long service histories compact without hiding completed work or attachments. */
@layer property-lens {
  #strongholdApp #fleetContent .fleet-history-sections { display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:18px!important; }
  #strongholdApp #fleetContent .fleet-history-sections>.eq-panel { margin-bottom:0!important; }
  #strongholdApp #fleetContent .fleet-service-panel>.eq-row-heading { align-items:center!important; margin-bottom:12px!important; }
  #strongholdApp #fleetContent .fleet-service-panel .eq-total { margin:6px 0 0!important; }
  #strongholdApp #fleetContent .fleet-service-row { display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; gap:5px 16px!important; padding:12px 0!important; }
  #strongholdApp #fleetContent .fleet-service-row:last-child { padding-bottom:0!important; }
  #strongholdApp #fleetContent .fleet-service-row .fleet-service-heading { grid-column:1/-1!important; align-items:center!important; gap:8px 12px!important; }
  #strongholdApp #fleetContent .fleet-service-row .fleet-service-work { grid-column:1/-1!important; margin:0!important; line-height:1.45!important; }
  #strongholdApp #fleetContent .fleet-service-row .fleet-service-meta { margin:0!important; gap:6px 18px!important; align-self:start!important; min-height:28px!important; }
  #strongholdApp #fleetContent .fleet-service-meta a { color:#00726a!important; text-decoration:underline!important; text-underline-offset:3px; padding:5px 0; }
  #strongholdApp #fleetContent .fleet-service-details { min-width:0!important; color:#46646c; font-size:12px; }
  #strongholdApp #fleetContent .fleet-service-details>summary { cursor:pointer; padding:5px 0!important; min-height:28px; box-sizing:border-box; }
  #strongholdApp #fleetContent .fleet-service-details[open] { grid-column:1/-1!important; }
  #strongholdApp #fleetContent .fleet-service-details>div { padding:12px 14px; background:#f3f7f7; border-radius:6px; }
  #strongholdApp #fleetContent .fleet-service-details h3 { font-size:12px!important; margin:10px 0 4px!important; }
  #strongholdApp #fleetContent .fleet-service-details h3:first-child { margin-top:0!important; }
  #strongholdApp #fleetContent .fleet-service-details p { margin:0 0 6px!important; }
  #strongholdApp #fleetContent .fleet-service-details .eq-recorded { margin-top:6px!important; }
  #strongholdApp #fleetServiceForm #deleteFleetServiceBtn { margin-right:auto!important; }
  #strongholdApp #fleetServiceForm #deleteFleetServiceBtn[hidden] { display:none!important; }
  @media(max-width:600px) {
    #strongholdApp #fleetContent .fleet-service-row { grid-template-columns:minmax(0,1fr)!important; gap:5px!important; }
    #strongholdApp #fleetContent .fleet-service-row .fleet-service-heading { display:flex!important; flex-wrap:wrap!important; }
    #strongholdApp #fleetContent .fleet-service-date-vendor { flex-basis:100%!important; }
    #strongholdApp #fleetContent .fleet-service-row .fleet-service-heading>button { margin-left:auto!important; }
    #strongholdApp #fleetServiceForm #deleteFleetServiceBtn { flex-basis:100%; margin-bottom:6px!important; }
  }
}
