/**
 * Plan 360 - מערכת הנגישות.
 *
 * כל ההתאמות מופעלות דרך מאפייני data על תג ה־HTML, כך שעץ הנגישות
 * שקוראי מסך קוראים אינו משתנה. הסרגל עצמו מוגדר ביחידות px ואינו
 * מושפע מהתאמות הטקסט שהמשתמש מפעיל על האתר.
 */

/* ==========================================================================
   1. התאמות טקסט
   ========================================================================== */

html[data-acc-font='1'] { --p360-scale: 1.12; }
html[data-acc-font='2'] { --p360-scale: 1.25; }
html[data-acc-font='3'] { --p360-scale: 1.5; }
html[data-acc-font='4'] { --p360-scale: 1.9; }

/* הגדלה מתבצעת דרך --p360-scale של התבנית בלבד, כדי שלא תוכפל פעמיים.
   טקסט שאינו משתמש במשתני התבנית מקבל הגדלה ישירה. */
html[data-acc-font] body :is(.wp-block-group, .wp-block-paragraph, .entry-content, .p360-prose) :is(p, li, dd, td):not(.p360-acc *) {
	font-size: calc(1em * var(--p360-acc-text, 1));
}
html[data-acc-font='1'] body { --p360-acc-text: 1; }
html[data-acc-font='2'] body { --p360-acc-text: 1; }
html[data-acc-font='3'] body { --p360-acc-text: 1; }
html[data-acc-font='4'] body { --p360-acc-text: 1; }

html[data-acc-line='1'] body :is(p, li, dd, td, blockquote, .p360-lead):not(.p360-acc *) { line-height: 1.9 !important; }
html[data-acc-line='2'] body :is(p, li, dd, td, blockquote, .p360-lead):not(.p360-acc *) { line-height: 2.3 !important; }
html[data-acc-line='3'] body :is(p, li, dd, td, blockquote, .p360-lead):not(.p360-acc *) { line-height: 2.8 !important; }

html[data-acc-letter='1'] body { letter-spacing: .06em !important; }
html[data-acc-letter='2'] body { letter-spacing: .12em !important; }
html[data-acc-letter='3'] body { letter-spacing: .2em !important; }

html[data-acc-word='1'] body { word-spacing: .16em !important; }
html[data-acc-word='2'] body { word-spacing: .32em !important; }
html[data-acc-word='3'] body { word-spacing: .5em !important; }

html[data-acc-align='right'] body :is(p, li, h1, h2, h3, h4, dd, blockquote):not(.p360-acc *) { text-align: right !important; }
html[data-acc-align='left'] body :is(p, li, h1, h2, h3, h4, dd, blockquote):not(.p360-acc *) { text-align: left !important; }
html[data-acc-align='center'] body :is(p, li, h1, h2, h3, h4, dd, blockquote):not(.p360-acc *) { text-align: center !important; }
html[data-acc-align='justify'] body :is(p, li, dd, blockquote):not(.p360-acc *) { text-align: justify !important; }

html[data-acc-family='readable'] body,
html[data-acc-family='readable'] body :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea):not(.p360-acc *) {
	font-family: 'Arial Hebrew', Arial, 'Segoe UI', Tahoma, sans-serif !important;
}
html[data-acc-family='dyslexia'] body,
html[data-acc-family='dyslexia'] body :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea):not(.p360-acc *) {
	font-family: 'Comic Sans MS', 'Arial Hebrew', Arial, Verdana, sans-serif !important;
	letter-spacing: .09em !important;
	word-spacing: .22em !important;
	line-height: 2 !important;
	font-style: normal !important;
}
html[data-acc-family] body :is(i, em):not(.p360-acc *) { font-style: normal !important; text-decoration: underline; }

html[data-acc-weight='1'] body :is(p, li, dd, td, label, a, span, h1, h2, h3, h4, h5, h6):not(.p360-acc *) { font-weight: 700 !important; }

/* ==========================================================================
   2. ניגודיות וצבע
   ========================================================================== */

html[data-acc-contrast='dark'] {
	--p360-ink: #ffffff;
	--p360-ink-2: #f0f0f0;
	--p360-ink-3: #d8d8d8;
	--p360-bg: #000000;
	--p360-surface: #0b0b0b;
	--p360-sand: #141414;
	--p360-sand-2: #1e1e1e;
	--p360-line: #6f6f6f;
	--p360-line-2: #8a8a8a;
	--p360-brand: #ffd166;
	--p360-brand-dark: #ffd166;
	--p360-brand-mid: #ffd166;
	--p360-brand-light: #1a1a1a;
	--p360-gold: #ffd166;
	--p360-gold-light: #1a1a1a;
	--p360-save: #6ee7a8;
	--p360-save-light: #10231a;
	--p360-save-mid: #6ee7a8;
	--p360-err: #ff9aa2;
	--p360-err-bg: #2a1214;
	--p360-warn: #ffd166;
	--p360-warn-bg: #2a2413;
	--p360-ok: #6ee7a8;
	--p360-ok-bg: #10231a;
	color-scheme: dark;
}
html[data-acc-contrast='dark'] body { background: #000 !important; color: #fff !important; }
html[data-acc-contrast='dark'] body :is(section, header, footer, aside, article, div, nav, form, table, li):not(.p360-acc *) { background-color: transparent !important; }
html[data-acc-contrast='dark'] body :is(.p360-card, .p360-panel, .p360-inv-tier, .p360-studio, .p360-faq__item, .p360-table-wrap, .p360-hero__panel, .p360-inv-how__step):not(.p360-acc *) { background-color: #0d0d0d !important; border-color: #6f6f6f !important; }
html[data-acc-contrast='dark'] body :is(p, li, span, td, th, dd, dt, label, legend, figcaption, small, strong, b, h1, h2, h3, h4, h5, h6):not(.p360-acc *) { color: #fff !important; }
html[data-acc-contrast='dark'] body a:not(.p360-acc *) { color: #ffd166 !important; }
html[data-acc-contrast='dark'] body :is(input, select, textarea):not(.p360-acc *) { background: #111 !important; color: #fff !important; border-color: #8a8a8a !important; }
html[data-acc-contrast='dark'] body :is(.p360-btn, button):not(.p360-acc *) { background-color: #1c1c1c !important; color: #fff !important; border-color: #ffd166 !important; }

html[data-acc-contrast='light'] {
	--p360-ink: #000000;
	--p360-ink-2: #101010;
	--p360-ink-3: #1c1c1c;
	--p360-bg: #ffffff;
	--p360-surface: #ffffff;
	--p360-sand: #ffffff;
	--p360-sand-2: #f2f2f2;
	--p360-line: #000000;
	--p360-line-2: #000000;
	--p360-brand: #5c0026;
	--p360-brand-dark: #400019;
	--p360-brand-mid: #5c0026;
	--p360-brand-light: #ffffff;
	--p360-gold: #4a3400;
	--p360-gold-light: #ffffff;
	--p360-save: #00492a;
	--p360-save-light: #ffffff;
	color-scheme: light;
}
html[data-acc-contrast='light'] body { background: #fff !important; color: #000 !important; }
html[data-acc-contrast='light'] body :is(p, li, span, td, th, dd, dt, label, h1, h2, h3, h4, h5, h6, small, figcaption):not(.p360-acc *) { color: #000 !important; }
html[data-acc-contrast='light'] body a:not(.p360-acc *) { color: #5c0026 !important; text-decoration: underline !important; }
html[data-acc-contrast='light'] body :is(.p360-card, .p360-panel, .p360-hero__panel):not(.p360-acc *) { background: #fff !important; border: 1px solid #000 !important; box-shadow: none !important; }

html[data-acc-contrast='yellow'] { color-scheme: dark; }
html[data-acc-contrast='yellow'] body { background: #000 !important; color: #ffff00 !important; }
html[data-acc-contrast='yellow'] body *:not(.p360-acc):not(.p360-acc *) { background-color: transparent !important; color: #ffff00 !important; border-color: #ffff00 !important; box-shadow: none !important; text-shadow: none !important; }
html[data-acc-contrast='yellow'] body a:not(.p360-acc *) { color: #66ccff !important; text-decoration: underline !important; }
html[data-acc-contrast='yellow'] body :is(input, select, textarea, button):not(.p360-acc *) { background: #000 !important; outline: 1px solid #ffff00; }

html[data-acc-contrast] body :is(.p360-hero__media, .p360-hero__scrim, .p360-orb, .p360-lights) { display: none !important; }
html[data-acc-contrast] body .p360-section--mesh { background-image: none !important; }

/* שכבת סינון: פילטר על תג ה־HTML שובר מיקום fixed, לכן מסננים
   באמצעות שכבה עליונה שקופה עם backdrop-filter. */
.p360-acc-filter {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 2147483000;
}
html[data-acc-filter='invert'] .p360-acc-filter { backdrop-filter: invert(1) hue-rotate(180deg); }
html[data-acc-filter='gray'] .p360-acc-filter { backdrop-filter: grayscale(1); }
html[data-acc-filter='sepia'] .p360-acc-filter { backdrop-filter: sepia(.85) contrast(1.05); }
html[data-acc-filter='lowsat'] .p360-acc-filter { backdrop-filter: saturate(.45); }
html[data-acc-filter='highsat'] .p360-acc-filter { backdrop-filter: saturate(1.8); }
html[data-acc-filter='cb-rg'] .p360-acc-filter { backdrop-filter: saturate(1.7) hue-rotate(-18deg) contrast(1.06); }
html[data-acc-filter='cb-by'] .p360-acc-filter { backdrop-filter: saturate(1.6) hue-rotate(28deg) contrast(1.06); }

/* דפדפן ללא backdrop-filter: פילטר ישיר על העמוד. */
html.p360-acc-nobackdrop[data-acc-filter='invert'] body { filter: invert(1) hue-rotate(180deg); }
html.p360-acc-nobackdrop[data-acc-filter='gray'] body { filter: grayscale(1); }
html.p360-acc-nobackdrop[data-acc-filter='sepia'] body { filter: sepia(.85); }
html.p360-acc-nobackdrop[data-acc-filter='lowsat'] body { filter: saturate(.45); }
html.p360-acc-nobackdrop[data-acc-filter='highsat'] body { filter: saturate(1.8); }
html.p360-acc-nobackdrop[data-acc-filter='cb-rg'] body { filter: saturate(1.7) hue-rotate(-18deg); }
html.p360-acc-nobackdrop[data-acc-filter='cb-by'] body { filter: saturate(1.6) hue-rotate(28deg); }
html.p360-acc-nobackdrop[data-acc-filter] .p360-acc { filter: none; }

html[data-acc-custom='1'] body :is(p, li, span, td, dd, label, figcaption, small):not(.p360-acc *) { color: var(--p360-acc-text-color) !important; }
html[data-acc-custom='1'] body :is(h1, h2, h3, h4, h5, h6):not(.p360-acc *) { color: var(--p360-acc-title-color) !important; }
html[data-acc-custom='1'] body,
html[data-acc-custom='1'] body :is(section, article, .p360-card, .p360-panel, .p360-hero__panel):not(.p360-acc *) { background-color: var(--p360-acc-bg-color) !important; background-image: none !important; }

html[data-acc-nobg='1'] body *:not(.p360-acc):not(.p360-acc *) { background-image: none !important; }
html[data-acc-hideimg='1'] body :is(img, picture, svg.p360-hero__img, video, iframe):not(.p360-acc *) { visibility: hidden !important; }
html[data-acc-hideimg='1'] body :is(figure, .p360-hero__media, .p360-cat-tile__media):not(.p360-acc *) { background: repeating-linear-gradient(45deg, #eee 0 10px, #f7f7f7 10px 20px) !important; }

/* ==========================================================================
   3. הדגשות וכלי קריאה
   ========================================================================== */

html[data-acc-links='1'] body a:not(.p360-acc *) {
	text-decoration: underline !important;
	text-underline-offset: 3px;
	outline: 1px dashed currentColor;
	outline-offset: 2px;
	font-weight: 700 !important;
}
html[data-acc-links='1'] body a[target='_blank']:not(.p360-acc *)::after { content: ' ↗'; }

html[data-acc-titles='1'] body :is(h1, h2, h3, h4, h5, h6):not(.p360-acc *) {
	outline: 2px solid currentColor;
	outline-offset: 4px;
	background: rgba(255, 235, 59, .22) !important;
}

html[data-acc-focus='1'] body :is(a, button, input, select, textarea, summary, [tabindex]):not(.p360-acc *):focus,
html[data-acc-focus='1'] body :is(a, button, input, select, textarea, summary, [tabindex]):not(.p360-acc *):focus-visible {
	outline: 4px solid #0a58ff !important;
	outline-offset: 3px !important;
	background: #ffff00 !important;
	color: #000 !important;
	box-shadow: 0 0 0 8px rgba(10, 88, 255, .28) !important;
}

html[data-acc-hover='1'] body :is(a, button, li, p, h1, h2, h3, img):not(.p360-acc *):hover {
	outline: 3px solid #0a58ff !important;
	outline-offset: 2px;
	background: rgba(10, 88, 255, .1) !important;
}

html[data-acc-targets='1'] body :is(a, button, .p360-btn, input[type='submit'], [role='button']):not(.p360-acc *) {
	min-block-size: 48px;
	min-inline-size: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-inline: .6em;
}

html[data-acc-motion='1'] body *:not(.p360-acc):not(.p360-acc *),
html[data-acc-motion='1'] body *::before,
html[data-acc-motion='1'] body *::after {
	animation: none !important;
	transition: none !important;
	scroll-behavior: auto !important;
}
html[data-acc-motion='1'] video { display: none !important; }

html[data-acc-cursor='black'] body, html[data-acc-cursor='black'] body * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M8 4 40 22 25 25 19 42Z' fill='%23000' stroke='%23fff' stroke-width='2.5'/%3E%3C/svg%3E") 6 4, auto !important;
}
html[data-acc-cursor='white'] body, html[data-acc-cursor='white'] body * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M8 4 40 22 25 25 19 42Z' fill='%23fff' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E") 6 4, auto !important;
}

.p360-acc-guide {
	position: fixed;
	inset-inline: 0;
	block-size: 44px;
	background: rgba(255, 221, 51, .28);
	border-block: 3px solid #b8860b;
	pointer-events: none;
	z-index: 2147482000;
}
.p360-acc-mask {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 2147482000;
	background:
		linear-gradient(rgba(0, 0, 0, .82), rgba(0, 0, 0, .82)) top / 100% var(--p360-acc-mask-top, 0) no-repeat,
		linear-gradient(rgba(0, 0, 0, .82), rgba(0, 0, 0, .82)) bottom / 100% var(--p360-acc-mask-bottom, 0) no-repeat;
}
.p360-acc-magnifier {
	position: fixed;
	inset-inline: 16px;
	inset-block-end: 16px;
	z-index: 2147482500;
	background: #111;
	color: #fff;
	border: 3px solid #ffd166;
	border-radius: 12px;
	padding: 14px 18px;
	font-size: 30px;
	line-height: 1.45;
	font-family: Arial, sans-serif;
	max-block-size: 30vh;
	overflow: auto;
	pointer-events: none;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.p360-acc-tooltip {
	position: fixed;
	z-index: 2147482600;
	background: #111;
	color: #fff;
	padding: 8px 12px;
	border-radius: 8px;
	font: 16px/1.4 Arial, sans-serif;
	max-inline-size: 320px;
	pointer-events: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
}
html[data-acc-alts='1'] body figure img::after { content: attr(alt); }
html[data-acc-alts='1'] body img:not(.p360-acc *) { outline: 2px dotted #0a58ff; outline-offset: 2px; }
.p360-acc-alt-note {
	display: block;
	font: 700 15px/1.5 Arial, sans-serif;
	color: #0a3ea8;
	background: #eef3ff;
	border: 1px solid #0a58ff;
	border-radius: 6px;
	padding: 4px 8px;
	margin-block-start: 4px;
}

/* ==========================================================================
   4. הסרגל עצמו
   ========================================================================== */

.p360-acc {
	position: fixed;
	inset-block-end: 20px;
	z-index: 2147483600;
	font-family: 'Assistant', Arial, sans-serif;
	direction: rtl;
	--p360-acc-brand: #1f4fd8;
	--p360-acc-ink: #10131c;
	--p360-acc-muted: #56607a;
	--p360-acc-line: #d7dcea;
	--p360-acc-bg: #ffffff;
	--p360-acc-soft: #f2f5fd;
}
.p360-acc[data-pos='start'] { inset-inline-start: 20px; }
.p360-acc[data-pos='end'] { inset-inline-end: 20px; }
.p360-acc *, .p360-acc *::before, .p360-acc *::after { box-sizing: border-box; }

.p360-acc__toggle {
	inline-size: 62px;
	block-size: 62px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: var(--p360-acc-brand);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 10px 30px rgba(16, 19, 28, .35);
	padding: 0;
	transition: transform 150ms ease;
}
.p360-acc__toggle:hover { transform: scale(1.07); }
.p360-acc__toggle:focus-visible { outline: 4px solid #ffb703; outline-offset: 3px; }
.p360-acc__toggle svg { inline-size: 34px; block-size: 34px; fill: currentColor; }

.p360-acc__panel {
	position: fixed;
	inset-block: 12px;
	inline-size: min(424px, calc(100vw - 24px));
	background: var(--p360-acc-bg);
	color: var(--p360-acc-ink);
	border-radius: 18px;
	box-shadow: 0 30px 70px rgba(16, 19, 28, .4);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.5;
}
.p360-acc[data-pos='start'] .p360-acc__panel { inset-inline-start: 12px; }
.p360-acc[data-pos='end'] .p360-acc__panel { inset-inline-end: 12px; }
.p360-acc__panel[hidden] { display: none; }

.p360-acc__head {
	background: var(--p360-acc-brand);
	color: #fff;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.p360-acc__head h2 { margin: 0; font-size: 19px; font-weight: 800; flex: 1; color: #fff; }
.p360-acc__head button, .p360-acc__head select {
	background: rgba(255, 255, 255, .16);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 8px;
	font: inherit;
	font-size: 14px;
	padding: 6px 10px;
	cursor: pointer;
}
.p360-acc__head select option { color: #10131c; }
.p360-acc__head button:focus-visible, .p360-acc__head select:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }

.p360-acc__body { overflow-y: auto; padding: 14px 16px 6px; flex: 1; }
.p360-acc__body::-webkit-scrollbar { inline-size: 10px; }
.p360-acc__body::-webkit-scrollbar-thumb { background: #b9c2da; border-radius: 10px; }

.p360-acc__section { margin-block-end: 18px; }
.p360-acc__section > h3 {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: none;
	color: var(--p360-acc-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}
.p360-acc__section > h3::after { content: ''; flex: 1; block-size: 1px; background: var(--p360-acc-line); }

.p360-acc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.p360-acc__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.p360-acc__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-block-size: 76px;
	padding: 10px 8px;
	background: var(--p360-acc-soft);
	border: 2px solid transparent;
	border-radius: 12px;
	color: var(--p360-acc-ink);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	transition: background 150ms ease, border-color 150ms ease;
}
.p360-acc__btn svg { inline-size: 26px; block-size: 26px; fill: currentColor; flex: none; }
.p360-acc__btn:hover { background: #e4eaff; }
.p360-acc__btn:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
.p360-acc__btn[aria-pressed='true'] { background: var(--p360-acc-brand); border-color: #0b2f8f; color: #fff; }
.p360-acc__btn--row { flex-direction: row; min-block-size: 46px; justify-content: flex-start; text-align: start; }

.p360-acc__stepper { display: flex; align-items: center; gap: 8px; background: var(--p360-acc-soft); border-radius: 12px; padding: 8px 10px; }
.p360-acc__stepper > span { flex: 1; font-weight: 700; font-size: 14px; }
.p360-acc__stepper button {
	inline-size: 40px;
	block-size: 40px;
	border-radius: 10px;
	border: 2px solid var(--p360-acc-line);
	background: #fff;
	font: 700 20px/1 Arial, sans-serif;
	color: var(--p360-acc-ink);
	cursor: pointer;
}
.p360-acc__stepper button:hover { border-color: var(--p360-acc-brand); }
.p360-acc__stepper button:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
.p360-acc__stepper button[disabled] { opacity: .4; cursor: not-allowed; }
.p360-acc__level { display: flex; gap: 3px; }
.p360-acc__level i { inline-size: 12px; block-size: 8px; border-radius: 3px; background: #c9d2ea; }
.p360-acc__level i.is-on { background: var(--p360-acc-brand); }

.p360-acc__colors { display: flex; gap: 10px; flex-wrap: wrap; }
.p360-acc__colors label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; text-align: center; }
.p360-acc__colors input[type='color'] { inline-size: 62px; block-size: 38px; border: 2px solid var(--p360-acc-line); border-radius: 8px; background: #fff; cursor: pointer; padding: 2px; }

.p360-acc__foot {
	border-block-start: 1px solid var(--p360-acc-line);
	padding: 12px 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	background: #fbfcff;
}
.p360-acc__foot a, .p360-acc__foot button {
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	color: var(--p360-acc-brand);
	background: none;
	border: 0;
	cursor: pointer;
	text-decoration: underline;
	padding: 6px 2px;
}
.p360-acc__foot .p360-acc__reset {
	background: #fde7e9;
	color: #a4121f;
	border-radius: 10px;
	padding: 8px 14px;
	text-decoration: none;
}
.p360-acc__foot a:focus-visible, .p360-acc__foot button:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
.p360-acc__note { margin: 6px 16px 14px; font-size: 12px; color: var(--p360-acc-muted); line-height: 1.6; }

.p360-acc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-block-size: 42vh; overflow-y: auto; }
.p360-acc__list button {
	inline-size: 100%;
	text-align: start;
	background: var(--p360-acc-soft);
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 8px 10px;
	font: inherit;
	font-size: 14px;
	color: var(--p360-acc-ink);
	cursor: pointer;
}
.p360-acc__list button:hover { background: #e4eaff; border-color: var(--p360-acc-brand); }
.p360-acc__list button:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
.p360-acc__list small { color: var(--p360-acc-muted); font-weight: 700; margin-inline-end: 6px; }
.p360-acc__list li[data-level='2'] button { padding-inline-start: 26px; }
.p360-acc__list li[data-level='3'] button { padding-inline-start: 42px; }
.p360-acc__list li[data-level='4'] button, .p360-acc__list li[data-level='5'] button, .p360-acc__list li[data-level='6'] button { padding-inline-start: 58px; }

.p360-acc__tabs { display: flex; gap: 4px; margin-block-end: 12px; }
.p360-acc__tabs button {
	flex: 1;
	padding: 8px 4px;
	border: 0;
	border-block-end: 3px solid transparent;
	background: none;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	color: var(--p360-acc-muted);
	cursor: pointer;
}
.p360-acc__tabs button[aria-selected='true'] { color: var(--p360-acc-brand); border-color: var(--p360-acc-brand); }
.p360-acc__tabs button:focus-visible { outline: 3px solid #ffb703; outline-offset: -2px; }

.p360-acc__kbd { display: grid; gap: 6px; font-size: 13px; }
.p360-acc__kbd div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; background: var(--p360-acc-soft); border-radius: 8px; }
.p360-acc__kbd kbd {
	font: 700 12px/1 Arial, sans-serif;
	background: #fff;
	border: 1px solid var(--p360-acc-line);
	border-block-end-width: 2px;
	border-radius: 5px;
	padding: 4px 6px;
	white-space: nowrap;
}

.p360-acc__sr {
	position: absolute !important;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (max-width: 560px) {
	.p360-acc__panel { inline-size: calc(100vw - 16px); inset-inline: 8px !important; }
	.p360-acc { inset-block-end: 84px; }
	.p360-acc__toggle { inline-size: 54px; block-size: 54px; }
}
@media (prefers-reduced-motion: reduce) {
	.p360-acc__toggle, .p360-acc__btn { transition: none; }
}
@media print {
	.p360-acc, .p360-acc-guide, .p360-acc-mask, .p360-acc-filter, .p360-acc-magnifier { display: none !important; }
}

/* ==========================================================================
   5. חסינות הסרגל מההתאמות שהוא מפעיל על האתר
   ========================================================================== */

.p360-acc, .p360-acc * {
	letter-spacing: normal !important;
	word-spacing: normal !important;
	line-height: 1.5 !important;
	font-family: 'Assistant', Arial, sans-serif !important;
	text-align: start;
	font-style: normal !important;
	filter: none !important;
}
html .p360-acc .p360-acc__panel { background: var(--p360-acc-bg) !important; color: var(--p360-acc-ink) !important; }
html .p360-acc .p360-acc__head { background: var(--p360-acc-brand) !important; }
html .p360-acc .p360-acc__head h2 { color: #fff !important; font-size: 19px !important; }
html .p360-acc .p360-acc__btn { background: var(--p360-acc-soft) !important; color: var(--p360-acc-ink) !important; font-size: 13px !important; }
html .p360-acc .p360-acc__btn[aria-pressed='true'] { background: var(--p360-acc-brand) !important; color: #fff !important; }
html .p360-acc .p360-acc__stepper { background: var(--p360-acc-soft) !important; }
html .p360-acc .p360-acc__stepper button { background: #fff !important; color: var(--p360-acc-ink) !important; }
html .p360-acc .p360-acc__note, html .p360-acc .p360-acc__section > h3 { color: var(--p360-acc-muted) !important; font-size: 12px !important; }
html .p360-acc .p360-acc__section > h3 { font-size: 13px !important; }
html .p360-acc .p360-acc__foot { background: #fbfcff !important; }
html .p360-acc .p360-acc__foot a, html .p360-acc .p360-acc__foot button { color: var(--p360-acc-brand) !important; font-size: 13px !important; }
html .p360-acc .p360-acc__foot .p360-acc__reset { background: #fde7e9 !important; color: #a4121f !important; }
html .p360-acc .p360-acc__list button { background: var(--p360-acc-soft) !important; color: var(--p360-acc-ink) !important; font-size: 14px !important; }
html .p360-acc .p360-acc__toggle { background: var(--p360-acc-brand) !important; color: #fff !important; }
html .p360-acc svg { fill: currentColor !important; }
