.ho-module{color:#27313A;font:14px/1.5 Inter,"PingFang SC","Microsoft YaHei",sans-serif;min-width:0;width:100%;max-width:none;margin:0}.ho-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.ho-heading h1,.ho-pad h1{font-size:24px;margin:4px 0}.ho-heading p{color:#5E6975;margin:4px 0}.ho-heading small{color:#07868D}.ho-card{padding:24px;border:1px solid #E5E9EF;background:#fff;border-radius:10px;margin-bottom:20px;min-width:0}.ho-card h2,.ho-sign-card h2{font-size:16px;margin:0 0 16px}.ho-btn{font:inherit;min-height:38px;padding:8px 16px;border:1px solid #D8DEE7;border-radius:5px;background:#fff;color:#27313A;cursor:pointer;white-space:nowrap}.ho-btn:hover{background:#F6F8FA}.ho-btn.primary{background:#07868D;color:#fff;border-color:#07868D}.ho-btn.primary:hover{background:#046B71}.ho-btn:disabled{opacity:.5;cursor:wait}.ho-module input,.ho-module select,.ho-dialog input,.ho-dialog select,.ho-pad input{font:inherit;box-sizing:border-box;max-width:100%;min-width:0;min-height:38px;border:1px solid #D8DEE7;border-radius:5px;padding:8px 10px;color:#27313A;background:#fff}.ho-btn:focus-visible,.ho-field input:focus,.ho-field select:focus{outline:3px solid #07868D33;outline-offset:1px}.ho-field{display:flex;flex-direction:column;gap:6px;min-width:0}.ho-field>span{color:#5E6975}.ho-filter{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;align-items:end}.ho-check{display:flex;gap:8px;align-items:center;margin:12px 0}.ho-check input{min-height:20px;width:18px;height:18px;accent-color:#07868D;flex:none}.ho-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ho-top-actions{margin:0 0 20px}.ho-toolbar,.ho-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ho-toolbar{margin-bottom:16px}.ho-toolbar>span{color:#5E6975}.ho-pagination{justify-content:flex-end;margin-top:16px}.ho-pagination>span:first-child{margin-right:auto}.ho-table-wrap{overflow:auto;max-width:100%;min-width:0}.ho-module table,.ho-pad table,#hoPrint table{border-collapse:collapse;width:100%;min-width:820px;text-align:left}.ho-module th,.ho-pad th,#hoPrint th{background:#F6F8FA;position:sticky;top:0;font-size:12px;color:#5E6975;white-space:nowrap}.ho-module td,.ho-module th,.ho-pad td,.ho-pad th,#hoPrint td,#hoPrint th{padding:12px 14px;border-bottom:1px solid #E5E9EF;vertical-align:top}.ho-module tbody tr:hover{background:#E9F7F7}.ho-module small{color:#8B95A1}.ho-tag{display:inline-flex;align-items:center;padding:3px 9px;border-radius:4px;font-size:12px;background:#F0F2F5;color:#5E6975;white-space:nowrap}.ho-tag.ok{color:#348450;background:#EBF7EF}.ho-tag.info{color:#397BD1;background:#EDF3FC}.ho-warn{color:#A36B14}.ho-note{background:#E9F7F7;border-radius:5px;padding:12px 16px;color:#046B71}.ho-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}.ho-facts p{margin:0;overflow-wrap:anywhere}.ho-facts small{display:block;margin-bottom:6px;color:#5E6975}.ho-columns,.ho-grid,.ho-pad-sign-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ho-columns .ho-card{height:auto}.ho-signatures{display:flex;gap:24px}.ho-signatures img{display:block;width:240px;max-width:100%;border:1px solid #E5E9EF}.ho-dialog{font:14px/1.5 Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#27313A;width:min(940px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #E5E9EF;border-radius:10px;box-shadow:0 16px 60px #27313a26}.ho-dialog::backdrop{background:#27313a66}.ho-dialog[open]{display:flex;flex-direction:column}.ho-dialog header,.ho-dialog footer{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;gap:8px;flex:none}.ho-dialog header{border-bottom:1px solid #E5E9EF}.ho-dialog header h2{font-size:18px;margin:0}.ho-dialog footer{justify-content:flex-end;border-top:1px solid #E5E9EF;flex-wrap:wrap}.ho-dialog #hoBody{overflow:auto;padding:20px 24px;min-height:0}.ho-dialog fieldset{border:1px solid #E5E9EF;border-radius:8px;margin:20px 0;padding:16px}.ho-dialog legend{font-weight:600}.ho-error,#hoError{padding:12px;background:#FFF0F0;color:#B43F43;border:1px solid #E95D62;border-radius:5px;margin-bottom:16px;white-space:pre-wrap}.ho-error[hidden],#hoError[hidden]{display:none}.ho-toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#27313A;color:#fff;padding:12px 20px;border-radius:6px;box-shadow:0 4px 16px #27313a33;z-index:10001;max-width:calc(100vw - 40px)}.ho-empty{padding:48px;text-align:center;color:#8B95A1}.ho-pad-active> :not(#hoPad):not(#handoverToast):not(#hoPrint){display:none!important}.ho-pad{position:fixed;inset:0;background:#F4F6F8;z-index:1000;display:flex;flex-direction:column;font:16px/1.5 Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#27313A}.ho-pad-head{padding:16px 24px;background:#fff;border-bottom:1px solid #E5E9EF;display:flex;align-items:center;justify-content:space-between;gap:16px}.ho-pad-head small{color:#07868D}.ho-pad-body{padding:24px;overflow:auto;flex:1;min-height:0}.ho-pad .ho-facts{grid-template-columns:2fr 1fr 1fr}.ho-pad footer{padding:16px 24px;border-top:1px solid #E5E9EF;background:#fff;display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.ho-pad .ho-btn,.ho-pad input{min-height:44px}.ho-pad-sign-grid{margin:24px 0}.ho-sign-card{border:1px solid #D8DEE7;background:#fff;border-radius:10px;padding:16px;min-width:0}.ho-sign-card canvas{display:block;background:linear-gradient(transparent 79%,#E5E9EF 80%,transparent 81%);width:100%;height:180px;touch-action:none;border:1px solid #D8DEE7;border-radius:5px;margin-bottom:12px}.ho-sign-card .ho-actions{justify-content:space-between}.ho-sign-card .ho-actions span{font-size:13px;color:#5E6975}#hoPrint{display:none}@media(max-width:1100px){.ho-filter{grid-template-columns:1fr 1fr}.ho-facts{grid-template-columns:1fr 1fr}}@media(max-width:767px){.ho-card{padding:16px}.ho-heading{align-items:flex-start}.ho-heading h1,.ho-pad h1{font-size:21px}.ho-filter,.ho-grid,.ho-columns,.ho-pad-sign-grid,.ho-pad .ho-facts{grid-template-columns:1fr}.ho-field input,.ho-field select,.ho-btn{min-height:44px}.ho-dialog header,.ho-dialog footer,.ho-dialog #hoBody{padding:16px}.ho-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.ho-pad-head,.ho-pad-body,.ho-pad footer{padding:16px}.ho-pad-head{align-items:flex-start}.ho-pad-head .ho-btn{white-space:normal;max-width:140px}.ho-signatures{flex-wrap:wrap}.ho-pagination{gap:8px}.ho-module{width:100%}.ho-sign-card canvas{height:160px}}@media print{body>*{display:none!important}body>#hoPrint{display:block!important;font:12px/1.5 sans-serif;color:#000}#hoPrint table{min-width:0}#hoPrint .ho-table-wrap{overflow:visible}#hoPrint th,#hoPrint td{padding:8px}#hoPrint h1{font-size:20px}@page{margin:15mm;size:A4 landscape}}
.ho-field-error{color:#B43F43;font-size:12px}.ho-field-error:empty{display:none}.ho-field input[aria-invalid=true]{border-color:#E95D62}

/* 作业表操作列在容器内固定，明细货物表不冻结差异列。 */
.ho-worklist td:last-child,.ho-worklist th:last-child{position:sticky;right:0;min-width:104px;background:#fff;border-left:1px solid #E5E9EF;z-index:1}.ho-worklist th:last-child{background:#F6F8FA;z-index:2}.ho-worklist tr:hover td:last-child{background:#E9F7F7}

.ho-next{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:12px 16px;margin:0 0 16px;border-radius:10px;background:#F3F6F9;border:1px solid #E5E9EF;color:#3B4A55}
.ho-next strong{font-size:14px;color:#1F2D33}
.ho-next span{flex:1 1 420px;font-size:13px;line-height:1.6}
.ho-next-act{background:#E9F7F7;border-color:#BFE3E2}
.ho-next-act strong{color:#046B71}
.ho-worklist td .ho-btn+.ho-btn{margin-left:6px}
/* 2026-11-16 备货弹窗：多货物表格 */
.ho-dialog.ho-wide{width:min(1280px,calc(100vw - 32px))}
.ho-prep-head{grid-template-columns:repeat(3,minmax(0,1fr))}
.ho-prep-wrap{margin-top:12px;max-height:none}
.ho-prep{width:100%;border-collapse:collapse;min-width:1080px}
.ho-prep th{background:#F6F8FA;font-weight:600;font-size:12px;color:#5E6975;text-align:left;padding:8px;border-bottom:1px solid #E5E9EF;white-space:nowrap}
.ho-prep td{padding:8px;border-bottom:1px solid #EEF1F4;vertical-align:top}
.ho-prep td input{width:100%;min-width:72px}
.ho-prep td .ho-calc{display:block;font-size:11px;color:#8A96A3;margin-top:3px;white-space:nowrap}
.ho-prep .ho-prep-item{min-width:200px}
.ho-prep .ho-prep-item b,.ho-prep .ho-prep-item span,.ho-prep .ho-prep-item small{display:block}
.ho-prep .ho-prep-item span{color:#27313A}
.ho-prep .ho-prep-item small{font-size:11px;color:#8A96A3;margin-top:2px}
.ho-prep .ho-prep-item .ho-warn{color:#B42318;margin:2px 0 0}
.ho-prep .ho-prep-item .ho-warn:empty{display:none}
.ho-prep .ho-num{text-align:right;white-space:nowrap;padding-top:16px}
.ho-prep .ho-prep-eq{min-width:120px}
.ho-prep .ho-prep-eq label{display:block;margin-bottom:6px}
.ho-prep .ho-prep-eq label>span{display:block;font-size:11px;color:#5E6975}
.ho-prep input.ho-diff{background:#FFF7E8;border-color:#E0A030}
.ho-prep tfoot td{background:#F6F8FA;font-size:12px;color:#5E6975;border-top:1px solid #E5E9EF}
.ho-prep tfoot td b{color:#27313A;font-size:13px}
.ho-muted{color:#8A96A3;font-size:12px}
@media(max-width:767px){.ho-prep-head{grid-template-columns:1fr}}
.ho-prep .ho-prep-eq{min-width:200px}
.ho-prep .ho-prep-eq label{display:grid;grid-template-columns:72px 72px auto;align-items:center;gap:6px;margin-bottom:4px}
.ho-prep .ho-prep-eq label>span{font-size:12px;color:#27313A}
.ho-prep .ho-prep-eq input{min-height:30px;padding:4px 6px;min-width:0}
.ho-prep .ho-prep-eq .ho-calc{margin:0;font-size:11px}
