/* Giao diện laichau — Thời tiết Lai Châu. Xanh ruộng bậc thang.
   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 #F9FBF8 (60%) · chủ đạo #4E802D (30%) · nhấn #9244C5 (comp, 10%).
   Cấu trúc: đầu trang white · khối đầu trang minimal · tab underline · bố cục right · thẻ side · chân trang deep · font josefin. */
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@600;700&family=Mulish:wght@400;600;700&display=swap");

.theme-laichau {
	--m4-500: #73BD42; --m4-600: #4E802D; --m4-700: #436E27; --m4-800: #35571F; --m4-900: #1C2D19;
	--m4-amber: #9244C5; --m4-sun: #9244C5;
	--m4-cream: #F5FAF2; --m4-cream-2: #EAF5E3;
	--m4-bg: #F9FBF8; --m4-ink: #19241F; --m4-ink-2: #47504C; --m4-muted: #6A756F;
	--m4-line: #E2EADD; --m4-line-2: #F0F4EE;
	--m4-rain: #1D6FD1; --m4-cool: #1D6FD1;
	--tw-ink: #19241F; --tw-ink-2: #47504C; --tw-muted: #6A756F; --tw-line: #E2EADD; --tw-line-2: #F0F4EE;
	--tw-bg: #F9FBF8; --tw-brand: #4E802D; --tw-brand-600: #436E27; --tw-brand-700: #35571F;
	--tw-brand-50: #F5FAF2; --tw-brand-100: #EAF5E3; --tw-rain: #1D6FD1;
	--tt-acc: #9244C5; --tt-acc-text: #9244C5; --tt-acc-50: #F2E9F8;
	--tt-rain-text: #1D6FD1;
	--chart-ink: #19241F; --chart-muted: #6A756F; --chart-grid: rgba(25, 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: "Josefin Sans", "Be Vietnam Pro", system-ui, sans-serif;
	--tw-font: "Mulish", "Be Vietnam Pro", system-ui, sans-serif;
	--m4-shadow: 0 1px 2px rgba(28, 45, 25, 0.05), 0 14px 30px -18px rgba(28, 45, 25, 0.28);
	--m4-shadow-lg: 0 24px 54px -26px rgba(28, 45, 25, 0.45);
	background: var(--m4-bg); color: var(--m4-ink); font-family: var(--tw-font);
}
.theme-laichau a { color: var(--m4-700); }
.theme-laichau a:hover { color: var(--m4-800); }
.theme-laichau a:focus-visible, .theme-laichau button:focus-visible, .theme-laichau summary:focus-visible, .theme-laichau [tabindex]:focus-visible { outline: 2px solid var(--m4-700); outline-offset: 2px; border-radius: 6px; }
.theme-laichau .btn-primary, .theme-laichau .tw-btn--primary { background: var(--m4-600); border-color: var(--m4-600); color: #fff; }
.theme-laichau .btn-primary:hover, .theme-laichau .tw-btn--primary:hover { background: var(--m4-800); border-color: var(--m4-800); color: #fff; }
.theme-laichau input:focus, .theme-laichau select:focus, .theme-laichau textarea:focus, .theme-laichau .form-control:focus { border-color: var(--m4-600); box-shadow: 0 0 0 3px rgba(78, 128, 45, 0.22); outline: 0; }
.theme-laichau .m4-h2::before { background: var(--tt-acc); }
.theme-laichau .m4-chip { background: var(--tt-acc-50); color: var(--tt-acc-text); }
.theme-laichau .m4-pick__ico { color: var(--m4-700); background: var(--m4-cream); }
.theme-laichau .m4-acc summary::after { color: var(--m4-700); }
.theme-laichau .m4-hrow__pop b, .theme-laichau .m4-moment--wet b, .theme-laichau .m4-wave__rain b, .theme-laichau .m4-gantt__rain b, .theme-laichau .m4-table__rain { color: var(--tt-rain-text); }
.theme-laichau .m4-hcell__pop i, .theme-laichau .m4-gantt__rain i { background: var(--m4-rain); }
.theme-laichau .m4-band__hi { fill: #C2410C; }
.theme-laichau .m4-band__lo { fill: var(--tt-rain-text); }
.theme-laichau .m4-ticket__temp, .theme-laichau .m4-feature__temp { color: var(--m4-700); }
.theme-laichau .tw-nowcard { background: linear-gradient(150deg, var(--m4-800), var(--m4-600) 60%, var(--m4-500)); }
.theme-laichau .m4-table thead th { background: var(--m4-cream); color: var(--m4-ink-2); }
.theme-laichau .m4-table td, .theme-laichau .m4-table th { border-color: var(--m4-line); }
.theme-laichau .tw-places__list a { background: #fff; color: var(--m4-ink); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-laichau .tw-places__list a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-laichau .tw-crumbs a { color: var(--m4-700); }
.theme-laichau .m4-h2, .theme-laichau .m4-hero__title, .theme-laichau .m4-hh__title, .theme-laichau .tw-pagehead__title, .theme-laichau .m4-tab b { font-family: var(--m4-display); }
.theme-laichau .tw-header { background: #fff; border-top: 4px solid var(--m4-600); border-bottom: 1px solid var(--m4-line); }
.theme-laichau .tw-header .search-input { background: var(--m4-bg); border: 1px solid var(--m4-line); }
.theme-laichau .tw-header .tw-btn--soft { background: var(--m4-cream); color: var(--m4-800); }
.theme-laichau .tw-header::before { display: none; }
.theme-laichau .tw-header .dropdown-menu, .theme-laichau .tw-places-menu { background: #fff; color: var(--m4-ink); border: 1px solid var(--m4-line); }
.theme-laichau .tw-header .dropdown-menu a, .theme-laichau .tw-places-menu a { color: var(--m4-ink); }
.theme-laichau .tw-header .dropdown-menu a:hover, .theme-laichau .tw-places-menu a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-laichau .m4-hero, .theme-laichau .m4-hh, .theme-laichau .tw-pagehead { color: var(--m4-ink); text-shadow: none; }
.theme-laichau .m4-hero *, .theme-laichau .m4-hh * { text-shadow: none; }
.theme-laichau .m4-hero__title, .theme-laichau .m4-hh__title, .theme-laichau .tw-pagehead__title { color: var(--m4-ink); }
.theme-laichau .m4-hero__lead, .theme-laichau .m4-hh__lead, .theme-laichau .tw-pagehead__lead, .theme-laichau .tw-pagehead__meta { color: var(--m4-ink-2); opacity: 1; }
.theme-laichau .m4-kicker, .theme-laichau .m4-hero__upd { color: var(--m4-muted); }
.theme-laichau .m4-kicker__season { background: var(--tt-acc-50); color: var(--tt-acc-text); border: 0; }
.theme-laichau .m4-facts li { background: #fff; border-color: transparent; box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-laichau .m4-facts span { color: var(--m4-muted); }
.theme-laichau .m4-facts b { color: var(--m4-ink); }
.theme-laichau .m4-hero__rays, .theme-laichau .tw-pagehead__decor { display: none; }
.theme-laichau .m4-hh__quick a { background: #fff; color: var(--m4-800); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-laichau .m4-hh__quick a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-laichau .m4-search input { border: 1px solid var(--m4-line); }
.theme-laichau .tw-pagehead__now, .theme-laichau .tw-pagehead__now:hover { background: #fff; border-color: var(--m4-line); color: var(--m4-ink); }
.theme-laichau .tw-pagehead__now-temp { color: var(--m4-700); }
.theme-laichau .m4-hero, .theme-laichau .m4-hero[class*="m4-hero--"] { --h1: transparent; --h2: transparent; --h3: transparent; }
.theme-laichau .m4-hero, .theme-laichau .m4-hh, .theme-laichau .tw-pagehead { background: transparent; border-bottom: 1px solid var(--m4-line); }
.theme-laichau .m4-hero__title, .theme-laichau .m4-hh__title { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.02em; }
.theme-laichau .m4-hero__title::after, .theme-laichau .m4-hh__title::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 12px; border-radius: 3px; background: var(--tt-acc); }
.theme-laichau .m4-ticket { background: #fff; box-shadow: inset 0 0 0 2px var(--m4-600); color: var(--m4-ink); }
.theme-laichau .m4-tabs { background: rgba(249, 251, 248, 0.94); border-bottom: 1px solid var(--m4-line); }
.theme-laichau .m4-tabs { background: #fff; padding: 0; }
.theme-laichau .m4-tab { border-radius: 0; border: 0; border-bottom: 3px solid transparent; padding: 10px 12px 8px; }
.theme-laichau .m4-tab:hover { background: var(--m4-cream); border-color: transparent; border-bottom-color: var(--m4-200, #D5EBC6); }
.theme-laichau .m4-tab.is-active, .theme-laichau .m4-tab.is-active:hover { background: transparent; border-bottom-color: var(--m4-700); box-shadow: none; }
.theme-laichau .m4-tab.is-active b, .theme-laichau .m4-tab.is-active span { color: var(--m4-800); }
@media (min-width: 992px) {
	.theme-laichau .m4-layout { grid-template-columns: minmax(0, 1fr) 310px; }
	.theme-laichau .m4-side { order: 2; }
}
.theme-laichau { --m4-radius: 8px; }
.theme-laichau .m4-block { border: 1px solid var(--m4-line); border-left: 5px solid var(--m4-600); box-shadow: none; }
.theme-laichau .m4-h2::before { display: none; }
.theme-laichau .m4-h2 { padding-left: 0; }
.theme-laichau { --ft-bg: #1C2D19; }
.theme-laichau .tw-footer { background: #1C2D19; color: rgba(255, 255, 255, .82); }
.theme-laichau .tw-footer h6 { color: #fff; }
.theme-laichau .tw-footer a { color: rgba(255, 255, 255, .88); }
.theme-laichau .tw-footer a:hover { color: #B885D9; }
.theme-laichau .tw-footer__bottom { border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); }
.theme-laichau .tw-footer__wave { color: var(--ft-bg); }
