.package-allocation-dialog{width:min(640px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)}
.package-allocation-dialog .modal-body{padding:24px!important;max-height:72vh;overflow:auto}
.package-allocation-dialog .field{margin-bottom:20px}.package-allocation-dialog .field label{display:block;margin-bottom:8px}
.package-allocation-dialog select,.package-allocation-dialog input[type=number],.package-allocation-dialog textarea{width:100%;min-height:40px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;padding:8px 12px;color:#1f2937;box-sizing:border-box}
.package-allocation-dialog select:focus,.package-allocation-dialog input:focus,.package-allocation-dialog textarea:focus{outline:2px solid #91caff;outline-offset:1px}
.allocation-plan-summary{display:flex;flex-direction:column;gap:8px;padding:16px;margin-bottom:20px;background:#f5f9ff;border:1px solid #d6e4ff;border-radius:8px;line-height:1.6}
.allocation-plan-summary strong{font-size:16px;color:#1677ff}.allocation-plan-summary small,.allocation-fixed-quantity,.allocation-meta dt{color:#666}
.allocation-stores{border:0;padding:0;margin:0 0 20px;min-width:0}.allocation-stores legend{font-weight:600;margin-bottom:8px}.allocation-stores>p{margin:0 0 12px}
.allocation-store{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #e5e7eb;border-radius:8px;margin:8px 0;cursor:pointer}.allocation-store:has(input:checked){border-color:#1677ff;background:#e6f4ff}.allocation-store input{width:16px;height:16px;flex:0 0 16px;accent-color:#1677ff}.allocation-store span{display:flex;flex-direction:column;gap:4px}.allocation-store small{font-size:12px;color:#737373}.allocation-store.is-disabled{background:#fafafa;cursor:not-allowed;color:#999}
.allocation-notice,.allocation-empty{background:#f6f8fb;border-radius:6px;padding:12px;color:#595959;line-height:1.7;font-size:13px}.allocation-fixed-quantity{margin:0 0 20px}.allocation-meta{margin:0 0 20px}.allocation-meta>div{display:grid;grid-template-columns:110px 1fr;gap:12px;padding:8px 0}.allocation-meta dd{margin:0;overflow-wrap:anywhere}.allocation-records small{display:block;margin-top:5px;color:#737373}.allocation-records td{vertical-align:top}.allocation-records .tag{display:inline-block;margin-top:8px}.allocation-records th{white-space:nowrap}.allocation-records td:first-child{min-width:170px}.allocation-records td{overflow-wrap:anywhere}
@media(max-width:640px){.package-allocation-dialog .modal-body{padding:16px!important}.allocation-records table,.allocation-records tbody,.allocation-records tr,.allocation-records td{display:block;width:100%;min-width:0!important}.allocation-records thead{display:none}.allocation-records tr{border-bottom:1px solid #e5e7eb;padding:12px 0}.allocation-records td{border:0!important;padding:8px 12px!important;box-sizing:border-box}.allocation-records td[data-label]:before{content:attr(data-label);display:block;font-size:12px;color:#8c8c8c;margin-bottom:5px}.allocation-records .btn{min-height:36px}.allocation-meta>div{grid-template-columns:90px 1fr}.package-allocation-dialog .modal-footer{display:flex;flex-wrap:wrap;gap:8px}}
@media(max-width:640px){body.ant-console .allocation-records table.ant-responsive-table td{display:block;text-align:left}body.ant-console .allocation-records table.ant-responsive-table td::before{display:block;text-align:left}body.ant-console .allocation-records table.ant-responsive-table td strong{display:block}}
