.omm-container {
	position: relative;
	width: 100%;
	max-width: 1200px;
	box-sizing: border-box;
	margin: 0 auto 2em;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

/* Licht thema (standaard): klassieke stijl, zoals de andere weer-plugins (Weer Hub). */
.omm-theme-light {
	background: #f3f4f6;
	color: #1c2430;
}

/* Blauwe titelbalk (staat buiten de geschaalde kaart, dus altijd leesbaar). */
.omm-kop {
	background: linear-gradient(90deg, var(--wk-kop-basis-1, #1f5fae), var(--wk-kop-basis-2, #4a8ad6));
	color: var(--wk-kop-basis-tekst, #fff);
	padding: 10px 16px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

/* Donker thema (via [meteogram theme="dark"]) */
.omm-theme-dark {
	background: #1a1b1d;
	color: #e6e6e6;
}

/* Donkerblauw thema (via [meteogram theme="darkblue"]) */
.omm-theme-darkblue {
	background: #0d1b2a;
	color: #eaf2fa;
}

.omm-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 6px 14px;
	padding: 12px 14px 6px;
}

.omm-header-main {
	flex: 1 1 220px;
	min-width: 0;
}

.omm-title {
	font-size: 15px;
	font-weight: 700;
}

.omm-updated {
	font-size: 11px;
	white-space: nowrap;
	min-height: 1.3em;
}

.omm-model-picker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 12px;
}

.omm-model-picker label {
	white-space: nowrap;
}

.omm-model-select {
	max-width: 260px;
	padding: 3px 6px;
	font-size: 12px;
	border-radius: 4px;
}

.omm-theme-light .omm-model-select {
	background: #fafafa;
	border: 1px solid #ccc;
	color: #2b2f33;
}

.omm-theme-dark .omm-model-select {
	background: #2a2b2f;
	border: 1px solid #4a4b50;
	color: #e6e6e6;
}

.omm-theme-darkblue .omm-model-select {
	background: #10233a;
	border: 1px solid #2a4a63;
	color: #eaf2fa;
}

.omm-model-fixed {
	font-size: 11.5px;
	padding: 3px 8px;
	border-radius: 4px;
}

.omm-theme-light .omm-model-fixed { background: #f2f2f2; color: #555; }
.omm-theme-dark .omm-model-fixed { background: rgba(255,255,255,0.08); color: #cfcfcf; }
.omm-theme-darkblue .omm-model-fixed { background: rgba(255,255,255,0.08); color: #c3d5e6; }

.omm-model-status {
	font-size: 11px;
	min-height: 1.3em;
}

.omm-theme-light .omm-model-status { color: #767676; }
.omm-theme-dark .omm-model-status { color: #a0a0a0; }
.omm-theme-darkblue .omm-model-status { color: #93aec6; }

.omm-model-status-error {
	color: #d14343 !important;
}

.omm-theme-light .omm-title { color: #23262a; }
.omm-theme-light .omm-updated { color: #8a8f94; }

.omm-theme-dark .omm-title { color: #f0f0f0; }
.omm-theme-dark .omm-updated { color: #9a9a9a; }

.omm-theme-darkblue .omm-title { color: #eaf2fa; }
.omm-theme-darkblue .omm-updated { color: #93aec6; }

.omm-canvas {
	display: block;
	width: 100%;
	cursor: crosshair;
	max-width: none !important;
}

.omm-tooltip {
	position: absolute;
	z-index: 5;
	border-radius: 6px;
	padding: 8px 10px;
	font-size: 12px;
	line-height: 1.5;
	pointer-events: none;
	min-width: 170px;
	max-width: 230px;
}

.omm-tooltip[hidden] {
	display: none;
}

.omm-theme-light .omm-tooltip {
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(20, 20, 25, 0.12);
	color: #2b2f33;
	box-shadow: 0 4px 14px rgba(20, 20, 25, 0.12);
}

.omm-theme-dark .omm-tooltip {
	background: rgba(20, 20, 22, 0.94);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #f0f0f0;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.omm-theme-darkblue .omm-tooltip {
	background: rgba(13, 27, 42, 0.96);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #eaf2fa;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.omm-tt-title {
	font-weight: 700;
	margin-bottom: 4px;
}

.omm-tt-row {
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.omm-tt-row span {
	flex: 1 1 auto;
	opacity: 0.8;
}

.omm-tt-row b {
	font-weight: 600;
	margin-left: 8px;
}

.omm-tt-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex: 0 0 auto;
}

.omm-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 8px 14px;
	font-size: 11.5px;
}

.omm-theme-light .omm-legend {
	color: #4c5157;
	background: #f7f9fb;
	border-top: 1px solid #eceef0;
}

.omm-theme-dark .omm-legend {
	color: #cfcfcf;
	background: rgba(255, 255, 255, 0.045);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.omm-theme-darkblue .omm-legend {
	color: #c3d5e6;
	background: rgba(255, 255, 255, 0.04);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.omm-legend-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

.omm-swatch {
	display: inline-block;
	width: 14px;
	height: 3px;
	border-radius: 2px;
}

.omm-theme-light .omm-swatch-temp { background: #df3232; }
.omm-theme-light .omm-swatch-feels { background: repeating-linear-gradient(90deg, #98424c 0 3px, transparent 3px 6px); }
.omm-theme-light .omm-swatch-pressure { background: repeating-linear-gradient(90deg, #7cb518 0 3px, transparent 3px 6px); }
.omm-theme-light .omm-swatch-precip { background: #4a90c6; height: 8px; border-radius: 1px; }
.omm-theme-light .omm-swatch-cloud { background: rgba(91,96,102,0.35); height: 8px; border-radius: 1px; }
.omm-theme-light .omm-swatch-ts { background: #f2960c; height: 8px; border-radius: 1px; }

.omm-theme-dark .omm-swatch-temp { background: #e8483c; }
.omm-theme-dark .omm-swatch-feels { background: repeating-linear-gradient(90deg, rgba(230,230,230,0.8) 0 3px, transparent 3px 6px); }
.omm-theme-dark .omm-swatch-pressure { background: repeating-linear-gradient(90deg, #8bc34a 0 3px, transparent 3px 6px); }
.omm-theme-dark .omm-swatch-precip { background: #4a90d9; height: 8px; border-radius: 1px; }
.omm-theme-dark .omm-swatch-cloud { background: rgba(200,200,205,0.4); height: 8px; border-radius: 1px; }
.omm-theme-dark .omm-swatch-ts { background: #ff9800; height: 8px; border-radius: 1px; }

.omm-theme-darkblue .omm-swatch-temp { background: #ff6b5b; }
.omm-theme-darkblue .omm-swatch-feels { background: repeating-linear-gradient(90deg, rgba(220,232,245,0.75) 0 3px, transparent 3px 6px); }
.omm-theme-darkblue .omm-swatch-pressure { background: repeating-linear-gradient(90deg, #7ed957 0 3px, transparent 3px 6px); }
.omm-theme-darkblue .omm-swatch-precip { background: #29b6f6; height: 8px; border-radius: 1px; }
.omm-theme-darkblue .omm-swatch-cloud { background: rgba(180,200,220,0.4); height: 8px; border-radius: 1px; }
.omm-theme-darkblue .omm-swatch-ts { background: #ffb300; height: 8px; border-radius: 1px; }

/* Rond bolletje met de Beaufort-kleurenschaal (0=stil t/m 12=orkaan), zoals de badges
   onder de windpijltjes in de grafiek zelf. Zelfde voor beide thema's: vaste schaal. */
.omm-swatch-beaufort {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: linear-gradient(90deg, #bfbfbf 0%, #57d6b2 28%, #ffe24b 52%, #ff9a2e 74%, #c21f1f 100%);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
}

.omm-attribution {
	padding: 2px 14px 10px;
	font-size: 10.5px;
}

.omm-theme-light .omm-attribution { color: #5b6472; background: #f3f4f6; }
.omm-theme-dark .omm-attribution { color: #9a9a9a; background: rgba(255, 255, 255, 0.045); }
.omm-theme-darkblue .omm-attribution { color: #93aec6; background: rgba(255, 255, 255, 0.04); }

.omm-theme-light .omm-attribution a { color: #2f6497; text-decoration: none; }
.omm-theme-dark .omm-attribution a { color: #9fc4ec; text-decoration: none; }
.omm-theme-darkblue .omm-attribution a { color: #7ec8fa; text-decoration: none; }
.omm-attribution a:hover { text-decoration: underline; }

.omm-error {
	padding: 14px 16px;
	border-radius: 6px;
	background: #3a2020;
	color: #f3caca;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 13px;
}

/*
 * Breedte-varianten voor de shortcode: [meteogram width="full|wide|900px|80%"]
 * "full" en "wide" breken uit de (vaak smalle) tekstkolom van het thema via de
 * gangbare full-bleed-truc met 100vw en negatieve marges.
 */
.omm-width-full,
.omm-width-wide {
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.omm-width-full {
	max-width: 100vw;
	border-radius: 0;
}

.omm-width-wide {
	max-width: 1400px;
}

.omm-width-custom {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

}

/* Op een smartphone (< 600 px) wordt de HELE kaart (koptekst, grafiek, legende)
   op 900 px breed opgebouwd en als geheel verkleind
   met transform:scale() (meteogram.js, resize()). Verder inzoomen gaat met
   de gewone pinch-zoom van de browser: de kaart zoomt dan mee met de pagina.
   De max-width-overrides beschermen tegen thema's die alles op 100% zetten. */
.omm-scale-viewport {
	display: block;
	width: 100%;
}

.omm-scale-inner {
	position: relative;
	max-width: none !important;
	transform-origin: top left;
}

/* Mouseover in de stijl van Weer Meters: donker venster, grijze labels, vette waarden. */
.omm-tooltip,
.omm-theme-light .omm-tooltip,
.omm-theme-dark .omm-tooltip,
.omm-theme-darkblue .omm-tooltip {
	background: #1c2430;
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 9px 12px;
	font-size: 12.5px;
	line-height: 1.55;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}
.omm-tt-title {
	color: #fff;
}
.omm-tt-row span {
	opacity: 1;
	color: #c4cedb;
}
.omm-tt-row b {
	color: #fff;
	font-weight: 700;
}

/* Uitleg onder het meteogram. */
.omm-uitleg {
	margin: 0 16px 16px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.55;
	color: #1c2430;
}

.omm-theme-dark .omm-uitleg,
.omm-theme-darkblue .omm-uitleg {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.1);
	color: inherit;
}

.omm-uitleg-titel {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 6px;
}

.omm-uitleg p {
	margin: 0 0 8px;
}

.omm-uitleg .omm-uitleg-lijst {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
}

.omm-uitleg .omm-uitleg-lijst li {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 4px;
	padding: 0;
}

.omm-uitleg .omm-uitleg-lijst .omm-swatch {
	flex: none;
	width: 22px;
	position: relative;
	top: -2px;
}
.omm-uitleg .omm-uitleg-lijst .omm-swatch-beaufort {
	width: 14px;
}

.omm-uitleg .omm-uitleg-tip {
	margin: 0;
	font-size: 12.5px;
	color: #5b6472;
}

.omm-theme-dark .omm-uitleg .omm-uitleg-tip,
.omm-theme-darkblue .omm-uitleg .omm-uitleg-tip {
	color: inherit;
	opacity: 0.75;
}

@media (max-width: 600px) {
	.omm-uitleg {
		margin: 0 10px 10px;
		padding: 12px;
		font-size: 13.5px;
	}
}

/* Grafiekknoppen (zoals WXSIM Verwachting) */
.omm-gknoppen { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px 4px; }
.omm-container button.omm-gknop { margin: 0; padding: 6px 14px; border: 1px solid #c9ced6; border-radius: 999px; background: #fff; color: #1c2430; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; cursor: pointer; box-shadow: none; text-transform: none; }
.omm-container button.omm-gknop:hover { border-color: var(--wk-knop, #1a5fa0); background: #fff; color: #1c2430; }
.omm-container button.omm-gknop.is-actief { background: var(--wk-knop, #1a5fa0); border-color: var(--wk-knop, #1a5fa0); color: var(--wk-knop-tekst, #fff); }
.omm-extra { padding: 4px 14px 10px; background: #fff; }
.omm-extra[hidden], .omm-container .is-verborgen { display: none !important; }
.omm-x-hint { margin: 6px 0 0; font-size: 12px; color: #5b6472; }
/* Klikbare legende van het meteogram */
.omm-container button.omm-legend-item { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; box-shadow: none; text-transform: none; }
.omm-container button.omm-legend-item:hover { background: none; color: inherit; text-decoration: underline; }
.omm-container button.omm-legend-item.is-uit { opacity: 0.4; text-decoration: line-through; }

.omm-x-legende { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 2px 0 4px; }
.omm-container button.omm-x-leg { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 2px 4px; border: 0; background: none; color: #3c4553; font: inherit; font-size: 12.5px; cursor: pointer; box-shadow: none; text-transform: none; }
.omm-container button.omm-x-leg:hover { background: none; color: #1c2430; }
.omm-container button.omm-x-leg.is-uit { opacity: 0.4; text-decoration: line-through; }
.omm-x-leg i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; background: var(--k); }
.omm-x-leg i.omm-x-leg-staaf { width: 10px; height: 10px; }
.omm-x-leg i.omm-x-leg-streep { background: repeating-linear-gradient(90deg, var(--k) 0 4px, transparent 4px 7px); }
.omm-x-hint { margin: 6px 0 0; font-size: 12px; color: #5b6472; }
/* Grafiek */
.omm-x-grafiek { position: relative; }
.omm-x-svg { display: block; width: 100%; height: auto; }
.omm-x-svg text { font-family: inherit; }
.omm-x-nacht { fill: #eef1f6; }
.omm-x-raster { stroke: #e6e9ed; stroke-width: 1; }
.omm-x-daglijn { stroke: #b9c2cf; stroke-width: 1; stroke-dasharray: 3 3; }
.omm-x-tick { stroke: #8a929c; }
.omm-x-as { fill: #5b6472; font-size: 12px; }
.omm-x-dag { fill: #1f5fae; font-size: 13px; font-weight: 700; }
.omm-x-ico { font-size: 17px; }
.omm-x-bf { fill: #1c2430; font-size: 11px; font-weight: 700; }
.omm-x-hover { stroke: #1c2430; stroke-opacity: 0.45; stroke-width: 1; }
.omm-x-mm-balk { fill: #e6eaf2; }
.omm-x-mm-t { font-size: 13px; font-weight: 700; }
.omm-x-tip { position: absolute; z-index: 5; pointer-events: none; min-width: 200px; padding: 9px 12px; background: #1c2430; color: #c4cedb; border-radius: 10px; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28); font-size: 12.5px; line-height: 1.6; }
.omm-x-tip[hidden] { display: none; }
.omm-x-tip b { color: #fff; }
.omm-x-tip div { display: flex; align-items: center; gap: 6px; }
.omm-x-tip i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.omm-x-tip span { margin-left: auto; padding-left: 12px; color: #fff; font-weight: 700; }
.omm-x-tip .omm-x-tip-ico { color: #fff; }

/* Tabbladen Grafiek / Overzicht / Tabel */
.omm-tabs { display: flex; gap: 6px; padding: 10px 14px 0; border-bottom: 1px solid #dfe2e6; }
.omm-container button.omm-tab { margin: 0 0 -1px; padding: 8px 18px; border: 1px solid transparent; border-radius: 8px 8px 0 0; background: transparent; color: #3c4553; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: none; text-transform: none; }
.omm-container button.omm-tab:hover { background: #e9ebee; color: #1c2430; }
.omm-container button.omm-tab.is-actief { background: #fff; border-color: #dfe2e6 #dfe2e6 #fff; color: #1f5fae; }
.omm-theme-dark .omm-tabs, .omm-theme-darkblue .omm-tabs { border-bottom-color: rgba(255, 255, 255, 0.15); }
.omm-theme-dark button.omm-tab, .omm-theme-darkblue button.omm-tab { color: inherit; }

/* Overzicht */
.omm-x-overzicht { display: grid; gap: 10px; }
.omm-x-ov { display: flex; gap: 14px; padding: 12px 14px; background: #f8f9fa; border: 1px solid #e3e6ea; border-radius: 10px; }
.omm-x-ov-ico { font-size: 40px; line-height: 1; }
.omm-x-ov-tekst { min-width: 0; }
.omm-x-ov-naam { font-weight: 700; color: #1f5fae; font-size: 15px; }
.omm-x-ov p { margin: 4px 0 8px; }
.omm-x-ov-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.omm-x-chip { padding: 4px 10px; background: #fff; border: 1px solid #e3e6ea; border-radius: 8px; }
.omm-x-chip small { display: block; font-size: 11px; color: #5b6472; }
.omm-x-chip b { font-size: 13px; }

/* Tabel */
.omm-x-tabelwrap { max-height: 560px; overflow: auto; border: 1px solid #e3e6ea; border-radius: 8px; }
.omm-container table.omm-x-tabel { width: 100%; margin: 0; border-collapse: collapse; font-size: 13px; }
.omm-x-tabel th, .omm-x-tabel td { padding: 5px 8px; border: 0; border-bottom: 1px solid #eef0f2; text-align: center; white-space: nowrap; background: none; }
.omm-x-tabel thead th { position: sticky; top: 0; z-index: 1; background: #f3f4f6; color: #3c4553; font-weight: 700; }
.omm-x-tabel tr.omm-x-tdag td { position: sticky; top: 30px; background: #e8eef7; color: #1f5fae; font-weight: 700; text-align: left; }
.omm-x-tabel tr.is-nacht td { background: #f7f8fa; color: #5b6472; }
.omm-x-t-uur { font-weight: 600; }
.omm-x-t-ico { font-size: 16px; }
.omm-x-t-temp { font-weight: 700; color: #d63a1e; }
.omm-x-t-regen { color: #1f5fae; font-weight: 600; }
.omm-x-t-grijs { color: #9aa3ad; }
.omm-x-t-wind svg { vertical-align: -2px; }
.omm-x-ov p { font-size: 14px; line-height: 1.5; }
.omm-x-overzicht, .omm-x-tabelwrap { font-size: 14px; }
