/* Make It Mine weather (mine-weather.mjs): the panel above the itinerary and the tag on each day heading, on
   phones and on desktop. Matches Plan a Trip's "Weather for your dates". */
:root{--mw-line:#d6e6ec;--mw-soft:#f2f9fb;--mw-surface:#fff;--mw-ink:#0b315c;--mw-muted:#58758b;--mw-accent:#007f94;--mw-on:#fff;--mw-warn:#fff7e6;--mw-warn-line:#f1d79a}
html[data-theme=dark]{--mw-line:#3f5b69;--mw-soft:#1d2327;--mw-surface:#131719;--mw-ink:#e8f3f8;--mw-muted:#b7cbd8;--mw-accent:#80ded1;--mw-on:#102b2b;--mw-warn:#2a2416;--mw-warn-line:#6b5a2c}
.mw-panel{margin:0 0 16px;padding:14px 16px;border:1px solid var(--mw-line);border-radius:14px;background:var(--mw-soft);color:var(--mw-ink);font-family:Arial,Helvetica,sans-serif}
.mw-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}
.mw-head h3{margin:0;color:var(--mw-ink);font:700 16px/1.3 Arial,Helvetica,sans-serif}
.mw-head h3:focus{outline:none}
.mw-head a{color:var(--mw-accent);font-size:12px}
.mw-note{margin:6px 0 10px;font-size:13px;line-height:1.45}
.mw-season{margin:-4px 0 10px;font-size:12px;color:var(--mw-muted)}
.mw-days{list-style:none;display:flex;gap:6px;margin:0;padding:0 0 4px;overflow-x:auto;scrollbar-width:thin}
.mw-day{flex:0 0 72px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 4px;border:1px solid var(--mw-line);border-radius:10px;background:var(--mw-surface);font-size:11px;text-align:center}
.mw-date{display:flex;flex-direction:column;color:var(--mw-muted);line-height:1.25}
.mw-date strong{color:var(--mw-ink);font-size:12px}
.mw-icon,.mw-tag-icon{font-family:'Segoe UI Emoji','Apple Color Emoji','Noto Color Emoji',sans-serif}
.mw-icon{font-size:20px;line-height:1.15}
.mw-temp{font-weight:700}
.mw-temp small,.mw-tag small{font-weight:400;color:var(--mw-muted)}
.mw-rain{color:var(--mw-muted)}
.mw-tips{margin:12px 0 0;padding:10px 12px;border:1px solid var(--mw-warn-line);border-radius:10px;background:var(--mw-warn)}
.mw-tips h4{margin:0 0 6px;color:var(--mw-ink);font:700 13px Arial,Helvetica,sans-serif}
.mw-tips ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.mw-tips li{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;line-height:1.45}
.mw-tips strong{font-weight:700}
html body .mw-panel .mw-move{flex:none;display:inline-flex;align-items:center;min-height:36px;margin:0;padding:0 16px;border:1px solid var(--mw-accent);border-radius:18px;background:var(--mw-surface);color:var(--mw-accent);font:700 13px/1 Arial,Helvetica,sans-serif;white-space:nowrap;cursor:pointer}
html body .mw-panel .mw-move:hover{background:var(--mw-accent);color:var(--mw-on)}
.mw-move:focus-visible{outline:2px solid var(--mw-accent);outline-offset:2px}
.mw-fine{margin:8px 0 0;font-size:11px;color:var(--mw-muted)}
.mw-tag{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:2px 8px;border:1px solid var(--mw-line);border-radius:11px;background:var(--mw-surface);color:var(--mw-ink);font:700 12px Arial,Helvetica,sans-serif;white-space:nowrap}
.mw-tag.is-wet,.mw-tag.is-snow,.mw-tag.is-storm{border-color:var(--mw-warn-line);background:var(--mw-warn)}
/* The day headings style their own spans (date text); keep the tag's colours and size. */
html body :is(.mine-day-label,.mm-day)>.mw-tag{align-self:flex-start;width:auto;color:var(--mw-ink);font-size:12px;font-weight:700}
html body .mm-day>.mw-tag{align-self:center}
html body :is(.mine-day-label,.mm-day)>.mw-tag span{color:inherit;font-size:inherit}
html body :is(.mine-day-label,.mm-day)>.mw-tag small{color:var(--mw-muted);font-size:inherit}
/* Phones: tips stack, and the day tag sits under the date. */
@media(max-width:600px){
 .mw-tips li{flex-direction:column;align-items:flex-start;gap:6px}
 .mine-day-label .mw-tag{margin:2px 0 0}
}
/* Plan a Trip, Review your itinerary: the weather beside each day tab's number. */
html body .pt-day-tabs button strong{display:flex;align-items:center;justify-content:space-between;gap:6px}
.mw-mini{display:inline-flex;align-items:center;gap:2px;color:var(--mw-ink);font:700 12px Arial,Helvetica,sans-serif;white-space:nowrap}
html body .pt-timeline-heading h3>.mw-tag{margin:6px 0 0;align-self:flex-start}
/* The summary as labelled chips, a short season note, rain with a drop, and the fine print folded away. */
.mw-head{align-items:center;margin-bottom:10px}
html body .mw-head .mw-credit{padding:3px 9px;border:1px solid var(--mw-line);border-radius:999px;background:var(--mw-surface);color:var(--mw-muted);font-size:11px;font-weight:700;text-decoration:none}
html body .mw-head .mw-credit:hover{color:var(--mw-accent);border-color:var(--mw-accent)}
.mw-stats{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px;padding:0;list-style:none}
.mw-stat{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid var(--mw-line);border-radius:999px;background:var(--mw-surface);color:var(--mw-ink);font-size:12px;font-weight:700}
.mw-stat svg{color:var(--mw-accent)}
.mw-stat.is-rain{border-color:var(--mw-warn-line);background:var(--mw-warn)}
.mw-stat.is-rain svg{color:#3a6fc4}
html[data-theme=dark] .mw-stat.is-rain svg{color:#8fb3ff}
.mw-stat.is-dry svg{color:#d99a00}
.mw-stat.is-temp svg{color:#c0567a}
.mw-season{display:flex;align-items:flex-start;gap:6px;margin:0 0 10px;font-size:12px;line-height:1.45;color:var(--mw-muted)}
.mw-season svg{flex:none;margin-top:1px}
.mw-rain{display:inline-flex;align-items:center;gap:3px;color:var(--mw-muted)}
.mw-rain svg{color:#3a8fd8}
.mw-about{margin:10px 0 0}
.mw-about summary{display:inline-flex;align-items:center;gap:6px;color:var(--mw-muted);font-size:12px;font-weight:700;cursor:pointer;list-style:none}
.mw-about summary::-webkit-details-marker{display:none}
.mw-about summary::before{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .15s}
.mw-about[open] summary::before{transform:rotate(45deg)}
.mw-about .mw-fine{margin-top:6px}
.mm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
