/* Round 27, lane C (r3069): the deal page head and the hub compare bar. Loaded on deal pages and make or shortcut hubs only.
   It sits in the head's extra slot, BEFORE polish.css, wizard.css, highlighter.css, r23.css and r26.css, so each rule starts with
   a page class (main.deal-wrap, main.hub-wrap) or with body (the compare bar is appended to body) to win.
   Tokens only. Yellow stays on the Real Lease Cost. Blue marks actions: the listing button, Compare, Reset. 44px targets. */

/* ---- deal page: the make badge on its own line, the name balanced ---- */
main.deal-wrap .deal-make{display:flex;align-items:center;gap:var(--sp2);margin:var(--sp3) 0 0;color:var(--muted);font-size:var(--t2);font-weight:700}
main.deal-wrap .deal-make .blogo{width:24px;height:24px;max-width:24px;max-height:24px;margin:0;vertical-align:baseline;flex:none}
main.deal-wrap .deal-make .blogo-init{font-size:24px}
main.deal-wrap h1{margin-top:var(--sp1);text-wrap:balance;overflow-wrap:break-word}

/* ---- deal page: one way to the original listing, under the price ---- */
main.deal-wrap .deal-cta{margin:var(--sp3) 0 var(--sp2)}
main.deal-wrap .deal-cta .srclink{display:inline-flex;align-items:center;justify-content:center;gap:var(--sp2);min-height:48px;box-sizing:border-box;
  padding:0 var(--sp5);background:var(--s1);color:var(--link);border:2px solid var(--link);box-shadow:none;font-weight:700;text-decoration:none}
main.deal-wrap .deal-cta .srclink:hover{background:var(--s2)}
main.deal-wrap .deal-cta .srclink .ico{margin:0}
@media (max-width:480px){ main.deal-wrap .deal-cta .srclink{display:flex;width:100%} }

/* ---- deal page: the warning is said once, in a plain line, not a grey box ---- */
main.deal-wrap .trust-once{background:none;border:0;padding:0;margin:var(--sp2) 0 var(--sp3);color:var(--ink);font-weight:600;font-size:var(--t2)}

/* ---- the crumb is the one way back: keep the back-link class (deal.js and the 44px rules), drop the bold chevron button look ---- */
main.deal-wrap .crumbs .back-link{display:inline-flex;align-items:center;min-height:44px;font-weight:400;text-decoration:none}
main.deal-wrap .crumbs .back-link::before{content:none}

/* ---- hub: Reset beside the chips; the compare bar on hub and home pages ---- */
main.hub-wrap .hub-reset{display:inline-flex;align-items:center;min-height:44px;margin-left:var(--sp1);align-self:center}
main.hub-wrap .hub-reset[hidden]{display:none}
body .cmp-bar{padding-bottom:calc(var(--sp2) + env(safe-area-inset-bottom,0px))}
body .cmp-bar .cmp-go{min-height:48px;box-sizing:border-box;white-space:nowrap}
body .cmp-bar .cmp-go[disabled]{opacity:1;background:var(--s2);color:var(--muted);box-shadow:none;border:1px solid var(--line-strong)}
body .cmp-bar .cmp-clear{display:inline-flex;align-items:center;min-height:44px;min-width:44px}
