.shipment-register-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:22px}
.shipment-register-tabs button{background:transparent;color:var(--muted);border-radius:0;border-bottom:3px solid transparent}
.shipment-register-tabs button[aria-selected=true]{color:var(--blue);border-color:var(--blue)}
.shipment-register-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.shipment-register-heading h3,.shipment-register-heading p{margin:0}
.shipment-register-muted{color:var(--muted);font-size:13px}
.shipment-register-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.shipment-register-layout{display:grid;grid-template-columns:170px minmax(0,1fr);gap:20px;margin-top:12px}
.shipment-register-locations{display:flex;flex-direction:column;gap:9px}
.shipment-register-locations button{background:var(--panel);color:var(--text);border:1px solid var(--line);text-align:left;padding:16px}
.shipment-register-locations button[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff}
.shipment-register-content{min-width:0}
.shipment-register-panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:22px;margin-bottom:18px}
.shipment-register-account{padding:18px 0;border-top:1px solid var(--line);margin-top:15px}
.shipment-register-account h3{font-size:16px}
.shipment-register-account p{margin:6px 0}
.shipment-register-number{font-family:Consolas,monospace;overflow-wrap:anywhere}
.shipment-register-badge{display:inline-block;background:var(--green-soft);color:var(--green);border-radius:6px;padding:5px 8px;font-size:12px}
.shipment-register-badge.is-pending{background:var(--gold-soft);color:#805a0e}
.shipment-register-message{min-height:22px;margin:12px 0;overflow-wrap:anywhere}
.shipment-register-error{color:var(--danger);font-size:13px}
.shipment-register-exclusions{padding:12px;background:var(--gold-soft);border-radius:8px;margin-top:14px}
.shipment-register-exclusions summary{font-weight:600}
.shipment-register-empty{color:var(--muted);padding:20px 0}
.shipment-register-dialog{width:min(820px,94vw);max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);padding:24px}
.shipment-register-dialog::backdrop{background:#17203399}
.shipment-register-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.shipment-register-dialog header h2{margin:0}
.shipment-register-code{background:#fff;color:#000;padding:30px 15px;margin:20px 0;text-align:center;overflow-x:auto}
.shipment-register-code svg{width:min(100%,640px);height:auto;min-width:240px;max-height:260px}
.shipment-register-print{position:fixed;width:1px;height:1px;border:0;bottom:0;left:0}
.shipment-register-ttns{margin:12px 0}
.shipment-register-ttns summary{cursor:pointer;font-weight:600;padding:8px 0}
.shipment-register-table-wrap{max-height:320px;overflow:auto;margin:10px 0}
.shipment-register-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}
.shipment-register-table th,.shipment-register-table td{padding:7px 9px;border-bottom:1px solid var(--line);vertical-align:top}
.shipment-register-table th{position:sticky;top:0;background:var(--panel)}
.shipment-register-table td:first-child{white-space:nowrap}
.shipment-register-table button{padding:6px 10px;font-size:12px}
.shipment-register-editor-fields{border:0;padding:0;margin:0;min-width:0}
.shipment-register-editor-fields form{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.shipment-register-editor-fields label{display:grid;gap:6px;flex:1;min-width:200px}
.shipment-register-editor-fields input{width:100%;box-sizing:border-box}
@media(max-width:760px){.shipment-register-layout{grid-template-columns:1fr}.shipment-register-locations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.shipment-register-panel{padding:16px}.shipment-register-dialog{padding:16px}.shipment-register-dialog header{flex-wrap:wrap}.shipment-register-actions button{min-height:44px}}
