
/* ===== WeatherPower site look (Oct 22, 2026) =====
   Matches the homepage: solid slate background, flat cards and buttons, no glows or glass blur,
   the new top bar on computers and a menu button on phones. Applies to the default theme only. */
:root:is(:not([data-theme]),[data-theme="midnight"]){
  --fl-page:#0f1218; --fl-bar:#13171e; --fl-card:#181c24; --fl-tile:#1f242e; --fl-line:rgba(255,255,255,.08);
}
html:is(:not([data-theme]),[data-theme="midnight"]) body{background:var(--fl-page)!important;background-image:none!important}
html:is(:not([data-theme]),[data-theme="midnight"]) body *:not(.wp-drawer-link){box-shadow:none!important;text-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html:is(:not([data-theme]),[data-theme="midnight"]) body :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]){
  background:var(--fl-tile)!important;border-color:rgba(255,255,255,.10)!important;color:#e6ecff}
html:is(:not([data-theme]),[data-theme="midnight"]) body :is(input,select,textarea):focus{outline:2px solid #3b82f6;outline-offset:0}

/* buttons and pills: flat, small corners */
html body .pill{border-radius:7px!important;font-weight:600}
html:is(:not([data-theme]),[data-theme="midnight"]) body :is(button,a).pill{background:rgba(255,255,255,.06)!important;background-image:none!important;
  border:1px solid rgba(255,255,255,.10)!important;color:#e6ecff!important;transform:none!important;filter:none!important}
html:is(:not([data-theme]),[data-theme="midnight"]) body :is(button,a).pill:hover{background:rgba(255,255,255,.11)!important}
html body :is(button,a).pill::after{display:none!important}
.wp-ripple{display:none!important}

/* top bar */
html:is(:not([data-theme]),[data-theme="midnight"]) body header.appbar{background:var(--fl-bar)!important;background-image:none!important;border-bottom:1px solid var(--fl-line)!important}
html body .appbar .wp-brand-app-icon{box-shadow:none!important;filter:none!important}
@media (min-width:900px){
  html body header.appbar{min-height:64px!important;padding:0 20px!important;gap:16px!important;align-items:stretch!important;flex-wrap:nowrap!important;display:flex!important}
  html body header.appbar{justify-content:flex-start!important}   /* links sit next to the logo, like the homepage */
  html body header.appbar > :not(nav){align-self:center}
  html body header.appbar > :is(.row,.meta-right,.btn){margin-left:auto}   /* the page's own buttons go to the right */
  html body .appbar nav.wpnav{position:static!important;inset:auto!important;transform:none!important;display:flex!important;align-self:stretch!important;align-items:stretch!important;
    gap:2px!important;width:auto!important;max-width:none!important;height:auto!important;margin:0 0 0 8px!important;padding:0!important;border:0!important;border-radius:0!important;
    background:none!important;z-index:auto!important;opacity:1!important;visibility:visible!important}
  html body .appbar nav.wpnav::before,html body .appbar nav.wpnav::after{display:none!important}
  html body .appbar nav.wpnav a{flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;gap:7px!important;min-height:0!important;min-width:0!important;height:auto!important;
    padding:0 11px!important;border-radius:0!important;background:none!important;color:rgba(226,232,255,.72)!important;font-size:13.5px!important;font-weight:600!important;
    letter-spacing:0!important;text-transform:none!important;text-decoration:none;transform:none!important;opacity:1!important}
  html body .appbar nav.wpnav a small{display:inline!important;font-size:13.5px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;margin:0!important}
  html body .appbar nav.wpnav .wpnav-icon{display:block!important;width:19px!important;height:19px!important;margin:0!important}
  html body .appbar nav.wpnav .wpnav-day-icon{display:flex!important;width:24px!important;height:19px!important;border-radius:5px!important;background:none!important;
    border:2px solid currentColor!important;color:inherit!important;font-size:10px!important;font-weight:800!important;margin:0!important}
  html body .appbar nav.wpnav a:hover{color:#fff!important}
  html body .appbar nav.wpnav a:is(.active,[aria-current="page"]){color:#fff!important;box-shadow:inset 0 -3px 0 #3b82f6!important}
  html body .appbar nav.wpnav a::before,html body .appbar nav.wpnav a::after{display:none!important}
  /* right-side buttons */
  html body .appbar .row{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important}
  html body .appbar #updateTag{display:none!important}
  html body .appbar .row :is(.pill,button.pill){height:36px;display:inline-flex!important;align-items:center;justify-content:center;padding:0 12px!important;border-radius:8px!important;font-size:13px!important}
  html body .appbar #accountBtn{background:#3b82f6!important;border-color:#3b82f6!important;color:#fff!important}
  /* nothing to make room for at the bottom any more */
  body.wp-nav-top{padding-bottom:0!important}
  body.wp-nav-top :is(#nav-spacer,.nav-spacer,#wp-robust-nav-spacer){display:none!important}
  html:has(body.wp-nav-top){--wpnav-h:0px!important}
}
@media (min-width:900px) and (max-width:1180px){
  html body .appbar nav.wpnav a small{display:none!important}
  html body .appbar nav.wpnav a{padding:0 12px!important}
}
html body .appbar #adminDashBtn[style*="none"]{display:none!important}

/* phones: menu button, logo, then the page's own buttons; the bottom bar and floating Menu button go away */
.wp-drawer-btn{display:none}
@media (max-width:899px){
  html body header.appbar{display:flex!important;align-items:center!important;flex-wrap:wrap;gap:8px 10px!important}
  .wp-drawer-btn{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:9px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#e6ecff;cursor:pointer}
  .wp-drawer-btn svg{width:20px;height:20px}
  html body nav.wpnav,html body .wpMobileToggle,html body :is(#nav-spacer,.nav-spacer,#wp-robust-nav-spacer){display:none!important}
  /* the page's own buttons wrap onto their own line instead of running off the screen */
  html body header.appbar > :is(.row,.meta-right){flex-wrap:wrap!important;width:100%;gap:6px!important;margin-left:0!important}
  html body header.appbar #updateTag{display:none!important}
  html body header.appbar > .brand{min-width:0;flex:1 1 auto}
  html body{padding-bottom:0!important}
  html{--wpnav-h:0px!important}
}

/* slide-out menu */
.wp-drawer-scrim{position:fixed;inset:0;z-index:6000;background:rgba(0,0,0,.5)}
.wp-drawer-scrim[hidden]{display:none}
.wp-drawer{position:fixed;top:0;left:0;bottom:0;z-index:6001;width:min(320px,86vw);overflow:auto;padding:12px 10px 24px;
  background:#181c24;border-right:1px solid rgba(255,255,255,.08);color:#e6ecff;transform:translateX(-102%);transition:transform .2s ease;visibility:hidden;font-family:inherit}
.wp-drawer.open{transform:none;visibility:visible}
@media (prefers-reduced-motion:reduce){.wp-drawer{transition:none}}
html.wp-drawer-open,html.wp-drawer-open body{overflow:hidden}
.wp-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:4px 6px 12px;border-bottom:1px solid rgba(255,255,255,.07);margin-bottom:8px}
.wp-drawer-head b{font-size:16px;font-weight:800}
.wp-drawer-close{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;border:0;background:rgba(255,255,255,.06);color:#e6ecff;cursor:pointer}
.wp-drawer-close svg{width:18px;height:18px}
.wp-drawer-section{display:grid;gap:2px;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.07)}
.wp-drawer-section:last-child{border-bottom:0}
.wp-drawer-section h4{margin:6px 10px 4px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8b98b8}
.wp-drawer-link{appearance:none;display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 10px;border:0;border-radius:8px;background:none;
  color:#e6ecff;font-weight:600;font-size:15px;font-family:inherit;text-decoration:none;text-align:left;cursor:pointer}
.wp-drawer-link:hover,.wp-drawer-link:focus-visible{background:rgba(255,255,255,.06)}
.wp-drawer-link.here{background:rgba(59,130,246,.14);color:#fff;box-shadow:inset 3px 0 0 #3b82f6}
.wp-drawer-link svg{width:20px;height:20px;flex:none;color:#8b98b8}
@media (min-width:900px){ .wp-drawer,.wp-drawer-scrim{display:none!important} }


/* Computers: keep the menu hidden until the site-look script moves it into the top bar, so the old bottom bar never
   flashes while the page loads. Shows on its own after 2.5 s if the move never happens. */
@keyframes wpNavHold{0%,100%{visibility:hidden}}
@media (min-width:900px){ body:not(.wp-nav-top) nav.wpnav{animation:wpNavHold 2.5s} }