/* Shares the Planner's warm paper palette and stays compact when closed. */
.weather-card { padding: 0; min-width: 0; overflow-wrap: anywhere; scroll-margin-top: 16px; }
.wx-heading { margin: 0; color: var(--fg); letter-spacing: 0; }
.wx-toggle { width: 100%; min-height: 76px; border: 0; border-radius: var(--radius); background: transparent; text-align: left; display: flex; align-items: center; gap: 12px; padding: 16px; cursor: pointer; }
.wx-toggle:focus-visible { outline-offset: -3px; }
.wx-mark { width: 28px; height: 28px; border: 2px solid var(--accent); border-radius: 50%; position: relative; flex: 0 0 28px; opacity: .85; }
.wx-mark::after { content: ""; position: absolute; width: 22px; height: 12px; right: -5px; bottom: -2px; border: 2px solid var(--accent); border-radius: 10px; background: var(--card); }
.wx-heading-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.wx-title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.wx-compact { font-size: 12px; line-height: 1.5; color: var(--muted); font-weight: 400; }
.wx-toggle-label { font-size: 12px; font-weight: 400; color: var(--muted); flex: 0 0 auto; }
.wx-body { padding: 0 16px 16px; min-width: 0; }
.wx-temperatures { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.wx-temperatures > div { display: flex; flex-direction: column; gap: 4px; }
.wx-label { font-size: 12px; color: var(--muted); }
.wx-temperatures strong { font-size: 22px; line-height: 1.3; font-weight: 500; font-variant-numeric: tabular-nums; }
.wx-feels { color: var(--accent); }
.wx-clothing { margin-top: 16px; padding: 12px; border-radius: 10px; background: var(--chip); }
.wx-clothing h3 { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.wx-clothing ul { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.65; }
.wx-clothing li + li { margin-top: 4px; }
.wx-facts { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; margin-top: 12px; }
.wx-facts p { font-size: 13px; line-height: 1.65; margin: 0; }
.wx-facts b { font-weight: 600; }
.wx-fact-note { display: block; font-size: 12px; color: var(--muted); }
.wx-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.weather-card .btn { min-height: 44px; }
.wx-copy, .wx-notice, .wx-error { font-size: 12px; line-height: 1.65; margin: 8px 0 0; }
.wx-copy { color: var(--muted); }
.wx-notice { color: var(--warn); }
.wx-error { color: var(--bad); }
.wx-settings { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.wx-settings summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 13px; color: var(--muted); list-style: none; }
.wx-settings summary::-webkit-details-marker { display: none; }
.wx-settings summary::before { content: "▸"; margin-right: 8px; }
.wx-settings[open] summary::before { content: "▾"; }
.wx-time-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.wx-time-row input { width: 112px; min-width: 0; min-height: 44px; color-scheme: light dark; }
.wx-check { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.6; min-height: 44px; margin-top: 4px; }
.wx-check input { width: 20px; height: 20px; margin: 0; flex: 0 0 20px; accent-color: var(--accent); }
.wx-settings > button { margin-top: 12px; }
.wx-meta { font-size: 11px; line-height: 1.7; color: var(--muted); margin: 12px 0 0; }
.wx-meta > span { display: block; }
.weather-card button:disabled, .weather-card input:disabled { opacity: .6; }
@media (max-width: 360px) {
  .wx-toggle { gap: 8px; padding: 12px; }
  .wx-body { padding: 0 12px 12px; }
  .wx-mark { display: none; }
  .wx-facts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .wx-temperatures strong { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .weather-card { scroll-behavior: auto; } }
