/* ארזי הלבנון — accessibility menu + the settings it switches (IS 5568 / WCAG 2.0 AA). Loaded on every page. */
/* ♿ button + menu */
.a11y-fab{position:fixed;left:10px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:9000;width:44px;height:44px;border-radius:50%;border:1.5px solid #cfd7e3;background:rgba(255,255,255,.94);color:#0d2f5e;font-size:1.3rem;line-height:1;display:grid;place-items:center;padding:0;cursor:pointer;box-shadow:0 2px 8px rgba(13,47,94,.16)}   /* v2.9.18: still in every screen and 44px to tap, but quieter (was a 48px navy circle with a heavy shadow) */
.a11y-fab.is-on{background:#eaf0f8;border-color:#1f6fb8;color:#1f6fb8}
.a11y-fab:hover{border-color:#0d2f5e}
body:has(#editor:not([hidden])) .a11y-fab{bottom:calc(84px + env(safe-area-inset-bottom))}   /* v2.9.18: was also ".totbar:not([hidden])" – the totals bar lives inside the editor and is never [hidden], so app 1 kept ♿ raised over its own footer on every screen */
body:has(.tour:not([hidden])) .a11y-fab{display:none}
body:has(> a.fab) .a11y-fab{left:auto;right:10px}
@media print{.a11y-fab,.a11y-panel,.a11y-skip{display:none!important}}
.a11y-panel{position:fixed;inset:0;z-index:9500;background:rgba(13,47,94,.45);display:flex;align-items:flex-end;justify-content:center;padding:10px 10px calc(10px + env(safe-area-inset-bottom))}
.a11y-panel[hidden]{display:none}
.a11y-card{width:min(420px,100%);max-height:calc(100% - 20px);overflow:auto;background:#fff;color:#14233b;border-radius:20px;padding:14px 16px 12px;box-shadow:0 -6px 40px rgba(0,0,0,.3);border-top:5px solid #d9b98f;font-family:"IBM Plex Sans Hebrew",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;text-align:right;direction:rtl}
.a11y-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.a11y-top h2{margin:0;font-size:1.25rem;color:#0d2f5e}
.a11y-x{width:44px;height:44px;border:0;background:none;font-size:1.2rem;color:#3b4a60;cursor:pointer;border-radius:10px}
.a11y-size{display:flex;align-items:center;gap:8px;margin:12px 0 10px;font-weight:700}
.a11y-size span{flex:1}
.a11y-size output{min-width:3.4em;text-align:center;font-weight:800;color:#0d2f5e}
.a11y-b{min-height:48px;border:2px solid #0d2f5e;background:#fff;color:#0d2f5e;border-radius:12px;font:inherit;font-weight:700;padding:8px 10px;cursor:pointer}
.a11y-b--sq{min-width:52px;font-size:1.15rem}
.a11y-b:disabled{opacity:.45;cursor:default}
.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.a11y-t[aria-pressed="true"]{background:#0d2f5e;color:#fff}
.a11y-t[aria-pressed="true"]::after{content:" ✓"}
.a11y-reset{width:100%;margin-top:10px;border-style:dashed}
.a11y-foot{margin:10px 0 0;font-size:.9rem;color:#3b4a60;text-align:center}
.a11y-foot a{color:#0d2f5e;font-weight:700;text-decoration:underline}
.a11y-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:-1px}
/* skip link */
.a11y-skip{position:fixed;top:-60px;right:10px;z-index:10000;background:#0d2f5e;color:#fff;padding:10px 16px;border-radius:10px;font-weight:800;text-decoration:underline;transition:top .15s}
.a11y-skip:focus{top:10px}
/* visible keyboard focus on every control, on light and navy backgrounds alike */
:focus-visible{outline:3px solid #0d2f5e!important;outline-offset:2px!important;box-shadow:0 0 0 6px #ffd257!important}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #0d2f5e!important;outline-offset:1px!important}
/* touch targets ≥ 44px for the app's buttons and tabs */
.b,.tabs [role="tab"],.inst-btn,.tour__x,.inst-x,.thumb button,.hb-acts .b,.sgn__card .b,.filebtn{min-height:44px}
.inst-x,.tour__x,.thumb button{min-width:44px}
/* v2.9.22 (step 14): everything you tap is at least 44×44 to the finger — WITHOUT a bigger-looking button (his rule: regular-size
   buttons). Small controls keep exactly their look; an invisible frame around them (::after) takes the tap. Rows (a checkbox with
   its words, a "?" question that opens) simply get 44px of height. */
.chip,.help-btn,.it-del,#ed-close,.linkbtn,.seg button,.pf-it button,.sigpad__x,.inst-x,.cx-seg button,.prof-chips label,.hb-chips .chip{position:relative}
.chip::after,.help-btn::after,.it-del::after,#ed-close::after,.linkbtn::after,.seg button::after,.pf-it button::after,.sigpad__x::after,.prof-chips label::after{content:"";position:absolute;top:min(0px,calc((100% - 44px) / 2));bottom:min(0px,calc((100% - 44px) / 2));left:min(0px,calc((100% - 44px) / 2));right:min(0px,calc((100% - 44px) / 2))}
label.fld--bool,label.vs-mv,label.hb-radio,label.ops-wrow__n,label.inv-inc,label.vault__chk,label.ct-cl__on,label.sgn__agree{min-height:44px;align-items:center}
details>summary{min-height:44px!important;box-sizing:border-box}
label:has(>input[type=checkbox]),label:has(>input[type=radio]){min-height:44px}
label[style*="display:inline"]:has(>input[type=checkbox]){display:inline-flex!important;align-items:center}
.hb-faq summary,.pf-fguide summary,.pf-more summary,.hb-sp>summary,.qa-why summary{display:flex;align-items:center}
/* a link inside a sentence (© line, "הצהרת נגישות", a phone number): taller to the finger, the line itself does not move */
:is(p,footer,li,dd,span,small,.hint,.meta,.copy) > a[href]:not(.b):not(.chip){padding-block:14px}
/* text size (the app's sizes are in rem, so this scales all of it) */
html[data-a11y-fs="-1"]{font-size:90%}
html[data-a11y-fs="1"]{font-size:112.5%}
html[data-a11y-fs="2"]{font-size:125%}
html[data-a11y-fs="3"]{font-size:140%}
html[data-a11y-fs="4"]{font-size:150%}
html[data-a11y-fs] body{font-size:1rem!important}
html[data-a11y-fs] .tabs{flex-wrap:wrap}
/* high contrast: black on white, black borders, links blue and underlined (the loaders stay navy) */
html.a11y-hc body,
html.a11y-hc body *:not(img):not(svg):not(svg *):not(canvas):not(video):not(.boot):not(.boot *):not(.pboot):not(.pboot *):not(.xstage *):not(.a11y-fab):not(.a11y-fab *):not(.a11y-panel):not(.tour){background-color:#fff!important;background-image:none!important;color:#000!important;border-color:#000!important;text-shadow:none!important;box-shadow:none!important;opacity:1}
html.a11y-hc .b,html.a11y-hc button:not(.a11y-fab),html.a11y-hc [role="tab"],html.a11y-hc input,html.a11y-hc select,html.a11y-hc textarea{border:2px solid #000!important}
html.a11y-hc .b--primary,html.a11y-hc [aria-selected="true"],html.a11y-hc [aria-pressed="true"],html.a11y-hc .is-sel,html.a11y-hc .on{background-color:#000!important;color:#fff!important}
html.a11y-hc .b--primary *,html.a11y-hc [aria-selected="true"] *,html.a11y-hc [aria-pressed="true"] *{background-color:transparent!important;color:#fff!important}
html.a11y-hc a[href]:not(.b){color:#0000c8!important;text-decoration:underline!important}
html.a11y-hc ::placeholder{color:#333!important;opacity:1}
html.a11y-hc .a11y-fab{background:#000!important;color:#fff!important;border-color:#fff!important}
html.a11y-hc .a11y-panel{background:rgba(0,0,0,.6)!important}
html.a11y-hc .dlg::backdrop{background-color:rgba(0,0,0,.55)!important}
/* highlighted links */
html.a11y-links a[href]{text-decoration:underline!important;text-underline-offset:3px;text-decoration-thickness:2px!important;outline:1px solid #e6cf9c!important;outline-offset:1px;background-color:#fffaec!important;color:#0b2a55!important;border-radius:4px}   /* v2.9.18: links stay marked, but softer (was a thick gold box) */
/* readable font */
html.a11y-font body,html.a11y-font body *:not(.boot__tile):not(.a11y-fab *){font-family:Arial,"Helvetica Neue","Noto Sans Hebrew",sans-serif!important;letter-spacing:.02em!important;word-spacing:.12em!important}
html.a11y-font body p,html.a11y-font body li,html.a11y-font body dd{line-height:1.75!important}
/* stop animations and movement */
html.a11y-still *,html.a11y-still *::before,html.a11y-still *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}

/* v2.9.22 (step 16): ♿ in the top bar (a11y.js place()) — same icon, 44×44, part of the bar instead of floating over the content */
.a11y-fab.a11y-fab--bar{position:static;flex:none;margin:0;box-shadow:none;z-index:auto;bottom:auto;left:auto;right:auto;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.5);color:#fff}
.bar--ed .a11y-fab.a11y-fab--bar,.a11y-fab--bar.on-light{background:#fff;border-color:#cfd7e3;color:#0d2f5e}
.a11y-fab.a11y-fab--bar.is-on{background:#eaf0f8;border-color:#1f6fb8;color:#1f6fb8}
.a11y-fab.a11y-fab--top{top:calc(10px + env(safe-area-inset-top));bottom:auto}
html.a11y-hc .a11y-fab.a11y-fab--bar{background:#000!important;color:#fff!important;border-color:#fff!important}
/* the pages that keep a floating ♿ (a customer's quote / signature / clock-in link, the portfolio, join, reset): the end of the page
   scrolls clear of it */
body:not(:has(#gate)){padding-bottom:calc(64px + env(safe-area-inset-bottom))}
/* v2.9.18: the end of every screen scrolls clear of the ♿ button (app 1: bottom corner) */
.copy--app{padding-bottom:calc(70px + env(safe-area-inset-bottom))!important}

/* v2.9.22 (merged): the תקנון · מדיניות פרטיות links in every footer — a full 44px tap area, same look */
a[href="/terms/"],a[href="/privacy/"]{display:inline-block;min-width:44px;text-align:center}

/* v2.9.27 (his words 19:55 Nov 9: "שהכפתור נגישות לא יפריע ולא יחסום שום דבר"): ♿ never floats over the page. a11y.js place() puts it
   IN the screen: the customer view's bar (--pbar), the app's top bar (--bar), the page's own header (--hdr), or the top corner of a page
   with no header (--doc, scrolls away with the page). Same icon, 44×44, regular button look. */
#a11y-fab.a11y-fab--pbar,#a11y-fab.a11y-fab--bar{position:static!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;transform:none!important}
#a11y-fab.a11y-fab--pbar{flex:none;margin:0;box-shadow:none;z-index:auto}
#a11y-fab.a11y-fab--hdr{position:absolute!important;top:10px!important;left:10px!important;right:auto!important;bottom:auto!important;z-index:2;box-shadow:none}
.a11y-host{position:relative}
header.a11y-host{padding-left:62px;padding-right:62px}
#a11y-fab.a11y-fab--doc{position:absolute!important;top:calc(10px + env(safe-area-inset-top))!important;left:10px!important;right:auto!important;bottom:auto!important;z-index:2}
.topbar__in>#a11y-fab{margin-inline-start:0}
body:has(#a11y-fab.a11y-fab--doc),body:has(header.a11y-host){padding-bottom:0}

/* v2.9.32 (his 22:49, 10 Nov 2026): the universal accessibility symbol (inline SVG from a11y.js) — white figure, navy circle, thin gold ring.
   The colours are these three variables (gold-on-navy instead: --a11y-fig:#d4a62a). */
:root{--a11y-fig:#fff;--a11y-bg:#0d2f5e;--a11y-ring:#d4a62a}
.a11y-svg{display:block;width:100%;height:100%}
.a11y-svg__c{fill:var(--a11y-bg);stroke:var(--a11y-ring);stroke-width:1.3}
.a11y-svg__h{fill:var(--a11y-fig)}
.a11y-svg__f{fill:none;stroke:var(--a11y-fig);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.a11y-ic{display:inline-block;width:1.2em;height:1.2em;vertical-align:-.22em;line-height:0}
.a11y-fab,#a11y-fab.a11y-fab--bar,#a11y-fab.a11y-fab--pbar{padding:2px!important;border:0!important;background:transparent!important}
.a11y-fab.is-on .a11y-svg__c{stroke-width:2.4}
html.a11y-hc .a11y-fab{background:transparent!important}
