/* In-app weather preferences; all rules stay inside the new panels. */
#wt_preferences,#wt_preferences_warning,#wt_preferences_feed_note{--wtp-navy:#142a43;--wtp-steel:#36546f;--wtp-muted:#5d7083;--wtp-border:#dce5ee;--wtp-blue:#176bdd;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5;letter-spacing:0;text-align:left;box-sizing:border-box}
#wt_preferences *,#wt_preferences_warning *,#wt_preferences_feed_note *{box-sizing:border-box}
#wt_preferences [hidden],#wt_preferences_warning[hidden],#wt_preferences_feed_note[hidden]{display:none!important}
#wt_preferences{max-width:600px;margin:24px auto;background:#fff;color:var(--wtp-navy);border:1px solid var(--wtp-border);border-radius:16px;box-shadow:0 5px 18px #0c182217;overflow:hidden;scroll-margin-top:24px}
#wt_preferences button,#wt_preferences input,#wt_preferences_warning button,#wt_preferences_feed_note button{font-family:inherit;letter-spacing:0;touch-action:manipulation}
#wt_preferences button,#wt_preferences_warning button,#wt_preferences_feed_note button{appearance:none;float:none;width:auto;min-width:0;max-width:100%;margin:0;cursor:pointer;text-transform:none;box-shadow:none;text-shadow:none}
#wt_preferences :focus-visible,#wt_preferences_warning :focus-visible,#wt_preferences_feed_note :focus-visible{outline:3px solid #78acef;outline-offset:3px}
#wt_preferences button:disabled,#wt_preferences input:disabled{opacity:.55;cursor:default}
#wt_preferences h3,#wt_preferences p{font-family:inherit;letter-spacing:0;padding:0;margin:0;color:inherit;text-transform:none}
#wt_preferences .wtp-heading{padding:20px;display:flex;align-items:center;gap:16px;background:#f8fafc;border-bottom:1px solid var(--wtp-border)}
#wt_preferences .wtp-heading>div{flex:1;min-width:0}
#wt_preferences h3{font-size:17px;font-weight:700;line-height:1.3}
#wt_preferences [data-wtp-summary]{font-size:12px;color:var(--wtp-muted);line-height:1.5;margin-top:7px}
#wt_preferences .wtp-edit{flex:none;border:1px solid #bacbda;border-radius:9px;background:#fff;color:var(--wtp-steel);font-size:12px;font-weight:650;padding:10px 12px;min-height:42px;line-height:1.3}
#wt_preferences .wtp-edit:hover{background:#edf3f8}
#wt_preferences .wtp-tabs{display:flex;gap:5px;margin:17px 20px;padding:4px;border-radius:11px;background:#edf2f7}
#wt_preferences .wtp-tabs button{flex:1;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--wtp-muted);font-size:13px;font-weight:650;line-height:1.4;min-height:40px}
#wt_preferences .wtp-tabs button[aria-selected=true]{background:#fff;color:var(--wtp-navy);box-shadow:0 1px 4px #142a4317}
#wt_preferences [role=tabpanel]{padding:0 20px}
#wt_preferences .wtp-picker{display:block;width:auto;min-width:0;max-width:100%;border:0;padding:0;margin:0 0 25px;color:var(--wtp-navy)}
#wt_preferences legend{display:flex;align-items:center;gap:8px;padding:0;margin:0 0 4px;font-size:14px;font-weight:700;color:var(--wtp-navy)}
#wt_preferences .wtp-count{font-size:10px;font-weight:700;min-width:20px;line-height:20px;text-align:center;border-radius:6px;background:#eaf2fd;color:#225b9d}
#wt_preferences .wtp-help{font-size:12px;line-height:1.5;color:var(--wtp-muted)}
#wt_preferences .wtp-chips{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 10px;min-height:31px;align-items:center}
#wt_preferences .wtp-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 4px 3px 10px;border-radius:8px;background:#eaf2fd;border:1px solid #d3e4fa;color:#21588e;font-size:12px;line-height:1.4;font-weight:600}
#wt_preferences .wtp-chip>span{min-width:0;overflow-wrap:anywhere}
#wt_preferences .wtp-chip-existing{background:#f1f3f5;border-color:#dce3e8;color:#526779}
#wt_preferences .wtp-chip-remove{padding:0;width:27px;height:27px;min-height:27px;flex:none;display:grid;place-items:center;background:none;color:inherit;border:0;border-radius:5px;font-size:22px;line-height:1}
#wt_preferences .wtp-chip-remove:hover{background:#d6e6fb}
#wt_preferences .wtp-empty{font-size:12px;color:var(--wtp-muted);font-weight:400}
#wt_preferences .wtp-county-search{display:block;appearance:none;float:none;width:100%;min-width:0;max-width:100%;min-height:44px;margin:0;padding:10px 12px;border:1px solid #bacbda;border-radius:9px;background:#fff;color:var(--wtp-navy);font-size:16px;line-height:1.4;box-shadow:none}
#wt_preferences .wtp-county-search::placeholder{color:#66788a;opacity:1}
#wt_preferences .wtp-county-options{max-height:224px;overflow:auto;overscroll-behavior:contain;margin-top:7px;border:1px solid var(--wtp-border);border-radius:9px;background:#fff;-webkit-overflow-scrolling:touch}
#wt_preferences .wtp-county-option{width:100%;display:flex;align-items:center;gap:10px;min-height:43px;border:0;border-bottom:1px solid #edf2f7;border-radius:0;background:#fff;color:var(--wtp-navy);padding:10px 12px;text-align:left;font-size:13px;line-height:1.4}
#wt_preferences .wtp-county-option:last-child{border-bottom:0}
#wt_preferences .wtp-county-option:hover{background:#f3f7fc}
#wt_preferences .wtp-county-option[aria-pressed=true]{background:#f1f6fe}
#wt_preferences .wtp-choice-mark{height:19px;width:19px;flex:none;border:1px solid #a8bacb;border-radius:5px;display:grid;place-items:center;color:#fff;font-size:13px;font-weight:700;line-height:1}
#wt_preferences .wtp-county-option[aria-pressed=true] .wtp-choice-mark{background:var(--wtp-blue);border-color:var(--wtp-blue)}
#wt_preferences .wtp-county-options>.wtp-empty{padding:15px}
#wt_preferences .wtp-notification{display:flex;align-items:center;gap:17px;text-align:left;width:auto;float:none;padding:15px 0;margin:0;border-bottom:1px solid #e7edf3;cursor:pointer}
#wt_preferences .wtp-notification:last-child{border-bottom:0}
#wt_preferences .wtp-notification-copy{flex:1;min-width:0}
#wt_preferences .wtp-notification-copy strong{display:block;font-size:14px;color:var(--wtp-navy);font-weight:650;line-height:1.4}
#wt_preferences .wtp-notification-copy>span{display:block;font-size:12px;color:var(--wtp-muted);line-height:1.5;margin-top:5px}
#wt_preferences .wtp-notification input{appearance:none;-webkit-appearance:none;display:block;flex:none;width:44px;min-width:44px;max-width:44px;height:26px;min-height:26px;padding:0;margin:0;border:1px solid #b3c2cf;border-radius:20px;background:#c5d0da;position:relative;cursor:pointer;box-shadow:none}
#wt_preferences .wtp-notification input:before{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #142a432b;transition:transform .15s}
#wt_preferences .wtp-notification input:checked{background:var(--wtp-blue);border-color:var(--wtp-blue)}
#wt_preferences .wtp-notification input:checked:before{transform:translateX(18px)}
#wt_preferences .wtp-save-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:18px 20px 10px;border-top:1px solid var(--wtp-border);margin-top:17px}
#wt_preferences [data-wtp-save]{min-height:44px;border:1px solid var(--wtp-blue);border-radius:9px;padding:11px 16px;background:var(--wtp-blue);color:#fff;font-size:13px;font-weight:650;line-height:1.4}
#wt_preferences [data-wtp-save]:hover:not(:disabled){background:#125cbf}
#wt_preferences .wtp-reload{border:0;border-radius:8px;padding:10px 4px;background:none;color:var(--wtp-steel);font-size:12px;font-weight:600;min-height:40px}
#wt_preferences .wtp-reload:hover{text-decoration:underline}
#wt_preferences .wtp-future-note{padding:0 20px 17px;font-size:11px}
#wt_preferences .wtp-status{padding:0 20px 17px;font-size:12px;color:var(--wtp-muted)}
#wt_preferences .wtp-status:empty{display:none}
#wt_preferences .wtp-status[data-state=error]{color:#ac3745}
#wt_preferences .wtp-status[data-state=success]{color:#197447}
#wt_preferences_warning{display:flex;align-items:flex-start;gap:12px;max-width:640px;margin:16px auto;padding:15px 17px;background:#fff7e7;border:1px solid #ebd5ac;border-radius:12px;color:#684c1c}
#wt_preferences_warning .wtp-warning-icon{display:grid;place-items:center;flex:none;width:23px;height:23px;background:#f4e0b9;border-radius:50%;font-size:14px;font-weight:750}
#wt_preferences_warning strong{display:block;font-size:14px;color:#5c4215;line-height:1.4}
#wt_preferences_warning p{padding:0;margin:4px 0 8px;color:#684c1c;font-size:12px;line-height:1.5}
#wt_preferences_warning button{display:inline-flex;align-items:center;gap:7px;border:0;border-radius:5px;padding:4px 0;background:none;color:#694915;font-size:12px;font-weight:700;line-height:1.5;text-align:left}
#wt_preferences_warning button:hover{text-decoration:underline}
#wt_preferences_feed_note{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:640px;margin:12px auto 8px;padding:0 3px;color:#d1dce6;font-size:11px;line-height:1.5}
#wt_preferences_feed_note>span{min-width:0}
#wt_preferences_feed_note button{flex:none;border:1px solid #ffffff32;border-radius:8px;padding:7px 9px;color:#fff;background:#ffffff0b;font-size:11px;font-weight:600;line-height:1.4;min-height:34px}
#wt_preferences_feed_note button:hover{background:#ffffff18}
@media(max-width:460px){#wt_preferences .wtp-heading{padding:17px;display:block}#wt_preferences .wtp-edit{margin-top:13px;width:100%}#wt_preferences .wtp-tabs{margin:15px 16px}#wt_preferences [role=tabpanel]{padding:0 16px}#wt_preferences .wtp-save-row{padding:16px 16px 10px}#wt_preferences .wtp-status,#wt_preferences .wtp-future-note{padding-left:16px;padding-right:16px}#wt_preferences [data-wtp-save]{flex:1}#wt_preferences_feed_note{gap:8px;font-size:10px}#wt_preferences_warning{padding:14px;gap:10px}}
@media(prefers-reduced-motion:reduce){#wt_preferences *{transition:none!important;scroll-behavior:auto!important}}
#wt_preferences .wtp-locate{display:inline-flex;align-items:center;gap:7px;min-height:38px;margin:8px 0 0;padding:8px 11px;border:1px solid #cbd7e2;border-radius:8px;background:#fff;color:var(--wtp-steel);font-size:12px;font-weight:600;line-height:1.3}#wt_preferences .wtp-locate:hover{background:#edf3f8}#wt_preferences .wtp-locate svg{width:16px;height:16px;flex:none}#wt_preferences .wtp-location-status{font-size:12px;line-height:1.5;color:var(--wtp-muted);margin:8px 0;overflow-wrap:anywhere}#wt_preferences .wtp-location-status:empty{display:none}#wt_preferences .wtp-county-option>span:last-child{min-width:0;overflow-wrap:anywhere}
#navbar .navitem_bar[role=button]:focus-visible{outline:3px solid #b6d9ff;outline-offset:-4px}
