/* ===========================================================
   BID MANAGEMENT slide — de-fleet & sell
   =========================================================== */
.bid-board { font-family: 'Hanken Grotesk', sans-serif; color: #1A1A1A; display: flex; flex-direction: column; }
.bid-board .lp-shell { height: 44px; }

/* Owner chip in titlebar */
.bid-owner { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.bid-chip-id { background: #FCEDE7; color: #E8450A; font-family: 'SF Mono', ui-monospace, monospace; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 100px; }
.bid-chip-status { background: #DCFCE7; color: #166534; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 100px; }
.bid-avatar { width: 26px; height: 26px; border-radius: 50%; background: #475569; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Tabs reuse mc-tabs */

/* Alert banner */
.bid-alert {
  display: flex; align-items: center; gap: 9px;
  background: #FEF2F2; border: 1px solid #FECACA; border-radius: 6px;
  margin: 10px 16px 0; padding: 8px 12px; font-size: 12px; color: #9b1c1c;
}
.bid-alert .bid-alert-dot { width: 8px; height: 8px; border-radius: 50%; background: #EF4444; flex-shrink: 0; }
.bid-alert .bid-alert-x { margin-left: auto; color: #c08585; font-size: 15px; cursor: default; }

/* Body */
.bid-body { flex: 1; min-height: 0; padding: 12px 16px 14px; background: #FAFAFA; overflow: hidden; }

/* Summary tiles */
.bid-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.bid-tile { background: #fff; border: 1px solid #EEE; border-radius: 8px; padding: 11px 12px; }
.bid-tile-top { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.bid-tile-ic { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bid-tile-ic svg { width: 14px; height: 14px; }
.bid-tile-ic.gray { background: #F3F3F3; color: #777; }
.bid-tile-ic.green { background: #DCFCE7; color: #16A34A; }
.bid-tile-ic.blue { background: #EFF6FF; color: #2563EB; }
.bid-tile-lbl { font-size: 10px; color: #9a9a9a; }
.bid-tile-num { font-family: 'Satoshi', system-ui, sans-serif; font-size: 24px; font-weight: 700; color: #0F0F0F; line-height: 1.05; }
.bid-tile-sub { font-size: 10.5px; margin-top: 2px; }
.bid-tile-sub.orange { color: #E8450A; font-weight: 600; }
.bid-tile-sub.muted { color: #9a9a9a; }
.bid-tile-sub.green { color: #16A34A; font-weight: 600; }

/* Section header */
.bid-sec { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.bid-sec-lbl { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #999; font-family: 'Satoshi', system-ui, sans-serif; }
.bid-sec-new { margin-left: auto; color: #E8450A; font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.bid-sec-ic { display: flex; align-items: center; gap: 11px; color: #b0b0b0; font-size: 11px; }
.bid-sec-ic svg { width: 13px; height: 13px; }

/* Bid cards grid */
.bid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bid-card {
  background: #fff; border: 1px solid #EEE; border-left-width: 4px; border-radius: 10px;
  padding: 12px 14px;
}
.bid-card.voided { border-left-color: #9CA3AF; }
.bid-card.rejected { border-left-color: #EF4444; }
.bid-card.approved { border-left-color: #22C55E; }

.bid-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bid-card-id { color: #E8450A; font-weight: 700; font-size: 12.5px; font-family: 'SF Mono', ui-monospace, monospace; }
.bid-pill { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 100px; }
.bid-pill.voided { background: #F3F3F3; color: #555; }
.bid-pill.rejected { background: #FEE2E2; color: #991B1B; }
.bid-pill.approved { background: #DCFCE7; color: #166534; }
.bid-best { margin-left: auto; background: #FEF3C7; color: #92400E; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px; display: inline-flex; align-items: center; gap: 3px; }

.bid-plate { display: inline-block; background: #FDE68A; color: #1A1A1A; font-family: 'SF Mono', ui-monospace, monospace; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; padding: 3px 10px; border-radius: 4px; border: 1px solid #EAC94A; margin-bottom: 10px; }

.bid-prices { display: flex; justify-content: space-between; font-size: 10.5px; margin-bottom: 6px; }
.bid-prices span b { color: #1A1A1A; font-weight: 700; font-size: 12px; display: block; }
.bid-prices span { color: #9a9a9a; }
.bid-prices .bid-diff-neg b { color: #DC2626; }
.bid-prices .bid-diff-pos b { color: #16A34A; }

.bid-bar-track { position: relative; height: 8px; background: #F3F3F3; border-radius: 4px; margin: 8px 0 7px; }
.bid-bar-fill { height: 100%; border-radius: 4px; background: #F4845C; }
.bid-bar-fill.green { background: #22C55E; }
.bid-bar-target { position: absolute; top: -4px; bottom: -4px; left: 100%; width: 2px; background: #1A1A1A; }
.bid-bar-target::after { content: 'Target'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 7.5px; color: #6b7280; white-space: nowrap; }

.bid-delta { font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 5px; margin-bottom: 9px; }
.bid-delta.down { color: #DC2626; }
.bid-delta.up { color: #16A34A; }

.bid-card-foot { display: flex; align-items: center; gap: 10px; padding-top: 9px; border-top: 1px solid #F2F2F2; font-size: 10.5px; color: #777; }
.bid-card-foot .bid-nbv b { color: #1A1A1A; font-weight: 600; }
.bid-pnl { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 100px; }
.bid-pnl.green { background: #DCFCE7; color: #166534; }
.bid-pnl.red { background: #FEE2E2; color: #991B1B; }
.bid-sales { display: flex; align-items: center; gap: 6px; margin-left: auto; color: #555; }
.bid-sales-av { width: 20px; height: 20px; border-radius: 50%; background: #1F2937; color: #fff; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.bid-notes { margin-left: auto; color: #b0b0b0; font-style: italic; }

.bid-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 11px; color: #999; }
.bid-foot a { color: #E8450A; font-weight: 600; }

@media (max-width: 900px) {
  .bid-tiles { grid-template-columns: 1fr 1fr; }
  .bid-grid { grid-template-columns: 1fr; }
}
