#vehicleForm .vehicle-history-opt-in { grid-column:1 / -1; }
#vehicleForm [data-vehicle-history-import] { grid-column:1 / -1; padding:12px; background:#f0faff; border-radius:8px; }
#vehicleForm [data-vehicle-history-import] p { margin:0 0 10px; }
#vehicleForm [data-history-import-status] { margin:10px 0 0; }

#vehicleForm .vehicle-entry-choices { display:flex; flex-wrap:wrap; gap:10px; }
#vehicleForm .vehicle-entry-choices button { white-space:normal; max-width:100%; padding:8px 12px; }
#vehicleForm .vehicle-entry-choices .vehicle-entry-selected { background:#def3fc; border-color:#2787ac; box-shadow:inset 0 0 0 1px #2787ac; }

#vehicleForm [data-vehicle-history-import] .vehicle-history-responsibility {
  margin:12px 0 0; padding:12px; color:#b42318; background:#fff1f0;
  border:1px solid #f0aaa5; border-left:4px solid #b42318; border-radius:6px;
  font-size:14px; font-weight:600; line-height:1.5; overflow-wrap:anywhere;
}
#vehicleForm .vehicle-history-responsibility[hidden] { display:none; }

#vehicleForm [data-import-vehicle-history][hidden],
#vehicleForm .vehicle-history-opt-in[hidden] { display:none; }

.vehicle-history-review { width:min(740px,calc(100vw - 24px)); max-height:90dvh; padding:24px; border:1px solid #c6d9e9; border-radius:18px; overflow:auto; box-sizing:border-box; color:#193b59; }
.vehicle-history-review::backdrop { background:#0008; }
.history-review-table { overflow-x:auto; }
.history-review-table table { width:100%; border-collapse:collapse; }
.history-review-table th,.history-review-table td { padding:10px; text-align:left; border-bottom:1px solid #d7e1eb; overflow-wrap:anywhere; }
.history-review-changed td:last-child { font-weight:700; background:#edf7ff; }
.history-review-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:20px; }
.vehicle-history-review .vehicle-history-responsibility { color:#b42318; background:#fff1f0; padding:12px; border-left:4px solid #b42318; }
.vehicle-nav-item { display:flex; align-items:center; min-width:0; }
.vehicle-nav-item:has(> .nav-item.hidden) { display:none; }
.sidebar .vehicle-nav-item > .nav-item { flex:1; min-width:0; }
.vehicle-history-notifications { flex:0 0 auto; }
.vehicle-history-notifications [data-history-bell] { padding:6px 8px; font-size:13px; white-space:nowrap; }
.vehicle-history-notifications[hidden], [data-history-notifications-list][hidden] { display:none; }
[data-history-notifications-list] { position:fixed; z-index:90; width:min(340px,calc(100vw - 16px)); max-height:50vh; overflow:auto; padding:12px; box-sizing:border-box; background:#fff; color:#193b59; border:1px solid #c6d9e9; border-radius:10px; box-shadow:0 8px 24px #0002; }
[data-history-notifications-list] button { display:block; width:100%; white-space:normal; text-align:left; margin-bottom:8px; }
