.store-orders-dialog{width:min(1000px,96vw);max-height:90dvh;padding:0;border:1px solid #b3cbdc;border-radius:20px;background:#f3f7fb;color:#173b5b}.store-orders-dialog::backdrop{background:#142a46a8}.store-orders-dialog>header{position:sticky;top:0;background:#1e4567;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:22px;gap:18px;z-index:1}.store-orders-dialog h2{margin:5px 0;color:inherit}.store-orders-dialog>main{padding:22px}.store-orders-dialog article{background:#fff;border:1px solid #c8d8e5;border-radius:14px;padding:20px;margin:16px 0;overflow-wrap:anywhere}.store-order-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-orders-dialog form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:18px 0}.store-orders-dialog label{display:grid;gap:8px}.store-orders-dialog input{min-height:44px;border:1px solid #93adbf;border-radius:8px;padding:10px;font:inherit}.store-order-error{color:#a32525}
.part-request-status{display:inline-flex;flex-direction:column;align-items:center;gap:4px;flex-shrink:0}
.part-request-status>small{font-size:12px;font-weight:700;color:var(--wr-muted,#596c83);line-height:1.2}
.dashboard-desk-job .part-request-status>small{color:#d4e6fa}
.part-request-row .part-request-status>.status{white-space:nowrap;margin:0;font-style:normal}
.part-request-owner{font-size:13px;color:var(--wr-muted,#596c83);font-weight:600}
.part-request-row .mobile-job-head{align-items:flex-start;gap:12px}
.part-request-row .mobile-job-head>.mobile-job-open{min-width:0;overflow-wrap:anywhere;text-align:left;min-height:44px}
.part-request-row .mobile-job-meta{gap:12px;align-items:center}
.part-request-row .mobile-job-meta>span{min-width:0;white-space:normal}
.part-request-warning{background:#fff4db;color:#734711;border:1px solid #dfbe74;border-radius:10px;padding:12px 16px;margin:12px}
.part-request-warning[hidden]{display:none}
.store-request-banner{display:flex;align-items:center;gap:16px;padding:14px;background:#eaf3ff;border:1px solid #b6cfe8;border-radius:10px;margin-bottom:18px}
.store-request-banner>.part-request-status{min-width:110px}
.store-orders-dialog .status{background:#dceaff;color:#174c94;border-radius:14px;padding:6px 12px;font-size:13px;font-weight:700;white-space:nowrap}
.store-orders-dialog .status.complete{background:#d9f4e6;color:#136c46}
@media(max-width:600px){.store-request-banner{align-items:flex-start;gap:12px;flex-wrap:wrap}.store-orders-dialog>main{padding:14px}.store-orders-dialog article{padding:14px}}

/* Website source is a normal Job; only the request-kind caption differs. */
.job-request-kind{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:5px 12px;border:1px solid #badcf7;border-radius:999px;background:#e8f4ff;color:#185883;font-size:12px;font-weight:700;line-height:1.3;white-space:nowrap;font-style:normal}
.job-request-kind svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}
.tech-picker.unassigned,.schedule-cell strong,.job-schedule-summary span{word-break:normal;overflow-wrap:normal}
.tech-picker.unassigned{white-space:nowrap;min-width:max-content}

.job-status-stack{display:inline-flex;flex-direction:column;align-items:stretch;gap:6px;flex-shrink:0;min-width:108px;text-align:center}.job-status-stack .status{white-space:nowrap;margin:0;justify-content:center}.dashboard-desk-job .job-status-stack{display:inline-flex;gap:6px}.dashboard-desk-job .job-request-kind{background:#e8f4ff;color:#185883;border-color:#badcf7}
body .job-status-stack .status{align-self:stretch;width:100%;justify-content:center}

.job-source-caption{display:block;margin-top:4px;font-size:11px;line-height:1.3;font-weight:400}.dashboard-desk-job .job-source-caption{color:#d4e6fa}
body .dashboard-desk-job>span:first-child>b{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
body .dashboard-desk-job .job-source-caption{display:block;margin:0}

/* Appliance and Part remain distinct in every Case representation. */
.case-part-list{display:grid;gap:9px;min-width:0}
.case-part-item{display:grid;gap:4px;min-width:0;max-width:250px;overflow-wrap:anywhere;line-height:1.4}
.case-part-item strong{color:#244568}
.case-part-item small{color:#536b83;font-size:12px}
.case-empty-part{color:#75869a}
.case-mobile-parts{display:grid;gap:6px;padding:10px 12px;margin:9px 0;background:#edf6ff;border:1px solid #c5e0f6;border-radius:10px}
.case-mobile-parts>b{font-size:11px;color:#175680}
.case-mobile-parts .case-part-item{max-width:none}
.case-appliance-summary b{font-weight:600}
@media(min-width:901px){
  .jobs-table-wrap{max-width:100%;overflow-x:auto}
  .jobs-table{min-width:1100px}
  .jobs-table .case-part-column{min-width:165px;max-width:250px}
  .jobs-table th:nth-child(5),.jobs-table td:nth-child(5){display:table-cell}
  .jobs-table th:nth-child(8),.jobs-table td:nth-child(8){width:44px;padding-left:6px;padding-right:8px}
}
