.jg-inventory-photos{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:9px 14px;border:0;border-bottom:1px solid #dde4ec;background:#f2f7fd;color:#003478;font-weight:700;font-size:15px;cursor:pointer;white-space:normal}
.jg-inventory-photos:hover{background:#e5effc}
.jg-inventory-store{margin:6px 0;color:#3d5068;font-size:15px;font-weight:700;line-height:1.45;overflow-wrap:anywhere}
.jg-inventory-status{align-self:flex-start;margin:4px 0 6px;padding:5px 9px;border:1px solid #c6d7ed;border-radius:8px;background:#edf4ff;color:#003478;font-size:14px;font-weight:700;line-height:1.4}
.jg-inventory-vin,.jg-inventory-report{margin:5px 0 10px;color:#40536b;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.jg-inventory-listing{display:inline-flex;align-items:center;gap:5px;min-height:44px;margin:0 0 8px;color:#003478;font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:3px;line-height:1.4;overflow-wrap:anywhere}
[data-screen-label="Shop"] article :is(h2,p,dd),.jg-compare-dialog dd{overflow-wrap:anywhere}
.jg-inventory-shade{z-index:150}
.jg-inventory-dialog{display:flex;flex-direction:column;width:min(100%,960px);max-height:calc(100dvh - 40px);min-width:0;overflow:hidden;border:1px solid #c4d2e4;border-radius:20px;background:#fff;color:#0a1628;box-shadow:0 24px 90px #0005}
.jg-inventory-gallery-header{display:flex;align-items:flex-start;gap:14px;padding:18px 20px;border-bottom:1px solid #dde4ec;flex:0 0 auto}
.jg-inventory-gallery-header>div{flex:1;min-width:0}
.jg-inventory-gallery-header h2{margin:0;font-family:system-ui,system-ui,sans-serif;font-size:clamp(19px,3vw,25px);line-height:1.3;letter-spacing:-.02em;overflow-wrap:anywhere}
.jg-inventory-gallery-header p{margin:6px 0 0;font-size:14px;line-height:1.45;color:#40536b;overflow-wrap:anywhere}
.jg-inventory-gallery-header>button{display:grid;place-items:center;flex:0 0 auto;min-width:44px;min-height:44px;padding:0;border:1px solid #cbd8e8;border-radius:10px;background:#eef3f9;color:#173657;font-size:28px;line-height:1;cursor:pointer}
.jg-inventory-gallery-body{min-height:0;overflow:auto;overscroll-behavior:contain}
.jg-inventory-gallery-stage{position:relative;display:flex;align-items:center;justify-content:center;height:clamp(190px,50dvh,570px);background:#0a1628;overflow:hidden}
.jg-inventory-gallery-stage>img{width:100%;height:100%;object-fit:contain}
.jg-inventory-image-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;margin:0;text-align:center;color:#fff;font-size:16px;line-height:1.5}
.jg-inventory-gallery-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:12px 16px}
.jg-inventory-gallery-controls>button{min-width:48px;min-height:44px;padding:7px 12px;border:1px solid #c5d5e9;border-radius:10px;background:#eef4fc;color:#003478;font-size:22px;line-height:1;cursor:pointer}
.jg-inventory-gallery-controls>p{margin:0;font-size:16px;font-weight:700;color:#173657;line-height:1.4}
.jg-inventory-gallery-controls>label{display:flex;align-items:center;gap:8px;font-size:14px;color:#40536b;line-height:1.4}
.jg-inventory-gallery-controls input{width:5.5rem;min-height:44px;max-width:100%;padding:8px;border:1px solid #8a9db4;border-radius:8px;background:#fff;color:#0a1628;font-size:16px}
.jg-inventory-thumbnails{display:grid;grid-template-columns:repeat(auto-fit,minmax(52px,1fr));gap:7px;max-width:590px;padding:0 16px;margin:0 auto 14px}
.jg-inventory-thumbnails>button{position:relative;aspect-ratio:4/3;min-height:48px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:7px;background:#dde4ec;cursor:pointer}
.jg-inventory-thumbnails>button[aria-pressed="true"]{border-color:#1a6fd4;box-shadow:0 0 0 2px #fff inset}
.jg-inventory-thumbnails img{width:100%;height:100%;object-fit:cover}
.jg-inventory-thumbnails span{position:absolute;bottom:2px;right:2px;min-width:20px;padding:1px 4px;border-radius:3px;background:#0a1628de;color:#fff;font-size:12px;font-weight:700;line-height:1.4}
.jg-inventory-gallery-details{padding:0 20px 20px;border-top:1px solid #e6ecf4}
.jg-inventory-gallery-details>p:first-child{margin:14px 0 10px;color:#40536b;font-size:15px;line-height:1.5}
.jg-inventory-gallery-details>div{display:flex;gap:10px;flex-wrap:wrap}
.jg-inventory-gallery-details .jg-button{flex:1 1 180px}
.jg-inventory-dialog :focus-visible{outline:3px solid #3189f4;outline-offset:3px}
@media(max-width:640px){.jg-inventory-shade{padding:10px}.jg-inventory-dialog{max-height:calc(100dvh - 20px - env(safe-area-inset-bottom));border-radius:16px}.jg-inventory-gallery-header{padding:14px;gap:10px}.jg-inventory-gallery-controls{padding:12px 10px;gap:8px}.jg-inventory-gallery-controls>label{flex-basis:100%;justify-content:center}.jg-inventory-gallery-details{padding:0 14px 16px}.jg-inventory-gallery-stage{height:clamp(190px,42dvh,390px)}}
@media(max-height:500px){.jg-inventory-gallery-stage{height:210px}.jg-inventory-gallery-header{padding:10px 14px}.jg-inventory-gallery-header h2{font-size:19px}}
