/* CHE168 #224 — controls augment the existing marketplace without redesign. */
.v12-compare-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:7px;
  padding:5px 0;max-width:100%;font-size:13px}
.v12-compare-toolbar button,#v12BestToggle,#v12BestScope{
  border:1px solid #cbd9ea;border-radius:9px;padding:7px 10px;
  color:#1a365d;background:#fff;cursor:pointer;font:inherit}
.v12-compare-toolbar button:disabled{cursor:not-allowed;opacity:.5}
.v12-compare-toolbar .v12-compare-counter{font-weight:700;color:#253b57}
.v12-compare-toolbar .v12-compare-selected-chip{background:#edf5ff;
  border-color:#bcd8fb;max-width:230px;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap}
#v12BestToggle[aria-pressed="true"]{background:#e6f5e9;border-color:#92c6a0;
  color:#215837}
#v12BestScope{min-width:130px;max-width:170px}
.v12-manual-compare{max-width:min(1300px,95vw);font-size:14px}
.v12-manual-compare h2{margin:4px 0 8px}
.v12-manual-compare p{line-height:1.4}
.v12-compare-controls{margin:12px 0}
.v12-compare-controls button,.v12-compare-personal button{background:#e9f2ff;
  border:1px solid #b7cee9;border-radius:8px;padding:8px 12px;cursor:pointer}
.v12-manual-compare-scroll{width:100%;overflow:auto;max-height:65vh;border:1px solid #d9e4ed;
  border-radius:10px;overscroll-behavior:contain}
.v12-manual-compare-table{width:100%;border-collapse:separate;border-spacing:0;
  table-layout:fixed;min-width:650px;font-size:12px;line-height:1.35}
.v12-manual-compare-table th,.v12-manual-compare-table td{
  text-align:left;vertical-align:top;border-bottom:1px solid #e4e9ef;
  border-right:1px solid #ecf1f6;padding:9px 10px;overflow-wrap:anywhere}
.v12-manual-compare-table thead th{position:sticky;top:0;background:#e7f1ff;z-index:2}
.v12-manual-compare-table th:first-child{width:27%;position:sticky;left:0;
  z-index:1;background:#f4f8fd}
.v12-manual-compare-table thead th:first-child{z-index:3;background:#e1edfa}
.v12-manual-compare-table .v12-compare-group th{position:static;
  background:#eaf0f7;color:#263f5b;font-size:12px;font-weight:700}
.v12-manual-compare-table .v12-compare-different{background:#fff8e9}
.v12-manual-compare-table .v12-compare-different th:first-child{background:#fff2db}
.v12-compare-car-photo{display:block;width:min(100%,160px);height:90px;object-fit:cover;\n  margin:7px 0;border-radius:7px;background:#edf2fa}\n.v12-compare-spec{margin-top:3px;color:#697d91;font-size:11px;font-weight:400}
.v12-compare-personal{margin-top:18px;border-top:1px solid #d7e0ea;padding-top:16px}
.v12-compare-weight-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;margin:12px 0}
.v12-compare-weight{display:flex;flex-direction:column;gap:5px;
  min-width:0;font-weight:600}
.v12-compare-weight input{width:100%;min-width:0;box-sizing:border-box;
  border:1px solid #bdcee1;border-radius:7px;padding:9px;font:inherit}
.v12-compare-evaluation{margin:14px 0;padding:10px 14px;
  background:#f5f8fc;border-radius:9px}
.v12-compare-coverage{font-weight:600}
@media(max-width:700px){
  .v12-compare-weight-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v12-manual-compare{max-width:100%}
  .v12-manual-compare-scroll{max-height:55vh}
  .v12-manual-compare-table{min-width:620px}
  #v12BestScope{max-width:140px}
}
