/* Site look for the configurator. The tool's own styles are in configurator.css (generated);
   this file is written by hand and loaded after it. */

/* 1. Keep the site's general text and layout rules out of the tool. */
.cfg :where(section) { padding: 0; scroll-margin: 0; }
.cfg :where(h1, h2, h3, p) { margin: revert; font-size: revert; line-height: inherit; letter-spacing: normal; color: inherit; text-wrap: wrap; }

/* 2. Page frame */
.cfg-page { width: min(92%, 90rem); margin: auto; padding: clamp(1.8rem, 4vw, 3.2rem) 0 clamp(3rem, 5vw, 5rem); }
.cfg-page > .secondary { display: inline-block; margin-bottom: 1.2rem; }

/* 3. Theme */
.cfg { --accent: var(--blue); --accent-deep: var(--blue-dark); --ink: #121a33; --muted: #4d5973; --line: #dde6f5; --light: #f3f7ff; --bg: transparent; font-family: inherit; }
/* The site header already shows the logo, and the language is chosen with its DE | EN switch; the tool's own
   bar stays in the page for its script but is not shown. */
.cfg .topbar { display: none; }
.cfg .page { max-width: none; padding: 0; }
.cfg .intro { display: block; max-width: none; margin: 0 0 1.4rem; text-align: left; }
.cfg .intro h1 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.cfg .panel { border-radius: 1.15rem; box-shadow: 0 5px 16px #0b2a6b0f, 0 1px 3px #0b2a6b08; }
.cfg .smallbtn, .cfg .depth-picker select { border-radius: 2rem; padding-inline: .9rem; }
.cfg .depth-picker select { padding-right: 1.7rem; }
.cfg .button { border-radius: 2rem; padding: .7rem 1.3rem; box-shadow: none; }
.cfg .print-dialog-content { border-radius: 1.25rem; }

/* 4. Printing: only the tool's two-page report, not the site header, footer or banners. */
@media print {
  body > header, body > footer, #mobile-menu, .cookie-banner, .scroll-thumb, .cfg-page > .secondary { display: none !important; }
  .cfg-page { width: auto; padding: 0; }
}
