/* GGT Wetterrückblick */
.ggt-weather-box {
	background: #f8fafc;
	border: 1px solid #e0e8f0;
	border-radius: 10px;
	padding: 20px 24px;
	margin: 1.5em 0;
	max-width: 540px;
	font-family: inherit;
	color: inherit;
}

.ggt-w-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-size: .8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #6b7280;
}

.ggt-w-meta {
	margin-bottom: 14px;
	font-size: .875rem;
	color: #6b7280;
}

.ggt-w-meta-row {
	display: flex;
	gap: 8px;
	margin-bottom: 4px;
}

.ggt-w-data {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.ggt-w-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: .85rem;
}

.ggt-w-item span:first-child { font-size: 1.1rem; }
.ggt-w-item span:nth-child(2) { color: #6b7280; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.ggt-w-item strong { font-size: .95rem; }
.ggt-w-full { grid-column: 1/-1; }

.ggt-w-footer {
	padding-top: 12px;
	border-top: 1px solid #e0e8f0;
}

.ggt-w-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .8rem;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 20px;
	margin-bottom: 8px;
}

.ggt-wb-yes   { background: #d1fae5; color: #065f46; }
.ggt-wb-maybe { background: #fef3c7; color: #92400e; }
.ggt-wb-no    { background: #fee2e2; color: #991b1b; }

.ggt-w-verdict {
	font-size: .875rem;
	color: #6b7280;
	margin: 0;
	font-style: italic;
}

/* ── Inline-Feld ([ggt_weather_field]) ─────────────────────────────────── */
.ggt-w-inline { display: inline; }
.ggt-w-inline-label { font-weight: 600; color: #6b7280; }

/* ── Stil: Visual (SVG-Diagramme) ──────────────────────────────────────── */
.ggt-w-style-visual {
	max-width: 560px;
	padding: 0;
	overflow: hidden;
	border-color: var(--ggt-accent, #098DA3);
}

.ggt-w-visual-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 22px;
	background: linear-gradient(135deg, var(--ggt-accent, #098DA3), color-mix(in srgb, var(--ggt-accent, #098DA3) 65%, #1a1a2e));
	color: #fff;
}

.ggt-w-visual-loc {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: .95rem;
}

.ggt-w-visual-date {
	font-size: .78rem;
	opacity: .85;
	font-weight: 400;
}

.ggt-w-visual-badge .ggt-w-badge {
	margin-bottom: 0;
	background: rgba(255,255,255,.9);
}

.ggt-w-visual-body {
	padding: 18px 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ggt-w-visual-block-label {
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #6b7280;
	margin-bottom: 6px;
}

.ggt-w-temp-svg,
.ggt-w-rain-svg {
	width: 100%;
	height: auto;
	display: block;
}

.ggt-w-visual-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ggt-w-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f1f5f9;
	border-radius: 20px;
	padding: 6px 14px;
	font-size: .82rem;
}

.ggt-w-pill-wide { flex: 1; min-width: 200px; }

.ggt-w-visual-footer {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 14px 22px 18px;
	border-top: 1px solid #e0e8f0;
}

.ggt-w-visual-footer .ggt-w-verdict { font-style: normal; }

/* ── Stil: Text (kompakt) ──────────────────────────────────────────────── */
.ggt-w-style-text {
	background: none;
	border: none;
	border-left: 3px solid var(--ggt-accent, #098DA3);
	border-radius: 0;
	padding: 4px 0 4px 16px;
	max-width: 480px;
}

.ggt-w-text-title {
	font-size: .8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #6b7280;
	margin-bottom: 8px;
}

.ggt-w-text-list { margin: 0; }

.ggt-w-text-row {
	display: flex;
	gap: 10px;
	padding: 3px 0;
	font-size: .875rem;
	border-bottom: 1px dotted #e0e8f0;
}

.ggt-w-text-row:last-child { border-bottom: none; }

.ggt-w-text-row dt {
	flex: 0 0 130px;
	color: #6b7280;
	font-weight: 600;
}

.ggt-w-text-row dd {
	margin: 0;
	flex: 1;
}

/* Admin tabs */
.ggt-weather-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 16px;
	border-bottom: 2px solid #e5e7eb;
	flex-wrap: wrap;
}

.ggt-wtab {
	border: none;
	background: none;
	padding: 8px 14px;
	cursor: pointer;
	font-size: .85rem;
	color: #6b7280;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
}

.ggt-wtab.active {
	color: var(--ggt-accent, #098DA3);
	border-bottom-color: var(--ggt-accent, #098DA3);
	font-weight: 600;
}

.ggt-wpanel { display: none; }
.ggt-wpanel.active { display: block; }

.ggt-coords-row {
	display: flex;
	gap: 12px;
}

.ggt-coords-row label {
	flex: 1;
}
