/* VVE Weather personal dashboard: scoped, compact disclosures; no extra UI framework. */
.wx-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin: 0.45rem 0 0.6rem;
}
.wx-quick-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  gap: 0.3rem;
  padding: 0.44rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #7ac9e75e;
  color: #d9f6ff;
  background: linear-gradient(160deg, #1e4d69, #0a273f);
  box-shadow:
    inset 0 1px 0 #ffffff44,
    0 3px 8px #0005;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 670;
  white-space: nowrap;
}
.wx-quick-nav a:hover,
.wx-quick-nav a:focus-visible {
  border-color: #a5f2ff;
  background: #235f84;
}
.wx-quick-nav a:focus-visible,
.wx-settings summary:focus-visible,
.wx .wx-fold-toggle:focus-visible,
.wx-settings-actions button:focus-visible {
  outline: 3px solid #ffe0a3;
  outline-offset: 2px;
}
.wx-settings {
  margin: 0.25rem 0 0.65rem;
  border: 1px solid #80bddb60;
  border-radius: 15px;
  background: linear-gradient(145deg, #0d3047, #0a1e31);
  box-shadow: inset 0 1px 0 #ffffff21;
  overflow: hidden;
}
.wx-settings summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  font-weight: 730;
  font-size: 0.84rem;
  color: #e5f8ff;
  list-style: inside;
}
.wx-settings summary span {
  margin-left: auto;
  color: #a1d1e5;
  font-size: 0.69rem;
  font-weight: 400;
}
.wx-settings[open] summary {
  border-bottom: 1px solid #80bddb40;
}
.wx-settings-body {
  padding: 0.68rem 0.85rem 0.8rem;
  color: #b9d8eb;
}
.wx-settings-body p {
  font-size: 0.76rem;
  line-height: 1.52;
  margin: 0.1rem 0 0.65rem;
}
.wx-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin: 0.4rem 0 0.6rem;
}
.wx .wx-settings-actions button {
  font-size: 0.76rem;
  padding: 0.4rem 0.75rem;
  min-height: 38px;
}
.wx-settings-shortcuts a {
  color: #a4e7ff;
  text-underline-offset: 3px;
}

/* Optional self-hosting download; visible only inside expanded Settings. */
.wx-settings-download {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #7ac9e75e;
  border-radius: 12px;
  background: #0c2b43;
}
.wx-settings-download-copy { flex: 1 1 250px; min-width: 0; }
.wx-settings-download h3 {
  margin: 0 0 0.32rem;
  color: #ecfaff;
  font-size: 0.87rem;
}
.wx-settings-body .wx-settings-download p { margin: 0; }
/* Weather site-sharing email allowlist form, scoped to expanded settings. */
.wx-settings-download-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 0 1 290px;
  min-width: min(100%, 220px);
}
.wx-settings-download-form label {
  color: #d9f5ff;
  font-size: 0.8rem;
  font-weight: 650;
}
.wx .wx-settings-download-form input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  border: 1px solid #7ac9e7;
  background: #071e30;
  color: #fff;
  font: inherit;
}
.wx .wx-settings-download-form input:focus-visible {
  outline: 3px solid #ffe0a3;
  outline-offset: 2px;
}
.wx .wx-settings-download-form .wx-settings-download-submit {
  min-height: 42px;
  width: 100%;
  border-radius: 9px;
  background: #205c7d;
  border: 1px solid #79c7e8;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}
.wx .wx-settings-download-form .wx-settings-download-submit:hover {
  background: #2b7398;
}

.wx-pref-location-heading,
.wx-pref-storm-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0 0 0.35rem;
}
.wx-pref-location-heading strong {
  font-size: 0.82rem;
  color: #d6f3ff;
}
.wx .wx-fold-toggle {
  font-size: 0.72rem;
  padding: 0.29rem 0.65rem;
  min-height: 34px;
  white-space: nowrap;
  border-radius: 10px;
  align-self: center;
  margin-left: auto;
  background: linear-gradient(160deg, #1a5170, #0a2c46);
  color: #d8f4ff;
  box-shadow:
    inset 0 1px 0 #f0ffff4b,
    0 3px 0 #061a2a;
}
.wx .wx-fold-toggle[aria-expanded="false"] {
  border-color: #79bde08a;
  color: #a5e9ff;
}
.wx-fold-body[hidden] {
  display: none !important;
}
.wx-fold-body {
  min-width: 0;
}
.wx-panel[data-collapsed="true"] {
  padding-bottom: 0.65rem;
}
.wx-saves[data-collapsed="true"],
.wx-locator[data-collapsed="true"],
.wx-watch-panel[data-collapsed="true"] {
  padding-bottom: 0.6rem;
}
.wx .wx-locator .wx-fold-body {
  width: 100%;
}
.wx .wx-locator .wx-pref-location-heading {
  width: 100%;
}
.wx .wx-saves-heading,
.wx .wx-watch-topline,
.wx .wx-heading,
.wx .wx-radar-head {
  gap: 0.5rem;
  flex-wrap: wrap;
}
.wx .wx-watch-topline {
  margin-bottom: 0.3rem;
}
.wx .wx-watch-summary {
  margin: 0.35rem 0;
}
.wx .wx-watch-panel[data-collapsed="true"] .wx-watch-summary {
  font-size: 0.82rem;
}
.wx .wx-storm .wx-pref-storm-heading h2 {
  margin: 0;
}
.wx .wx-storm .wx-pref-storm-heading {
  margin: 0.3rem 0;
}
.wx .wx-radar[data-collapsed="true"] .wx-radar-head {
  margin-bottom: 0;
}
.wx .wx-radar .wx-radar-head .wx-fold-toggle {
  flex: none;
}
.wx .wx-settings[open] {
  scroll-margin-top: 90px;
}
.wx [id^="wx-section-"] {
  scroll-margin-top: 95px;
}
@media (max-width: 700px) {
  .wx-quick-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 0.2rem;
  }
  .wx-quick-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    font-size: 0.72rem;
    padding: 0.38rem 0.64rem;
  }
  .wx .wx-fold-toggle {
    min-height: 36px;
    padding: 0.3rem 0.65rem;
  }
  .wx .wx-settings summary {
    flex-wrap: wrap;
    font-size: 0.8rem;
  }
  .wx .wx-settings summary span {
    margin-left: 0;
  }
  .wx .wx-settings-actions button {
    flex: 1 1 130px;
  }
  .wx .wx-radar-head .wx-fold-toggle {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wx .wx-fold-toggle,
  .wx-quick-nav a {
    transition: none !important;
  }
}

/* The locator's old two-column flex layout now lives inside its disclosure body. */
.wx .wx-locator {
  display: block;
}
.wx .wx-locator .wx-fold-body {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.wx .wx-locator .wx-fold-body form {
  flex: 1 1 340px;
  min-width: 0;
}
.wx .wx-locator .wx-fold-body .wx-units {
  flex: 0 0 auto;
}
@media (max-width: 700px) {
  .wx .wx-locator .wx-fold-body {
    display: block;
  }
  .wx .wx-locator .wx-fold-body form {
    width: 100%;
  }
}
