.cw-weather{box-sizing:border-box;color:var(--cw-text);background:var(--cw-bg);border:var(--cw-bw) var(--cw-bs) var(--cw-border);border-radius:var(--cw-br);font-family:var(--cw-font);padding:20px;line-height:1.35;max-width:100%;overflow:hidden}.cw-weather *{box-sizing:border-box}.cw-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.cw-head h3{margin:0 0 4px;font-size:1.35em}.cw-muted{opacity:.72;font-size:.9em}.cw-refresh{border:0;background:transparent;font-size:1.5em;cursor:pointer;color:inherit}.cw-main{display:flex;align-items:center;gap:18px;margin:18px 0}.cw-icon{font-size:4em;line-height:1}.cw-temp{font-size:3em;font-weight:700;line-height:1}.cw-temp span{font-size:.45em;vertical-align:top}.cw-desc{font-size:1.15em;font-weight:600}.cw-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cw-details>div{padding:9px 10px;border:1px solid color-mix(in srgb,currentColor 15%,transparent);border-radius:6px;display:flex;flex-direction:column}.cw-details span{font-size:.78em;opacity:.7}.cw-section{margin-top:22px}.cw-section h4{margin:0 0 10px}.cw-scroll{display:flex;gap:8px;overflow:auto;padding-bottom:6px}.cw-scroll article,.cw-daily-grid article{min-width:92px;text-align:center;padding:10px;border:1px solid color-mix(in srgb,currentColor 15%,transparent);border-radius:6px;background:color-mix(in srgb,var(--cw-bg) 88%,white)}.cw-scroll article{display:flex;flex-direction:column;gap:3px}.cw-small-icon{font-size:1.6em}.cw-daily-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.cw-daily-grid article{display:flex;flex-direction:column;gap:4px;min-width:0}.cw-daily-grid strong span{opacity:.55;font-weight:500}.cw-daily-grid small,.cw-scroll small{font-size:.72em;opacity:.8}.cw-foot{display:flex;justify-content:space-between;gap:10px;font-size:.72em;opacity:.65;margin-top:18px}.cw-error{padding:12px;border:1px solid #d63638;background:#fff0f0}.cw-size-small{font-size:.86em;padding:14px}.cw-size-large{font-size:1.12em;padding:28px}.cw-template-card-horizontal .cw-current{display:grid;grid-template-columns:1.2fr 1fr;gap:18px}.cw-template-card-horizontal .cw-details{grid-column:1/-1}.cw-template-card-vertical{max-width:430px}.cw-template-table .cw-daily-grid{display:table;width:100%;border-collapse:collapse}.cw-template-table .cw-daily-grid article{display:table-cell;border-radius:0}.cw-template-slider .cw-daily-grid{display:flex;overflow:auto}.cw-template-slider .cw-daily-grid article{min-width:130px}.cw-template-tabs .cw-hourly,.cw-template-tabs .cw-daily{border-top:1px solid color-mix(in srgb,currentColor 15%,transparent);padding-top:12px}.cw-chart svg{height:180px;width:100%;background:color-mix(in srgb,var(--cw-bg) 92%,black);border-radius:6px}.cw-chart-range{text-align:right;font-size:.8em;opacity:.7}.cw-debug pre{overflow:auto;max-height:500px;background:#111;color:#eee;padding:12px}.cw-refresh.cw-spin{animation:cwspin .7s linear infinite}@keyframes cwspin{to{transform:rotate(360deg)}}
@media(max-width:900px){.cw-daily-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cw-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.cw-weather{padding:14px}.cw-main{gap:12px}.cw-icon{font-size:3em}.cw-temp{font-size:2.4em}.cw-details{grid-template-columns:1fr 1fr}.cw-daily-grid{display:flex;overflow:auto}.cw-daily-grid article{min-width:105px}.cw-template-card-horizontal .cw-current{display:block}.cw-foot{flex-direction:column}}

/* Aviation / METAR */
.cw-source-note{font-size:.82em;opacity:.72;margin:.45rem 0 0}
.cw-metar{margin-top:1rem}
.cw-metar-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.cw-metar-head h4{margin:0 0 10px}
.cw-flight{display:inline-flex;align-items:center;justify-content:center;font-size:.74em;font-weight:700;letter-spacing:.04em;padding:.28em .55em;border:1px solid currentColor;border-radius:999px}
.cw-flight-vfr{background:#edf8ef}
.cw-flight-mvfr{background:#eef4ff}
.cw-flight-ifr{background:#fff4e6}
.cw-flight-lifr{background:#f9ebf3}
.cw-raw-metar{margin-top:.75rem;padding:.7rem;border:1px solid var(--cw-border);border-radius:calc(var(--cw-br) * .6);overflow-wrap:anywhere}
.cw-raw-metar strong{display:block;margin-bottom:.35rem}
.cw-raw-metar code{white-space:normal}
.cw-daily-card{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.cw-daily-card:hover,.cw-daily-card:focus-visible{transform:translateY(-2px);box-shadow:0 4px 14px color-mix(in srgb,currentColor 16%,transparent);outline:none;border-color:color-mix(in srgb,currentColor 38%,transparent)}.cw-daily-card.cw-day-selected{box-shadow:0 0 0 2px currentColor inset}.cw-daily-card[role="button"]{-webkit-tap-highlight-color:transparent}

/* Compact current-weather summary shortcode - sized and centered for Elementor Call to Action widgets */
.cw-weather-summary{box-sizing:border-box;color:var(--cw-text);background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-family:var(--cw-font);padding:16px 20px 22px;line-height:1.3;width:100%;max-width:520px;overflow:visible;margin:0 auto;text-align:center}
.cw-weather-summary *{box-sizing:border-box}
.cw-summary-head{padding:0;margin:0 auto;text-align:center}
.cw-summary-head h3{margin:0 0 4px;font-size:clamp(1.05rem,1.8vw,1.32rem);line-height:1.18;font-weight:700;letter-spacing:-.01em;text-align:center}
.cw-summary-head .cw-muted{font-size:clamp(.76rem,1.05vw,.88rem);line-height:1.35;text-align:center}
.cw-summary-main{display:flex;align-items:center;justify-content:center;gap:14px;margin:14px auto 0;padding:0 0 6px;text-align:center}
.cw-summary-icon{font-size:2.65em;line-height:1;min-width:1.15em;text-align:center;flex:0 0 auto}
.cw-summary-reading{min-width:0;padding:0;text-align:center}
.cw-summary-temp{font-size:clamp(2rem,3.5vw,2.7rem);font-weight:700;line-height:.98;margin:0 0 4px;text-align:center}
.cw-summary-temp span{font-size:.43em;vertical-align:top;margin-left:1px}
.cw-summary-desc{font-size:clamp(.94rem,1.45vw,1.08rem);font-weight:700;line-height:1.2;margin:0 0 4px;text-align:center}
.cw-summary-reading .cw-muted{font-size:clamp(.76rem,1.05vw,.88rem);line-height:1.35;margin:0;text-align:center}
@media(max-width:600px){.cw-weather-summary{padding:16px 12px 24px;max-width:100%;margin:0 auto}.cw-summary-head h3{font-size:1.22rem;line-height:1.18;margin-bottom:6px}.cw-summary-head .cw-muted{font-size:.92rem;line-height:1.35}.cw-summary-main{gap:15px;margin:16px auto 0;padding-bottom:7px;justify-content:center;align-items:center}.cw-summary-icon{font-size:3.45em;min-width:1.1em}.cw-summary-temp{font-size:3.08rem;line-height:.96;margin-bottom:6px}.cw-summary-desc{font-size:1.18rem;line-height:1.18;margin-bottom:6px}.cw-summary-reading .cw-muted{font-size:.94rem;line-height:1.3}}


/* Current conditions + launch-field METAR wind visualization */
.cw-head-with-wind{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.cw-head-location{min-width:0;padding-top:2px}
.cw-head-with-wind .cw-refresh{flex:0 0 auto;align-self:start}
.cw-current-hero{display:block;margin:18px 0}
.cw-current-hero-with-map{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(185px,250px);
  gap:22px;
  align-items:center;
}
.cw-current-primary{min-width:0}
.cw-current-primary .cw-main{margin:0;align-items:center}
.cw-current-hero + .cw-details{margin-top:4px}

.cw-wind-field{min-width:0;margin:0;width:100%;max-width:250px;justify-self:end}
.cw-wind-field-map{
  position:relative;
  width:100%;
  overflow:hidden;
  border:1px solid color-mix(in srgb,currentColor 18%,transparent);
  border-radius:calc(var(--cw-br) * .75);
  background:#dce6d2;
  aspect-ratio:1374/1145;
}
.cw-wind-field-map>img{display:block;width:100%;height:100%;object-fit:cover}
.cw-wind-field-north{
  position:absolute;
  top:9px;
  left:9px;
  z-index:4;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-width:30px;
  padding:5px 5px 4px;
  border-radius:8px;
  background:rgba(0,0,0,.38);
  color:#fff;
  font-size:.68rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.04em;
  text-shadow:0 1px 2px rgba(0,0,0,.8);
  box-shadow:0 1px 4px rgba(0,0,0,.22);
  pointer-events:none;
}
.cw-wind-field-north-icon{
  display:block;
  width:15px;
  height:19px;
  margin-bottom:2px;
  fill:currentColor;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.5));
}
.cw-wind-field-arrow,.cw-wind-field-state{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  z-index:3;
}
.cw-wind-field-arrow{
  width:clamp(50px,5.5vw,82px);
  height:clamp(88px,9.5vw,145px);
  transform:translate(-50%,-50%) rotate(var(--cw-wind-from));
  transform-origin:50% 50%;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.34));
}
.cw-wind-field-arrow svg{
  width:100%;
  height:100%;
  display:block;
  overflow:visible;
  /* Reference-style fade: keep the head and most of the shaft crisp, then dissolve only the rear tail. */
  -webkit-mask-image:linear-gradient(to bottom,
    #000 0%,
    #000 54%,
    rgba(0,0,0,.98) 60%,
    rgba(0,0,0,.90) 66%,
    rgba(0,0,0,.76) 72%,
    rgba(0,0,0,.58) 78%,
    rgba(0,0,0,.39) 84%,
    rgba(0,0,0,.22) 90%,
    rgba(0,0,0,.09) 96%,
    transparent 100%);
  mask-image:linear-gradient(to bottom,
    #000 0%,
    #000 54%,
    rgba(0,0,0,.98) 60%,
    rgba(0,0,0,.90) 66%,
    rgba(0,0,0,.76) 72%,
    rgba(0,0,0,.58) 78%,
    rgba(0,0,0,.39) 84%,
    rgba(0,0,0,.22) 90%,
    rgba(0,0,0,.09) 96%,
    transparent 100%);
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
}
.cw-wind-field-arrow path{
  fill:rgba(47,128,237,.52);
  stroke:rgba(255,255,255,.72);
  stroke-width:5;
  stroke-linejoin:round;
  paint-order:stroke fill;
}
.cw-wind-arrow-speed{
  position:absolute;
  left:50%;
  top:58%;
  transform:translate(-50%,-50%) rotate(var(--cw-wind-counter));
  transform-origin:center;
  color:#fff;
  font-size:clamp(.56rem,.72vw,.74rem);
  line-height:1;
  font-weight:800;
  letter-spacing:-.01em;
  white-space:nowrap;
  text-shadow:0 1px 3px rgba(0,0,0,.88);
  pointer-events:none;
}
.cw-wind-field-state{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:62px;
  min-height:62px;
  padding:9px;
  border-radius:999px;
  background:rgba(20,24,29,.76);
  border:2px solid rgba(255,255,255,.82);
  color:#fff;
  font-weight:800;
  font-size:.86rem;
  letter-spacing:.06em;
  box-shadow:0 2px 8px rgba(0,0,0,.25);
}

@media(max-width:900px){
  .cw-current-hero-with-map{grid-template-columns:minmax(0,1fr) minmax(165px,215px);gap:16px}
  .cw-wind-field{max-width:215px}
}
@media(max-width:600px){
  .cw-head-with-wind{gap:10px}
  .cw-current-hero{margin:14px 0 16px}
  .cw-current-hero-with-map{display:flex;flex-direction:column;align-items:stretch;gap:14px}
  .cw-current-primary{width:100%}
  .cw-current-primary .cw-main{margin:0}
  .cw-current-hero-with-map .cw-wind-field{width:min(78%,260px);max-width:260px;margin:0 auto;align-self:center}
  .cw-wind-field-arrow{width:58px;height:102px}
  .cw-wind-arrow-speed{font-size:.62rem}
  .cw-wind-field-state{min-width:56px;min-height:56px;font-size:.76rem}
}


/* Click-to-enlarge launch-field wind map */
.cw-wind-field-open{
  display:block;
  padding:0;
  font:inherit;
  color:inherit;
  text-align:inherit;
  cursor:zoom-in;
  appearance:none;
  -webkit-appearance:none;
}
.cw-wind-field-open:focus-visible{
  outline:3px solid color-mix(in srgb,currentColor 60%,transparent);
  outline-offset:3px;
}
.cw-wind-field-tooltip{
  position:absolute;
  left:50%;
  bottom:12px;
  z-index:10;
  display:block;
  padding:6px 9px;
  border-radius:6px;
  background:rgba(17,19,21,.94);
  color:#fff;
  font-size:12px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:0;
  white-space:nowrap;
  box-shadow:0 2px 8px rgba(0,0,0,.32);
  pointer-events:none;
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,6px);
  transition:opacity .15s ease,transform .15s ease,visibility .15s ease;
}
.cw-wind-field-open:hover .cw-wind-field-tooltip,
.cw-wind-field-open:focus-visible .cw-wind-field-tooltip{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
}
.cw-wind-lightbox{
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,.82);
}
.cw-wind-lightbox[hidden]{display:none}
.cw-wind-lightbox-dialog{
  position:relative;
  width:min(1100px,94vw);
  max-height:92vh;
}
.cw-wind-lightbox-map{
  position:relative;
  width:100%;
  max-height:86vh;
  overflow:hidden;
  border-radius:12px;
  background:#dce6d2;
  aspect-ratio:1374/1145;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
}
.cw-wind-lightbox-map>img{display:block;width:100%;height:100%;object-fit:cover}
.cw-wind-lightbox-map .cw-wind-field-arrow,.cw-wind-lightbox-map .cw-wind-field-state{
  position:absolute;
  left:50%;
  top:50%;
  z-index:3;
}
.cw-wind-lightbox-map .cw-wind-field-arrow{
  width:clamp(90px,11vw,165px);
  height:clamp(158px,19vw,290px);
  transform:translate(-50%,-50%) rotate(var(--cw-wind-from));
  transform-origin:50% 50%;
}
.cw-wind-lightbox-map .cw-wind-arrow-speed{font-size:clamp(.86rem,1.35vw,1.25rem)}
.cw-wind-lightbox .cw-wind-lightbox-close{
  position:absolute;
  right:14px;
  top:14px;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  min-width:36px;
  height:36px;
  min-height:36px;
  margin:0;
  padding:0;
  border:1px solid rgba(255,255,255,.35) !important;
  border-radius:50% !important;
  background:rgba(18,20,22,.72) !important;
  color:#fff !important;
  font-family:Arial,sans-serif;
  font-size:25px;
  font-weight:300;
  line-height:1;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  box-shadow:0 3px 12px rgba(0,0,0,.28);
  transition:background .15s ease,transform .15s ease,border-color .15s ease;
}
.cw-wind-lightbox .cw-wind-lightbox-close:hover{
  background:rgba(18,20,22,.94) !important;
  border-color:rgba(255,255,255,.65) !important;
  transform:scale(1.06);
}
.cw-wind-lightbox .cw-wind-lightbox-close:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
}
@media(max-width:600px){
  .cw-wind-lightbox{padding:12px}
  .cw-wind-lightbox-dialog{width:96vw}
  .cw-wind-lightbox .cw-wind-lightbox-close{right:10px;top:10px;width:34px;min-width:34px;height:34px;min-height:34px;font-size:23px}
}

/* Refined refresh button - resist theme/global button styling */
.cw-weather button.cw-refresh{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid color-mix(in srgb,currentColor 18%,transparent)!important;
  border-radius:999px!important;
  background:#ff5101!important;
  color:#fff!important;
  font-family:inherit!important;
  font-size:1.3rem!important;
  font-weight:600!important;
  line-height:1!important;
  text-decoration:none!important;
  cursor:pointer!important;
  box-shadow:0 2px 8px rgba(0,0,0,.08)!important;
  transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,opacity .18s ease!important;
}
.cw-weather button.cw-refresh .cw-refresh-icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  text-align:center!important;
  transform:translateY(-1px);
  pointer-events:none;
}
.cw-weather button.cw-refresh:hover{
  background:#e94a00!important;
  border-color:color-mix(in srgb,currentColor 30%,transparent)!important;
  color:#fff!important;
  box-shadow:0 4px 12px rgba(0,0,0,.12)!important;
}
.cw-weather button.cw-refresh:active{
  background:#d94400!important;
  box-shadow:0 1px 4px rgba(0,0,0,.12)!important;
}
.cw-weather button.cw-refresh:focus-visible{
  outline:2px solid currentColor!important;
  outline-offset:3px!important;
}

