/* edgaa-widget.css — Frontend accessibility widget */

/* ── Position ───────────────────────────────────────────────────────────── */
.edgaa-widget {
	position: fixed;
	z-index: 9999999;
	direction: rtl;
}
.edgaa-pos-bottom-right { bottom: 20px; right: 20px; }
.edgaa-pos-bottom-left  { bottom: 20px; left:  20px; }
.edgaa-pos-top-right    { top:    80px; right: 20px; }
.edgaa-pos-top-left     { top:    80px; left:  20px; }
.edgaa-pos-middle-right { top: 50%; transform: translateY(-50%); right: 20px; }
.edgaa-pos-middle-left  { top: 50%; transform: translateY(-50%); left:  20px; }

/* ── Toggle button ──────────────────────────────────────────────────────── */
.edgaa-toggle-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 3px solid rgba(255,255,255,.9);
	background: var(--edgaa-color, #1565C0);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0,0,0,.3);
	transition: transform .2s, box-shadow .2s;
	padding: 0;
	position: relative;
	z-index: 2;
}
.edgaa-toggle-btn:hover  { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.edgaa-toggle-btn:focus  { outline: 3px solid #FDD835; outline-offset: 3px; }
.edgaa-toggle-btn svg    { width: 62%; height: 62%; pointer-events: none; }

/* ── Panel ──────────────────────────────────────────────────────────────── */
.edgaa-panel {
	position: absolute;
	width: 300px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 40px rgba(0,0,0,.22);
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	transform: scale(.95) translateY(8px);
	transition: opacity .25s, transform .25s, visibility .25s;
	border: 1px solid rgba(0,0,0,.08);
}
.edgaa-panel--open {
	visibility: visible;
	opacity: 1;
	transform: scale(1) translateY(0);
}

/* Panel positioning relative to button */
.edgaa-pos-bottom-right .edgaa-panel,
.edgaa-pos-top-right    .edgaa-panel,
.edgaa-pos-middle-right .edgaa-panel { right: 0; }
.edgaa-pos-bottom-left  .edgaa-panel,
.edgaa-pos-top-left     .edgaa-panel,
.edgaa-pos-middle-left  .edgaa-panel { left: 0; }

.edgaa-pos-bottom-right .edgaa-panel,
.edgaa-pos-bottom-left  .edgaa-panel { bottom: calc(100% + 12px); }
.edgaa-pos-top-right    .edgaa-panel,
.edgaa-pos-top-left     .edgaa-panel { top: calc(100% + 12px); }
.edgaa-pos-middle-right .edgaa-panel,
.edgaa-pos-middle-left  .edgaa-panel { bottom: calc(100% + 12px); }

/* ── Panel header ───────────────────────────────────────────────────────── */
.edgaa-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(135deg, #1565C0, #0D47A1);
	color: #fff;
	padding: 14px 16px;
}
.edgaa-panel-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 15px;
}
.edgaa-panel-icon svg {
	width: 22px;
	height: 22px;
}
.edgaa-close-btn {
	background: rgba(255,255,255,.2);
	border: none;
	color: #fff;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s;
}
.edgaa-close-btn:hover  { background: rgba(255,255,255,.35); }
.edgaa-close-btn:focus  { outline: 2px solid #FDD835; }

/* ── Panel body ─────────────────────────────────────────────────────────── */
.edgaa-panel-body {
	padding: 12px;
	max-height: 70vh;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.edgaa-panel-body::-webkit-scrollbar { width: 4px; }
.edgaa-panel-body::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

/* ── Section ────────────────────────────────────────────────────────────── */
.edgaa-section {
	border: 1px solid #f0f0f0;
	border-radius: 10px;
	padding: 10px;
	background: #fafafa;
}
.edgaa-section-title {
	font-size: 11px;
	font-weight: 700;
	color: #1565C0;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 8px;
}

/* ── Button grid ────────────────────────────────────────────────────────── */
.edgaa-btn-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
}

/* ── Tool buttons ───────────────────────────────────────────────────────── */
.edgaa-tool-btn {
	background: #fff;
	border: 1.5px solid #e0e0e0;
	border-radius: 8px;
	padding: 8px 6px;
	font-size: 12px;
	cursor: pointer;
	transition: all .2s;
	text-align: center;
	color: #333;
	line-height: 1.3;
	font-family: inherit;
}
.edgaa-tool-btn:hover {
	border-color: #1565C0;
	color: #1565C0;
	background: #e8f0fe;
}
.edgaa-tool-btn.active {
	background: #1565C0;
	color: #fff;
	border-color: #1565C0;
}
.edgaa-tool-btn:focus {
	outline: 2px solid #FDD835;
	outline-offset: 2px;
}

/* ── Stepper ────────────────────────────────────────────────────────────── */
.edgaa-stepper {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1.5px solid #e0e0e0;
	border-radius: 8px;
	padding: 6px 10px;
}
.edgaa-stepper-label {
	flex: 1;
	font-size: 12px;
	color: #444;
}
.edgaa-stepper-btn {
	background: #e8f0fe;
	border: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	color: #1565C0;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s;
}
.edgaa-stepper-btn:hover  { background: #1565C0; color: #fff; }
.edgaa-stepper-btn:focus  { outline: 2px solid #FDD835; }
.edgaa-stepper-val {
	min-width: 20px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	color: #1565C0;
}

/* ── Statement link ─────────────────────────────────────────────────────── */
.edgaa-statement-link {
	display: block;
	text-align: center;
	padding: 9px;
	background: #e8f0fe;
	border-radius: 8px;
	color: #1565C0;
	font-size: 13px;
	text-decoration: none;
	font-weight: 600;
	transition: background .2s;
}
.edgaa-statement-link:hover { background: #c5d8f8; }

/* ── Reset button ───────────────────────────────────────────────────────── */
.edgaa-reset-btn {
	display: block;
	width: 100%;
	padding: 8px;
	background: none;
	border: 1.5px solid #e0e0e0;
	border-radius: 8px;
	color: #888;
	font-size: 13px;
	cursor: pointer;
	transition: all .2s;
	font-family: inherit;
}
.edgaa-reset-btn:hover { border-color: #e53935; color: #e53935; background: #fff5f5; }

/* ── Credit ─────────────────────────────────────────────────────────────── */
.edgaa-credit {
	text-align: center;
	font-size: 11px;
	color: #aaa;
	padding: 4px 0 2px;
}
.edgaa-credit a { color: #1565C0; text-decoration: none; font-weight: 600; }
.edgaa-credit a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════════════
   BODY-LEVEL ACCESSIBILITY OVERRIDES
   ════════════════════════════════════════════════════════════════════════ */

/* ── Contrast modes ─────────────────────────────────────────────────────── */
body.edgaa-contrast-high *  { background-color: #000 !important; color: #ff0 !important; border-color: #ff0 !important; }
body.edgaa-contrast-dark *  { background-color: #121212 !important; color: #e0e0e0 !important; }
body.edgaa-contrast-light * { background-color: #fff !important; color: #000 !important; }
body.edgaa-contrast-invert  { filter: invert(1) hue-rotate(180deg); }

/* ── Filters ─────────────────────────────────────────────────────────────── */
body.edgaa-filter-grayscale { filter: grayscale(1); }
body.edgaa-filter-sepia     { filter: sepia(.7); }

/* ── Cursors ─────────────────────────────────────────────────────────────── */
body.edgaa-cursor-big      * { cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="%23000" stroke="%23fff" stroke-width="2" d="M8 4l16 12-8 1-5 9z"/></svg>') 4 4, auto !important; }
body.edgaa-cursor-big-white * { cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="%23fff" stroke="%23000" stroke-width="2" d="M8 4l16 12-8 1-5 9z"/></svg>') 4 4, auto !important; }

/* ── Links highlight ────────────────────────────────────────────────────── */
body.edgaa-highlight-links a {
	background: #ff0 !important;
	color: #000 !important;
	text-decoration: underline !important;
	outline: 2px solid #000 !important;
}

/* ── Dyslexia font ──────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;700&display=swap');
body.edgaa-dyslexia,
body.edgaa-dyslexia * {
	font-family: 'Lexend', sans-serif !important;
	letter-spacing: .05em;
}

/* ── No animations ──────────────────────────────────────────────────────── */
body.edgaa-no-animations *,
body.edgaa-no-animations *::before,
body.edgaa-no-animations *::after {
	animation-duration: 0.001ms !important;
	transition-duration: 0.001ms !important;
	scroll-behavior: auto !important;
}

/* ── Reading mask ───────────────────────────────────────────────────────── */
.edgaa-reading-mask {
	position: fixed;
	left: 0;
	width: 100%;
	height: 40px;
	background: rgba(255, 255, 150, 0.35);
	border-top: 2px solid rgba(255,220,0,.6);
	border-bottom: 2px solid rgba(255,220,0,.6);
	pointer-events: none;
	z-index: 9999998;
	transition: top .05s linear;
}

/* ── Skip link (bonus: add to theme if desired) ─────────────────────────── */
.edgaa-skip-link {
	position: absolute;
	top: -40px;
	right: 0;
	background: #1565C0;
	color: #fff;
	padding: 8px 16px;
	z-index: 9999999;
	font-size: 14px;
	transition: top .2s;
}
.edgaa-skip-link:focus { top: 0; }

/* ── Focus visible global enhancement ──────────────────────────────────── */
:focus-visible {
	outline: 3px solid #1565C0 !important;
	outline-offset: 2px !important;
}

/* ════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY STATEMENT PAGE STYLES
   ════════════════════════════════════════════════════════════════════════ */

.edgaa-statement {
	font-family: 'Segoe UI', Arial, sans-serif;
	direction: rtl;
	max-width: 820px;
	margin: 0 auto;
	color: #1a1a1a;
}

/* Header banner */
.edgaa-statement-header {
	display: flex;
	align-items: center;
	gap: 24px;
	background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
	border-radius: 16px;
	padding: 32px 36px;
	margin-bottom: 36px;
	box-shadow: 0 6px 28px rgba(21,101,192,.28);
}

.edgaa-statement-logo {
	flex-shrink: 0;
	width: 90px;
	height: 90px;
	background: rgba(255,255,255,.12);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 3px solid rgba(255,255,255,.3);
}

.edgaa-statement-logo svg {
	width: 58px;
	height: 58px;
}

.edgaa-statement-header-text h1 {
	color: #ffffff !important;
	font-size: 28px !important;
	font-weight: 800 !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	border: none !important;
	line-height: 1.2;
}

.edgaa-statement-subtitle {
	color: rgba(255,255,255,.82) !important;
	font-size: 15px !important;
	margin: 0 !important;
	font-weight: 400;
}

/* Body */
.edgaa-statement-body {
	background: #fff;
	border: 1px solid #e8edf5;
	border-radius: 12px;
	padding: 36px 40px;
	box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.edgaa-statement-body h2 {
	color: #1565C0;
	font-size: 17px;
	font-weight: 700;
	margin: 28px 0 10px;
	padding-bottom: 8px;
	border-bottom: 2px solid #e8f0fe;
}

.edgaa-statement-body h2:first-child { margin-top: 0; }

.edgaa-statement-body p,
.edgaa-statement-body li {
	line-height: 1.8;
	font-size: 15px;
	color: #333;
}

.edgaa-statement-body ul {
	padding-right: 22px;
	margin: 8px 0 0;
}

.edgaa-statement-body li { margin-bottom: 6px; }

.edgaa-statement-body a {
	color: #1565C0;
	text-decoration: underline;
}

/* Credit line inside statement */
.edgaa-statement-credit {
	margin-top: 32px !important;
	padding-top: 16px !important;
	border-top: 1px solid #e8edf5;
	font-size: 13px !important;
	color: #888 !important;
	text-align: center;
}

.edgaa-statement-credit a {
	color: #1565C0 !important;
	font-weight: 600;
}

/* ════════════════════════════════════════════════════════════════════════
   BAR WIDGET — Centered 75% bottom panel, toggled by float button
   ════════════════════════════════════════════════════════════════════════ */

.edgaa-bar {
	position: fixed;
	bottom: -600px; /* fully hidden below screen */
	left: 12.5%;
	width: 75%;
	z-index: 9999997;
	background: linear-gradient(160deg,
		color-mix(in srgb, var(--edgaa-bar-color, #1565C0) 85%, #000) 0%,
		var(--edgaa-bar-color, #1565C0) 50%,
		color-mix(in srgb, var(--edgaa-bar-color, #1565C0) 85%, #fff) 100%
	);
	border-radius: 20px 20px 0 0;
	box-shadow: 0 -6px 40px rgba(0,0,0,.35);
	border-top: 3px solid rgba(255,255,255,.2);
	border-left: 1px solid rgba(255,255,255,.1);
	border-right: 1px solid rgba(255,255,255,.1);
	transition: bottom .35s cubic-bezier(.4,0,.2,1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* Open state */
.edgaa-bar--open {
	bottom: 0;
}
.edgaa-bar--open[aria-hidden] {
	aria-hidden: false;
}

/* Bar header row */
.edgaa-bar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px 10px;
	border-bottom: 1px solid rgba(255,255,255,.12);
}

/* Brand */
.edgaa-bar-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}
.edgaa-bar-icon {
	width: 40px;
	height: 40px;
	color: #fff;
	flex-shrink: 0;
}
.edgaa-bar-icon svg { width: 40px; height: 40px; }
.edgaa-bar-title {
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	white-space: nowrap;
	letter-spacing: .5px;
}
.edgaa-bar-subtitle {
	color: rgba(255,255,255,.65);
	font-size: 12px;
	margin-top: 1px;
}

/* Tools area */
.edgaa-bar-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 16px 24px;
	justify-content: center;
}

/* Bar buttons — large */
.edgaa-bar-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 100px;
	height: 90px;
	background: rgba(255,255,255,.1);
	border: 1.5px solid rgba(255,255,255,.18);
	border-radius: 14px;
	color: rgba(255,255,255,.92);
	cursor: pointer;
	padding: 10px 12px;
	transition: all .2s;
	flex-shrink: 0;
	font-family: inherit;
}
.edgaa-bar-btn:hover {
	background: rgba(255,255,255,.22);
	border-color: rgba(255,255,255,.4);
	transform: translateY(-2px);
}
.edgaa-bar-btn.active {
	background: #FDD835;
	color: #0D47A1;
	border-color: #FDD835;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(253,216,53,.4);
}
.edgaa-bar-btn:focus { outline: 2px solid #FDD835; outline-offset: 2px; }
.edgaa-bar-btn-icon { font-size: 32px; line-height: 1; }
.edgaa-bar-btn-label { font-size: 14px; white-space: nowrap; line-height: 1.2; text-align: center; }

/* Bar stepper — large */
.edgaa-bar-stepper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	background: rgba(255,255,255,.1);
	border: 1.5px solid rgba(255,255,255,.18);
	border-radius: 14px;
	padding: 10px 16px;
	min-width: 100px;
	height: 90px;
	justify-content: center;
	flex-shrink: 0;
}
.edgaa-bar-stepper-label {
	font-size: 13px;
	color: rgba(255,255,255,.85);
	white-space: nowrap;
	font-weight: 600;
}
.edgaa-bar-stepper-row {
	display: flex;
	align-items: center;
	gap: 10px;
}
.edgaa-bar-step {
	background: rgba(255,255,255,.2);
	border: none;
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	transition: background .15s;
}
.edgaa-bar-step:hover { background: #FDD835; color: #0D47A1; }
.edgaa-bar-step-val {
	min-width: 26px;
	text-align: center;
	color: #FDD835;
	font-weight: 800;
	font-size: 20px;
}

/* Bar actions (bottom row) */
.edgaa-bar-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 12px 28px 16px;
	border-top: 1px solid rgba(255,255,255,.12);
}

.edgaa-bar-actions-left { display: none; }

/* All 3 buttons together in center */
.edgaa-bar-actions-center {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}

/* Credit below */
.edgaa-bar-actions-right {
	display: flex;
	align-items: center;
	justify-content: center;
}

.edgaa-bar-action-btn,
.edgaa-bar-reset {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	background: rgba(255,255,255,.12);
	border: 1.5px solid rgba(255,255,255,.25);
	border-radius: 12px;
	color: rgba(255,255,255,.95);
	cursor: pointer;
	text-decoration: none;
	padding: 0 22px;
	transition: all .2s;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}
.edgaa-bar-action-btn:hover,
.edgaa-bar-reset:hover {
	background: rgba(255,255,255,.22);
	color: #fff;
	border-color: rgba(255,255,255,.5);
	transform: translateY(-2px);
}
.edgaa-bar-report { border-color: rgba(253,216,53,.5) !important; }
.edgaa-bar-report:hover { background: rgba(253,216,53,.2) !important; }
.edgaa-bar-act-icon  { font-size: 22px; }
.edgaa-bar-act-label { font-size: 15px; }

/* Credit */
.edgaa-bar-credit-wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}
.edgaa-bar-credit-wrap {
	display: flex;
	align-items: center;
	gap: 4px;
	justify-content: center;
	flex-wrap: nowrap;
}
.edgaa-bar-credit-by { display: none; }
.edgaa-bar-credit {
	color: #ffffff;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}
.edgaa-bar-credit:hover { text-decoration: underline; color: #fff; }
.edgaa-bar-credit-sep { color: rgba(255,255,255,.5); font-size: 14px; }
.edgaa-bar-credit-organic {
	color: rgba(255,255,255,.9);
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}
.edgaa-bar-credit-organic:hover { color: #fff; }

/* Close button — larger touch target for mobile */
.edgaa-bar-close {
	position: absolute;
	top: 12px;
	left: 16px;
	background: rgba(255,255,255,.15);
	border: none;
	color: #fff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	z-index: 10;
}
.edgaa-bar-close:hover,
.edgaa-bar-close:active { background: rgba(255,255,255,.3); }

/* Close button already defined above */

/* Responsive — Mobile */
@media (max-width: 768px) {
	.edgaa-bar {
		left: 0;
		width: 100%;
		border-radius: 16px 16px 0 0;
		max-height: 75vh;
		overflow-y: auto;
	}
	.edgaa-bar-header { padding: 10px 16px 8px; }
	.edgaa-bar-icon { width: 28px; height: 28px; }
	.edgaa-bar-icon svg { width: 28px; height: 28px; }
	.edgaa-bar-title { font-size: 14px; }
	.edgaa-bar-subtitle { font-size: 10px; }

	.edgaa-bar-strip {
		padding: 10px 12px;
		gap: 6px;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		overflow-y: visible;
		overflow-x: hidden;
	}

	.edgaa-bar-btn {
		min-width: unset;
		width: 100%;
		height: 64px;
		border-radius: 10px;
		gap: 5px;
		padding: 6px 4px;
	}
	.edgaa-bar-btn-icon { font-size: 22px; }
	.edgaa-bar-btn-label { font-size: 11px; }

	.edgaa-bar-stepper {
		min-width: unset;
		width: 100%;
		height: 64px;
		border-radius: 10px;
		padding: 6px 8px;
		gap: 4px;
	}
	.edgaa-bar-stepper-label { font-size: 11px; }
	.edgaa-bar-step { width: 24px; height: 24px; font-size: 16px; }
	.edgaa-bar-step-val { font-size: 15px; }

	.edgaa-bar-actions { padding: 10px 16px 12px; gap: 8px; }
	.edgaa-bar-actions-center { gap: 8px; }
	.edgaa-bar-action-btn,
	.edgaa-bar-reset {
		height: 44px;
		padding: 0 14px;
		font-size: 13px;
		border-radius: 10px;
	}
	.edgaa-bar-act-icon { font-size: 17px; }
	.edgaa-bar-act-label { font-size: 12px; }

	.edgaa-bar-credit { font-size: 13px; }
	.edgaa-bar-credit-organic { font-size: 12px; }

	.edgaa-bar-close {
		width: 40px;
		height: 40px;
		top: 10px;
		left: 12px;
		font-size: 18px;
	}
}

/* ── New tool body classes ──────────────────────────────────────────────── */
body.edgaa-reading-mode {
	background: #fff !important;
	color: #1a1a1a !important;
}
body.edgaa-reading-mode main,
body.edgaa-reading-mode article,
body.edgaa-reading-mode .content,
body.edgaa-reading-mode p {
	background: #fff !important;
	color: #1a1a1a !important;
	max-width: 75ch;
}
body.edgaa-focus-highlight *:focus {
	outline: 3px solid #FDD835 !important;
	outline-offset: 3px !important;
	box-shadow: 0 0 0 5px rgba(253,216,53,.4) !important;
}
body.edgaa-heading-large h1 { font-size: 2.4em !important; }
body.edgaa-heading-large h2 { font-size: 2em !important; }
body.edgaa-heading-large h3 { font-size: 1.7em !important; }
body.edgaa-heading-large h4,
body.edgaa-heading-large h5,
body.edgaa-heading-large h6 { font-size: 1.4em !important; }

.edgaa-skip-link {
	position: fixed;
	top: -60px;
	right: 50%;
	transform: translateX(50%);
	background: #1565C0;
	color: #fff;
	padding: 10px 24px;
	border-radius: 0 0 8px 8px;
	z-index: 9999999;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: top .2s;
}
.edgaa-skip-link:focus { top: 0; }

/* ── Bar action buttons (reset, statement, report) ──────────────────────── */
.edgaa-bar-action-btn,
.edgaa-bar-reset {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 52px;
	height: 46px;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 8px;
	color: rgba(255,255,255,.9);
	cursor: pointer;
	text-decoration: none;
	padding: 4px 8px;
	transition: all .2s;
	font-family: inherit;
	flex-shrink: 0;
}
.edgaa-bar-action-btn:hover,
.edgaa-bar-reset:hover {
	background: rgba(255,255,255,.22);
	color: #fff;
	border-color: rgba(255,255,255,.4);
}
.edgaa-bar-report { border-color: rgba(253,216,53,.4); }
.edgaa-bar-report:hover { background: rgba(253,216,53,.2) !important; }
.edgaa-bar-act-icon  { font-size: 16px; line-height: 1; }
.edgaa-bar-act-label { font-size: 9px; white-space: nowrap; line-height: 1; }

.edgaa-bar-credit-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 4px;
}
.edgaa-bar-credit-by { color: rgba(255,255,255,.5); font-size: 9px; }
.edgaa-bar-credit {
	color: #FDD835;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.edgaa-bar-credit:hover { text-decoration: underline; }

/* ── Report Modal ────────────────────────────────────────────────────────── */
.edgaa-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.55);
	z-index: 99999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	backdrop-filter: blur(3px);
}
.edgaa-modal {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0,0,0,.3);
	width: 100%;
	max-width: 480px;
	overflow: hidden;
	animation: edgaa-modal-in .25s ease;
}
@keyframes edgaa-modal-in {
	from { opacity:0; transform: scale(.95) translateY(12px); }
	to   { opacity:1; transform: scale(1) translateY(0); }
}
.edgaa-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(135deg, #0D47A1, #1565C0);
	padding: 16px 20px;
	color: #fff;
}
.edgaa-modal-header h2 {
	margin: 0;
	font-size: 17px;
	color: #fff;
	border: none;
	padding: 0;
}
.edgaa-modal-close {
	background: rgba(255,255,255,.2);
	border: none;
	color: #fff;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s;
}
.edgaa-modal-close:hover { background: rgba(255,255,255,.35); }

.edgaa-modal-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.edgaa-modal-body > p {
	margin: 0;
	font-size: 14px;
	color: #555;
	line-height: 1.6;
}
.edgaa-modal-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.edgaa-modal-field label {
	font-size: 13px;
	font-weight: 600;
	color: #333;
}
.edgaa-modal-input,
.edgaa-modal-textarea {
	border: 1.5px solid #e0e0e0;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color .2s;
	width: 100%;
	box-sizing: border-box;
}
.edgaa-modal-input:focus,
.edgaa-modal-textarea:focus {
	outline: none;
	border-color: #1565C0;
	box-shadow: 0 0 0 3px rgba(21,101,192,.15);
}
.edgaa-modal-textarea { resize: vertical; min-height: 80px; }

.edgaa-modal-send {
	background: linear-gradient(135deg, #1565C0, #0D47A1);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: opacity .2s, transform .15s;
	font-family: inherit;
	margin-top: 4px;
}
.edgaa-modal-send:hover { opacity: .92; transform: translateY(-1px); }

.edgaa-modal-success {
	text-align: center;
	padding: 20px 0;
}
.edgaa-success-icon { font-size: 48px; margin-bottom: 12px; }
.edgaa-modal-success p {
	font-size: 15px;
	color: #2e7d32;
	font-weight: 600;
}
