/* able.css — accessibility statement page (/accessibility), Braille download and voice command buttons,
   and the visible status line of able.js. Loaded on every page (small). No endless motion. */

/* footer: the Braille / voice entries are ordinary footer links; "listening" is shown by an underline, not by colour alone */
#footer-2 .foo-links .able-voice[aria-pressed="true"], .able-action[aria-pressed="true"] { text-decoration: underline; }

/* status line: seen by sighted voice users, read by screen readers (role=status) */
.able-status {
	position: fixed;
	inset-inline: 12px;
	bottom: 14px;
	z-index: 100000;
	max-width: 620px;
	margin-inline: auto;
	padding: 12px 18px;
	border: 2px solid #f0c300;
	border-radius: 12px;
	background: #1f2a17;
	color: #fff;
	font-size: 1.1rem;
	line-height: 1.7;
	text-align: center;
	pointer-events: none;
}
.able-status:empty { opacity: 0; border-color: transparent; background: none; }

/* statement page */
#able-page .able-title { margin-bottom: 10px; }
#able-page .able-intro { font-size: 1.2rem; line-height: 1.9; margin-bottom: 24px; text-align: start; }
.able-card {
	margin-bottom: 18px;
	padding: 18px 20px;
	border: 2px solid #5f8e44;
	border-inline-start-width: 8px;
	border-radius: 14px;
	background: #fff;
}
#able-page .able-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.35rem; line-height: 1.5; color: #2a6806; }
.able-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f0c300;
	color: #1f2a17;
}
.able-card p, .able-list li { font-size: 1.12rem; line-height: 1.9; color: #1f2a17; text-align: start; }
.able-card p { margin: 0 0 10px; }
.able-list { margin: 0 0 10px; padding-inline-start: 24px; list-style: disc; }
.able-list li { margin-bottom: 4px; }
.able-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0;
	margin-inline-end: 10px;
	padding: 10px 18px;
	border: 2px solid #2a6806;
	border-radius: 10px;
	background: #2a6806;
	color: #fff;
	font: inherit;
	font-size: 1.1rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.able-action:hover, .able-action:focus-visible { background: #1f4f04; color: #fff; }
.able-action[aria-pressed="true"] { background: #fff; color: #1f4f04; }
.able-reviewed { margin-top: 18px; font-size: 1rem; color: #3d4a34; text-align: start; }

.dark-mode .able-card { background: #17220f; border-color: #4b6a36; }
.dark-mode .able-card p, .dark-mode .able-list li, .dark-mode .able-reviewed { color: #f1f5ec; }
.dark-mode #able-page .able-card h2 { color: #cfe6bd; }
html.high-contrast .able-card, html.high-contrast .able-status { border: 3px solid #ff0 !important; }
@media (forced-colors: active) {
	.able-card, .able-action, .able-status { border: 2px solid CanvasText; }
	.able-status:empty { border-color: transparent; }
}
@media print { .able-status, .able-tools { display: none; } }

/* home "publications": Braille / text copies under a publication card (application/tools/pdf_braille.py) */
.version-alt { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 0; padding: 0 10px 14px; font-size: .95rem; line-height: 1.6; }
.version-alt a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px; color: #2a6806; font-weight: 700; text-decoration: underline; }
.version-alt a:hover, .version-alt a:focus-visible { color: #1f4f04; }
.dark-mode .version-alt a { color: #cfe6bd; }
