/* Công cụ đổi đơn vị & máy tính thời tiết — cùng dáng khối công cụ bản Việt (.ttk-tool) và bảng site ngôn ngữ (.tt-ls-tbl); dùng cho cả vi lẫn en/id/hi */
.tt-wt{margin:16px 0;padding:18px;border:1px solid #d6e3ee;border-radius:12px;background:#f5f9fd;color:#20364c}
.tt-wt-f{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.tt-wt-f label{display:block;font-weight:600;font-size:14px;margin:0}
.tt-wt-f input,.tt-wt-f select{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:10px 11px;border:1px solid #a9bed1;border-radius:6px;background:#fff;color:#17324c;font:inherit;font-size:16px}
.tt-wt-f .tt-wt-pair{display:flex;gap:6px}.tt-wt-f .tt-wt-pair input{flex:1 1 auto;min-width:0}.tt-wt-f .tt-wt-pair select{flex:0 0 auto;width:auto}
.tt-wt input:focus,.tt-wt select:focus{outline:3px solid #8ac4f0;outline-offset:1px}
.tt-wt-out{margin-top:14px;padding:12px 14px;background:#fff;border-left:4px solid #197d66;font-size:16px;line-height:1.55}
.tt-wt-out b{font-size:20px}
.tt-wt-out.tt-wt-err{border-color:#a32222;color:#7d1a1a}
.tt-wt-h1,.tt-wt-d3,.tt-wt-b6,.tt-wt-b7{border-color:#b35c00}.tt-wt-h2,.tt-wt-d4,.tt-wt-b8,.tt-wt-b9{border-color:#c62f2f}.tt-wt-h3,.tt-wt-h4,.tt-wt-d5,.tt-wt-b10,.tt-wt-b11,.tt-wt-b12{border-color:#7b1fa2}
.tt-wt-note{font-size:13px;color:#526a7f;line-height:1.6;margin:10px 0 0}
.tt-wt-live{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:baseline;margin:0 0 4px}
.tt-wt-live .tt-wt-big{font-size:30px;font-weight:700;color:#1f63b0;line-height:1.2}
.tt-wt-live .tt-wt-sub{color:#33415c;font-size:15px}
.tt-wt-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0;padding:0;list-style:none}
.tt-wt-chips li{background:#fff;border:1px solid #d6e3ee;border-radius:999px;padding:3px 10px;font-size:14px}
.tt-wt-scroll{overflow-x:auto;margin:12px 0}
.tt-wt-tbl{width:100%;border-collapse:collapse;font-size:14px;background:#fff}
.tt-wt-tbl th,.tt-wt-tbl td{padding:9px 8px;border-bottom:1px solid #eef1f6;text-align:center;vertical-align:middle}
.tt-wt-tbl th{background:#f5f8fc;color:#33415c;font-weight:600;white-space:nowrap}
.tt-wt-tbl td:first-child,.tt-wt-tbl th:first-child{text-align:left}
.tt-wt-tbl tr.tt-wt-hl td{background:#fff5d6}
.tt-wt-compass{display:flex;justify-content:center;margin:14px 0 4px}
.tt-wt-compass svg{width:170px;height:170px}
.tt-wt-compass [data-wt-arrow]{transform-origin:50% 50%;transition:transform .25s}
.tt-wt [hidden]{display:none!important}
@media(max-width:560px){.tt-wt{padding:14px}.tt-wt-live .tt-wt-big{font-size:26px}.tt-wt-tbl{font-size:13px}}

/* Pressure uses the shared weather-tool card, typography and chips. */
.ttbp[hidden],.ttbp [hidden]{display:none!important}
.ttbp .ttbp-chart{position:relative;min-width:0;width:100%;height:300px;margin:16px 0 0}
.ttbp .ttbp-chart canvas{max-width:100%}
.ttbp .tt-wt-big{overflow-wrap:anywhere}
.ttbp .tt-wt-chips{align-items:flex-start}
.ttbp .tt-wt-chips li{border-radius:6px;padding:8px 10px}
.ttbp .tt-wt-chips strong{display:block}
.ttbp-cities{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0 16px;list-style:none;padding:0;margin:12px 0}
.ttbp-cities a{display:flex;align-items:center;min-height:44px;padding:7px 0}
.ttbp-cities span{color:#526a7f}
@media(max-width:560px){.ttbp .ttbp-chart{height:270px}.ttbp-cities{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}}
