/*
 * Tanco source-DOM compatibility reset.
 *
 * Elementor Containers are editor-friendly, but .e-con adds layout defaults that
 * did not exist on the original HTML elements. These rules restore browser-like
 * defaults. The source-priority stylesheet is loaded after this reset and has
 * deliberately stronger specificity, so every original source declaration wins.
 */
.tanco-source-parity .tanco-src-container{
  --display:block;
  --width:auto;
  --min-height:auto;
  --height:auto;
  --content-width:100%;
  --padding-top:0px;--padding-right:0px;--padding-bottom:0px;--padding-left:0px;
  --margin-top:0px;--margin-right:0px;--margin-bottom:0px;--margin-left:0px;
  --gap:normal;--row-gap:normal;--column-gap:normal;--widgets-spacing:0px;
  --flex-direction:row;--flex-basis:auto;--flex-grow:0;--flex-shrink:1;--flex-wrap:nowrap;
  --justify-content:initial;--align-items:initial;--align-content:normal;--align-self:auto;--order:0;
  --position:static;--z-index:auto;--overflow:visible;
  --container-widget-width:auto;--container-widget-height:auto;--container-widget-flex-grow:0;
  display:block;
  width:auto;
  max-width:none;
  min-width:auto;
  height:auto;
  min-height:auto;
  position:static;
  overflow:visible;
  margin:0;
  padding:0;
  flex:0 1 auto;
  align-self:auto;
  order:0;
}
.tanco-source-parity a.tanco-src-container{--display:inline;display:inline}
/* Elementor sizes every flex/grid child as an Elementor element. Revert that sizing
   for source containers; source-priority CSS will then apply exact source widths. */
.tanco-source-parity .e-con.e-flex > .tanco-src-container,
.tanco-source-parity .e-con.e-grid > .tanco-src-container{
  width:auto;
  max-width:none;
  min-width:auto;
  flex:0 1 auto;
}
/* Custom widget wrappers are transparent to layout. */
.tanco-source-parity .elementor-widget-tanco-node,
.tanco-source-parity .elementor-widget-tanco-image,
.tanco-source-parity .elementor-widget-tanco-markup,
.tanco-source-parity .elementor-widget-tanco-list,
.tanco-source-parity .elementor-widget-tanco-details,
.tanco-source-parity .elementor-widget-tanco-cf7,
.tanco-source-parity .elementor-widget-tanco-header,
.tanco-source-parity .elementor-widget-tanco-footer,
.tanco-source-parity .elementor-widget-tanco-ai-assistant{
  display:contents !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}
.tanco-source-parity .elementor-element:where(.elementor-widget-tanco-node,.elementor-widget-tanco-image,.elementor-widget-tanco-markup,.elementor-widget-tanco-list,.elementor-widget-tanco-details,.elementor-widget-tanco-cf7){--kit-widget-spacing:0px}
.tanco-source-parity .elementor-widget-tanco-node>.elementor-widget-container,
.tanco-source-parity .elementor-widget-tanco-image>.elementor-widget-container,
.tanco-source-parity .elementor-widget-tanco-markup>.elementor-widget-container,
.tanco-source-parity .elementor-widget-tanco-list>.elementor-widget-container,
.tanco-source-parity .elementor-widget-tanco-details>.elementor-widget-container,
.tanco-source-parity .elementor-widget-tanco-cf7>.elementor-widget-container,
.tanco-source-parity .elementor-widget-tanco-header>.elementor-widget-container,
.tanco-source-parity .elementor-widget-tanco-footer>.elementor-widget-container,
.tanco-source-parity .elementor-widget-tanco-ai-assistant>.elementor-widget-container{
  display:contents!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important
}
/* Contact Form 7 wrappers must not change source geometry. */
.tanco-source-parity .wpcf7,
.tanco-source-parity .wpcf7-form-control-wrap{display:contents}
/* CF7 adds accessibility/status nodes that were not present in the source DOM.
   Keep them out of layout while retaining them for assistive technology. */
.tanco-source-parity .wpcf7 .screen-reader-response{
  position:absolute!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important;
  clip-path:inset(50%)!important;width:1px!important;height:1px!important;margin:-1px!important;
  padding:0!important;border:0!important;white-space:nowrap!important
}
.tanco-source-parity .wpcf7 .wpcf7-response-output:empty{display:none!important}
/* CF7's default textarea shortcode renders 10 rows; the source contact textarea
   opens at the source-defined 130px while remaining vertically resizable. */
.tanco-source-parity .form-card textarea.wpcf7-form-control{height:130px}

/* Elementor editor safety: preserve source geometry but suppress public fixed/interactive chrome. */
body.tanco-elementor-editing .chat-fab,
body.tanco-elementor-editing .chat-panel,
body.tanco-elementor-editing .cookie-banner,
body.tanco-elementor-editing .to-top,
body.tanco-elementor-editing .read-bar{display:none!important}
body.tanco-elementor-editing .reveal{opacity:1!important;transform:none!important;transition:none!important}
body.tanco-elementor-editing .hero-slide,
body.tanco-elementor-editing .ho-ring,
body.tanco-elementor-editing .ho-core,
body.tanco-elementor-editing .ho-node,
body.tanco-elementor-editing .ho-card,
body.tanco-elementor-editing .ho-chip{animation-play-state:paused!important}
