.gdm {
  --gdm-orange: #ff6500;
  --gdm-navy: #182d4d;
  --gdm-clearance: 0px;
  --gdm-edge: 22px;
  --gdm-bottom: 8px;
  position: fixed;
  right: max(var(--gdm-edge), env(safe-area-inset-right, 0px));
  bottom: calc(var(--gdm-bottom) + var(--gdm-clearance) + env(safe-area-inset-bottom, 0px));
  width: 118px;
  z-index: 900;
  isolation: isolate;
  color: var(--gdm-navy);
  font: 400 14px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  transition: bottom 160ms ease;
}
.gdm[hidden], .gdm [hidden] { display: none !important; }
.gdm, .gdm *, .gdm *::before, .gdm *::after, .gdm-quote, .gdm-quote * { box-sizing: border-box; }
.gdm button, .gdm a { -webkit-tap-highlight-color: transparent; }
.gdm button { appearance: none; margin: 0; min-width: 0; min-height: 0; font: inherit; letter-spacing: normal; text-transform: none; cursor: pointer; }
.gdm__launcher-wrap { position: relative; }
.gdm .gdm__launcher {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 118px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: none;
  color: var(--gdm-navy);
  box-shadow: none;
}
.gdm__portrait { position: relative; isolation: isolate; display: block; width: 118px; height: 177px; overflow: visible; }
.gdm__portrait::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 22%;
  right: 18%;
  bottom: 4px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(24 45 77 / 25%) 0%, rgb(24 45 77 / 10%) 45%, transparent 73%);
  filter: blur(1px);
  pointer-events: none;
}
.gdm__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 118px;
  height: 177px;
  max-width: none;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgb(24 45 77 / 12%));
  transform-origin: 50% 93%;
}
.gdm--intro .gdm__image { animation: gdm-sway 2.5s ease-in-out 2; }
@keyframes gdm-sway { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } }
.gdm__launcher-caption {
  position: absolute;
  right: calc(100% - 16px);
  bottom: 62px;
  display: block;
  padding: 6px 10px;
  margin: 0;
  border: 1px solid #ffe0cd;
  border-radius: 100px;
  background: #fff;
  color: var(--gdm-navy);
  box-shadow: 0 4px 16px rgb(24 45 77 / 10%);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.gdm .gdm__hide, .gdm .gdm__panel-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #dfe4ec;
  border-radius: 50%;
  background: #fff;
  color: var(--gdm-navy);
  box-shadow: 0 3px 10px rgb(24 45 77 / 10%);
  line-height: 1;
}
.gdm__hide span, .gdm__panel-close span { font-size: 23px; line-height: 1; }
.gdm__hide::before { content: ""; position: absolute; inset: -6px; }
.gdm .gdm__launcher:hover { background: none; }
.gdm .gdm__hide:hover, .gdm .gdm__panel-close:hover { background: #f5f7fa; color: var(--gdm-navy); }
.gdm__hide { position: absolute; top: 0; right: -8px; z-index: 2; }
.gdm__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: 306px;
  max-width: calc(100vw - 44px - env(safe-area-inset-right, 0px));
  max-height: calc(100dvh - 210px - var(--gdm-clearance));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 25px 22px 19px;
  border: 1px solid #e6eaf0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 44px rgb(24 45 77 / 19%);
}
.gdm__panel-close { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; box-shadow: none; }
.gdm__eyebrow { display: block; padding-right: 28px; margin: 0 0 10px; color: #9b3b00; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.gdm .gdm__heading { padding: 0; margin: 0 0 10px; border: 0; font: 750 21px/1.17 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--gdm-navy); }
.gdm .gdm__copy { padding: 0; margin: 0 0 18px; color: #566376; font-size: 13px; line-height: 1.5; }
.gdm__actions { display: flex; flex-direction: column; gap: 9px; }
.gdm a.gdm__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 45px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 120ms ease;
}
.gdm a.gdm__action--primary { background: var(--gdm-orange); color: #182d4d; }
.gdm a.gdm__action--primary:hover { background: #ff7a24; }
.gdm a.gdm__action--secondary { border-color: #e4e9f0; background: #f5f7fa; color: var(--gdm-navy); }
.gdm a.gdm__action--secondary:hover { background: #eaf0f7; }
.gdm a.gdm__phone { padding: 7px 0 0; color: var(--gdm-navy); font-size: 12px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.gdm button:focus-visible, .gdm a:focus-visible { outline: 3px solid #182d4d; outline-offset: 4px; }
.gdm.gdm--collapsed { width: 156px; }
.gdm .gdm__restore {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 156px;
  height: 44px;
  padding: 4px 9px 4px 4px;
  border: 1px solid #ffd9bd;
  border-radius: 100px;
  background: #fff;
  color: var(--gdm-navy);
  box-shadow: 0 3px 14px rgb(24 45 77 / 12%);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.gdm .gdm__restore:hover { background: #fff8f2; }
.gdm__restore-portrait { flex: 0 0 34px; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: #fff0e4; }
.gdm__restore-portrait img { display: block; width: 57px; max-width: none; height: 85.5px; margin: 0 0 0 -12px; object-fit: contain; }
.gdm-quote {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  margin: 0 0 28px;
  padding: 20px 26px;
  border: 1px solid #ffe2cd;
  border-radius: 18px;
  background: #fff8f2;
  color: #182d4d;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.gdm-quote__image { flex: 0 0 82px; display: block; width: 82px; height: 123px; object-fit: contain; }
.gdm-quote__body { min-width: 0; }
.gdm-quote .gdm-quote__eyebrow { margin: 0 0 7px; color: #9b3b00; font-size: 11px; line-height: 1.4; font-weight: 700; }
.gdm-quote .gdm-quote__heading { margin: 0 0 9px; color: #182d4d; font-size: clamp(18px, 2vw, 23px); line-height: 1.3; font-weight: 750; }
.gdm-quote .gdm-quote__copy { margin: 0; color: #566376; font-size: 13px; line-height: 1.5; }
.gdm-quote--inside-intro { gap: 14px; padding: 16px; margin-bottom: 22px; }
.gdm-quote--inside-intro .gdm-quote__image { flex-basis: 60px; width: 60px; height: 90px; }
.gdm-quote--inside-intro .gdm-quote__heading { font-size: 18px; }
@media (max-width: 767px) {
  .gdm { --gdm-edge: 14px; --gdm-bottom: 14px; width: 66px; }
  .gdm .gdm__launcher { width: 66px; height: 66px; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #fff0e4; box-shadow: 0 4px 20px rgb(24 45 77 / 20%); }
  .gdm .gdm__launcher:hover { background: #fff0e4; }
  .gdm__portrait { width: 66px; height: 66px; overflow: hidden; }
  .gdm__portrait::after { display: none; }
  .gdm__image { width: 111px; height: 166.5px; margin: 0 0 0 -23px; transform: translateY(-1px); filter: none; }
  .gdm--intro .gdm__image { animation: none; }
  .gdm__launcher-caption { display: none; }
  .gdm .gdm__hide { top: -10px; right: -5px; width: 28px; height: 28px; }
  .gdm__hide::before { inset: -7px; }
  .gdm__panel { bottom: 80px; width: 306px; max-width: calc(100vw - 28px - env(safe-area-inset-right, 0px)); max-height: calc(100dvh - 126px - var(--gdm-clearance)); }
  .gdm-quote { gap: 14px; padding: 16px; }
  .gdm-quote__image { flex-basis: 64px; width: 64px; height: 96px; }
  .gdm-quote .gdm-quote__heading { font-size: 17px; }
}
@media (max-height: 600px) and (min-width: 768px) {
  .gdm__portrait, .gdm__image { width: 100px; height: 150px; }
  .gdm__panel { max-height: calc(100dvh - 183px - var(--gdm-clearance)); }
}
@media (prefers-reduced-motion: reduce) {
  .gdm, .gdm a.gdm__action { transition: none; }
  .gdm--intro .gdm__image { animation: none; }
}
