/* ========================================
   Selection Workbench V1.5｜成熟业务迁移后的业务特有样式
   页面结构、卡片、列表、流程、指标、视图由共享组件负责。
   本文件仅保留批量导入这一选品特有能力。
======================================== */
.selection-batch-dialog{width:min(920px,calc(100vw - 40px));max-height:min(92vh,860px);padding:0;overflow:auto;border:1px solid #D7E4DE;border-radius:20px;background:#fff;color:#17382D;box-shadow:0 28px 80px rgba(13,73,55,.22)}
.selection-batch-dialog::backdrop{background:rgba(16,42,31,.30);backdrop-filter:blur(2px)}
.selection-batch-dialog button,.selection-batch-dialog input{font:inherit}.selection-batch-dialog__body{padding:23px 24px 20px}.selection-batch-dialog__head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.selection-batch-dialog__head small{display:block;margin-bottom:6px;color:#176B4D;font-size:10.5px;font-weight:900}.selection-batch-dialog__head h2{margin:0;color:#0D4937;font-size:22px;line-height:1.2;font-weight:900}.selection-batch-dialog__head p{margin:7px 0 0;max-width:720px;color:#6C7B74;font-size:11px;line-height:1.65}.selection-batch-dialog__close{width:32px;height:32px;flex:0 0 32px;border:1px solid #D7E4DE;border-radius:50%;background:#fff;color:#61736A;font-size:18px;cursor:pointer}
.selection-batch-context{margin:16px 0 0;display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #C6DED2;border-radius:10px;background:#F3F9F6}.selection-batch-context span{color:#6F8078;font-size:9.5px;font-weight:800}.selection-batch-context strong{color:#0D4937;font-size:12px;font-weight:900}.selection-batch-context small{margin-left:auto;color:#819089;font-size:9px}
.selection-batch-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 16px}.selection-batch-step{min-height:54px;padding:9px 10px;border:1px solid #DCE7E2;border-radius:10px;background:#FBFCFB;color:#7A8982}.selection-batch-step b{display:block;margin-bottom:2px;color:#355247;font-size:11px;font-weight:900}.selection-batch-step span{display:block;font-size:9.5px;line-height:1.4}.selection-batch-step.is-current{border-color:#98C7B4;background:#EEF7F3;color:#527267}.selection-batch-step.is-current b{color:#176B4D}.selection-batch-step.is-done{border-color:#C3DCCF;background:#F5FAF7;color:#658076}.selection-batch-step.is-done b{color:#0D4937}.selection-batch-step.is-done b::after{content:" ✓";color:#176B4D}
.selection-batch-template{margin-top:13px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;border:1px solid #BFD8CC;border-radius:14px;background:linear-gradient(180deg,#F5FAF7 0%,#fff 100%)}.selection-batch-template__info{min-width:0;display:flex;align-items:flex-start;gap:11px}.selection-batch-template__icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:11px;background:#E8F2ED;color:#176B4D;font-size:17px}.selection-batch-template__title-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.selection-batch-template__title-line strong{color:#0D4937;font-size:12.5px;font-weight:900}.selection-batch-template__title-line span{padding:2px 7px;border-radius:999px;background:#F0F3F1;color:#7E8B85;font-size:8.5px;font-weight:850}.selection-batch-template__title-line span.is-ready{background:#E8F2ED;color:#176B4D}.selection-batch-template__info p{margin:4px 0 0;color:#6F7F78;font-size:9.8px;line-height:1.55}.selection-batch-download-button{min-width:150px;height:38px;flex:0 0 auto;padding:0 13px;border:1px solid #83B49E;border-radius:9px;background:#fff;color:#176B4D;font-size:10.5px;font-weight:900;cursor:pointer}.selection-batch-download-button:disabled{cursor:not-allowed;opacity:.42}
.selection-batch-section{margin-top:14px}.selection-batch-section h3{margin:0 0 9px;color:#17382D;font-size:12px;font-weight:900}.selection-batch-upload{min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;border:1.5px dashed #A9CABB;border-radius:14px;background:#FCFDFC;text-align:center;cursor:pointer}.selection-batch-upload:hover,.selection-batch-upload.is-dragging{border-color:#176B4D;background:#F3F9F6}.selection-batch-upload__icon{margin-bottom:4px;color:#176B4D;font-size:22px}.selection-batch-upload strong{color:#17382D;font-size:11px;font-weight:900}.selection-batch-upload p{margin:5px 0 10px;color:#77867F;font-size:9.5px}.selection-batch-file-button{min-width:88px;padding:7px 12px;border:1px solid #176B4D;border-radius:8px;background:#fff;color:#176B4D;font-size:9.8px;font-weight:900}.selection-batch-file-status{margin-top:9px;padding:5px 9px;border-radius:999px;background:#E8F2ED;color:#176B4D;font-size:9.3px;font-weight:850}.selection-batch-file-status.is-error{background:#FCEDEB;color:#C83A32}
.selection-batch-validation{margin-top:11px;padding:11px 12px;border:1px solid #C6DED2;border-radius:10px;background:#EFF8F4;color:#49675B;font-size:9.8px;line-height:1.6}.selection-batch-validation strong{color:#176B4D}.selection-batch-validation.is-error{border-color:#E4BDB8;background:#FFF7F6;color:#7E4A44}.selection-batch-validation.is-error strong{color:#C83A32}.selection-batch-validation.is-created{border-color:#AED2C0;background:#E8F2ED}.selection-batch-dialog__foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding-top:14px;border-top:1px solid #E3EAE6}.selection-batch-dialog__foot p{margin:0;color:#7B8983;font-size:9.5px}.selection-batch-dialog__foot>div{display:flex;gap:8px}.selection-batch-cancel-button,.selection-batch-action-button{min-height:36px;padding:0 14px;border-radius:9px;font-size:10.5px;font-weight:900;cursor:pointer}.selection-batch-cancel-button{border:1px solid #D1DDD7;background:#fff;color:#65776E}.selection-batch-action-button{border:1px solid #176B4D;background:#176B4D;color:#fff}.selection-batch-action-button:disabled{cursor:not-allowed;opacity:.42}
.selection-batch-dialog.is-fallback-open{position:fixed;inset:50% auto auto 50%;z-index:3200;transform:translate(-50%,-50%);display:block}
@media(max-width:720px){.selection-batch-dialog{width:min(96vw,620px);max-height:94vh}.selection-batch-dialog__body{padding:17px 15px 15px}.selection-batch-dialog__head h2{font-size:19px}.selection-batch-context{align-items:flex-start;flex-wrap:wrap}.selection-batch-context small{width:100%;margin-left:0}.selection-batch-steps{grid-template-columns:1fr}.selection-batch-template{align-items:flex-start;flex-direction:column}.selection-batch-download-button{width:100%}.selection-batch-dialog__foot{align-items:flex-start;flex-direction:column}.selection-batch-dialog__foot>div{width:100%}.selection-batch-cancel-button,.selection-batch-action-button{flex:1}}


/* ========================================
   Selection Workbench V2｜2026-08-29 收口
   规则：工作台根页只看商品机会；二级页面少层级、直接工作。
======================================== */
[data-workspace-id="selection-opportunity-list-v2"] [data-workspace-import],
[data-workspace-id="selection-opportunity-list-v2"] [data-workspace-export],
[data-workspace-id="selection-opportunity-list-v2"] [data-workspace-view-switch],
[data-workspace-id="selection-opportunity-list-v2"] [data-card-column-switch]{display:none!important}
[data-workspace-id="selection-opportunity-list-v2"] .miwa-universal-workspace__toolbar{grid-template-columns:minmax(260px,1fr) minmax(300px,auto) 150px auto}
.miwa-selection-list-product{display:flex;align-items:center;gap:9px;min-width:260px}.miwa-selection-list-thumb{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:9px;background:#EDF4F0;color:#176B4D;overflow:hidden;font-size:10px;font-weight:850}.miwa-selection-list-thumb img{width:100%;height:100%;object-fit:cover}.miwa-selection-list-product>span:last-child{display:grid;gap:3px}.miwa-selection-list-product strong{color:#17382D;font-size:10px}.miwa-selection-list-product small{color:#89958F;font-size:8px}.miwa-selection-list-product small a,.miwa-selection-list-product small em{color:#72847B;font-style:normal;text-decoration:none}
.selection-secondary-mount,.selection-secondary-card{width:100%}.selection-secondary-card{padding:18px 20px 22px;border:1px solid #DCE5E0;border-radius:15px;background:#fff;color:#17382D;box-shadow:0 4px 14px rgba(13,73,55,.025)}
.selection-secondary-head{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr);align-items:center;gap:18px;margin-bottom:14px}.selection-secondary-head__title{display:flex;align-items:center;gap:8px;min-width:0}.selection-secondary-head__title h1{margin:0;color:#0D4937;font-size:20px;line-height:1.2;font-weight:900}.selection-secondary-head__actions{display:flex;align-items:center;justify-content:center;gap:12px}.selection-secondary-head__balance{min-width:0}
.miwa-work-manual-icon{width:34px;height:34px;display:inline-grid;place-items:center;flex:0 0 34px;border:1px solid #C9DBD2;border-radius:9px;background:#F5F9F7;text-decoration:none;overflow:hidden;transition:.15s ease}.miwa-work-manual-icon:hover{border-color:#7FB09A;background:#E8F2ED;transform:translateY(-1px)}.miwa-work-manual-icon img{width:100%;height:100%;display:block;object-fit:cover}
.selection-start-action{width:98px;height:98px;padding:11px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #176B4D;border-radius:12px;background:#176B4D;color:#fff;box-shadow:0 5px 14px rgba(23,107,77,.10);font:inherit;cursor:pointer}.selection-start-action.is-outline{background:#fff;color:#176B4D}.selection-start-action__icon{width:24px;height:24px;margin-bottom:7px;display:grid;place-items:center}.selection-start-action__icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.selection-start-action>span:not(.selection-start-action__icon){font-size:12px;font-weight:850;letter-spacing:.05em}.selection-start-action strong{margin-top:1px;font-size:13px;font-weight:900;letter-spacing:.08em}.selection-start-action:hover{background:#0D4937;border-color:#0D4937}.selection-start-action.is-outline:hover{background:#E8F2ED;color:#0D4937}
.selection-selection-stats{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:4px 0 14px}.selection-stat-chip{min-height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 11px;border:1px solid #DCE5E0;border-radius:8px;background:#F8FAF9;color:#607168;font:inherit;font-size:10px;cursor:pointer}.selection-stat-chip strong{color:#0D4937;font-size:13px;font-weight:900}.selection-stat-chip.is-active,.selection-stat-chip:hover{border-color:#BFD7CC;background:#E8F2ED;color:#176B4D}
.selection-mine-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 145px 135px 125px;gap:8px;align-items:center;margin-bottom:12px}.selection-mine-search{height:38px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #DCE5E0;border-radius:9px;background:#fff}.selection-mine-search span{color:#176B4D}.selection-mine-search input{width:100%;border:0;outline:0;background:transparent;font:inherit;font-size:10px}.selection-mine-toolbar select{height:38px;padding:0 10px;border:1px solid #DCE5E0;border-radius:9px;background:#fff;color:#0D4937;font-size:10px}
.selection-mine-table-wrap{overflow:auto;border:1px solid #E1E8E4;border-radius:10px}.selection-mine-table{width:100%;border-collapse:collapse;font-size:9.5px}.selection-mine-table th,.selection-mine-table td{padding:11px 12px;border-bottom:1px solid #EDF2EF;text-align:left;white-space:nowrap}.selection-mine-table th{background:#F6F9F7;color:#5E7168;font-weight:850}.selection-mine-table td{color:#29483D}.selection-object-identity{display:flex;align-items:center;gap:9px;min-width:250px}.selection-object-thumb{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:9px;background:#EDF4F0;color:#176B4D;overflow:hidden;font-size:10px;font-weight:850}.selection-object-thumb img{width:100%;height:100%;object-fit:cover}.selection-object-identity>span:last-child{display:grid;gap:3px}.selection-object-identity strong{color:#17382D;font-size:10.5px}.selection-object-identity small{color:#89958F;font-size:8px}.selection-stage-tag{display:inline-flex;align-items:center;min-height:22px;padding:0 7px;border-radius:999px;background:#E8F2ED;color:#176B4D;font-size:8.5px;font-weight:800}.selection-continue-button{border:0;background:transparent;color:#176B4D;font-size:9.5px;font-weight:850;cursor:pointer}.selection-inline-empty{padding:24px;text-align:center;color:#87958F}
.selection-secondary-empty{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.selection-secondary-empty>span{width:54px;height:54px;display:grid;place-items:center;border-radius:14px;background:#E8F2ED;color:#176B4D;font-size:16px;font-weight:900}.selection-secondary-empty h2{margin:14px 0 0;color:#0D4937;font-size:18px}.selection-secondary-empty p{max-width:560px;margin:8px auto 0;color:#7B8983;font-size:10.5px;line-height:1.7}
.selection-batch-context select{height:30px;padding:0 26px 0 9px;border:1px solid #BFD7CC;border-radius:8px;background:#fff;color:#0D4937;font-size:10px;font-weight:800}.selection-batch-context strong{display:none}
.miwa-selection-publication-book .miwa-publication-cover__visual img,.miwa-selection-publication-book .miwa-publication-back__visual img{width:100%;height:100%;object-fit:cover;border-radius:12px}
@media(max-width:1100px){.selection-secondary-head{grid-template-columns:1fr}.selection-secondary-head__actions{justify-content:flex-start}.selection-secondary-head__balance{display:none}.selection-mine-toolbar{grid-template-columns:1fr 1fr}.selection-mine-search{grid-column:1/-1}}
@media(max-width:680px){.selection-secondary-card{padding:14px 12px}.selection-secondary-head__actions{gap:8px;overflow-x:auto;padding-bottom:3px}.selection-start-action{width:86px;height:86px;flex:0 0 86px}.selection-mine-toolbar{grid-template-columns:1fr}.selection-mine-search{grid-column:auto}.selection-selection-stats{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.selection-stat-chip{flex:0 0 auto}}
