/* ============================================================
   רבנו — כל הדרך לרבנו במקום אחד | מבית ChesterGroup
   עיצוב: נייבי עמוק + זהב. RTL-first. Dark-first.
   ============================================================ */

:root{
  --navy-900:#070f1e;
  --navy-850:#0a1730;
  --navy-800:#0b1a33;
  --navy-700:#0e2242;
  --navy-600:#132c53;
  --gold-400:#e3c26a;
  --gold-500:#c9a227;
  --gold-600:#a8861a;
  --cream:#f6f2e8;
  --ink:#0d1526;

  --ok:#2fae6b;
  --warn:#e0a318;
  --danger:#e0473f;
  --info:#3d7fd6;

  --bg:var(--navy-900);
  --bg-2:var(--navy-800);
  --surface:#0f1f3d;
  --surface-2:#132a4f;
  --border:rgba(227,194,106,.18);
  --border-soft:rgba(255,255,255,.08);
  --text:#f2efe6;
  --text-2:#b9c2d4;
  --text-3:#8592ab;
  --accent:var(--gold-500);
  --accent-soft:rgba(201,162,39,.14);
  --shadow:0 10px 30px rgba(0,0,0,.45);
  --shadow-sm:0 4px 14px rgba(0,0,0,.3);

  --radius:18px;
  --radius-sm:12px;
  --radius-lg:26px;
  --maxw:1180px;
  --header-h:60px;
  --nav-h:66px;
  --font:"Assistant","Heebo",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --fs:16px;
}

html[data-theme="light"]{
  --bg:#f3efe4;
  --bg-2:#ffffff;
  --surface:#ffffff;
  --surface-2:#faf7ef;
  --border:rgba(11,26,51,.12);
  --border-soft:rgba(11,26,51,.08);
  --text:#0d1526;
  --text-2:#455068;
  --text-3:#6b7793;
  --accent:var(--gold-600);
  --accent-soft:rgba(201,162,39,.16);
  --shadow:0 10px 30px rgba(13,21,38,.10);
  --shadow-sm:0 3px 12px rgba(13,21,38,.08);
}

*,*::before,*::after{box-sizing:border-box}
html{font-size:var(--fs);-webkit-text-size-adjust:100%}
body{
  margin:0;font-family:var(--font);background:var(--bg);color:var(--text);
  line-height:1.55;-webkit-font-smoothing:antialiased;
  padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px));
  overflow-x:hidden;
}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:none;padding:0}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{margin:0 0 .4em;line-height:1.25;font-weight:800}
p{margin:0 0 .8em}
ul,ol{margin:0 0 .8em;padding-inline-start:1.2em}
hr{border:none;border-top:1px solid var(--border-soft);margin:16px 0}

.skip-link{position:absolute;inset-inline-start:-9999px;top:0;z-index:9999;background:var(--accent);color:#0b1a33;padding:10px 16px;border-radius:0 0 12px 0;font-weight:800}
.skip-link:focus{inset-inline-start:0}
:focus-visible{outline:3px solid var(--gold-400);outline-offset:2px;border-radius:6px}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 14px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ===================== HEADER ===================== */
.app-header{
  position:sticky;top:0;z-index:80;height:var(--header-h);
  display:flex;align-items:center;gap:10px;padding:0 12px;
  background:linear-gradient(180deg,var(--navy-800),rgba(11,26,51,.94));
  border-bottom:1px solid var(--border);backdrop-filter:blur(10px);
  color:#f2efe6;
}
html[data-theme="light"] .app-header{background:linear-gradient(180deg,#0b1a33,#0e2242)}
.brand{display:flex;align-items:center;gap:9px;margin:0;font-size:1.16rem;font-weight:900;letter-spacing:.2px}
.brand .crown{width:22px;height:22px;color:var(--gold-400);flex:none}
.brand-txt{display:flex;flex-direction:column;line-height:1.05}
.brand-name{background:linear-gradient(180deg,#f7edd0,var(--gold-500));-webkit-background-clip:text;background-clip:text;color:transparent}
.brand-sub{font-size:.58rem;font-weight:700;color:var(--gold-400);opacity:.8;letter-spacing:.5px}
.header-actions{margin-inline-start:auto;display:flex;align-items:center;gap:4px}
.icon-btn{
  width:38px;height:38px;border-radius:12px;display:grid;place-items:center;
  color:#eae4d3;border:1px solid transparent;font-size:1.05rem;position:relative;
}
.icon-btn:hover{background:rgba(255,255,255,.09);border-color:var(--border)}
.icon-btn .dot{position:absolute;top:6px;inset-inline-end:6px;width:8px;height:8px;border-radius:50%;background:var(--danger);box-shadow:0 0 0 2px var(--navy-800)}

/* ===================== BOTTOM NAV ===================== */
.bottom-nav{
  position:fixed;bottom:0;inset-inline:0;z-index:90;height:calc(var(--nav-h) + env(safe-area-inset-bottom,0px));
  padding-bottom:env(safe-area-inset-bottom,0px);
  display:grid;grid-template-columns:repeat(5,1fr);
  background:linear-gradient(180deg,rgba(11,26,51,.97),var(--navy-900));
  border-top:1px solid var(--border);backdrop-filter:blur(12px);
}
.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#93a1ba;font-size:.68rem;font-weight:700;position:relative;isolation:isolate}
.nav-item svg{width:22px;height:22px}
.nav-item[aria-current="page"]{color:#0b1a33}
.nav-item[aria-current="page"]::before{
  content:"";position:absolute;inset:6px 8px;border-radius:16px;
  background:linear-gradient(180deg,var(--gold-400),var(--gold-500));z-index:-1;
}
.nav-item.center{margin-top:-14px}
.nav-item.center .bubble{
  width:52px;height:52px;border-radius:18px;display:grid;place-items:center;
  background:linear-gradient(180deg,var(--gold-400),var(--gold-500));color:#0b1a33;
  box-shadow:0 8px 20px rgba(201,162,39,.4)
}
.nav-item.center[aria-current="page"]::before{display:none}
.nav-item.center[aria-current="page"]{color:var(--gold-400)}

/* ===================== VIEWS ===================== */
.view{display:none;padding:14px 0 20px;animation:fade .22s ease}
.view.active{display:block}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.page-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.back-btn{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--surface);border:1px solid var(--border-soft);color:var(--text);flex:none}
.page-title{font-size:1.3rem;margin:0}
.page-title small{display:block;font-size:.72rem;font-weight:600;color:var(--text-3)}

/* ===================== HERO (נוף לילה + לוגו) ===================== */
.hero{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;margin-bottom:14px;
  background:linear-gradient(160deg,var(--navy-700),var(--navy-900));
  border:1px solid var(--border);color:#f4efe2;
  min-height:206px;display:flex;flex-direction:column;justify-content:flex-end;
  padding:18px 18px 16px;
}
.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.hero > *{position:relative;z-index:1}
.hero-logo{position:absolute;top:14px;inset-inline-start:0;inset-inline-end:0;z-index:1;display:flex;justify-content:center}
.hero-logo svg{width:118px;height:auto;filter:drop-shadow(0 3px 10px rgba(0,0,0,.55))}
.hero-greet{font-size:1.5rem;font-weight:900;margin:0 0 2px;text-shadow:0 2px 12px rgba(0,0,0,.7)}
.hero-sub{color:#dce4f2;font-size:.9rem;margin:0;text-shadow:0 1px 8px rgba(0,0,0,.7)}
.countdown{display:flex;gap:7px;margin-top:13px;flex-wrap:wrap}
.cd-box{
  background:rgba(9,20,40,.62);border:1px solid rgba(227,194,106,.34);
  border-radius:14px;padding:7px 13px;min-width:62px;text-align:center;backdrop-filter:blur(6px);
}
.cd-num{display:block;font-size:1.28rem;font-weight:900;color:var(--gold-400);line-height:1.15;font-variant-numeric:tabular-nums}
.cd-lbl{font-size:.63rem;color:#c3cddf}
.hero-badge{
  position:absolute;top:14px;inset-inline-end:14px;z-index:2;
  display:inline-flex;align-items:center;gap:5px;background:rgba(9,20,40,.66);
  border:1px solid rgba(227,194,106,.4);color:var(--gold-400);border-radius:999px;
  padding:4px 11px;font-size:.72rem;font-weight:800;backdrop-filter:blur(6px);
}

/* ===================== TILES ===================== */
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
@media(min-width:700px){.tiles{grid-template-columns:repeat(5,1fr)}}
@media(min-width:1000px){.tiles{grid-template-columns:repeat(6,1fr)}}
.tile{
  position:relative;border-radius:var(--radius);
  background:linear-gradient(168deg,var(--surface),var(--surface-2));
  border:1px solid var(--border-soft);
  padding:15px 6px 12px;display:flex;flex-direction:column;align-items:center;gap:9px;
  text-align:center;color:var(--text);font-weight:800;font-size:.775rem;line-height:1.25;
  transition:transform .16s,border-color .16s,box-shadow .16s;min-height:100px;justify-content:center;
  overflow:hidden;
}
.tile::before{
  content:"";position:absolute;inset:0;opacity:0;transition:opacity .16s;
  background:radial-gradient(90% 70% at 50% 0%,rgba(201,162,39,.16),transparent 70%);
}
.tile:hover{transform:translateY(-3px);border-color:rgba(227,194,106,.5);box-shadow:var(--shadow-sm);text-decoration:none;color:var(--text)}
.tile:hover::before{opacity:1}
.tile > *{position:relative}
.tile .ico{width:27px;height:27px;color:var(--gold-400);stroke-width:1.6}
html[data-theme="light"] .tile .ico{color:var(--gold-600)}
.tile .pill{
  position:absolute;top:7px;inset-inline-end:7px;background:var(--danger);color:#fff;
  font-size:.55rem;font-weight:900;border-radius:999px;padding:1px 6px;letter-spacing:.5px;z-index:2;
}
.tile .pill.live::after{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:#fff;margin-inline-start:3px;vertical-align:middle;animation:pulse 1.4s infinite}

/* ===================== ASK BAR ===================== */
.ask-cta{
  display:flex;align-items:center;gap:11px;width:100%;margin-top:14px;
  background:linear-gradient(100deg,var(--gold-500),var(--gold-400));color:#0b1a33;
  border-radius:var(--radius);padding:13px 16px;font-weight:900;box-shadow:0 8px 22px rgba(201,162,39,.28);
  transition:transform .15s;text-align:start;
}
.ask-cta:hover{transform:translateY(-2px);text-decoration:none;color:#0b1a33}
.ask-cta .ico{width:26px;height:26px;flex:none}
.ask-cta small{display:block;font-weight:700;font-size:.72rem;opacity:.78}

/* ===================== CARDS ===================== */
.card{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius);padding:14px;margin-bottom:12px;box-shadow:var(--shadow-sm)}
.card-h{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.card-h h3{margin:0;font-size:1.02rem}
.card-h .more{margin-inline-start:auto;font-size:.78rem;font-weight:800;color:var(--accent)}
.section-title{display:flex;align-items:center;gap:8px;margin:20px 0 10px;font-size:1.08rem}
.section-title .more{margin-inline-start:auto;font-size:.78rem;font-weight:800;color:var(--accent)}

.grid-2{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:760px){.grid-2{grid-template-columns:1fr 1fr}}
.grid-3{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:700px){.grid-3{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.grid-3{grid-template-columns:repeat(3,1fr)}}
.grid-4{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:760px){.grid-4{grid-template-columns:repeat(4,1fr)}}

/* ===================== BUTTONS ===================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border-radius:14px;padding:11px 18px;font-weight:800;font-size:.9rem;
  border:1px solid transparent;transition:.15s;text-align:center;
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-gold{background:linear-gradient(180deg,var(--gold-400),var(--gold-500));color:#0b1a33;box-shadow:0 5px 16px rgba(201,162,39,.3)}
.btn-gold:hover{color:#0b1a33}
.btn-navy{background:var(--navy-700);color:#f2efe6;border-color:var(--border)}
.btn-navy:hover{color:#f2efe6}
html[data-theme="light"] .btn-navy{background:var(--navy-800)}
.btn-ghost{background:transparent;border-color:var(--border);color:var(--text)}
.btn-ghost:hover{color:var(--text)}
.btn-danger{background:var(--danger);color:#fff}
.btn-danger:hover{color:#fff}
.btn-block{display:flex;width:100%}
.btn-sm{padding:7px 13px;font-size:.8rem;border-radius:11px}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}
.btn-row{display:flex;gap:8px;flex-wrap:wrap}

/* ===================== FORMS ===================== */
.field{margin-bottom:12px}
.field label{display:block;font-size:.8rem;font-weight:800;color:var(--text-2);margin-bottom:5px}
.input{
  width:100%;background:var(--surface-2);border:1px solid var(--border-soft);
  border-radius:12px;padding:11px 13px;color:var(--text);font-size:.92rem;
}
.input::placeholder{color:var(--text-3)}
.input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-soft)}
.row-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hint{font-size:.74rem;color:var(--text-3);margin-top:4px}
.check{display:flex;align-items:flex-start;gap:8px;font-size:.85rem;color:var(--text-2);margin-bottom:8px}
.check input{margin-top:4px;width:18px;height:18px;accent-color:var(--gold-500);flex:none}

.chips{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}
.chip{
  border:1px solid var(--border);background:var(--surface);color:var(--text-2);
  border-radius:999px;padding:6px 14px;font-size:.8rem;font-weight:800;white-space:nowrap;
}
.chip[aria-pressed="true"]{background:linear-gradient(180deg,var(--gold-400),var(--gold-500));color:#0b1a33;border-color:transparent}

/* ===================== LISTING ===================== */
.listing{display:flex;gap:11px;background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius);padding:11px;margin-bottom:11px;position:relative;overflow:hidden;transition:border-color .15s,transform .15s}
.listing:hover{border-color:rgba(227,194,106,.45);transform:translateY(-2px)}
.listing .thumb{
  width:104px;height:104px;border-radius:14px;flex:none;background:var(--surface-2);
  display:grid;place-items:center;font-size:1.9rem;overflow:hidden;position:relative;
}
.listing .thumb .art{width:100%;height:100%;display:block}
.listing .thumb .fav-dot{
  position:absolute;top:5px;inset-inline-end:5px;width:26px;height:26px;border-radius:50%;
  background:rgba(7,15,30,.6);backdrop-filter:blur(4px);display:grid;place-items:center;
  color:#fff;font-size:.8rem;border:1px solid rgba(255,255,255,.16);
}
.listing .thumb .fav-dot[aria-pressed="true"]{color:var(--gold-400)}

/* שורת שירותים (מיזוג / Wi-Fi / מקלחת …) */
.amenities{display:flex;gap:4px;flex-wrap:wrap;margin:6px 0 2px}
.amenity{
  display:inline-flex;flex-direction:column;align-items:center;gap:2px;
  min-width:46px;padding:5px 4px;border-radius:10px;background:var(--surface-2);
  border:1px solid var(--border-soft);font-size:.58rem;color:var(--text-3);font-weight:700;text-align:center;
}
.amenity svg{width:15px;height:15px;color:var(--gold-400)}
html[data-theme="light"] .amenity svg{color:var(--gold-600)}
.listing .body{flex:1;min-width:0}
.listing h4{margin:0 0 3px;font-size:.98rem;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.listing .meta{font-size:.76rem;color:var(--text-3);display:flex;flex-wrap:wrap;gap:4px 10px;margin-bottom:5px}
.listing .price{font-weight:900;color:var(--gold-400);font-size:1rem}
html[data-theme="light"] .listing .price{color:var(--gold-600)}
.listing .price small{font-weight:600;color:var(--text-3);font-size:.7rem}
.listing .actions{display:flex;gap:6px;margin-top:7px;flex-wrap:wrap}
.rating{display:inline-flex;align-items:center;gap:3px;font-weight:800;font-size:.78rem;color:var(--gold-400)}
html[data-theme="light"] .rating{color:var(--gold-600)}
.tag{display:inline-flex;align-items:center;gap:3px;font-size:.67rem;font-weight:800;border-radius:6px;padding:2px 7px;background:var(--accent-soft);color:var(--gold-400);border:1px solid var(--border)}
html[data-theme="light"] .tag{color:var(--gold-600)}
.tag.open{background:rgba(47,174,107,.15);color:#3ec27d;border-color:rgba(47,174,107,.3)}
.tag.closed{background:rgba(224,71,63,.14);color:#ef6f68;border-color:rgba(224,71,63,.3)}
.tag.vip{background:linear-gradient(180deg,var(--gold-400),var(--gold-500));color:#0b1a33;border-color:transparent}
.ribbon{position:absolute;top:11px;inset-inline-start:-32px;transform:rotate(-45deg);background:var(--gold-500);color:#0b1a33;font-size:.58rem;font-weight:900;padding:2px 34px;z-index:2}
html[dir="rtl"] .ribbon{transform:rotate(45deg)}

/* ===================== LIVE ===================== */
.live-head{display:flex;align-items:center;gap:8px}
.live-dot{width:10px;height:10px;border-radius:50%;background:var(--danger);animation:pulse 1.6s infinite;flex:none}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.8)}}
.live-item{display:flex;gap:11px;padding:12px 0;border-bottom:1px solid var(--border-soft)}
.live-item:last-child{border-bottom:none}
.live-ico{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:none;font-size:1.05rem;
  border:1px solid currentColor;
}
.live-ico svg{width:20px;height:20px}
.sev-red{background:rgba(224,71,63,.16);color:#ef6f68}
.sev-yellow{background:rgba(224,163,24,.16);color:#e6b53c}
.sev-green{background:rgba(47,174,107,.16);color:#3ec27d}
.sev-blue{background:rgba(61,127,214,.16);color:#6ba3ea}
.live-item .t{font-size:.7rem;color:var(--text-3);margin-bottom:2px}
.live-item h4{margin:0 0 2px;font-size:.92rem}
.live-item p{margin:0;font-size:.8rem;color:var(--text-2)}
.live-src{font-size:.68rem;color:var(--text-3);margin-top:5px;display:flex;gap:10px;flex-wrap:wrap}
.live-src b{color:var(--text-2)}

/* ===================== MAP ===================== */
.map-shell{position:relative;border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);background:var(--surface-2);height:clamp(320px,58vh,560px)}
#mapCanvas{width:100%;height:100%;display:block;cursor:grab;touch-action:none}
#mapCanvas:active{cursor:grabbing}
.map-tools{position:absolute;top:10px;inset-inline-end:10px;display:flex;flex-direction:column;gap:6px;z-index:5}
.map-tools button{width:38px;height:38px;border-radius:11px;background:var(--surface);border:1px solid var(--border);color:var(--text);display:grid;place-items:center;font-weight:900;box-shadow:var(--shadow-sm)}
.map-legend{position:absolute;bottom:10px;inset-inline-start:10px;background:rgba(11,26,51,.88);border:1px solid var(--border);border-radius:12px;padding:8px 10px;font-size:.7rem;display:flex;flex-wrap:wrap;gap:5px 11px;max-width:74%;color:#eee}
.map-legend span{display:flex;align-items:center;gap:4px}
.map-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}
.map-pop{position:absolute;background:var(--surface);border:1px solid var(--accent);border-radius:14px;padding:10px 12px;box-shadow:var(--shadow);max-width:230px;z-index:6;font-size:.82rem}
.map-pop h4{margin:0 0 3px;font-size:.9rem}

/* ===================== TIKKUN ===================== */
.tikkun-body{font-size:calc(1.06rem * var(--tk-scale,1));line-height:2.1;text-align:justify;font-family:"David Libre","Frank Ruhl Libre",var(--font)}
.tikkun-body .vn{font-size:.66em;color:var(--gold-500);font-weight:800;margin-inline-end:4px;vertical-align:super}
.tikkun-body p{margin-bottom:1em}
.tk-toolbar{position:sticky;bottom:calc(var(--nav-h) + 8px);z-index:40;display:flex;gap:6px;justify-content:center;background:rgba(11,26,51,.94);border:1px solid var(--border);border-radius:16px;padding:7px;margin-top:14px;backdrop-filter:blur(8px);flex-wrap:wrap}
html[data-theme="light"] .tk-toolbar{background:rgba(255,255,255,.95)}
.tk-toolbar button{padding:8px 12px;border-radius:11px;font-size:.78rem;font-weight:800;color:var(--text);border:1px solid transparent}
.tk-toolbar button:hover{background:var(--surface-2);border-color:var(--border)}
.tk-toolbar button.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.psalm-nav{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.psalm-nav button{min-width:44px;height:42px;padding:0 8px;border-radius:12px;background:var(--surface);border:1px solid var(--border-soft);font-weight:900;font-size:.82rem;color:var(--text);position:relative}
.psalm-nav button.on{background:linear-gradient(180deg,var(--gold-400),var(--gold-500));color:#0b1a33;border-color:transparent}
.psalm-nav button.done::after{content:"✓";position:absolute;top:-4px;inset-inline-end:2px;font-size:.62rem;color:var(--ok);font-weight:900}
html[data-reading="night"]{--bg:#000;--bg-2:#050505;--surface:#0a0a0a;--surface-2:#101010;--text:#c9b98a;--text-2:#8e8261;--border-soft:rgba(201,185,138,.14)}

/* ===================== CHAT ===================== */
.chat-wrap{display:flex;flex-direction:column;height:calc(100dvh - var(--header-h) - var(--nav-h) - 40px);min-height:400px}
.chat-log{flex:1;overflow-y:auto;padding:6px 2px;display:flex;flex-direction:column;gap:10px}
.msg{max-width:88%;padding:10px 13px;border-radius:16px;font-size:.88rem;line-height:1.55;white-space:pre-wrap;word-break:break-word}
.msg.me{align-self:flex-end;background:linear-gradient(180deg,var(--gold-400),var(--gold-500));color:#0b1a33;font-weight:600}
.msg.bot{align-self:flex-start;background:var(--surface);border:1px solid var(--border-soft)}
.msg .cite{display:block;margin-top:7px;font-size:.68rem;color:var(--text-3)}
.chat-input{display:flex;gap:7px;padding-top:9px;border-top:1px solid var(--border-soft)}
.chat-input .input{border-radius:999px}
.chat-send{width:44px;height:44px;border-radius:50%;background:linear-gradient(180deg,var(--gold-400),var(--gold-500));color:#0b1a33;display:grid;place-items:center;flex:none}
.suggests{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.suggests button{font-size:.75rem;border:1px solid var(--border);background:var(--surface);color:var(--text-2);border-radius:999px;padding:5px 11px;font-weight:700}
.typing span{display:inline-block;width:6px;height:6px;background:var(--text-3);border-radius:50%;margin:0 1px;animation:blink 1.2s infinite}
.typing span:nth-child(2){animation-delay:.2s}
.typing span:nth-child(3){animation-delay:.4s}
@keyframes blink{0%,60%,100%{opacity:.25}30%{opacity:1}}

/* ===================== PASS ===================== */
.pass-card{
  border-radius:22px;padding:18px;color:#f6f2e8;position:relative;overflow:hidden;
  background:linear-gradient(150deg,#0e2242,#070f1e 70%);border:1px solid var(--gold-500);
  box-shadow:0 16px 40px rgba(0,0,0,.5)
}
.pass-card::before{content:"";position:absolute;inset:-40% -20% auto auto;width:70%;height:180%;background:radial-gradient(circle,rgba(201,162,39,.22),transparent 65%)}
.pass-card > *{position:relative}
.pass-top{display:flex;align-items:center;gap:10px}
.pass-top .crown{width:26px;height:26px;color:var(--gold-400)}
.pass-name{font-size:1.24rem;font-weight:900;margin:12px 0 2px}
.pass-id{font-size:.72rem;color:#a9b5cc;letter-spacing:2px}
.pass-rows{margin-top:14px;display:grid;gap:7px}
.pass-row{display:flex;gap:9px;align-items:center;font-size:.82rem;background:rgba(255,255,255,.05);border:1px solid rgba(227,194,106,.14);border-radius:11px;padding:7px 10px}
.pass-row b{margin-inline-start:auto;color:var(--gold-400);font-weight:800;text-align:end}
.qr-box{background:#fff;border-radius:14px;padding:8px;width:158px;margin:14px auto 0}
.qr-box canvas{display:block;width:100%;height:auto;image-rendering:pixelated}

/* ===================== STATS / ADMIN ===================== */
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:760px){.stats{grid-template-columns:repeat(4,1fr)}}
.stat{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius);padding:13px}
.stat .k{font-size:.74rem;color:var(--text-3);font-weight:700}
.stat .v{font-size:1.5rem;font-weight:900;color:var(--gold-400);font-variant-numeric:tabular-nums}
html[data-theme="light"] .stat .v{color:var(--gold-600)}
.stat .d{font-size:.7rem;color:var(--ok);font-weight:700}
.table-wrap{overflow-x:auto;border:1px solid var(--border-soft);border-radius:var(--radius)}
table{width:100%;border-collapse:collapse;font-size:.83rem;min-width:560px}
th,td{padding:9px 11px;text-align:start;border-bottom:1px solid var(--border-soft)}
th{background:var(--surface-2);font-weight:800;font-size:.76rem;color:var(--text-2);white-space:nowrap}
tbody tr:hover{background:var(--surface-2)}
.bar{height:8px;border-radius:99px;background:var(--surface-2);overflow:hidden}
.bar i{display:block;height:100%;background:linear-gradient(90deg,var(--gold-500),var(--gold-400))}

/* ===================== PRICING ===================== */
.plans{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:820px){.plans{grid-template-columns:repeat(4,1fr)}}
.plan{background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius);padding:16px;display:flex;flex-direction:column}
.plan.featured{border-color:var(--gold-500);box-shadow:0 0 0 3px var(--accent-soft)}
.plan h3{font-size:1.05rem;margin-bottom:2px}
.plan .p{font-size:1.6rem;font-weight:900;color:var(--gold-400);margin:6px 0}
html[data-theme="light"] .plan .p{color:var(--gold-600)}
.plan .p small{font-size:.7rem;color:var(--text-3);font-weight:600}
.plan ul{list-style:none;padding:0;margin:10px 0;font-size:.83rem;color:var(--text-2);flex:1}
.plan li{padding:4px 0;display:flex;gap:7px;align-items:flex-start}
.plan li::before{content:"✓";color:var(--ok);font-weight:900;flex:none}
.plan li.no{color:var(--text-3)}
.plan li.no::before{content:"—";color:var(--text-3)}

/* ===================== MISC ===================== */
.toast-host{position:fixed;bottom:calc(var(--nav-h) + 14px);inset-inline:0;z-index:200;display:flex;flex-direction:column;align-items:center;gap:7px;pointer-events:none;padding:0 14px}
.toast{background:var(--navy-700);color:#f4efe2;border:1px solid var(--accent);border-radius:14px;padding:10px 16px;font-size:.86rem;font-weight:700;box-shadow:var(--shadow);max-width:420px;animation:up .25s}
.toast.err{border-color:var(--danger)}
.toast.ok{border-color:var(--ok)}
@keyframes up{from{opacity:0;transform:translateY(14px)}}

.modal-host{position:fixed;inset:0;z-index:300;display:none;align-items:flex-end;justify-content:center;background:rgba(3,8,18,.72);backdrop-filter:blur(3px)}
.modal-host.open{display:flex}
@media(min-width:700px){.modal-host{align-items:center;padding:20px}}
.modal{background:var(--bg-2);border:1px solid var(--border);border-radius:22px 22px 0 0;width:100%;max-width:560px;max-height:92vh;overflow-y:auto;padding:18px;animation:up .25s}
@media(min-width:700px){.modal{border-radius:22px}}
.modal-h{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.modal-h h3{margin:0;font-size:1.1rem}
.modal-h .x{margin-inline-start:auto;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--surface-2);color:var(--text);flex:none}

.empty{text-align:center;padding:34px 16px;color:var(--text-3)}
.empty .ico{font-size:2.6rem;opacity:.5;margin-bottom:8px}
.notice{background:var(--accent-soft);border:1px solid var(--border);border-radius:14px;padding:11px 13px;font-size:.81rem;color:var(--text-2);margin-bottom:12px}
.notice b{color:var(--text)}
.notice.warn{background:rgba(224,163,24,.12);border-color:rgba(224,163,24,.35)}
.notice.danger{background:rgba(224,71,63,.12);border-color:rgba(224,71,63,.35)}

.zman-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--border-soft);font-size:.9rem}
.zman-row:last-child{border-bottom:none}
.zman-row .n{flex:1}
.zman-row .t{font-weight:900;font-variant-numeric:tabular-nums;color:var(--gold-400);font-size:1.02rem}
html[data-theme="light"] .zman-row .t{color:var(--gold-600)}
.zman-row.now{background:var(--accent-soft);border-radius:10px;padding-inline:8px}

.avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(150deg,var(--navy-600),var(--navy-800));display:grid;place-items:center;font-weight:900;color:var(--gold-400);flex:none;border:1px solid var(--border)}
.member{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--border-soft)}
.member:last-child{border-bottom:none}
.member .info{flex:1;min-width:0}
.member .info b{display:block;font-size:.9rem}
.member .info span{font-size:.74rem;color:var(--text-3)}
.member .st{font-size:.72rem;font-weight:800;color:var(--ok);white-space:nowrap}

.checklist-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--border-soft)}
.checklist-item:last-child{border-bottom:none}
.checklist-item input{width:21px;height:21px;accent-color:var(--gold-500);flex:none}
.checklist-item label{flex:1;font-size:.89rem;cursor:pointer}
.checklist-item input:checked + label{text-decoration:line-through;color:var(--text-3)}

.deal{border-radius:var(--radius);border:1px solid var(--border);padding:13px;background:linear-gradient(140deg,var(--surface),var(--surface-2));position:relative;overflow:hidden}
.deal .off{position:absolute;top:0;inset-inline-end:0;background:var(--danger);color:#fff;font-weight:900;font-size:.74rem;padding:4px 11px;border-end-start-radius:12px}
.deal h4{margin:0 0 3px;font-size:.96rem;padding-inline-end:56px}
.deal .old{text-decoration:line-through;color:var(--text-3);font-size:.8rem}
.deal .new{font-weight:900;color:var(--gold-400);font-size:1.14rem}
html[data-theme="light"] .deal .new{color:var(--gold-600)}

.ad-slot{position:relative;margin:12px 0;border-radius:var(--radius);border:1px dashed var(--border);padding:11px;background:var(--surface);display:flex;gap:10px;align-items:center;font-size:.83rem}
.ad-slot .ad-tag{font-size:.6rem;font-weight:800;color:var(--text-3);border:1px solid var(--border-soft);border-radius:5px;padding:1px 5px;margin-inline-start:auto;flex:none}

.steps{display:flex;gap:5px;margin-bottom:14px}
.steps i{flex:1;height:5px;border-radius:99px;background:var(--surface-2)}
.steps i.on{background:linear-gradient(90deg,var(--gold-500),var(--gold-400))}

.fab-ask{position:fixed;bottom:calc(var(--nav-h) + 14px);inset-inline-end:14px;z-index:85;width:56px;height:56px;border-radius:20px;background:linear-gradient(180deg,var(--gold-400),var(--gold-500));color:#0b1a33;display:grid;place-items:center;box-shadow:0 10px 26px rgba(201,162,39,.42)}
.fab-ask svg{width:27px;height:27px}

.sos-grid{display:grid;grid-template-columns:1fr;gap:9px}
@media(min-width:700px){.sos-grid{grid-template-columns:1fr 1fr}}
.sos{display:flex;align-items:center;gap:11px;background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius);padding:12px}
.sos .ico{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:rgba(224,71,63,.14);color:#ef6f68;font-size:1.15rem;flex:none}
.sos .info{flex:1;min-width:0}
.sos .info b{display:block;font-size:.9rem}
.sos .info span{font-size:.74rem;color:var(--text-3)}

.fx-out{font-size:1.9rem;font-weight:900;color:var(--gold-400);text-align:center;padding:12px 0;font-variant-numeric:tabular-nums}
html[data-theme="light"] .fx-out{color:var(--gold-600)}

.timeline{position:relative;padding-inline-start:20px}
.timeline::before{content:"";position:absolute;inset-inline-start:5px;top:6px;bottom:6px;width:2px;background:var(--border)}
.tl-item{position:relative;padding-bottom:14px}
.tl-item::before{content:"";position:absolute;inset-inline-start:-19px;top:5px;width:11px;height:11px;border-radius:50%;background:var(--gold-500);border:2px solid var(--bg)}
.tl-item .tm{font-size:.72rem;color:var(--text-3);font-weight:800}
.tl-item h4{margin:1px 0 2px;font-size:.92rem}
.tl-item p{margin:0;font-size:.8rem;color:var(--text-2)}

.footer{padding:22px 0 10px;text-align:center;font-size:.76rem;color:var(--text-3);border-top:1px solid var(--border-soft);margin-top:26px}
.footer a{color:var(--text-2)}
.footer .logo-line{font-weight:900;color:var(--gold-400);margin-bottom:4px}

@media print{.app-header,.bottom-nav,.fab-ask,.tk-toolbar,.ad-slot{display:none!important}body{padding:0;background:#fff;color:#000}}

/* ============================================================
   שכבה ויזואלית — התאמה לעיצוב המוקאפ + רכיבי הפיצ'רים החדשים
   ============================================================ */

/* --- כפתור מתאר זהב (כמו "לכל העדכונים" / "פתח מפה" במוקאפ) --- */
.btn-outline{
  background:transparent;border:1.5px solid var(--gold-500);color:var(--gold-400);
  font-weight:800;
}
.btn-outline:hover{background:var(--accent-soft);color:var(--gold-400)}
html[data-theme="light"] .btn-outline{color:var(--gold-600)}

/* --- כותרת מקטע עם קו זהב --- */
.section-title{position:relative;padding-inline-start:12px}
.section-title::before{
  content:"";position:absolute;inset-inline-start:0;top:50%;transform:translateY(-50%);
  width:3px;height:17px;border-radius:2px;background:linear-gradient(180deg,var(--gold-400),var(--gold-600));
}
.section-title .ico{width:19px;height:19px;color:var(--gold-400)}
html[data-theme="light"] .section-title .ico{color:var(--gold-600)}

/* --- כרטיס בסגנון "מסך" (LIVE / מפה) --- */
.panel{
  background:linear-gradient(170deg,var(--surface),var(--surface-2));
  border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:15px;margin-bottom:12px;box-shadow:var(--shadow-sm);
}
.panel-h{display:flex;align-items:center;gap:8px;margin-bottom:11px}
.panel-h h3{margin:0;font-size:1.06rem}
.panel-h .ico{width:20px;height:20px;color:var(--gold-400)}
html[data-theme="light"] .panel-h .ico{color:var(--gold-600)}

/* --- "מה עכשיו?" --- */
.now-card{
  display:flex;align-items:center;gap:12px;border-radius:var(--radius);
  background:linear-gradient(105deg,rgba(201,162,39,.16),rgba(201,162,39,.04));
  border:1px solid rgba(227,194,106,.34);padding:13px 15px;margin-bottom:12px;
}
.now-card .ring{
  width:46px;height:46px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:rgba(201,162,39,.16);border:1.5px solid var(--gold-500);color:var(--gold-400);
}
.now-card .ring svg{width:23px;height:23px}
.now-card .txt{flex:1;min-width:0}
.now-card .lbl{font-size:.68rem;font-weight:800;color:var(--gold-400);letter-spacing:.4px}
html[data-theme="light"] .now-card .lbl{color:var(--gold-600)}
.now-card h4{margin:1px 0 2px;font-size:.98rem}
.now-card p{margin:0;font-size:.79rem;color:var(--text-2)}
.now-card .when{
  font-weight:900;color:var(--gold-400);font-size:1.02rem;white-space:nowrap;
  font-variant-numeric:tabular-nums;text-align:center;
}
html[data-theme="light"] .now-card .when{color:var(--gold-600)}
.now-card .when small{display:block;font-size:.6rem;font-weight:700;color:var(--text-3)}

/* --- מד עומס --- */
.crowd{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--border-soft)}
.crowd:last-child{border-bottom:none}
.crowd .nm{flex:1;min-width:0;font-size:.87rem;font-weight:700}
.crowd .nm small{display:block;font-weight:600;font-size:.7rem;color:var(--text-3)}
.crowd-bar{width:96px;height:8px;border-radius:99px;background:var(--surface-2);overflow:hidden;flex:none}
.crowd-bar i{display:block;height:100%;border-radius:99px}
.crowd-lvl{font-size:.68rem;font-weight:800;width:52px;text-align:center;flex:none}
.lvl-low   i{background:linear-gradient(90deg,#2fae6b,#48d18c)}
.lvl-low   .crowd-lvl,.crowd.lvl-low   .crowd-lvl{color:#3ec27d}
.lvl-medium i{background:linear-gradient(90deg,#e0a318,#f0c14b)}
.lvl-medium .crowd-lvl{color:#e6b53c}
.lvl-high  i{background:linear-gradient(90deg,#e0473f,#f2716a)}
.lvl-high  .crowd-lvl{color:#ef6f68}


/* --- ציר המסע --- */
.trip-step{display:flex;gap:12px;position:relative;padding-bottom:16px}
.trip-step:last-child{padding-bottom:0}
.trip-step::before{
  content:"";position:absolute;inset-inline-start:19px;top:42px;bottom:-2px;width:2px;background:var(--border);
}
.trip-step:last-child::before{display:none}
.trip-step .dot{
  width:40px;height:40px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:var(--surface-2);border:1.5px solid var(--border);color:var(--text-3);z-index:1;
}
.trip-step .dot svg{width:19px;height:19px}
.trip-step.done .dot{background:rgba(47,174,107,.15);border-color:#2fae6b;color:#3ec27d}
.trip-step.active .dot{background:var(--accent-soft);border-color:var(--gold-500);color:var(--gold-400);
  box-shadow:0 0 0 4px rgba(201,162,39,.14)}
.trip-step .body{flex:1;min-width:0;padding-top:2px}
.trip-step h4{margin:0 0 2px;font-size:.94rem}
.trip-step p{margin:0;font-size:.79rem;color:var(--text-2)}
.trip-step .tm{font-size:.72rem;color:var(--gold-400);font-weight:800}
html[data-theme="light"] .trip-step .tm{color:var(--gold-600)}

/* --- שמות לתפילה --- */
.name-chip{
  display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:13px;
  background:var(--surface-2);border:1px solid var(--border-soft);margin-bottom:7px;
}
.name-chip .n{flex:1;min-width:0}
.name-chip .n b{display:block;font-size:.9rem}
.name-chip .n span{font-size:.72rem;color:var(--text-3)}
.name-chip .rm{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:var(--text-3);flex:none}
.name-chip .rm:hover{background:rgba(224,71,63,.14);color:#ef6f68}

/* --- ארנק הוצאות --- */
.exp-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--border-soft)}
.exp-row:last-child{border-bottom:none}
.exp-row .cat{
  width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none;
  background:var(--accent-soft);color:var(--gold-400);
}
.exp-row .cat svg{width:17px;height:17px}
.exp-row .d{flex:1;min-width:0}
.exp-row .d b{display:block;font-size:.87rem}
.exp-row .d span{font-size:.7rem;color:var(--text-3)}
.exp-row .amt{font-weight:900;color:var(--gold-400);font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-theme="light"] .exp-row .amt{color:var(--gold-600)}
.donut{display:block;margin:0 auto 6px}

/* --- באנר חנויות אפליקציה (עמוד נחיתה) --- */
.store-badges{display:flex;gap:9px;flex-wrap:wrap}
.store-badge{
  display:flex;align-items:center;gap:8px;background:#0b1a33;border:1px solid rgba(227,194,106,.3);
  border-radius:12px;padding:8px 14px;color:#f2efe6;font-size:.72rem;line-height:1.15;
}
.store-badge svg{width:22px;height:22px;color:var(--gold-400);flex:none}
.store-badge b{display:block;font-size:.9rem;font-weight:800}

/* --- שיפורי צ'אט --- */
.msg.bot{border-start-start-radius:5px}
.msg.me{border-start-end-radius:5px}
.chat-log .msg.bot::before{
  content:"";display:block;width:22px;height:22px;border-radius:50%;
  background:var(--accent-soft);border:1px solid var(--border);
  margin-bottom:6px;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11'/%3E%3C/svg%3E") center/contain;
}

/* ============================================================
   באנר הסכמה לעוגיות
   ============================================================ */
.ck-banner{
  position:fixed;inset-inline:0;bottom:0;z-index:400;
  background:linear-gradient(180deg,rgba(11,26,51,.99),var(--navy-900));
  border-top:2px solid var(--gold-500);box-shadow:0 -14px 40px rgba(0,0,0,.55);
  padding:16px 14px calc(16px + env(safe-area-inset-bottom,0px));
  animation:up .3s ease;
}
html[data-theme="light"] .ck-banner{background:linear-gradient(180deg,#fff,#f7f3e9);color:var(--text)}
.ck-inner{max-width:var(--maxw);margin:0 auto;display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.ck-txt{flex:1;min-width:260px}
.ck-txt h3{display:flex;align-items:center;gap:8px;margin:0 0 5px;font-size:1rem;color:var(--text)}
.ck-txt h3 svg{width:19px;height:19px;color:var(--gold-400)}
html[data-theme="light"] .ck-txt h3 svg{color:var(--gold-600)}
.ck-txt p{margin:0;font-size:.83rem;color:var(--text-2);line-height:1.6}
.ck-txt a{font-weight:700;text-decoration:underline}
.ck-btns{display:flex;gap:8px;flex-wrap:wrap}
.ck-btns .btn{padding:11px 20px;font-size:.87rem}
@media(max-width:640px){
  .ck-btns{width:100%}
  .ck-btns .btn{flex:1;min-width:110px}
}
html.ck-open .fab-ask,html.ck-open .a11y-fab{display:none}

/* קטגוריות בפאנל */
.ck-cat{border:1px solid var(--border-soft);border-radius:14px;padding:12px;margin-bottom:10px;background:var(--surface-2)}
.ck-cat-h{display:flex;align-items:center;gap:9px;margin-bottom:5px}
.ck-cat-h b{font-size:.95rem}
.ck-cat p{margin:0;font-size:.81rem;color:var(--text-2)}
.ck-cat details{margin-top:8px}
.ck-cat summary{cursor:pointer;font-size:.79rem;font-weight:700;color:var(--accent)}
.ck-cat code{font-size:.74rem;background:var(--bg);padding:1px 5px;border-radius:5px}

/* מתג */
.ck-sw{position:relative;display:inline-flex;align-items:center;cursor:pointer;flex:none}
.ck-sw input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.ck-track{
  width:46px;height:26px;border-radius:99px;background:var(--surface);
  border:1px solid var(--border-soft);position:relative;transition:.18s;display:block;
}
.ck-track::after{
  content:"";position:absolute;top:2px;inset-inline-start:2px;width:20px;height:20px;
  border-radius:50%;background:var(--text-3);transition:.18s;
}
.ck-sw input:checked + .ck-track{background:var(--accent-soft);border-color:var(--gold-500)}
.ck-sw input:checked + .ck-track::after{
  background:linear-gradient(180deg,var(--gold-400),var(--gold-500));
  transform:translateX(20px);
}
html[dir="rtl"] .ck-sw input:checked + .ck-track::after{transform:translateX(-20px)}
.ck-sw input:focus-visible + .ck-track{outline:3px solid var(--gold-400);outline-offset:2px}

/* ============================================================
   ביטוח — שורות גיל
   ============================================================ */
.age-row{display:flex;align-items:center;gap:9px;margin-bottom:7px}
.age-row .n{font-size:.82rem;font-weight:700;width:64px;flex:none;color:var(--text-2)}
.age-row .input{flex:1;max-width:110px}
.age-row .f{font-size:.76rem;color:var(--gold-400);font-weight:800;width:42px;flex:none}
html[data-theme="light"] .age-row .f{color:var(--gold-600)}
.age-row .rm{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:var(--text-3);flex:none}
.age-row .rm:hover{background:rgba(224,71,63,.14);color:#ef6f68}

/* ============================================================
   נוטריון — בלוקי משנה
   ============================================================ */
.sub-block{border:1px solid var(--border-soft);border-radius:14px;padding:12px;margin-bottom:11px;background:var(--surface-2)}
.sub-h{display:flex;align-items:center;margin-bottom:9px}
.sub-h b{font-size:.9rem;color:var(--gold-400)}
html[data-theme="light"] .sub-h b{color:var(--gold-600)}
.sub-h .rm{margin-inline-start:auto;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:var(--text-3)}
.sub-h .rm:hover{background:rgba(224,71,63,.14);color:#ef6f68}

/* ============================================================
   המסמך הנוטריוני להדפסה
   ============================================================ */
.doc{
  background:#fff;color:#000;padding:26px 24px;border-radius:10px;
  font-family:"David Libre","Times New Roman",serif;font-size:13px;line-height:1.5;
  max-width:760px;margin:0 auto;
}
.doc .doc-head{text-align:center;border-bottom:2px solid #000;padding-bottom:11px;margin-bottom:16px}
.doc h1{font-size:16px;margin:0;font-weight:700;letter-spacing:.2px}
.doc h1.he{font-size:17px;margin-top:2px}
.doc .doc-date{margin-top:9px;font-size:12.5px}
.doc h3{
  font-size:13.5px;margin:16px 0 6px;padding:4px 8px;background:#eee;
  border-inline-start:3px solid #000;font-weight:700;
}
.doc table{width:100%;border-collapse:collapse;margin-bottom:4px;min-width:0}
.doc td{border:1px solid #999;padding:5px 8px;vertical-align:middle;font-size:12.5px}
.doc td.lbl{width:36%;background:#f6f6f6;font-weight:700}
.doc td.lbl span{display:block;font-weight:400;font-size:11.5px;color:#444}
.doc td.val{min-height:20px}
.doc .doc-decl{margin:14px 0;font-size:12.5px;line-height:1.7}
.doc .doc-decl .he{display:block;margin-top:3px}
.doc .cb{font-size:14px;letter-spacing:1px}
.doc .cb.on{font-weight:700}
.doc .doc-docs{display:flex;gap:20px;margin-top:16px;flex-wrap:wrap}
.doc .doc-docs .col{flex:1;min-width:230px;font-size:12px}
.doc .doc-docs ul{list-style:none;padding:0;margin:5px 0 0}
.doc .doc-docs li{padding:2px 0}
.doc .doc-sign,.doc .doc-notary{margin-top:28px;font-size:12px}
.doc .doc-notary{border-top:1px dashed #999;padding-top:16px;margin-top:32px}
.doc .line{margin-bottom:3px;letter-spacing:1px}
.doc .tiny{font-size:10.5px;color:#555;margin-top:8px}
.doc-wrap{background:var(--surface-2);padding:12px;border-radius:16px;overflow-x:auto}

@media print{
  body > *:not(#printHost){display:none!important}
  #printHost{display:block!important;position:static!important}
  .doc{box-shadow:none;border-radius:0;max-width:100%;padding:0}
  .doc h3{background:#eee!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .doc td.lbl{background:#f6f6f6!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  @page{margin:14mm}
}
#printHost{display:none}

/* ============================================================
   מודעות ותוכן ממומן
   ============================================================ */
.ad{position:relative;display:flex;align-items:center;gap:12px;margin:12px 0;
  border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);
  padding:11px;overflow:hidden;cursor:pointer;transition:border-color .15s,transform .15s}
.ad:hover{border-color:rgba(227,194,106,.5);transform:translateY(-2px)}
.ad .ad-art{width:84px;height:60px;border-radius:11px;overflow:hidden;flex:none;background:var(--surface-2)}
.ad .ad-art.tall{width:104px;height:80px}
.ad .ad-art .art{width:100%;height:100%}
.ad .ad-body{flex:1;min-width:0}
.ad .ad-body b{display:block;font-size:.92rem;line-height:1.3}
.ad .ad-body span{display:block;font-size:.78rem;color:var(--text-2);margin-top:2px}
.ad .ad-cta{font-size:.78rem;font-weight:800;color:var(--gold-400);white-space:nowrap;flex:none}
html[data-theme="light"] .ad .ad-cta{color:var(--gold-600)}
.ad .ad-tag{position:absolute;top:6px;inset-inline-end:8px;font-size:.56rem;font-weight:800;
  color:var(--text-3);border:1px solid var(--border-soft);border-radius:5px;padding:1px 5px;
  background:var(--bg);letter-spacing:.4px}
.ad-banner{min-height:82px}
.ad-card{flex-direction:column;align-items:stretch;padding:0}
.ad-card .ad-art.tall{width:100%;height:112px;border-radius:var(--radius) var(--radius) 0 0}
.ad-card .ad-body{padding:12px}
.ad-sponsor{background:linear-gradient(105deg,rgba(201,162,39,.12),rgba(201,162,39,.03));
  border-color:rgba(227,194,106,.32)}
.ad-sponsor .ad-kicker{font-size:.62rem;font-weight:900;color:var(--gold-400);
  letter-spacing:1px;flex:none;writing-mode:vertical-rl;text-orientation:mixed}
html[data-theme="light"] .ad-sponsor .ad-kicker{color:var(--gold-600)}
.ad-live{position:relative;cursor:pointer;background:rgba(201,162,39,.05);
  border-radius:12px;padding-inline:8px}
.ad-deal{cursor:pointer}
.ad-listing-wrap{position:relative}
.ad-listing-wrap .ad-tag{position:absolute;top:16px;inset-inline-end:16px;z-index:3;
  font-size:.56rem;font-weight:800;color:var(--text-3);border:1px solid var(--border-soft);
  border-radius:5px;padding:1px 5px;background:var(--bg)}

/* ============================================================
   ניגונים ושירים
   ============================================================ */
.hit-panel{border-color:rgba(227,194,106,.4);
  background:linear-gradient(150deg,rgba(201,162,39,.13),var(--surface-2))}
.hit-row{display:flex;gap:13px;align-items:flex-start}
.hit-art{width:92px;height:92px;border-radius:14px;overflow:hidden;flex:none}
.hit-art .art{width:100%;height:100%}
.hit-body{flex:1;min-width:0}
.hit-body h4{margin:0 0 2px;font-size:1.12rem}
.hit-artist{font-size:.84rem;font-weight:700;color:var(--gold-400);margin-bottom:5px}
html[data-theme="light"] .hit-artist{color:var(--gold-600)}
.hit-body p{margin:0;font-size:.82rem;color:var(--text-2)}
.pd-quote{margin-top:12px;padding:11px 14px;border-radius:12px;background:var(--surface);
  border-inline-start:3px solid var(--gold-500);font-family:"David Libre",serif;
  font-size:1rem;line-height:1.9;text-align:center}

.song-row{display:flex;gap:11px;align-items:flex-start;padding:11px 0;
  border-bottom:1px solid var(--border-soft)}
.song-row.last{border-bottom:none}
.song-num{width:34px;height:34px;border-radius:10px;flex:none;display:grid;place-items:center;
  background:var(--accent-soft);color:var(--gold-400);border:1px solid var(--border)}
html[data-theme="light"] .song-num{color:var(--gold-600)}
.song-num svg{width:16px;height:16px}
.song-body{flex:1;min-width:0}
.song-body b{font-size:.93rem}
.song-text{font-family:"David Libre",serif;font-size:.95rem;line-height:1.8;
  color:var(--text);margin:3px 0}
.song-src{font-size:.72rem;color:var(--text-3)}
.song-note{font-size:.78rem;color:var(--text-2);margin-top:3px}
.song-play{width:36px;height:36px;border-radius:11px;flex:none;display:grid;place-items:center;
  background:var(--surface-2);border:1px solid var(--border-soft);color:var(--text-2)}
.song-play:hover{border-color:var(--accent);color:var(--accent)}

.src-row{display:flex;gap:11px;align-items:center;padding:11px 0;
  border-bottom:1px solid var(--border-soft);flex-wrap:wrap}
.src-row:last-child{border-bottom:none}
.src-body{flex:1;min-width:200px}
.src-body b{display:block;font-size:.9rem}
.src-body span{display:block;font-size:.78rem;color:var(--text-2)}
.src-body .src-date{font-size:.7rem;color:var(--text-3);margin-top:2px}

/* ============================================================
   מדריך הנוסע
   ============================================================ */
.tip{display:flex;gap:11px;padding:11px 0;border-bottom:1px solid var(--border-soft)}
.tip:last-child{border-bottom:none}
.tip-ico{width:30px;height:30px;border-radius:9px;flex:none;display:grid;place-items:center;
  background:rgba(47,174,107,.14);color:#3ec27d;border:1px solid rgba(47,174,107,.28)}
.tip.warn .tip-ico{background:rgba(224,163,24,.15);color:#e6b53c;border-color:rgba(224,163,24,.34)}
.tip-ico svg{width:15px;height:15px}
.tip-body{flex:1;min-width:0}
.tip-body b{display:block;font-size:.9rem;margin-bottom:2px}
.tip-body p{margin:0;font-size:.83rem;color:var(--text-2);line-height:1.6}
.tip.warn .tip-body b{color:#e6b53c}

/* ============================================================
   חיפוש גלובלי
   ============================================================ */
.search-bar{
  flex:1;display:flex;align-items:center;gap:9px;min-width:0;
  background:var(--surface);border:1px solid var(--border);border-radius:14px;
  padding:0 13px;height:46px;
}
.search-bar:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.search-bar > svg{width:19px;height:19px;color:var(--text-3);flex:none}
.search-input{
  flex:1;min-width:0;background:none;border:none;outline:none;
  font-size:.96rem;color:var(--text);height:100%;
}
.search-input::placeholder{color:var(--text-3)}
.search-input::-webkit-search-cancel-button{display:none}
.search-x{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:var(--text-3);flex:none}
.search-x:hover{background:var(--surface-2);color:var(--text)}

.sr-row{
  display:flex;align-items:center;gap:11px;width:100%;text-align:start;
  padding:11px 0;border-bottom:1px solid var(--border-soft);color:var(--text);
}
.sr-row:last-child{border-bottom:none}
.sr-row:hover{background:var(--surface-2);border-radius:10px;padding-inline:8px}
.sr-ico{
  width:36px;height:36px;border-radius:11px;flex:none;display:grid;place-items:center;
  background:var(--accent-soft);color:var(--gold-400);border:1px solid var(--border);
}
html[data-theme="light"] .sr-ico{color:var(--gold-600)}
.sr-ico svg{width:17px;height:17px}
.sr-body{flex:1;min-width:0}
.sr-body b{display:block;font-size:.91rem;line-height:1.3}
.sr-body > span{display:block;font-size:.76rem;color:var(--text-3)}
.sr-snip{
  display:block;font-size:.78rem;color:var(--text-2);margin-top:3px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.sr-price{font-weight:900;color:var(--gold-400);font-size:.85rem;white-space:nowrap;flex:none}
html[data-theme="light"] .sr-price{color:var(--gold-600)}
.sr-chev{width:16px;height:16px;color:var(--text-3);flex:none}
html[dir="ltr"] .sr-chev{transform:rotate(180deg)}

/* ============================================================
   בורר שפה
   ============================================================ */
.lang-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
@media(min-width:520px){.lang-grid{grid-template-columns:repeat(3,1fr)}}
.lang-btn{
  display:flex;flex-direction:column;align-items:center;gap:3px;
  padding:13px 8px;border-radius:14px;background:var(--surface-2);
  border:1px solid var(--border-soft);color:var(--text);text-align:center;
}
.lang-btn:hover{border-color:var(--accent)}
.lang-btn[aria-pressed="true"]{
  background:var(--accent-soft);border-color:var(--gold-500);
  box-shadow:0 0 0 2px var(--accent-soft);
}
.lang-btn .fl{font-size:1.5rem;line-height:1}
.lang-btn .nm{font-weight:800;font-size:.88rem}
.lang-btn .he{font-size:.68rem;color:var(--text-3)}
.lang-notice{display:flex;gap:10px;align-items:flex-start}
.lang-notice svg{width:19px;height:19px;color:#e6b53c;flex:none;margin-top:2px}
/* דגל השפה הנוכחית בכותרת */
.lang-chip{font-size:.95rem;line-height:1}

/* מספרי חירום — הדגשת המספרים הקריטיים */
.sos.primary{border-color:rgba(224,71,63,.5);background:linear-gradient(120deg,rgba(224,71,63,.10),var(--surface))}
.sos.primary .ico{background:rgba(224,71,63,.22)}
.sos .ico svg{width:19px;height:19px}
.sos .info .sos-note{display:block;font-size:.7rem;color:var(--text-3);margin-top:2px}
.sos .info span{word-break:break-word}

/* ============================================================
   מצפן לציון
   ============================================================ */
.cmp-panel{text-align:center}
.cmp-stage{display:flex;justify-content:center;align-items:center;margin:2px 0 10px}
#compassCanvas{max-width:100%;display:block;
  filter:drop-shadow(0 6px 22px rgba(0,0,0,.35))}
html[data-theme="light"] #compassCanvas{filter:drop-shadow(0 6px 18px rgba(13,21,38,.12))}

.cmp-read{margin-bottom:12px}
.cmp-target{display:flex;align-items:center;justify-content:center;gap:7px;
  font-size:.92rem;color:var(--text-2);margin-bottom:2px}
.cmp-target b{color:var(--text)}
.cmp-big{font-size:2.4rem;font-weight:900;line-height:1.1;color:var(--gold-400);
  font-variant-numeric:tabular-nums;letter-spacing:-.5px}
html[data-theme="light"] .cmp-big{color:var(--gold-600)}
.cmp-sub{font-size:.85rem;color:var(--text-3);min-height:1.1em}
.cmp-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:11px 0 8px}
.cmp-grid>div{background:var(--surface-2);border:1px solid var(--border-soft);
  border-radius:var(--radius-sm);padding:8px 6px}
.cmp-grid span{display:block;font-size:.7rem;color:var(--text-3);margin-bottom:2px}
.cmp-grid b{font-size:.92rem;font-variant-numeric:tabular-nums}
.cmp-acc{font-size:.75rem;color:var(--text-3)}

/* נקודות עוגן */
.anc-row{display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--border-soft);padding:4px 0}
.anc-row:last-child{border-bottom:none}
.anc-row.on{background:var(--accent-soft);border-radius:12px;padding-inline:8px}
.anc-main{flex:1;display:flex;align-items:center;gap:10px;background:none;border:0;
  color:inherit;font:inherit;text-align:start;padding:8px 2px;cursor:pointer;border-radius:10px}
.anc-main:focus-visible{outline:2px solid var(--gold-400);outline-offset:2px}
.anc-ico{flex:none;width:38px;height:38px;border-radius:11px;background:var(--surface-2);
  display:grid;place-items:center;color:var(--gold-400)}
html[data-theme="light"] .anc-ico{color:var(--gold-600)}
.anc-body{flex:1;min-width:0}
.anc-body b{display:block;font-size:.92rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.anc-d{display:block;font-size:.76rem;color:var(--text-3);font-variant-numeric:tabular-nums}
.anc-acts{display:flex;gap:2px;flex:none}
.icon-btn.danger{color:var(--danger)}

/* סימון מהיר */
.cmp-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}
.cmp-qbtn{display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 4px;
  background:var(--surface);border:1px solid var(--border-soft);border-radius:var(--radius-sm);
  color:var(--gold-400);cursor:pointer;font:inherit;transition:.15s}
html[data-theme="light"] .cmp-qbtn{color:var(--gold-600)}
.cmp-qbtn span{font-size:.66rem;color:var(--text-2);line-height:1.2;text-align:center}
.cmp-qbtn:hover{border-color:var(--border);background:var(--surface-2)}
.cmp-qbtn:focus-visible{outline:2px solid var(--gold-400);outline-offset:2px}

/* בורר אייקון במודאל */
.cmp-icogrid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.cmp-ico{padding:11px 0;background:var(--surface-2);border:1px solid var(--border-soft);
  border-radius:11px;color:var(--text-3);cursor:pointer}
.cmp-ico.on{border-color:var(--gold-500);color:var(--gold-400);background:var(--accent-soft)}
.cmp-ico:focus-visible{outline:2px solid var(--gold-400);outline-offset:2px}

/* QR שיתוף */
.cmp-qr-tabs{display:flex;gap:8px;margin-bottom:10px}
.cmp-qr-box{text-align:center;margin-bottom:12px}
.cmp-qr-box canvas{border-radius:12px;background:#fff;padding:6px;max-width:100%;height:auto}
.cmp-qr-cap{font-size:.75rem;color:var(--text-3);margin-top:7px;line-height:1.4}

/* כרטיס עזרה — נשאר בהיר תמיד, כדי שיהיה קריא כשמראים אותו לזר */
.help-card{background:#fff;color:#0d1526;border-radius:var(--radius-sm);
  padding:14px;margin:12px 0;border:2px solid var(--gold-500)}
.help-card .hc-h{font-weight:900;font-size:1rem;text-align:center;
  border-bottom:2px solid #0d1526;padding-bottom:8px;margin-bottom:10px}
.hc-row{padding:8px 0;border-bottom:1px solid rgba(13,21,38,.12)}
.hc-row:last-child{border-bottom:none}
.hc-uk{font-size:1.02rem;font-weight:800;direction:ltr;text-align:start}
.hc-he{font-size:.82rem;color:#455068;direction:rtl;text-align:start}
.hc-en{font-size:.76rem;color:#6b7793;direction:ltr;text-align:start}
.hc-tel .hc-uk{font-size:1.25rem;letter-spacing:.5px;color:#0d1526}

@media (max-width:360px){
  .cmp-quick{grid-template-columns:repeat(2,1fr)}
  .cmp-big{font-size:2rem}
}

/* ============================================================
   עריכה חיה + סליקה
   ============================================================ */
.sys-banner{
  display:flex;align-items:center;gap:9px;padding:10px 14px;margin:0 0 10px;
  border-radius:var(--radius-sm);font-size:.86rem;font-weight:700;line-height:1.35;
  border:1px solid;
}
.sys-banner.info{background:rgba(61,127,214,.14);border-color:rgba(61,127,214,.4);color:var(--text)}
.sys-banner.warn{background:rgba(224,163,24,.14);border-color:rgba(224,163,24,.45);color:var(--text)}
.sys-banner.danger{background:rgba(224,71,63,.16);border-color:rgba(224,71,63,.5);color:var(--text)}
.sys-banner svg{flex:none}

/* פִּסָּה "יש עדכון" — לא קופצת על המשתמש באמצע פעולה */
.remote-pill{
  position:fixed;inset-inline-start:50%;transform:translateX(-50%);
  bottom:calc(var(--nav-h) + 14px + env(safe-area-inset-bottom,0px));
  z-index:70;display:flex;align-items:center;gap:8px;
  padding:10px 18px;border-radius:999px;border:1px solid var(--gold-500);
  background:var(--surface-2);color:var(--text);font:inherit;font-size:.84rem;font-weight:800;
  box-shadow:var(--shadow);cursor:pointer;
}
.remote-pill .dot{width:8px;height:8px;border-radius:50%;background:var(--gold-400);
  box-shadow:0 0 0 4px rgba(227,194,106,.2)}
html[data-motion="off"] .remote-pill .dot{animation:none}

/* בחירת אמצעי תשלום */
.pay-methods{display:grid;gap:10px;margin-bottom:12px}
.pay-method{
  display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;
  gap:2px 12px;align-items:center;text-align:start;
  padding:14px;border-radius:var(--radius-sm);cursor:pointer;font:inherit;
  background:var(--surface-2);border:1px solid var(--border-soft);color:var(--text);transition:.15s;
}
.pay-method:hover{border-color:var(--gold-500);background:var(--accent-soft)}
.pay-method:focus-visible{outline:2px solid var(--gold-400);outline-offset:2px}
.pay-method svg{grid-row:1/3;color:var(--gold-400)}
html[data-theme="light"] .pay-method svg{color:var(--gold-600)}
.pay-method .pm-t{font-weight:800;font-size:.95rem}
.pay-method .pm-s{grid-column:2;font-size:.73rem;color:var(--text-3);line-height:1.35}
.pay-method .pm-a{grid-row:1/3;grid-column:3;font-weight:900;color:var(--gold-400);
  font-variant-numeric:tabular-nums;white-space:nowrap}
html[data-theme="light"] .pay-method .pm-a{color:var(--gold-600)}

.pay-iframe{width:100%;height:min(70vh,560px);border:0;border-radius:var(--radius-sm);background:#fff}

@media (max-width:360px){
  .pay-method{grid-template-columns:auto 1fr;gap:2px 10px}
  .pay-method .pm-a{grid-row:3;grid-column:1/3;margin-top:6px}
}

/* ============================================================
   התאמה למסכים — טלפון · טאבלט · דסקטופ
   ------------------------------------------------------------
   כל מה שכאן נכתב אחרי מפל הסגנונות המקורי ולכן גובר עליו.
   ============================================================ */

/* ---------- 1. הבאנר הראשי ----------
   באג: הכלל `.hero > *{position:relative}` בא אחרי `.hero-art{position:absolute}`
   באותה ספציפיות, ולכן ניצח — ה-SVG של הרקע ירד לתוך הזרימה וגובהו נקבע
   מיחס הצדדים שלו. בטלפון זה הוסתר ע"י min-height, אבל ככל שהמסך מתרחב
   הבאנר תפח: 566px בטלפון לרוחב, 768px בדסקטופ. עכשיו הוא חוזר להיות רקע. */
.hero > svg.hero-art{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;pointer-events:none;z-index:0;
}
.hero{
  min-height:206px;
  max-height:none;
  justify-content:flex-end;
}
@media(min-width:700px){ .hero{min-height:240px} }
@media(min-width:1000px){ .hero{min-height:264px} }

/* ---------- 2. עמודת התוכן ----------
   האפליקציה היא אפליקציית טור-אחד. בדסקטופ אין טעם למתוח אותה
   לכל הרוחב — שורת טקסט של 1114px היא כ-150 תווים, בלתי קריאה.
   מגבילים את הקליפה, ובנוסף מגבילים במפורש גושי טקסט רץ. */
@media(min-width:1100px){
  :root{ --maxw:1040px }
}

/* אורך שורה נוח בטקסט רץ. לא חל על טבלאות, רשתות וכרטיסים. */
@media(min-width:820px){
  .view .notice,
  .view .hint,
  .panel > p,
  .panel > ul,
  .view > p{ max-width:74ch }
}

/* ---------- 3. רשימת העסקים ---------- */
.biz-grid{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:760px){ .biz-grid{grid-template-columns:repeat(2,1fr)} }
@media(min-width:1100px){ .biz-grid{grid-template-columns:repeat(3,1fr)} }
/* מודעה בתוך הרשימה תופסת שורה שלמה — היא לא כרטיס עסק */
.biz-grid > .ad-slot{grid-column:1/-1}

/* ---------- 4. חבילות הפרסום בטאבלט ---------- */
@media(min-width:700px) and (max-width:819px){
  .plans{grid-template-columns:repeat(2,1fr)}
}

/* ---------- 5. סרגל הניווט התחתון ----------
   ב-1440px חמישה פריטים נמתחו ל-285px כל אחד. מרכזים אותם. */
@media(min-width:820px){
  .bottom-nav{
    max-width:var(--maxw);inset-inline:0;margin-inline:auto;
    border:1px solid var(--border);border-bottom:none;
    border-radius:22px 22px 0 0;
  }
}

/* ---------- 6. טלפון לרוחב ----------
   390px גובה זה כל המסך. אסור שהבאנר יאכל אותו. */
@media (orientation:landscape) and (max-height:500px){
  .hero{min-height:150px;padding:12px 14px 12px}
  .hero-greet{font-size:1.15rem}
  .hero-logo svg{width:84px}
  .countdown{margin-top:8px}
  .cd-box{padding:5px 10px;min-width:54px}
  .cd-num{font-size:1.05rem}
  .app-header{height:52px}
  .view{padding-top:10px}
}

/* ---------- 7. שטחי נגיעה ----------
   במסך מגע יעד קטן מ-44px הוא יעד שמפספסים. חל רק על מכשירי מגע,
   כדי לא לנפח את הממשק במסך עם עכבר. */
@media (pointer:coarse){
  .icon-btn,.back-btn{width:44px;height:44px}
  .chip{min-height:44px;padding-block:10px}
  .btn-sm{min-height:44px;padding-block:10px}
  .listing .thumb .fav-dot{width:44px;height:44px}
  .song-play,.anc-acts .icon-btn,.cmp-ico{min-width:44px;min-height:44px}
  .nav-item{min-height:52px}
  .modal-h .x{width:44px;height:44px}
  input,select,textarea{min-height:44px}
}

/* ---------- 8. טאבלט: שתי עמודות במקום שבו יש היגיון ---------- */
@media(min-width:900px){
  .cmp-grid{grid-template-columns:repeat(2,1fr)}
  .pay-methods{grid-template-columns:repeat(2,1fr)}
}

/* ---------- 9. שורת שני שדות במסך צר ----------
   `1fr` ברשת שווה למעשה `minmax(auto,1fr)`, ושדה תאריך מביא איתו
   רוחב מינימלי משלו (~130px). שני שדות כאלה לא נכנסים ב-320px,
   והם דחפו את כל המסך — לינה, ביטוח והנוטריון גלשו ב-27px.
   minmax(0,1fr) מרשה לטור להתכווץ, ומתחת ל-360px פשוט יורדים לטור אחד. */
.row-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:359px){
  .row-2{grid-template-columns:1fr}
}

/* ---------- 10. הלוגו ----------
   הסמל הוא תמונה, לא SVG. `.brand .crown` היה מוגדר לצבע currentColor
   ולכן צריך כאן כללים משלו. */
.brand .brand-mark{
  width:30px;height:30px;flex:none;border-radius:50%;
  box-shadow:0 2px 8px rgba(0,0,0,.45);
}
.hero-logo img{
  width:118px;height:118px;display:block;
  filter:drop-shadow(0 4px 14px rgba(0,0,0,.6));
}
@media(min-width:700px){ .hero-logo img{width:132px;height:132px} }
@media (orientation:landscape) and (max-height:500px){
  .hero-logo img{width:78px;height:78px}
}

/* ---------- 11. כותרת במסך צר מאוד ----------
   העלאת שטחי הנגיעה ל-44px הפכה את חמשת כפתורי הכותרת ל-236px,
   ויחד עם המותג הם לא נכנסו ב-320px — כל מסך גלש ב-14px.
   הגובה נשאר 44 (זה מה שקובע לאגודל); הרוחב מצטמצם. */
@media (pointer:coarse) and (max-width:360px){
  .app-header{padding-inline:8px}
  .app-header .icon-btn{width:40px;height:44px}
  .header-actions{gap:2px}
}

/* ---------- 12. הלוגו המלא בבאנר ----------
   כאן מוצג הלוגו בשלמותו — הכותרת, הבניין, התגית ושורת
   "מבית ChesterGroup". לכן הוא גדול יותר מהסמל שהיה כאן קודם. */
.hero-logo img{width:148px;height:auto;aspect-ratio:632/638}
@media(min-width:700px){ .hero-logo img{width:172px} }
@media(min-width:1100px){ .hero-logo img{width:190px} }
@media (orientation:landscape) and (max-height:500px){
  .hero-logo img{width:104px}
}

/* ---------- 13. מסך התקנה ושיתוף ---------- */
.ins-step{display:flex;gap:11px;align-items:flex-start;padding:10px 0;
  border-bottom:1px solid var(--border-soft);font-size:.88rem;color:var(--text-2);line-height:1.5}
.ins-step:last-of-type{border-bottom:none}
.ins-step b{color:var(--text)}
.ins-n{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  background:var(--accent-soft);border:1px solid var(--border);
  color:var(--gold-400);font-weight:900;font-size:.8rem}
html[data-theme="light"] .ins-n{color:var(--gold-600)}
.ins-msg{white-space:pre-wrap;background:var(--surface-2);border:1px solid var(--border-soft);
  border-radius:var(--radius-sm);padding:12px 14px;font-size:.83rem;line-height:1.6;
  color:var(--text-2);margin:12px 0;max-height:260px;overflow-y:auto}

/* ---------- 14. פתגם יומי ---------- */
.quote-card{position:relative;text-align:center;padding:26px 20px 18px;overflow:hidden}
.quote-mark{
  position:absolute;top:-6px;inset-inline-start:14px;font-size:4.6rem;line-height:1;
  color:var(--gold-400);opacity:.14;font-family:"David Libre",serif;pointer-events:none;
}
.quote-t{
  font-size:1.08rem;font-weight:800;line-height:1.95;
  font-family:"David Libre",serif;color:var(--text);position:relative;
}
.quote-s{font-size:.75rem;color:var(--text-3);margin-top:8px}
@media(min-width:700px){ .quote-t{font-size:1.2rem} }

/* ---------- 15. קריאה לעסקים במסכי הקטגוריות ---------- */
.biz-cta{border-style:dashed;border-color:var(--border)}
.biz-cta .panel-h h3{font-size:1rem}

/* ---------- 16. האזנה לתיקון הכללי ---------- */
.ta-bar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:10px}
.ta-by{font-size:.72rem;color:var(--text-3)}
.ta-state{font-size:.75rem;color:var(--gold-400);font-weight:700}
html[data-theme="light"] .ta-state{color:var(--gold-600)}
.ta-note{margin-top:10px;font-size:.78rem}
