/* EPHIADA's navigation guide. All selectors are scoped to avoid site conflicts. */
#eph-assistant-root {
  position: fixed;
  right: 22px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  pointer-events: none;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #172336;
}
#eph-assistant-root *,
#eph-assistant-root *::before,
#eph-assistant-root *::after { box-sizing: border-box; }
#eph-assistant-root button,
#eph-assistant-root input { font: inherit; }
#eph-assistant-root button { cursor: pointer; }
#eph-assistant-root button:focus-visible,
#eph-assistant-root input:focus-visible,
#eph-assistant-root a:focus-visible {
  outline: 3px solid #58aaff;
  outline-offset: 3px;
}
#eph-assistant-root .eph-assistant-launcher {
  pointer-events: auto;
  margin-left: auto;
  height: 60px;
  border: 1px solid #222f46;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #121a2b, #172a46);
  box-shadow: 0 14px 36px rgba(10, 19, 34, .26), 0 2px 7px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.02em;
  transition: transform .2s ease, box-shadow .2s ease;
}
#eph-assistant-root .eph-assistant-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 42px rgba(10, 19, 34, .33);
}
#eph-assistant-root .eph-assistant-launcher svg {
  width: 26px;
  height: 26px;
  color: #ff4251;
  flex: none;
}
#eph-assistant-root .eph-assistant-launch-label { white-space: nowrap; }
#eph-assistant-root .eph-assistant-panel {
  pointer-events: auto;
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(395px, calc(100vw - 32px));
  height: min(565px, calc(100dvh - 110px));
  min-height: 285px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce2ec;
  border-radius: 20px;
  box-shadow: 0 30px 95px rgba(12, 21, 38, .24), 0 4px 14px rgba(12,21,38,.1);
}
#eph-assistant-root .eph-assistant-panel[hidden] { display: none !important; }
#eph-assistant-root .eph-assistant-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 15px 14px;
  background: linear-gradient(120deg, #0b101a, #1a2a43);
  color: #fff;
  flex: none;
  position: relative;
}
#eph-assistant-root .eph-assistant-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e71d2b 0%, #e71d2b 55%, #1178d7 55%, #1178d7 100%);
}
#eph-assistant-root .eph-assistant-logo {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: none;
  border-radius: 13px;
  background: #fff;
  border: 1px solid #fff6;
}
#eph-assistant-root .eph-assistant-logo img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}
#eph-assistant-root .eph-assistant-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
#eph-assistant-root .eph-assistant-brand strong {
  font-family: "Manrope", Arial, sans-serif;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}
#eph-assistant-root .eph-assistant-brand span {
  color: #c7d3e2;
  font-size: 11px;
  line-height: 1.4;
}
#eph-assistant-root .eph-assistant-lang {
  display: flex;
  gap: 2px;
  background: #ffffff20;
  border-radius: 999px;
  padding: 3px;
  flex: none;
}
#eph-assistant-root .eph-assistant-lang button {
  border: 0;
  padding: 5px 7px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  color: #d1dbe8;
  background: transparent;
}
#eph-assistant-root .eph-assistant-lang button.is-active {
  background: #fff;
  color: #172335;
}
#eph-assistant-root .eph-assistant-close {
  background: transparent;
  border: 0;
  color: #e5eaf2;
  border-radius: 8px;
  width: 29px;
  height: 29px;
  padding: 5px;
  display: grid;
  place-items: center;
}
#eph-assistant-root .eph-assistant-close:hover { background: #ffffff20; }
#eph-assistant-root .eph-assistant-close svg { width: 18px; height: 18px; }
#eph-assistant-root .eph-assistant-messages {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 19px 15px 15px;
  background: #f6f8fb;
}
#eph-assistant-root .eph-assistant-row { display: flex; width: 100%; }
#eph-assistant-root .eph-assistant-row-bot { justify-content: flex-start; }
#eph-assistant-root .eph-assistant-row-user { justify-content: flex-end; }
#eph-assistant-root .eph-assistant-bubble {
  max-width: 92%;
  padding: 12px 13px;
  border: 1px solid #e1e7ee;
  border-radius: 15px 15px 15px 5px;
  background: #fff;
  box-shadow: 0 2px 8px #13243909;
  color: #26334a;
}
#eph-assistant-root .eph-assistant-row-user .eph-assistant-bubble {
  border-color: #1b344f;
  background: #182943;
  color: #fff;
  border-radius: 15px 15px 5px 15px;
}
#eph-assistant-root .eph-assistant-msg-text {
  margin: 0;
  line-height: 1.56;
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
#eph-assistant-root .eph-assistant-result {
  display: inline-flex;
  align-items: center;
  margin-top: 11px;
  padding: 9px 12px;
  min-height: 35px;
  max-width: 100%;
  border: 1px solid #cfe2f9;
  border-radius: 9px;
  color: #0759a2;
  background: #eef6ff;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.3;
}
#eph-assistant-root .eph-assistant-result:hover {
  border-color: #75b1ed;
  background: #dfeefd;
}
#eph-assistant-root .eph-assistant-quick {
  background: #fff;
  border-top: 1px solid #e7ebf0;
  padding: 12px 14px 10px;
  flex: none;
}
#eph-assistant-root .eph-assistant-quick-title {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #617084;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 9px;
}
#eph-assistant-root .eph-assistant-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
#eph-assistant-root .eph-assistant-chip {
  border: 1px solid #e2e7ef;
  background: #f7f9fc;
  color: #28384e;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  padding: 8px 10px;
  min-height: 30px;
}
#eph-assistant-root .eph-assistant-chip:hover {
  background: #fff0f1;
  border-color: #f1a3aa;
  color: #a80d1d;
}
#eph-assistant-root .eph-assistant-form {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #f0f1f4;
  background: #fff;
  flex: none;
  margin: 0;
}
#eph-assistant-root .eph-assistant-form input {
  min-width: 0;
  flex: 1;
  height: 40px;
  border-radius: 11px;
  border: 1px solid #dbe1ea;
  background: #fafbfd;
  font-size: 13px;
  color: #172336;
  padding: 0 12px;
  outline: none;
}
#eph-assistant-root .eph-assistant-form input:focus {
  border-color: #2384d9;
  box-shadow: 0 0 0 2px #2384d920;
}
#eph-assistant-root .eph-assistant-form input::placeholder { color: #7b8899; }
#eph-assistant-root .eph-assistant-send {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #e71d2b;
  border: 0;
  color: #fff;
  flex: none;
}
#eph-assistant-root .eph-assistant-send:hover { background: #bb101d; }
#eph-assistant-root .eph-assistant-send svg { width: 19px; height: 19px; }
#eph-assistant-root .eph-assistant-foot {
  padding: 0 14px 12px;
  background: #fff;
  font-size: 10px;
  color: #8591a1;
  text-align: center;
  line-height: 1.3;
  flex: none;
}
#eph-assistant-root .eph-assistant-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 520px) {
  #eph-assistant-root {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  #eph-assistant-root .eph-assistant-panel {
    width: calc(100vw - 24px);
    max-width: 395px;
    height: min(570px, calc(100dvh - 98px));
    bottom: 72px;
    border-radius: 16px;
  }
  #eph-assistant-root .eph-assistant-launcher {
    width: 59px;
    height: 59px;
    padding: 0;
    border-radius: 50%;
  }
  #eph-assistant-root .eph-assistant-launch-label { display: none; }
  #eph-assistant-root .eph-assistant-header { padding: 13px 10px; gap: 7px; }
  #eph-assistant-root .eph-assistant-brand strong { font-size: 14px; }
  #eph-assistant-root .eph-assistant-logo { width: 39px; height: 39px; }
  #eph-assistant-root .eph-assistant-logo img { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  #eph-assistant-root .eph-assistant-launcher { transition: none; }
}
