/*
 * Background chrome for the standalone /iframe embed only.
 *
 * This lives in its own file instead of plugin/styles/searchTool.css because
 * that stylesheet is also enqueued onto partner WordPress sites
 * (Plugin/plugin-rework.php) — a page-level background there would repaint the
 * partner's entire site. The WP shortcode strips <link rel="stylesheet"> tags
 * out of iframe.html, so this file only ever loads for /iframe.
 *
 * Set on <html>, not <body>: the resize messages sent to the parent page use
 * document.body.scrollHeight, so stretching the body to 100vh would make each
 * resize report the viewport height and grow the iframe on every search.
 * The root background propagates to the canvas and fills the whole frame.
 */

html {
    min-height: 100%;
    /* Matches the base fill inside Background.svg, so any area the image does
       not cover stays seamless instead of showing white. */
    background-color: #fff6e3;
    background-image: url("../../images/Background.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
