.task-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.task-head h1{font-size:19px;margin:0 0 6px}.task-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.task-stat{background:#fff;border:1px solid #e8ecf3;border-radius:7px;padding:17px}.task-stat small{display:block;color:#8694a9}.task-stat b{font-size:23px;display:block;margin-top:9px}.task-notice{background:#eef3ff;border-left:3px solid #6b8afa;color:#6178a8;padding:11px 14px;font-size:12px;margin-bottom:14px;border-radius:4px}.task-filter{display:flex;align-items:center;gap:10px;padding:13px 16px;flex-wrap:wrap}.task-table{width:100%;border-collapse:collapse;white-space:nowrap}.task-table th,.task-table td{padding:12px 10px;border-bottom:1px solid #edf0f4;text-align:left;font-size:12px}.task-table th{color:#5e708b}.task-table td{color:#364b6e}.task-table .link{font-size:12px}.task-step{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border:1px solid #e3e9f2;border-radius:6px;margin:8px 0;gap:12px}.task-step b{display:block}.task-step small{display:block;color:#8b99aa;margin-top:4px}.dept-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:19px}.dept-card{border:1px solid #e4eaf3;border-radius:7px;padding:15px}.dept-card h3{margin:0 0 12px;font-size:14px}.task-form{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;padding:20px}.task-form label{display:flex;flex-direction:column;gap:7px;color:#5c6b84}.task-form .input{width:100%}.task-form .full{grid-column:1/-1}.barcode-label{border:1px solid #aab9d0;background:#fff;padding:16px;margin:12px auto;width:min(500px,100%);font-size:12px}.barcode-label .identity{display:flex;justify-content:space-between;gap:15px;font-weight:650}.barcode-label svg{display:block;margin:12px auto 3px;max-width:100%;height:73px}.barcode-label strong{display:block;text-align:center;letter-spacing:.12em}.barcode-warning{font-size:11px;color:#b06f3a;background:#fff5e9;padding:9px 12px;line-height:1.6}.task-pipeline{display:flex;gap:8px;padding:16px;flex-wrap:wrap}.task-pipeline span{background:#f1f5fc;border:1px solid #e0e7f3;border-radius:5px;padding:7px 10px;color:#677d9e}.task-pipeline span.current{background:#eaf1ff;color:#416bd6;border-color:#bcd0ff}@media(max-width:950px){.task-stats{grid-template-columns:repeat(2,1fr)}.dept-grid{grid-template-columns:1fr}}@media(max-width:600px){.task-form{grid-template-columns:1fr}.task-stats{grid-template-columns:1fr 1fr}}@media print{#task-label-print{display:block!important;position:static!important;background:#fff!important}#task-label-print>.drawer{width:100%!important;height:auto!important;box-shadow:none!important}#task-label-print .drawerhead,#task-label-print .drawerfoot,.barcode-warning{display:none!important}.barcode-label{break-inside:avoid;width:85mm;margin:10mm auto}}
@media print{body.printing-task-label>#task-label-print{display:block!important;position:static!important}body.printing-task-label>#order-preview{display:none!important}}
.task-batch-form{padding:10px 20px}.task-batch-item{border:1px solid #e0e8f3;border-radius:7px;padding:15px;margin:10px 0;background:#fbfcff}.task-batch-title{font-weight:700;color:#344e7b;margin-bottom:12px}.task-batch-title small{display:block;color:#8795a9;font-weight:400;margin-top:4px}.task-batch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.task-batch-grid label{display:grid;gap:5px;color:#62738e;font-size:12px}.task-batch-grid .input{width:100%;min-width:0}@media(max-width:600px){.task-batch-grid{grid-template-columns:1fr}}
.task-sample-fields{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:1px solid #dfebf8;background:#f5f8fe;border-radius:6px;padding:12px}.task-sample-fields label{display:grid;gap:5px}.task-batch-grid textarea{min-height:64px;resize:vertical}.task-log{padding:8px 20px 18px}.task-log>div{padding:11px 0;border-bottom:1px solid #e9edf3}.task-log b{display:block;color:#354b6e}.task-log small{display:block;margin-top:4px;color:#78879d;white-space:normal}@media(max-width:700px){.task-sample-fields{grid-template-columns:1fr}}
.delivery-flow .workflow-panel{margin:14px 0}.delivery-preview .workflow-panel{border-color:#cfddf4;background:#fff}.delivery-flow .workflow-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:16px}.delivery-flow .workflow-node{min-width:0;min-height:108px;padding:12px;border:1px solid #e3eaf5;border-radius:7px;background:#fbfcff;display:block}.delivery-flow .workflow-node.current{border-color:#94aff6;background:#f5f8ff}.delivery-flow .workflow-node:not(:last-child)::before{display:none}.delivery-flow .workflow-marker{position:absolute;top:11px;left:11px}.delivery-flow .workflow-node-body{padding:0;margin:0 0 0 38px;width:auto}.delivery-flow .workflow-node-body p{line-height:1.55}@media(max-width:620px){.delivery-flow .workflow-rail{grid-template-columns:1fr}}
.shared-sample-card{border:1px solid #bfd4f6;background:#f4f8ff;border-radius:8px;padding:15px;margin:12px 0}.shared-sample-card small{display:block;color:#6c7f9e;margin:6px 0 12px}.shared-toggle{display:flex;align-items:center;gap:9px;color:#2e5086;font-weight:700}.shared-toggle input{width:18px;height:18px;accent-color:#5c82fa}.shared-sample-card .task-sample-fields{background:white}.shared-allocation{display:grid;gap:6px;margin-top:12px;color:#65758e}.shared-flow-note{margin:14px 20px;padding:12px 14px;border:1px solid #c7d9f3;background:#f1f6ff;border-radius:6px;color:#416293}.task-batch-item .shared-flow-note{margin:14px 0 0}.drawerback.delivery-wide .drawer{width:min(1530px,calc(100vw - 26px))}.delivery-wide .delivery-flow .workflow-panel{margin:16px 18px}.delivery-wide .delivery-flow .workflow-rail{display:flex;grid-template-columns:none;gap:0;overflow-x:auto;align-items:stretch;padding:18px 12px}.delivery-wide .delivery-flow .workflow-node{display:flex;flex:1 0 122px;min-width:122px;min-height:155px;border:0;border-radius:0;background:transparent;padding:0 8px 0 0}.delivery-wide .delivery-flow .workflow-node.current{background:transparent}.delivery-wide .delivery-flow .workflow-node:not(:last-child)::before{display:block;left:27px;right:0;top:13px}.delivery-wide .delivery-flow .workflow-marker{position:relative;top:auto;left:auto}.delivery-wide .delivery-flow .workflow-node-body{padding-top:36px;margin-left:-36px;width:100%}.delivery-wide .delivery-flow .workflow-node-body p{font-size:12px;line-height:1.5}@media(max-width:700px){.drawerback.delivery-wide .drawer{width:100%}.delivery-wide .delivery-flow .workflow-node{flex-basis:165px;min-width:165px}}
/* One ordered OA-style flow for generated delivery work orders. */
.delivery-linear{border:1px solid #e0e8f4;border-radius:8px;background:#fff;margin:16px 0;overflow:hidden}.delivery-linear-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf1f7;padding:15px 19px}.delivery-linear-head b{color:#354c72;font-size:14px}.delivery-linear-head span{color:#94a2b6;font-size:11px}.delivery-linear-list{list-style:none;margin:0;padding:18px 24px 20px}.delivery-linear-step{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:15px;position:relative;min-height:93px}.delivery-linear-step:not(:last-child)::before{content:"";position:absolute;top:27px;bottom:0;left:13px;width:2px;background:#dfe7f3}.delivery-linear-marker{position:relative;z-index:1;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eff2f6;color:#94a2b6;font-size:12px;font-weight:700}.delivery-linear-step.done .delivery-linear-marker{background:#e7f6ed;color:#2a9868}.delivery-linear-step.current .delivery-linear-marker{background:#5c82fa;color:#fff;box-shadow:0 0 0 4px #edf2ff}.delivery-linear-content{padding:3px 0 22px;min-width:0}.delivery-linear-name{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.delivery-linear-name strong{color:#344968;font-size:13px}.delivery-linear-step.current .delivery-linear-name strong{color:#4773df}.delivery-linear-name span{color:#9aa8ba;font-size:11px}.delivery-linear-step.done .delivery-linear-name span{color:#3c9b70}.delivery-linear-step.current .delivery-linear-name span{color:#5c82fa}.delivery-linear-role{margin-top:7px;font-size:12px;color:#6980a4}.delivery-linear-content p{margin:6px 0 0;font-size:12px;color:#7f8ea4;line-height:1.65;white-space:normal}.delivery-preview .delivery-linear{margin:14px 0 0}.delivery-wide .delivery-flow .delivery-linear{margin:16px 18px}.delivery-wide .delivery-flow .delivery-linear-list{max-width:920px;padding:22px 32px}@media(max-width:700px){.delivery-linear-list{padding:16px}.delivery-linear-head{align-items:flex-start;flex-direction:column}}
