/*
 * View 样式：bundle workspace style。
 * 源码：frontend/src/views/styles/014-bundle-workspace-style.css
 * 依赖：页面 DOM 的既有 class/id；加载位置由 frontend/src/modules.json 决定。
 * 维护：保留选择器作用域及层叠顺序；修改后构建并检查桌面/手机布局。
 */
.bundle-workspace{padding:20px}.bundle-filters{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:12px 0 6px}.bundle-filters input{min-width:0;margin:0;flex:1}.bundle-filters input[type=date]{flex:0 1 155px}.bundle-select-tools{display:flex;justify-content:space-between;margin:3px 0 7px}.bundle-ready-list{max-height:360px;overflow:auto;border:1px solid var(--line);border-radius:9px}.bundle-order{display:flex;align-items:center;gap:10px;padding:9px 11px;border-bottom:1px solid var(--line);cursor:pointer}.bundle-order:last-child{border-bottom:0}.bundle-order input{width:18px;height:18px;min-height:18px!important;margin:0;flex:none;accent-color:var(--green)}.bundle-order>span{min-width:0;overflow-wrap:anywhere;font-size:12px}.bundle-order small{display:block;font-size:11px;color:#7c8b80}.bundle-selection-summary{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#eef5ef;padding:10px 12px;border-radius:7px;margin:10px 0;font-size:12px}.bundle-divider{border:0;border-top:1px solid var(--line);margin:20px 0}.bundle-tabs{display:flex;gap:6px;margin-bottom:10px}.bundle-tabs button{flex:1;min-height:40px}.bundle-tabs .selected{color:#fff;background:var(--green)}.bundle-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;align-items:start}.bundle-card{border:1px solid var(--line);border-radius:10px;padding:12px;min-width:0}.bundle-card-head{display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:13px}.bundle-card p{font-size:12px;margin:5px 0;overflow-wrap:anywhere}.bundle-stats{color:#405b49}.bundle-flight{background:#f1f6f2;padding:5px 7px;border-radius:5px}.bundle-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.bundle-actions button{min-height:40px;padding:7px 10px;font-size:11px}.bundle-history{margin-top:8px;font-size:11px;color:#819186}.bundle-history summary{cursor:pointer;padding:4px 0}.bundle-history p{font-size:10px}.bundle-member-area:not(:empty){margin-top:9px;border-top:1px solid var(--line)}.bundle-member{border-bottom:1px solid var(--line);padding:7px 0}.bundle-member summary{font-size:12px;cursor:pointer}.bundle-member p{font-size:11px}.bundle-member button{min-height:40px}.bundle-empty{text-align:center;padding:20px;font-size:12px;color:#839186}#bundleCreateDialog,#packageAssignDialog,#bundleProgressDialog,#bundleBarcodeDialog{box-sizing:border-box;width:min(500px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto}#bundleCreateDialog p,#packageAssignDialog p,#bundleProgressDialog p{margin:9px 0;font-size:12px}#bundleCreateDialog .fields,#packageAssignDialog .fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#bundleCreateDialog input,#packageAssignDialog input,#packageAssignDialog select,#bundleProgressDialog textarea{font-size:16px;min-width:0}#bundleBarcodeDialog svg{max-width:100%;height:auto}
@media(max-width:700px){body[data-business-role=courier] .sidebar{display:none}body[data-business-role=courier] main{margin-left:0;width:100%}body[data-business-role=courier] .content{padding:10px 8px}body[data-business-role=courier] header{padding:8px 10px;height:auto;min-height:44px;gap:6px;flex-wrap:wrap}body[data-business-role=courier] .cloud-controls{display:flex;gap:5px;flex-wrap:wrap}body[data-business-role=courier] .cloud-controls button{padding:7px 9px;min-height:36px}body[data-business-role=courier] h1{font-size:20px;margin:2px 0}body[data-business-role=courier] .page-heading{margin-bottom:10px}body[data-business-role=courier] .eyebrow{display:none}body[data-business-role=courier] #pageDesc{font-size:11px}body[data-business-role=courier] #languageSwitch{position:absolute;top:3px;bottom:auto;right:5px;font-size:10px}body[data-business-role=courier] header{padding-right:130px}body[data-business-role=courier] #languageSwitch label{display:none}.bundle-workspace{padding:10px!important}.bundle-filters input:first-child{flex-basis:100%}.bundle-list{grid-template-columns:1fr}.bundle-card{padding:10px}.bundle-card-head{font-size:12px}.bundle-actions .primary{flex:1;min-height:44px}.bundle-ready-list{max-height:300px}.bundle-filters input,.bundle-filters button{min-height:40px;font-size:14px}.bundle-selection-summary{position:sticky;bottom:4px;z-index:1;box-shadow:0 2px 8px #173f3310}}
