.trade-clarity-loop[hidden] { display: none !important; }
.trade-clarity-loop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 82;
  width: min(390px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(0, 84, 153, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #25332f;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 220ms ease, transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}
.trade-clarity-loop.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.trade-clarity-loop__accent {
  height: 4px;
  background: linear-gradient(90deg, #005499 0 38%, #20c997 38% 72%, #f8c545 72% 100%);
}
.trade-clarity-loop__inner { padding: 18px; }
.trade-clarity-loop__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.trade-clarity-loop__eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #005499;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trade-clarity-loop__eyebrow .material-symbols-outlined {
  font-size: 17px;
  font-variation-settings: "FILL" 1, "wght" 700;
}
.trade-clarity-loop__close {
  width: 30px;
  height: 30px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f1f5f4;
  color: #52635d;
  cursor: pointer;
}
.trade-clarity-loop__close:hover,
.trade-clarity-loop__close:focus-visible { background: #e5eeeb; color: #173f35; outline: none; }
.trade-clarity-loop h2 {
  margin: 13px 0 5px;
  color: #102b25;
  font-family: "Nunito", Arial, sans-serif;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}
.trade-clarity-loop__question,
.trade-clarity-loop__intro {
  margin: 0;
  color: #596b65;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.trade-clarity-loop__back {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 5px 7px 5px 4px;
  color: #526d65;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.trade-clarity-loop__back .material-symbols-outlined { font-size: 17px; }
.trade-clarity-loop__back:hover,
.trade-clarity-loop__back:focus-visible {
  background: rgba(0, 84, 153, 0.07);
  color: #005499;
  transform: translateX(-1px);
  outline: none;
}
.trade-clarity-loop__options {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}
.trade-clarity-loop__option,
.trade-clarity-loop__chip,
.trade-clarity-loop__submit {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce7e3;
  border-radius: 6px;
  background: #fff;
  padding: 9px 11px;
  color: #263d36;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}
.trade-clarity-loop__option:hover,
.trade-clarity-loop__option:focus-visible,
.trade-clarity-loop__chip:hover,
.trade-clarity-loop__chip:focus-visible {
  border-color: rgba(0, 84, 153, 0.34);
  background: #f6faf9;
  transform: translateY(-1px);
  outline: none;
}
.trade-clarity-loop__option .material-symbols-outlined {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-size: 16px;
  font-variation-settings: "FILL" 1, "wght" 700;
}
.trade-clarity-loop__option[data-choice="useful"] .material-symbols-outlined { background: rgba(45,111,97,0.12); color: #2d6f61; }
.trade-clarity-loop__option[data-choice="not-fit"] .material-symbols-outlined { background: rgba(190,80,56,0.11); color: #be5038; }
.trade-clarity-loop__option[data-choice="unclear"] .material-symbols-outlined { background: rgba(248,197,69,0.24); color: #8a5d00; }
.trade-clarity-loop__option[data-choice="skip"] { min-height: 34px; justify-content: center; border-color: transparent; background: transparent; color: #788780; }
.trade-clarity-loop__option[data-choice="skip"] .material-symbols-outlined { display: none; }
.trade-clarity-loop__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}
.trade-clarity-loop__chip { min-height: 34px; width: auto; padding: 7px 10px; }
.trade-clarity-loop__other {
  width: 100%;
  margin-top: 12px;
  border: 1px solid #ccdcd6;
  border-radius: 6px;
  padding: 10px 11px;
  color: #25332f;
  font: inherit;
  font-size: 13px;
  outline: none;
}
.trade-clarity-loop__other:focus { border-color: #005499; box-shadow: 0 0 0 3px rgba(0,84,153,0.1); }
.trade-clarity-loop__submit {
  width: 100%;
  justify-content: center;
  margin-top: 9px;
  border-color: #005499;
  background: #005499;
  color: #fff;
}
.trade-clarity-loop__submit:hover { background: #00437a; }
.trade-clarity-loop__footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: #8a9792;
  font-size: 10px;
  font-weight: 750;
}
.trade-clarity-loop__thanks {
  display: grid;
  place-items: center;
  padding: 15px 6px 8px;
  text-align: center;
}
.trade-clarity-loop__thanks-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(32,201,151,0.14);
  color: #14785f;
  font-size: 24px !important;
  font-variation-settings: "FILL" 1, "wght" 700;
}
@media (max-width: 640px) {
  .trade-clarity-loop {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .trade-clarity-loop__inner { padding: 16px; }
  .trade-clarity-loop__back { min-height: 38px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .trade-clarity-loop,
  .trade-clarity-loop__option,
  .trade-clarity-loop__chip { transition-duration: 1ms; }
}
