/* The site's ONE top bar (17/11/2026, DECISIONS ו1330, book ch. 75): templates/_site_bar.html, server/site_bar.py.
   The owner's choice on the mock-up ("גרסה ב"): one filled action ("כניסה לאזור האישי"); the page's own buttons with
   no frame, a teal icon and a word, mint only under the pointer; one control height (40); quiet words for the links,
   the current page in teal with a short rounded line; a white bar at 92% with the page blurred behind it.
   80px on a computer (the colour line + 76: the home screen and the catalogue size their columns from it, --top),
   56 on a phone. Under 1180 the phone's bar: icons only, "הנכסים" as the navy pill, the burger. */
.np-bar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(22, 41, 74, .08); color: #16294a; direction: rtl; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .np-bar { background: #fff; } }
.np-bar__strip { height: 4px; background: linear-gradient(90deg, #8fe0d2, #bcd9f2, #cfc4f0, #f8c9ae, #f6dc9b); }
.np-bar__in { display: flex; align-items: center; gap: 10px; max-width: 1680px; margin: 0 auto; padding: 0 32px; min-height: 76px; box-sizing: border-box; }
/* the logo's link reaches 44px without moving anything (the padding is taken back by the margin) */
.np-bar__logo { display: block; flex: none; padding-block: 6px; margin-block: -6px; margin-inline-end: 4px; }
.np-bar__logo img { display: block; height: 38px; width: auto; }
.np-bar .np-return { flex: none; }

.np-bar__nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 22px; }
.np-bar__nav a { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px;
  color: #3a4a66; font: 700 15.5px/1 'Heebo', system-ui, sans-serif; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s; }
.np-bar__nav a:hover { background: #eef4f1; color: #16294a; }
.np-bar__nav a[aria-current="page"] { color: #0f7368; }
.np-bar__nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 14px; bottom: 3px; height: 2.5px; border-radius: 2px; background: #0f7368; }

.np-bar__sp { flex: 1; }
.np-bar__page { display: flex; align-items: center; gap: 4px; }
.np-bar__act { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0; padding: 0 14px; border: 0;
  border-radius: 999px; background: transparent; color: #16294a; font: 700 15px/1 'Heebo', system-ui, sans-serif; text-decoration: none;
  white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s; }
.np-bar__act:hover { background: #eef4f1; }
.np-bar__act svg { width: 19px; height: 19px; flex: none; fill: none; stroke: #0f7368; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.np-bar__act.is-fill svg, .np-bar__act.saved svg { fill: #0f7368; }
.np-bar__ct { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 99px;
  background: #e2f1ed; color: #0f7368; font: 800 12px/1 'Heebo', system-ui, sans-serif; }
.np-bar__ct[hidden] { display: none; }
.np-bar__div { width: 1px; height: 24px; flex: none; margin: 0 6px; background: rgba(22, 41, 74, .12); }

.np-bar__a11y { display: flex; flex: none; }
.np-bar__a11y:empty, html[data-a11y-hidden="1"] .np-bar__a11y { display: none; }

.np-bar__login { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding-inline: 6px 18px; border-radius: 999px; flex: none;
  background: #0f7368; color: #fff; font: 800 14.5px/1 'Heebo', system-ui, sans-serif; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 6px 14px -8px rgba(15, 115, 104, .9); transition: background-color .15s, transform .15s; }
.np-bar__login:hover { background: #0b5f56; transform: translateY(-1px); }
.np-bar__login:active { transform: scale(.98); }
.np-bar__li { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 99px; background: rgba(255, 255, 255, .18); }

.np-bar__menu { display: grid; place-items: center; width: 40px; height: 40px; flex: none; margin: 0; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: #16294a; box-shadow: inset 0 0 0 1px rgba(22, 41, 74, .16); cursor: pointer; transition: background-color .15s; }
.np-bar__menu:hover { background: #eef4f1; }

.np-bar__props { display: none; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; flex: none;
  background: #16294a; color: #fff; font: 800 14px/1 'Heebo', system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.np-bar__props .hh-i:last-child { color: #8fe0d2; }

.np-bar a:focus-visible, .np-bar button:focus-visible { outline: 3px solid #0f7368; outline-offset: 2px; }
.np-bar .hh-progress { position: absolute; inset-inline: 0; bottom: -1px; height: 3px; }

/* a phone, and a window narrower than a computer's */
@media (max-width: 1179px) {
  .np-bar__strip, .np-bar__nav, .np-bar__login, .np-bar__div, .np-bar__lbl { display: none; }
  .np-bar__in { min-height: 56px; padding: 0 14px; gap: 6px; }
  .np-bar__logo img { height: 32px; }
  .np-bar__act { width: 40px; height: 40px; min-height: 40px; padding: 0; justify-content: center; }
  .np-bar__act svg { width: 21px; height: 21px; stroke: #16294a; }
  .np-bar__act.is-fill svg, .np-bar__act.saved svg { fill: #0f7368; stroke: #0f7368; }
  .np-bar__ct { position: absolute; top: 3px; left: 1px; min-width: 17px; height: 17px; padding: 0 4px; font-size: 10.5px;
    background: #0f7368; color: #fff; box-shadow: 0 0 0 2px #fff; }
  .np-bar__props { display: inline-flex; }
  .np-bar__menu { box-shadow: none; }
  /* the way back keeps the bar on one line: its "· <the parent>" gives way (as on the frame's pages before, ו1195) */
  .np-bar .np-return .np-return-to { display: none; }
}
@media (max-width: 380px) {
  .np-bar__in { padding: 0 10px; gap: 4px; }
  .np-bar__logo { padding-block: 8px; margin-block: -8px; }
  .np-bar__logo img { height: 28px; }
  .np-bar__props { padding: 0 10px; }
  .np-bar__props .hh-i:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { .np-bar__nav a, .np-bar__act, .np-bar__login, .np-bar__menu { transition: none; } .np-bar__login:hover { transform: none; } }
@media print { .np-bar { position: static; } .np-bar__menu, .np-bar__a11y, .np-bar__props { display: none; } }

/* ── the way in and the signed-in person (19/11/2026, DECISIONS ו1374) ──────────────────────────────────────────
   A computer: "כניסה לאזור האישי" as it was (its touch area 44, the look 40); signed in, a pill — the letter in a
   teal circle, the short name, a small arrow — that opens a menu of 316 under it. A phone: a white circle of 44 with
   the person icon (signed out) or a filled teal circle with the letter (signed in), opening the same menu as a sheet
   from the bottom. On a phone the way back is its arrow alone and "הנכסים" drops its arrow, so the bar keeps one line
   (measured 273/355 at 375 and 314/362 at 390, the mock-up https://claude.ai/artifact/RRDygUuq4bSkH8pRv11DXW). */
.np-bar__login { position: relative; }
.np-bar__login::before { content: ""; position: absolute; inset: -2px 0; }
.np-bar__in-ph { display: none; }
.np-me { position: relative; display: flex; flex: none; }
.np-me__btn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; margin: 0; padding: 0 4px 0 10px;
  border: 0; border-radius: 999px; background: #fff; color: #16294a; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(22, 41, 74, .16);
  -webkit-tap-highlight-color: transparent; transition: background-color .15s, box-shadow .15s; }
.np-me__btn::before { content: ""; position: absolute; inset: -2px; }
.np-me__btn:hover, .np-me.is-open .np-me__btn { background: #eef4f1; box-shadow: inset 0 0 0 1.5px #0f7368; }
.np-me__av { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 999px; background: #0f7368; color: #fff;
  font: 800 15px/1 'Heebo', system-ui, sans-serif; }
.np-me__av--lg { width: 44px; height: 44px; font-size: 19px; }
.np-me__nm { font: 700 15px/1 'Heebo', system-ui, sans-serif; white-space: nowrap; }
.np-me__chev { display: grid; color: #3a4a66; transition: transform .15s; }
.np-me.is-open .np-me__chev { transform: rotate(180deg); }
.np-me__dim { display: none; }
.np-me__menu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; width: 316px; padding: 8px; box-sizing: border-box;
  border-radius: 18px; background: #fff; border: 1px solid #e8e0d6; text-align: right;
  box-shadow: 0 24px 48px -18px rgba(22, 41, 74, .35), 0 2px 6px rgba(22, 41, 74, .06); }
.np-me__menu[hidden] { display: none; }
.np-me__grab, .np-me__x { display: none; }
.np-me__hd { display: flex; align-items: center; gap: 12px; padding: 10px 10px 14px; border-bottom: 1px solid #f0eae1; }
.np-me__who { display: grid; gap: 3px; min-width: 0; }
.np-me__who b { font: 800 16.5px/1.2 'Heebo', system-ui, sans-serif; color: #16294a; overflow-wrap: anywhere; }
.np-me__who small { justify-self: end; direction: ltr; unicode-bidi: isolate; font: 400 14px/1.2 'Assistant', system-ui, sans-serif; color: #5c6473; }
.np-me__list { display: grid; margin: 0; padding: 6px 0; list-style: none; border-bottom: 1px solid #f0eae1; }
.np-me__list li + li { border-top: 1px solid #f5efe7; }
.np-me__i { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 10px; border-radius: 12px; color: #16294a; text-decoration: none; }
.np-me__i:hover { background: #f3f8f6; }
.np-me__ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: #e2f1ed; color: #0f7368; }
.np-me__t { display: grid; gap: 2px; min-width: 0; }
.np-me__t b { font: 700 15.5px/1.2 'Heebo', system-ui, sans-serif; }
.np-me__t small { font: 400 13.5px/1.3 'Assistant', system-ui, sans-serif; color: #5c6473; }
.np-me__out { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; margin-top: 6px; padding: 0 18px; border: 0;
  border-radius: 12px; background: transparent; color: #16294a; font: 700 15px 'Heebo', system-ui, sans-serif; cursor: pointer; text-align: right; }
.np-me__out .hh-i { color: #5c6473; }
.np-me__out:hover { background: #f7f3ec; }
.np-me a:focus-visible, .np-me button:focus-visible, .np-me__menu a:focus-visible, .np-me__menu button:focus-visible { outline: 3px solid #0f7368; outline-offset: 2px; }

@media (max-width: 1179px) {
  .np-bar__in-ph { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 999px; background: #fff;
    color: #0f7368; box-shadow: inset 0 0 0 1.8px #0f7368; text-decoration: none; }
  .np-me__btn { width: 44px; height: 44px; padding: 0; justify-content: center; background: #0f7368; color: #fff;
    box-shadow: 0 6px 14px -8px rgba(15, 115, 104, .9); }
  .np-me__btn:hover, .np-me.is-open .np-me__btn { background: #0f7368; box-shadow: 0 0 0 3px #cfe8e4; }
  .np-me__btn .np-me__av { width: auto; height: auto; background: none; font-size: 19px; }
  .np-me__nm, .np-me__chev { display: none; }
  .np-me__dim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(22, 41, 74, .42); }
  .np-me__menu { position: fixed; inset: auto 0 0; top: auto; z-index: 71; width: auto; max-height: 85vh; overflow-y: auto;
    padding: 10px 12px calc(18px + env(safe-area-inset-bottom, 0px)); border: 0; border-radius: 22px 22px 0 0;
    box-shadow: 0 -12px 30px -12px rgba(22, 41, 74, .35); }
  .np-me__grab { display: block; width: 40px; height: 5px; margin: 0 auto 4px; border-radius: 9px; background: #ded6ca; }
  .np-me__x { display: grid; place-items: center; position: absolute; top: 12px; left: 12px; width: 44px; height: 44px; margin: 0; padding: 0;
    border: 0; border-radius: 99px; background: #f7f3ec; color: #16294a; cursor: pointer; }
  .np-me__i { min-height: 60px; }
  .np-me__out { min-height: 52px; }
  /* the way back: its arrow alone, 44 to the finger; "חזרה" stays for a screen reader (font-size 0 keeps it read) */
  .np-bar .np-return { width: 44px; height: 44px; padding: 0; justify-content: center; background: transparent; border: 0; font-size: 0; gap: 0; }
  .np-bar .np-return::after { inset: 0; }
  .np-bar .np-return .np-return-i { width: 34px; height: 34px; background: #dff2ee; box-shadow: inset 0 0 0 1.5px #0f7368; }
  .np-bar__props .hh-i:last-child { display: none; }
}
/* the floating accessibility button steps aside while the sheet is open, as it does for the drawer (ו1357) */
html.np-me-open .np-a11y-btn { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .np-me__btn, .np-me__chev { transition: none; } }
@media print { .np-me, .np-bar__in-ph { display: none; } }

/* ו1395 (the owner, 22/11): "להצטרפות" — gold and quiet, never louder than the sign-in beside it */
.np-bar__join { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding-inline: 14px 16px; border-radius: 999px; flex: none;
  background: #fbf0d8; color: #5b430a; box-shadow: inset 0 0 0 1.5px #ecd9a3; font: 800 15px/1 'Heebo', sans-serif; text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s; }
.np-bar__join:hover { background: #f7e6bd; transform: translateY(-1px); }
.np-bar__join i { width: 8px; height: 8px; border-radius: 50%; background: #2fb86b; box-shadow: 0 0 0 4px rgba(47, 184, 107, .2); }
.np-bar__join:focus-visible { outline: 3px solid #14867a; outline-offset: 2px; }
@media (max-width: 1179px) { .np-bar__join { padding-inline: 12px 14px; font-size: 14px; } }
@media (max-width: 380px) { .np-bar__join i { display: none; } .np-bar__join { padding-inline: 12px; } }
@media (prefers-reduced-motion: reduce) { .np-bar__join { transition: none; } .np-bar__join:hover { transform: none; } }
@media print { .np-bar__join { display: none; } }
