.container-unload{display:grid;gap:20px;max-width:920px;min-width:0}.container-unload p{line-height:1.55;margin:8px 0;color:var(--muted,#a2aebb)}.container-unload h3{margin:0;font-size:19px;letter-spacing:-.02em}.container-unload button,.container-unload input:not([type=checkbox]):not([type=radio]),.container-unload select{min-height:48px}.container-unload textarea,.container-unload input{max-width:100%;min-width:0}.container-unload fieldset{border:1px solid var(--line,#293949);border-radius:12px;padding:16px;min-width:0}.unload-summary,.unload-next,.unload-packing,.unload-history,.unload-finish{padding:20px;border:1px solid var(--line,#293949);background:var(--panel,#111e2a);border-radius:16px;min-width:0}.unload-summary .badge{white-space:normal}.unload-steps{display:flex;list-style:none;padding:0;margin:20px 0 12px;gap:12px}.unload-steps li{display:flex;gap:8px;align-items:center;flex:1;min-width:0;font-size:12px;color:var(--muted,#a2aebb)}.unload-steps b{display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid var(--line);border-radius:50%}.unload-steps .done{color:#c1e7d1}.unload-steps .done b{background:#1c3c32;border-color:#497c64}.unload-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.unload-section-head>div{min-width:0}.unload-section-head small{display:block;color:var(--muted,#a2aebb);font-size:10px;letter-spacing:.14em;margin-bottom:6px}.unload-section-head>span{font-size:12px;color:var(--muted,#a2aebb);flex-shrink:0}.unload-lines{display:grid;gap:10px;margin:16px 0}.unload-line{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line,#293949);border-radius:12px;cursor:pointer;background:#0c1922;min-width:0}.unload-line:has(input:checked){border-color:#77b5d5;background:#142c3b}.unload-line input,.unload-unit-confirm input{width:22px;height:22px;flex:0 0 22px;margin:2px 0}.unload-line>span{display:grid;gap:7px;min-width:0;overflow-wrap:anywhere}.unload-line strong{font-size:15px}.unload-line small{color:var(--muted,#a2aebb);line-height:1.45}.unload-line-progress{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:#acbecb}.unload-line-progress .pending{color:#e3c790}.unload-empty{padding:20px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);line-height:1.55}.unload-history article{padding:16px 0;border-top:1px solid var(--line);min-width:0}.unload-history article>div{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.unload-history article>small{display:block;color:var(--muted);margin:6px 0}.unload-history ul{margin:10px 0 0;padding-left:20px;line-height:1.6;overflow-wrap:anywhere}.unload-history li strong{margin-left:8px}.unload-finish{border-color:#395546}.unload-finish.complete{background:#102a22}.unload-saved,.unload-detail-action{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;background:#152b39;border:1px solid #456477;border-radius:14px}.unload-saved>div,.unload-detail-action>div{min-width:0;overflow-wrap:anywhere}.unload-saved small{display:block;margin-top:5px;color:var(--muted)}.unload-detail-action p{line-height:1.5;color:var(--muted);margin:6px 0 0}.unload-card-progress{color:#b9d5e3;font-size:12px;line-height:1.5;margin:0 0 12px}.unload-capture-context{padding:16px;background:#152b39;border:1px solid #456477;border-radius:12px;overflow-wrap:anywhere}.unload-capture-context p{line-height:1.5;color:var(--muted);margin:7px 0 0}.unload-plan-reference{border-bottom:1px solid var(--line);padding-bottom:12px;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}.unload-unit-confirm{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #3a5363;border-radius:12px;background:#132936;line-height:1.5;margin-top:12px;min-width:0}.unload-unit-confirm span{min-width:0;overflow-wrap:anywhere}#dialog:has(.container-unload){width:min(960px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}#dialog:has(.container-unload) .modal-head h2{overflow-wrap:anywhere}#dialog:has(.container-unload) .modal-head p{margin:4px 0 0;color:var(--muted);font-size:12px}@media(max-width:600px){.container-unload{padding:16px!important;gap:16px}.unload-summary,.unload-next,.unload-packing,.unload-history,.unload-finish{padding:16px}.unload-steps{flex-direction:column;gap:10px}.unload-saved,.unload-detail-action{align-items:stretch;flex-direction:column}.unload-section-head{align-items:flex-start;flex-wrap:wrap}.unload-section-head button{width:100%}.unload-line{padding:12px}.unload-next>.primary{width:100%}.unload-line-progress{display:grid;gap:6px}}
