/* R4-5 brand round: Red Berries palette. navy #193140 (surfaces), red #B73833 (primary actions, progress, key accents), light #F2F2F2 (page).
   The legacy --blue* names are kept as aliases so every existing rule (and admin.html) follows the palette. Semantic colors unchanged. */
:root{--navy:#193140;--navy-d:#0f212c;--navy-l:#e4e9ec;--red:#B73833;--light:#F2F2F2;--line:#dde2e5;--line-2:#c3ccd2;--tint:#eef1f3;
  --blue:var(--navy);--blue-d:var(--navy-d);--blue-l:var(--navy-l);--ink:#0f1b33;--muted:#5b6b8a;--ok:#12a150;--err:#d23c3c;--r:22px}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0;background:var(--light);color:var(--ink);font-family:"Heebo",system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
body{min-height:100dvh;display:flex;justify-content:center}
#app{width:100%;max-width:480px;min-height:100dvh;padding:16px 16px 32px;display:flex;flex-direction:column}
.top{display:flex;align-items:center;justify-content:space-between;min-height:44px;margin-bottom:8px}
.brand{font-weight:800;font-size:20px;color:var(--navy);letter-spacing:.3px;display:flex;align-items:center;gap:8px}
.brand .logo{display:block;height:36px;width:auto;flex:none}
.brand-sub{font-size:18px;font-weight:700;color:var(--navy);white-space:nowrap}
@media (min-width:600px){.brand .logo{height:40px}}
.link{background:none;border:0;color:var(--blue);font-size:15px;padding:10px 4px;cursor:pointer;font-family:inherit}
.progress{margin:6px 0 14px}
.progress .lbl{font-size:13px;color:var(--muted);margin-bottom:6px;display:flex;justify-content:space-between}
.bar{height:8px;background:var(--line);border-radius:99px;overflow:hidden}
.bar i{display:block;height:100%;background:var(--red);border-radius:99px;transition:width .3s}
.card{background:linear-gradient(160deg,var(--blue) 0%,var(--blue-d) 100%);color:#fff;border-radius:var(--r);padding:26px 20px 22px;box-shadow:0 12px 30px rgba(25,49,64,.25);animation:in .25s ease}
@keyframes in{from{opacity:0;transform:translateX(-14px)}to{opacity:1;transform:none}}
.card h1,.card h2{margin:0 0 6px;font-size:23px;line-height:1.35;font-weight:700}
.card p{margin:4px 0;line-height:1.55;opacity:.95}
.tag{display:inline-block;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.45);color:#fff;font-size:13px;font-weight:600;padding:3px 10px;border-radius:99px;margin-bottom:10px}
.hint{font-size:14px;opacity:.85;margin-top:2px}
.opts{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.opt{width:100%;min-height:54px;border-radius:16px;border:2px solid rgba(255,255,255,.55);background:rgba(255,255,255,.1);color:#fff;font-size:17px;font-weight:600;font-family:inherit;text-align:right;padding:12px 16px;cursor:pointer;transition:background .15s,transform .1s}
.opt:active{transform:scale(.98)}
.opt.sel{background:#fff;color:var(--blue-d);border-color:#fff}
.field{position:relative;margin-top:18px}
.field input,.field textarea{width:100%;border:0;border-radius:16px;padding:16px;font-size:20px;font-family:inherit;color:var(--ink);background:#fff;outline:3px solid transparent}
.field textarea{min-height:120px;font-size:17px;resize:vertical}
.field input:focus,.field textarea:focus{outline-color:rgba(255,255,255,.6)}
.field .cur{position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:20px;font-weight:700;color:var(--blue-d)}
.field input.num{padding-left:44px;direction:ltr;text-align:right}
.btn{width:100%;min-height:54px;border:0;border-radius:16px;font-size:18px;font-weight:700;font-family:inherit;cursor:pointer;margin-top:16px}
/* R4-5: primary actions = brand red with white text (5.79:1, AA for normal text; buttons are 17-18px bold anyway) */
.btn.white{background:var(--red);color:#fff}
.btn.blue{background:var(--red);color:#fff}
.btn.ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.55)}
.btn.ghost.dark{color:var(--navy);border-color:var(--line-2)}
.btn:disabled{opacity:.45;cursor:not-allowed}
/* R4-5: errors = light alert (dark red on pink, 6.32:1) with a red edge, so they never look like a red primary button */
.err{color:#a32525;background:#fde9e9;border-inline-start:4px solid var(--err);border-radius:12px;padding:10px 12px;margin-top:12px;font-size:15px}
.err.light{color:#a32525;background:#fde9e9}
.sheet{background:#fff;border-radius:var(--r);padding:20px;margin-top:14px;box-shadow:0 4px 16px rgba(15,27,51,.06)}
.sheet h3{margin:0 0 10px;font-size:17px}
.list{margin:0;padding:0;list-style:none}
.list li{padding:8px 0;display:flex;gap:10px;line-height:1.5}
.list li::before{content:"✓";color:var(--ok);font-weight:800}
.price{font-size:44px;font-weight:800;margin:10px 0 0}
.price small{font-size:18px;font-weight:600;opacity:.9}
.note{font-size:14px;color:var(--muted);line-height:1.55}
.card .note{color:#fff;opacity:.85}
.legal{font-size:13px;color:var(--muted);line-height:1.55;border-top:1px dashed var(--line-2);margin-top:12px;padding-top:10px}
.legal b{color:#a15c00}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.chip{background:rgba(255,255,255,.18);border-radius:99px;padding:4px 10px;font-size:13px}
.sim{background:#fff6e0;color:#7a5200;border:1px solid #f1d48a;border-radius:12px;padding:10px 12px;font-size:14px;margin-bottom:12px;line-height:1.5}
.row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--tint);font-size:15px}
.row:last-child{border-bottom:0}
.center{text-align:center}
.big-ok{width:64px;height:64px;border-radius:50%;background:#fff;color:var(--ok);display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:900;margin:0 auto 12px}
label.l{display:block;font-size:14px;margin:12px 0 6px;opacity:.9}
.auth input{width:100%;border:0;border-radius:14px;padding:14px;font-size:17px;font-family:inherit}
.spacer{flex:1}
.toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;padding:10px 16px;border-radius:12px;font-size:14px;z-index:9;width:max-content}
/* ---- member area (M2–M5) ---- */
.tabs{display:flex;gap:6px;background:#fff;border-radius:16px;padding:5px;margin:0 0 14px;box-shadow:0 4px 16px rgba(15,27,51,.06)}
.tabs a{flex:1;text-align:center;text-decoration:none;color:var(--muted);font-weight:600;font-size:14px;padding:10px 4px;border-radius:12px}
.tabs a.on{background:var(--blue);color:#fff}
.page-h{font-size:21px;margin:4px 0 6px;color:var(--blue-d)}
.price.sm{font-size:34px;margin:2px 0 4px}
.facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 6px}
.fact{background:rgba(255,255,255,.12);border-radius:12px;padding:8px 10px;display:flex;flex-direction:column}
.fact span{font-size:13px;opacity:1}.fact b{font-size:16px}
.fact:last-child:nth-child(odd){grid-column:1/-1}
.why-h{margin:14px 0 4px;font-size:16px}
.card p.why{opacity:1}
.note.small,.card .note.small{font-size:13px;margin-top:10px}
.decide{display:flex;flex-direction:column;gap:0}
.gap{height:14px}
.status{margin-top:14px;display:flex;align-items:center;gap:10px}
.st{display:inline-block;font-size:14px;font-weight:700;padding:4px 12px;border-radius:99px;background:#fff;color:var(--blue-d)}
.st.ok{background:#e3f6ea;color:#0c7a3b}.st.pend{background:#fff3d6;color:#7a5200}.st.bad{background:#fde9e9;color:#b02a2a}
.reassure{background:rgba(255,255,255,.14);border-radius:12px;padding:10px 12px;font-size:14px;margin-top:12px!important}
.link.light{color:#fff;opacity:.85;text-decoration:underline;margin-top:8px}
.pick{display:flex;align-items:center;gap:12px;padding:12px;border:2px solid var(--line);border-radius:14px;margin-top:10px;cursor:pointer}
.pick input{width:22px;height:22px;accent-color:var(--blue);flex:none}
.pick>span:nth-child(2){flex:1}
.pick:has(input:checked){border-color:var(--blue);background:var(--blue-l)}
.pick.off{opacity:1;background:#f7f8f9;border:2px dashed var(--line-2);cursor:default}
.row.total{font-size:17px;border-top:2px solid var(--line);margin-top:4px}
.multi{background:var(--blue-l);color:var(--blue-d);border-radius:12px;padding:10px 12px;font-size:15px;font-weight:600;line-height:1.5;margin:10px 0 0}
details.sheet summary{cursor:pointer;font-weight:600}
.sheet .st{background:var(--blue-l)}.sheet .st.ok{background:#e3f6ea}.sheet .st.pend{background:#fff3d6}.sheet .st.bad{background:#fde9e9}
.sheet .row{align-items:center}
/* ---- QA fix round 1 ---- */
/* M-1: decision buttons in a fixed bar at the bottom of the property card view; #app gets bottom padding so nothing is covered */
.decide.sticky{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;z-index:5;display:flex;flex-direction:row;gap:10px;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(160deg,var(--blue) 0%,var(--blue-d) 100%);box-shadow:0 -6px 20px rgba(15,27,51,.18);border-radius:18px 18px 0 0}
.decide.sticky .btn{margin-top:0;flex:1;min-height:52px;font-size:17px}
#app.has-bar{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
#app.has-bar ~ .toast{bottom:calc(92px + env(safe-area-inset-bottom))}
.substat{font-size:12px;font-weight:600;color:#0c7a3b;background:#e3f6ea;border-radius:99px;padding:3px 9px;margin-left:6px;white-space:nowrap}
.once{display:block;font-size:12px;color:var(--muted);font-weight:600}
.nw{white-space:nowrap}
.card .note.pending-note{margin-top:8px;opacity:.95}
.st.pend.pending-note{white-space:normal;line-height:1.45;border-radius:14px;text-align:start} /* R4-P2: the single pending wording is a sentence */
.orders-note{margin:6px 0 2px}
.toast{max-width:calc(100vw - 32px);text-align:center;line-height:1.5}
/* N-1: persistent, dismissible notice (inline at the top, never overlays content) */
.notice{display:flex;align-items:flex-start;gap:10px;background:#fff3d6;color:#6b4800;border:1px solid #f1d48a;border-radius:14px;padding:10px 12px;margin:0 0 12px;font-size:14px;line-height:1.5}
.notice-t{flex:1}
.notice-x{flex:none;background:#fff;border:1px solid #e3c173;color:#6b4800;border-radius:10px;min-height:36px;padding:4px 10px;font-size:13px;font-weight:700;font-family:inherit;cursor:pointer}
/* Round 2: example properties carry a visible "[דוגמה]" label */
.ex-label{display:inline-block;background:#f1e6ff;color:#5b2a9a;font-size:12px;font-weight:700;padding:1px 8px;border-radius:99px;margin-left:4px;vertical-align:middle}
.tag.ex-tag{background:#f1e6ff;color:#5b2a9a;border-color:#f1e6ff}
/* R4-2 (copy/layout only) */
.trust-line{text-align:center;font-size:13px;line-height:1.5;margin:12px 2px 0}
.trust-line .nw{unicode-bidi:isolate}
.footer-id{text-align:center;color:var(--muted);font-size:12px;line-height:1.4;margin:10px 0 0;padding-bottom:8px;direction:ltr;white-space:nowrap}
.video-p{text-align:center;margin:10px 0 0}
.ticks{list-style:none;margin:10px 0 0;padding:0}
.ticks li{padding:3px 0;line-height:1.5}
.card .offer-ticks{margin-top:14px;font-size:15px}
.card .note.shared-feed{margin-top:8px}
.how{text-align:right;background:rgba(255,255,255,.14);border-radius:12px;padding:10px 14px;margin-top:14px;font-size:15px}
.how p{margin:4px 0;line-height:1.5}
.how-h{font-weight:700}
.report-contents{margin-top:10px}
.report-contents .ticks{font-size:15px}
.multi-pre{margin:0 0 12px}
.video-link{display:inline-block}
.done-note{margin-top:8px}
/* R4-3 consent + report status */
.consent-h{font-weight:700;font-size:16px;margin:0 0 4px}
.consent input[type=tel]{width:100%;border:1px solid var(--line-2);border-radius:14px;padding:12px 14px;font-size:17px;font-family:inherit;background:#fff;text-align:right}
.consent .cb{display:flex;gap:10px;align-items:flex-start;margin-top:14px;font-size:15px;line-height:1.5;cursor:pointer}
.consent .cb input{width:22px;height:22px;flex:none;margin:1px 0 0;accent-color:var(--blue)}
.consent .cb.off{opacity:.5;cursor:not-allowed}
.consent .note{margin-top:12px}
.st.sent{background:var(--tint);color:var(--ink)}
.updates h3{margin-bottom:10px}
/* R4-4 market gap, display address, purchase-cost disclosure */
.prop .addr{margin:-4px 0 6px;font-size:14px;opacity:.85}
.prop .addr::before{content:"📍 "}
.gap-line{margin:4px 0 0;font-size:15px;font-weight:700}
.gap-note{margin:2px 0 0;font-size:14px;line-height:1.5;opacity:.9}
.cost-note{font-size:14px;line-height:1.55;border-radius:12px;padding:10px 12px;margin:14px 0 0;background:#fff7e0;color:#5c4300;border:1px solid #f1d48a}

/* R4-P: promise block (first screen + subscription screen; texts from /copy/promise.js). Big, short, scannable at 375x667. */
.rb-promise .pm-h{font-size:29px;line-height:1.2;font-weight:800;margin:0 0 10px;letter-spacing:-.2px}
.rb-promise .hl{white-space:nowrap}
.rb-promise .pm-h .hl{font-size:40px;display:inline-block;line-height:1.05;color:#fff;border-bottom:4px solid var(--red);padding-bottom:2px}
.rb-promise .pm-second{font-size:19px;line-height:1.35;font-weight:700;margin:0 0 4px;opacity:1}
.rb-promise .pm-second .hl{font-size:30px;font-weight:800;color:#fff;background:var(--red);border-radius:10px;padding:0 8px;display:inline-block;line-height:1.3}
.rb-promise .pm-price{margin:14px 0 0;line-height:1.45;opacity:1}
.pr-amt{font-size:30px;font-weight:800;white-space:nowrap}
.pr-sep{opacity:.6}
.pr-reas{font-size:15px;font-weight:600;white-space:nowrap}
.rb-promise .pm-cta{margin-top:14px;font-size:19px;min-height:56px;box-shadow:0 6px 16px rgba(183,56,51,.45)}
.rb-promise .pm-under{font-size:14px;opacity:.85;text-align:center;margin:8px 0 0}
.rb-promise .pm-trust,.card .pm-trust{font-size:13px;line-height:1.5;opacity:.8;margin:12px 0 0;padding-top:10px;border-top:1px solid rgba(255,255,255,.2)}
.card.first{padding:20px 18px 16px}
.card.first .video-p{margin:8px 0 0;font-size:14px}
.q-intro{font-size:14px;font-weight:700;opacity:.8;margin:0 0 6px!important;letter-spacing:.2px}
/* subscription screen: promise title + benefits inside the card, price, small grey costs line under the button */
.card.offer .rb-promise .pm-h{font-size:25px}
.card.offer .rb-promise .pm-second .hl{font-size:24px}
.card.offer .price{font-size:40px;margin-top:12px}
.card.offer .price .pr-amt{font-size:40px}
.card .note.under-price{margin-top:2px}
.card .cost-line{font-size:12.5px;line-height:1.5;color:#fff;opacity:.62;margin-top:10px}
.pay-price{font-size:15px;margin:0 0 8px;color:var(--ink)}
.pay-price .pr-amt{font-size:22px}
.pay-price .pr-reas{font-size:14px;color:var(--muted)}
/* stop subscription: small, calm, secondary - a link-style control under the tabs, never a red button */
.stop-row{margin:0 0 8px;text-align:left;font-size:13px}
.stop-link{color:var(--muted);text-decoration:underline;text-underline-offset:3px;padding:6px 2px;display:inline-block}
.stopped-row{text-align:right}.stopped-note{color:var(--muted);text-decoration:none;display:inline-block;padding:6px 2px;line-height:1.5} /* R4-P2: stopped, paid period still open */
.btn.navy{background:var(--navy);color:#fff}
.stop-q{font-size:18px;font-weight:700;margin:0 0 6px;line-height:1.5}
.stopped-t{font-size:18px;font-weight:700;line-height:1.55;margin:0 0 8px}
/* R4-P3 LOW-6: continue inside the paid period - small line under the button; the one-time confirmation on the member area */
.resume-sub{margin:6px 0 0;font-size:13px;line-height:1.5;text-align:center}
.resumed-note{margin:0 0 10px;padding:10px 12px;border-radius:12px;background:#e8f6ee;color:#0b5e30;font-weight:600;line-height:1.5}
.unavail-note{margin-top:8px}
/* R4-P: Latin / number runs from the copy module (C.bidi -> <bdi dir="ltr">) never break inside: "Red Berries", "10,000 €", "₪39", "23:16" */
bdi[dir="ltr"]{white-space:nowrap}
