/* INVBOARD_V1 */
.ib-bar{gap:8px;flex-wrap:wrap;align-items:center}.ib-wrap{overflow:auto;max-height:78vh;padding:0}
table.ib{width:100%;border-collapse:collapse;font-size:13px}table.ib th{position:sticky;top:0;background:#1f2a44;color:#fff;cursor:pointer;white-space:nowrap;padding:6px 8px;text-align:left}
table.ib th.on{background:#2f4a7a}table.ib td{padding:5px 8px;border-bottom:1px solid #e5e7eb;white-space:nowrap}
table.ib td.c-suggested,table.ib td.c-set_price,table.ib td.c-market,table.ib td.c-cost,table.ib td.c-gap,table.ib td.c-hits,table.ib td.c-leads,table.ib td.c-clicks{text-align:right}
tr.ib-flag{background:#fff4f4}.ib-na{color:#9ca3af;font-style:italic;cursor:help}.ib-neg{color:#b91c1c;font-weight:600}.ib-pos{color:#047857}.ib-ok{color:#047857;font-weight:600}
.ib-f{display:inline-block;padding:1px 6px;border-radius:9px;font-size:11px;font-weight:600}.ib-f.red{background:#fee2e2;color:#991b1b}.ib-f.amb{background:#fef3c7;color:#92400e}
/* INVBOARD_V3 */
.ib-f.gry{background:#f3f4f6;color:#4b5563}.ib-f.blu{background:#dbeafe;color:#1e40af}.ib-f.pur{background:#ede9fe;color:#5b21b6}.ib-f.grn{background:#d1fae5;color:#065f46}
.ib-bulk{gap:8px;align-items:center;flex-wrap:wrap}.ib-bulk .grow{flex:1}.ib-bulk button.pri,.ib-m button.pri{background:#1f2a44;color:#fff}
.ib-star{border:0;background:none;font-size:18px;cursor:pointer;color:#9ca3af}.ib-star.on{color:#d97706}
.ib-mb{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:999;display:flex;align-items:flex-start;justify-content:center;padding-top:6vh}
.ib-m{background:#fff;border-radius:10px;padding:18px 20px;width:min(720px,94vw);max-height:86vh;overflow:auto;box-shadow:0 10px 40px rgba(0,0,0,.3)}
.ib-m fieldset{border:1px solid #e5e7eb;border-radius:8px;margin:10px 0;padding:8px 12px}.ib-m label{margin-right:10px;display:inline-block;margin-bottom:6px}.ib-m input[type=number]{width:120px}
.ib-ref{display:flex;gap:16px;flex-wrap:wrap;background:#f8fafc;border-radius:8px;padding:8px 12px}.ib-live{margin-top:6px}.ib-list{max-height:200px;overflow:auto;font-size:12px;background:#f8fafc;padding:6px 10px;border-radius:6px;margin:8px 0}

/* DAILY1110 / INV_FS_QA: fullscreen unit card uses the viewport BELOW the sticky top menu.
   Title, figures (cost/suggested/market/now), VIN, price, special and controls must all be visible.
   Do not paint the card under the header (that was the blank-card bug). Menu itself is unchanged. */
body.veh-fs-lock .ib-mb.ib-mb-full.veh-fs,
.ib-mb.ib-mb-full.veh-fs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--veh-fs-top, 0px);
  z-index: 90;
  background: #f4f6f8;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  overflow: auto;
}
body.veh-fs-lock .ib-mb.ib-mb-full.veh-fs .ib-m.veh-fs-inner,
.ib-mb.ib-mb-full.veh-fs .ib-m.veh-fs-inner {
  width: min(1100px, 100%);
  max-width: 1100px;
  margin: 0 auto;
  max-height: none;
  min-height: 0;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  background: #fff;
}
.ib-ref .ib-ref-meta { flex-basis: 100%; color: #4b5563; font-size: 13px; }
