.bgl-report-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	padding: 0;
	border: 0;
	background: none;
	color: #6b7280;
	font-size: 13px;
	line-height: 1.3;
	cursor: pointer;
	text-decoration: none;
}
.bgl-report-link i { font-size: 14px; text-decoration: none; }
.bgl-report-link:hover,
.bgl-report-link:focus-visible { color: #374151; }
.bgl-report-link:hover span,
.bgl-report-link:focus-visible span { text-decoration: underline; }
.bgl-report-sep { border: 0; border-top: 1px solid #e6e1d8; margin: 16px 0 0; }

.bgl-report-modal[hidden],
.bgl-report-modal [hidden] { display: none !important; }

body.bgl-report-open { overflow: hidden; }

.bgl-report-modal {
	position: fixed;
	inset: 0;
	z-index: 11000;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 16px;
	overflow: hidden;
	background: rgba(0, 26, 31, 0.55);
	font-family: 'Fustat', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
	color: #001a1f;
}

.bgl-report-dialog {
	width: min(560px, 100%);
	max-height: calc(100dvh - 32px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 26, 31, 0.28), 0 4px 14px rgba(0, 26, 31, 0.12);
}

.bgl-report-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex: 0 0 auto;
	padding: 18px 20px;
	border-bottom: 1px solid #eef0f0;
}
.bgl-report-head h2,
.bgl-report-body > h2 {
	margin: 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
	color: #001a1f;
}
.bgl-report-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #003842;
	font-size: 1.15rem;
	cursor: pointer;
}
.bgl-report-close:hover,
.bgl-report-close:focus-visible { background: #f4f7f7; }

.bgl-report-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding: 18px 20px 20px;
}
.bgl-report-body > p {
	margin: 0 0 12px;
	color: #3d5a62;
	font-size: 0.95rem;
	line-height: 1.5;
}

.bgl-report-field { margin: 0 0 14px; }
.bgl-report-field > label,
.bgl-report-check {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 650;
	color: #003842;
}
.bgl-report-field input:not([type="checkbox"]):not([type="file"]),
.bgl-report-field select,
.bgl-report-field textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 42px;
	padding: 10px 12px;
	border: 1px solid #d5dde0;
	border-radius: 10px;
	background: #fff;
	color: #001a1f;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 400;
	line-height: 1.45;
}
.bgl-report-field textarea {
	min-height: 120px;
	resize: vertical;
}
.bgl-report-field select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236b7177' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 16px 16px;
}
.bgl-report-field input:focus,
.bgl-report-field select:focus,
.bgl-report-field textarea:focus {
	outline: none;
	border-color: #428583;
	box-shadow: 0 0 0 3px rgba(66, 133, 131, 0.18);
}
.bgl-report-field input[type="file"] {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 8px 0;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 400;
	color: #3d5a62;
}
.bgl-report-help {
	margin: 6px 0 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: #5c6b70;
}
.bgl-report-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: #001a1f;
}
.bgl-report-check--subtle {
	font-size: 13px;
	font-weight: 400;
	color: #3d5a62;
}
.bgl-report-check--subtle span { line-height: 1.45; }
.bgl-report-check input {
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: #428583;
	flex: 0 0 auto;
}
.bgl-report-error {
	margin: 0 0 12px;
	color: #9b2c2c;
	font-size: 14px;
	line-height: 1.4;
}
.bgl-report-dialog--success {
	width: min(420px, 100%);
}
.bgl-report-dialog--success .bgl-report-head {
	position: relative;
	justify-content: flex-end;
	padding: 12px 16px 0;
	border-bottom: 0;
}
.bgl-report-dialog--success .bgl-report-head h2 {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.bgl-report-success {
	padding: 0 20px 18px;
}
.bgl-report-success-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
}
.bgl-report-success-title .ph-check-circle {
	flex: 0 0 auto;
	font-size: 1.45rem;
	line-height: 1;
	color: #428583;
}
.bgl-report-success-title h2 {
	margin: 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 1.35rem;
	font-weight: 500;
	line-height: 1.25;
	color: #001a1f;
}
.bgl-report-success-lead,
.bgl-report-success-extra {
	margin: 0 0 10px;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #3d5a62;
}
.bgl-report-success-extra[hidden] {
	display: none !important;
}
.bgl-report-success-ref {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin: 0 0 14px;
	font-size: 0.82rem;
	line-height: 1.35;
	color: #5c6b70;
}
.bgl-report-success-ref-label {
	font-weight: 500;
	color: #6b7177;
}
.bgl-report-success-ref-value {
	font-weight: 650;
	color: #3d5a62;
}
.bgl-report-copy-ref {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #6b7177;
	font-size: 1rem;
	cursor: pointer;
}
.bgl-report-copy-ref:hover,
.bgl-report-copy-ref:focus-visible {
	background: #f4f7f7;
	color: #428583;
}
.bgl-report-copy-ref.is-copied {
	color: #428583;
}
.bgl-report-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 4px;
}
.bgl-report-actions--success {
	margin-top: 0;
}
.bgl-report-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 16px;
	border-radius: 10px;
	font: inherit;
	font-size: 14px;
	font-weight: 650;
	cursor: pointer;
}
.bgl-report-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.bgl-report-btn-quiet {
	border: 1px solid #d5dde0;
	background: #fff;
	color: #003842;
}
.bgl-report-btn-quiet:hover,
.bgl-report-btn-quiet:focus-visible { background: #f4f7f7; }
.bgl-report-btn-primary {
	border: 1px solid #428583;
	background: #428583;
	color: #fff;
}
.bgl-report-btn-primary:hover,
.bgl-report-btn-primary:focus-visible { background: #356e6c; border-color: #356e6c; }
.bgl-report-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	width: 0;
	opacity: 0;
}
.bgl-inbox-actions-item .ph-flag { color: #6b7280; }
