/* 客户端 · 出库管理（cob3 版式重做）。按钮、标签、抽屉外壳复用 in- 通用组件；页面排版、列表、进度、挂起卡片为本模块 cob- 组件。颜色一律引用设计变量。 */
/* 状态卡片（同时是页签）。尺寸和仓库端出库作业的统计卡一致：一个外框四格，标签 12px，数字 22px */
.cob-ui .cob-head{margin-bottom:18px}
.cob-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 18px;background:#fff;border:1px solid var(--bo-border,#dce4ed);border-radius:9px;overflow:hidden}
.cob-stat{position:relative;display:block;padding:13px 16px;text-align:left;background:none;border:0;border-right:1px solid #e7edf3;cursor:pointer;font:inherit;color:inherit;min-width:0}
.cob-stat:last-child{border-right:0}
.cob-stat:hover{background:#fafcfd}
.cob-stat:focus-visible{outline:2px solid #168396;outline-offset:-2px}
.cob-stat-ico{display:none}
.cob-stat-txt{display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:8px;min-width:0}
.cob-stat-name{grid-column:1/-1;font-size:12px;line-height:18px;color:var(--bo-muted,#66758a)}
.cob-stat-num{font-size:22px;line-height:1.35;font-weight:650;color:var(--bo-ink,#122033);font-variant-numeric:tabular-nums}
.cob-stat small{font-size:12px;color:var(--bo-muted,#66758a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cob-stat[aria-selected="true"]{background:#f3fbfc}
.cob-stat[aria-selected="true"]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--bo-teal-700,#0a7e91)}
.cob-stat[aria-selected="true"] .cob-stat-name{color:var(--bo-teal-700,#0a7e91);font-weight:600}
.cob-stat.alert small{color:#b4233b;font-weight:600}

/* 要处理的提醒 */
.cob-banner{display:flex;align-items:center;gap:8px;padding:8px 10px 8px 14px;margin:0 0 16px;border:1px solid #f5c7cd;border-radius:9px;background:var(--bo-red-50,#fff1f2);color:#8f2231;font-size:13px}
.cob-banner>svg{width:17px;height:17px;flex:none}
.cob-banner>span{flex:1}
.cob-banner .cob-banner-btn{flex-direction:row-reverse;min-height:28px;padding:3px 10px;font-size:12px;border-color:#f0b4bc;color:#8f2231;background:#fff}
.cob-banner .cob-banner-btn:hover{background:#fff;border-color:var(--bo-red-600,#c83c4a)}

/* 列表面板 */
.cob-panel{background:#fff;border:1px solid var(--bo-border,#dce4ed);border-radius:9px;margin:0 0 18px}
.cob-toolbar{padding:12px;border-bottom:1px solid #e7edf3;display:flex;flex-direction:column;gap:8px}
.cob-ui .cob-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
.cob-filter select,.cob-filter input{height:34px!important;min-height:34px!important;font-size:13px}
.cob-filter .in-btn{min-height:34px;font-size:13px}
.cob-filter>select{min-width:124px;max-width:170px}
.cob-kw{position:relative;display:flex;flex:1 1 340px;min-width:220px}
.cob-kw>svg{position:absolute;left:10px;top:9px;width:16px;height:16px;color:#708397}
.cob-kw input{flex:1;min-width:0;padding-left:34px!important}
.cob-chips{display:flex;flex-wrap:wrap;gap:6px}
.cob-chip{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 11px;border:1px solid var(--bo-border,#dce4ed);border-radius:14px;background:#fff;color:#34465b;font:inherit;font-size:12px;cursor:pointer}
.cob-chip b{font-weight:600;color:var(--bo-muted,#66758a);font-variant-numeric:tabular-nums}
.cob-chip:hover{border-color:var(--bo-border-strong,#c5d0dd);background:var(--bo-surface,#f6f8fb)}
.cob-chip[aria-pressed="true"]{background:var(--bo-teal-700,#0a7e91);border-color:var(--bo-teal-700,#0a7e91);color:#fff}
.cob-chip[aria-pressed="true"] b{color:#fff}
.cob-chip.alert:not([aria-pressed="true"]) b{color:var(--bo-red-600,#c83c4a)}
.cob-legend{margin:0;font-size:12px;line-height:1.5;color:var(--bo-muted,#66758a)}

/* 出库单行：正常单两行高，被挂起的单每条挂起多一行 */
.cob-list-head,.cob-row{display:grid;grid-template-columns:minmax(200px,1.15fr) minmax(200px,1.6fr) minmax(220px,1.7fr) minmax(180px,1.25fr) 150px;column-gap:20px}
.cob-list-head{padding:11px 12px;background:var(--bo-surface,#f6f8fb);border-bottom:1px solid #e7edf3;font-size:12px;font-weight:500;line-height:1.3;color:var(--bo-muted,#66758a)}
.cob-list-head span:last-child{text-align:right}
.cob-list{list-style:none;margin:0;padding:0}
.cob-row{position:relative;padding:10px 12px;border-bottom:1px solid #edf1f5;font-size:12px;line-height:18px;color:var(--bo-ink,#122033)}
.cob-row:hover{background:#fafcfd}
.cob-row.is-held{box-shadow:inset 3px 0 0 var(--bo-amber-600,#c96b12)}
.cob-row.is-alert{box-shadow:inset 3px 0 0 var(--bo-red-600,#c83c4a);background:#fffafa}
.cob-c{min-width:0}
.cob-c small{display:block;font-size:12px;color:var(--bo-muted,#66758a)}
.cob-c small svg{width:12px;height:12px;vertical-align:-1px;margin-right:3px}
.cob-row .in-tag{font-size:11px;padding:1px 7px;line-height:1.5}
.cob-id{padding:0;border:0;background:none;font:inherit;font-weight:600;font-size:12px;color:var(--bo-teal-700,#0a7e91);cursor:pointer;text-align:left}
.cob-id:hover{text-decoration:underline}
.cob-meta{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px}
.cob-plan{display:inline-flex;align-items:center;gap:2px;font-size:11px;color:var(--bo-muted,#66758a)}
.cob-plan svg{width:11px;height:11px}
.cob-item{display:grid;grid-template-columns:minmax(0,auto) 1fr;column-gap:6px;align-items:baseline;min-width:0}
.cob-item+.cob-item{margin-top:3px}
.cob-item-name{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.cob-qty{flex:none;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.cob-item small{grid-column:1/-1}
.cob-more-items{padding:0!important;min-height:0!important;font-size:12px}
.cob-remark{display:flex;align-items:flex-start;gap:4px;margin:2px 0 0;font-size:12px;color:#47586c;word-break:break-word}
.cob-remark svg{width:12px;height:12px;flex:none;margin-top:4px;color:var(--bo-muted,#66758a)}
.cob-remark.own{color:var(--bo-muted,#66758a)}
.cob-progline{display:flex;align-items:center;gap:8px;min-width:0}
.cob-bar{flex:none;display:grid;grid-template-columns:repeat(3,18px);gap:2px}
.cob-bar i{height:5px;border-radius:2px;background:#e3e9f0}
.cob-bar i.on{background:var(--bo-teal-600,#1097aa)}
.cob-bar.paused i.on{background:var(--bo-amber-600,#c96b12)}
.cob-stage{display:flex;align-items:center;gap:4px;font-weight:600;white-space:nowrap}
.cob-stage svg{width:14px;height:14px}
.cob-stage.paused{color:#96600a}
.cob-stage.done{color:var(--bo-green-600,#0b8b67)}
.cob-stage.cancelled{color:#8f2231}
.cob-hold{display:flex;align-items:baseline;gap:6px;margin-top:4px;font-size:12px;color:#47586c;min-width:0}
.cob-hold .in-tag{flex:none}
.cob-hold span:last-child{min-width:0;word-break:break-word;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cob-hold.red span:last-child{color:#8f2231}
.cob-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}
.cob-tags .in-tag{white-space:normal}
.cob-c-prog .cob-remark{margin-top:0}
.cob-c-ship strong{display:block;font-weight:600}
.cob-track{font-size:12px;word-break:break-all}
.cob-track em{font-style:normal;margin-left:5px;padding:0 4px;border-radius:7px;background:var(--bo-surface,#f6f8fb);color:var(--bo-muted,#66758a);font-family:inherit}
.cob-inline-link{display:inline!important;padding:0!important;min-height:0!important;font-size:12px}
.cob-none{color:var(--bo-muted,#66758a);font-size:12px}
.cob-c-act{display:flex;justify-content:flex-end;align-items:flex-start}
.cob-acts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px}
.cob-ui .cob-act{width:28px;height:28px;min-height:28px;padding:0;justify-content:center;color:#34465b}
.cob-ui .cob-act svg{width:16px;height:16px}
.cob-ui .cob-act:hover{background:#edf3f7;color:var(--bo-ink,#122033)}
.cob-ui .cob-act.cob-main-act{background:var(--bo-teal-700,#0a7e91);border-color:var(--bo-teal-700,#0a7e91);color:#fff}
.cob-ui .cob-act.cob-main-act:hover{background:#086a7b;border-color:#086a7b;color:#fff}
.cob-ui .cob-act.danger{color:#b4233b}
.cob-ui .cob-act.danger:hover{background:var(--bo-red-50,#fff1f2)}
.cob-ui .cob-act:disabled{opacity:.35;cursor:not-allowed;background:none}
.cob-pager{display:flex;justify-content:space-between;align-items:center;padding:9px 14px;color:var(--bo-muted,#66758a);font-size:12px}
.cob-pages{display:inline-flex;align-items:center;gap:8px}
.cob-sizes{display:inline-flex;align-items:center;gap:4px;margin:0 auto 0 16px}
.cob-sizes em{font-style:normal;margin-right:2px}
.cob-size{min-width:30px;height:24px;padding:0 6px;border:1px solid var(--bo-border,#dce4ed);border-radius:5px;background:#fff;color:#34465b;font:inherit;font-size:12px;cursor:pointer}
.cob-size:hover{border-color:var(--bo-border-strong,#c5d0dd)}
.cob-size[aria-pressed="true"]{background:var(--bo-teal-700,#0a7e91);border-color:var(--bo-teal-700,#0a7e91);color:#fff}
button.cob-file{border:0;background:none;padding:0;font:inherit;color:var(--bo-teal-700,#0a7e91);cursor:pointer}
button.cob-file:hover{text-decoration:underline}
button.cob-file svg{color:var(--bo-teal-700,#0a7e91)}
.cob-pages .in-btn{width:28px;height:28px;min-height:28px;padding:0;justify-content:center}
.cob-pages .in-btn:disabled{opacity:.35;cursor:not-allowed}
.cob-empty{padding:36px 16px}
.cob-ui .cob-num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}

/* 抽屉：操作 560px，详情 920px */
.in-dialog.in-drawer.cob-drawer{width:min(560px,100vw)}
.in-dialog.in-drawer.cob-drawer.cob-drawer-wide{width:min(920px,100vw)}
.cob-drawer .in-dialog-body{background:#fff}
.cob-drawer.cob-drawer-wide .in-dialog-body{background:var(--bo-surface,#f6f8fb)}
.cob-drawer>header h2{display:flex;align-items:center;gap:8px}
.cob-drawer>header h2 svg{width:18px;height:18px;color:var(--bo-teal-600,#1097aa)}
.cob-drawer>footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}
.cob-foot-left{margin-right:auto}
.cob-drawer .in-modal-form{display:flex;flex-direction:column;gap:14px}
.cob-drawer .in-modal-form>*{margin-top:0;margin-bottom:0}
.cob-drawer textarea{width:100%;resize:vertical;min-height:72px}
.cob-drawer .in-btn.cob-solid-danger{background:#b4233b;border-color:#b4233b;color:#fff}
.cob-drawer .in-btn.cob-solid-danger:hover{background:#9a1c31;border-color:#9a1c31;color:#fff}
.cob-brief{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;background:var(--bo-surface,#f6f8fb)}
.cob-brief-ico{flex:none;width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#fff;border:1px solid var(--bo-border,#dce4ed);color:var(--bo-muted,#66758a)}
.cob-brief-ico svg{width:18px;height:18px}
.cob-brief strong{display:block;font-size:13px;font-weight:600}
.cob-brief small{display:block;font-size:12px;color:var(--bo-muted,#66758a)}

/* 详情 */
.cob-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px 6px;background:#fff;border:1px solid var(--bo-border,#dce4ed);border-bottom:0;border-radius:9px 9px 0 0}
.cob-hero p{margin:0}
.cob-hero-id{font-size:16px;font-weight:650;color:var(--bo-ink,#122033)}
.cob-hero-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px!important}
.cob-hero-num{text-align:right;white-space:nowrap}
.cob-hero-num strong{display:block;font-size:22px;line-height:1.1;font-weight:700;font-variant-numeric:tabular-nums}
.cob-hero-num span{font-size:12px;color:var(--bo-muted,#66758a)}
.cob-steps{list-style:none;display:flex;margin:-14px 0 0!important;padding:18px 18px 16px;background:#fff;border:1px solid var(--bo-border,#dce4ed);border-top:0;border-radius:0 0 9px 9px}
.cob-steps li{position:relative;flex:1;display:flex;flex-direction:column;gap:2px;min-width:0;padding-right:10px}
.cob-steps li::after{content:"";position:absolute;left:30px;right:6px;top:11px;height:2px;background:#e3e9f0}
.cob-steps li:last-child{flex:0 0 auto;min-width:110px}
.cob-steps li:last-child::after{display:none}
.cob-steps li.done::after{background:var(--bo-teal-600,#1097aa)}
.cob-dot{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;margin-bottom:4px;background:#fff;border:2px solid #d5dde7;color:#b3bfcc}
.cob-dot svg{width:13px;height:13px}
.cob-steps strong{font-size:12px;font-weight:600;color:var(--bo-muted,#66758a)}
.cob-steps small{font-size:12px;color:var(--bo-muted,#66758a);min-height:18px}
.cob-steps .done .cob-dot{background:var(--bo-teal-600,#1097aa);border-color:var(--bo-teal-600,#1097aa);color:#fff}
.cob-steps .done strong{color:var(--bo-ink,#122033)}
.cob-steps .now .cob-dot{border-color:var(--bo-teal-600,#1097aa);color:var(--bo-teal-600,#1097aa);box-shadow:0 0 0 4px rgba(16,151,170,.15)}
.cob-steps .now .cob-dot svg{fill:currentColor;width:8px;height:8px}
.cob-steps .now strong,.cob-steps .now small{color:var(--bo-teal-700,#0a7e91)}
.cob-steps .paused .cob-dot{border-color:var(--bo-amber-600,#c96b12);background:var(--bo-amber-50,#fff8eb);color:var(--bo-amber-600,#c96b12)}
.cob-steps .paused strong,.cob-steps .paused small{color:#96600a}
.cob-steps .stop .cob-dot{background:var(--bo-red-600,#c83c4a);border-color:var(--bo-red-600,#c83c4a);color:#fff}
.cob-steps .stop strong{color:#8f2231}
/* 进度动效（jey 2026-11-17）：打开时节点依次点亮、连线从左到右画出；进行中的节点呼吸、通往它的连线流动；暂停的节点慢闪、连线变虚线。
   系统设置了「减少动态效果」时全部不动。 */
.cob-steps li.done:has(+ li.paused)::after{background:repeating-linear-gradient(90deg,var(--bo-amber-600,#c96b12) 0 6px,transparent 6px 11px)}
.cob-steps li.done:has(+ li.stop)::after{background:var(--bo-red-600,#c83c4a)}
@keyframes cob-pop{0%{transform:scale(.3);opacity:0}70%{transform:scale(1.12);opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes cob-line{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes cob-fade{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
@keyframes cob-pulse{0%{box-shadow:0 0 0 0 rgba(16,151,170,.45)}70%,100%{box-shadow:0 0 0 10px rgba(16,151,170,0)}}
@keyframes cob-flow{from{background-position:200% 0}to{background-position:0 0}}
@keyframes cob-blink{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes cob-march{from{background-position:0 0}to{background-position:22px 0}}
@media (prefers-reduced-motion:no-preference){
  .cob-steps .cob-dot{animation:cob-pop .34s cubic-bezier(.3,1.4,.5,1) both;animation-delay:calc(var(--i,0)*.24s)}
  .cob-steps li strong,.cob-steps li small{animation:cob-fade .3s ease-out both;animation-delay:calc(var(--i,0)*.24s + .08s)}
  .cob-steps li.done::after{transform-origin:left center;animation:cob-line .42s ease-out both;animation-delay:calc(var(--i,0)*.24s + .16s)}
  .cob-steps li.done:has(+ li.now)::after{background:linear-gradient(90deg,var(--bo-teal-600,#1097aa) 0 35%,#9fe0e8 50%,var(--bo-teal-600,#1097aa) 65% 100%);background-size:200% 100%;animation:cob-line .42s ease-out both,cob-flow 1.5s linear infinite;animation-delay:calc(var(--i,0)*.24s + .16s),0s}
  .cob-steps .now .cob-dot{animation:cob-pop .34s cubic-bezier(.3,1.4,.5,1) both,cob-pulse 1.7s ease-out infinite;animation-delay:calc(var(--i,0)*.24s),calc(var(--i,0)*.24s + .4s)}
  .cob-steps .paused .cob-dot svg{animation:cob-blink 1.8s ease-in-out infinite}
  .cob-steps li.done:has(+ li.paused)::after{background-size:22px 100%}
  /* 列表里的进度条：当前这一段流动；暂停时慢闪 */
  .cob-bar:not(.paused) i.on:not(:has(+ i.on)){background:linear-gradient(90deg,var(--bo-teal-600,#1097aa) 0 30%,#9fe0e8 50%,var(--bo-teal-600,#1097aa) 70% 100%);background-size:200% 100%;animation:cob-flow 1.5s linear infinite}
  .cob-bar.paused i.on:not(:has(+ i.on)){animation:cob-blink 1.8s ease-in-out infinite}
}
.cob-holds{padding:13px 16px;border:1px solid #f1d9ad;border-radius:9px;background:var(--bo-amber-50,#fff8eb);display:flex;flex-direction:column;gap:10px}
.cob-holds>h3{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:600;color:#7a4d06}
.cob-holds>h3 svg{width:16px;height:16px}
.cob-hold-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;background:#fff;border:1px solid var(--bo-border,#dce4ed);border-left:3px solid var(--bo-amber-600,#c96b12);border-radius:8px}
.cob-hold-card.red{border-left-color:var(--bo-red-600,#c83c4a)}
.cob-hold-card.blue{border-left-color:var(--bo-blue-600,#2563eb)}
.cob-hold-card.muted{border-left-color:#94a3b8}
.cob-hold-card p{margin:0}
.cob-hold-card>div{min-width:0}
.cob-hold-top{display:flex;align-items:center;gap:8px}
.cob-hold-top em{font-style:normal;font-size:12px;color:var(--bo-muted,#66758a)}
.cob-hold-msg{margin-top:5px!important;font-size:12px;line-height:18px;color:var(--bo-ink,#122033);word-break:break-word}
.cob-hold-card small{display:block;margin-top:3px;font-size:12px;color:var(--bo-muted,#66758a)}
.cob-hold-card>.in-btn{flex:none}
.cob-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cob-card{padding:13px 16px;background:#fff;border:1px solid var(--bo-border,#dce4ed);border-radius:9px;min-width:0;font-size:12px;line-height:18px}
.cob-card-wide{grid-column:1/-1}
.cob-card-stop{border-color:#f5c7cd}
.cob-card>h3{display:flex;align-items:center;gap:6px;margin:0 0 12px;font-size:13px;font-weight:600;color:var(--bo-ink,#122033)}
.cob-card>h3 svg{width:16px;height:16px;color:var(--bo-muted,#66758a)}
.cob-card p{margin:0}
.cob-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:0}
.cob-card-stop .cob-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.cob-facts-1{grid-template-columns:1fr}
.cob-fact{min-width:0}
.cob-fact dt{font-size:12px;color:var(--bo-muted,#66758a);margin-bottom:2px}
.cob-fact dd{margin:0;font-size:12px;line-height:18px;color:var(--bo-ink,#122033);word-break:break-word}
.cob-items{width:100%;border-collapse:collapse;font-size:12px;line-height:18px}
.cob-items th{padding:0 0 8px;text-align:left;font-size:12px;font-weight:500;color:var(--bo-muted,#66758a);border-bottom:1px solid #e7edf3}
.cob-items td{padding:9px 0;border-bottom:1px solid #f0f3f7}
.cob-items tr:last-child td{border-bottom:0;padding-bottom:0}
.cob-items .cob-num{font-weight:700}
.cob-items tr.cob-replaced td{color:var(--bo-muted,#66758a)}
.cob-items tr.cob-replaced .cob-num{font-weight:400}
.cob-items tr.cob-replaced .in-tag{margin-left:8px}
.cob-replaced-tip{display:flex;align-items:center;gap:6px;margin:10px 0 0!important;font-size:12px;color:var(--bo-muted,#66758a)}
.cob-replaced-tip svg{width:14px;height:14px;flex:none}
.cob-file{display:inline-flex;align-items:center;gap:4px;margin-right:10px}
.cob-file svg{width:14px;height:14px;color:var(--bo-muted,#66758a)}
.cob-photos{display:flex;flex-wrap:wrap;gap:10px}
.cob-photo{width:120px;height:90px;margin:0;border:1px dashed var(--bo-border,#dce4ed);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--bo-muted,#66758a);font-size:12px;background:var(--bo-surface,#f6f8fb)}
.cob-photo svg{width:22px;height:22px}

/* 已解除的挂起（ADR-071 补充 13） */
.cob-past{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.cob-past li{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:baseline}
.cob-past li small{grid-column:2;font-size:12px;color:var(--bo-muted,#66758a)}
.cob-past-by svg{width:12px;height:12px;vertical-align:-2px;margin-right:4px}
.cob-past-by.wh{color:#96600a;font-weight:600}

/* 换运单、取消 */
.cob-files,.cob-plan-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.cob-files li{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;padding:8px 10px;border:1px solid var(--bo-border,#dce4ed);border-radius:8px}
.cob-files li>span{display:inline-flex;align-items:center;gap:6px;min-width:0;word-break:break-all}
.cob-files li svg{width:14px;height:14px;flex:none;color:var(--bo-muted,#66758a)}
.cob-files li.cob-removed{background:var(--bo-surface,#f6f8fb)}
.cob-files li.cob-removed>span{text-decoration:line-through;color:var(--bo-muted,#66758a)}
.cob-files li.cob-added{border-color:var(--bo-teal-600,#1097aa);background:#f6fcfd}
.cob-drop{display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:8px;padding:16px;border:1.5px dashed var(--bo-border-strong,#c5d0dd);border-radius:10px;color:var(--bo-teal-700,#0a7e91);cursor:pointer;text-align:center}
.cob-drop:hover{border-color:var(--bo-teal-600,#1097aa);background:#f6fcfd}
.cob-drop svg{width:20px;height:20px}
.cob-drop strong{font-size:12px;font-weight:600}
.cob-drop small{font-size:12px;color:var(--bo-muted,#66758a)}
.cob-fee{padding:12px 14px;border-radius:9px;font-size:12px;line-height:18px}
.cob-fee p{display:flex;align-items:center;gap:8px;margin:0}
.cob-fee p svg{width:16px;height:16px;flex:none}
.cob-fee.charge{background:var(--bo-amber-50,#fff8eb);border:1px solid #f1d9ad;color:#7a4d06}
.cob-fee.free{background:var(--bo-green-50,#ecfdf5);border:1px solid #bfe8d6;color:#0b6a4f}
.cob-fee ul{list-style:none;margin:10px 0 0;padding:0;background:#fff;border:1px solid rgba(18,32,51,.08);border-radius:8px;color:var(--bo-ink,#122033)}
.cob-fee li{display:flex;justify-content:space-between;gap:12px;padding:8px 12px;border-bottom:1px solid #f0f3f7}
.cob-fee li:last-child{border-bottom:0}
.cob-fee li em{font-style:normal;font-weight:600;color:#96600a;white-space:nowrap}
.cob-fee li.back em{color:var(--bo-green-600,#0b8b67)}
.cob-fee .cob-fee-sum{margin-top:8px;font-size:12px}
.cob-scope{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.cob-scope legend{padding:0;margin-bottom:8px;font-size:13px;color:var(--bo-ink,#122033)}
.cob-opt{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--bo-border,#dce4ed);border-radius:10px;cursor:pointer}
.cob-opt.on{border-color:var(--bo-teal-600,#1097aa);box-shadow:inset 0 0 0 1px var(--bo-teal-600,#1097aa);background:#f6fcfd}
.cob-opt input{margin-top:3px}
.cob-opt strong{display:block;font-size:12px;font-weight:600}
.cob-opt small{display:block;font-size:12px;color:var(--bo-muted,#66758a)}
.cob-plan-list li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 10px;border:1px solid var(--bo-border,#dce4ed);border-radius:8px;font-size:12px}
.cob-plan-list li>span:not(.in-tag){color:var(--bo-muted,#66758a);flex:1;min-width:120px}

/* 窄屏：一张单排成紧凑的四行，操作在右上角 */
@media (max-width:1180px){
  .cob-list-head{display:none}
  .cob-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;grid-template-areas:"id id act" "items prog prog" "ship ship ship";row-gap:3px}
  .cob-c-id{grid-area:id}.cob-c-items{grid-area:items}.cob-c-prog{grid-area:prog}.cob-c-ship{grid-area:ship}.cob-c-act{grid-area:act}
  .cob-c-id{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
  .cob-c-ship{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 10px}
  .cob-c-ship strong{display:inline}
  .cob-stat small{display:none}
}
@media (max-width:720px){
  .cob-ui .cob-head .in-heading p{display:none}
  .cob-stat{padding:10px}
  .cob-stat-num{font-size:18px}
  .cob-row{grid-template-areas:"id id act" "items items items" "prog prog prog" "ship ship ship"}
  .cob-cards,.cob-facts,.cob-card-stop .cob-facts{grid-template-columns:1fr}
  .cob-kw{flex-basis:100%;min-width:0}
  .cob-hero{flex-direction:column}
  .cob-hero-num{text-align:left}
  .cob-steps{flex-direction:column;gap:10px}
  .cob-steps li{flex-direction:row;align-items:center;gap:8px}
  .cob-steps li::after{display:none}
  .cob-dot{margin-bottom:0}
  .cob-hold-card{flex-direction:column;align-items:stretch}
}
