/* Fiale AI Agents v2.7.6 — isolated protection from WordPress theme/global
 * heading and button styles. Applies ONLY to the plugin-owned AI Agents page.
 * Does not modify the homepage, navigation templates or Elementor pages.
 */
body.fiale-ai-v270-standalone .hero h1,
body.fiale-ai-v270-standalone .hero h1 .headline-desktop,
body.fiale-ai-v270-standalone .hero h1 .headline-mobile,
body.fiale-ai-v270-standalone .use-detail h3,
body.fiale-ai-v270-standalone .cta h2,
body.fiale-ai-v270-standalone .journey-agent h3,
body.fiale-ai-v270-standalone .vcf-agent h3 {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-shadow:none !important;
}
body.fiale-ai-v270-standalone .hero h1 .serif,
body.fiale-ai-v270-standalone .hero h1 .accent,
body.fiale-ai-v270-standalone .cta h2 .serif,
body.fiale-ai-v270-standalone .cta h2 .accent,
body.fiale-ai-v270-standalone .use-detail h3 .serif {
  color:#ffb73f !important;
  -webkit-text-fill-color:#ffb73f !important;
}
/* On pale panels, headings must remain navy even if a parent has white text. */
body.fiale-ai-v270-standalone .section-title,
body.fiale-ai-v270-standalone .journey-sources h3,
body.fiale-ai-v270-standalone .journey-routes h3,
body.fiale-ai-v270-standalone .fae-voice-service h3,
body.fiale-ai-v270-standalone .vcf-header h3,
body.fiale-ai-v270-standalone .fae-call-left h3 {
  color:#1b2042 !important;
  -webkit-text-fill-color:#1b2042 !important;
}
/* Dark workflow heading inside the otherwise light page. */
body.fiale-ai-v270-standalone .journey-agent .journey-agent-head h3 {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
body.fiale-ai-v270-standalone .hero-intro,
body.fiale-ai-v270-standalone .hero-note,
body.fiale-ai-v270-standalone .cta p,
body.fiale-ai-v270-standalone .use-detail .use-detail-footer,
body.fiale-ai-v270-standalone .journey-agent .question-stack p {
  text-shadow:none !important;
}
/* Prevent the miniature agent label and name from running into each other. */
body.fiale-ai-v270-standalone .agent-pane .tiny-label {
  display:block !important;
  line-height:1.35 !important;
}
body.fiale-ai-v270-standalone .agent-pane strong {
  display:block !important;
  margin-top:3px !important;
  line-height:1.3 !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

/* Force the intended site buttons, not the global WordPress/Elementor pills. */
body.fiale-ai-v270-standalone a.button,
body.fiale-ai-v270-standalone .hero-actions a.button,
body.fiale-ai-v270-standalone .cta a.button {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#ffa000 !important;
  color:#17203b !important;
  -webkit-text-fill-color:#17203b !important;
  border:1px solid transparent !important;
  border-radius:9px !important;
  box-shadow:none !important;
  text-decoration:none !important;
  text-transform:none !important;
  font-weight:600 !important;
  line-height:1.4 !important;
}
body.fiale-ai-v270-standalone .hero-actions a.button:first-child {
  box-shadow:0 10px 26px rgba(255,160,0,.20) !important;
}
body.fiale-ai-v270-standalone .hero-actions a.button.light-button {
  background:transparent !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  border-color:rgba(226,231,246,.52) !important;
  box-shadow:none !important;
}
body.fiale-ai-v270-standalone .hero-actions a.button.light-button:hover {
  background:rgba(255,255,255,.09) !important;
  border-color:#ffffff !important;
}
body.fiale-ai-v270-standalone .site-header a.header-cta {
  background:#1b2042 !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  border-radius:22px !important;
  text-decoration:none !important;
}
/* Theme button rules otherwise turn the answer choices into dark pills. */
body.fiale-ai-v270-standalone .demo-answer-grid button.demo-answer {
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  width:auto !important;
  min-width:0 !important;
  min-height:39px !important;
  padding:9px 10px !important;
  text-align:left !important;
  background:#ffffff !important;
  color:#253456 !important;
  -webkit-text-fill-color:#253456 !important;
  border:1px solid #dce2ed !important;
  border-radius:8px !important;
  box-shadow:none !important;
  font-weight:480 !important;
  text-transform:none !important;
  text-decoration:none !important;
  letter-spacing:normal !important;
  line-height:1.4 !important;
}
body.fiale-ai-v270-standalone .demo-answer-grid button.demo-answer:hover {
  background:#fffcf5 !important;
  border-color:#f4b949 !important;
}
body.fiale-ai-v270-standalone .demo-answer-grid button.demo-answer span:last-child {
  font-family:Arial,sans-serif !important;
  color:#bb7b12 !important;
  -webkit-text-fill-color:#bb7b12 !important;
}
body.fiale-ai-v270-standalone .scenario-tabs button {
  display:inline-flex !important;
  align-items:center !important;
  padding:6px 9px !important;
  border:1px solid #e0e5ee !important;
  border-radius:7px !important;
  background:#ffffff !important;
  color:#64708b !important;
  -webkit-text-fill-color:#64708b !important;
  font-size:10px !important;
  font-weight:550 !important;
  text-decoration:none !important;
  text-transform:none !important;
  box-shadow:none !important;
}
body.fiale-ai-v270-standalone .scenario-tabs button[aria-selected="true"] {
  background:#fff1d8 !important;
  color:#845500 !important;
  -webkit-text-fill-color:#845500 !important;
  border-color:#f6c871 !important;
}
body.fiale-ai-v270-standalone button.demo-reset {
  background:transparent !important;
  color:#8a620e !important;
  -webkit-text-fill-color:#8a620e !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  width:auto !important;
  min-height:0 !important;
  font-size:11px !important;
  font-weight:500 !important;
  text-decoration:underline !important;
  text-transform:none !important;
}
body.fiale-ai-v270-standalone button.demo-play {
  border:0 !important;
  border-radius:8px !important;
  background:#202e56 !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  padding:9px 12px !important;
  box-shadow:none !important;
}
body.fiale-ai-v270-standalone button.use-item {
  display:flex !important;
  background:#ffffff !important;
  color:#1b2042 !important;
  -webkit-text-fill-color:#1b2042 !important;
  border:1px solid #e3e7f0 !important;
  border-radius:15px !important;
  box-shadow:none !important;
  text-align:left !important;
  text-decoration:none !important;
  text-transform:none !important;
  white-space:normal !important;
}
body.fiale-ai-v270-standalone button.use-item.active {
  background:#fff9eb !important;
  border-color:#f1c979 !important;
}
body.fiale-ai-v270-standalone .fae-call-scenarios button.fae-call-choice {
  display:block !important;
  width:100% !important;
  background:rgba(255,255,255,.07) !important;
  color:#e8edf8 !important;
  -webkit-text-fill-color:#e8edf8 !important;
  border:1px solid rgba(255,255,255,.22) !important;
  border-radius:12px !important;
  padding:12px 15px !important;
  font-weight:540 !important;
  font-size:13px !important;
  text-align:left !important;
  text-decoration:none !important;
  text-transform:none !important;
  box-shadow:none !important;
}
body.fiale-ai-v270-standalone .fae-call-scenarios button.fae-call-choice:hover,
body.fiale-ai-v270-standalone .fae-call-scenarios button.fae-call-choice.is-active {
  background:#ffb53a !important;
  color:#1b2042 !important;
  -webkit-text-fill-color:#1b2042 !important;
  border-color:#ffb53a !important;
}
body.fiale-ai-v270-standalone button.mobile-menu-button {
  background:#ffffff !important;
  color:#1b2042 !important;
  -webkit-text-fill-color:#1b2042 !important;
  border:1px solid #e3e7ef !important;
  border-radius:9px !important;
  box-shadow:none !important;
}
/* Preserve mobile card/button layout and spacing from the approved v2.7.4. */
@media (max-width:600px) {
  body.fiale-ai-v270-standalone .hero-actions a.button {width:100% !important;min-height:44px !important;}
  body.fiale-ai-v270-standalone .demo-answer-grid button.demo-answer {padding:9px 8px !important;min-height:40px !important;}
  body.fiale-ai-v270-standalone .cta a.button {width:100% !important;}
}


/* Fiale Unified Header v1 — matches public homepage navigation across custom pages.
   Deliberately scoped to .fiale-master-header; leaves all section/hero styles unchanged. */
.fiale-master-header{
  position:relative!important;top:auto!important;z-index:91!important;
  height:78px!important;min-height:78px!important;background:#fff!important;
  border-bottom:1px solid #eaecf1!important;box-shadow:none!important;
  backdrop-filter:none!important;
}
.fiale-master-header .fiale-master-inner{
  width:calc(100% - 44px)!important;max-width:1120px!important;
  height:78px!important;min-height:78px!important;margin:0 auto!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:18px!important;position:relative!important;flex-wrap:nowrap!important;
}
.fiale-master-header .fiale-master-logo{display:flex!important;align-items:center!important;flex:0 0 70px!important;min-width:70px!important;width:70px!important;margin:0!important;padding:0!important}
.fiale-master-header .fiale-master-logo img{display:block!important;width:67px!important;height:63px!important;max-width:67px!important;max-height:63px!important;object-fit:contain!important}
.fiale-master-header .fiale-master-nav{
  position:static!important;display:flex!important;align-items:center!important;
  justify-content:center!important;flex-direction:row!important;gap:22px!important;
  align-self:center!important;flex:0 1 auto!important;min-width:0!important;
  margin:0 auto!important;padding:0!important;background:transparent!important;
  border:0!important;box-shadow:none!important;white-space:nowrap!important;
}
.fiale-master-header .fiale-master-nav .fae-wp-menu{display:flex!important;align-items:center!important;gap:22px!important;margin:0!important;padding:0!important;list-style:none!important}
.fiale-master-header .fiale-master-nav .fae-wp-menu li{margin:0!important;list-style:none!important}
.fiale-master-header .fiale-master-nav a,
.fiale-master-header .fiale-master-nav .fae-wp-menu>li>a{
  display:inline-flex!important;align-items:center!important;text-decoration:none!important;
  font:600 11px/1.25 Inter,'Segoe UI',Arial,sans-serif!important;
  color:#17213b!important;padding:6px 0!important;margin:0!important;
  border:0!important;background:transparent!important;white-space:nowrap!important;
}
.fiale-master-header .fiale-master-nav a:hover,
.fiale-master-header .fiale-master-nav a[aria-current="page"],
.fiale-master-header .fiale-master-nav .fae-wp-menu>li>a:hover,
.fiale-master-header .fiale-master-nav .fae-wp-menu>li>a[aria-current="page"]{color:#c47a00!important}
.fiale-master-header .fiale-master-nav a::after{display:none!important}
.fiale-master-header .fiale-master-cta{
  flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;gap:0!important;min-height:40px!important;
  margin:0!important;padding:11px 19px!important;border:0!important;
  border-radius:999px!important;background:#1B2042!important;color:#fff!important;
  box-shadow:none!important;text-decoration:none!important;white-space:nowrap!important;
  font:700 11px/1.15 Inter,'Segoe UI',Arial,sans-serif!important;
}
.site-header.fiale-master-header .header-actions .btn.fiale-master-cta,
body.fiale-services-atlas .site-header.fiale-master-header .header-actions .btn.fiale-master-cta,
.fiale-services-atlas .site-header.fiale-master-header .header-actions .btn.fiale-master-cta{
  background:#1B2042!important;color:#fff!important;border:0!important;
  border-radius:999px!important;font:700 11px/1.15 Inter,'Segoe UI',Arial,sans-serif!important;
  padding:11px 19px!important;min-height:40px!important;
}
.fiale-master-header .fiale-master-cta:hover{background:#2b345d!important;color:#fff!important}
.fiale-master-header .fiale-master-cta svg{display:none!important}
.fiale-master-header .fiale-master-toggle{display:none!important;flex:0 0 42px!important;width:42px!important;height:42px!important;
  border:1px solid #dce3ee!important;border-radius:11px!important;
  background:#fff!important;color:#1B2042!important;padding:0!important;
  align-items:center!important;justify-content:center!important;
  box-shadow:none!important;margin:0!important;
}
.fiale-master-header .fiale-menu-lines{background:transparent!important;border:0!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;gap:4px!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important}
.fiale-master-header .fiale-menu-lines i{display:block!important;width:19px!important;height:2px!important;border-radius:3px!important;background:#1B2042!important;visibility:visible!important;opacity:1!important;box-shadow:none!important;margin:0!important}
@media(max-width:1030px){
 .fiale-master-header .fiale-master-nav{gap:13px!important}
 .fiale-master-header .fiale-master-nav .fae-wp-menu{gap:13px!important}
 .fiale-master-header .fiale-master-inner{gap:10px!important}
}
@media(max-width:940px){
 .fiale-master-header{height:70px!important;min-height:70px!important}
 .fiale-master-header .fiale-master-inner{
   width:calc(100% - 30px)!important;height:70px!important;min-height:70px!important;gap:10px!important
 }
 .fiale-master-header .fiale-master-logo{flex-basis:60px!important;min-width:60px!important;width:60px!important}
 .fiale-master-header .fiale-master-logo img{width:58px!important;height:56px!important;max-width:58px!important;max-height:56px!important}
 .fiale-master-header .fiale-master-cta{min-height:39px!important;padding:11px 13px!important;font-size:10px!important;margin-left:auto!important}
 .site-header.fiale-master-header .header-actions .btn.fiale-master-cta{min-height:39px!important;padding:11px 13px!important;font-size:10px!important}
 .fiale-master-header .fiale-master-toggle{display:inline-flex!important;position:relative!important;z-index:902!important}
 .fiale-master-header .fiale-master-nav{display:none!important;position:absolute!important;top:100%!important;
   left:0!important;right:0!important;z-index:901!important;align-self:auto!important;
   width:auto!important;max-width:none!important;max-height:calc(100dvh - 100px)!important;
   overflow-y:auto!important;flex-direction:column!important;align-items:stretch!important;
   gap:0!important;padding:9px 19px 15px!important;margin:0!important;
   background:#fff!important;border:1px solid #e5e9f1!important;
   border-top:0!important;box-shadow:0 17px 28px rgba(22,30,62,.15)!important;
   white-space:normal!important
 }
 .fiale-master-header .fiale-master-nav.open,
 .fiale-master-header .fiale-master-nav.fae-open{display:flex!important}
 .fiale-master-header .fiale-master-nav .fae-wp-menu{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important}
 .fiale-master-header .fiale-master-nav a,
 .fiale-master-header .fiale-master-nav .fae-wp-menu>li>a{display:block!important;font-size:13px!important;white-space:normal!important;padding:13px 6px!important;border-bottom:1px solid #eef0f4!important}
}
@media(max-width:370px){
 .fiale-master-header .fiale-master-inner{width:calc(100% - 24px)!important;gap:7px!important}
 .fiale-master-header .fiale-master-logo{flex-basis:55px!important;min-width:55px!important;width:55px!important}
 .fiale-master-header .fiale-master-logo img{width:54px!important;height:52px!important}
 .fiale-master-header .fiale-master-cta{font-size:10px!important;padding:9px 10px!important;min-height:36px!important}
 .fiale-master-header .fiale-master-toggle{flex-basis:39px!important;width:39px!important;height:39px!important}
}
