/* SIMPLE_V1: mechanic-first work order layout. Scope all changes to opt-in
   fictional preview orders; never alter legacy clocks or admin controls. */
#workOrdersSection .simple-workflow-order{
  min-width:0;margin:10px 0 24px!important;padding:22px!important;
  border:1px solid #d7e3ec!important;border-radius:18px!important;
  background:#fff!important;box-shadow:0 5px 18px rgba(20,54,83,.06)!important;
  color:#18354e;font-size:15px;line-height:1.48;
}
#workOrdersSection .simple-workflow-order *{box-sizing:border-box}
#workOrdersSection .simple-order-hero{
  padding:12px 18px;border-radius:14px;background:#f3f7fb;
  border:1px solid #e2eaf1;margin-bottom:14px;
}
#workOrdersSection .simple-order-hero-row{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
}
#workOrdersSection .simple-order-eyebrow{
  margin:0 0 3px!important;font-size:12px;font-weight:800;
  letter-spacing:.045em;text-transform:uppercase;color:#356c96;
}
#workOrdersSection .simple-order-title h3{
  font-size:clamp(19px,1.55vw,24px);line-height:1.2;
  letter-spacing:-.015em;color:#173956;margin:0 0 2px;
}
#workOrdersSection .simple-order-vehicle{
  font-size:17px;font-weight:800;color:#28506f;margin:0 0 2px!important;
}
#workOrdersSection .simple-order-meta{
  font-size:14px;color:#425c72;margin:0 0 7px!important;
}
#workOrdersSection .simple-order-status{
  flex:0 0 auto;padding:7px 12px;border-radius:999px;background:#e3edf8;
  border:1px solid #cddfed;color:#245a86;font-size:12px;font-weight:800;
}
#workOrdersSection .simple-progress-heading{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;margin:2px 0 6px;font-size:14px;
}
#workOrdersSection .simple-progress-heading strong{font-weight:800;color:#173956!important}
#workOrdersSection .simple-progress-heading span{color:#3d5a72!important;font-variant-numeric:tabular-nums}
#workOrdersSection .simple-progress-track{
  display:block;overflow:hidden;height:9px;background:#dce6ee;border-radius:999px;
}
#workOrdersSection .simple-progress-track>span{
  display:block;height:100%;background:#198454;border-radius:inherit;transition:width .2s ease;
}
#workOrdersSection .simple-workspace-grid{
  display:grid;grid-template-columns:minmax(0,2.35fr) minmax(280px,.95fr);
  gap:22px;align-items:start;
}
#workOrdersSection .simple-task-list,
#workOrdersSection .simple-order-sidebar{min-width:0}
#workOrdersSection .simple-section-heading{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin:0 0 12px;
}
#workOrdersSection .simple-section-heading h4,
#workOrdersSection .simple-side-card h4{
  font-size:19px;font-weight:800;line-height:1.3;color:#173956;margin:0;
}
#workOrdersSection .simple-section-heading>span{
  background:#eaf3fb;color:#2a5b83;padding:6px 10px;border-radius:8px;
  font-size:13px;font-weight:800;
}
#workOrdersSection .simple-task-stack{display:grid;gap:8px}
#workOrdersSection .simple-task-card{
  padding:12px 14px;border:1px solid #dce6ed;border-radius:12px;
  background:#fff;box-shadow:0 1px 3px rgba(20,54,83,.04);
  min-width:0;
}
#workOrdersSection .simple-task-main{
  display:flex;align-items:center;justify-content:flex-start;gap:12px;min-width:0;
}
#workOrdersSection .simple-task-heading{
  flex:0 1 440px;display:flex;align-items:center;gap:12px;min-width:0;
}
#workOrdersSection .simple-task-number{
  display:grid;place-items:center;min-width:30px;height:30px;
  border-radius:9px;background:#eaf3fb;color:#265c85;
  font-weight:850;font-size:13px;flex:none;
}
#workOrdersSection .simple-task-identity{min-width:0}
#workOrdersSection .simple-task-identity h5{
  overflow-wrap:anywhere;font-size:17px;line-height:1.35;
  font-weight:800;margin:2px 0 4px;color:#18354e;
}
#workOrdersSection .simple-task-assigned{
  color:#64798b;font-size:13px;margin:0!important;
}
#workOrdersSection .simple-task-status{
  display:inline-block;margin-top:5px;padding:3px 8px;
  border-radius:8px;background:#fff2dc;color:#82550d;
  font-size:12px;font-weight:800;white-space:normal;
}
#workOrdersSection .simple-task-card.is-done{
  background:#f7fbf8;border-color:#cfe8db;
}
#workOrdersSection .simple-task-card.is-waiting .simple-task-status{
  background:#fff2dc;color:#82550d;
}
#workOrdersSection .simple-task-allocation{
  margin:4px 0 0!important;color:#38617e;font-size:13px;
  overflow-wrap:anywhere;
}
#workOrdersSection .simple-task-actions{
  display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:center;justify-content:flex-start;
  gap:8px;margin-left:0;
}
#workOrdersSection .simple-task-actions>button[data-action="simpleFinishService"]{
  flex:0 0 auto;min-height:46px;padding:10px 18px;
  border:1px solid #147448;border-radius:9px;background:#147d4b;
  color:#fff;font-size:14px;font-weight:800;box-shadow:none;
}
#workOrdersSection .simple-task-actions>button[data-action="simpleFinishService"]:hover{
  background:#0f653d;
}
#workOrdersSection .simple-task-options{
  position:relative;min-width:105px;margin:0;
}
#workOrdersSection .simple-task-options>summary{
  list-style:none;display:flex;align-items:center;justify-content:center;
  gap:7px;min-height:46px;padding:9px 14px;cursor:pointer;
  border:1px solid #d4e0e9;border-radius:9px;background:#f5f8fb;
  color:#305a79;font-size:14px;font-weight:800;white-space:nowrap;
}
#workOrdersSection .simple-task-options>summary::-webkit-details-marker{display:none}
#workOrdersSection .simple-task-options>summary::before{content:"⋯";font-size:19px;line-height:0}
#workOrdersSection .simple-task-options[open]>summary{
  background:#eaf3fb;border-color:#9dc3df;
}
#workOrdersSection .simple-task-options-content{
  position:relative;z-index:1;min-width:min(100%,320px);
  border:1px solid #dce6ee;border-radius:10px;padding:12px;margin-top:8px;
  background:#fafcff;display:grid;gap:9px;
}
#workOrdersSection .simple-task-options-content>details,
#workOrdersSection .simple-task-options-content>.group-panel{
  margin:0!important;min-width:0;padding:0;
}
#workOrdersSection .simple-task-options-content details.group-panel>summary{
  min-height:44px;display:flex;align-items:center;
  font-size:14px;font-weight:750;line-height:1.3;
  padding:10px 12px;white-space:normal;
}
#workOrdersSection .simple-task-options-content form{
  min-width:0;max-width:100%;
}
#workOrdersSection .simple-task-options-content select,
#workOrdersSection .simple-task-options-content input,
#workOrdersSection .simple-task-options-content textarea{max-width:100%;width:100%}
#workOrdersSection .simple-team-picker{margin:12px 0 0;min-width:0}
#workOrdersSection .simple-team-picker>summary{
  width:fit-content;max-width:100%;min-height:44px;padding:10px 14px;
  border:1px solid #c8d9e6;border-radius:9px;background:#f2f7fb;
  color:#214c70;font-size:14px;white-space:normal;
}
#workOrdersSection .simple-team-picker form{
  display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-top:10px;
}
#workOrdersSection .simple-team-picker label{
  flex:1 1 12rem;min-width:0;flex-direction:column;align-items:stretch;
}
#workOrdersSection .simple-team-picker select{width:100%;max-width:100%}
#workOrdersSection .simple-team-picker form>p{flex-basis:100%;margin:0}
#workOrdersSection .simple-task-note{
  font-size:13px;color:#3c627f;margin:4px 0 0!important;max-width:430px;
}
#workOrdersSection .simple-task-finished{
  color:#187447;font-weight:800;font-size:14px;white-space:nowrap;
}
#workOrdersSection .simple-task-card .task-handoff-pending{
  margin-top:12px;padding:12px;background:#fff8e9;border:1px solid #eed8a7;
}
#workOrdersSection .simple-side-card{
  border:1px solid #dde7ef;border-radius:13px;
  padding:18px;background:#fff;margin-bottom:14px;min-width:0;
}
#workOrdersSection .simple-order-metrics{margin:12px 0 0}
#workOrdersSection .simple-order-metrics>div{
  display:flex;justify-content:space-between;gap:10px;
  align-items:center;padding:11px 0;border-bottom:1px solid #eaf0f4;
}
#workOrdersSection .simple-order-metrics>div:last-child{border-bottom:0}
#workOrdersSection .simple-order-metrics dt{font-size:14px;color:#597184}
#workOrdersSection .simple-order-metrics dd{
  font-weight:850;font-size:16px;margin:0;font-variant-numeric:tabular-nums;
}
#workOrdersSection .simple-side-extras>p{
  font-size:14px;color:#607789;margin:9px 0 13px;
}
#workOrdersSection .simple-side-extras .simple-extra-picker{
  background:#f2f7fb;border:1px solid #d7e4ee;border-radius:9px;
  margin:0!important;padding:0;
}
#workOrdersSection .simple-side-extras .simple-extra-picker>summary{
  padding:13px 14px;min-height:46px;cursor:pointer;
  font-size:14px;font-weight:800;color:#245e8a;
}
#workOrdersSection .simple-side-extras .simple-extra-picker form{
  padding:12px;min-width:0;
}
#workOrdersSection .simple-side-extras .simple-extra-picker input{width:100%;max-width:100%}
#workOrdersSection .simple-side-extras .simple-extra-picker button{min-height:44px}
#workOrdersSection .simple-order-footer{
  margin-top:19px;padding-top:15px;border-top:1px solid #e1e9ef;
}
#workOrdersSection .simple-order-footer>p{font-size:13px;color:#688094;margin:6px 0}
#workOrdersSection .simple-order-footer-actions{display:flex;gap:9px;margin-bottom:11px}
#workOrdersSection .simple-order-footer-actions>button{min-height:44px}
@media(max-width:990px){
 #workOrdersSection .simple-workspace-grid{grid-template-columns:minmax(0,1fr)}
 #workOrdersSection .simple-order-sidebar{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
 }
 #workOrdersSection .simple-side-card{margin-bottom:0}
}
@media(max-width:640px){
 #workOrdersSection .simple-workflow-order{padding:12px!important;border-radius:12px!important}
 #workOrdersSection .simple-order-hero{padding:14px;margin-bottom:15px}
 #workOrdersSection .simple-order-hero-row{gap:10px;flex-wrap:wrap}
 #workOrdersSection .simple-order-title h3{font-size:19px}
 #workOrdersSection .simple-order-meta{font-size:13px}
 #workOrdersSection .simple-order-vehicle{font-size:16px}
 #workOrdersSection .simple-order-sidebar{grid-template-columns:minmax(0,1fr)}
 #workOrdersSection .simple-task-card{padding:13px}
 #workOrdersSection .simple-task-main{flex-direction:column;align-items:stretch;gap:10px}
 #workOrdersSection .simple-task-heading{flex:1 1 auto;width:100%;align-items:flex-start}
 #workOrdersSection .simple-task-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px}
 #workOrdersSection .simple-task-actions>button[data-action="simpleFinishService"]{width:100%;font-size:14px}
 #workOrdersSection .simple-task-options{min-width:0;width:100%}
 #workOrdersSection .simple-task-options>summary{width:100%}
 #workOrdersSection .simple-task-actions:has(>button:only-child){grid-template-columns:minmax(0,1fr)}
 #workOrdersSection .simple-task-options-content{min-width:0}
 #workOrdersSection .simple-team-picker>summary,
 #workOrdersSection .simple-team-picker button[type="submit"]{width:100%;min-height:44px}
 #workOrdersSection .simple-section-heading h4{font-size:18px}
}
@media(prefers-reduced-motion:reduce){
 #workOrdersSection .simple-progress-track>span{transition:none}
}
