.omni-header-tools:has(.omni-weather) { justify-content:space-between; gap:.45rem; }
.omni-header-tools .omni-weather { flex:0 1 auto; min-width:0; color:#162437; font-size:.85rem; }
.omni-weather > summary {
  display:flex; align-items:center; gap:.38rem; cursor:pointer; list-style:none;
  min-height:44px; border-radius:4px; padding:0 .7rem; font-weight:700; background:#edf3f8;
}
.omni-weather > summary::-webkit-details-marker { display:none; }
.omni-weather > summary span:first-child { color:#185486; font-size:1.08rem; }
.omni-weather-summary { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:11rem; }
.omni-weather-panel {
  position:absolute; inset-inline-end:0; top:calc(100% + .35rem); z-index:12;
  width:min(100%,20rem); padding:1rem; box-sizing:border-box;
  background:#fcfbf7; border:1px solid #d4dce4; border-radius:5px;
  box-shadow:0 6px 20px #16243724;
}
.omni-weather-panel button {
  cursor:pointer; border:1px solid #185486; border-radius:4px; padding:.5rem .58rem;
  background:#fff; color:#185486; font:inherit; min-height:36px;
}
.omni-weather-panel button:hover { background:#edf3f8; }
.omni-weather-panel .omni-weather-result { margin:0 0 .6rem; font-weight:700; }
.omni-weather-panel .omni-weather-result:empty { display:none; }
.omni-weather-form { margin-top:.8rem; }
.omni-weather-form > div { display:flex; gap:.35rem; margin-top:.2rem; }
.omni-weather-form input {
  flex:1; min-width:0; padding:.4rem .55rem; border:1px solid #a8b6c4; border-radius:4px;
  background:#fff; color:#162437; font:inherit; font-size:1rem;
}
.omni-weather-places { padding:0; list-style:none; margin:.65rem 0 0; max-height:11rem; overflow:auto; }
.omni-weather-places li + li { margin-top:.25rem; }
.omni-weather-places button { width:100%; text-align:start; }
.omni-weather-panel .omni-weather-credit { margin:.65rem 0 0; font-size:.7rem; color:#46596d; }
@media (max-width:760px) {
  .omni-header-tools:has(.omni-weather) { flex-direction:row-reverse; justify-content:space-between; }
  .omni-weather-panel { inset-inline-start:0; inset-inline-end:auto; }
}

.omni-weather-panel {
  width:min(100%, 26rem); max-height:min(70vh, 40rem); overflow:auto; overscroll-behavior:contain;
}
.omni-weather-metrics {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem; margin:.55rem 0;
}
.omni-weather-metrics div { padding:.42rem .55rem; border-radius:4px; background:#edf3f8; }
.omni-weather-metrics dt { font-size:.74rem; color:#46596d; }
.omni-weather-metrics dd { margin:0; font-weight:700; }
.omni-weather-outlook { border-top:1px solid #d4dce4; margin:.65rem 0 0; padding-top:.55rem; }
.omni-weather-outlook h2 { font-size:1rem; margin:0 0 .25rem; }
.omni-weather-outlook ul { padding:0; list-style:none; margin:0; }
.omni-weather-outlook li {
  display:grid; grid-template-columns:minmax(5.8rem,auto) minmax(0,1fr) auto; gap:.35rem;
  align-items:baseline; padding:.32rem 0; border-bottom:1px solid #d4dce466; font-size:.77rem;
}
.omni-weather-outlook li strong { white-space:nowrap; }
.omni-weather-panel .omni-weather-local { font-size:.7rem; color:#46596d; margin:.3rem 0 .45rem; }

