/* Report master/detail tables and navigation only; scanner inputs and feedback colors unchanged. */
#reports .report-orders{max-height:350px}#reports .report-orders table{min-width:1100px}#reports .report-orders th{position:sticky;top:0;z-index:1}#reports #reportRows tr{cursor:pointer}#reports #reportRows tr.selected-report td{background:#edf5ee}#reports #reportRows tr:focus-visible{outline:2px solid var(--green);outline-offset:-2px}#reports .report-total{display:flex;gap:24px;align-items:center;flex-wrap:wrap;padding:12px 20px;margin:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px}#reports .report-total strong{font-size:18px;margin-left:6px;font-variant-numeric:tabular-nums;color:var(--ink)}#reports .report-total small{margin-left:auto}#reports .report-materials{margin-top:18px;border:1px solid var(--line);background:white}#reports .report-materials>.heading{padding:12px 16px;border-bottom:1px solid var(--line);background:#f7f9f5}#reports .report-materials h2{font-size:15px;margin:0}#reports .report-materials h2 small{font-size:12px;margin-left:12px;font-weight:400}#reports .report-materials .table-wrap{max-height:290px}#reports .report-materials table{min-width:650px}#reports .report-materials th{position:sticky;top:0;z-index:1}#reports #reportLineTotal{font-size:12px}#reports .matched-material td{background:#edf5ee}#reports #reportLines td:nth-child(3){white-space:normal;overflow-wrap:anywhere}#taskSyncBanner{padding:14px;margin-bottom:14px;font-size:14px}#taskSyncBanner button{display:flex;width:100%;margin-top:10px;min-height:44px}#shortageReturnNotice{padding:12px;font-size:15px;margin-bottom:14px}#shortageReturnNotice button{width:100%;min-height:48px;margin-top:10px}#pda>#backMyTasks{position:sticky;top:72px;z-index:9;min-height:44px;padding:8px 12px;background:var(--surface);border:1px solid var(--line);border-radius:6px;justify-content:flex-start;width:100%;font-size:16px;margin-bottom:10px}@media(max-width:680px){#pda>#backMyTasks{top:48px}#reports .report-total{gap:12px}#reports .report-total small{margin-left:0;width:100%}#reports .report-materials>.heading{align-items:flex-start;flex-direction:column;gap:8px}#mytasks .page-heading h1{font-size:25px}#mytasks .task-tools .filters input{font-size:16px;min-height:44px}#mytasks .task-tools button,#mytasks .task-row button{min-height:44px}#mytasks .task-row td{font-size:14px}#mytasks .task-row .order-link{font-size:15px!important}}
/* Compact read-only dispatch ledger; all styles stay outside PDA views. */
#reports .page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}#reports .page-heading h1{font-size:28px;margin:4px 0}#reports .page-heading p{margin:0;font-size:12px}#reports #reportForm{display:grid;grid-template-columns:repeat(2,minmax(128px,1fr)) repeat(5,minmax(100px,1fr)) auto auto;gap:10px;align-items:end;padding:16px}#reports #reportForm label{font-size:12px;min-width:0}#reports #reportForm input,#reports #reportForm select{width:100%;min-height:38px;font-size:13px;padding:8px}#reports #reportForm>button{min-height:38px;padding:8px 12px}#reports .report-more{grid-column:1/-1;font-size:12px}#reports .report-more>summary{width:fit-content;cursor:pointer;padding:4px 0;color:var(--green)}#reports .report-more>div{display:flex;gap:16px;padding:10px 0 0;align-items:end;flex-wrap:wrap}#reports .report-test{display:flex;align-items:center;gap:6px;min-height:38px}#reports #reportIncludeTest{width:18px;min-height:18px;height:18px}#reports .report-scope,.report-dialog .report-scope{font-size:12px;color:var(--muted);margin:0 16px 12px}#reports #reportTotal{display:grid;grid-template-columns:repeat(4,1fr);padding:14px 20px;gap:10px;background:#f5f9f5}#reports #reportTotal>span{font-size:12px}#reports #reportTotal strong{display:block;margin:4px 0 0;font-size:25px;line-height:1.2;color:var(--ink)}#reports #reportTotal>small{grid-column:1/-1;margin:3px 0 0}#reports .report-orders{max-height:calc(100dvh - 390px);min-height:180px}#reports .report-orders table{min-width:1420px}#reports .report-orders th,#reports .report-orders td{padding:10px 12px;font-size:12px;vertical-align:middle}#reports .report-orders tbody tr:hover td{background:#f1f7f0}#reports .report-orders tbody tr:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.report-confirmed{font-weight:700;color:var(--green)}.report-short{color:#975116}.report-dialog{width:min(1480px,96vw);height:min(900px,94dvh);max-width:96vw;max-height:94dvh;margin:auto;padding:0;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:white}.report-dialog::backdrop{background:#172d2966}.report-dialog-shell{height:100%;display:flex;flex-direction:column;min-height:0}.report-dialog header{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;gap:16px;border-bottom:1px solid var(--line)}.report-dialog header small{font-size:11px;color:var(--green)}.report-dialog h2{font-size:21px;margin:5px 0 0}.report-dialog-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px}.report-dialog footer{flex-shrink:0;padding:12px 22px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}.report-document-info{display:grid;grid-template-columns:2fr repeat(5,1fr);gap:18px;margin-bottom:18px}.report-document-info span,.report-document-info strong{display:block;overflow-wrap:anywhere}.report-document-info span{font-size:11px;color:var(--muted);margin-bottom:4px}.report-document-info strong{font-size:13px}.report-metrics{display:grid;grid-template-columns:repeat(4,1fr);padding:16px 20px;border:1px solid var(--line);background:#f5f9f5;border-radius:8px;margin-bottom:16px}.report-metrics span{font-size:12px;color:var(--muted)}.report-metrics strong{display:block;font-size:27px;font-variant-numeric:tabular-nums;margin-top:5px}.report-asn{border:1px solid var(--line);border-radius:8px;margin-top:14px;overflow:hidden}.report-asn>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;cursor:pointer;background:#f5f9f5;font-size:13px}.report-asn>summary:before{content:'▸';color:var(--green)}.report-asn[open]>summary:before{content:'▾'}.report-asn>summary>strong{margin-right:auto}.report-asn>summary span{font-size:12px;color:var(--muted)}.report-dialog table{min-width:1100px}.report-dialog th,.report-dialog td{font-size:12px;padding:10px 12px;vertical-align:top}.report-dialog th{position:sticky;top:0;z-index:1}.report-dialog .table-wrap{max-height:400px}.report-dialog .report-dates{min-width:180px;white-space:normal}.report-dialog code{overflow-wrap:anywhere;white-space:normal;font-size:11px}.report-dialog td small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.report-dialog .report-box-tools{display:flex;gap:10px;align-items:end;margin:20px 0 12px}.report-box-tools label{min-width:min(380px,70%)}.report-dialog button{min-height:36px}.report-alert{padding:12px 16px;border:1px solid #dfc9a5;background:#fff9ed;color:#86521a;font-size:13px;margin-bottom:15px}.report-dialog :focus-visible,#reports :focus-visible{outline:2px solid var(--green);outline-offset:3px}.report-dialog .mono{overflow-wrap:anywhere;white-space:normal;font-variant-numeric:tabular-nums}#reports .number,.report-dialog .number{font-variant-numeric:tabular-nums}
@media(max-width:1280px){#reports #reportForm{grid-template-columns:repeat(4,minmax(100px,1fr)) auto}#reports .page-heading{align-items:flex-start}.report-document-info{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){#reports .page-heading{flex-direction:column;align-items:stretch;gap:12px}#reports .page-heading .row-actions{flex-wrap:wrap}#reports #reportForm{grid-template-columns:repeat(2,minmax(0,1fr))}#reports #reportForm input,#reports #reportForm select{font-size:16px;min-height:44px}#reports #reportTotal{grid-template-columns:repeat(2,1fr)}#reports .report-orders{max-height:420px}.report-dialog{max-width:100vw;width:100vw;height:96dvh;max-height:96dvh;border-radius:12px 12px 0 0;margin:auto auto 0}.report-dialog-body{padding:12px}.report-document-info{grid-template-columns:repeat(2,1fr);gap:12px}.report-metrics{gap:12px;padding:12px}.report-metrics strong{font-size:21px}.report-dialog header{padding:12px}.report-dialog h2{font-size:17px}.report-asn>summary{flex-wrap:wrap}.report-asn>summary span{width:100%}.report-dialog button{min-height:44px}.report-dialog footer{padding:12px}.report-dialog .report-box-tools{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.report-dialog,#reports{scroll-behavior:auto;animation:none}}
#reports #reportForm>label{display:flex;flex-direction:column;gap:6px;margin:0;align-self:end}#reports #reportForm>label input,#reports #reportForm>label select{margin:0}#reports #reportForm .report-test{display:flex;flex-direction:row;flex:none;align-items:center;gap:8px;white-space:nowrap;min-width:150px}#reports #reportForm #reportIncludeTest{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0}#reports .report-orders tr>:last-child{position:sticky;right:0;min-width:90px;background:white;box-shadow:-1px 0 0 var(--line)}#reports .report-orders thead th:last-child{z-index:2;background:#f5f9f5}
