/* Shared weather card and details, isolated from the recovered component styles. */
.qoom-weather-host {width:100%;height:100%;min-height:0}
.qoom-weather-window {height:100%;overflow:auto;padding:24px;background:#f7f9fc}
html button.qoom-weather {display:flex;flex-direction:column;justify-content:space-between;gap:8px;width:100%;height:100%;padding:17px 18px;border:0;border-radius:inherit;text-align:left;color:#fff;background:linear-gradient(140deg,#668ed6,#78a6d5 62%,#91b8d7);font-family:inherit;cursor:pointer;overflow:hidden;transition:filter .18s}
html button.qoom-weather:hover {filter:brightness(1.06)}
html button.qoom-weather:focus-visible {outline:3px solid #d4e5ff;outline-offset:-4px}
html .qoom-weather-head {display:flex;align-items:center;justify-content:space-between;gap:8px;line-height:1.4;font-size:16px;min-width:0}
.qoom-weather-head strong {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.qoom-weather-source {font-size:11px;white-space:nowrap;opacity:.85;font-weight:400}
html .qoom-weather-main {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:auto 0}
html .qoom-weather-temp {font-size:46px;line-height:1.1;letter-spacing:-2px;font-weight:500;font-variant-numeric:tabular-nums}
html .qoom-weather-temp small {font-size:21px;letter-spacing:0;vertical-align:top;line-height:1.5;font-weight:400}
html .qoom-weather-icon {width:60px;height:60px;flex:none}
html .qoom-weather-condition {font-size:14px;line-height:1.5}
html .qoom-weather-detail {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px;font-size:11px;line-height:1.5}
.qoom-weather-aqi {display:inline-flex;align-items:center;padding:3px 8px;border-radius:7px;font-size:12px;font-weight:500;white-space:nowrap;background:#eaf0f7;color:#5b6b80}
.qoom-weather-aqi.good {background:#e4f5e8;color:#28774a}
.qoom-weather-aqi.fair {background:#fff2c9;color:#896913}
.qoom-weather-aqi.poor {background:#ffead9;color:#a75a25}
.qoom-weather-aqi.bad {background:#ffe1e3;color:#aa3f4d}
.qoom-weather-empty-note {font-size:11px;line-height:1.5;opacity:.86;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html .qoom-weather-dialog {width:min(920px,calc(100vw - 40px));max-height:88vh;padding:26px 28px;background:#f7f9fc;color:#273953}
html .qoom-weather-dialog>h2 {padding-right:90px;margin-bottom:20px}
.qoom-weather-panel {font:14px/1.55 system-ui,-apple-system,'Microsoft YaHei',sans-serif;color:#273953;min-width:0;box-sizing:border-box}
.qoom-weather-panel * {box-sizing:border-box}
.qoom-weather-controls {display:flex;gap:10px;margin-bottom:14px;align-items:center}
html .qoom-weather-controls button {background:#fff;border:1px solid #dce4ef;color:#476789;white-space:nowrap;font:inherit;padding:9px 13px;border-radius:10px;cursor:pointer}
.qoom-weather-controls button:hover {background:#edf3fc}
.qoom-weather-controls button:disabled {opacity:.55;cursor:wait}
.qoom-weather-search {flex:1;width:0;min-width:100px;border:1px solid #dce4ef;border-radius:10px;padding:10px 13px;background:#fff;color:#273953;font:inherit;outline:none}
.qoom-weather-search:focus {border-color:#7b9ed7;box-shadow:0 0 0 3px #6a91d617}
.qoom-weather-city-results {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;background:white;border:1px solid #e3eaf3;border-radius:12px;max-height:230px;overflow:auto;margin-bottom:14px}
.qoom-weather-city-results[hidden],.qoom-weather-status[hidden] {display:none}
html .qoom-weather-city-option {font:inherit;font-size:13px;padding:8px 10px;background:#f5f8fc;border:0;color:#3e5f82;border-radius:7px;text-align:left;cursor:pointer}
html .qoom-weather-city-option:hover {background:#e5eefc}
.qoom-weather-status {padding:10px 14px;margin:0 0 14px;background:#fff4da;border:1px solid #f3e5bf;color:#8b6d2d;border-radius:10px;font-size:13px}
.qoom-weather-empty {padding:45px 20px 60px;text-align:center;color:#7789a2}
.qoom-weather-empty .qoom-weather-icon {width:90px;height:90px}
.qoom-weather-empty h3 {font-size:19px;font-weight:500;color:#3b5478}
.qoom-weather-summary {padding:22px 24px;border-radius:18px;background:linear-gradient(115deg,#e8f1ff,#f2f7ff 70%,#edf5fb);border:1px solid #e0eafa}
.qoom-weather-city-line {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px}
.qoom-weather-city-line h3 {font-size:17px;margin:0;font-weight:600}
.qoom-weather-city-line>span {font-size:12px;color:#7389a4}
.qoom-weather-overview {display:flex;align-items:center;justify-content:space-between;gap:15px;margin:20px 0 24px}
.qoom-weather-reading {display:flex;align-items:center;gap:15px}
html .qoom-weather-reading .qoom-weather-icon {width:74px;height:74px}
.qoom-weather-reading>strong {font-size:56px;line-height:1;letter-spacing:-2px;font-weight:500;font-variant-numeric:tabular-nums}
.qoom-weather-reading>strong small {font-size:23px;letter-spacing:0;font-weight:400}
.qoom-weather-reading>div {display:flex;flex-direction:column;gap:5px}
.qoom-weather-reading b {font-size:17px;font-weight:500}
.qoom-weather-reading span {font-size:13px;color:#6d819d}
.qoom-weather-metrics {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;border-top:1px solid #dce6f4;padding-top:17px}
.qoom-weather-metrics>div,.qoom-weather-pollutants>div {display:flex;flex-direction:column;gap:6px}
.qoom-weather-metrics span,.qoom-weather-pollutants span {font-size:12px;color:#7186a2}
.qoom-weather-metrics strong,.qoom-weather-pollutants strong {font-weight:500;font-size:15px;white-space:nowrap}
.qoom-weather-section {margin-top:24px;min-width:0}
.qoom-weather-section h3 {font-size:16px;font-weight:600;margin:0 0 12px}
.qoom-weather-scroll {display:flex;gap:0;overflow-x:auto;background:#fff;border:1px solid #e7edf5;border-radius:14px;scrollbar-width:thin;scrollbar-color:#cbd8ea transparent;padding:14px 5px 10px}
.qoom-weather-hour,.qoom-weather-day {display:flex;flex-direction:column;align-items:center;flex:0 0 77px;gap:7px;padding:0 6px;font-size:12px;line-height:1.45;border-right:1px solid #f0f3f8}
.qoom-weather-hour>b,.qoom-weather-day>b {font-size:14px;font-weight:500}
.qoom-weather-hour>strong,.qoom-weather-day>strong {font-size:17px;font-weight:500}
html .qoom-weather-hour .qoom-weather-icon,html .qoom-weather-day .qoom-weather-icon {width:39px;height:39px}
.qoom-weather-day {flex-basis:118px;gap:6px}
.qoom-weather-day>span {white-space:nowrap}
.qoom-weather-muted {color:#8998af;font-size:12px}
.qoom-weather-pollutants {display:grid;grid-template-columns:repeat(6,1fr);gap:12px;background:white;border:1px solid #e7edf5;border-radius:12px;padding:16px 20px}
.qoom-weather-life {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}
.qoom-weather-life details {background:#fff;border:1px solid #e7edf5;border-radius:12px;padding:13px 14px}
.qoom-weather-life summary {cursor:pointer;display:flex;flex-direction:column;gap:7px;list-style:none}
.qoom-weather-life summary span {color:#7b8da6;font-size:12px}
.qoom-weather-life summary b {font-weight:500;font-size:15px}
.qoom-weather-life summary::after {content:'查看建议 ›';color:#6d8bb5;font-size:11px}
.qoom-weather-life details[open] summary::after {content:'收起建议 ‹'}
.qoom-weather-life p {font-size:12px;color:#788ba4;margin:12px 0 0!important}
.qoom-weather-alerts {padding:14px 17px;border-radius:12px;background:#fff7e6;border:1px solid #f3e4bd}
.qoom-weather-alerts h3 {color:#9b772d;margin-bottom:8px}
.qoom-weather-alerts summary {cursor:pointer;color:#97763a;font-size:13px}
.qoom-weather-alerts p {font-size:13px;color:#806c47}
.qoom-weather-credit {text-align:center;margin:24px 0 0!important;color:#9aa8bc;font-size:11px}
@media(max-width:700px) {
  html .qoom-weather-dialog {padding:20px 16px;width:calc(100vw - 22px)}
  .qoom-weather-controls {flex-wrap:wrap;gap:8px}
  .qoom-weather-search {flex-basis:100%}
  .qoom-weather-city-results,.qoom-weather-life {grid-template-columns:repeat(2,minmax(0,1fr))}
  .qoom-weather-summary {padding:18px 14px}
  .qoom-weather-metrics {grid-template-columns:repeat(4,minmax(0,1fr));row-gap:18px}
  .qoom-weather-overview {align-items:flex-start;flex-direction:column}
  .qoom-weather-pollutants {grid-template-columns:repeat(3,1fr)}
}
