/* The site's menu drawer on a phone (9/11/2026, DECISIONS ו1196, book ch. 75): templates/_np_drawer.html.
   A drawer from the burger's side (the left, in a right-to-left page) over the page; the page dims behind it and does
   not move. At the top the personal area (the one filled button), then the listings and help in 56px rows, the four
   agents in their own colours, and at the foot the legal links. Tokens are the approved palette (ו45, ו169). */
.npd, .npd-scrim { --npd-navy: #16294a; --npd-teal: #0f7368; --npd-teal-d: #0c5e58; --npd-mint: #eaf6f0; --npd-line: #e8e0d6;
  --npd-cream: #f7f3ec; --npd-muted: #6b6459; }
.npd-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(16, 30, 54, .48); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .22s ease; }
.npd-scrim.is-open { opacity: 1; }
.npd { position: fixed; z-index: 91; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); display: flex; flex-direction: column;
  background: #fff; border-radius: 0 28px 28px 0; box-shadow: none; overflow: hidden;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: env(safe-area-inset-left, 0px);
  transform: translateX(-104%); transition: transform .26s cubic-bezier(.2, .8, .3, 1); font-family: 'Assistant', system-ui, sans-serif; color: var(--npd-navy); }
/* the shadow only while open: closed, it spilled ~40px past the screen's left edge as a grey band (ו1221) */
.npd.is-open { transform: none; box-shadow: 24px 0 50px -20px rgba(16, 30, 54, .6); }
.npd *, .npd *::before, .npd *::after { box-sizing: border-box; }
.npd ul, .npd p { margin: 0; padding: 0; list-style: none; }
.npd a { color: inherit; text-decoration: none; }
.npd a:focus-visible, .npd button:focus-visible { outline: 3px solid var(--npd-teal); outline-offset: 2px; border-radius: 12px; }
.npd-hd { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 16px; }
.npd-logo { display: block; padding: 5px 0; }
.npd-logo img { display: block; height: 32px; width: auto; }
.npd-x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--npd-cream); color: var(--npd-navy); display: grid; place-items: center; cursor: pointer; }
.npd-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.npd-login { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 12px; margin-bottom: 10px; border-radius: 18px; color: #fff !important;
  font: 800 16.5px 'Heebo', sans-serif; background: linear-gradient(120deg, var(--npd-teal), var(--npd-teal-d)); box-shadow: 0 14px 24px -16px rgba(12, 94, 88, .9); }
.npd-login__ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.npd-ar { margin-inline-start: auto; opacity: .9; display: grid; }
.npd-main { display: grid; }
.npd-main a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 8px; font: 800 17px 'Heebo', sans-serif; }
.npd-main a + a { border-top: 1px solid var(--npd-line); }
.npd-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--npd-teal-d); box-shadow: inset 0 0 0 1.5px var(--npd-line); }
.npd-chev { margin-inline-start: auto; width: 9px; height: 9px; border-left: 2px solid #9aa4b2; border-bottom: 2px solid #9aa4b2; transform: rotate(45deg); }
.npd-lab { padding: 16px 8px 8px; font: 800 12.5px 'Heebo', sans-serif; letter-spacing: .06em; color: var(--npd-muted); }
.npd-ag { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* ו1368: an odd last agent ("למתווכים ולמשרדי תיווך" of three) takes the whole row */
.npd-ag__w { grid-column: 1 / -1; }
.npd-ag__i { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 84px; padding: 11px; border-radius: 16px;
  font: 800 14.5px/1.25 'Heebo', sans-serif; border: 1px solid; border-bottom-width: 2.5px; }
.npd-ag__ic { width: 32px; height: 32px; border-radius: 10px; background: #fff; display: grid; place-items: center; }
/* the agents' colours, as on the home screen's tiles (home-hub.css .hh-tile--*) */
.npd-ag--mint { background: linear-gradient(160deg, #d3ecdf, #e8f5ee); border-color: #c4e2d3; border-bottom-color: #0f6b5f; } .npd-ag--mint .npd-ag__ic { color: #0f6b5f; }
.npd-ag--sky { background: linear-gradient(160deg, #d7e5f7, #eaf1fb); border-color: #c8d9ee; border-bottom-color: #1f5fa8; } .npd-ag--sky .npd-ag__ic { color: #1f5fa8; }
.npd-ag--lav { background: linear-gradient(160deg, #e0daf5, #efecfb); border-color: #d4ccef; border-bottom-color: #5b4bb0; } .npd-ag--lav .npd-ag__ic { color: #5b4bb0; }
.npd-ag--peach { background: linear-gradient(160deg, #f9dbc9, #fdece2); border-color: #f0cdb8; border-bottom-color: #a8471f; } .npd-ag--peach .npd-ag__ic { color: #a8471f; }
.npd-foot { padding: 10px 18px 18px; background: var(--npd-cream); border-top: 1px solid var(--npd-line); }
.npd-legal { display: flex; flex-wrap: wrap; margin-inline: -6px; }
.npd-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font: 600 14px 'Assistant', sans-serif; color: #2f3a4e; }
.npd-legal li + li a::before { content: "·"; margin-inline-end: 8px; color: #b9b0a2; }
.npd-c { font: 600 12.5px 'Assistant', sans-serif; color: var(--npd-muted); }
/* ו1307: the mortgage calculator, a wide dark tile above the agents (a tool for anyone, not another agent) */
.npd-calc { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 14px;
  padding: 12px; border-radius: 16px; color: #fff !important; background: linear-gradient(135deg, #16294a, #22365c); border-bottom: 4px solid #e2b34c;
  box-shadow: 0 12px 22px -14px rgba(22, 41, 74, .9); }
.npd-calc__ic { width: 44px; height: 44px; border-radius: 13px; background: #fff; display: grid; place-items: center; }
.npd-calc__t b { display: block; font: 800 16px 'Heebo', sans-serif; }
.npd-calc__t small { display: block; font: 600 12.5px/1.45 'Assistant', sans-serif; color: #cdd6e6; }
/* ו1307: on a computer too — the same drawer, from the left, opened by the menu button of the site's one bar (ו1330,
   assets/brand/site-bar.css) */
@media (min-width: 1180px) {
  .npd { width: 380px; }
}
/* ו1357: Maya's row under the agents and the accessibility menu's link at the foot — the catalogue, a phone only */
.npd-care { display: none; }
.npd-care .mrow { margin-top: 13px; }
.npd-a11y { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; border: 0; background: none; cursor: pointer;
  font: 600 14px 'Assistant', sans-serif; color: #2f3a4e; }
.npd-legal li + li .npd-a11y::before { content: "·"; margin-inline-end: 8px; color: #b9b0a2; }
.npd-a11y:focus-visible { outline: 3px solid var(--npd-teal); outline-offset: 2px; border-radius: 12px; }
@media (max-width: 900px) {
  div.npd-care { display: block; flex: none; }
  li.npd-care { display: list-item; }
}
/* the page behind does not move */
html.npd-lock, html.npd-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .npd, .npd-scrim { transition: none; } }

/* ו1374: signed in, the first row is the person — the letter in the round tile, the name small, the main area big */
.npd-me__av { border-radius: 99px; font: 800 18px/1 'Heebo', sans-serif; }
.npd-me__t { display: grid; gap: 2px; min-width: 0; }
.npd-me__t small { font: 600 13px 'Assistant', sans-serif; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.npd-me__t b { font: 800 16.5px 'Heebo', sans-serif; }
