/* Tuotu Astro-projektista: src/styles/mobile/spacing-system.css (bin/sync-astro.py). */
/* Mobile layout for the site's reusable page templates. The layer's important
   declarations override older component-level important rules without changing
   desktop layouts. Gutters belong to outer wrappers, never every nested .wrap. */
@layer mobile-spacing-system {
  @media (min-width: 641px) and (max-width: 960px) {
    html body.page-service main .split-hero.split-hero--rails > .split-hero-rails-inner:not(.wrap .wrap):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      width: calc(100% - 3rem) !important;
      margin-inline: auto !important;
      padding-inline: 0 !important;
    }
    html body.page-service main .split-hero.split-hero--rails .split-hero-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 4rem 0 !important;
    }
    html body.page-service main .split-hero.split-hero--rails:has(.split-hero-card) .split-hero-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-bottom: 2rem !important;
    }
    html body.page-service main .split-hero.split-hero--rails:not(.service-hero) .split-hero-card:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 0 0 4rem !important;
    }
    /* The two-part homepage opener keeps its portrait above its text. */
    html body.page-service main .split-hero.wp-opener:not(.guide-hero) .split-hero-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-bottom: 0 !important;
    }
    html body.page-service main .split-hero.wp-opener:not(.guide-hero) .split-hero-card:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-top: 1.5rem !important;
    }
  }

  @media (max-width: 640px) {
    /* Page edges. These are inspected template wrappers, not arbitrary widgets.
       Nested wrappers already get their width from their containing template. */
    html body.page-service main :is(
      .split-hero--rails, .feature-row--rails, .feature-trio--rails,
      .landing-section--rails, .rails-intro, .rails-cols-band,
      .contact-band, .contact-band-grid, .icon-cards--rails,
      .faq-accordion--rails, .logo-wall--rails, .case-figures, .wp-toc,
      .est, .est-intro, .svc, .svc-intro, .svc-tabbar, .ukk-band
    ) > .wrap:not(.wrap .wrap):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    html body.page-service main .service-section > .service-section-inner:not(.wrap .service-section-inner):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      width: calc(100% - 3rem) !important;
      max-width: none !important;
      margin-inline: auto !important;
      padding-inline: 0 !important;
    }

    /* Complete sections own the outer 48px. Navy sections keep that padding on
       their inner grid so existing edge-to-edge rules retain their endpoints. */
    html body.page-service main .service-section:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      --section-space: 3rem !important;
      --section-copy-gap: 0.75rem !important;
      --section-paragraph-gap: 0.75rem !important;
      padding-block: 3rem !important;
    }
    html body.page-service main .service-section-inner:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    html body.page-service main .section-grid:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      gap: 2rem !important;
    }
    html body.page-service main [data-band]:not(:where(.theme-light [data-band='white'])) .service-section:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-block: 0 !important; }
    html body.page-service main [data-band]:not(:where(.theme-light [data-band='white'])) .service-section-inner:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-block: 3rem !important; }
    html body.page-service main [data-band]:not(:where(.theme-light [data-band='white'])) .section-process-section .service-section-inner:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-bottom: 0 !important; }
    html body.page-service main [data-band]:not(:where(.theme-light [data-band='white'])) .service-section-media:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
      left: calc(50% - 50vw) !important;
      right: auto !important;
      top: -1rem !important;
      width: 100vw !important;
    }
    html body.page-service main [data-band]:not(:where(.theme-light [data-band='white'])) .section-benefits > li + li:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *))::before {
      left: calc(50% - 50vw) !important;
      right: auto !important;
      width: 100vw !important;
    }

    /* Legacy chapters split their introduction from the body. Keep that split
       and its rules while giving its two parts the same 48/32 rhythm. */
    html body.page-service main :is(.rails-intro, .contact-band) > .wrap > .section-intro:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 3rem 0 2rem !important;
    }
    html body.page-service main :is(.est-intro, .svc-intro):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding: 3rem 0 2rem !important; }
    html body.page-service main .svc-tabbar:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-top: 0 !important; }
    html body.page-service main :is(.ukk-band-main, .ukk-find-text):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding: 3rem 0 2rem !important; }
    html body.page-service.is-legacy-framework main :is(.ukk-band-main, .ukk-find-text):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding: 0 !important; }
    html body.page-service main :is(.landing-section--rails, .faq-accordion--rails):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-block: 3rem !important;
    }
    html body.page-service main .landing-section--rails > .wrap > .section-intro:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding: 0 !important; }
    html body.page-service main .feature-row--rails > .wrap > .feature-row-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 3rem 0 2rem !important;
    }
    html body.page-service main .feature-row--rails.is-text-only > .wrap > .feature-row-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-bottom: 3rem !important; }
    html body.page-service main .svc-side > .wrap > .feature-row-media:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 2rem 0 3rem !important;
    }
    /* DemoSide owns padding on its outer row, not both of its cells. */
    html body.page-service main .demo-side > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-block: 3rem !important; gap: 2rem !important; }
    html body.page-service main .demo-side > .wrap > :is(.feature-row-copy, .feature-row-media):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding: 0 !important; }
    /* Adapted rows also own their spacing on the grid. Old cell padding must
       not double the section spacing or the 32px copy-to-media transition. */
    html body.page-service.is-legacy-framework main .feature-row--rails > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-block: 3rem !important;
      gap: 2rem !important;
    }
    html body.page-service.is-legacy-framework main .feature-row--rails > .wrap > :is(.feature-row-copy, .feature-row-media):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 0 !important;
    }
    html body.page-service.is-legacy-framework main .rails-intro + .feature-row--rails > .wrap:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-top: 0 !important;
    }
    html.theme-light body.page-service main [data-band='white'] .demo-side > .wrap > .feature-row-media.is-piece:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    html.theme-light body.page-service.is-legacy-framework main [data-band='white'] > .wrap > .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 *)),
    html.theme-light body.page-service main [data-band='white'] > .wrap > .feature-row-media.is-demo:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    html.theme-light body.page-service main [data-band='white'] .svc-side > .wrap > .feature-row-media.is-demo:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding: 1.25rem !important; }
    html body.page-service main :is(.rails-cols > .rails-cell, .contact-band-cell, .feature-trio-cell):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-block: 2rem !important;
      padding-inline: 0 !important;
    }

    /* A solo guide hero gets one complete section's padding. Paired service
       heroes retain their offer rails and a 32px transition after the copy. */
    html body.page-service main .guide-hero.split-hero .split-hero-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 0.75rem !important;
    }
    html body.page-service main .guide-hero .split-hero-copy > .wp-opener-portrait:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      align-self: flex-start !important;
      margin: 0 !important;
    }
    html body.page-service main .guide-hero .wp-opener-portrait img:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      width: 4rem !important;
      height: 4rem !important;
    }
    html body.page-service main .guide-hero .split-hero-copy > :is(h1, .guide-hero-text, .guide-hero-above):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      width: 100% !important;
      margin: 0 !important;
      align-self: stretch !important;
    }
    html body.page-service main .split-hero.split-hero--rails .split-hero-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 3rem 0 !important;
    }
    html body.page-service main .split-hero.split-hero--rails:has(.split-hero-card) .split-hero-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-bottom: 2rem !important;
    }
    html body.page-service main .split-hero.split-hero--rails:not(.service-hero) .split-hero-card:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 0 0 3rem !important;
    }
    html body.page-service main .split-hero.wp-opener:not(.guide-hero) .split-hero-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 2rem 0 0 !important;
    }
    html body.page-service main .split-hero.wp-opener:not(.guide-hero) .split-hero-card:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 0.75rem 0 3rem !important;
    }
    html body.page-service main .split-hero.wp-opener:not(.guide-hero) .wp-opener-portrait img:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      margin-bottom: 0.75rem !important;
    }

    /* Content hierarchy. Do not style the paragraphs/controls inside the demo
       panels: only the page's explicit copy wrappers participate. */
    html body.page-service main :is(
      .service-section-copy, .service-section-intro, .section-intro--rails,
      .guide-hero-text, .split-hero.wp-hero .split-hero-copy
    ):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      gap: 0.75rem !important;
    }
    html body.page-service main :is(.section-intro--rails, .guide-hero-text):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      display: flex !important;
      flex-direction: column !important;
    }
    html body.page-service main :is(
      .service-section-copy, .service-section-intro, .section-intro--rails,
      .guide-hero-text, .split-hero.wp-hero .split-hero-copy, .feature-row-copy
    ) > :is(h1, h2, h3, p, .lede, .wp-prose, .service-hero-text, .service-section-prose, .section-intro, .feature-row-extra, .wp-hero-list, .pricing-hero-fine):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      margin-block: 0 !important;
    }
    /* Some legacy copy columns are block elements. Margins provide their same
       12px rhythm without relying on gap or changing their layout mode. */
    html body.page-service main .feature-row-copy:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { row-gap: 0 !important; }
    html body.page-service main .feature-row-copy > :is(h1, h2, h3, p, .wp-prose, .feature-row-extra, .section-intro, .feature-row-link)
      + :is(h1, h2, h3, p, .wp-prose, .feature-row-extra, .section-intro, .feature-row-link):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      margin-top: 0.75rem !important;
    }
    html body.page-service main .guide-hero .guide-hero-text:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-top: 0.75rem !important; }
    html body.page-service main :is(
      .service-section-prose, .service-hero-text, .rails-intro-text,
      .feature-row-extra, .wp-section-body, .pricing-hero .wp-prose, .guide-hero-text .wp-prose
    ) > :where(p, ul, ol):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-block: 0 !important; }
    html body.page-service main :is(
      .service-section-prose, .service-hero-text, .rails-intro-text,
      .feature-row-extra, .wp-section-body, .pricing-hero .wp-prose, .guide-hero-text .wp-prose
    ) > * + *:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-top: 0.75rem !important; }
    html body.page-service main :is(
      .wp-section-body, .wp-section-cta, .feature-row-link,
      .contact-band-action, .service-hero-fine, .service-hero-note
    ):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-top: 0.75rem !important; }
    html body.page-service main .contact-band-action:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-top: 0 !important; }
    html body.page-service main .demo-side-text > * + *:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-top: 0.75rem !important; }
    html body.page-service main :is(.ukk-intro, .ukk-find-text) > :where(h2, p, ul):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-block: 0 !important; }
    html body.page-service main :is(.ukk-intro, .ukk-find-text) > * + *:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-top: 0.75rem !important; }

    /* Surface cards share a 20px inset. Ruled navy cells above retain their
       uninterrupted separators; white tiles get their own interior padding. */
    html body.page-service main :is(.icon-cards--rails .icon-card, .home-link-card):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    html.theme-light body.page-service 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 *)) {
      padding: 1.25rem !important;
    }
    html.theme-light body.page-service main [data-band='white'] :is(.rails-cell, .contact-band-cell, .feature-trio-cell):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    html.theme-light body.page-service main [data-band='white'] .section-benefits > li:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding: 1.25rem !important;
    }
    html body.page-service main .icon-card > .wp-card-image:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-bottom: 0.75rem !important; }
    html body.page-service main .icon-card > :is(.wp-card-title, .wp-card-text):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-block: 0 !important; }
    html body.page-service main .icon-card > .wp-card-text:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-top: 0.75rem !important; }
    /* Full-height hero offers already sit inside the page gutter. */
    html body.page-service main .service-offer:not(.is-legacy-framework .service-hero *) :is(.service-offer-strip, .service-offer-body, .service-offer-link, .service-offer-custom):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      padding-inline: 1.25rem !important;
    }
    html body.page-service main .service-offer .service-offer-body:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-block: 1.25rem !important; }
    html body.page-service main .service-offer :is(.service-offer-pitch, .service-offer-unit):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-top: 0.75rem !important; }
    html body.page-service main .service-offer-list:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      display: grid !important;
      gap: 0.75rem !important;
      margin-top: 1rem !important;
      padding-top: 1rem !important;
    }
    html body.page-service main .service-offer-list > li:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-block: 0 !important; }

    /* Public calls to action, not the simulated controls inside examples. */
    html body.page-service main .btn:not([hidden]):not(:where(
      .gd *, .opt *, .ai-demo *, .aic *, .quiz *, .est *, .est-ui *,
      .calculator *, .demo *, .module-demo *, .site-search *, .wp-toc *,
      .sw-panel *, .sw-switch *, .svc-tabs *, .kncc-demo *
    )):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    html body.page-service main .est-cta > .btn:not([hidden]):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    html body.page-service main .est-form :is(.agent-form, .wp-form) > .btn:not([hidden]):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      min-height: 48px !important;
      max-width: 100% !important;
      padding: 0.75rem 1rem !important;
      font-family: 'Mona Sans', sans-serif !important;
      font-size: 15px !important;
      font-weight: 600 !important;
      line-height: 1.4 !important;
      white-space: normal !important;
    }
    html body.page-service main :is(.section-actions, .split-hero-actions, .offer-actions, .contact-band-action):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      gap: 0.75rem !important;
    }
    html body.page-service main :is(.section-actions, .split-hero-actions):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      flex-direction: column !important;
      align-items: stretch !important;
    }
    html body.page-service main :is(.section-actions, .split-hero-actions) > .btn:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)),
    html body.page-service main :is(.offer-actions, .contact-band-action, .agent-form, .wp-form, .est-cta) > .btn:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      width: 100% !important;
    }
    html body.page-service main .split-hero-actions:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-top: 0.75rem !important; }
    html body.page-service main .split-hero.wp-hero .split-hero-copy > :is(.split-hero-actions, .service-hero-fine, .service-hero-note, .pricing-hero-fine):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      margin-block: 0 !important;
    }

    /* PriceEstimator now contains the real monthly offer and quote form.
       Only these named commerce roles join the system; demo controls stay out. */
    html body.page-service main .est-ui :is(.est-options, .est-foot, .est-form):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { gap: 1rem !important; }
    html body.page-service main .est-ui .est-cta:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { gap: 0.75rem !important; justify-items: stretch !important; }
    html body.page-service main .est-ui :is(.est-pitch, .est-unit, .est-extra):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { margin-top: 0.75rem !important; }
    html body.page-service main .est-ui .est-includes:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { gap: 0.75rem !important; }
    html body.page-service main .est-ui .est-foot:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-bottom: 2rem !important; }
    html body.page-service main .est-ui .est-cases:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-block: 3rem !important; }

    /* Form controls intentionally stay 16px; these are the real contact forms. */
    html body.page-service main :is(.agent-form, .agent-form-fields, .wp-form):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { gap: 1rem !important; }
    html body.page-service main :is(.agent-form-field, .wp-form-field):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { gap: 0.5rem !important; }
    html body.page-service main .wp-form-field :is(label, legend, fieldset):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { gap: 0.5rem !important; }
    html body.page-service main .agent-form-field > label:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { font-size: 15px !important; line-height: 1.4 !important; }
    html body.page-service main .agent-form-field .agent-form-req:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { font-size: 14px !important; }
    html body.page-service main :is(.agent-form, .wp-form) :is(
      input[type='text'], input[type='email'], input[type='tel'], input[type='url'], select, textarea
    ):where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) {
      min-height: 48px !important;
      min-width: 0 !important;
      max-width: 100% !important;
      padding: 0.75rem !important;
      font-family: 'Source Sans 3 Variable', 'Source Sans 3', sans-serif !important;
      font-size: 16px !important;
      line-height: 1.5 !important;
    }

    /* 12px on each logo's sides gives a 24px inter-logo gap. Keeping track gap
       at zero preserves the exact -50% seam between the duplicated loop units. */
    html body.page-service main .logo-wall-track:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { gap: 0 !important; }
    html body.page-service main .logo-wall-track > li:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { padding-inline: 0.75rem !important; }
    html body.page-service main .logo-wall-row:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { gap: 0.75rem !important; }
    html body.page-service main .logo-wall-list:where(:not(.tk-sec, .tk-sec *, .tk-results, .tk-results *, .tk-fp-hero, .tk-fp-hero *)) { gap: 1.5rem !important; }
  }
}
