/* 点金控价 #/auto/bid */
.bd .page-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.bd-h-r { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bd-mode { display: inline-flex; border: 1px solid var(--line2); border-radius: 9px; overflow: hidden; background: var(--bg2, #fff); }
.bd-mode button { border: 0; background: transparent; padding: 6px 12px; font-size: 13px; color: var(--fg2); cursor: pointer; }
.bd-mode button + button { border-left: 1px solid var(--line2); }
.bd-mode button.on { background: #f2f4f7; color: var(--fg); font-weight: 600; }
.bd-mode button.on.shadow { background: #eff8ff; color: #175cd3; }
.bd-mode button.on.live { background: #ecfdf3; color: #067647; }
.bd-mode button.on.off { background: #f2f4f7; color: #475467; }
.bd-mode button:disabled { cursor: default; }
.bd-mode.sm button { padding: 4px 10px; }
.bd-banner { border-radius: 10px; padding: 9px 12px; margin: 10px 0; font-size: 13px; }
.bd-banner.off { background: #f2f4f7; color: #475467; }
.bd-banner.shadow { background: #eff8ff; color: #175cd3; }
.bd-banner.live { background: #ecfdf3; color: #067647; }
.bd-segs .bd-seg { font-size: 12.5px; line-height: 1.6; white-space: normal; }
.bd-last { font-size: 12.5px; line-height: 1.6; min-width: 220px; }
.bd-ops { white-space: nowrap; }
.bd-ops .btn + .btn { margin-left: 4px; }
.bd-ed { display: flex; flex-direction: column; gap: 12px; }
.bd-ed-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bd-ed-row > label { width: 44px; color: var(--fg2); font-size: 13px; }
.bd-ed-row .inp { min-width: 320px; }
.bd-mode-tip { font-size: 12.5px; }
.bd-g { padding: 10px 12px; }
.bd-g-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.bd-days { display: flex; gap: 4px; }
.bd-days button { border: 1px solid var(--line2); background: #fff; color: var(--fg2); border-radius: 6px; padding: 3px 9px; font-size: 12.5px; cursor: pointer; }
.bd-days button.on { background: #fff4e5; border-color: #ff8a00; color: #b54708; font-weight: 600; }
.bd-segtbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.bd-segtbl th { text-align: left; font-weight: 500; color: var(--fg2); padding: 4px 4px; font-size: 12px; }
.bd-segtbl td { padding: 3px 4px; }
.bd-segtbl .inp { width: 100%; min-width: 0; padding: 4px 6px; }
@media (max-width: 720px) { .bd-ed-row .inp { min-width: 0; width: 100%; } .bd-segtbl { font-size: 12px; } }
/* 深色模式：横幅、模式切换、星期按钮改用半透明底，和 au-chip 一致 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .bd-banner.off { background: rgba(152,162,179,.14); color: #d0d5dd; }
  :root:not([data-theme="light"]) .bd-banner.shadow { background: rgba(46,144,250,.16); color: #84caff; }
  :root:not([data-theme="light"]) .bd-banner.live { background: rgba(18,183,106,.16); color: #6ce9a6; }
  :root:not([data-theme="light"]) .bd-mode { background: transparent; }
  :root:not([data-theme="light"]) .bd-mode button.on { background: rgba(255,255,255,.12); color: #fff; }
  :root:not([data-theme="light"]) .bd-mode button.on.shadow { background: rgba(46,144,250,.22); color: #84caff; }
  :root:not([data-theme="light"]) .bd-mode button.on.live { background: rgba(18,183,106,.22); color: #6ce9a6; }
  :root:not([data-theme="light"]) .bd-days button { background: transparent; color: #d0d5dd; }
  :root:not([data-theme="light"]) .bd-days button.on { background: rgba(255,138,0,.2); border-color: #ff8a00; color: #fec84b; }
}
