.cars-accordion>details{min-width:0}
.transit-gallery{margin:24px 0;min-width:0;max-width:100%;overflow:hidden}
.transit-gallery .tg-main{display:block;width:100%;height: min(460px,65vw);min-height:190px;background:#eef1f2;overflow:hidden;border-radius:6px;cursor:zoom-in}
.transit-gallery .tg-main img{display:block;width:100%;height:100%;object-fit:contain}
.tg-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
.tg-tools span{font-size:14px;font-variant-numeric:tabular-nums;color:#26362e}
.tg-actions{display:flex;gap:8px}
.tg-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:0;border:1px solid #cbd5d0;background:#fff;color:#17241d;border-radius:6px;cursor:pointer}
.tg-icon:hover{background:#dff5e5}.tg-icon svg{width:22px;height:22px}
.tg-thumbs{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 10px;max-width:100%}
.tg-thumb{flex:0 0 88px;height:64px;padding:2px;border:2px solid transparent;border-radius:6px;background:#eef1f2;cursor:pointer}
.tg-thumb[aria-pressed="true"]{border-color:#238145}.tg-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:2px}
.transit-gallery :focus-visible,.tg-dialog :focus-visible{outline:3px solid #238145;outline-offset:3px}
.tg-dialog{box-sizing:border-box;width:min(1200px,96vw);max-width:96vw;height:90vh;height:90dvh;max-height:94dvh;padding:12px;border:0;border-radius:8px;background:#151b18;color:white}
.tg-dialog::backdrop{background:rgba(0,0,0,.8)}
.tg-dialog[open]{display:flex;flex-direction:column;gap:10px}
.tg-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:static;background:transparent;padding:0;flex:none}
.tg-dialog header span{font-size:14px}.tg-dialog .tg-photo{display:block;flex:1;min-height:0;width:100%;object-fit:contain;touch-action:pan-y}
.tg-dialog footer{display:flex;justify-content:center;gap:12px;flex:none;padding:0;background:transparent}
html.tg-open{overflow:hidden}
@media(max-width:480px){.tg-thumb{flex-basis:72px;height:54px}.tg-dialog{padding:8px}.tg-tools{gap:8px}}
