.gwpp-widget {
  --gwpp-gutter: 20px;
  --gwpp-viewport: 100vh;
  --gwpp-offset: min(var(--gwpp-bottom, 24px), max(12px, calc(var(--gwpp-viewport) - 210px)));
  position: fixed;
  bottom: calc(var(--gwpp-offset) + env(safe-area-inset-bottom, 0px));
  z-index: 99990;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@supports (height: 100dvh) { .gwpp-widget { --gwpp-viewport: 100dvh; } }
.gwpp-widget--left { left: max(var(--gwpp-gutter), env(safe-area-inset-left, 0px)); }
.gwpp-widget--right { right: max(var(--gwpp-gutter), env(safe-area-inset-right, 0px)); }
.gwpp-widget .gwpp-trigger {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  padding: 0;
  list-style: none;
  border: 1px solid #138748;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 6px 22px #102c2340;
  transition: box-shadow 150ms ease;
}
.gwpp-trigger::-webkit-details-marker { display: none; }
.gwpp-trigger::marker { content: ""; }
.gwpp-widget .gwpp-trigger > .gwpp-icon { display: block; width: 34px; height: 34px; }
.gwpp-widget .gwpp-trigger:hover,
.gwpp-sectors[open] .gwpp-trigger { box-shadow: 0 8px 26px #102c2357; }
.gwpp-trigger:focus-visible { outline: 3px solid #103c2d; outline-offset: 4px; }
.gwpp-sectors-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  box-sizing: border-box;
  width: min(340px, calc(100vw - 2 * var(--gwpp-gutter) - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  max-height: min(420px, max(84px, calc(var(--gwpp-viewport) - var(--gwpp-offset) - 88px - env(safe-area-inset-bottom, 0px))));
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #cce1d8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 36px #102c2330;
  color: #132e26;
  font-size: 15px;
  line-height: 1.4;
}
.gwpp-widget--left .gwpp-sectors-panel { left: 0; }
.gwpp-widget--right .gwpp-sectors-panel { right: 0; }
.gwpp-sectors-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 54px;
  box-sizing: border-box;
  padding: 5px 8px 5px 17px;
  background: #0b5540;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
}
.gwpp-widget .gwpp-sector-close {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #fff;
  font: 24px/1 system-ui, sans-serif;
  cursor: pointer;
}
.gwpp-widget .gwpp-sector-close[hidden] { display: none; }
.gwpp-widget .gwpp-sector-close:hover { background: #ffffff26; }
.gwpp-widget .gwpp-sector-close:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.gwpp-sectors-panel .gwpp-sectors-list { margin: 0; padding: 6px; list-style: none; }
.gwpp-sectors-list > li { margin: 0; padding: 0; list-style: none; }
.gwpp-sectors-panel a.gwpp-sector {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: 49px;
  padding: 10px 12px;
  border-radius: 9px;
  color: #132e26;
  text-decoration: none;
}
.gwpp-sectors-panel a.gwpp-sector:hover { background: #e9f7ef; }
.gwpp-sectors-panel a.gwpp-sector:focus-visible { background: #e9f7ef; outline: 2px solid #0b5540; outline-offset: -2px; }
.gwpp-sector-color { width: 10px; height: 10px; border-radius: 50%; background: var(--gwpp-channel-color, #2f7167); }
.gwpp-sector-text { min-width: 0; display: grid; gap: 2px; overflow-wrap: anywhere; }
.gwpp-sector-text strong { font: inherit; font-weight: 650; color: inherit; }
.gwpp-sector-text span { color: #4e635a; font-size: 13px; }
.gwpp-sector-arrow { color: #326252; font-weight: 650; }
.gwpp-sector-new-tab {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
a.gwpp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  box-sizing: border-box;
  min-height: 52px;
  max-width: 100%;
  padding: 12px 20px;
  border: 1px solid #0003;
  border-radius: 12px;
  background: var(--gwpp-channel-color, #087a55);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 5px 22px #101c3529;
  transition: box-shadow 150ms ease;
}
a.gwpp-button:visited { color: #fff; }
a.gwpp-button:hover { background: linear-gradient(#0002, #0002), var(--gwpp-channel-color, #087a55); color: #fff; text-decoration: none; box-shadow: 0 6px 26px #101c353d; }
a.gwpp-button:focus-visible { outline: 3px solid #101c35; outline-offset: 4px; }
.gwpp-button > .gwpp-icon { flex: 0 0 28px; width: 28px; height: 28px; }
.gwpp-button-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.gwpp-button-text strong { font: inherit; font-weight: 650; color: inherit; }
@media (max-width: 480px) { .gwpp-widget { --gwpp-gutter: 12px; } }
@media (prefers-reduced-motion: reduce) { a.gwpp-button, .gwpp-widget .gwpp-trigger { transition: none; } }
@media print { .gwpp-widget { display: none; } }
