.weather-dock {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(100px + env(safe-area-inset-bottom));
  z-index: 2300;
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid #b5d4cd;
  border-radius: 999px;
  background: #f2faf7;
  color: #215e5b;
  box-shadow: 0 4px 16px #173f4315;
  letter-spacing: 0;
  isolation: isolate;
}
.weather-dock[hidden], body:is(.menu-open, .saved-drawer-open) .weather-dock { display: none; }
.weather-dock-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  min-width: 108px;
  box-sizing: border-box;
  padding: 8px 13px;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  transition: padding .2s ease, min-width .2s ease, background-color .2s ease;
}
.weather-dock-icon { width: 24px; text-align: center; font-size: 1.35rem; line-height: 1; }
.weather-dock strong { font-size: 1rem; font-weight: 650; line-height: 1.4; white-space: nowrap; }
.weather-dock-dismiss {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-left: 1px solid #cee1da;
  border-radius: 0 999px 999px 0;
  color: #3d6860;
  background: transparent;
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}
.weather-dock :is(a, button):focus-visible { outline: 2px solid #215e5b; outline-offset: 3px; }
.weather-dock-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover: hover) {
  .weather-dock :is(a, button):hover { background: #e0f0e9; }
}
@media (max-width: 760px) {
  .weather-dock { right: max(12px, env(safe-area-inset-right)); bottom: calc(86px + env(safe-area-inset-bottom)); }
  .weather-dock.is-compact:not(:focus-within) .weather-dock-link { min-width: 84px; padding: 8px 7px; gap: 5px; }
  .weather-dock.is-compact:not(:focus-within) .weather-dock-icon { width: 18px; font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .weather-dock-link { transition: none; } }
