/* Giao diện caobang — Thời tiết Cao Bằng. Xanh ngọc thác Bản Giốc, nhấn san hô.
   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 #F8FAFB (60%) · chủ đạo #197F8B (30%) · nhấn #DD3E2C (comp, 10%).
   Cấu trúc: đầu trang gradient · khối đầu trang diagonal · tab outline · bố cục left · thẻ sharp · chân trang ink · font oswald. */
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;600&family=Mulish:wght@400;600;700&display=swap");

.theme-caobang {
	--m4-500: #26C7D9; --m4-600: #197F8B; --m4-700: #156D78; --m4-800: #11565F; --m4-900: #122A32;
	--m4-amber: #DD3E2C; --m4-sun: #DD3E2C;
	--m4-cream: #F0FBFC; --m4-cream-2: #DEF7F9;
	--m4-bg: #F8FAFB; --m4-ink: #14232C; --m4-ink-2: #434F56; --m4-muted: #65747C;
	--m4-line: #DDE9EA; --m4-line-2: #EEF4F4;
	--m4-rain: #1D6FD1; --m4-cool: #1D6FD1;
	--tw-ink: #14232C; --tw-ink-2: #434F56; --tw-muted: #65747C; --tw-line: #DDE9EA; --tw-line-2: #EEF4F4;
	--tw-bg: #F8FAFB; --tw-brand: #197F8B; --tw-brand-600: #156D78; --tw-brand-700: #11565F;
	--tw-brand-50: #F0FBFC; --tw-brand-100: #DEF7F9; --tw-rain: #1D6FD1;
	--tt-acc: #DD3E2C; --tt-acc-text: #C53120; --tt-acc-50: #FBE8E6;
	--tt-rain-text: #1D6FD1;
	--chart-ink: #14232C; --chart-muted: #65747C; --chart-grid: rgba(20, 35, 44, 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: "Oswald", "Be Vietnam Pro", system-ui, sans-serif;
	--tw-font: "Mulish", "Be Vietnam Pro", system-ui, sans-serif;
	--m4-shadow: 0 1px 2px rgba(18, 42, 50, 0.05), 0 14px 30px -18px rgba(18, 42, 50, 0.28);
	--m4-shadow-lg: 0 24px 54px -26px rgba(18, 42, 50, 0.45);
	background: var(--m4-bg); color: var(--m4-ink); font-family: var(--tw-font);
}
.theme-caobang a { color: var(--m4-700); }
.theme-caobang a:hover { color: var(--m4-800); }
.theme-caobang a:focus-visible, .theme-caobang button:focus-visible, .theme-caobang summary:focus-visible, .theme-caobang [tabindex]:focus-visible { outline: 2px solid var(--m4-700); outline-offset: 2px; border-radius: 6px; }
.theme-caobang .btn-primary, .theme-caobang .tw-btn--primary { background: var(--m4-600); border-color: var(--m4-600); color: #fff; }
.theme-caobang .btn-primary:hover, .theme-caobang .tw-btn--primary:hover { background: var(--m4-800); border-color: var(--m4-800); color: #fff; }
.theme-caobang input:focus, .theme-caobang select:focus, .theme-caobang textarea:focus, .theme-caobang .form-control:focus { border-color: var(--m4-600); box-shadow: 0 0 0 3px rgba(25, 127, 139, 0.22); outline: 0; }
.theme-caobang .m4-h2::before { background: var(--tt-acc); }
.theme-caobang .m4-chip { background: var(--tt-acc-50); color: var(--tt-acc-text); }
.theme-caobang .m4-pick__ico { color: var(--m4-700); background: var(--m4-cream); }
.theme-caobang .m4-acc summary::after { color: var(--m4-700); }
.theme-caobang .m4-hrow__pop b, .theme-caobang .m4-moment--wet b, .theme-caobang .m4-wave__rain b, .theme-caobang .m4-gantt__rain b, .theme-caobang .m4-table__rain { color: var(--tt-rain-text); }
.theme-caobang .m4-hcell__pop i, .theme-caobang .m4-gantt__rain i { background: var(--m4-rain); }
.theme-caobang .m4-band__hi { fill: #C2410C; }
.theme-caobang .m4-band__lo { fill: var(--tt-rain-text); }
.theme-caobang .m4-ticket__temp, .theme-caobang .m4-feature__temp { color: var(--m4-700); }
.theme-caobang .tw-nowcard { background: linear-gradient(150deg, var(--m4-800), var(--m4-600) 60%, var(--m4-500)); }
.theme-caobang .m4-table thead th { background: var(--m4-cream); color: var(--m4-ink-2); }
.theme-caobang .m4-table td, .theme-caobang .m4-table th { border-color: var(--m4-line); }
.theme-caobang .tw-places__list a { background: #fff; color: var(--m4-ink); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-caobang .tw-places__list a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-caobang .tw-crumbs a { color: var(--m4-700); }
.theme-caobang .m4-h2, .theme-caobang .m4-hero__title, .theme-caobang .m4-hh__title, .theme-caobang .tw-pagehead__title, .theme-caobang .m4-tab b { font-family: var(--m4-display); }
.theme-caobang .tw-header { background: linear-gradient(100deg, var(--m4-800), var(--m4-600)); border-bottom: 0; }
.theme-caobang .tw-header a { color: #fff; }
.theme-caobang .tw-header .search-input { background: #fff; border: 1px solid transparent; color: var(--m4-ink); }
.theme-caobang .tw-header .search-input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.theme-caobang .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-caobang .tw-header .tw-btn--soft:hover { background: #fff; color: var(--m4-800); }
.theme-caobang .tw-header::before { display: none; }
.theme-caobang .tw-header .dropdown-menu, .theme-caobang .tw-places-menu { background: #fff; color: var(--m4-ink); border: 1px solid var(--m4-line); }
.theme-caobang .tw-header .dropdown-menu a, .theme-caobang .tw-places-menu a { color: var(--m4-ink); }
.theme-caobang .tw-header .dropdown-menu a:hover, .theme-caobang .tw-places-menu a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-caobang .m4-hero, .theme-caobang .m4-hero[class*="m4-hero--"] { --h1: var(--m4-800); --h2: var(--m4-600); --h3: rgba(221, 62, 44, 0.55); }
.theme-caobang .m4-hh { background: linear-gradient(135deg, var(--m4-900), var(--m4-700) 60%, var(--m4-600)); }
.theme-caobang .tw-pagehead { --g1: var(--m4-800); --g2: var(--m4-600); --g3: var(--m4-500); }
.theme-caobang .m4-ticket, .theme-caobang .m4-ticket:hover { color: var(--m4-ink); }
.theme-caobang .m4-hero, .theme-caobang .m4-hero[class*="m4-hero--"] { background: linear-gradient(135deg, var(--m4-900), var(--m4-700) 60%, var(--m4-600)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), 0 100%); padding-bottom: 58px; }
.theme-caobang .m4-hh { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%); padding-bottom: 70px; }
.theme-caobang .m4-hero__rays { display: none; }
.theme-caobang .m4-kicker__season { background: var(--tt-acc); color: #fff; }
.theme-caobang .m4-tabs { background: rgba(248, 250, 251, 0.94); border-bottom: 1px solid var(--m4-line); }
.theme-caobang .m4-tab { border-radius: 999px; border: 1.5px solid var(--m4-line); background: #fff; }
.theme-caobang .m4-tab:hover { border-color: var(--m4-600); background: #fff; }
.theme-caobang .m4-tab.is-active, .theme-caobang .m4-tab.is-active:hover { background: #fff; border: 2px solid var(--m4-700); box-shadow: none; }
.theme-caobang .m4-tab.is-active b, .theme-caobang .m4-tab.is-active span { color: var(--m4-800); }
.theme-caobang { --m4-radius: 4px; }
.theme-caobang .m4-block, .theme-caobang .tw-card { border: 1px solid var(--m4-line); box-shadow: 3px 3px 0 rgba(25, 127, 139, 0.12); }
.theme-caobang .m4-tab, .theme-caobang .tw-places__list a, .theme-caobang .m4-facts li { border-radius: 4px; }
.theme-caobang { --ft-bg: #14232C; }
.theme-caobang .tw-footer { background: #14232C; color: rgba(255, 255, 255, .82); }
.theme-caobang .tw-footer h6 { color: #fff; }
.theme-caobang .tw-footer a { color: rgba(255, 255, 255, .88); }
.theme-caobang .tw-footer a:hover { color: #E98276; }
.theme-caobang .tw-footer__bottom { border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); }
.theme-caobang .tw-footer__wave { color: var(--ft-bg); }
