/* Finance Service beta 1.2 · compatibility layer for
   Finance Service · Assistente Knowledge Hub 2.7.1.
   Enqueue AFTER the plugin's widget.css in WordPress.
   Presentation only: no API, validation, privacy or bridge logic is altered. */

/* Whole widget inherits the site typography, not only the launch button. */
.fskh-widget{
  --kh-ink:#292b2f;
  --kh-accent:#e30613;
  --kh-line:#e8e5e1;
  font-family:Inter,"Avenir Next","Segoe UI",Arial,sans-serif;
  font-size:14px;
  line-height:1.5;
  letter-spacing:0;
  color:var(--kh-ink);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.fskh-widget button,
.fskh-widget input,
.fskh-widget select,
.fskh-widget textarea{font-family:inherit;letter-spacing:0}
.fskh-widget button:focus-visible,
.fskh-widget input:focus-visible,
.fskh-widget select:focus-visible,
.fskh-widget textarea:focus-visible{outline:3px solid #006fbb;outline-offset:3px}

/* Brand/system colours: override the green defaults of the plugin. */
.fskh-widget .fskh-launch{
  background:#e30613;
  border-radius:12px;
  padding:13px 18px;
  font-weight:700;
  box-shadow:0 10px 28px rgba(36,31,31,.16);
}
.fskh-widget .fskh-nudge{border-radius:13px;box-shadow:0 14px 42px rgba(31,29,25,.12)}
.fskh-widget .fskh-nudge button[data-fskh="nudge-open"]{color:#bc000b}
.fskh-widget .fskh-panel{border-radius:13px;box-shadow:0 20px 64px rgba(31,29,25,.18)}
.fskh-widget .fskh-panel header{background:#292b2f}
.fskh-widget .fskh-panel header small{color:#d8d8da}
.fskh-widget .fskh-brand{background:#e30613;color:#fff;border-radius:9px}
.fskh-widget .fskh-feed{background:#faf9f7}
.fskh-widget .fskh-message{border-color:#e8e5e1;border-radius:11px}
.fskh-widget .fskh-message.visitor{background:#fce9ea;border-color:#f1c6c9}
.fskh-widget .fskh-message b{letter-spacing:.06em}
.fskh-widget .fskh-feedback button{border-color:#dedbd7}
.fskh-widget .fskh-check a{color:#bc000b}
.fskh-widget .fskh-submit{background:#e30613;border-radius:8px;font-weight:700}
.fskh-widget .fskh-contact-call button{border-color:#e30613;color:#bc000b;background:#fff;border-radius:8px}
.fskh-widget .fskh-wa{background:#f3f0eb;color:#292b2f}
.fskh-widget footer button{color:#bc000b}

/* Exact DOM emitted by [finance_service_faq]. */
.fskh-faq-list{border-top:1px solid #dddfe0}
.fskh-faq-list>details{border-bottom:1px solid #dddfe0;padding:0;background:transparent}
.fskh-faq-list>details>summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:21px 2px;
  font-size:clamp(.99rem,1.35vw,1.16rem);
  font-weight:700;
  line-height:1.4;
  letter-spacing:-.012em;
  color:#292b2f;
}
.fskh-faq-list>details>summary::-webkit-details-marker{display:none}
.fskh-faq-list>details>summary::after{content:'+';font-size:1.45rem;font-weight:400;color:#e30613;line-height:1}
.fskh-faq-list>details[open]>summary::after{content:'−'}
.fskh-faq-list>details>div{max-width:790px;padding:0 34px 20px 2px;color:#55585e;font-size:.96rem;line-height:1.75;letter-spacing:-.003em}
.fskh-faq-list>details>div p:first-child{margin-top:0}
.fskh-faq-list>details>div a{color:#bc000b;text-decoration:underline;text-underline-offset:3px}

/* Site has a fixed mobile CTA bar; keep the assistant above it. */
@media(max-width:670px){
  .fskh-widget{bottom:calc(78px + env(safe-area-inset-bottom))!important;right:12px!important}
  .fskh-widget .fskh-launch{padding:11px 14px}
  .fskh-faq-list>details>summary{padding:18px 0}
}
