.sr-create{color:#173e40;background:#f3f7f6;border:1px solid #dce7e4;border-radius:12px;padding:0;direction:rtl}.sr-create button,.sr-create input,.sr-create select,.sr-create textarea{font-family:inherit}.sr-create-top{display:flex;justify-content:space-between;align-items:center;background:#145949;color:#fff;padding:12px 24px}.sr-create-top strong{font-size:22px;direction:ltr}.sr-create-top>div{display:flex;gap:12px}.sr-create-top button{background:transparent;border:0;color:#fff}.sr-create-title{text-align:center;padding:14px 20px 10px}.sr-create-title h2{margin:0;font-size:28px}.sr-create-title p{margin:4px 0;color:#73898d}.sr-create form{padding:0 24px 20px}.sr-create-grid{display:grid;grid-template-columns:1fr 1.18fr;gap:18px;min-height:0}.sr-create-panel{padding:20px;background:#fff;border:1px solid #dde7e4;border-radius:12px;min-width:0}.sr-create-panel h3{margin:0 0 12px;font-size:19px}.sr-create-panel>header{display:flex;justify-content:space-between;align-items:center;gap:12px}.sr-create label{margin:0;display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:14px}.sr-create input:not([type=checkbox]):not([type=radio]):not([type=file]),.sr-create select,.sr-create textarea{width:100%;min-height:36px;border:1px solid #ccd9d7;border-radius:7px;padding:7px 10px;font-size:14px;background:#fff;color:#173e40;box-sizing:border-box}.sr-create textarea{resize:none;min-height:52px}.sr-request{display:flex;flex-direction:column;gap:12px}.sr-lookup{display:flex;gap:10px}.sr-lookup input{min-width:0}.sr-lookup button{white-space:nowrap;font-size:13px}.sr-client{padding:12px;background:#f0f6f4;border-radius:8px;min-height:54px;font-size:14px}.sr-client p{margin:4px 0 0}.sr-reasons{margin:0;padding:0;border:0}.sr-reasons legend{font-size:14px;font-weight:700;padding:0 0 4px}.sr-reasons label{display:flex;flex-direction:row;align-items:center;border:1px solid #dce5e2;border-radius:6px;padding:9px;font-weight:400;gap:9px;margin-bottom:4px}.sr-reasons input{width:17px;height:17px;accent-color:#12634c}.sr-reasons summary{font-size:12px;color:#72898b;cursor:pointer}.sr-create .sr-inline{flex-direction:row;align-items:center;gap:8px;font-size:13px}.sr-inline input{width:18px;height:18px;accent-color:#12634c}.sr-task-panel{display:flex;flex-direction:column}.sr-task-tabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:8px}.sr-task-tabs button{padding:3px 10px;font-size:12px;min-height:28px}.sr-task-tabs .selected{background:#e6f4ec;color:#12634c}.sr-create .op-task{border:0;padding:0;margin:0;min-width:0}.sr-create .op-task[hidden]{display:none!important}.sr-task>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sr-task>label,.sr-task>.sr-task-main,.sr-task>.sr-media-field{margin-bottom:10px}.sr-task-main{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sr-task>div:first-of-type{grid-template-columns:2fr 1fr}.sr-task p.factory-loading-note{font-size:12px;background:#fff5df;padding:8px;margin:0 0 8px;border-radius:6px}.sr-task [hidden]{display:none!important}.sr-task-footer{display:flex;align-items:end;gap:12px;justify-content:space-between}.sr-task-footer label{font-size:12px;flex:1}.sr-task-footer input{max-width:100%;font-size:11px}.sr-task-footer button{font-size:11px;padding:5px 9px;min-height:28px}.sr-media-field>strong{font-size:14px}.sr-create .sr-upload{border:1px dashed #b4c8c0;padding:8px;margin-top:5px;border-radius:6px;color:#12634c;flex-direction:row;align-items:center;justify-content:space-between;font-size:13px;cursor:pointer}.sr-upload input{font-size:11px;max-width:220px}.sr-media-field>small{display:block;font-size:11px;color:#71888a;margin-top:3px}.sr-previews{display:flex;gap:8px;max-width:100%;overflow-x:auto;padding:4px 0}.sr-previews:empty{display:none}.sr-previews figure{margin:0;flex:0 0 125px;position:relative}.sr-previews img,.sr-previews video{height:68px;width:125px;object-fit:cover;border-radius:6px;background:#e6eeee}.sr-previews button{position:absolute;left:3px;top:3px;border-radius:50%;padding:0;width:22px;height:22px;min-height:0;background:#fff}.sr-previews figcaption{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sr-create-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;background:#fff;border:1px solid #dde7e4;border-radius:10px;margin-top:12px;padding:10px 16px}.sr-create-actions .error{margin:0;flex:1;font-size:13px}.sr-create-actions .primary{background:#12634c;min-width:160px}.sr-service-pair{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:20px;align-items:stretch}.sr-service-task-column{display:flex;flex-direction:column;gap:18px;min-width:0}.sr-service-task-column>.svc-task-card:only-child{height:100%;box-sizing:border-box}.sr-carrier-card{background:#fff;border:1px solid #e0e9e5;border-radius:14px;box-shadow:0 4px 12px #244b3c06;overflow:hidden;color:#173e40;min-width:0}.sr-carrier-card>header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e8efeb}.sr-carrier-card header h3{margin:0;font-size:21px}.sr-carrier-body{padding:22px 24px;display:flex;flex-direction:column;gap:14px}.sr-carrier-body>h3{margin:0;font-size:23px}.sr-driver-phone{font-size:21px;font-weight:700;text-decoration:underline;align-self:flex-start}.sr-carrier-card dl{display:flex;gap:24px;flex-wrap:wrap;margin:0;border-top:1px solid #e6eeeb;padding-top:14px;font-size:14px}.sr-carrier-card dl>div{display:flex;gap:8px}.sr-carrier-card dd{margin:0}.sr-carrier-card dt{color:#718789}.sr-receipt{padding:13px 16px;border:1px solid #e5b251;background:#fff8ec;color:#a16616;border-radius:8px;display:flex;flex-direction:column;gap:4px}.sr-receipt.acknowledged{background:#e9f7ef;border-color:#88c8a3;color:#16764d}.sr-receipt small{color:#718589}.sr-driver-progress{list-style:none;display:grid;gap:11px;margin:0;padding:0}.sr-driver-progress li:before{content:'○';margin-left:12px;color:#a4b4b2;font-weight:700}.sr-driver-progress .done:before{content:'✓';color:#16815b}.sr-driver-progress .current:before{content:'◷';color:#d6962c}.sr-current-driver{margin:0;font-size:14px}.sr-driver-note{background:#ecf7f0;border-radius:8px;padding:12px;font-size:13px;margin:0}.sr-carrier-body footer{display:flex;gap:12px;margin-top:auto;align-items:center}.sr-carrier-body footer>*{flex:1;text-align:center;padding:9px;border:1px solid #b8cec4;border-radius:7px;background:#fff;color:#125d46;font-size:13px}.sr-task-media{border-top:1px solid #e4ece7;padding-top:12px;margin:12px 0}.sr-task-media>h4{margin:0 0 8px!important;font-size:15px!important}.sr-task-media>div{display:flex;gap:12px;flex-wrap:wrap}.sr-task-media img,.sr-task-media video{width:155px;height:96px;object-fit:cover;border-radius:8px;background:#e8efeb}.sr-task-media .sr-video{margin:0}.sr-video video{max-width:100%;width:240px;height:140px;background:#1c3030}.sr-video figcaption{font-size:11px;max-width:220px;overflow-wrap:anywhere}.sr-add-media{display:block;font-size:12px;color:#166349;margin-top:8px;cursor:pointer}.sr-add-media input{display:block;font-size:11px;margin-top:4px;max-width:100%}.sr-already-assigned{display:none!important}.svc-designed .svc-heading{padding-top:10px;padding-bottom:12px}.svc-designed .svc-summary>div{min-height:65px;padding:12px 18px}.svc-designed .svc-summary svg{width:28px}.svc-designed .svc-summary strong{font-size:23px}.svc-designed .svc-tabs{margin-top:6px}.svc-designed .svc-brand{gap:10px}.svc-designed .svc-brand>strong{margin-left:auto}
@media(min-width:1024px){.sr-create{width:calc(100vw - 56px);max-width:1640px;height:calc(100dvh - 40px);max-height:none!important;overflow:hidden!important;margin:auto!important;box-sizing:border-box}.sr-create[open]{display:flex;flex-direction:column}.sr-create-top{flex-shrink:0}.sr-create-title{flex-shrink:0}.sr-create form{flex:1;min-height:0;display:flex;flex-direction:column}.sr-create-grid{flex:1}.sr-create-panel{overflow:auto}.sr-task-panel #op-tasks{min-height:0;flex:1}.sr-create .sr-task-footer{margin-top:auto}}
@media(min-width:1024px) and (max-height:850px){.sr-create-title{padding:7px}.sr-create-title h2{font-size:23px}.sr-create-title p{font-size:13px}.sr-create-panel{padding:12px 16px}.sr-request{gap:8px}.sr-create label{gap:3px;font-size:13px}.sr-create input:not([type=checkbox]):not([type=radio]):not([type=file]),.sr-create select{min-height:31px;padding:4px 8px;font-size:13px}.sr-create textarea{min-height:43px;height:43px;padding:5px 8px}.sr-task>label,.sr-task>.sr-task-main,.sr-task>.sr-media-field{margin-bottom:7px}.sr-reasons label{padding:6px}.sr-client{padding:8px;min-height:44px}.sr-create-top{padding:8px 20px}.sr-create-top strong{font-size:19px}.sr-create-actions{padding:7px 12px;margin-top:8px}.sr-task-tabs{margin-bottom:4px}.sr-create-panel h3{margin-bottom:7px}.sr-previews img,.sr-previews video{height:55px}.sr-upload{padding:5px!important}.sr-create form{padding-bottom:12px}}
@media(max-width:1023px){.sr-create{width:calc(100vw - 24px);max-width:680px;max-height:calc(100dvh - 24px);overflow:auto}.sr-create-grid{grid-template-columns:1fr}.sr-create form{padding:0 12px 12px}.sr-create-top{padding:10px}.sr-create-top strong{font-size:15px}.sr-create-top button{font-size:11px;padding:5px}.sr-create-panel{padding:14px}.sr-create-actions{position:sticky;bottom:-12px;z-index:2}.sr-create-actions .primary{min-width:0}.sr-service-pair{grid-template-columns:1fr!important}.sr-carrier-card>header{padding:16px}.sr-carrier-body{padding:16px}.sr-task-footer{flex-wrap:wrap}.sr-upload{flex-direction:column!important;align-items:start!important}}
/* Keep legacy dialog rules from expanding the new form's controls. */
#operations-dialog.sr-create>.sd-dialog-navigation{display:none!important}
#operations-dialog.sr-create form{gap:0!important}
#operations-dialog.sr-create .sr-reasons input[type=radio],#operations-dialog.sr-create .sr-inline input[type=checkbox]{display:inline-block!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;flex:0 0 18px!important;padding:0!important;margin:0!important}
#operations-dialog.sr-create .sr-reasons label{justify-content:flex-start!important;line-height:1.45!important}
#operations-dialog.sr-create label{line-height:1.5!important}
#operations-dialog.sr-create input:not([type=radio]):not([type=checkbox]):not([type=file]),#operations-dialog.sr-create select{height:36px;min-height:36px;line-height:1.4}
#operations-dialog.sr-create textarea{height:52px;min-height:52px;line-height:1.4}
#operations-dialog.sr-create .sr-create-title{padding:10px 20px}
#operations-dialog.sr-create .sr-create-title h2{margin:0!important}
#operations-dialog.sr-create .sr-task-panel>header>h3{margin:0}
@media(min-width:1024px){#operations-dialog.sr-create .sr-create-panel{padding:16px 20px}.sr-create .sr-request{gap:10px}#operations-dialog.sr-create .sr-reasons label{padding:7px 9px}.sr-create-top{min-height:48px;box-sizing:border-box}}
@media(min-width:1024px) and (max-height:850px){#operations-dialog.sr-create input:not([type=radio]):not([type=checkbox]):not([type=file]),#operations-dialog.sr-create select{height:30px!important;min-height:30px!important}#operations-dialog.sr-create textarea{height:40px!important;min-height:40px!important}#operations-dialog.sr-create .sr-create-panel{padding:10px 14px}.sr-create .sr-request{gap:7px}#operations-dialog.sr-create .sr-reasons label{padding:5px 7px}.sr-create .sr-task>label,.sr-create .sr-task>.sr-task-main,.sr-create .sr-task>.sr-media-field{margin-bottom:5px}}
.sr-carrier-card>header>svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7}

/* —— Service page scroll + visible driver-assign refusal, 2026-11-12 —— */
/* Designed service page (.svc-designed / .svc-shell) is not wrapped in
   .ow-panels. On shop desktop ≥761px the fixed workspace is overflow:hidden
   (order-workspace.css v613), so the page cannot scroll. This override is
   limited to the designed service workspace; regular order cards still
   scroll via .ow-panels, and v614 .ow-sticky/.ow-topline/.ow-toolbar/.ow-more
   { overflow: visible } is left untouched. */
@media (min-width: 761px) {
  .order-row[open] > .order-row-details > .order-workspace.service-order-workspace.svc-designed,
  .order-row[open] > .order-row-details > .order-workspace.svc-designed {
    overflow: auto;
  }
  .svc-designed > .svc-shell {
    min-height: 100%;
    box-sizing: border-box;
  }
}

/* #notice is z-index:3 in app.css; the fullscreen workspace is 50 and the
   «עדכון תצוגה» chip is 70. On the shop dashboard, dashboard-dense.css also
   parks #notice at z-index:60 in the sidebar corner (right:12px, ~220px wide),
   which sits under the chip. When a workspace is open, restore a centered
   toast above both. */
body.ow-active #notice,
body.sd-dashboard.ow-active #notice {
  z-index: 90;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: 28px;
  width: auto;
  max-width: min(650px, 90vw);
}

.sr-carrier-body > button[data-op="service-assign"]:disabled {
  cursor: not-allowed;
  opacity: 1;
  background: #e8eeea;
  color: #4a6460;
  border-color: #c5d4ce;
}
.sr-assign-blocked {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff4e5;
  border: 1px solid #e5b251;
  color: #8a4b0f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
/* service-driver-assign-simple-20261118: mover state in the carrier card */
.sr-mover-steps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:0;padding:0;font-size:12px;text-align:center}
.sr-mover-steps li{padding:6px 2px;border-radius:7px;background:#f1f4f3;color:#7b8c8d;font-weight:600}
.sr-mover-steps li.done{background:#e6f4ec;color:#16764d}
.sr-mover-steps li.done:before{content:'✓ '}
.sr-mover-steps li.current{background:#fff4df;color:#a16616}
.sr-coord{color:#16764d!important;font-weight:600}
.sr-mover-content{border:1px solid #e3ebe7;border-radius:8px;padding:6px 10px;font-size:13px}
.sr-mover-content summary{cursor:pointer;font-weight:700;color:#125d46}
.sr-mover-content p{margin:4px 0}
.sr-carrier-body .sr-wa-mover{background:#1f9d55;border-color:#1f9d55;color:#fff;font-weight:700;min-height:42px;border-radius:9px}
/* compact service page: everything on one desktop screen */
@media(min-width:1024px){
 .service-order-workspace.svc-designed{padding-top:8px!important;padding-bottom:8px!important}
 .service-order-workspace .svc-shell{padding:12px 20px!important;gap:8px}
 .service-order-workspace .svc-brand{min-height:0!important;margin:0 0 4px!important;padding:0!important}
 .service-order-workspace .svc-brand>strong{font-size:15px!important}
 .service-order-workspace .svc-brand button{min-height:30px!important;padding:3px 12px!important;font-size:13px!important}
 .service-order-workspace .svc-heading{display:flex!important;justify-content:space-between;align-items:center;gap:16px;padding:2px 0 6px!important;margin:0!important}
 .service-order-workspace .svc-title{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;width:auto!important;flex:1 1 auto;min-width:0}
 .service-order-workspace .svc-title>div{flex:0 0 100%;display:flex;align-items:center;gap:10px}
 .service-order-workspace .svc-title h2{font-size:24px!important;margin:0!important;line-height:1.2}
 .service-order-workspace .svc-title .svc-pill{font-size:12px;padding:3px 10px}
 .service-order-workspace .svc-title>strong{font-size:16px!important;margin:0!important}
 .service-order-workspace .svc-title>p{margin:0!important;font-size:13px;white-space:nowrap}
 .service-order-workspace .svc-title .service-resolve-button{min-height:30px!important;padding:3px 12px!important;font-size:13px!important;margin:0!important;width:auto!important}
 .service-order-workspace .svc-summary{width:auto!important;flex:0 1 480px;gap:8px!important;margin:0!important}
 .service-order-workspace .svc-summary>div{min-height:0!important;padding:6px 10px!important;gap:8px!important}
 .service-order-workspace .svc-summary svg{width:20px!important;height:20px!important}
 .service-order-workspace .svc-summary span{font-size:13px!important}
 .service-order-workspace .svc-summary b{font-size:12px!important;padding:2px 8px!important;margin-top:2px!important}
 .service-order-workspace .svc-summary strong{font-size:16px!important;margin-top:2px!important}
 .service-order-workspace .sp-panel{padding:6px 14px!important;margin:0!important}
 .service-order-workspace .sp-panel>header{min-height:0!important;align-items:center}
 .service-order-workspace .sp-panel h3{font-size:15px!important;margin:0!important}
 .service-order-workspace .sp-panel header p,.service-order-workspace .sp-panel>p{margin:0!important;font-size:12px!important}
 .service-order-workspace .sp-panel>p{display:none}
 .service-order-workspace .sp-panel button{min-height:30px!important;padding:3px 12px!important;font-size:13px!important}
 .service-order-workspace .svc-tabs{margin:2px 0 0!important}
 .service-order-workspace .svc-tabs button{min-height:34px!important;padding:4px 14px!important;font-size:14px!important}
 .service-order-workspace .sr-service-pair{gap:12px!important}
 .service-order-workspace .svc-task-card>header{padding:10px 16px!important;min-height:0!important}
 .service-order-workspace .svc-task-card>header h3{font-size:17px!important;margin:0 0 4px!important}
 .service-order-workspace .svc-task-card>header>div:first-child{gap:10px!important}
 .service-order-workspace .svc-task-card>header svg{width:26px;height:26px}
 .service-order-workspace .svc-ready-mark .svc-check{width:30px!important;height:30px!important;font-size:16px}
 .service-order-workspace .svc-ready-mark strong{font-size:12px}
 .service-order-workspace .svc-task-body{padding:10px 16px!important;gap:6px}
 .service-order-workspace .svc-task-body>h4{font-size:16px!important;margin:0 0 4px!important;line-height:1.35}
 .service-order-workspace .svc-task-body>p{margin:0 0 4px!important;font-size:13px}
 .service-order-workspace .svc-tracker{padding:4px 0!important;margin:0!important;min-height:0!important}
 .service-order-workspace .svc-tracker b{font-size:12px}
 .service-order-workspace .svc-factory-evidence{padding:6px 10px!important;margin:4px 0!important;font-size:13px}
 .service-order-workspace .svc-factory-evidence p,.service-order-workspace .svc-factory-evidence strong{margin:0!important;font-size:13px}
 .service-order-workspace .sr-task-media{padding-top:6px;margin:4px 0}
 .service-order-workspace .sr-task-media img,.service-order-workspace .sr-task-media video{width:96px;height:64px}
 .service-order-workspace .sr-add-media{margin-top:2px}
 .service-order-workspace .sr-add-media input{font-size:11px}
 .service-order-workspace .svc-task-buttons{gap:8px!important}
 .service-order-workspace .svc-task-buttons button{min-height:38px!important;padding:5px 10px!important;font-size:14px!important}
 .service-order-workspace .svc-action-note,.service-order-workspace .svc-progress-note{margin:2px 0 0!important;font-size:12px!important}
 .service-order-workspace .sr-carrier-card>header{padding:10px 16px}
 .service-order-workspace .sr-carrier-card header h3{font-size:17px}
 .service-order-workspace .sr-carrier-body{padding:10px 16px;gap:8px}
 .service-order-workspace .sr-carrier-body>h3{font-size:18px}
 .service-order-workspace .sr-driver-phone{font-size:16px}
 .service-order-workspace .sr-carrier-card dl{padding-top:6px;gap:14px;font-size:13px}
 .service-order-workspace .sr-receipt{padding:7px 12px;gap:2px}
 .service-order-workspace .sr-driver-progress{display:none}
 .service-order-workspace .sr-carrier-body footer>*{padding:6px;font-size:12px}
 .service-order-workspace .svc-task-grid~*,.service-order-workspace .svc-footer-note{margin-top:4px!important;font-size:12px}
}
