/* Giao diện thainguyen — Thời tiết Thái Nguyên. Xanh trà, đơn sắc.
   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 #278627 (30%) · nhấn #69D369 (mono, 10%).
   Cấu trúc: đầu trang solid · khối đầu trang split · tab pills · bố cục below · thẻ accent · chân trang brand · font quick. */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@600;700&family=Quicksand:wght@500;600;700&display=swap");

.theme-thainguyen {
	--m4-500: #39C639; --m4-600: #278627; --m4-700: #227322; --m4-800: #1B5B1B; --m4-900: #122D19;
	--m4-amber: #69D369; --m4-sun: #69D369;
	--m4-cream: #F1FBF1; --m4-cream-2: #E1F6E1;
	--m4-bg: #F8FBF8; --m4-ink: #14241F; --m4-ink-2: #43504C; --m4-muted: #65756F;
	--m4-line: #DDEADD; --m4-line-2: #EEF4EE;
	--m4-rain: #1D6FD1; --m4-cool: #1D6FD1;
	--tw-ink: #14241F; --tw-ink-2: #43504C; --tw-muted: #65756F; --tw-line: #DDEADD; --tw-line-2: #EEF4EE;
	--tw-bg: #F8FBF8; --tw-brand: #278627; --tw-brand-600: #227322; --tw-brand-700: #1B5B1B;
	--tw-brand-50: #F1FBF1; --tw-brand-100: #E1F6E1; --tw-rain: #1D6FD1;
	--tt-acc: #69D369; --tt-acc-text: #257E25; --tt-acc-50: #EDFAED;
	--tt-rain-text: #1D6FD1;
	--chart-ink: #14241F; --chart-muted: #65756F; --chart-grid: rgba(20, 36, 31, 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: "Quicksand", "Be Vietnam Pro", system-ui, sans-serif;
	--tw-font: "Quicksand", "Be Vietnam Pro", system-ui, sans-serif;
	--m4-shadow: 0 1px 2px rgba(18, 45, 25, 0.05), 0 14px 30px -18px rgba(18, 45, 25, 0.28);
	--m4-shadow-lg: 0 24px 54px -26px rgba(18, 45, 25, 0.45);
	background: var(--m4-bg); color: var(--m4-ink); font-family: var(--tw-font);
}
.theme-thainguyen a { color: var(--m4-700); }
.theme-thainguyen a:hover { color: var(--m4-800); }
.theme-thainguyen a:focus-visible, .theme-thainguyen button:focus-visible, .theme-thainguyen summary:focus-visible, .theme-thainguyen [tabindex]:focus-visible { outline: 2px solid var(--m4-700); outline-offset: 2px; border-radius: 6px; }
.theme-thainguyen .btn-primary, .theme-thainguyen .tw-btn--primary { background: var(--m4-600); border-color: var(--m4-600); color: #fff; }
.theme-thainguyen .btn-primary:hover, .theme-thainguyen .tw-btn--primary:hover { background: var(--m4-800); border-color: var(--m4-800); color: #fff; }
.theme-thainguyen input:focus, .theme-thainguyen select:focus, .theme-thainguyen textarea:focus, .theme-thainguyen .form-control:focus { border-color: var(--m4-600); box-shadow: 0 0 0 3px rgba(39, 134, 39, 0.22); outline: 0; }
.theme-thainguyen .m4-h2::before { background: var(--tt-acc); }
.theme-thainguyen .m4-chip { background: var(--tt-acc-50); color: var(--tt-acc-text); }
.theme-thainguyen .m4-pick__ico { color: var(--m4-700); background: var(--m4-cream); }
.theme-thainguyen .m4-acc summary::after { color: var(--m4-700); }
.theme-thainguyen .m4-hrow__pop b, .theme-thainguyen .m4-moment--wet b, .theme-thainguyen .m4-wave__rain b, .theme-thainguyen .m4-gantt__rain b, .theme-thainguyen .m4-table__rain { color: var(--tt-rain-text); }
.theme-thainguyen .m4-hcell__pop i, .theme-thainguyen .m4-gantt__rain i { background: var(--m4-rain); }
.theme-thainguyen .m4-band__hi { fill: #C2410C; }
.theme-thainguyen .m4-band__lo { fill: var(--tt-rain-text); }
.theme-thainguyen .m4-ticket__temp, .theme-thainguyen .m4-feature__temp { color: var(--m4-700); }
.theme-thainguyen .tw-nowcard { background: linear-gradient(150deg, var(--m4-800), var(--m4-600) 60%, var(--m4-500)); }
.theme-thainguyen .m4-table thead th { background: var(--m4-cream); color: var(--m4-ink-2); }
.theme-thainguyen .m4-table td, .theme-thainguyen .m4-table th { border-color: var(--m4-line); }
.theme-thainguyen .tw-places__list a { background: #fff; color: var(--m4-ink); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-thainguyen .tw-places__list a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-thainguyen .tw-crumbs a { color: var(--m4-700); }
.theme-thainguyen .m4-h2, .theme-thainguyen .m4-hero__title, .theme-thainguyen .m4-hh__title, .theme-thainguyen .tw-pagehead__title, .theme-thainguyen .m4-tab b { font-family: var(--m4-display); }
.theme-thainguyen .tw-header { background: var(--m4-700); border-bottom: 0; }
.theme-thainguyen .tw-header a { color: #fff; }
.theme-thainguyen .tw-header .search-input { background: #fff; border: 1px solid transparent; color: var(--m4-ink); }
.theme-thainguyen .tw-header .search-input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.theme-thainguyen .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-thainguyen .tw-header .tw-btn--soft:hover { background: #fff; color: var(--m4-800); }
.theme-thainguyen .tw-header::before { display: none; }
.theme-thainguyen .tw-header .dropdown-menu, .theme-thainguyen .tw-places-menu { background: #fff; color: var(--m4-ink); border: 1px solid var(--m4-line); }
.theme-thainguyen .tw-header .dropdown-menu a, .theme-thainguyen .tw-places-menu a { color: var(--m4-ink); }
.theme-thainguyen .tw-header .dropdown-menu a:hover, .theme-thainguyen .tw-places-menu a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-thainguyen .m4-hero, .theme-thainguyen .m4-hh, .theme-thainguyen .tw-pagehead { color: var(--m4-ink); text-shadow: none; }
.theme-thainguyen .m4-hero *, .theme-thainguyen .m4-hh * { text-shadow: none; }
.theme-thainguyen .m4-hero__title, .theme-thainguyen .m4-hh__title, .theme-thainguyen .tw-pagehead__title { color: var(--m4-ink); }
.theme-thainguyen .m4-hero__lead, .theme-thainguyen .m4-hh__lead, .theme-thainguyen .tw-pagehead__lead, .theme-thainguyen .tw-pagehead__meta { color: var(--m4-ink-2); opacity: 1; }
.theme-thainguyen .m4-kicker, .theme-thainguyen .m4-hero__upd { color: var(--m4-muted); }
.theme-thainguyen .m4-kicker__season { background: var(--tt-acc-50); color: var(--tt-acc-text); border: 0; }
.theme-thainguyen .m4-facts li { background: #fff; border-color: transparent; box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-thainguyen .m4-facts span { color: var(--m4-muted); }
.theme-thainguyen .m4-facts b { color: var(--m4-ink); }
.theme-thainguyen .m4-hero__rays, .theme-thainguyen .tw-pagehead__decor { display: none; }
.theme-thainguyen .m4-hh__quick a { background: #fff; color: var(--m4-800); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-thainguyen .m4-hh__quick a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-thainguyen .m4-search input { border: 1px solid var(--m4-line); }
.theme-thainguyen .tw-pagehead__now, .theme-thainguyen .tw-pagehead__now:hover { background: #fff; border-color: var(--m4-line); color: var(--m4-ink); }
.theme-thainguyen .tw-pagehead__now-temp { color: var(--m4-700); }
.theme-thainguyen .m4-hero, .theme-thainguyen .m4-hero[class*="m4-hero--"] { --h1: var(--m4-cream); --h2: var(--m4-cream); --h3: transparent; }
.theme-thainguyen .m4-hero, .theme-thainguyen .m4-hh, .theme-thainguyen .tw-pagehead { background: linear-gradient(90deg, var(--m4-cream) 0%, var(--m4-cream) 58%, #E1F6E1 58%); border-bottom: 1px solid var(--m4-line); }
.theme-thainguyen .m4-ticket, .theme-thainguyen .m4-ticket:hover { background: var(--m4-700); color: #fff; box-shadow: var(--m4-shadow-lg); }
.theme-thainguyen .m4-ticket * { color: #fff !important; }
.theme-thainguyen .m4-ticket::after { border-top-color: rgba(255, 255, 255, .25); }
@media (max-width: 991px) { .theme-thainguyen .m4-hero, .theme-thainguyen .m4-hh, .theme-thainguyen .tw-pagehead { background: var(--m4-cream); } }
.theme-thainguyen .m4-tabs { background: rgba(248, 251, 248, 0.94); border-bottom: 1px solid var(--m4-line); }
.theme-thainguyen .m4-tab.is-active { background: var(--m4-700); border-color: var(--m4-700); box-shadow: 0 10px 20px -12px rgba(27, 91, 27, 0.9); }
.theme-thainguyen .m4-tab:hover { background: #fff; border-color: var(--m4-line); }
.theme-thainguyen .m4-layout { grid-template-columns: minmax(0, 1fr); }
.theme-thainguyen .m4-side { order: 2; position: static; }
@media (min-width: 992px) {
	.theme-thainguyen .m4-content { max-width: 920px; margin: 0 auto; width: 100%; }
	.theme-thainguyen .m4-side .tw-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
}
.theme-thainguyen { --m4-radius: 10px; }
.theme-thainguyen .m4-block { border: 1px solid var(--m4-line); border-top: 4px solid var(--m4-600); box-shadow: 0 6px 16px -12px rgba(18, 45, 25, 0.3); }
.theme-thainguyen { --ft-bg: #1B5B1B; }
.theme-thainguyen .tw-footer { background: #1B5B1B; color: rgba(255, 255, 255, .82); }
.theme-thainguyen .tw-footer h6 { color: #fff; }
.theme-thainguyen .tw-footer a { color: rgba(255, 255, 255, .88); }
.theme-thainguyen .tw-footer a:hover { color: #9EE29E; }
.theme-thainguyen .tw-footer__bottom { border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); }
.theme-thainguyen .tw-footer__wave { color: var(--ft-bg); }
