/* DBR AI Transparency — frontend badge + informationspanel. Minimal CSS. */

.dbrait-figure { position: relative; display: inline-block; margin: 0; max-width: 100%; }

.dbrait-badge {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	line-height: 1.2;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-weight: 600;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
	z-index: 2;
	box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.dbrait-badge__icon { display: inline-flex; }
.dbrait-badge:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Informationspanel */
.dbrait-panel {
	position: absolute;
	z-index: 5;
	bottom: 0;
	left: 0;
	width: min(320px, 92%);
	background: #fff;
	color: #111827;
	border: 1px solid #E5E7EB;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,.18);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	overflow: hidden;
}
.dbrait-panel[hidden] { display: none; }
.dbrait-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border-bottom: 1px solid #F3F4F6;
}
.dbrait-panel__close {
	border: 0;
	background: transparent;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: #6B7280;
}
.dbrait-panel__close:focus-visible { outline: 2px solid #327039; outline-offset: 2px; }
.dbrait-panel__body { margin: 0; padding: 10px 14px; }
.dbrait-panel__row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid #F9FAFB; }
.dbrait-panel__row:last-child { border-bottom: 0; }
.dbrait-panel__row dt { color: #6B7280; margin: 0; }
.dbrait-panel__row dd { margin: 0; font-weight: 500; text-align: right; }
.dbrait-panel__more { margin: 0; padding: 10px 14px; border-top: 1px solid #F3F4F6; }
.dbrait-panel__more a { color: #327039; font-weight: 600; text-decoration: none; }
.dbrait-panel__more a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
	.dbrait-panel { transition: opacity .15s ease; }
}
