/* ארזי הלבנון — "ניהול – חדש" (/new/, v2.9.9): the compact layer over the same app.
   5 fixed buttons at the bottom instead of the row of tabs, one round ➕, a small switch on top for screens that live together. */
.cx-new{display:inline-block;margin-inline-start:6px;padding:1px 8px;border-radius:99px;background:#d9b98f;color:var(--ox-pri,#0d2f5e);font-size:.875rem;font-weight:800;vertical-align:2px}
#app .tabs{display:none!important}
#app .inst-banner{display:none!important}
#btn-new{display:none!important}
#app{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
#app .copy--app{margin-bottom:8px;padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}   /* v2.9.18: the last card, the footer and the version scroll clear of the gold ➕ and ♿ (they sit 84–144px up) */
/* bottom bar */
.cx-nav{position:fixed;z-index:60;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);background:var(--ox-paper,#fff);border-top:1px solid #e3ddd2;
  box-shadow:0 -6px 18px rgba(13,47,94,.08);padding:4px 2px calc(4px + env(safe-area-inset-bottom))}
.cx-nav[hidden]{display:none}
.cx-nav button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:60px;margin:0 2px;padding:4px 2px;border:0;border-radius:14px;background:none;
  font:inherit;font-size:.9rem;font-weight:700;line-height:1.15;color:#3d4a5c;cursor:pointer;text-align:center}
.cx-nav button .cx-i{font-size:1.45rem;line-height:1}
.cx-nav button[aria-current="page"]{background:var(--ox-sunk,#eaf0f8);color:var(--ox-pri,#0d2f5e)}
.cx-nav button[aria-current="page"] .cx-l{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px}
.cx-nav button:focus-visible{outline:3px solid var(--ox-pri,#0d2f5e);outline-offset:-3px}
.cx-badge{position:absolute;top:2px;inset-inline-end:calc(50% - 26px);min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:var(--ox-pri,#0d2f5e);color:#fff;font-size:.875rem;line-height:20px;font-weight:800}
.cx-badge[hidden]{display:none}
/* the round ➕ */
.cx-fab{position:fixed;z-index:61;left:16px;bottom:calc(84px + env(safe-area-inset-bottom));width:60px;height:60px;border:3px solid #fff;border-radius:50%;background:linear-gradient(135deg,#ffd45e 0%,#f5a623 55%,#e8930c 100%);color:#fff;
  font-size:2.6rem;font-weight:800;line-height:52px;text-align:center;text-shadow:0 1px 3px rgba(110,55,0,.6);box-shadow:0 8px 20px rgba(232,147,12,.45),0 2px 6px rgba(13,47,94,.3);   /* v2.9.16: gold + (was navy) */
 cursor:pointer;padding:0}
.cx-fab:focus-visible{outline:3px solid #d9b98f;outline-offset:3px}
.cx-fab[hidden]{display:none}
/* the switch between screens that live together */
.cx-seg{display:flex;gap:8px;overflow-x:auto;padding:10px 14px 2px;scrollbar-width:none}
.cx-seg::-webkit-scrollbar{display:none}
.cx-seg[hidden]{display:none}
.cx-seg button{flex:0 0 auto;min-height:44px;padding:8px 16px;border:1px solid var(--ox-line,#cfd7e3);border-radius:99px;background:var(--ox-paper,#fff);color:var(--ox-pri,#0d2f5e);font:inherit;font-size:1rem;font-weight:700;cursor:pointer}
.cx-seg button[aria-pressed="true"]{background:var(--ox-pri,#0d2f5e);border-color:var(--ox-pri,#0d2f5e);color:#fff}
.cx-seg button:focus-visible{outline:3px solid #d9b98f;outline-offset:2px}
/* the sheets (➕ and ☰ עוד) */
.cx-sheet{border:0;padding:0;margin:auto auto 0;width:100%;max-width:560px;border-radius:22px 22px 0 0;background:var(--ox-paper,#fff);color:var(--ox-ink,#1b2533);box-shadow:0 -10px 40px rgba(0,0,0,.25)}
.cx-sheet::backdrop{background:rgba(13,30,55,.45)}
.cx-sheet__in{padding:16px 16px calc(18px + env(safe-area-inset-bottom));max-height:80vh;overflow:auto}
.cx-sheet h2{margin:2px 4px 10px;font-size:1.15rem;color:var(--ox-pri,#0d2f5e)}
.cx-sheet h3{margin:16px 4px 6px;font-size:1rem;color:var(--ox-mute,#5a6576)}
.cx-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cx-list button,.cx-list a{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;padding:10px 14px;border:1px solid #e3ddd2;border-radius:14px;background:#fbf9f5;
  font:inherit;font-size:1.05rem;font-weight:700;color:var(--ox-ink,#1b2533);text-decoration:none;text-align:start;cursor:pointer;box-sizing:border-box}
.cx-list .cx-i{font-size:1.4rem;width:1.8rem;text-align:center}
.cx-list small{display:block;font-weight:400;font-size:.9rem;color:var(--ox-mute,#5a6576)}
.cx-list .cx-soon{opacity:1;background:var(--ox-paper,#fff);border-style:dashed;cursor:default}
.cx-soon__tag{margin-inline-start:auto;flex:0 0 auto;padding:2px 10px;border-radius:99px;background:#f1ece2;color:#5b4a2e;font-size:.875rem;font-weight:700}
.cx-close{display:block;width:100%;margin-top:14px}
/* moved into ⚙️ הגדרות מתקדמות */
.hb-adv .hb-out{margin-top:12px}

/* never over the editor, the print view or a dialog's own bottom bar */
body:has(#editor:not([hidden])) .cx-nav,body:has(#editor:not([hidden])) .cx-fab,body:has(#print:not([hidden])) .cx-nav,body:has(#print:not([hidden])) .cx-fab,
body:has(#gate:not([hidden])) .cx-nav,body:has(#gate:not([hidden])) .cx-fab,body:has(#app[hidden]) .cx-nav,body:has(#app[hidden]) .cx-fab{display:none!important}
.a11y-fab{left:auto;right:10px;bottom:calc(84px + env(safe-area-inset-bottom))}
body:has(#gate:not([hidden])) .a11y-fab{right:auto;left:10px;bottom:auto;top:calc(10px + env(safe-area-inset-top))}   /* v2.9.22: the entry screen's ♿ up in the corner, clear of the © line */
.toast{bottom:calc(100px + env(safe-area-inset-bottom))}
.tour{bottom:calc(76px + env(safe-area-inset-bottom))}

/* v2.9.25 (his screenshot 17:15 Nov 9: the ➕ covered the button under "תזכורות – מה ומתי"): the gold ➕ is docked INSIDE the bottom bar,
   in its own place at the left end — never floating over the page, so it can never cover a button or text on any screen. */
.cx-nav{grid-template-columns:repeat(5,minmax(0,1fr)) 68px}
.cx-nav .cx-fab{position:relative;left:auto;right:auto;bottom:auto;z-index:auto;grid-column:6;grid-row:1;align-self:center;justify-self:center;display:block;
  width:58px;height:58px;min-height:0;margin:0;padding:0;border:3px solid #fff;border-radius:50%;
  background:linear-gradient(135deg,#ffd23f 0%,#eeab12 55%,#cf8d00 100%);color:#fff;font-size:2.5rem;font-weight:800;line-height:50px;text-align:center;
  text-shadow:0 1px 3px rgba(110,55,0,.6);box-shadow:0 4px 12px rgba(207,141,0,.45),0 1px 4px rgba(13,47,94,.25)}
.cx-nav .cx-fab:focus-visible{outline:3px solid var(--ox-pri,#0a2c6e);outline-offset:2px}
#app .copy--app{padding-bottom:calc(16px + env(safe-area-inset-bottom))!important}   /* nothing floats over the page's end any more – only the bar (#app keeps its own room for it) */
