.vehicle-card{position:relative}.vs-actions{position:absolute;right:10px;top:64px;display:flex;flex-direction:column;gap:8px;z-index:3}.vs-actions button{display:flex;align-items:center;justify-content:center;min-width:46px;min-height:42px;padding:6px 9px;border:1px solid #c7d7eb;border-radius:24px;background:#fffffff0;color:#0846ad;box-shadow:0 2px 8px #102b4430;font-size:20px;cursor:pointer}.vs-actions .vs-like[aria-pressed=true]{color:#df2560}.vs-actions .vs-compare[aria-pressed=true]{background:#0846ad;color:white}.vs-actions button:focus-visible,.vs-tray button:focus-visible{outline:3px solid #206de5;outline-offset:2px}.vs-tray{position:fixed;bottom:16px;left:16px;z-index:30;max-width:min(590px,calc(100vw - 125px));background:#fff;border:2px solid #0846ad;border-radius:16px;padding:12px;box-shadow:0 5px 25px #1234;display:flex;gap:8px;flex-wrap:wrap;max-height:32vh;overflow:auto}.vs-tray strong,.vs-tray small{width:100%}.vs-tray button{background:#edf4ff;color:#0846ad;border:1px solid #b9cbe6;border-radius:12px;padding:7px;cursor:pointer}.vs-tray[hidden],.vs-notice[hidden]{display:none}.vs-notice{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:100;width:max-content;max-width:85vw;background:#0846ad;color:white;padding:14px;border-radius:10px}.vs-dialog{width:min(540px,90vw);max-height:85vh;box-sizing:border-box;overflow:auto;border:2px solid #0846ad;border-radius:18px;padding:22px;color:#153252}.vs-dialog::backdrop{background:#10263c80}.vs-dialog article{border-bottom:1px solid #d3dfed;padding:14px 0}.vs-dialog article small{display:block;color:#60718c;margin-top:4px}.vs-dialog article p{white-space:pre-wrap;overflow-wrap:anywhere}.vs-dialog textarea{display:block;width:100%;box-sizing:border-box;min-height:90px;margin:10px 0}.vs-dialog button{border:1px solid #0846ad;background:white;color:#0846ad;padding:8px 12px;border-radius:8px;cursor:pointer}.vs-dialog [hidden]{display:none!important}.ev-page .vs-compare[aria-pressed=true]{background:#267334}.vs-actions button:disabled{opacity:.5}

.vs-actions button{gap:4px}

/* Transparent photo actions, with counts beneath each outline icon. */
.vehicle-card .vs-actions{right:12px;top:64px;gap:8px}
.vehicle-card .vs-actions button,.vehicle-card .vs-actions button:hover,.vehicle-card .vs-actions button[aria-pressed=true]{flex-direction:column;gap:3px;width:46px;min-height:56px;padding:3px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#fff;text-shadow:0 1px 3px #000b;font-size:13px;line-height:1.2}
.vehicle-card .vs-actions svg{width:29px;height:29px;filter:drop-shadow(0 1px 2px #0009)}
.vehicle-card .vs-actions .vs-like[aria-pressed=true]{color:#ff3040}
.vehicle-card .vs-actions button span{color:#fff;font-weight:600}
.vehicle-card .vs-actions button:focus-visible{outline:2px solid white;outline-offset:2px;border-radius:5px}

.vehicle-card .vs-inline-comments{position:static;width:100%;max-height:none;margin:0;padding:16px;box-sizing:border-box;border:0;border-bottom:1px solid #d3dfed;border-radius:0;background:#fff;box-shadow:none;color:#153252;font-size:14px}
.vs-inline-comments>h2{font-size:16px;line-height:1.4;margin:0 60px 12px 0}
.vs-inline-comments>button:first-child{float:right;font-size:12px;padding:5px 8px}
.vs-inline-comments>div{max-height:260px;overflow-y:auto;overscroll-behavior:contain;clear:both}
.vs-inline-comments article{margin:0;padding:10px 0;background:transparent;border-radius:0;box-shadow:none}
.vs-inline-comments article p{margin:6px 0;line-height:1.5}
.vs-inline-comments article small{font-size:11px}
.vs-inline-comments textarea{min-height:60px;max-height:140px;resize:vertical;border:1px solid #c7d7eb;border-radius:8px;padding:8px;font:inherit}
.vs-inline-comments>p:empty{display:none}
.vs-inline-comments a{display:inline-block;margin-top:10px;color:#0846ad}

.vs-tray .vs-tray-close{margin-left:auto}.vs-reopen{position:fixed;bottom:16px;left:16px;z-index:30;border:2px solid #0846ad;border-radius:12px;padding:12px;background:#fff;color:#0846ad;cursor:pointer}.vs-reopen[hidden]{display:none}.vs-reopen:focus-visible{outline:3px solid #206de5;outline-offset:3px}

/* Factual comparison shortlist: white canvas and silver actions. */
html body .vs-tray{z-index:1400;background:#fff!important;color:#111!important;border:1px solid #c2c9d2!important;box-shadow:0 5px 25px #1232;border-radius:18px;max-width:min(640px,calc(100vw - 32px));bottom:16px;left:16px}
html body .vs-tray :is(strong,small){color:#111!important}
html body .vs-tray button,html body .vs-reopen{background:linear-gradient(105deg,#c0c0c0,#fafafa 38%,#c6c6c6)!important;color:#111!important;-webkit-text-fill-color:#111!important;border:1px solid #b7bdc4!important;box-shadow:inset 0 1px 2px #fff!important;border-radius:12px!important;min-height:38px}
html body .vs-tray>button:not(.vs-tray-close){max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .vs-compare-actions{display:flex;gap:10px;flex-wrap:wrap;width:100%;margin-top:5px}
html body .vs-compare-actions button{padding:9px 16px}
html body .vs-compare-actions button:disabled{opacity:.45;cursor:default}
html body .vs-reopen{position:fixed;bottom:16px;left:16px;z-index:1400;padding:10px 16px}
html body .vs-reopen[hidden]{display:none!important}

/* Equal-width vertical listing actions. */
html body #vehicle-grid .card-compare-slot{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}html body #vehicle-grid .card-compare-slot :is(.vs-compare,.card-ask-bot,.card-emi-calculator){display:flex;align-items:center;justify-content:center;gap:5px;grid-area:auto;margin:0;width:100%;min-height:34px;padding:6px 9px;border:1px solid #b7bdc4;border-radius:12px;background:linear-gradient(105deg,#c0c0c0,#fafafa 38%,#c6c6c6);box-shadow:inset 0 1px 2px #fff,0 2px 4px #182c401c;color:#111;font:700 12px/1.3 Arial,sans-serif;white-space:normal;cursor:pointer}html body #vehicle-grid .card-compare-slot svg{width:17px;height:17px;flex-shrink:0}html body #vehicle-grid .card-compare-slot .card-emi-calculator:disabled{opacity:.5;cursor:default}html body #vehicle-grid .card-compare-slot .card-ask-bot{justify-self:stretch}

html body #vehicle-grid .card-emi-calculator{text-decoration:none}

/* One shared grid keeps each action on the same row as its two facts. */
html body:not(.mobile-customer) #vehicle-grid .vehicle-facts-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(120px,1.3fr);grid-template-rows:repeat(3,minmax(34px,auto));align-items:center;gap:6px 9px}html body:not(.mobile-customer) #vehicle-grid .vehicle-facts-row .vehicle-facts,html body:not(.mobile-customer) #vehicle-grid .card-compare-slot{display:contents}html body:not(.mobile-customer) #vehicle-grid .card-compare-slot .vs-compare{grid-area:1/3}html body:not(.mobile-customer) #vehicle-grid .card-compare-slot .card-ask-bot{grid-area:2/3}html body:not(.mobile-customer) #vehicle-grid .card-compare-slot .card-emi-calculator{grid-area:3/3}html body:not(.mobile-customer) #vehicle-grid .vehicle-facts li{margin:0;align-self:center}html body:not(.mobile-customer) #vehicle-grid .card-compare-slot :is(button,a){align-self:center;min-width:0;flex-basis:auto}@media(max-width:480px){html body:not(.mobile-customer) #vehicle-grid .vehicle-facts-row{column-gap:6px;grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(110px,1.2fr)}html body:not(.mobile-customer) #vehicle-grid .card-compare-slot :is(button,a){font-size:11px;padding:6px}}

html body:not(.mobile-customer) #vehicle-grid .card-compare-slot :is(.vs-compare,.card-ask-bot,.card-emi-calculator){font:700 12px/1.3 Arial,sans-serif!important;padding:6px 8px!important;min-height:38px!important}html body:not(.mobile-customer) #vehicle-grid .card-compare-slot :is(button,a) span{font:inherit!important}

/* Red hearts on home/dealer cards in both saved states; silver edge, no button box. */
html body #vehicle-grid .vehicle-card .vs-actions .vs-like{background:transparent!important;border:0!important;box-shadow:none!important}html body #vehicle-grid .vehicle-card .vs-actions .vs-like svg,html body #vehicle-grid .vehicle-card .vs-actions .vs-like svg path{color:#ce233a!important;fill:#ce233a!important;stroke:#b9bdc4!important;stroke-width:.9!important}html body #vehicle-grid .vehicle-card .vs-actions .vs-like svg{filter:drop-shadow(0 1px 1px #0002)!important}html body #vehicle-grid .vehicle-card .vs-actions .vs-like[aria-pressed=true] svg,html body #vehicle-grid .vehicle-card .vs-actions .vs-like[aria-pressed=true] svg path{color:#ec1735!important;fill:#ec1735!important;stroke:#a9afb8!important}

/* Calculator opens above the listing without navigating away. */
html body dialog.vs-emi-panel{width:min(640px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:1px solid #b7bdc4;border-radius:18px;background:#fff;color:#111;overflow:hidden;box-shadow:0 12px 60px #0003}html body dialog.vs-emi-panel::backdrop{background:#10182066;backdrop-filter:blur(3px)}html body .vs-emi-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #ddd;background:#fff}html body .vs-emi-panel>header h2{margin:0;color:#111;font:700 18px/1.4 Arial,sans-serif}html body .vs-emi-panel .vs-emi-close{min-height:36px;padding:7px 14px;border:1px solid #b7bdc4;border-radius:12px;background:linear-gradient(105deg,#c0c0c0,#fafafa 38%,#c6c6c6);color:#111;font:600 14px Arial,sans-serif;cursor:pointer}html body .vs-emi-panel iframe{display:block;width:100%;height:min(780px,calc(100dvh - 100px));border:0;background:#fff}html body .vs-emi-panel .vs-emi-close:focus-visible{outline:2px solid #315c9b;outline-offset:2px}
