/* Maya's window (ו894, 26/10/2026, the owner): ONE window on every page she appears. Since 17/11/2026 (ו1333) its look is
   the site's one agent window (assets/brand/agent-window.css, .ag) — the lilac frame, header and bubbles are gone.
   What stays here is only where she sits: a page sets her position, width and --mw-max; on a phone (the page's own
   breakpoint, data-phone) she is a sheet from below (.is-full; ו1190): 86% of the screen, a handle, round top corners,
   no line and no shadow, the page dimmed behind (.mw-scrim).
   Markup: templates/_maya_window.html. Behaviour: assets/brand/maya-window.js.
   tests/test_maya_window_894.py and tests/test_agent_window_1333.py fail on a page that draws a window of its own. */
.mw, .ag.mw { position: absolute; z-index: 46; box-sizing: border-box; height: var(--mw-max, 460px); max-height: var(--mw-max, 460px); animation: mw-pop .18s ease-out; }
.mw[hidden] { display: none; }
@keyframes mw-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mw .ag-wel { margin-top: 44px; }
/* ו1280: the small "לאתר נכס+" line under the input on a private seller's property page */
.mw-home { flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; margin: -6px 14px 10px; padding: 0 12px;
           border-radius: 12px; color: #0b5f56; font: 700 13.5px/1 'Heebo', sans-serif; text-decoration: none; }
.mw-home:hover { background: rgba(15,115,104,.08); }
/* a phone (ו1190, the owner: "שתיפתח כמו הסוכן"): a sheet from below, as the property's agent and Niv open — 86% of the
   screen, round top corners, a handle; the page behind is dimmed by the scrim the script puts before the window, a tap
   on it closes her, and the page does not scroll meanwhile. ו1333: no line and no shadow (.ag-flat, set by the script). */
.mw.is-full, .ag.mw.is-full { position: fixed; inset: auto 0 0 0; z-index: 90; width: auto; height: 86vh; height: 86dvh; max-width: none; max-height: none; margin: 0;
              border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
.mw.is-full .ag-h { padding-top: 22px; }
.mw.is-full .ag-h::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(22,41,74,.25); }
.mw-scrim { position: fixed; inset: 0; z-index: 89; background: rgba(22,41,74,.45); }
.mw-scrim[hidden] { display: none; }
html.mw-full-open, html.mw-full-open body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mw { animation: none; } }
