/* Tuotu Astro-projektista: src/styles/interactive-surfaces.css (bin/sync-astro.py). */
/* The section owns its band and dividers. Embedded tools have their own local
   colour scheme so the exact same component can be used in either band.
   Standalone tools opt in with data-interactive-surface. */
html.theme-light main.site-main :is(
  .gd, .opt, .aic, .quiz, .ai-demo, .pj-app, [data-interactive-surface],
  .section-faq-item, .faq-panel > details, .ukk-list > details
):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  --gh-bg: #fff;
  --gh-text: #000024;
  --gh-subtle: #3d3d3d;
  --gh-muted: #505565;
  --gh-border: #c6c9d0;
  --gh-link: #086e68;
  --gh-accent: var(--gh-link);
  --gh-green: #000024;
  --gh-green-hover: #29294c;
  --bg: #fff;
  --heading: var(--gh-text);
  --text: var(--gh-subtle);
  --muted: var(--gh-muted);
  --panel: #fff;
  --tile: #fff;
  --input-bg: #fff;
  --track: #dce0e5;
  --accent: var(--gh-link);
  --accent-hover: #000024;
  box-sizing: border-box;
  min-width: 0;
  color-scheme: light;
  color: var(--gh-text);
  background-color: #f7f7f5;
  border-radius: 14px;
  padding: var(--interactive-inset, clamp(1.25rem, 3vw, 2rem));
}

/* These white media tiles already provide the same inset in the framework.
   Keep a single set of gutters, including when a sticky piece wraps the tool. */
html.theme-light main [data-band='white'] .service-section-media.has-surface:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
html.theme-light body.is-legacy-framework main [data-band='white'] .feature-row-media:is(.is-piece, .is-demo, .opas-row-media):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  --interactive-inset: 0px;
}

/* The service switch is a compact control above a full-width ruled table. */
html.theme-light main.site-main .svc-tabs[data-interactive-surface]:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  padding: 0.25rem;
  border: 0;
  border-radius: 999px;
}
/* The slides already inset their screenshots and captions. */
html.theme-light main.site-main .ref-slider[data-interactive-surface]:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  padding: 0 0 2rem;
}
/* The toolbar and the scrollable code sample already supply their own inset. */
html.theme-light main.site-main .code-block[data-interactive-surface]:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  padding: 0;
  overflow: hidden;
}
main.site-main [data-interactive-surface='video'] > iframe:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  width: min(100%, 500px);
  height: auto;
  aspect-ratio: 16 / 9;
}
html.theme-light main.site-main .svc-tabs[data-interactive-surface] .svc-tab.is-active:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
html.theme-light body.page-service main .seot-form[data-interactive-surface] .seot-form-button:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  color: #fff;
}
html.theme-light main.site-main .seot-form[data-interactive-surface] .seot-form-input:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  color-scheme: light;
}
html.theme-light body.page-service main .seot-form[data-interactive-surface] .seot-form-error:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  color: #a52b20;
}

html.theme-light main.site-main .site-search[data-interactive-surface] .site-search-field input:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::placeholder {
  color: var(--gh-muted);
}
html.theme-light main.site-main .site-search[data-interactive-surface] .site-search-submit:hover:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  background: var(--gh-green-hover);
  color: #fff;
}
html.theme-light body.page-service main.site-main .agent-form[data-interactive-surface] :is(.agent-form-error, .agent-form-summary):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  color: #a52b20;
}
html.theme-light body.page-service main.site-main .agent-form[data-interactive-surface] .btn-primary:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  background: var(--gh-green);
  color: #fff;
}
html.theme-light body.page-service main.site-main .agent-form[data-interactive-surface] .btn-primary:hover:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  background: var(--gh-green-hover);
}
/* A quote form already sits inside a padded price tile on a white band. */
html.theme-light main [data-band='white'] :is(.est-form, .contact-band-cell):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  --interactive-inset: 0px;
}

/* FAQ rows remain the geometry for the full-width rules. Colour the rows
   themselves and inset their content without moving the divider endpoints. */
html.theme-light main.site-main :is(.section-faq-list, .faq-panel, .ukk-list, .wp-toc):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  --interactive-inset: 0px;
}
html.theme-light body.page-service main.site-main :is(.section-faq-item, .faq-panel > details, .ukk-list > details):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  --tile: #f7f7f5;
  background-color: var(--tile);
}
html.theme-light body.page-service main.site-main [data-band='navy'] :is(.section-faq-item, .faq-panel > details, .ukk-list > details):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  border-radius: 0;
}
html.theme-light body.page-service main.site-main [data-band='navy'] :is(.section-faq-item, .faq-panel > details) > summary:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
html.theme-light body.page-service main.site-main [data-band='navy'] :is(.section-faq-answer, .faq-panel > details > :not(summary)):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  padding-inline: clamp(1rem, 2.5vw, 1.5rem);
}
html.theme-light main.site-main .faq-panel > details > summary:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::after {
  right: 1rem;
}

html.theme-light main.site-main .wp-toc summary:hover:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  color: var(--gh-link);
}
/* The phone list opens above its fixed bar; both faces need the same
   surface, while the scrim still dims article content behind the list. */
html.theme-light main.site-main .wp-toc .wp-toc-dock.wp-toc-dock:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  border-radius: 0;
  /* Navy like the tokens in theme-light.css: on #f7f7f5 the white current heading had
     contrast 1.07 (SEO analysis 26.11.2026). */
  --gh-header: #000024;
  --gh-text: #ffffff;
  --gh-subtle: #d6daee;
  --gh-muted: #b4b9d6;
  --gh-border: rgba(255, 255, 255, 0.14);
  --gh-link: #4cc8bf;
  --gh-accent: #4cc8bf;
}

/* The seasonal guide has a filter, programme builder, quiz and checklist.
   Their local buttons also need a matching interaction palette. */
html.theme-light main.site-main .pj-app button.btn:not(.btn-primary):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  color: var(--gh-text);
  border-color: var(--gh-border);
  background: #fff;
}
html.theme-light main.site-main .pj-app button.btn-primary:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  color: #fff;
  background: var(--gh-green);
}
html.theme-light main.site-main .pj-app button.btn-primary:hover:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
  background: var(--gh-green-hover);
}
