#homebaseView > .app-layout > .dashboard-content > #homebaseVinReader {
  order:-12; min-width:0; margin:0 0 14px; padding:18px 20px;
  border:1px solid #b6d4c2; border-radius:14px; background:#f6fbf8; color:#153b28;
}
#homebaseVinReader * { box-sizing:border-box; }
#homebaseVinReader [hidden] { display:none !important; }
#homebaseVinReader .vin-reader-top { display:flex; align-items:center; justify-content:space-between; gap:18px; }
#homebaseVinReader h2 { margin:0 0 4px; color:#123d28; font-size:20px; line-height:1.25; }
#homebaseVinReader p { margin:0; font-size:13px; line-height:1.5; color:#466450; }
#homebaseVinReader button { cursor:pointer; font-family:inherit; font-weight:700; font-size:14px; line-height:1.3; min-height:44px; }
#homebaseVinReader .vin-reader-upload { display:flex; align-items:center; gap:12px; padding:12px 20px; border:1px dashed #328359; border-radius:10px; background:#fff; color:#145934; text-align:left; flex-shrink:0; }
#homebaseVinReader .vin-reader-upload svg { width:24px; height:24px; flex-shrink:0; }
#homebaseVinReader .vin-reader-upload span { display:grid; gap:3px; }
#homebaseVinReader .vin-reader-upload small { font-size:12px; font-weight:400; }
#homebaseVinReader.is-dragging { background:#e0f4e8 !important; outline:3px solid #128348; outline-offset:2px; }
#homebaseVinReader button:focus-visible, #homebaseVinReader input:focus-visible, #homebaseVinReader:focus-visible { outline:3px solid #137b49; outline-offset:3px; }
#homebaseVinReader [data-vin-status] { margin-top:12px; font-size:14px; color:#1d5c38; }
#homebaseVinReader [data-vin-status][data-error="true"] { color:#97351c; }
#homebaseVinReader[aria-busy="true"] [data-vin-status]::before { content:' '; display:inline-block; width:12px; height:12px; margin-right:8px; border:2px solid #b5d8c3; border-top-color:#087a3e; border-radius:50%; animation:vin-reading 1s linear infinite; }
#homebaseVinReader .vin-reader-result { margin-top:16px; display:grid; grid-template-columns:160px minmax(0,1fr); align-items:center; gap:20px; }
#homebaseVinReader .vin-reader-preview { display:grid; gap:4px; padding:0; border:0; background:transparent; color:#42604e; font-size:12px; }
#homebaseVinReader .vin-reader-preview img { display:block; width:100%; height:112px; object-fit:contain; background:#eaf1ed; border:1px solid #c7dbce; border-radius:8px; }
#homebaseVinReader .vin-reader-fields { min-width:0; }
#homebaseVinReader label { display:block; margin-bottom:6px; font-size:13px; font-weight:700; }
#homebaseVinReader .vin-reader-copy-row { display:flex; gap:10px; }
#homebaseVinReader input[data-vin-value] { flex:1; width:100%; min-width:0; min-height:48px; padding:12px; border:1px solid #97b6a2; border-radius:8px; background:#fff; color:#10291c; font:600 20px/1.2 ui-monospace,monospace; letter-spacing:1px; }
#homebaseVinReader [data-vin-copy] { padding:12px 20px; border:1px solid #08783d; border-radius:8px; background:#08783d; color:#fff; white-space:nowrap; }
#homebaseVinReader button:disabled { opacity:.5; cursor:default; }
#homebaseVinReader [data-vin-count] { display:block; min-height:20px; margin-top:7px; font-size:12px; color:#55705f; }
#homebaseVinReader [data-vin-choices] { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
#homebaseVinReader [data-vin-choices] button { padding:8px 10px; border:1px solid #8cb99e; border-radius:6px; background:white; color:#164a2d; font-family:ui-monospace,monospace; overflow-wrap:anywhere; }
#homebaseVinReader [data-vin-choices] button[aria-pressed="true"] { background:#d7f0e0; border-color:#137b49; }
#homebaseVinReader [data-vin-clear] { padding:6px 0; margin-top:7px; border:0; background:transparent; color:#3a6249; text-decoration:underline; font-size:13px; }
#homebaseVinReader dialog { padding:16px; border:1px solid #b4caba; border-radius:14px; width:min(1100px,94vw); max-height:90vh; background:#f4f8f5; }
#homebaseVinReader dialog::backdrop { background:#05190ed9; }
#homebaseVinReader [data-vin-close] { display:block; margin:0 0 12px auto; padding:8px 16px; border:1px solid #9bbca7; border-radius:7px; color:#164a2d; background:#fff; }
#homebaseVinReader [data-vin-full-image] { display:block; max-width:100%; height:auto; margin:auto; }
@keyframes vin-reading { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { #homebaseVinReader[aria-busy="true"] [data-vin-status]::before { animation:none; } }
@media(max-width:600px) {
  #homebaseView > .app-layout > .dashboard-content > #homebaseVinReader { padding:14px; margin:0; }
  #homebaseVinReader .vin-reader-top { align-items:stretch; flex-direction:column; gap:12px; }
  #homebaseVinReader .vin-reader-upload { justify-content:center; }
  #homebaseVinReader .vin-reader-result { grid-template-columns:minmax(0,1fr); gap:12px; }
  #homebaseVinReader .vin-reader-preview { max-width:180px; }
  #homebaseVinReader .vin-reader-copy-row { flex-direction:column; }
  #homebaseVinReader input[data-vin-value] { font-size:17px; letter-spacing:.6px; }
}
