.daxs-easy-explain__trigger {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 52px;
  min-width: 52px;
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 4px 3px;
  border: 1px solid #d1dce2;
  border-left: 3px solid #f23c13;
  border-radius: 6px;
  background: #fff;
  color: #102334;
  box-shadow: 0 2px 8px rgb(13 31 45 / 12%);
  font: 700 10px/1 Arial, sans-serif;
  cursor: pointer;
}

.daxs-easy-explain__trigger svg { width: 20px; height: 20px; color: #f23c13; flex: none; }
.daxs-easy-explain__trigger:hover { background: #fff4ef; }
.daxs-easy-explain__trigger:focus-visible,
.daxs-easy-explain__close:focus-visible { outline: 3px solid #f23c13; outline-offset: 3px; }

header.et-l--header .et_pb_menu__logo-wrap { align-items: center; justify-content: flex-start; overflow: visible; gap: 20px; }
header.et-l--header .et_pb_menu__logo { flex: none; margin-right: 0 !important; }
body .daxs-header-tools { display: flex; align-items: center; flex: none; gap: 4px; }
body > .daxs-header-tools {
  position: fixed;
  z-index: 10000;
  top: var(--daxs-rail-top, 40dvh);
  left: var(--daxs-rail-left, 16px);
  flex-direction: column;
  gap: 8px;
}
body .daxs-header-tools a.daxs-lang-switch {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 52px !important;
  min-width: 52px !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 4px 3px !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgb(13 31 45 / 12%) !important;
}
body .daxs-header-tools a.daxs-lang-switch .daxs-lang-name { font-size: 10px !important; line-height: 1 !important; }
body .daxs-header-tools a.daxs-lang-switch .daxs-lang-flag { height: 20px !important; }
body .daxs-header-tools a.daxs-lang-switch .daxs-lang-flag svg { width: 22px !important; height: 16px !important; }

@media (min-width: 981px) {
  header.et-l--header .et_pb_menu__logo img { width: 190px !important; max-width: 190px !important; height: auto !important; }
}

@media (max-width: 767px) {
  header.et-l--header .et_pb_menu__logo-wrap { gap: 12px; }
  header.et-l--header .et_pb_menu__logo img { width: clamp(55px, calc(100vw - 224px), 190px) !important; max-width: none !important; height: auto !important; }
  body .daxs-header-tools .daxs-easy-explain__trigger { width: 48px; min-width: 48px; height: 48px; min-height: 48px; padding: 3px 2px; font-size: 9px; }
  body .daxs-header-tools .daxs-easy-explain__trigger svg { width: 18px; height: 18px; }
  body .daxs-header-tools a.daxs-lang-switch { width: 48px !important; min-width: 48px !important; height: 48px !important; min-height: 48px !important; padding: 3px 2px !important; }
  body .daxs-header-tools a.daxs-lang-switch .daxs-lang-name { font-size: 9px !important; }
}

.daxs-easy-explain__dialog {
  position: fixed;
  z-index: 2147483001;
  top: var(--daxs-easy-top, 90px);
  left: 80px;
  right: auto;
  bottom: auto;
  width: min(620px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - var(--daxs-easy-top, 90px) - 16px);
  margin: 0;
  padding: 0;
  border: 1px solid #c8d5dc;
  border-radius: 16px;
  background: #fff;
  color: #102334;
  box-shadow: 0 20px 60px rgb(8 20 31 / 25%);
  overflow: hidden;
}

.daxs-easy-explain__dialog:not([open]) { display: none; }
.daxs-easy-explain__panel { display: flex; flex-direction: column; max-height: inherit; }
.daxs-easy-explain__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #dbe4e9;
  background: #f5f8fa;
}
.daxs-easy-explain__heading h2 { margin: 0; color: #102334; font: 700 25px/1.2 Arial, sans-serif; }
.daxs-easy-explain__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #102334;
  font: 700 14px/1 Arial, sans-serif;
  cursor: pointer;
}
.daxs-easy-explain__close span:last-child { font: 400 28px/1 Arial, sans-serif; }
.daxs-easy-explain__close:hover { background: #e5edf1; }
.daxs-easy-explain__content { overflow-y: auto; padding: 20px 24px 24px; font: 400 17px/1.6 Arial, sans-serif; }
.daxs-easy-explain__content p { margin: 0 0 1em; }
.daxs-easy-explain__content p:last-child { margin-bottom: 0; }
.daxs-easy-explain__content a { color: #c43110; text-decoration: underline; }
@media (max-width: 767px) {
  .daxs-easy-explain__dialog { left: 8px; width: calc(100vw - 16px); max-height: calc(100dvh - var(--daxs-easy-top, 70px) - 16px - env(safe-area-inset-bottom)); }
  .daxs-easy-explain__heading { padding: 16px 18px; }
  .daxs-easy-explain__heading h2 { font-size: 22px; }
  .daxs-easy-explain__content { padding: 16px 18px 20px; font-size: 16px; }
}
