/* Giao diện haiphong — Thời tiết Hải Phòng. Thành phố cảng: xanh biển + cam cảng.
   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 #1779BA (30%) · nhấn #DD732C (comp, 10%).
   Cấu trúc: đầu trang solid · khối đầu trang bleed · tab underline · bố cục right · thẻ shadow · chân trang ink · font montserrat. */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Nunito+Sans:wght@400;600;700&display=swap");

.theme-haiphong {
	--m4-500: #1C93E3; --m4-600: #1779BA; --m4-700: #1468A0; --m4-800: #10527E; --m4-900: #122332;
	--m4-amber: #DD732C; --m4-sun: #DD732C;
	--m4-cream: #EFF7FD; --m4-cream-2: #DDEFFB;
	--m4-bg: #F8FAFB; --m4-ink: #141F2C; --m4-ink-2: #434C56; --m4-muted: #65707C;
	--m4-line: #DDE5EA; --m4-line-2: #EEF2F4;
	--m4-rain: #0E7490; --m4-cool: #0E7490;
	--tw-ink: #141F2C; --tw-ink-2: #434C56; --tw-muted: #65707C; --tw-line: #DDE5EA; --tw-line-2: #EEF2F4;
	--tw-bg: #F8FAFB; --tw-brand: #1779BA; --tw-brand-600: #1468A0; --tw-brand-700: #10527E;
	--tw-brand-50: #EFF7FD; --tw-brand-100: #DDEFFB; --tw-rain: #0E7490;
	--tt-acc: #DD732C; --tt-acc-text: #A7531B; --tt-acc-50: #FBEEE6;
	--tt-rain-text: #0E7490;
	--chart-ink: #141F2C; --chart-muted: #65707C; --chart-grid: rgba(20, 31, 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: "Montserrat", "Be Vietnam Pro", system-ui, sans-serif;
	--tw-font: "Nunito Sans", "Be Vietnam Pro", system-ui, sans-serif;
	--m4-shadow: 0 1px 2px rgba(18, 35, 50, 0.05), 0 14px 30px -18px rgba(18, 35, 50, 0.28);
	--m4-shadow-lg: 0 24px 54px -26px rgba(18, 35, 50, 0.45);
	background: var(--m4-bg); color: var(--m4-ink); font-family: var(--tw-font);
}
.theme-haiphong a { color: var(--m4-700); }
.theme-haiphong a:hover { color: var(--m4-800); }
.theme-haiphong a:focus-visible, .theme-haiphong button:focus-visible, .theme-haiphong summary:focus-visible, .theme-haiphong [tabindex]:focus-visible { outline: 2px solid var(--m4-700); outline-offset: 2px; border-radius: 6px; }
.theme-haiphong .btn-primary, .theme-haiphong .tw-btn--primary { background: var(--m4-600); border-color: var(--m4-600); color: #fff; }
.theme-haiphong .btn-primary:hover, .theme-haiphong .tw-btn--primary:hover { background: var(--m4-800); border-color: var(--m4-800); color: #fff; }
.theme-haiphong input:focus, .theme-haiphong select:focus, .theme-haiphong textarea:focus, .theme-haiphong .form-control:focus { border-color: var(--m4-600); box-shadow: 0 0 0 3px rgba(23, 121, 186, 0.22); outline: 0; }
.theme-haiphong .m4-h2::before { background: var(--tt-acc); }
.theme-haiphong .m4-chip { background: var(--tt-acc-50); color: var(--tt-acc-text); }
.theme-haiphong .m4-pick__ico { color: var(--m4-700); background: var(--m4-cream); }
.theme-haiphong .m4-acc summary::after { color: var(--m4-700); }
.theme-haiphong .m4-hrow__pop b, .theme-haiphong .m4-moment--wet b, .theme-haiphong .m4-wave__rain b, .theme-haiphong .m4-gantt__rain b, .theme-haiphong .m4-table__rain { color: var(--tt-rain-text); }
.theme-haiphong .m4-hcell__pop i, .theme-haiphong .m4-gantt__rain i { background: var(--m4-rain); }
.theme-haiphong .m4-band__hi { fill: #C2410C; }
.theme-haiphong .m4-band__lo { fill: var(--tt-rain-text); }
.theme-haiphong .m4-ticket__temp, .theme-haiphong .m4-feature__temp { color: var(--m4-700); }
.theme-haiphong .tw-nowcard { background: linear-gradient(150deg, var(--m4-800), var(--m4-600) 60%, var(--m4-500)); }
.theme-haiphong .m4-table thead th { background: var(--m4-cream); color: var(--m4-ink-2); }
.theme-haiphong .m4-table td, .theme-haiphong .m4-table th { border-color: var(--m4-line); }
.theme-haiphong .tw-places__list a { background: #fff; color: var(--m4-ink); box-shadow: inset 0 0 0 1px var(--m4-line); }
.theme-haiphong .tw-places__list a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-haiphong .tw-crumbs a { color: var(--m4-700); }
.theme-haiphong .m4-h2, .theme-haiphong .m4-hero__title, .theme-haiphong .m4-hh__title, .theme-haiphong .tw-pagehead__title, .theme-haiphong .m4-tab b { font-family: var(--m4-display); }
.theme-haiphong .tw-header { background: var(--m4-700); border-bottom: 0; }
.theme-haiphong .tw-header a { color: #fff; }
.theme-haiphong .tw-header .search-input { background: #fff; border: 1px solid transparent; color: var(--m4-ink); }
.theme-haiphong .tw-header .search-input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.theme-haiphong .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-haiphong .tw-header .tw-btn--soft:hover { background: #fff; color: var(--m4-800); }
.theme-haiphong .tw-header::before { display: none; }
.theme-haiphong .tw-header .dropdown-menu, .theme-haiphong .tw-places-menu { background: #fff; color: var(--m4-ink); border: 1px solid var(--m4-line); }
.theme-haiphong .tw-header .dropdown-menu a, .theme-haiphong .tw-places-menu a { color: var(--m4-ink); }
.theme-haiphong .tw-header .dropdown-menu a:hover, .theme-haiphong .tw-places-menu a:hover { background: var(--m4-cream); color: var(--m4-800); }
.theme-haiphong .m4-hero, .theme-haiphong .m4-hero[class*="m4-hero--"] { --h1: var(--m4-800); --h2: var(--m4-600); --h3: rgba(221, 115, 44, 0.55); }
.theme-haiphong .m4-hh { background: radial-gradient(90% 120% at 100% 0%, rgba(221, 115, 44, 0.5) 0, transparent 55%), linear-gradient(120deg, var(--m4-800), var(--m4-600) 65%, var(--m4-500)); }
.theme-haiphong .tw-pagehead { --g1: var(--m4-800); --g2: var(--m4-600); --g3: var(--m4-500); }
.theme-haiphong .m4-ticket, .theme-haiphong .m4-ticket:hover { color: var(--m4-ink); }
.theme-haiphong .m4-tabs { background: rgba(248, 250, 251, 0.94); border-bottom: 1px solid var(--m4-line); }
.theme-haiphong .m4-tabs { background: #fff; padding: 0; }
.theme-haiphong .m4-tab { border-radius: 0; border: 0; border-bottom: 3px solid transparent; padding: 10px 12px 8px; }
.theme-haiphong .m4-tab:hover { background: var(--m4-cream); border-color: transparent; border-bottom-color: var(--m4-200, #BBDFF7); }
.theme-haiphong .m4-tab.is-active, .theme-haiphong .m4-tab.is-active:hover { background: transparent; border-bottom-color: var(--m4-700); box-shadow: none; }
.theme-haiphong .m4-tab.is-active b, .theme-haiphong .m4-tab.is-active span { color: var(--m4-800); }
@media (min-width: 992px) {
	.theme-haiphong .m4-layout { grid-template-columns: minmax(0, 1fr) 310px; }
	.theme-haiphong .m4-side { order: 2; }
}
.theme-haiphong { --m4-radius: 22px; }
.theme-haiphong .m4-block, .theme-haiphong .tw-card { border: 0; box-shadow: var(--m4-shadow); }
.theme-haiphong { --ft-bg: #141F2C; }
.theme-haiphong .tw-footer { background: #141F2C; color: rgba(255, 255, 255, .82); }
.theme-haiphong .tw-footer h6 { color: #fff; }
.theme-haiphong .tw-footer a { color: rgba(255, 255, 255, .88); }
.theme-haiphong .tw-footer a:hover { color: #E9A476; }
.theme-haiphong .tw-footer__bottom { border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); }
.theme-haiphong .tw-footer__wave { color: var(--ft-bg); }
