/*
 * Embed mode — used when the calculator is iframed on a partner site.
 *
 * Activated by adding `embed-mode` to <html> (see index.html). It strips the
 * site chrome so the iframe renders as a self-contained widget: no hero, no
 * SEO copy, no footer, no cookie-consent dialog, no ads.
 *
 * Deliberately NOT hiding `.h-screen`: that class sits on the outer app shell,
 * not on the sidebar, so hiding it blanks the whole calculator.
 */

html.embed-mode,
html.embed-mode body {
  background: #fff;
  color-scheme: light;
}

html.embed-mode .lcp-hero,
/* page hero */
html.embed-mode .seo-section,
/* long-form SEO copy */
html.embed-mode footer,
html.embed-mode .fixed-nav,
/* sticky mobile action bar */
html.embed-mode #cc-main,
/* cookie consent dialog */
html.embed-mode .adsbygoogle,
html.embed-mode ins.adsbygoogle,
html.embed-mode .ad-slot,
html.embed-mode a[rel~="sponsored"],   /* affiliate banners (e.g. Booking.com) */
html.embed-mode .embed-hide {          /* theme toggle + cross-link row */
  display: none !important;
}

/* Keep the widget inside the iframe width, and give it a little breathing room. */
html.embed-mode .overflow-y-auto {
  padding: 0.75rem 1rem 1rem;
}