/* Giao diện laocai — Thời tiết Lào Cai. Xanh sương Fansipan, nhấn cam.
   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 #F8F8FB (60%) · chủ đạo #3258AE (30%) · nhấn #CE593B (split, 10%).
   Cấu trúc: đầu trang center · khối đầu trang card · tab segment · bố cục right · thẻ shadow · chân trang light · font merri. */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Inter:wght@400;500;600;700&display=swap");

.theme-laocai {
	--m4-500: #3963C6; --m4-600: #3258AE; --m4-700: #2B4C96; --m4-800: #223C76; --m4-900: #121C32;
	--m4-amber: #CE593B; --m4-sun: #CE593B;
	--m4-cream: #F1F4FB; --m4-cream-2: #E1E8F6;
	--m4-bg: #F8F8FB; --m4-ink: #141C2C; --m4-ink-2: #434956; --m4-muted: #656C7C;
	--m4-line: #DDE0EA; --m4-line-2: #EEF0F4;
	--m4-rain: #0E7490; --m4-cool: #0E7490;
	--tw-ink: #141C2C; --tw-ink-2: #434956; --tw-muted: #656C7C; --tw-line: #DDE0EA; --tw-line-2: #EEF0F4;
	--tw-bg: #F8F8FB; --tw-brand: #3258AE; --tw-brand-600: #2B4C96; --tw-brand-700: #223C76;
	--tw-brand-50: #F1F4FB; --tw-brand-100: #E1E8F6; --tw-rain: #0E7490;
	--tt-acc: #CE593B; --tt-acc-text: #B3482D; --tt-acc-50: #F9EBE7;
	--tt-rain-text: #0E7490;
	--chart-ink: #141C2C; --chart-muted: #656C7C; --chart-grid: rgba(20, 28, 44, 0.08);
	--chart-max: #C2410C; --chart-min: #0E7490; --chart-rain: rgba(14, 116, 144, 0.5); --chart-rain-solid: #0E7490; --chart-pop: #0E7490;
	--m4-display: "Merriweather", "Be Vietnam Pro", system-ui, sans-serif;
	--tw-font: "Inter", "Be Vietnam Pro", system-ui, sans-serif;
	--m4-shadow: 0 1px 2px rgba(18, 28, 50, 0.05), 0 14px 30px -18px rgba(18, 28, 50, 0.28);
	--m4-shadow-lg: 0 24px 54px -26px rgba(18, 28, 50, 0.45);
	background: var(--m4-bg); color: var(--m4-ink); font-family: var(--tw-font);
}
.theme-laocai a { color: var(--m4-700); }
.theme-laocai a:hover { color: var(--m4-800); }
.theme-laocai a:focus-visible, .theme-laocai button:focus-visible, .theme-laocai summary:focus-visible, .theme-laocai [tabindex]:focus-visible { outline: 2px solid var(--m4-700); outline-offset: 2px; border-radius: 6px; }
.theme-laocai .btn-primary, .theme-laocai .tw-btn--primary { background: var(--m4-600); border-color: var(--m4-600); color: #fff; }
.theme-laocai .btn-primary:hover, .theme-laocai .tw-btn--primary:hover { background: var(--m4-800); border-color: var(--m4-800); color: #fff; }
.theme-laocai input:focus, .theme-laocai select:focus, .theme-laocai textarea:focus, .theme-laocai .form-control:focus { border-color: var(--m4-600); box-shadow: 0 0 0 3px rgba(50, 88, 174, 0.22); outline: 0; }
.theme-laocai .m4-h2::before { background: var(--tt-acc); }
.theme-laocai .m4-chip { background: var(--tt-acc-50); color: var(--tt-acc-text); }
.theme-laocai .m4-pick__ico { color: var(--m4-700); background: var(--m4-cream); }
.theme-laocai .m4-acc summary::after { color: var(--m4-700); }
.theme-laocai .m4-hrow__pop b, .theme-laocai .m4-moment--wet b, .theme-laocai .m4-wave__rain b, .theme-laocai .m4-gantt__rain b, .theme-laocai .m4-table__rain { color: var(--tt-rain-text); }
.theme-laocai .m4-hcell__pop i, .theme-laocai .m4-gantt__rain i { background: var(--m4-rain); }
.theme-laocai .m4-band__hi { fill: #C2410C; }
.theme-laocai .m4-band__lo { fill: var(--tt-rain-text); }
.theme-laocai .m4-ticket__temp, .theme-laocai .m4-feature__temp { color: var(--m4-700); }
.theme-laocai .tw-nowcard { background: linear-gradient(150deg, var(--m4-800), var(--m4-600) 60%, var(--m4-500)); }
.theme-laocai .m4-table thead th { background: var(--m4-cream); color: var(--m4-ink-2); }
.theme-laocai .m4-table td, .theme-laocai .m4-table th { border-color: var(--m4-line); }
.theme-laocai .tw-places__list a { background: #fff; color: var(--m4-ink); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-laocai .tw-places__list a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-laocai .tw-crumbs a { color: var(--m4-700); }
.theme-laocai .m4-h2, .theme-laocai .m4-hero__title, .theme-laocai .m4-hh__title, .theme-laocai .tw-pagehead__title, .theme-laocai .m4-tab b { font-family: var(--m4-display); }
.theme-laocai .tw-header { background: #fff; border-bottom: 1px solid var(--m4-line); box-shadow: 0 3px 0 var(--m4-600); }
@media (min-width: 992px) {
	.theme-laocai .tw-header__inner { flex-wrap: wrap; justify-content: center; padding: 12px 0; gap: 12px 20px; }
	.theme-laocai .tw-header__logo { flex: 0 0 100%; text-align: center; }
	.theme-laocai .tw-header__logo img { width: 190px; margin: 0 auto; }
	.theme-laocai .tw-header__search { margin-left: 0; flex: 0 1 560px; }
}
.theme-laocai .tw-header .search-input { background: var(--m4-bg); border: 1px solid var(--m4-line); }
.theme-laocai .tw-header .tw-btn--soft { background: var(--m4-cream); color: var(--m4-800); }
.theme-laocai .tw-header::before { display: none; }
.theme-laocai .tw-header .dropdown-menu, .theme-laocai .tw-places-menu { background: #fff; color: var(--m4-ink); border: 1px solid var(--m4-line); }
.theme-laocai .tw-header .dropdown-menu a, .theme-laocai .tw-places-menu a { color: var(--m4-ink); }
.theme-laocai .tw-header .dropdown-menu a:hover, .theme-laocai .tw-places-menu a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-laocai .m4-hero, .theme-laocai .m4-hero[class*="m4-hero--"] { --h1: var(--m4-800); --h2: var(--m4-600); --h3: rgba(206, 89, 59, 0.55); }
.theme-laocai .m4-hh { background: linear-gradient(135deg, var(--m4-700), var(--m4-500)); }
.theme-laocai .tw-pagehead { --g1: var(--m4-800); --g2: var(--m4-600); --g3: var(--m4-500); }
.theme-laocai .m4-ticket, .theme-laocai .m4-ticket:hover { color: var(--m4-ink); }
.theme-laocai .m4-hero { background: transparent; padding: 16px 0 6px; overflow: visible; }
.theme-laocai .m4-hero__rays { display: none; }
.theme-laocai .m4-hero__grid { border-radius: calc(var(--m4-radius) + 6px); padding: 28px; background: radial-gradient(380px 300px at 92% -10%, rgba(206, 89, 59, 0.45), transparent 70%), linear-gradient(135deg, var(--m4-800), var(--m4-600)); box-shadow: var(--m4-shadow-lg); width: calc(100% - 30px); }
.theme-laocai .m4-hh .container { position: relative; }
@media (min-width: 576px) { .theme-laocai .m4-hero__grid { max-width: 510px; } }
@media (min-width: 768px) { .theme-laocai .m4-hero__grid { max-width: 690px; } }
@media (min-width: 992px) { .theme-laocai .m4-hero__grid { max-width: 930px; } }
@media (min-width: 1200px) { .theme-laocai .m4-hero__grid { max-width: 1110px; } }
@media (max-width: 767px) { .theme-laocai .m4-hero__grid { padding: 20px; } }
.theme-laocai .m4-tabs { background: rgba(248, 248, 251, 0.94); border-bottom: 1px solid var(--m4-line); }
.theme-laocai .m4-tabs__list { gap: 0; background: #fff; border: 1px solid var(--m4-line); border-radius: 12px; overflow: auto; }
.theme-laocai .m4-tabs__list li + li .m4-tab { border-left: 1px solid var(--m4-line); }
.theme-laocai .m4-tab { border-radius: 0; border: 0; }
.theme-laocai .m4-tab:hover { background: var(--m4-cream); }
.theme-laocai .m4-tab.is-active, .theme-laocai .m4-tab.is-active:hover { background: var(--m4-cream); box-shadow: inset 0 -3px 0 var(--m4-700); }
.theme-laocai .m4-tab.is-active b, .theme-laocai .m4-tab.is-active span { color: var(--m4-800); }
@media (min-width: 992px) {
	.theme-laocai .m4-layout { grid-template-columns: minmax(0, 1fr) 310px; }
	.theme-laocai .m4-side { order: 2; }
}
.theme-laocai { --m4-radius: 22px; }
.theme-laocai .m4-block, .theme-laocai .tw-card { border: 0; box-shadow: var(--m4-shadow); }
.theme-laocai { --ft-bg: #E1E8F6; }
.theme-laocai .tw-footer { background: var(--m4-cream); color: var(--m4-ink-2); border-top: 1px solid var(--m4-line); }
.theme-laocai .tw-footer__wave { display: none; }
.theme-laocai .tw-footer h6 { color: var(--m4-ink); }
.theme-laocai .tw-footer a { color: var(--m4-800); }
.theme-laocai .tw-footer a:hover { color: var(--m4-900); }
.theme-laocai .tw-footer__bottom { border-color: var(--m4-line); color: var(--m4-muted); }
