body.ow-active {
  overflow: hidden;
}
.order-row:not([open]) .order-workspace {
  display: none;
}
.order-row[open] > .order-row-details > .order-workspace {
  position: fixed;
  inset: 0;
  z-index: 50;
  width: 100%;
  height: 100dvh;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f4f7f6;
  overflow: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
  color: #173e37;
  direction: rtl;
}
.ow-shell {
  max-width: 1320px;
  margin: auto;
  padding: 0 28px 36px;
}
.ow-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #dce5e0;
  font-size: 19px;
  font-weight: 750;
}
.ow-brand small {
  font-size: 12px;
  font-weight: 400;
  color: #64786f;
}
.ow-header {
  padding: 22px 0 16px;
}
.ow-header .ow-back {
  border: 0;
  background: none;
  padding: 0;
  color: #376c5b;
  min-height: 36px;
  font-size: 14px;
  width: auto;
}
.ow-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.ow-eyebrow {
  font-size: 12px;
  color: #6b8177;
}
.ow-heading h2 {
  font-size: 29px;
  line-height: 1.25;
  margin: 5px 0;
}
.ow-heading p {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
.ow-order-state {
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 18px;
  background: #fff1d7;
  color: #805c1a;
  max-width: 40%;
  line-height: 1.4;
}
.ow-sticky {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #f4f7f6f5;
  padding: 12px 0 0;
  backdrop-filter: blur(10px);
}
.ow-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.order-workspace .ow-toolbar > button,
.ow-more > summary {
  border-radius: 9px;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 650;
  width: auto;
  border: 1px solid #cddbd3;
  background: white;
  color: #274a3d;
  box-sizing: border-box;
  line-height: 1.5;
  margin: 0;
}
.order-workspace .ow-toolbar > .ow-primary {
  background: #21834e;
  border-color: #21834e;
  color: white;
}
.order-workspace .ow-toolbar > .ow-primary:hover {
  background: #186b3c;
}
.order-workspace .ow-toolbar > .ow-money-action {
  background: #e8f2ff;
  border-color: #bcd5f5;
  color: #2263a9;
}
.ow-more {
  position: relative;
  margin: 0;
  border: 0;
  padding: 0;
}
.ow-more > summary {
  cursor: pointer;
  list-style: none;
}
.ow-more > summary::-webkit-details-marker {
  display: none;
}
.ow-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  width: 260px;
  background: white;
  border: 1px solid #d8e4dc;
  border-radius: 12px;
  box-shadow: 0 12px 35px #173e3720;
  padding: 7px;
  max-height: 65dvh;
  overflow: auto;
  z-index: 8;
}
.order-workspace .ow-menu button {
  display: block;
  text-align: right;
  width: 100%;
  padding: 11px 12px;
  min-height: 40px;
  background: white;
  border: 0;
  border-radius: 7px;
  font-size: 13px;
  color: #294c40;
  margin: 0;
  line-height: 1.5;
}
.order-workspace .ow-menu button:hover {
  background: #f0f5f2;
}
.order-workspace .ow-menu button.ow-menu-danger {
  color: #bb3832;
  border-top: 1px solid #e8e9e6;
  margin-top: 5px;
  border-radius: 0;
}
.order-workspace button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ow-tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  border-bottom: 1px solid #cfded4;
  scrollbar-width: thin;
}
.order-workspace .ow-tabs button {
  border: 0;
  border-radius: 0;
  min-height: 44px;
  padding: 11px 16px;
  color: #607b6d;
  background: transparent;
  font-size: 14px;
  white-space: nowrap;
  min-width: max-content;
  margin: 0;
  border-bottom: 3px solid transparent;
}
.order-workspace .ow-tabs button[aria-selected="true"] {
  border-bottom-color: #26765b;
  color: #215c47;
  font-weight: 750;
}
.ow-summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  padding: 18px 0;
}
.ow-summary {
  background: white;
  border: 1px solid #dbe6df;
  border-radius: 12px;
  padding: 17px 18px;
  min-width: 0;
}
.ow-summary > span {
  display: block;
  font-size: 13px;
  color: #657d70;
}
.ow-summary > strong {
  display: block;
  font-size: 19px;
  margin: 10px 0 3px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.ow-summary > small {
  font-size: 12px;
  color: #72857a;
}
.ow-summary.is-clear > strong {
  color: #227045;
}
.ow-summary.is-warning > strong {
  color: #965621;
}
.ow-alert {
  border: 1px solid #efd19b;
  border-radius: 10px;
  background: #fff3df;
  color: #86591e;
  font-size: 14px;
  line-height: 1.6;
  padding: 12px 16px;
  margin: 0 0 18px;
}
.ow-panels > [hidden] {
  display: none !important;
}
.ow-panels {
  padding-top: 6px;
}
.ow-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(230px, 1fr);
  gap: 18px;
}
.ow-overview-grid > * {
  min-width: 0;
}
.ow-box {
  border: 1px solid #dae5de;
  border-radius: 13px;
  background: white;
  padding: 20px;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.ow-box h3 {
  font-size: 17px;
  margin: 0 0 14px;
}
.ow-box h4 {
  font-size: 15px;
  margin: 12px 0;
}
.ow-box p {
  font-size: 14px;
  line-height: 1.65;
  margin: 10px 0;
}
.ow-box small {
  display: block;
  font-size: 12px;
  color: #687f72;
  line-height: 1.6;
}
.ow-box a {
  color: #256f58;
  text-underline-offset: 3px;
}
.ow-phone {
  display: block;
  margin: 10px 0;
  font-size: 14px;
}
.ow-notes {
  white-space: pre-wrap;
}
.order-workspace .order-part-status {
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}
.order-workspace .order-part-status h4 {
  font-size: 17px;
  margin: 0 0 15px;
}
.order-workspace .part-status-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(0, 1.5fr) 26px;
  gap: 12px;
  align-items: center;
  padding: 14px 12px;
  background: #f6f9f7;
  border-radius: 10px;
  margin-top: 9px;
  border: 1px solid #e2ebe5;
  font-size: 14px;
}
.order-workspace .part-status-row strong {
  font-size: 14px;
}
.order-workspace .part-status-row b {
  font-size: 20px;
}
.order-workspace .part-status-row.part-ready {
  border-color: #bcdcc5;
  background: #edf8f0;
}
.ow-mixed-note {
  font-size: 12px !important;
  color: #6f806e;
  border-top: 1px solid #e1e9e3;
  padding-top: 12px;
}
.ow-product-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #e7ede9;
}
.ow-product-summary > div:last-child {
  border: 0;
}
.ow-product-summary strong {
  font-size: 14px;
  line-height: 1.5;
}
.ow-product-summary b {
  background: #edf3ef;
  border-radius: 7px;
  padding: 6px 10px;
  white-space: nowrap;
}
.ow-product-summary small {
  margin-top: 4px;
}
.ow-line {
  background: white;
  border: 1px solid #dbe6de;
  border-radius: 12px;
  padding: 0;
  margin-bottom: 12px;
}
.ow-line > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  padding: 18px;
  cursor: pointer;
  min-height: 62px;
}
.ow-line > summary::-webkit-details-marker {
  display: none;
}
.ow-line > summary strong {
  font-size: 15px;
  line-height: 1.5;
}
.ow-line > summary small {
  display: block;
  font-size: 12px;
  color: #728476;
  margin-top: 5px;
}
.ow-line > summary > b {
  background: #edf3ef;
  border-radius: 6px;
  padding: 6px 10px;
  white-space: nowrap;
}
.ow-expand {
  font-size: 12px;
  color: #447460;
  white-space: nowrap;
}
.ow-line-body {
  padding: 0 18px 18px;
  border-top: 1px solid #e3ebe5;
}
.order-workspace .ow-line-body > .wizard-line,
.order-workspace .ow-line-body > .info {
  margin: 0;
  border: 0;
  background: transparent;
  padding: 14px 0 0;
  box-shadow: none;
}
.order-workspace .ow-line-body button {
  font-size: 13px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
}
.order-workspace [data-ow-panel="equipment"] > .info {
  background: white;
  border: 1px solid #dae5de;
  border-radius: 13px;
  padding: 18px;
  margin-bottom: 14px;
}
.order-workspace [data-ow-panel="equipment"] > .info > .pickup-alert {
  background: #fff8ee;
  border-color: #e7d0ae;
  color: #654e34;
}
.order-workspace [data-ow-panel="equipment"] > .info button {
  min-height: 40px;
  font-size: 13px;
  padding: 9px 12px;
}
.ow-pending > summary,
.ow-technical > summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}
.ow-pending li {
  list-style: none;
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #e4ebe6;
}
.ow-pending li:last-child {
  border: 0;
}
.ow-pending li strong {
  font-size: 14px;
}
.ow-pending button {
  font-size: 13px;
  min-height: 40px;
}
.ow-pending .task-current {
  background: transparent;
  border: 0;
  border-radius: 0;
}
.ow-technical {
  font-size: 13px;
}
.ow-financial {
  margin: 16px 0;
}
.ow-financial > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid #e5ece7;
  font-size: 14px;
}
.ow-financial dd {
  font-weight: 700;
  margin: 0;
}
.ow-financial dt {
  color: #61786b;
}
.order-workspace .payment-alert,
.order-workspace .payment-unverified,
.order-workspace .payment-clear {
  font-size: 14px;
  border-width: 1px;
  padding: 12px;
}
.order-workspace .manual-balance-controls > button[data-manual-balance-open],
.order-workspace
  .customer-details-controls
  > button[data-customer-details-open] {
  display: none;
}
.order-workspace .manual-balance-controls > small {
  font-size: 12px;
}
.order-workspace .payment-proof-details {
  font-size: 13px;
}
.ow-document-link {
  display: block;
  padding: 10px 0;
  font-size: 14px;
}
.order-workspace .money {
  font-size: 14px;
}
.order-workspace button:focus-visible,
.order-workspace summary:focus-visible {
  outline: 3px solid #83b39a;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .ow-shell {
    padding: 0 14px 24px;
  }
  .ow-brand {
    padding: 12px 0;
    font-size: 16px;
  }
  .ow-brand small {
    max-width: 45%;
    font-size: 10px;
  }
  .ow-header {
    padding: 14px 0 10px;
  }
  .ow-heading h2 {
    font-size: 23px;
  }
  .ow-heading p {
    font-size: 17px;
  }
  .ow-order-state {
    font-size: 11px;
    max-width: 40%;
  }
  .ow-toolbar {
    gap: 7px;
    padding-bottom: 8px;
  }
  .order-workspace .ow-toolbar > button,
  .ow-more > summary {
    font-size: 12px;
    padding: 9px 11px;
    min-height: 42px;
  }
  .ow-toolbar > .ow-primary {
    flex: 1;
    min-width: 46%;
  }
  .ow-menu {
    width: 230px;
    inset-inline-start: auto;
    inset-inline-end: 0;
  }
  .ow-tabs {
    gap: 0;
  }
  .order-workspace .ow-tabs button {
    font-size: 12px;
    padding: 10px 12px;
  }
  .ow-summary-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 12px 0;
  }
  .ow-summary {
    padding: 12px;
  }
  .ow-summary > strong {
    font-size: 15px;
    margin-top: 6px;
  }
  .ow-summary > span,
  .ow-summary > small {
    font-size: 11px;
  }
  .ow-overview-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ow-box {
    padding: 16px;
    margin-bottom: 12px;
  }
  .order-workspace .part-status-row {
    grid-template-columns: 1fr 1.3fr 20px;
    gap: 8px;
    font-size: 12px;
    padding: 10px 9px;
  }
  .order-workspace .part-status-row strong {
    font-size: 12px;
  }
  .ow-line > summary {
    padding: 13px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .ow-line > summary > span:first-child {
    flex: 1;
  }
  .ow-expand {
    font-size: 11px;
  }
  .ow-line > summary strong {
    font-size: 13px;
  }
  .ow-alert {
    font-size: 12px;
  }
  .ow-sticky {
    padding-top: 8px;
  }
}

.ow-dispatch > summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
}
.ow-dispatch > div {
  padding-top: 16px;
}
.ow-dispatch > div > .info {
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.ow-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px !important;
  padding: 7px 13px !important;
  font-size: 14px !important;
  font-weight: 600;
  border-radius: 8px !important;
  line-height: 1.3;
  max-width: 100%;
  white-space: normal;
}
.ow-shortcut-green {
  background: #1c8055 !important;
  color: #fff !important;
  border: 1px solid #1c8055 !important;
}
.ow-shortcut-blue {
  background: #edf5ff !important;
  color: #245d9d !important;
  border: 1px solid #b9d4f5 !important;
}
.ow-shortcut:disabled {
  background: #e6ebe9 !important;
  border-color: #ccd7d1 !important;
  color: #596f64 !important;
  opacity: 1 !important;
  cursor: not-allowed;
}
.ow-shortcut:focus-visible {
  outline: 3px solid #245d9d;
  outline-offset: 3px;
}
.ow-summary-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.ow-summary {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
}
.ow-summary-action {
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
}
.ow-status-card .part-status-row {
  grid-template-columns: minmax(130px, 1fr) minmax(140px, 1.3fr) auto auto !important;
  gap: 12px !important;
}
.ow-status-action {
  display: flex;
  justify-content: flex-end;
}
.ow-domain-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ow-domain-action h3 {
  margin-bottom: 3px;
}
.ow-domain-action small {
  color: #607a6e;
}
.ow-next-actions h3 {
  margin-bottom: 10px;
}
.ow-next-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e9e4;
}
.ow-next-row:last-child {
  border: 0;
}
.ow-next-row > div:first-child {
  min-width: 0;
}
.ow-next-row small {
  display: block;
  color: #987021;
  margin-top: 4px;
  font-size: 13px;
}
.ow-context-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
  max-width: 65%;
}
.ow-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.ow-blocker-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ow-blocker-actions .ow-shortcut {
  min-height: 34px !important;
  font-size: 13px !important;
}
.ow-payment-inline {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.payment-status-slot .manual-balance-controls:empty {
  display: none;
}
.ow-next-actions,
.ow-domain-action {
  scroll-margin-top: 135px;
}
.ow-technical {
  scroll-margin-top: 135px;
}
@media (max-width: 800px) {
  .ow-status-card .part-status-row {
    grid-template-columns: minmax(90px, 1fr) minmax(100px, 1.2fr) auto !important;
  }
  .ow-status-action {
    grid-column: 1/-1;
    justify-content: flex-end;
  }
  .ow-next-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .ow-context-buttons {
    max-width: 100%;
    width: 100%;
  }
  .ow-shortcut {
    min-height: 42px !important;
  }
  .ow-domain-action {
    align-items: flex-start;
  }
  .ow-summary-action {
    justify-content: flex-start;
  }
  .ow-blocker-actions {
    width: 100%;
  }
}

.ow-assigned-progress {
  font-size: 14px;
  line-height: 1.6;
  color: #28634b !important;
  margin: 6px 0 0 !important;
}
.ow-existing-dispatch .ow-next-row {
  align-items: flex-start;
}
.ow-existing-dispatch .ow-context-buttons {
  padding-top: 3px;
}
.ow-production-cost {
  width: 100%;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #dce9e2;
  color: #176346;
}
.ow-production-cost > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.ow-production-cost-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0;
}
.ow-production-cost-row > strong {
  font-size: 22px;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}
.ow-production-cost-row > button {
  flex: 0 0 auto;
  white-space: nowrap !important;
  word-break: normal;
  overflow-wrap: normal;
}
.ow-production-cost > small {
  display: block;
  font-size: 12px;
  color: #61796c;
}
.ow-production-cost.is-missing {
  color: #94621f;
}
.ow-production-cost-row:has(> button:only-child) {
  justify-content: flex-start;
}
@media (max-width: 600px) {
  .ow-production-cost-row {
    align-items: flex-start;
  }
  .ow-production-cost-row > button {
    white-space: normal !important;
  }
}

.ow-financial dd:has(button) {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ow-financial dd .ow-text-link {
  font-weight: 600;
  white-space: nowrap;
}

.ow-summary .factory-tracking {
  margin-top: 8px;
  display: grid;
  gap: 4px;
  color: #45686b;
  line-height: 1.45;
}
.ow-summary .factory-tracking small {
  display: block;
  font-size: 12px;
}

/* Product details may wrap; action labels must retain a readable width. */
.order-workspace .wizard-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  align-items: start;
}
.order-workspace .wizard-line > div:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.order-workspace .wizard-line > .actions {
  display: flex;
  flex-flow: row wrap;
  gap: 8px;
  align-items: center;
  align-content: flex-start;
  align-self: start;
  justify-content: flex-start;
  min-width: 0;
  max-width: 100%;
  margin-top: 0;
}
.order-workspace .wizard-line > .actions > * {
  flex: 0 0 auto;
  min-width: max-content;
  max-width: 100%;
  width: auto;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
@media (max-width: 760px) {
  .order-workspace .wizard-line {
    grid-template-columns: minmax(0, 1fr);
  }
  .order-workspace .wizard-line > .actions {
    width: 100%;
    margin-top: 4px;
  }
}

/* —— Desktop compact order card, 2026-11-11 —— */
.ow-brand{display:none}
.ow-shell{max-width:1320px;padding:0 20px 16px}
.ow-sticky{padding:0;background:#f4f7f6f5}
.ow-topline{display:flex;align-items:center;gap:6px 10px;min-height:44px;padding:6px 0 2px;flex-wrap:wrap}
.ow-back{border:0;background:none;padding:0;color:#376c5b;min-height:32px;font-size:13px;width:auto;cursor:pointer;order:1}
.ow-idblock{display:flex;align-items:baseline;gap:8px;min-width:0;flex:1 1 auto;order:2}
.ow-idblock h2{font-size:18px;line-height:1.2;margin:0;font-weight:750}
.ow-idblock p{font-size:14px;font-weight:600;margin:0}
.ow-phone-link{color:#256f58;text-decoration:none;font-size:13px;font-weight:500;direction:ltr;unicode-bidi:isolate}
.ow-chips{display:flex;flex-wrap:wrap;gap:6px;flex:0 0 100%;width:100%;min-width:0;padding:0 0 4px;order:4}
.ow-chip,.ow-chip-static{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid #d5e0da;background:#fff;color:#35594c;white-space:nowrap;cursor:default}
button.ow-chip{cursor:pointer;font:inherit;font-size:12px;font-weight:600}
.ow-chip .k{font-weight:500;color:#6b8177}
.ow-chip.is-clear{background:#e6f5ed;border-color:#bcdcc5;color:#176b45}
.ow-chip.is-warning{background:#fff3df;border-color:#efd19b;color:#86591e}
.ow-toolbar{display:flex;gap:8px;align-items:center;padding:0;margin-inline-start:auto;flex-shrink:0;order:3}
.order-workspace .ow-toolbar>button,.ow-more>summary{min-height:34px;padding:0 12px;font-size:13px;border-radius:8px}
.ow-header,.ow-heading,.ow-eyebrow,.ow-order-state,.ow-summary-cards{display:none}
.ow-tabs{gap:4px}
.order-workspace .ow-tabs button{min-height:34px;padding:0 14px;font-size:13px}
.ow-alert{padding:6px 12px;margin:6px 0 0;font-size:13px;border-radius:8px}
.ow-work{display:grid;grid-template-columns:minmax(0,7fr) minmax(260px,3fr);gap:16px;padding-top:12px;align-items:start}
.ow-main,.ow-side{display:flex;flex-direction:column;gap:10px;min-width:0}
.ow-card{border:1px solid #dae5de;border-radius:10px;background:#fff;padding:10px 12px}
.ow-card h3{font-size:13px;margin:0 0 8px;font-weight:700;color:#35594c}
.ow-cust dl{display:grid;grid-template-columns:72px 1fr;gap:4px 8px;margin:0;font-size:13px}
.ow-cust dt{color:#6b8177;font-weight:500}
.ow-cust dd{margin:0}
.ow-cust-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.ow-text-link{border:0;background:none;padding:0;color:#256f58;font:inherit;font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.ow-now-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #e7eeea;min-height:48px}
.ow-now-item:last-child{border-bottom:0}
.ow-now-item small{display:block;color:#987021;font-size:12px;margin-top:1px}
.ow-now .ow-context-buttons{max-width:55%;flex-shrink:0}
.ow-now .ow-shortcut{min-height:30px !important;font-size:12px !important;padding:6px 10px !important}
.ow-product-table{width:100%;border-collapse:collapse;font-size:13px}
.ow-product-table th,.ow-product-table td{text-align:start;padding:6px 8px;border-bottom:1px solid #e7eeea;vertical-align:middle}
.ow-product-table th{font-size:11px;font-weight:600;color:#6b8177;background:#f6f9f7}
.ow-product-table .ow-qty{font-variant-numeric:tabular-nums}
.ow-mini-badge{display:inline-flex;height:20px;align-items:center;padding:0 7px;border-radius:6px;background:#edf3ef;color:#27634d;font-size:11px;font-weight:600}
.ow-product-note{margin:6px 8px 2px;font-size:12px}
.ow-pending>summary{font-size:13px}
.ow-side .ow-pending{margin:0}
.ow-box{padding:14px;margin-bottom:12px}
.order-workspace .wizard-line{grid-template-columns:minmax(0,1fr) minmax(200px,260px)}
@media(max-width:900px){
  .ow-work{grid-template-columns:1fr;gap:10px}
  .ow-topline{gap:8px}
  .ow-toolbar{margin-inline-start:0;width:100%;justify-content:flex-end}
}


/* —— Desktop fullscreen + larger type, 2026-11-11 —— */
/* Shop desktop only. Leaves the max-width:760px (and factory/mobile) rules untouched. */
@media (min-width: 761px) {
  .order-row[open] > .order-row-details > .order-workspace {
    overflow: hidden;
  }
  .ow-shell {
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 clamp(16px, 1.6vw, 32px) 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    --ow-fs: clamp(14px, 0.7vw + 0.65vh, 16.5px);
    --ow-fs-sm: clamp(12.5px, 0.5vw + 0.5vh, 14.5px);
    --ow-fs-md: clamp(15px, 0.85vw + 0.5vh, 18px);
    --ow-fs-lg: clamp(20px, 1.15vw + 0.45vh, 26px);
    --ow-pad-y: clamp(8px, 1.15vh, 16px);
    --ow-pad-x: clamp(10px, 1vw, 18px);
    --ow-btn-h: clamp(40px, 5.4vh, 48px);
    --ow-chip-h: clamp(28px, 3.6vh, 34px);
    --ow-radius: 12px;
    font-size: var(--ow-fs);
  }
  .ow-sticky {
    flex: 0 0 auto;
    padding: 0;
  }
  .ow-topline {
    min-height: var(--ow-btn-h);
    padding: clamp(6px, 0.8vh, 12px) 0 4px;
    gap: 8px 14px;
  }
  .ow-back {
    font-size: var(--ow-fs);
    min-height: var(--ow-chip-h);
  }
  .ow-idblock h2 {
    font-size: var(--ow-fs-lg);
    font-weight: 800;
  }
  .ow-idblock p {
    font-size: var(--ow-fs-md);
  }
  .ow-phone-link {
    font-size: var(--ow-fs);
  }
  .ow-chips {
    gap: 8px;
    padding: 0 0 6px;
  }
  .ow-chip,
  .ow-chip-static,
  button.ow-chip {
    height: var(--ow-chip-h);
    padding: 0 12px;
    font-size: var(--ow-fs-sm);
    gap: 7px;
  }
  .order-workspace .ow-toolbar > button,
  .ow-more > summary {
    min-height: var(--ow-btn-h);
    padding: 0 16px;
    font-size: var(--ow-fs);
    border-radius: 10px;
  }
  .order-workspace .ow-tabs button {
    min-height: var(--ow-btn-h);
    padding: 0 16px;
    font-size: var(--ow-fs);
  }
  .ow-alert {
    font-size: var(--ow-fs);
    padding: 8px 14px;
  }
  .ow-menu {
    width: min(320px, 90vw);
  }
  .order-workspace .ow-menu button {
    font-size: var(--ow-fs);
    min-height: 44px;
    padding: 12px 14px;
  }
  .ow-panels {
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
  }
  .ow-panels > [data-ow-panel]:not([hidden]) {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }
  .ow-panels > [data-ow-panel="overview"]:not([hidden]) {
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .ow-work {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr);
    gap: clamp(12px, 1.2vw, 24px);
    padding-top: clamp(8px, 1.2vh, 16px);
    align-items: stretch;
  }
  .ow-main,
  .ow-side {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1vh, 14px);
    min-width: 0;
    min-height: 0;
  }
  .ow-card {
    padding: var(--ow-pad-y) var(--ow-pad-x);
    border-radius: var(--ow-radius);
  }
  .ow-card h3,
  .ow-box h3 {
    font-size: var(--ow-fs-md);
    margin: 0 0 8px;
  }
  .ow-groups-card {
    flex: 0 0 auto;
  }
  .ow-products-card {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .ow-products-card h3 {
    flex: 0 0 auto;
  }
  .ow-product-table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }
  .ow-assignments-complete {
    flex: 0 0 auto;
    margin-top: auto;
  }
  .ow-assignments-complete > summary {
    font-size: var(--ow-fs);
    font-weight: 750;
    padding: 10px 4px;
    min-height: var(--ow-chip-h);
  }
  .ow-assignments-complete[open] {
    max-height: min(42vh, 420px);
    overflow: auto;
  }
  .ow-now {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }
  .ow-cust {
    flex: 0 0 auto;
  }
  .ow-cust dl {
    font-size: var(--ow-fs);
    grid-template-columns: 7.5em 1fr;
    gap: 6px 12px;
  }
  .ow-text-link {
    font-size: var(--ow-fs-sm);
  }
  .ow-now-item {
    min-height: 56px;
    padding: 10px 0;
    gap: 10px;
  }
  .ow-now-item strong {
    font-size: var(--ow-fs);
  }
  .ow-now-item small {
    font-size: var(--ow-fs-sm);
  }
  .ow-now .ow-shortcut {
    min-height: 36px !important;
    font-size: var(--ow-fs-sm) !important;
    padding: 7px 12px !important;
  }
  .ow-product-table {
    font-size: var(--ow-fs);
  }
  .ow-product-table th,
  .ow-product-table td {
    padding: clamp(6px, 1.05vh, 13px) 12px;
  }
  .ow-product-table th {
    font-size: var(--ow-fs-sm);
  }
  .ow-mini-badge {
    height: auto;
    min-height: 24px;
    padding: 2px 9px;
    font-size: var(--ow-fs-sm);
  }
  .ow-product-note {
    font-size: var(--ow-fs-sm);
    margin: 8px 8px 2px;
  }
  .ow-box {
    padding: var(--ow-pad-y) var(--ow-pad-x);
    margin-bottom: 12px;
  }
  .ow-box p,
  .ow-box a,
  .ow-document-link,
  .ow-financial > div,
  .order-workspace .money,
  .order-workspace .payment-alert,
  .order-workspace .payment-unverified,
  .order-workspace .payment-clear {
    font-size: var(--ow-fs);
  }
  .ow-line > summary {
    min-height: 68px;
    padding: 16px 18px;
  }
  .ow-line > summary strong {
    font-size: var(--ow-fs-md);
  }
  .order-workspace .ow-line-body button,
  .order-workspace [data-ow-panel="equipment"] > .info button {
    font-size: var(--ow-fs);
    min-height: var(--ow-btn-h);
    padding: 8px 14px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .ow-work {
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .ow-panels > [data-ow-panel="overview"]:not([hidden]) {
    overflow: auto;
  }
  .ow-toolbar {
    margin-inline-start: 0;
    width: 100%;
    justify-content: flex-end;
  }
}

@media (min-width: 761px) and (max-height: 640px) {
  .ow-shell {
    --ow-btn-h: 32px;
    --ow-chip-h: 24px;
    --ow-pad-y: 4px;
    --ow-pad-x: 10px;
    --ow-fs-lg: 20px;
    padding-bottom: 8px;
  }
  .ow-topline { padding: 2px 0 0; }
  .ow-chips { padding-bottom: 0; }
  .ow-work { padding-top: 4px; gap: 6px; }
  .ow-main, .ow-side { gap: 6px; }
  .ow-card { padding: 6px 10px; }
  .ow-product-table th,
  .ow-product-table td { padding: 4px 8px; }
  .ow-now-item { min-height: 0; padding: 4px 0; }
  .ow-cust dl { gap: 2px 10px; }
  .ow-cust-links { margin-top: 4px; }
  .ow-assignments-complete > summary { padding: 4px 2px; min-height: 28px; }
  .ow-now .ow-shortcut { min-height: 30px !important; padding: 4px 8px !important; }
  .ow-card h3 { margin-bottom: 4px; }
  .ow-product-note { margin: 2px 8px 0; font-size: 12px; }
}


/* —— Menu overflow + close/back emphasis, 2026-11-12 —— */
/* Shop desktop only. Factory/mobile (max-width: 760px) rules stay untouched. */
@media (min-width: 761px) {
  /* The compact toolbar sits on the inline-end of the topline, which in RTL is
     the LEFT edge. inset-inline-start: 0 then grows the menu further left,
     off the viewport; overflow: hidden on the fullscreen workspace clips it,
     so Hebrew labels are cut and the «מה לעשות עכשיו» buttons show through. */
  .ow-sticky,
  .ow-topline,
  .ow-toolbar,
  .ow-more {
    overflow: visible;
  }
  .ow-sticky {
    z-index: 40;
  }
  .ow-more {
    z-index: 45;
  }
  .ow-more[open] {
    z-index: 60;
  }
  .ow-menu {
    inset-inline-start: auto;
    inset-inline-end: 0;
    width: max-content;
    min-width: 16rem;
    max-width: min(28rem, calc(100vw - 24px));
    z-index: 80;
    overflow: auto;
  }
  .order-workspace .ow-menu button {
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
  }
}

/* Prominent close/back on the order card. Overrides the faint topline link.
   Tokens match navigation.css so every dismiss/back control looks the same. */
.order-workspace button.ow-back,
.order-workspace button[data-ow-back] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  box-sizing: border-box;
  margin: 0;
  width: auto;
  min-width: max-content;
  min-height: var(--ow-btn-h, 42px);
  padding: 0 14px;
  border: 2px solid #1c3b34;
  border-radius: 10px;
  background: #fffdf8;
  color: #1c3b34;
  font: inherit;
  font-size: var(--ow-fs, 14px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  box-shadow: 0 1px 0 rgba(28, 59, 52, 0.14);
  cursor: pointer;
  white-space: nowrap;
}
.order-workspace button.ow-back:hover,
.order-workspace button[data-ow-back]:hover {
  background: #eef3f1;
}
.order-workspace button.ow-back:focus-visible,
.order-workspace button[data-ow-back]:focus-visible {
  outline: 3px solid #18879c;
  outline-offset: 2px;
}

/* Compact card hides .ow-header, so navigation.js used to append «סגירת כרטיס»
   onto the workspace root — clipped by overflow:hidden and a duplicate of .ow-back. */
.order-workspace:has(button.ow-back, button[data-ow-back]) > .sd-workspace-close {
  display: none;
}


/* —— Product text clip on RTL start, 2026-11-12 ——
   Overview is a flex column with overflow:hidden (v613 one-screen card).
   Children (.ow-groups-card, .cf-board, .cf-transport-card) must be allowed
   to shrink below min-content so they cannot overflow the panel on the
   RTL start (physical right). Do not change overflow here: overflow-x:visible
   with overflow-y:hidden computes to auto and would break the one-screen card. */
@media (min-width: 761px) {
  .ow-panels > [data-ow-panel="overview"]:not([hidden]) > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (min-width: 761px) {
  /* cf-compact replaces the overview product table with .cf-board, which has
     no internal scroller. v613 overflow:hidden + flex-shrink would clip the
     product rows vertically on 1024×576 / 1366×768. Scroll the overview
     instead; factory orders (no .cf-compact) keep the one-screen table. */
  .cf-compact .ow-panels > [data-ow-panel="overview"]:not([hidden]) {
    overflow: auto;
  }
  .cf-compact .cf-board,
  .cf-compact .cf-transport-card {
    flex-shrink: 0;
  }
}


/* —— Overview layout: customer/supply in the header, no next-actions
   sidebar, unassigned block, transfer-date prompt. 2026-11-12 ——
   Shop desktop only. Leaves max-width:760px / factory / mobile rules
   untouched. */
@media (min-width: 761px) {
  .ow-supply {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 12px;
    flex: 1 1 420px;
    min-width: 0;
    max-width: 760px;
    margin-inline-start: auto;
    padding: 6px 12px;
    border: 1px solid #dae5de;
    border-radius: 10px;
    background: #fff;
  }
  .ow-supply-k {
    font-size: 11px;
    font-weight: 700;
    color: #6b8177;
    margin-inline-end: 4px;
    white-space: nowrap;
  }
  .ow-supply-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    font-size: var(--ow-fs-sm, 13px);
    white-space: nowrap;
  }
  .ow-supply-item strong { font-weight: 700; color: #173e37; }
  .ow-supply-item .muted,
  .ow-supply-item.muted { color: #6b8177; font-weight: 500; }
  .ow-supply-item .lab { color: #6b8177; font-weight: 650; }
  .ow-supply-sep { color: #c5d2cb; }
  .ow-supply .ow-notes,
  .ow-supply small {
    flex: 0 0 100%;
    margin: 2px 0 0;
    font-size: 12px;
    color: #6b8177;
  }
  .ow-toolbar { order: 4; margin-inline-start: 0; }
  .ow-chips { order: 5; }

  .ow-work.ow-work-wide,
  .ow-work:not(:has(.ow-side)) {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: clamp(10px, 1.2vh, 16px);
    overflow: auto;
    align-items: stretch;
  }
  .ow-work-wide .ow-main,
  .ow-work:not(:has(.ow-side)) .ow-main {
    min-height: 0;
  }
  .ow-panels > [data-ow-panel="overview"]:not([hidden]):has(.ow-work-wide) {
    overflow: auto;
  }

  .ow-unassigned {
    border-color: #e8d2a0;
    background: #fffdf8;
  }
  .ow-unassigned h3 { color: #7a5420; margin-bottom: 4px; }
  .ow-unassigned .lede {
    margin: 0 0 10px;
    font-size: var(--ow-fs-sm, 13px);
    color: #8a6a32;
  }
  .ow-unassigned-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    padding: 8px 0 0;
  }
  .ow-unassigned-row .info { flex: 1 1 260px; min-width: 0; }
  .ow-unassigned-row strong {
    display: block;
    font-size: var(--ow-fs, 14.5px);
    font-weight: 700;
  }
  .ow-unassigned-row small {
    display: block;
    font-size: var(--ow-fs-sm, 13px);
    color: #6b8177;
    margin-top: 2px;
  }
  .ow-unassigned-row .facts { display: flex; align-items: center; gap: 10px; }
  .ow-unassigned-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-inline-start: auto;
  }
  .ow-unassigned-actions .ow-next-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: var(--ow-fs-sm, 13px);
    font-weight: 600;
    width: auto;
    margin: 0;
    cursor: pointer;
    background: #f1f7f4;
    color: #1f5847;
    border: 1px solid #c8dbd2;
  }
  .ow-unassigned-actions .ow-next-action.is-primary {
    background: #177346;
    color: #fff;
    border-color: #14643e;
    font-weight: 700;
  }
  .ow-footnote {
    margin: 0;
    padding: 0 4px;
    font-size: 12px;
    color: #6b8177;
    line-height: 1.5;
  }

  /* Keep the assignment entry card visible on desktop as a fallback
     to «עדכון / תיקון שיוך» in the header and supply group. */
  [data-ow-panel="overview"] .ab-fs-entry {
    display: block;
  }
}


@media (min-width: 761px) and (max-width: 1600px) {
  .ow-supply {
    flex: 0 0 100%;
    max-width: none;
    margin-inline-start: 0;
    order: 5;
  }
  .ow-chips { order: 6; }
}

@media (min-width: 1800px) {
  .ow-supply { max-width: 820px; }
}

/* Transfer confirmation — lives at document level, not inside the card. */
.ow-transfer-dialog {
  width: min(520px, calc(100vw - 32px));
  border: 0;
  border-radius: 14px;
  padding: 20px 22px 16px;
  background: #fff;
  color: #173e37;
  box-shadow: 0 18px 50px rgba(23, 62, 55, 0.28);
}
.ow-transfer-dialog::backdrop {
  background: rgba(20, 40, 36, 0.45);
}
.ow-transfer-dialog h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #173e37;
}
.ow-transfer-dialog .sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6b8177;
}
.ow-transfer-dialog label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #35594c;
  margin: 0 0 6px;
}
.ow-transfer-dialog input[type="date"] {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid #cddbd3;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  color: #173e37;
  font: inherit;
}
.ow-transfer-dialog .hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: #8a6a32;
  line-height: 1.5;
}
.ow-transfer-dialog .error {
  margin: 8px 0 0;
  min-height: 0;
  color: #a12626;
  font-size: 13px;
}
.ow-transfer-dialog .ow-dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}
.ow-transfer-dialog .ow-dialog-foot button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.ow-transfer-dialog .ow-dialog-foot .cancel {
  background: #fffdf8;
  border: 1px solid #cddbd3;
  color: #274a3d;
}
.ow-transfer-dialog .ow-dialog-foot .go {
  background: #21834e;
  border: 1px solid #21834e;
  color: #fff;
}

@media (min-width: 761px) and (max-width: 1400px) and (max-height: 800px) {
  .ow-topline { padding: 6px 0 2px; gap: 6px 10px; }
  .ow-work.ow-work-wide,
  .ow-work:not(:has(.ow-side)) { padding-top: 8px; gap: 8px; }
  .ow-work-wide .ow-card { padding: 8px 12px; }
  .ow-work-wide .ow-progress-group { padding: 6px 4px; }
  .ow-unassigned .lede { margin-bottom: 6px; }
  .ow-unassigned-row { padding-top: 6px; }
  .ow-unassigned-actions .ow-next-action { min-height: 34px; }
  .ow-footnote { padding: 0 4px 4px; }
}

/* —— mark-supplied-20261112-1: העברה לסופק / סגירה כפויה —— */
.order-workspace .ow-toolbar > .ow-secondary {
  background: #fff;
  border-color: #cddbd3;
  color: #274a3d;
}
.ow-done-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #bcdcc5;
  border-radius: 12px;
  background: #eef8f1;
  padding: 12px 14px;
}
.ow-done-banner .mark {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #177346;
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.ow-done-banner strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #176b45;
}
.ow-done-banner p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #35594c;
}
.ow-mark-supplied-dialog {
  width: min(560px, calc(100vw - 32px));
  border: 0;
  border-radius: 14px;
  padding: 20px 22px 16px;
  background: #fff;
  color: #173e37;
  box-shadow: 0 18px 50px rgba(23, 62, 55, 0.28);
}
.ow-mark-supplied-dialog.ow-forced-dialog {
  border: 1px solid #e8c4c1;
}
.ow-mark-supplied-dialog::backdrop {
  background: rgba(20, 40, 36, 0.45);
}
.ow-mark-supplied-dialog h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #173e37;
}
.ow-mark-supplied-dialog .sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: #6b8177;
}
.ow-mark-supplied-dialog .lede {
  margin: 0 0 12px;
  font-size: 14px;
  color: #173e37;
}
.ow-mark-supplied-dialog label.field {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #35594c;
  margin: 12px 0 6px;
}
.ow-mark-supplied-dialog input[type="date"],
.ow-mark-supplied-dialog textarea.note {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cddbd3;
  border-radius: 10px;
  padding: 8px 12px;
  background: #fff;
  color: #173e37;
  font: inherit;
}
.ow-mark-supplied-dialog input[type="date"] {
  min-height: 42px;
  padding: 0 12px;
}
.ow-mark-supplied-dialog textarea.note {
  min-height: 72px;
  resize: vertical;
}
.ow-mark-supplied-dialog .hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: #8a6a32;
  line-height: 1.5;
}
.ow-mark-supplied-dialog .error {
  margin: 8px 0 0;
  min-height: 0;
  color: #a12626;
  font-size: 13px;
}
.ow-mark-supplied-dialog .info-note {
  margin: 0 0 12px;
  border: 1px solid #b7d7c8;
  background: #f3faf6;
  color: #1d5a45;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  line-height: 1.5;
}
.ow-mark-supplied-dialog .gap-box {
  border: 1px solid #e8d2a0;
  background: #fffdf8;
  border-radius: 10px;
  padding: 10px 12px;
}
.ow-mark-supplied-dialog .gap-box h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #7a5420;
}
.ow-mark-supplied-dialog .gap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ow-mark-supplied-dialog .gap-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
}
.ow-mark-supplied-dialog .gap-list .what {
  font-weight: 650;
  color: #173e37;
}
.ow-mark-supplied-dialog .gap-list .what small {
  display: block;
  font-weight: 500;
  color: #6b8177;
  margin-top: 1px;
}
.ow-mark-supplied-dialog .gap-list .linkish {
  border: 1px solid #e8d2a0;
  background: #fff;
  color: #7a5420;
  border-radius: 8px;
  min-height: 32px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}
.ow-mark-supplied-dialog .warn-banner {
  border: 1px solid #e8c4c1;
  background: #fbefee;
  color: #8a2f2a;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  margin: 0 0 12px;
  line-height: 1.5;
}
.ow-mark-supplied-dialog label.ack {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
}
.ow-mark-supplied-dialog label.ack input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1.5px solid #8a2f2a;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.ow-mark-supplied-dialog label.ack.checked input,
.ow-mark-supplied-dialog label.ack input:checked {
  background: #8a2f2a;
  box-shadow: inset 0 0 0 3px #fff;
}
.ow-mark-supplied-dialog .ow-dialog-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.ow-mark-supplied-dialog .ow-dialog-foot button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.ow-mark-supplied-dialog .ow-dialog-foot .force {
  margin-inline-end: auto;
  background: transparent;
  border: 0;
  color: #8a2f2a;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  padding: 0 4px;
}
.ow-mark-supplied-dialog .ow-dialog-foot .cancel {
  background: #fffdf8;
  border: 1px solid #cddbd3;
  color: #274a3d;
}
.ow-mark-supplied-dialog .ow-dialog-foot .go {
  background: #21834e;
  border: 1px solid #21834e;
  color: #fff;
}
.ow-mark-supplied-dialog .ow-dialog-foot .go-danger {
  background: #8a2f2a;
  border: 1px solid #8a2f2a;
  color: #fff;
}
.ow-mark-supplied-dialog .ow-dialog-foot .go-danger:disabled {
  opacity: 0.55;
  cursor: default;
}
@media (min-width: 1800px) {
  .ow-mark-supplied-dialog {
    width: min(620px, calc(100vw - 32px));
    padding: 24px 26px 18px;
  }
  .ow-mark-supplied-dialog h2 { font-size: 24px; }
  .ow-done-banner strong { font-size: 18px; }
  .ow-done-banner p { font-size: 14px; }
}
@media (min-width: 761px) and (max-width: 1400px) and (max-height: 800px) {
  .ow-done-banner { padding: 10px 12px; }
  .ow-mark-supplied-dialog { padding: 16px 18px 14px; }
}
.ow-mark-supplied-dialog .date-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ow-mark-supplied-dialog .date-row input[type="date"] {
  flex: 1 1 auto;
  min-width: 0;
}
.ow-mark-supplied-dialog .date-caption {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 650;
  color: #173e37;
  white-space: nowrap;
}

/* Assignment correction controls: keep them visible in the header and alerts. */
.ow-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.ow-alert .ow-blocker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ow-toolbar {
  flex-wrap: wrap;
}
.ow-progress-actions .ow-next-action[data-ab-resume] {
  font-weight: 700;
}


/* order-10547-cancel-assignment-20261122-1 */
.order-workspace .ow-toolbar > .ow-danger,
.ow-next-action.is-danger,
.ow-shortcut.ow-danger,
button.ow-danger {
  background: #b42318;
  color: #fff;
  border: 1px solid #9b1c1c;
}
.order-workspace .ow-toolbar > .ow-danger:hover,
.ow-next-action.is-danger:hover,
.ow-shortcut.ow-danger:hover,
button.ow-danger:hover {
  background: #912018;
}
.ow-progress-actions .ow-next-action.is-danger,
.ow-unassigned-actions .ow-next-action.is-danger {
  background: #b42318;
  color: #fff;
}

/* review-request-20261123-1 */
.ow-review-dialog .ow-review-preview {
  white-space: pre-wrap;
  background: #f6f3ee;
  border: 1px solid #e4ddd3;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  line-height: 1.55;
  margin: 0 0 10px;
}
.ow-review-pending,
.ow-review-block,
.ow-review-warn {
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 10px;
}
.ow-review-pending { background: #fff6d6; color: #6a4b00; }
.ow-review-block { background: #fdecea; color: #8a1f11; }
.ow-review-warn { background: #eef4ff; color: #1c3d7a; }
.ow-review-buttons { color: #555; font-size: .92em; margin: 0 0 12px; }
