.gs-contact-track, .gs-contact {
  --contact-green: #24483b;
  --contact-gold: #ffd164;
  --contact-edge: clamp(14px, 2.4vw, 32px);
  position: fixed;
  right: max(var(--contact-edge), env(safe-area-inset-right));
  bottom: max(var(--contact-edge), env(safe-area-inset-bottom));
}
.gs-contact-track {
  top: max(var(--contact-edge), env(safe-area-inset-top));
  left: max(var(--contact-edge), env(safe-area-inset-left));
  z-index: 8;
  pointer-events: none;
}
.gs-contact-launch {
  --contact-x: 100%;
  --contact-y: 100%;
  position: absolute;
  left: var(--contact-x);
  top: var(--contact-y);
  /* The anchor moves across the button as well as the track, keeping the entire pill in bounds. */
  transform: translate(calc(0% - var(--contact-x)), calc(0% - var(--contact-y)));
  width: max-content;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  cursor: grab;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px 5px 5px;
  min-height: 49px;
  border: 1px solid #e9e0be;
  border-radius: 99px;
  background: var(--contact-green);
  box-shadow: 0 3px 14px #15231936;
  color: #fffaf0;
  font-weight: 800;
  font-size: 15px;
}
.gs-contact-launch.is-dragging { cursor: grabbing; }
.gs-contact-seal {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--contact-gold);
}
.gs-contact-seal svg { width: 74%; height: 74%; }
.gs-contact-launch[hidden], .gs-contact [hidden],
body:has(dialog[open]:not(#gs-contact), .sw-shop-toast:not([hidden]), .head-nav.open) .gs-contact-launch { display: none; }
/* Leave the final footer links within reach even at the bottom of the page. */
body:has(.gs-contact-launch:not([hidden])) .site-footer { padding-bottom: 64px; }
:is(.sw-shop-dialog, .sw-picker) button.gs-contact-inline {
  display: block;
  width: fit-content;
  margin: .4rem auto;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #345947;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.gs-contact {
  inset: auto;
  width: 369px;
  max-width: calc(100% - 2 * var(--contact-edge));
  max-height: calc(100dvh - max(var(--contact-edge), env(safe-area-inset-bottom)) - max(12px, env(safe-area-inset-top)));
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 1px solid #224035;
  border-radius: 20px;
  background: #fffdf6;
  color: var(--ink);
  box-shadow: 0 12px 44px #14251a38;
}
.gs-contact[open] { display: flex; flex-direction: column; }
.gs-contact-scroll { overflow: auto; min-height: 0; overscroll-behavior: contain; }
.gs-contact::backdrop { background: rgb(15 28 20 / 24%); }
body:has(.gs-contact[open]) { overflow: hidden; }
.gs-contact-head {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  padding: 19px 17px 18px;
  background: linear-gradient(112deg,#24483b,#345a46);
  color: #fffdf3;
}
.gs-contact-head .gs-contact-seal { width: 47px; height: 47px; }
.gs-contact h2, .gs-contact h3, .gs-contact p { margin: 0; }
.gs-contact-head h2 { font-size: 23px; line-height: 1.3; }
.gs-contact-head p { margin-top: 3px; font-size: 13px; color: #e8edda; }
.gs-contact-compact .gs-contact-head { padding-block: 8px; }
.gs-contact-compact .gs-contact-head .gs-contact-seal { width: 36px; height: 36px; }
.gs-contact-compact .gs-contact-head h2 { font-size: 19px; }
.gs-contact-head form { margin: 0 0 auto auto; }
.gs-contact-close {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  color: #fffdf3;
  border-radius: 50%;
  border: 1px solid #ffffff55;
  background: transparent;
}
.gs-contact-close svg { width: 18px; height: 18px; }
.gs-contact-body, .gs-contact-draft { padding: 16px 19px 18px; }
.gs-contact h3 { color: var(--contact-green); font-size: 14px; }
.gs-contact-faq { margin: 5px 0 14px; }
.gs-contact-faq details { border-bottom: 1px solid #e0ded2; }
.gs-contact-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 42px; font-size: 14px; cursor: pointer; font-weight: 700;
}
.gs-contact-faq summary::-webkit-details-marker { display: none; }
.gs-contact-faq summary::after { content: '+'; font: 20px/1 Arial,sans-serif; color: #48634c; }
.gs-contact-faq details[open] summary::after { content: '−'; }
.gs-contact-faq p, .gs-contact-draft p { font-size: 14px; line-height: 1.7; color: #55594d; }
.gs-contact-faq p { padding: 0 20px 12px 0; }
.gs-contact-faq a, .gs-contact-back { color: var(--contact-green); text-decoration: underline; text-underline-offset: 3px; }
.gs-contact-channels { display: grid; gap: 6px; margin: 8px 0; }
.gs-contact-channel, .gs-contact-store a {
  display: flex; gap: 9px; align-items: center;
  padding: 9px 12px; min-height: 45px;
  color: var(--contact-green); background: #f5f4ea;
  border: 1px solid #d5d6c5; border-radius: 9px;
  font-size: 14px; font-weight: 750;
}
.gs-contact-channel:first-child { background: #e9efdf; border-color: #c4cfb5; }
.gs-contact-channel svg, .gs-contact-store svg { width: 19px; height: 19px; flex: none; }
.gs-contact-channel small, .gs-contact-draft h3 small {
  display: inline-block; vertical-align: middle; margin-left: 4px; padding: 1px 6px;
  border-radius: 4px; background: #fff9e3; color: #6d5322; font-size: 11px;
}
.gs-contact-channel .gs-contact-end { width: 15px; height: 15px; margin-left: auto; }
.gs-contact-store { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.gs-contact-store a { background: transparent; padding: 8px; font-size: 13px; }
.gs-contact-store small { display: block; margin-top: 2px; color: #5e6659; font-size: 11px; font-weight: 500; }
.gs-contact-draft { display: grid; gap: 12px; }
.gs-contact-back { justify-self: start; padding: 5px 0; border: 0; background: transparent; font-size: 13px; }
.gs-contact-draft h3 { font-size: 19px; }
.gs-contact-draft label { font-size: 14px; font-weight: 700; }
.gs-contact-draft textarea {
  display: block; width: 100%; min-height: 86px; resize: vertical;
  border: 1px solid #979c86; border-radius: 8px; padding: 10px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.gs-contact-copy { min-height: 43px; border: 1px solid var(--contact-green); border-radius: 8px; background: var(--contact-green); color: white; font-weight: 700; }
.gs-contact-line-open:not([hidden]) { display: grid; place-items: center; min-height: 43px; border: 1px solid var(--contact-green); border-radius: 8px; color: var(--contact-green); font-weight: 700; }
.gs-contact-copy-status:empty { display: none; }
.gs-contact summary:focus-visible { outline: 3px solid #b24d25; outline-offset: 2px; }
@media (hover:hover) {
  .gs-contact-launch:hover, .gs-contact-copy:hover { background: #173c2e; }
  .gs-contact-channel:hover, .gs-contact-store a:hover { border-color: #637a62; }
}
@media (prefers-reduced-motion:no-preference) {
  .gs-contact[open] { animation: gs-contact-enter .18s ease-out; }
  .gs-contact[data-side="above"] { --contact-from-y: 6px; }
  .gs-contact[data-side="below"] { --contact-from-y: -6px; }
  .gs-contact[data-side="left"] { --contact-from-x: 6px; }
  .gs-contact[data-side="right"] { --contact-from-x: -6px; }
  @keyframes gs-contact-enter { from { opacity: 0; transform: translate(var(--contact-from-x, 0px), var(--contact-from-y, 0px)); } }
}
@media (max-width:500px) {
  .gs-contact-launch { font-size: 13px; min-height: 44px; padding-right: 11px; }
  .gs-contact-launch .gs-contact-seal { width: 32px; height: 32px; }
}
