.ams-weather{margin:22px 0 6px;padding:20px 24px;border:1px solid #d5e6ed;border-top:3px solid #008ac0;border-radius:8px;background:linear-gradient(115deg,#f0f8fc,#fff 65%);color:#163744;font-size:16px;line-height:1.35}.ams-weather__heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.ams-weather__eyebrow{display:block;color:#00704b;font-size:12px;font-weight:750;letter-spacing:.08em}.ams-weather h2{margin:3px 0 0;font-size:24px;line-height:1.15;color:#006e98}.ams-weather label{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600}.ams-weather select{font:inherit;font-size:16px;min-height:44px;max-width:100%;padding:8px 32px 8px 12px;background:#fff;color:#163744;border:1px solid #a5c6d4;border-radius:5px}.ams-weather select:focus-visible,.ams-weather button:focus-visible{outline:3px solid #008ac0;outline-offset:3px}.ams-weather__body{display:grid;grid-template-columns:minmax(200px,1fr) 2fr;gap:14px 24px;min-height:142px}.ams-weather__current{display:flex;flex-direction:column;justify-content:center;gap:5px}.ams-weather__temperature{font-size:38px;line-height:1.15}.ams-weather__current small{font-size:13px;color:#486574}.ams-weather__days{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ams-weather__day{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:8px;border-left:1px solid #d5e6ed;gap:4px;min-width:0}.ams-weather__day strong{font-size:14px}.ams-weather__icon{font-size:28px}.ams-weather__range{font-size:19px;font-weight:750;white-space:nowrap}.ams-weather__day small{font-size:12px;color:#486574}.ams-weather .ams-weather__updated{grid-column:1/-1;margin:0;font-size:12px;color:#486574}.ams-weather .ams-weather__source{margin:10px 0 0;font-size:11px;color:#486574}.ams-weather__source a{color:inherit;text-decoration:underline}.ams-weather__retry{padding:10px 16px;border:0;border-radius:4px;background:#006e98;color:#fff;cursor:pointer}.ams-weather__retry[hidden]{display:none}@media(max-width:650px){.ams-weather{padding:16px 12px}.ams-weather__heading{align-items:flex-start;flex-direction:column;gap:12px}.ams-weather label{width:100%;justify-content:space-between}.ams-weather select{min-width:0;width:60%}.ams-weather__body{grid-template-columns:1fr;gap:16px}.ams-weather__current{align-items:center;text-align:center}.ams-weather__day{padding:4px}.ams-weather__day:first-child{border-left:0}.ams-weather__day strong{font-size:12px}.ams-weather__range{font-size:17px}.ams-weather__day small{font-size:11px}}

/* ── Seletor em evidência ─────────────────────────────────────
   O antigo <select> ficava encolhido no canto do cabeçalho. Agora
   as cidades mais consultadas viram atalhos clicáveis, numa faixa
   própria, e o seletor cobre o resto da lista.                   */
.ams-weather__heading{display:block}
.ams-weather__picker{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin:14px 0 18px;padding:12px 14px;background:#fff;border:1px solid #d5e6ed;border-radius:8px}
.ams-weather__chips{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.ams-weather__chip{font:inherit;font-size:14px;font-weight:600;min-height:40px;padding:8px 16px;color:#006e98;background:#f0f8fc;border:1px solid #cfe4ee;border-radius:999px;cursor:pointer;transition:background 140ms ease,color 140ms ease,border-color 140ms ease}
.ams-weather__chip:hover{background:#e2f1f8}
.ams-weather__chip[aria-pressed="true"]{background:#006e98;border-color:#006e98;color:#fff}
.ams-weather__chip:focus-visible{outline:3px solid #008ac0;outline-offset:3px}
.ams-weather__select{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:13px;font-weight:600;color:#486574}
.ams-weather__select select{min-height:40px}

/* ── Widget das páginas internas ──────────────────────────────
   Coluna estreita: tudo empilhado, três dias e tipos menores.    */
.ams-weather--widget{margin:0 0 24px;padding:16px;font-size:15px}
.ams-weather--widget h2{font-size:19px}
.ams-weather--widget .ams-weather__picker{flex-direction:column;align-items:stretch;gap:10px;padding:10px}
.ams-weather--widget .ams-weather__chips{justify-content:space-between}
.ams-weather--widget .ams-weather__chip{flex:1 1 auto;padding:7px 10px;font-size:13px;text-align:center}
.ams-weather--widget .ams-weather__select{flex-direction:column;align-items:stretch;gap:6px;margin-left:0}
.ams-weather--widget .ams-weather__select select{width:100%;max-width:none}
.ams-weather--widget .ams-weather__body{grid-template-columns:1fr;gap:12px;min-height:0}
.ams-weather--widget .ams-weather__current{align-items:center;text-align:center;gap:3px}
.ams-weather--widget .ams-weather__temperature{font-size:32px}
.ams-weather--widget .ams-weather__days{grid-template-columns:repeat(3,minmax(0,1fr))}
.ams-weather--widget .ams-weather__day:first-child{border-left:0}
.ams-weather--widget .ams-weather__source{font-size:10px}

@media(max-width:650px){
  .ams-weather__picker{flex-direction:column;align-items:stretch}
  .ams-weather__chips{justify-content:space-between}
  .ams-weather__chip{flex:1 1 auto;text-align:center}
  .ams-weather__select{margin-left:0;justify-content:space-between}
  .ams-weather__select select{width:auto;min-width:9rem}
}
