/* סרגל הנגישות והתאמות התצוגה */

.t360-skip {
	position: absolute;
	inset-inline-start: 50%;
	top: -100px;
	transform: translateX(50%);
	z-index: 999;
	background: #0d1b33;
	color: #fff;
	padding: .8rem 1.4rem;
	border-radius: 0 0 10px 10px;
	text-decoration: none;
	font-weight: 700;
	transition: top .18s ease;
}
.t360-skip:focus { top: 0; color: #fff; }

.t360-a11y { position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 80; }

.t360-a11y-toggle {
	width: 52px; height: 52px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: #1663d8;
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(13, 21, 38, .3);
}
.t360-a11y-toggle:hover { background: #0f4aa8; }

.t360-a11y-panel {
	position: absolute;
	inset-inline-start: 0;
	bottom: 62px;
	width: 288px;
	background: #fff;
	border: 1px solid #e2e7ef;
	border-radius: 16px;
	box-shadow: 0 16px 44px rgba(13, 21, 38, .22);
	padding: 1rem;
}
.t360-a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.t360-a11y-head strong { color: #0d1526; font-size: 1.02rem; }
.t360-a11y-close { background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: #6b7688; padding: 0 .3rem; }

.t360-a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.t360-a11y-btn {
	display: grid;
	justify-items: center;
	gap: .25rem;
	padding: .6rem .3rem;
	background: #f5f7fb;
	border: 1.5px solid #e2e7ef;
	border-radius: 10px;
	cursor: pointer;
	font: inherit;
	font-size: .76rem;
	font-weight: 600;
	color: #3c4759;
	text-align: center;
	line-height: 1.3;
}
.t360-a11y-btn:hover { border-color: #1663d8; background: #eaf1ff; }
.t360-a11y-btn[aria-pressed="true"] { background: #1663d8; border-color: #1663d8; color: #fff; }
.t360-a11y-ico { font-size: 1.05rem; }

.t360-a11y-reset {
	width: 100%;
	margin-top: .6rem;
	padding: .55rem;
	background: #fff;
	border: 1.5px solid #e2e7ef;
	border-radius: 10px;
	font: inherit;
	font-weight: 700;
	font-size: .85rem;
	cursor: pointer;
	color: #c62828;
}
.t360-a11y-reset:hover { background: #fff5f5; border-color: #c62828; }
.t360-a11y-links { margin: .7rem 0 0; text-align: center; font-size: .82rem; }

/* ---- התאמות תצוגה ---- */

html.a11y-contrast-high body,
html.a11y-contrast-high .t360-card,
html.a11y-contrast-high .t360-formbox,
html.a11y-contrast-high .t360-table { background: #fff !important; color: #000 !important; }
html.a11y-contrast-high :is(h1, h2, h3, h4, p, li, td, th, span, strong, label) { color: #000 !important; }
html.a11y-contrast-high a { color: #0000cc !important; text-decoration: underline !important; }
html.a11y-contrast-high :is(.t360-hero, .t360-home-hero, .t360-cta, .t360-footer, .t360-topbar) {
	background: #fff !important;
	color: #000 !important;
	border: 2px solid #000;
}
html.a11y-contrast-high :is(.t360-hero, .t360-home-hero, .t360-cta, .t360-footer) :is(h1, h2, h3, p, span, li, small, strong) { color: #000 !important; }

html.a11y-contrast-dark body { background: #000 !important; color: #f5f5f5 !important; }
html.a11y-contrast-dark :is(.t360-card, .t360-formbox, .t360-table, .t360-side-card, .t360-calc, .t360-district, .t360-faq-item, .t360-svc-item, .t360-toc, .t360-sources, .t360-step, .t360-why-item, .t360-post-card, .t360-page-head, .t360-section-alt, .t360-header) {
	background: #111 !important;
	color: #f5f5f5 !important;
	border-color: #444 !important;
}
html.a11y-contrast-dark :is(h1, h2, h3, h4, p, li, td, th, span, strong, label, summary) { color: #f5f5f5 !important; }
html.a11y-contrast-dark a { color: #ffd700 !important; }
html.a11y-contrast-dark :is(input, select, textarea) { background: #111 !important; color: #fff !important; border-color: #666 !important; }
html.a11y-contrast-dark .t360-table thead th { background: #222 !important; }

html.a11y-links a { text-decoration: underline !important; font-weight: 700 !important; outline: 1px dotted currentColor; outline-offset: 2px; }

html.a11y-readable, html.a11y-readable body,
html.a11y-readable :is(h1, h2, h3, h4, p, li, a, td, th, span, label, button, input, select, textarea) {
	font-family: Arial, "Segoe UI", sans-serif !important;
	letter-spacing: .02em !important;
}

html.a11y-spacing :is(p, li, td, th, dd) { line-height: 2.1 !important; }
html.a11y-spacing :is(p, li) { margin-bottom: 1.4em !important; }

html.a11y-no-motion *, html.a11y-no-motion *::before, html.a11y-no-motion *::after {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}

html.a11y-cursor, html.a11y-cursor * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M6 2 34 20 20 22 14 38z' fill='%23000' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E") 4 2, auto !important;
}

.t360-read-guide {
	position: fixed;
	inset-inline: 0;
	height: 44px;
	background: rgba(22, 99, 216, .16);
	border-block: 2px solid rgba(22, 99, 216, .55);
	pointer-events: none;
	z-index: 75;
}

@media (max-width: 620px) {
	.t360-a11y { inset-inline-start: 10px; bottom: 84px; }
	.t360-a11y-toggle { width: 46px; height: 46px; }
	.t360-a11y-panel { width: min(280px, calc(100vw - 24px)); }
}
