/* Giao diện tuyenquang — Thời tiết Tuyên Quang. Xanh rừng chè, nhấn vàng lúa.
   Sinh tự động bởi tools/themes/gen.py — sửa ở đó rồi chạy lại.
   Phối màu 60-30-10: nền #F8FBF8 (60%) · chủ đạo #318245 (30%) · nhấn #47C2A7 (analog, 10%).
   Cấu trúc: đầu trang ink · khối đầu trang split · tab boxed · bố cục below · thẻ flat · chân trang light · font slab. */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap");

.theme-tuyenquang {
	--m4-500: #46B963; --m4-600: #318245; --m4-700: #2A703B; --m4-800: #21582F; --m4-900: #122D20;
	--m4-amber: #47C2A7; --m4-sun: #47C2A7;
	--m4-cream: #F2FAF4; --m4-cream-2: #E3F4E8;
	--m4-bg: #F8FBF8; --m4-ink: #142422; --m4-ink-2: #43504E; --m4-muted: #657572;
	--m4-line: #DDEAE0; --m4-line-2: #EEF4F0;
	--m4-rain: #1D6FD1; --m4-cool: #1D6FD1;
	--tw-ink: #142422; --tw-ink-2: #43504E; --tw-muted: #657572; --tw-line: #DDEAE0; --tw-line-2: #EEF4F0;
	--tw-bg: #F8FBF8; --tw-brand: #318245; --tw-brand-600: #2A703B; --tw-brand-700: #21582F;
	--tw-brand-50: #F2FAF4; --tw-brand-100: #E3F4E8; --tw-rain: #1D6FD1;
	--tt-acc: #47C2A7; --tt-acc-text: #297A68; --tt-acc-50: #E9F8F4;
	--tt-rain-text: #1D6FD1;
	--chart-ink: #142422; --chart-muted: #657572; --chart-grid: rgba(20, 36, 34, 0.08);
	--chart-max: #C2410C; --chart-min: #1D6FD1; --chart-rain: rgba(29, 111, 209, 0.5); --chart-rain-solid: #1D6FD1; --chart-pop: #1D6FD1;
	--m4-display: "Roboto Slab", "Be Vietnam Pro", system-ui, sans-serif;
	--tw-font: "Roboto", "Be Vietnam Pro", system-ui, sans-serif;
	--m4-shadow: 0 1px 2px rgba(18, 45, 32, 0.05), 0 14px 30px -18px rgba(18, 45, 32, 0.28);
	--m4-shadow-lg: 0 24px 54px -26px rgba(18, 45, 32, 0.45);
	background: var(--m4-bg); color: var(--m4-ink); font-family: var(--tw-font);
}
.theme-tuyenquang a { color: var(--m4-700); }
.theme-tuyenquang a:hover { color: var(--m4-800); }
.theme-tuyenquang a:focus-visible, .theme-tuyenquang button:focus-visible, .theme-tuyenquang summary:focus-visible, .theme-tuyenquang [tabindex]:focus-visible { outline: 2px solid var(--m4-700); outline-offset: 2px; border-radius: 6px; }
.theme-tuyenquang .btn-primary, .theme-tuyenquang .tw-btn--primary { background: var(--m4-600); border-color: var(--m4-600); color: #fff; }
.theme-tuyenquang .btn-primary:hover, .theme-tuyenquang .tw-btn--primary:hover { background: var(--m4-800); border-color: var(--m4-800); color: #fff; }
.theme-tuyenquang input:focus, .theme-tuyenquang select:focus, .theme-tuyenquang textarea:focus, .theme-tuyenquang .form-control:focus { border-color: var(--m4-600); box-shadow: 0 0 0 3px rgba(49, 130, 69, 0.22); outline: 0; }
.theme-tuyenquang .m4-h2::before { background: var(--tt-acc); }
.theme-tuyenquang .m4-chip { background: var(--tt-acc-50); color: var(--tt-acc-text); }
.theme-tuyenquang .m4-pick__ico { color: var(--m4-700); background: var(--m4-cream); }
.theme-tuyenquang .m4-acc summary::after { color: var(--m4-700); }
.theme-tuyenquang .m4-hrow__pop b, .theme-tuyenquang .m4-moment--wet b, .theme-tuyenquang .m4-wave__rain b, .theme-tuyenquang .m4-gantt__rain b, .theme-tuyenquang .m4-table__rain { color: var(--tt-rain-text); }
.theme-tuyenquang .m4-hcell__pop i, .theme-tuyenquang .m4-gantt__rain i { background: var(--m4-rain); }
.theme-tuyenquang .m4-band__hi { fill: #C2410C; }
.theme-tuyenquang .m4-band__lo { fill: var(--tt-rain-text); }
.theme-tuyenquang .m4-ticket__temp, .theme-tuyenquang .m4-feature__temp { color: var(--m4-700); }
.theme-tuyenquang .tw-nowcard { background: linear-gradient(150deg, var(--m4-800), var(--m4-600) 60%, var(--m4-500)); }
.theme-tuyenquang .m4-table thead th { background: var(--m4-cream); color: var(--m4-ink-2); }
.theme-tuyenquang .m4-table td, .theme-tuyenquang .m4-table th { border-color: var(--m4-line); }
.theme-tuyenquang .tw-places__list a { background: #fff; color: var(--m4-ink); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-tuyenquang .tw-places__list a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-tuyenquang .tw-crumbs a { color: var(--m4-700); }
.theme-tuyenquang .m4-h2, .theme-tuyenquang .m4-hero__title, .theme-tuyenquang .m4-hh__title, .theme-tuyenquang .tw-pagehead__title, .theme-tuyenquang .m4-tab b { font-family: var(--m4-display); }
.theme-tuyenquang .tw-header { background: var(--m4-900); border-bottom: 3px solid var(--tt-acc); }
.theme-tuyenquang .tw-header a { color: #fff; }
.theme-tuyenquang .tw-header .search-input { background: #fff; border: 1px solid transparent; color: var(--m4-ink); }
.theme-tuyenquang .tw-header .search-input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.theme-tuyenquang .tw-header .tw-btn--soft { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.theme-tuyenquang .tw-header .tw-btn--soft:hover { background: #fff; color: var(--m4-800); }
.theme-tuyenquang .tw-header::before { display: none; }
.theme-tuyenquang .tw-header .dropdown-menu, .theme-tuyenquang .tw-places-menu { background: #fff; color: var(--m4-ink); border: 1px solid var(--m4-line); }
.theme-tuyenquang .tw-header .dropdown-menu a, .theme-tuyenquang .tw-places-menu a { color: var(--m4-ink); }
.theme-tuyenquang .tw-header .dropdown-menu a:hover, .theme-tuyenquang .tw-places-menu a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-tuyenquang .m4-hero, .theme-tuyenquang .m4-hh, .theme-tuyenquang .tw-pagehead { color: var(--m4-ink); text-shadow: none; }
.theme-tuyenquang .m4-hero *, .theme-tuyenquang .m4-hh * { text-shadow: none; }
.theme-tuyenquang .m4-hero__title, .theme-tuyenquang .m4-hh__title, .theme-tuyenquang .tw-pagehead__title { color: var(--m4-ink); }
.theme-tuyenquang .m4-hero__lead, .theme-tuyenquang .m4-hh__lead, .theme-tuyenquang .tw-pagehead__lead, .theme-tuyenquang .tw-pagehead__meta { color: var(--m4-ink-2); opacity: 1; }
.theme-tuyenquang .m4-kicker, .theme-tuyenquang .m4-hero__upd { color: var(--m4-muted); }
.theme-tuyenquang .m4-kicker__season { background: var(--tt-acc-50); color: var(--tt-acc-text); border: 0; }
.theme-tuyenquang .m4-facts li { background: #fff; border-color: transparent; box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-tuyenquang .m4-facts span { color: var(--m4-muted); }
.theme-tuyenquang .m4-facts b { color: var(--m4-ink); }
.theme-tuyenquang .m4-hero__rays, .theme-tuyenquang .tw-pagehead__decor { display: none; }
.theme-tuyenquang .m4-hh__quick a { background: #fff; color: var(--m4-800); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-tuyenquang .m4-hh__quick a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-tuyenquang .m4-search input { border: 1px solid var(--m4-line); }
.theme-tuyenquang .tw-pagehead__now, .theme-tuyenquang .tw-pagehead__now:hover { background: #fff; border-color: var(--m4-line); color: var(--m4-ink); }
.theme-tuyenquang .tw-pagehead__now-temp { color: var(--m4-700); }
.theme-tuyenquang .m4-hero, .theme-tuyenquang .m4-hero[class*="m4-hero--"] { --h1: var(--m4-cream); --h2: var(--m4-cream); --h3: transparent; }
.theme-tuyenquang .m4-hero, .theme-tuyenquang .m4-hh, .theme-tuyenquang .tw-pagehead { background: linear-gradient(90deg, var(--m4-cream) 0%, var(--m4-cream) 58%, #E3F4E8 58%); border-bottom: 1px solid var(--m4-line); }
.theme-tuyenquang .m4-ticket, .theme-tuyenquang .m4-ticket:hover { background: var(--m4-700); color: #fff; box-shadow: var(--m4-shadow-lg); }
.theme-tuyenquang .m4-ticket * { color: #fff !important; }
.theme-tuyenquang .m4-ticket::after { border-top-color: rgba(255, 255, 255, .25); }
@media (max-width: 991px) { .theme-tuyenquang .m4-hero, .theme-tuyenquang .m4-hh, .theme-tuyenquang .tw-pagehead { background: var(--m4-cream); } }
.theme-tuyenquang .m4-tabs { background: rgba(248, 251, 248, 0.94); border-bottom: 1px solid var(--m4-line); }
.theme-tuyenquang .m4-tab { border-radius: 6px; background: #fff; border: 1px solid var(--m4-line); }
.theme-tuyenquang .m4-tab:hover { border-color: var(--m4-600); background: #fff; }
.theme-tuyenquang .m4-tab.is-active, .theme-tuyenquang .m4-tab.is-active:hover { background: var(--m4-900); border-color: var(--m4-900); box-shadow: inset 0 -4px 0 var(--tt-acc); }
.theme-tuyenquang .m4-layout { grid-template-columns: minmax(0, 1fr); }
.theme-tuyenquang .m4-side { order: 2; position: static; }
@media (min-width: 992px) {
	.theme-tuyenquang .m4-content { max-width: 920px; margin: 0 auto; width: 100%; }
	.theme-tuyenquang .m4-side .tw-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
}
.theme-tuyenquang { --m4-radius: 16px; }
.theme-tuyenquang .m4-block { background: #fff; border: 0; box-shadow: none; }
.theme-tuyenquang .m4-content > .m4-block:nth-child(even) { background: #F7FCF8; }
.theme-tuyenquang { --ft-bg: #E3F4E8; }
.theme-tuyenquang .tw-footer { background: var(--m4-cream); color: var(--m4-ink-2); border-top: 1px solid var(--m4-line); }
.theme-tuyenquang .tw-footer__wave { display: none; }
.theme-tuyenquang .tw-footer h6 { color: var(--m4-ink); }
.theme-tuyenquang .tw-footer a { color: var(--m4-800); }
.theme-tuyenquang .tw-footer a:hover { color: var(--m4-900); }
.theme-tuyenquang .tw-footer__bottom { border-color: var(--m4-line); color: var(--m4-muted); }
