/* Giao diện quangninh — Thời tiết Quảng Ninh. Xanh vịnh Hạ Long.
   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 #177C9B (30%) · nhấn #2C56DD (analog, 10%).
   Cấu trúc: đầu trang solid · khối đầu trang diagonal · tab boxed · bố cục below · thẻ shadow · chân trang ink · font grotesk. */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

.theme-quangninh {
	--m4-500: #21B2DE; --m4-600: #177C9B; --m4-700: #146B85; --m4-800: #105469; --m4-900: #122732;
	--m4-amber: #2C56DD; --m4-sun: #2C56DD;
	--m4-cream: #EFFAFD; --m4-cream-2: #DEF3FA;
	--m4-bg: #F8FAFB; --m4-ink: #14212C; --m4-ink-2: #434D56; --m4-muted: #65727C;
	--m4-line: #DDE7EA; --m4-line-2: #EEF3F4;
	--m4-rain: #0E7490; --m4-cool: #0E7490;
	--tw-ink: #14212C; --tw-ink-2: #434D56; --tw-muted: #65727C; --tw-line: #DDE7EA; --tw-line-2: #EEF3F4;
	--tw-bg: #F8FAFB; --tw-brand: #177C9B; --tw-brand-600: #146B85; --tw-brand-700: #105469;
	--tw-brand-50: #EFFAFD; --tw-brand-100: #DEF3FA; --tw-rain: #0E7490;
	--tt-acc: #2C56DD; --tt-acc-text: #2C56DD; --tt-acc-50: #E6EBFB;
	--tt-rain-text: #0E7490;
	--chart-ink: #14212C; --chart-muted: #65727C; --chart-grid: rgba(20, 33, 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: "Space Grotesk", "Be Vietnam Pro", system-ui, sans-serif;
	--tw-font: "Inter", "Be Vietnam Pro", system-ui, sans-serif;
	--m4-shadow: 0 1px 2px rgba(18, 39, 50, 0.05), 0 14px 30px -18px rgba(18, 39, 50, 0.28);
	--m4-shadow-lg: 0 24px 54px -26px rgba(18, 39, 50, 0.45);
	background: var(--m4-bg); color: var(--m4-ink); font-family: var(--tw-font);
}
.theme-quangninh a { color: var(--m4-700); }
.theme-quangninh a:hover { color: var(--m4-800); }
.theme-quangninh a:focus-visible, .theme-quangninh button:focus-visible, .theme-quangninh summary:focus-visible, .theme-quangninh [tabindex]:focus-visible { outline: 2px solid var(--m4-700); outline-offset: 2px; border-radius: 6px; }
.theme-quangninh .btn-primary, .theme-quangninh .tw-btn--primary { background: var(--m4-600); border-color: var(--m4-600); color: #fff; }
.theme-quangninh .btn-primary:hover, .theme-quangninh .tw-btn--primary:hover { background: var(--m4-800); border-color: var(--m4-800); color: #fff; }
.theme-quangninh input:focus, .theme-quangninh select:focus, .theme-quangninh textarea:focus, .theme-quangninh .form-control:focus { border-color: var(--m4-600); box-shadow: 0 0 0 3px rgba(23, 124, 155, 0.22); outline: 0; }
.theme-quangninh .m4-h2::before { background: var(--tt-acc); }
.theme-quangninh .m4-chip { background: var(--tt-acc-50); color: var(--tt-acc-text); }
.theme-quangninh .m4-pick__ico { color: var(--m4-700); background: var(--m4-cream); }
.theme-quangninh .m4-acc summary::after { color: var(--m4-700); }
.theme-quangninh .m4-hrow__pop b, .theme-quangninh .m4-moment--wet b, .theme-quangninh .m4-wave__rain b, .theme-quangninh .m4-gantt__rain b, .theme-quangninh .m4-table__rain { color: var(--tt-rain-text); }
.theme-quangninh .m4-hcell__pop i, .theme-quangninh .m4-gantt__rain i { background: var(--m4-rain); }
.theme-quangninh .m4-band__hi { fill: #C2410C; }
.theme-quangninh .m4-band__lo { fill: var(--tt-rain-text); }
.theme-quangninh .m4-ticket__temp, .theme-quangninh .m4-feature__temp { color: var(--m4-700); }
.theme-quangninh .tw-nowcard { background: linear-gradient(150deg, var(--m4-800), var(--m4-600) 60%, var(--m4-500)); }
.theme-quangninh .m4-table thead th { background: var(--m4-cream); color: var(--m4-ink-2); }
.theme-quangninh .m4-table td, .theme-quangninh .m4-table th { border-color: var(--m4-line); }
.theme-quangninh .tw-places__list a { background: #fff; color: var(--m4-ink); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-quangninh .tw-places__list a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-quangninh .tw-crumbs a { color: var(--m4-700); }
.theme-quangninh .m4-h2, .theme-quangninh .m4-hero__title, .theme-quangninh .m4-hh__title, .theme-quangninh .tw-pagehead__title, .theme-quangninh .m4-tab b { font-family: var(--m4-display); }
.theme-quangninh .tw-header { background: var(--m4-700); border-bottom: 0; }
.theme-quangninh .tw-header a { color: #fff; }
.theme-quangninh .tw-header .search-input { background: #fff; border: 1px solid transparent; color: var(--m4-ink); }
.theme-quangninh .tw-header .search-input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.theme-quangninh .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-quangninh .tw-header .tw-btn--soft:hover { background: #fff; color: var(--m4-800); }
.theme-quangninh .tw-header::before { display: none; }
.theme-quangninh .tw-header .dropdown-menu, .theme-quangninh .tw-places-menu { background: #fff; color: var(--m4-ink); border: 1px solid var(--m4-line); }
.theme-quangninh .tw-header .dropdown-menu a, .theme-quangninh .tw-places-menu a { color: var(--m4-ink); }
.theme-quangninh .tw-header .dropdown-menu a:hover, .theme-quangninh .tw-places-menu a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-quangninh .m4-hero, .theme-quangninh .m4-hero[class*="m4-hero--"] { --h1: var(--m4-800); --h2: var(--m4-600); --h3: rgba(44, 86, 221, 0.55); }
.theme-quangninh .m4-hh { background: linear-gradient(135deg, var(--m4-900), var(--m4-700) 60%, var(--m4-600)); }
.theme-quangninh .tw-pagehead { --g1: var(--m4-800); --g2: var(--m4-600); --g3: var(--m4-500); }
.theme-quangninh .m4-ticket, .theme-quangninh .m4-ticket:hover { color: var(--m4-ink); }
.theme-quangninh .m4-hero, .theme-quangninh .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-quangninh .m4-hh { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%); padding-bottom: 70px; }
.theme-quangninh .m4-hero__rays { display: none; }
.theme-quangninh .m4-kicker__season { background: var(--tt-acc); color: #fff; }
.theme-quangninh .m4-tabs { background: rgba(248, 250, 251, 0.94); border-bottom: 1px solid var(--m4-line); }
.theme-quangninh .m4-tab { border-radius: 6px; background: #fff; border: 1px solid var(--m4-line); }
.theme-quangninh .m4-tab:hover { border-color: var(--m4-600); background: #fff; }
.theme-quangninh .m4-tab.is-active, .theme-quangninh .m4-tab.is-active:hover { background: var(--m4-900); border-color: var(--m4-900); box-shadow: inset 0 -4px 0 var(--tt-acc); }
.theme-quangninh .m4-layout { grid-template-columns: minmax(0, 1fr); }
.theme-quangninh .m4-side { order: 2; position: static; }
@media (min-width: 992px) {
	.theme-quangninh .m4-content { max-width: 920px; margin: 0 auto; width: 100%; }
	.theme-quangninh .m4-side .tw-side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
}
.theme-quangninh { --m4-radius: 22px; }
.theme-quangninh .m4-block, .theme-quangninh .tw-card { border: 0; box-shadow: var(--m4-shadow); }
.theme-quangninh { --ft-bg: #14212C; }
.theme-quangninh .tw-footer { background: #14212C; color: rgba(255, 255, 255, .82); }
.theme-quangninh .tw-footer h6 { color: #fff; }
.theme-quangninh .tw-footer a { color: rgba(255, 255, 255, .88); }
.theme-quangninh .tw-footer a:hover { color: #7691E9; }
.theme-quangninh .tw-footer__bottom { border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); }
.theme-quangninh .tw-footer__wave { color: var(--ft-bg); }
