/* ארזי הלבנון — v2 tabs: בית, לקוחות, תשלומים, יומן, חומרים, מידע + the entry tour. Phone first (390px). */
/* the tab bar scrolls sideways; a soft edge says there is more */
.tabs{scroll-behavior:smooth;-webkit-mask-image:linear-gradient(to left,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);mask-image:linear-gradient(to left,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);scroll-padding-inline:24px}
.tabs button{padding:8px 13px}
#home-count,#pay-count{background:#fdf1d6;color:#7a5200}

.hb-hello{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:2px 2px 12px}
.hb-hello h2{margin:0;font-size:1.35rem;color:var(--navy)}
.hb-hello p{margin:0;color:var(--muted);font-weight:600}
.hb-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}
.hb-tiles--3{grid-template-columns:repeat(3,1fr)}
.hb-tile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:start;background:var(--ox-paper,#fff);border:0;border-radius:16px;padding:12px;box-shadow:0 2px 10px rgba(13,47,94,.07);cursor:pointer;font:inherit;color:var(--ink);min-height:92px;border-top:4px solid var(--sand)}
.hb-tile--ro{cursor:default;min-height:0;border-top-width:3px}
.hb-tile__l{font-size:.875rem;font-weight:700;color:var(--muted)}
.hb-tile b{font-size:1.35rem;color:var(--navy);line-height:1.2;word-break:break-word}
.hb-tiles--3 .hb-tile b{font-size:1.05rem}
.hb-tile small{font-size:.875rem;color:var(--muted)}
.hb-tile b.neg,.hb-tile .neg{color:var(--bad)}
.hb-tile b.pos{color:var(--ok)}
.hb-sec{margin-bottom:12px}
.hb-sec h2{display:flex;align-items:center;gap:8px;justify-content:space-between;font-size:1.05rem}
.hb-rems,.hb-evs,.hb-list,.hb-who,.hb-mats ul,.hb-lines{list-style:none;margin:0;padding:0}
.hb-rem{display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--line)}
.hb-rem:last-child{border-bottom:0}
.hb-rem__main{flex:1;display:flex;align-items:center;gap:10px;background:none;border:0;padding:10px 2px;text-align:start;font:inherit;color:var(--ink);cursor:pointer;min-height:52px}
.hb-rem__i{font-size:1.3rem;width:30px;text-align:center;flex:none}
.hb-rem__t{display:flex;flex-direction:column}
.hb-rem__t b{font-weight:700}
.hb-rem__t small{color:var(--muted);font-size:.875rem}
.hb-rem--3 .hb-rem__t b{color:var(--bad)}
.hb-rem--3{background:linear-gradient(to left,var(--ox-warn-bg,#fff5f4),transparent)}
.hb-day{margin:8px 0}
.hb-day h3{margin:10px 0 4px;font-size:.92rem;color:var(--navy);display:flex;align-items:center;gap:8px}
.hb-day--today h3{color:var(--blue)}
.hb-day ul{list-style:none;margin:0;padding:0}
.hb-ev{border-inline-start:4px solid var(--sand);background:var(--sand-3);border-radius:10px;margin:0 0 6px}
.hb-ev--work{border-color:var(--ox-pri,#1f6fb8)}.hb-ev--measure,.hb-ev--meet{border-color:#7a5af8}.hb-ev--pay{border-color:#067647}.hb-ev--sign{border-color:#d2b48c}.hb-ev--supply{border-color:#b54708}
.hb-ev--late{border-color:var(--bad);background:var(--ox-warn-bg,#fff5f4)}
.hb-ev__b{display:flex;gap:10px;width:100%;background:none;border:0;padding:9px 10px;text-align:start;font:inherit;color:var(--ink);cursor:pointer;min-height:48px;align-items:flex-start}
.hb-ev__time{flex:none;min-width:52px;font-weight:800;color:var(--navy);font-size:.88rem;padding-top:1px}
.hb-ev__t{display:flex;flex-direction:column}
.hb-ev__t small{color:var(--muted);font-size:.875rem}
.hb-quick{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
.hb-quick .b{flex:1 1 calc(50% - 8px)}
.hb-set{background:var(--ox-paper,#fff);border-radius:14px;margin-bottom:10px}
.hb-acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}
.hb-acts .hint{margin:0}
.hb-back{margin:0 0 10px}
.hb-card__h{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.hb-card__h h2{margin:0 0 2px;font-size:1.25rem}
.hb-card__h .meta{margin:0}
.hb-bal{text-align:center;background:var(--sand-3);border-radius:12px;padding:6px 12px}
.hb-bal small{display:block;color:var(--muted);font-size:.875rem}
.hb-bal b{font-size:1.2rem;color:var(--navy)}
.hb-bal b.neg{color:var(--bad)}
.hb-notes{background:var(--sand-3);border-radius:10px;padding:8px 10px;white-space:pre-wrap;margin:8px 0}
.hb-li{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;background:none;border:0;border-bottom:1px solid var(--line);padding:10px 2px;font:inherit;color:var(--ink);text-align:start;cursor:pointer;min-height:48px}
.hb-list li:last-child .hb-li,.hb-mats li:last-child .hb-li{border-bottom:0}
.hb-li>span:first-child{display:flex;flex-direction:column}
.hb-li small{color:var(--muted);font-size:.875rem}
.hb-plan__top{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%}
.hb-plan--late{border-inline-start-color:var(--bad)}
.hb-plan--ok{border-inline-start-color:var(--ok)}
.hb-plan .card__main{display:flex;flex-direction:column;align-items:stretch;gap:2px}
.hb-plan .ops-bar span{background:var(--ok)}
.hb-tbl td small{display:block;color:var(--muted)}
.hb-auto{background:var(--ox-sunk,#eef4ff);border-radius:10px;padding:8px 10px;font-size:.88rem;color:#1d3a6e}
.hb-honest{background:var(--sand-3);border-radius:10px;padding:8px 10px}
.hb-chips{margin:0 0 10px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.hb-chips .chip{flex:none}
.hb-strow{display:grid;grid-template-columns:1.3fr 1fr 1.2fr auto;gap:6px;margin-bottom:6px}
.hb-strow input{min-width:0;padding:8px}
/* calendar */
.hb-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}
.hb-nav .b{min-width:44px;font-size:1.2rem}
.hb-nav__t{flex:1;font-size:1rem !important}
.hb-month{background:var(--ox-paper,#fff);border-radius:16px;padding:8px;box-shadow:0 2px 10px rgba(13,47,94,.07);margin-bottom:10px}
.hb-month__h,.hb-month__g{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.hb-month__h span{text-align:center;font-size:.875rem;font-weight:700;color:var(--muted);padding:2px 0}
.hb-mday{aspect-ratio:1/1.05;border:0;border-radius:10px;background:var(--bg);font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:4px 1px;cursor:pointer;color:var(--ink);min-height:44px}
.hb-mday span{font-weight:700;font-size:.9rem}
.hb-mday i{font-style:normal;font-size:.68rem;line-height:1.1;margin-top:2px;max-width:100%;overflow:hidden;white-space:nowrap}
.hb-mday.is-out{opacity:.4}
.hb-mday.is-out span em,.hb-mday.is-out .hd-c{display:none}   /* v2.8 axe: the faded days of the next/previous month show only the number */
.hb-mday.is-today{box-shadow:inset 0 0 0 2px var(--blue)}
.hb-mday.is-sel{background:var(--navy);color:#fff}
.hb-who .hb-li>span:last-child{color:var(--navy);font-weight:700;text-align:end}
.hb-dl{margin:8px 0;display:grid;gap:6px}
.hb-dl div{display:grid;grid-template-columns:90px 1fr;gap:8px}
.hb-dl dt{color:var(--muted);font-weight:600}
.hb-dl dd{margin:0;white-space:pre-wrap;word-break:break-word}
.hb-alert{position:fixed;top:calc(8px + env(safe-area-inset-top));left:8px;right:8px;z-index:60;background:var(--navy);color:#fff;border-radius:14px;padding:10px 12px;display:flex;align-items:center;gap:8px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.hb-alert span{flex:1;font-weight:700}
.hb-alert .b--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
/* materials */
.hb-price{color:var(--navy);white-space:nowrap}
.hb-tofix{background:#fef0c7;color:#93370d;border-radius:999px;padding:2px 10px;font-size:.875rem;font-weight:700;white-space:nowrap}
.hb-lines li{display:grid;grid-template-columns:1fr 72px 70px 40px;gap:6px;align-items:center;border-bottom:1px solid var(--line);padding:8px 0}
.hb-lines__n{display:flex;flex-direction:column;min-width:0}
.hb-lines__n small{color:var(--muted);font-size:.875rem}
.hb-lines__t{font-weight:700;text-align:end;font-size:.88rem}
.hb-qty{width:100%;padding:8px;text-align:center}
.hb-shoptot{display:flex;justify-content:space-between;align-items:center;background:var(--sand-3);border-radius:12px;padding:10px 12px;margin:10px 0;font-weight:700}
.hb-shoptot b{font-size:1.2rem;color:var(--navy)}
/* info */
.hb-ihead{display:flex;align-items:center;gap:12px;margin:2px 2px 12px}
.hb-ihead img{width:64px;height:auto;max-height:64px;object-fit:contain;background:var(--ox-paper,#fff);border-radius:14px;padding:4px;box-shadow:0 2px 10px rgba(13,47,94,.08)}
.hb-ihead h2{margin:0;color:var(--navy)}
.hb-ihead p{margin:0;color:var(--muted)}
.hb-info{background:var(--ox-paper,#fff);border-radius:14px;margin-bottom:8px}
.hb-info__b{padding:0 14px 12px;line-height:1.6}
.hb-info__b p{margin:6px 0}
.hb-about__logo{max-width:140px;height:auto;display:block;margin:4px 0 6px}
.hb-lawyer{font-size:.875rem;color:#93370d;background:#fffaeb;border-radius:8px;padding:6px 10px}
.hb-ol,.hb-ul{margin:6px 0;padding-inline-start:20px}
.hb-ol li,.hb-ul li{margin:4px 0}
.hb-faq{border-bottom:1px solid var(--line);padding:4px 0}
.hb-faq summary{cursor:pointer;font-weight:700;padding:8px 0;min-height:40px}
.hb-faq p{margin:0 0 8px;color:var(--muted)}
.hb-out,.hb-cta{text-align:center}
.hb-cta h2{font-size:1.05rem}
.usr__del{background:var(--ox-warn-bg,#fff5f4);color:var(--bad);border-radius:8px;padding:6px 10px;margin:6px 0;font-weight:600}
/* entry tour */
.tour{position:fixed;inset:auto 0 0 0;z-index:70;padding:0 10px calc(10px + env(safe-area-inset-bottom));pointer-events:none}
.tour[hidden]{display:none}
.tour__card{pointer-events:auto;position:relative;max-width:520px;margin:0 auto;background:var(--ox-paper,#fff);border-radius:20px;padding:18px 16px 14px;box-shadow:0 -6px 40px rgba(13,47,94,.28);border-top:5px solid var(--sand);text-align:center;animation:tourUp .35s ease both}
.tour__i{font-size:2rem;line-height:1}
.tour__card h2{margin:6px 0 4px;color:var(--navy);font-size:1.2rem}
.tour__card p{margin:0 0 10px;color:var(--ink);line-height:1.5}
.tour__x{position:absolute;top:6px;left:6px;width:40px;height:40px;border:0;background:none;font-size:1.1rem;color:var(--muted);cursor:pointer}
.tour__dots{display:flex;justify-content:center;gap:6px;margin:8px 0}
.tour__dots i{width:7px;height:7px;border-radius:50%;background:var(--line)}
.tour__dots i.on{background:var(--navy);width:18px;border-radius:4px}
.tour__row{display:flex;gap:8px;justify-content:space-between}
.tour__row .b--primary{flex:1}
@keyframes tourUp{from{transform:translateY(30px);opacity:0}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.tour__card{animation:none}}
@media (min-width:720px){.hb-tiles{grid-template-columns:repeat(4,1fr)}.hb-tiles--3{grid-template-columns:repeat(3,1fr)}.hb-quick .b{flex:0 0 auto}}
@media (max-width:360px){.hb-tiles--3{grid-template-columns:1fr 1fr}.hb-lines li{grid-template-columns:1fr 60px 60px 36px}}
.hb-info>summary span:first-child::before,.hb-set>summary span:first-child::before{content:none !important;display:none !important}

/* "מה המקצוע שלך?" popup + ⚙️ המקצוע והלשוניות שלי (prof.js) */
.prof-pop{position:fixed;inset:0;z-index:90;background:rgba(9,30,60,.55);display:flex;align-items:flex-end;justify-content:center;padding:0;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.prof-pop[hidden]{display:none}
.prof-card{position:relative;width:100%;max-width:560px;max-height:92vh;max-height:92dvh;display:flex;flex-direction:column;background:var(--ox-paper,#fff);border-radius:22px 22px 0 0;border-top:5px solid var(--sand);box-shadow:0 -10px 40px rgba(0,0,0,.25);animation:tourUp .3s ease both;padding:14px 14px calc(10px + env(safe-area-inset-bottom))}
@media (min-width:600px){.prof-pop{align-items:center;padding:20px}.prof-card{border-radius:22px}}
.prof-x{position:absolute;top:6px;left:6px;width:40px;height:40px;border:0;background:none;font-size:1.1rem;color:var(--muted);cursor:pointer}
.prof-h{display:flex;gap:10px;align-items:flex-start;padding-left:34px}
.prof-i{font-size:1.9rem;line-height:1}
.prof-h h2{margin:0;color:var(--navy);font-size:1.25rem}
.prof-h p{margin:2px 0 0;color:var(--muted);font-size:.9rem;line-height:1.4}
.prof-pre{margin:8px 0 0;background:var(--sand-3);border-radius:10px;padding:6px 10px;font-size:.875rem;color:var(--ink)}
.prof-q{margin:10px 0 4px;width:100%;min-height:42px;border:1.5px solid var(--line);border-radius:12px;padding:8px 12px;font:inherit}
.prof-body{overflow-y:auto;flex:1;min-height:0;padding:2px 2px 8px;overscroll-behavior:contain}
.prof-g h3{margin:10px 0 6px;font-size:.92rem;color:var(--navy)}
.prof-chips{display:flex;flex-wrap:wrap;gap:6px}
.pchip{border:1.5px solid var(--line);background:var(--ox-paper,#fff);border-radius:999px;padding:6px 12px;font:inherit;font-weight:600;font-size:.9rem;min-height:38px;cursor:pointer;color:var(--ink)}
.pchip--on{background:var(--navy);border-color:var(--navy);color:#fff}
.prof-other{width:100%;min-height:42px;border:1.5px solid var(--line);border-radius:12px;padding:8px 12px;font:inherit}
.prof-foot{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:10px}
.prof-n{flex:1;color:var(--muted);font-size:.88rem;font-weight:600}
.prof-foot .b--primary{min-width:120px}
.prof-foot .b--primary:disabled{opacity:.45}
.pf-now{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pf-lbl{font-weight:700}
.pf-tag{background:var(--navy);color:#fff;border-radius:999px;padding:3px 10px;font-size:.875rem;font-weight:600}
.pf-sw{list-style:none;margin:6px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px 10px}
.pf-sw label{display:flex;align-items:center;gap:8px;min-height:38px;font-weight:600}
.pf-sw input{width:20px;height:20px;accent-color:var(--navy)}
.pf-sw small{color:var(--muted);font-weight:400}
.pf-more summary{cursor:pointer;color:var(--navy);font-weight:600;min-height:36px;display:flex;align-items:center}
.pf-items{margin:6px 0}
.pf-items b{font-size:.88rem;color:var(--navy)}
.pf-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.pf-it{display:inline-flex;align-items:center;gap:4px;background:var(--sand-3);border:1px solid var(--sand);border-radius:999px;padding:2px 4px 2px 10px;font-size:.875rem}
.pf-it small{color:var(--muted)}
.pf-it button{border:0;background:none;width:30px;height:30px;color:var(--muted);cursor:pointer;font-size:.875rem}
.ct-sug{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}

/* 📅 Hebrew date, Shabbat and holidays (v2.2) */
.hd-line{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:-2px 2px 8px;font-size:.875rem}
.hd-line--home{margin:-6px 2px 12px}
.hd-line--month{justify-content:center;margin:-4px 0 6px}
.hd-he{color:var(--muted);font-weight:700}
.hd-he--hello{display:block;font-size:.875rem;margin-top:1px}
.hd-he--in{font-size:.875rem;font-weight:600}
.hd-he--fld{display:block;margin-top:3px;font-size:.875rem;min-height:1em}
.hd-lbl{color:var(--muted);font-weight:700;font-size:.875rem}
.hd-tag{display:inline-block;font-size:.875rem;line-height:1.35;padding:1px 7px;border-radius:999px;background:#eef2f8;color:var(--navy);font-weight:700;white-space:nowrap}
.hd-tag--shabbat,.hd-tag--yomtov{background:#fff1cc;color:#6d4a00}
.hd-tag--fast{background:#efe7fb;color:#4f2a86}
.hd-tag--chol,.hd-tag--modern{background:#e3f0ff;color:var(--ox-pri,#0d3d7a)}
.hd-tag--erev,.hd-tag--minor,.hd-tag--rc{background:#f1f3f6;color:#4a5566}
.hd-warn{margin:6px 0 0;padding:7px 10px;border-radius:10px;background:#fff4dc;color:#6d4a00;font-weight:700;font-size:.875rem;border:1px solid #f3d58a}
#ev_hw:empty{display:none}
#ev_hw .hd-warn{margin:0}
.hb-day h3 .hd-tag{font-size:.875rem}
.hb-day--rest{background:#fffaf0;border-radius:12px;padding:0 6px 2px}
.hb-month--heb .hb-mday{aspect-ratio:auto;min-height:60px;padding:3px 1px 2px}
.hb-mday span em{font-style:normal;font-weight:600;font-size:.6rem;color:var(--muted);margin-inline-start:2px}
.hb-mday span{display:flex;align-items:baseline;justify-content:center;gap:1px;white-space:nowrap}
.hb-mday .hd-c{font-weight:700;font-size:.56rem;line-height:1.05;color:#6d4a00;max-width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-align:center;margin-top:1px}
.hb-mday.is-shab{background:#fff6de}
.hb-mday.is-yt{background:#ffeab3}
.hb-mday.is-fast .hd-c{color:#4f2a86}
.hb-mday.is-hol .hd-c{color:var(--ox-pri,#0d3d7a)}
.hb-mday.is-sel{background:var(--navy)}
.hb-mday.is-sel em,.hb-mday.is-sel .hd-c{color:#fff}
.hd-set summary{cursor:pointer;font-weight:700;color:var(--navy);min-height:44px;display:flex;align-items:center}
.hd-set h3{display:none}

/* 🧱 price list order: long-press drag + "↕️ סדר" (v2.2) */
.hb-matcats li[data-mid],.hb-matcats [data-mdrag]{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.hb-mats h2{display:flex;align-items:center;gap:6px}
.hb-mats__t{flex:1}
.hb-grip{color:var(--muted);font-size:1rem;line-height:1;opacity:.6}
.hb-matcats li[data-mid]{display:flex;align-items:center;gap:4px;position:relative;transition:box-shadow .15s,background .15s}
.hb-matcats li[data-mid]>.hb-li{flex:1;min-width:0}
.hb-ord{display:inline-flex;gap:2px;flex:none}
.b--xs{min-height:36px;min-width:36px;padding:0 6px;font-size:.95rem}
.hb-matcats .is-lift{z-index:5;background:var(--ox-paper,#fff);border-radius:12px;box-shadow:0 10px 26px rgba(13,47,94,.28);transition:none;opacity:.97}
.hb-matcats li.is-lift{outline:2px solid var(--blue)}
.hb-matcats.is-catdrag .hb-mats ul{display:none}
.hb-matcats.is-catdrag .hb-mats{padding-top:6px;padding-bottom:6px}
.hb-matcats.is-catdrag .hb-mats h2{margin:0}
body.is-sorting{-webkit-user-select:none;user-select:none;overscroll-behavior:contain}
.hb-sorthint{margin-top:-2px}

/* a friend deleted his own account (v2.2) */
.acc-gone{min-height:100vh;display:grid;place-items:center;text-align:center;padding:24px;font-family:inherit;background:var(--bg,#f4f6fa);color:var(--navy,#0d2f5e)}
.acc-gone h1{margin:6px 0 10px;font-size:1.5rem}
.acc-gone p{margin:6px 0;font-size:1.05rem}
.acc-gone__i{font-size:3rem;margin:0;color:#1f8a4c}
.usr-dellog summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}

/* the detailed, personal guide (guide.js) — in the tour card and in ℹ️ מידע */
.tour__card--gd{display:flex;flex-direction:column;max-height:min(72vh,640px);text-align:right;padding-top:14px}
.tour__card--gd .tour__i,.tour__card--gd h2{text-align:center}
.tour__card--gd h2{margin:4px 0 0}
.tour__n{margin:0 0 6px!important;text-align:center;color:var(--muted)!important;font-size:.875rem;font-weight:700}
.tour__body{overflow-y:auto;min-height:0;flex:1;overscroll-behavior:contain;padding:2px 2px 4px}
.tour__body p{text-align:right}
.tour__card:not(.tour__card--gd) .tour__body p{text-align:center}
.gd-what,.gd-why,.gd-how{margin:0 0 6px!important}
.gd-steps{margin:0 0 8px;padding-inline-start:22px;line-height:1.55}
.gd-steps li{margin:3px 0}
.gd-tip{background:#fff8ec;border:1.5px solid #ecd6b0;border-radius:12px;padding:8px 10px;margin:6px 0 4px!important;color:#5a3a0a!important}
.gd-sec{border:1.5px solid var(--line);border-radius:14px;padding:0 12px;margin:8px 0;background:var(--ox-paper,#fff)}
.gd-sec>summary{min-height:44px;display:flex;align-items:center;gap:6px;font-weight:800;color:var(--navy);cursor:pointer}
.gd-sec[open]{padding-bottom:10px}

.hb-ev--bday .hb-ev__b{background:#fff8ec;border-color:#ecd6b0;cursor:default}
.pf-bday{margin:4px 0 10px}
.pf-bday__k{gap:14px;margin:4px 0}
.pf-bday__k label{min-height:44px;display:inline-flex;align-items:center;gap:6px}
.ops-end{margin:8px 0 0;font-weight:700;color:var(--navy)}
.bday-pop{text-align:center}
.bday-pop__i{font-size:3rem;line-height:1;margin:4px 0}
.bday-pop h2{color:var(--navy);margin:4px 0}
.bday-pop p{font-size:1.05rem;line-height:1.6}

/* ---------- v2.4: reminders actions, portfolio, voice dictation, product catalog ---------- */
.hb-rem{flex-wrap:wrap}
.hb-rem__acts{display:flex;flex-wrap:wrap;gap:6px;width:100%;padding:0 0 10px 0;margin-inline-start:40px}
.hb-rem__acts .b{min-height:44px;font-size:.88rem;padding:0 10px}
.hb-remset{display:flex;flex-direction:column;gap:6px;margin:6px 0 10px}
.hb-cal-rems{margin-top:10px;border-top:1px dashed var(--line);padding-top:8px}
.hb-cal-rems h4{margin:0 0 4px;color:var(--navy);font-size:.95rem}
.rm-txt{width:100%;font:inherit;border:1px solid var(--line);border-radius:12px;padding:10px;background:var(--sand-3);color:var(--ink)}
.rm-snz{border:0;padding:0;margin:8px 0;display:flex;flex-direction:column;gap:8px}
.rm-snz label{display:flex;align-items:center;gap:8px;min-height:44px}
.hb-evm{list-style:none;margin:0;padding:0}
.hb-evm .pill{font-size:.875rem}
/* 🖼️ portfolio */
.pf-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pf-card__b{display:flex;flex-direction:column;width:100%;background:var(--ox-paper,#fff);border:0;border-radius:16px;overflow:hidden;padding:0;text-align:start;font:inherit;color:var(--ink);cursor:pointer;box-shadow:0 2px 10px rgba(13,47,94,.08);min-height:44px}
.pf-cover{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--sand-2)}
.pf-cover--none{display:flex;align-items:center;justify-content:center;font-size:2rem}
.pf-card__t{display:flex;flex-direction:column;padding:8px 10px 10px;gap:2px}
.pf-card__t b{color:var(--navy);line-height:1.3}
.pf-card__t small{color:var(--muted);font-size:.875rem}
.pf-card__m{color:#3b4a60!important}
.pf-h3{margin:12px 0 6px;font-size:1rem;color:var(--navy)}
.pf-links{margin:4px 0 8px}
.pf-up{gap:6px;flex-wrap:wrap}
.pf-busy{font-weight:700;color:var(--navy);background:var(--sand-3);border-radius:10px;padding:8px 10px}
.pf-media{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:12px}
.pf-m{position:relative;background:var(--sand-3);border-radius:14px;padding:8px}
.pf-img{display:block;width:100%;height:auto;max-height:340px;object-fit:cover;border-radius:10px;background:var(--sand-2);aspect-ratio:auto}
.pf-vid{display:block;width:100%;max-height:340px;border-radius:10px;background:#000}
.pf-vidph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-height:140px;border:2px dashed var(--sand);border-radius:10px;background:var(--ox-paper,#fff);font:inherit;font-weight:700;color:var(--navy);cursor:pointer}
.pf-vidph small{color:var(--muted);font-weight:400}
.pf-role{position:absolute;top:14px;inset-inline-start:14px;background:var(--navy);color:#fff;font-weight:700;font-size:.875rem;border-radius:999px;padding:2px 10px}
.pf-role--after{background:#067647}
.pf-alt{display:flex;flex-direction:column;gap:2px;margin-top:6px;font-size:.875rem;color:var(--muted)}
.pf-alt input{font:inherit;font-size:.95rem;border:1px solid var(--line);border-radius:10px;padding:8px;min-height:44px;color:var(--ink);background:var(--ox-paper,#fff)}
.pf-m__acts{justify-content:space-between;align-items:center;margin-top:6px}
.pf-m__acts .b{min-height:44px;min-width:44px}
.pf-rolesel select{min-height:44px;border:1px solid var(--line);border-radius:10px;font:inherit;padding:0 8px;background:var(--ox-paper,#fff)}
.pf-pairs{display:flex;flex-direction:column;gap:12px;margin-bottom:8px}
.pf-pair{margin:0;background:var(--ox-paper,#fff);border-radius:14px;padding:8px;box-shadow:0 1px 6px rgba(13,47,94,.08)}
.pf-pair__row{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.pf-pair__c{position:relative}
.pf-pair__c .pf-img{aspect-ratio:3/4;max-height:none;height:100%}
.pf-pair__c .pf-role{top:6px;inset-inline-start:6px}
.pf-pair figcaption{font-size:.875rem;color:var(--muted);margin-top:4px;text-align:center}
.pf-revs{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:10px}
.pf-rev{background:var(--sand-3);border-radius:14px;padding:10px}
.pf-rev blockquote{margin:0;white-space:pre-wrap;font-size:.98rem}
.pf-rev .b{min-height:44px}
.pf-shot{display:block;max-width:100%;max-height:260px;border-radius:10px;margin:6px 0}
.pf-url{word-break:break-all;background:var(--sand-3);border-radius:10px;padding:8px;font-size:.875rem}
.pf-pick{border:1px solid var(--line);border-radius:12px;margin:8px 0;padding:6px 10px;max-height:220px;overflow:auto}
.pf-pick label{display:flex;align-items:center;gap:8px;min-height:44px}
.pf-head h2{margin-top:0}
/* 🎤 voice */
.vc-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 10px;padding:8px 10px;background:var(--sand-3);border-radius:12px}
.vc-btn{min-height:44px;font-weight:700}
.vc-bar small{font-size:.875rem}
.vc-box{display:flex;flex-direction:column;gap:8px}
.vc-box textarea{font:inherit;border:1px solid var(--line);border-radius:12px;padding:10px;min-height:80px}
.vc-mic{min-height:52px;font-size:1.05rem}
.vc-mic[aria-pressed="true"]{background:#8a5a00;border-color:#8a5a00}
.vc-live{min-height:1.4em;margin:0;color:var(--navy);font-weight:600}
.vc-warn{background:#fff4e5;border-radius:12px;padding:10px;color:#7a3e00}
.vc-h{font-weight:700;margin:6px 0}
.vc-cards{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.vc-card{border:2px solid #b7d7b9;border-radius:14px;padding:10px;background:#f6fbf6}
.vc-card--free{border-color:var(--sand);background:var(--sand-3)}
.vc-card label{display:flex;align-items:center;gap:8px;min-height:44px}
.vc-card dl{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;margin:4px 0}
.vc-card dl div{display:flex;gap:4px;flex-wrap:wrap}
.vc-card dt{color:var(--muted);font-size:.875rem}
.vc-card dd{margin:0;font-weight:700}
/* 🧱 catalog */
.cat-ac{position:relative}
.cat-ac__row{display:flex;align-items:center;gap:8px}
.cat-ac__row input{flex:1;min-width:0}
.cat-prev{flex:none;width:48px;height:48px;border-radius:10px;background:var(--ox-paper,#fff);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden}
.cat-prev img{width:100%;height:100%;object-fit:cover}
.cat-sug{list-style:none;margin:4px 0 0;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--ox-paper,#fff);max-height:260px;overflow:auto;box-shadow:0 6px 18px rgba(13,47,94,.14)}
.cat-sug li{display:flex;align-items:center;gap:8px;padding:6px;border-radius:10px;cursor:pointer;min-height:48px}
.cat-sug li[aria-selected="true"],.cat-sug li:hover{background:var(--sand-3)}
.cat-sug li span:last-child{display:flex;flex-direction:column}
.cat-sug li small{color:var(--muted);font-size:.875rem}
.cat-more{border-top:1px solid var(--line)}
.cat-ic{flex:none;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:var(--ox-paper,#fff);overflow:hidden}
.cat-ic svg{width:36px;height:36px}
.cat-ic--ph img{width:40px;height:40px;object-fit:cover}
.cat-acts{gap:6px;margin-top:6px;flex-wrap:wrap}
.hb-li .cat-ic{margin-inline-end:8px}
.hb-li__t{flex:1;display:flex;flex-direction:column;min-width:0}
.cat-browse{display:flex;flex-direction:column;gap:6px}
.cat-browse input{font:inherit;border:1px solid var(--line);border-radius:12px;padding:10px;min-height:44px}
.cat-sug--open{max-height:55vh}
.cat-row{display:flex;align-items:center;gap:8px;width:100%;background:none;border:0;padding:6px;border-radius:10px;font:inherit;color:var(--ink);text-align:start;cursor:pointer;min-height:48px;text-decoration:none}
.cat-row:hover{background:var(--sand-3)}
.cat-row span:last-child{display:flex;flex-direction:column}
.cat-row small{color:var(--muted);font-size:.875rem}

/* 🎨 branding wizard (brand.js) — uses the prof popup frame */
.brand-card{max-width:600px}
.bw-steps{display:flex;gap:6px;list-style:none;margin:10px 0 4px;padding:0;font-size:.875rem;color:var(--muted)}
.bw-steps li{flex:1;display:flex;align-items:center;gap:5px;background:var(--bg);border-radius:999px;padding:4px 8px}
.bw-steps li span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--ox-paper,#fff);border:1px solid var(--line);font-weight:700;font-size:.875rem}
.bw-steps li.on{background:var(--navy);color:#fff}.bw-steps li.on span{color:var(--navy)}
.bw-steps li.done span{background:var(--ok);color:#fff;border-color:var(--ok)}
.bw-body .grid{grid-template-columns:1fr 1fr}
.bw-logo{display:flex;gap:12px;align-items:center;margin:6px 0 10px}
.bw-logo img{width:96px;height:96px;object-fit:contain;background:var(--ox-paper,#fff);border:1.5px solid var(--line);border-radius:16px;padding:6px}
.bw-nologo{display:grid;place-items:center;width:96px;height:96px;border:2px dashed var(--line);border-radius:16px;font-size:2rem}
.bw-logo .hint{margin:4px 0 0;font-size:.875rem}
.bw-h3{margin:12px 0 6px;font-size:.95rem;color:var(--navy)}
.bw-opts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bw-opt{display:flex;flex-direction:column;gap:6px;border:2px solid var(--line);border-radius:14px;background:var(--ox-paper,#fff);padding:6px;cursor:pointer;text-align:start;font:inherit;min-height:44px}
.bw-opt.on{border-color:var(--navy);box-shadow:0 0 0 3px var(--sand-3)}
.bw-opt__t{display:flex;align-items:center;gap:6px;font-size:.875rem;font-weight:600;color:var(--ink)}
.bw-sw{display:inline-flex;border-radius:6px;overflow:hidden;border:1px solid rgba(0,0,0,.15);vertical-align:middle}
.bw-sw i{display:block;width:16px;height:16px}
.bw-mini{border-radius:10px;overflow:hidden;border:1px solid var(--line);background:var(--ox-sunk,#f3f5f9);font-size:.72rem}
.bw-mini__bar{display:flex;justify-content:space-between;align-items:center;background:var(--mp);color:#fff;padding:5px 8px}
.bw-mini__bar em{font-style:normal;background:var(--ma);color:var(--mp);border-radius:999px;padding:0 6px;font-weight:700}
.bw-mini__body{display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding:6px}
.bw-mini__btn{background:var(--mp);color:#fff;border-radius:6px;padding:2px 6px}
.bw-mini__chip{background:var(--m3);border:1px solid var(--ma);color:var(--ox-ink,#14233a);border-radius:999px;padding:0 6px}
.bw-mini__lnk{color:var(--mb);text-decoration:underline}
.bw-man{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bw-pick{display:flex;gap:6px;align-items:center}
.bw-pick input[type=color]{width:48px;min-width:48px;height:44px;padding:2px;border-radius:10px}
.bw-pick input:not([type=color]){font-family:ui-monospace,Menlo,monospace}
.bw-adj{margin:8px 0 0;background:var(--sand-3);border-radius:10px;padding:6px 10px;font-size:.875rem}
.bw-note{background:var(--sand-3);border-radius:10px;padding:6px 10px}
.bw-checks{list-style:none;margin:8px 0;padding:0;font-size:.875rem}
.bw-checks li{display:flex;gap:6px;align-items:baseline;padding:2px 0}
.bw-checks li.ok>span:first-child{color:var(--ok);font-weight:800}.bw-checks li.bad>span:first-child{color:var(--bad);font-weight:800}
.bw-checks bdi{color:var(--muted)}
.bw-prev{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bw-fig{margin:0;display:flex;flex-direction:column;gap:4px}.bw-fig--wide{grid-column:1/-1}
.bw-fig figcaption{font-size:.875rem;color:var(--muted);text-align:center}
.bw-splash{border-radius:14px;min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#fff;padding:10px}
.bw-splash__tile{width:72px;height:72px;border-radius:18px;background:var(--ox-paper,#fff);display:grid;place-items:center;margin-bottom:4px}
.bw-splash__tile img{max-width:58px;max-height:58px}.bw-splash__tile b{font-size:1.6rem}
.bw-splash small{font-weight:700}
.bw-home{border-radius:14px;min-height:170px;background:linear-gradient(160deg,#3a4a63,#1c2535);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#fff}
.bw-home img{width:64px;height:64px;border-radius:15px}.bw-home small{font-size:.875rem}
.bw-doc{background:var(--ox-paper,#fff);border:1px solid var(--line);border-radius:12px;padding:10px}
.bw-doc__h{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:3px solid;padding-bottom:6px}
.bw-doc__h img{max-height:44px;max-width:120px}.bw-doc__h span{display:flex;flex-direction:column;align-items:flex-end}
.bw-doc__f{margin:6px 0 0;font-size:.74rem;color:var(--muted)}
.bw-panel{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}.bw-panel h3{margin:0 0 4px;font-size:1rem;color:var(--navy)}
@media (max-width:420px){.bw-body .grid,.bw-man{grid-template-columns:1fr}.bw-steps{font-size:.875rem}.bw-steps li{padding:3px 5px}}

/* 🛍️ WhatsApp catalog feed (portfolio.js) */
.pf-feed{margin-top:14px}
.pf-fcount{margin:8px 0 4px}
.pf-fskip{margin:4px 0;padding-inline-start:18px;font-size:.88rem}.pf-fskip li{margin:2px 0}
.pf-fguide{margin-top:10px;border:1px solid var(--line);border-radius:12px;padding:8px 10px;background:var(--ox-paper,#fff)}
.pf-fguide summary{cursor:pointer;font-weight:700;color:var(--navy);min-height:32px}
.pf-fguide ol{margin:8px 0;padding-inline-start:20px}.pf-fguide li{margin:4px 0}
.pf-fok{color:var(--ok);font-weight:700}
.brand-card.is-shown{animation:none}
.bw-steps li.done{color:var(--ink)}.bw-fig figcaption{color:var(--ink)}

/* 🧱 המוצרים שלי */
.hb-last { display: block; color: var(--muted, #5b6472); font-size: .875rem; }
.hb-lp { width: 100%; padding: 8px 4px; text-align: center; }
.hb-lines li { grid-template-columns: minmax(0, 1fr) 54px 64px 58px 36px; gap: 5px; }
.hb-shq { position: relative; }
.hb-sug { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .25rem; }
.hb-sug:empty { display: none; }
.hb-sug__b { width: 100%; text-align: start; display: flex; flex-direction: column; gap: .1rem; padding: .5rem .7rem; border: 1px solid #d5dbe5; border-radius: 10px; background: var(--ox-paper,#fff); color: inherit; font: inherit; cursor: pointer; min-height: 44px; }
.hb-sug__b small { color: var(--ox-mute,#5b6472); font-size: .875rem; }
.hb-sug__b--cat { background: var(--ox-sunk,#f7f9fc); }
.hb-sug__b--new { border-style: dashed; }
.ops-mat { margin: .8rem 0; padding: .7rem .8rem; border: 1px solid var(--ox-sunk,#e3e7ee); border-radius: 12px; background: #fbfcfe; }
.ops-mat h4 { margin: 0 0 .3rem; font-size: 1rem; display: flex; gap: .4rem; align-items: baseline; flex-wrap: wrap; }
.ops-only { font-weight: 400; color: var(--ox-mute,#5b6472); font-size: .875rem; }
.ops-mat__tot { margin: 0 0 .4rem; }
.ops-mat__tot b { font-size: 1.2rem; }

/* 💬 recommend + 🔑 password strength */
.pw-s { display: block; min-height: 1.1em; }
.pw-s--1 { color: #5b4636; } .pw-s--2 { color: #7a5200; } .pw-s--3 { color: #1e6b34; }
.pw-msg { margin: .4rem 0 0; font-weight: 600; } .pw-msg--ok { color: #1e6b34; } .pw-msg--bad { color: #5b4636; }
.usr-rec { margin: 0 0 .6rem; padding: 0 0 .6rem; border-bottom: 1px solid var(--ox-sunk,#e3e7ee); }

/* 📷 חשבונית → המוצרים שלי */
.inv-pick{display:grid;gap:10px;margin:12px 0}
.inv-pick .filebtn{position:relative;overflow:hidden;justify-content:center}
.inv-pick .filebtn input{position:absolute;inset:0;opacity:0;cursor:pointer;font-size:0}
.inv-pick .filebtn:focus-within{outline:3px solid #f2b705;outline-offset:2px}
.inv-wait progress{width:100%;height:14px}
.inv-thumb{display:block;max-width:100%;max-height:220px;margin:8px auto;border-radius:10px;border:1px solid var(--ox-line,#c9d2df);object-fit:contain;background:var(--ox-paper,#fff)}
.inv-thumb--big{max-height:none}
.inv-sum{background:#f3f6fb;border-radius:10px;padding:8px 10px;margin:10px 0;font-size:.95rem}
.inv-line{border:1.5px solid var(--ox-line,#c9d2df);border-radius:12px;padding:10px;margin:10px 0;position:relative;background:var(--ox-paper,#fff)}
.inv-line.is-off{opacity:.55;background:#f5f5f5}
.inv-inc{display:flex;align-items:center;gap:6px;font-weight:700;min-height:44px}
.inv-inc input{width:22px;height:22px}
.inv-nums{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;align-items:end}
.inv-nums .fld{margin:0}
.inv-tot{grid-column:1/-1;display:flex;justify-content:space-between;font-size:.95rem;padding-top:4px}
.inv-flag{margin:6px 0 0;color:#8a4b00;font-weight:700;font-size:.9rem}
.inv-pn{margin:6px 0 0;font-size:.9rem;color:#2b3a52}
.inv-upd{list-style:none;padding:0;margin:8px 0}
.inv-upd li{padding:6px 0;border-bottom:1px solid var(--ox-sunk,#e3e8ef)}
.inv-upd label{display:flex;gap:8px;align-items:flex-start;min-height:44px}
.inv-upd input{width:22px;height:22px;flex:none}
/* 🔗 שיתוף תצוגה */
.sv-reqb{align-self:flex-start;font-weight:700;color:#8a4b00;min-height:44px}
.sv-seatl{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px}
.sv-seatl li{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.88rem;background:var(--ox-sunk,#f6f8fb);border-radius:10px;padding:2px 8px}
.sv-h4{font-size:.98rem;margin:16px 0 2px;padding-top:12px;border-top:1px solid var(--ox-sunk,#e3e8ef)}
.sv-h{font-size:1.02rem;margin:14px 0 6px}
.sv-url{width:100%;box-sizing:border-box;font:inherit;padding:10px;border:1.5px solid #6b7a90;border-radius:10px;background:var(--ox-sunk,#f7f9fc);min-height:44px}
.sv-made{border:2px solid #1d7a46}
.sv-mode{border:1.5px solid var(--ox-line,#c9d2df);border-radius:12px;padding:8px 12px;margin:10px 0}
.sv-mode legend{font-weight:700;padding:0 4px}
.sv-mode label{display:flex;gap:8px;align-items:center;min-height:44px}
.sv-mode input{width:20px;height:20px}
.sv-acts{flex-wrap:wrap}
.sv-main{cursor:default}
.sv-badge{display:inline-block;min-width:18px;height:18px;line-height:18px;border-radius:9px;background:#8a5a00;color:#fff;font-size:.875rem;font-weight:700;text-align:center;margin-inline-start:4px;padding:0 4px}
.sv-home{display:flex;gap:10px;align-items:center;width:100%;text-align:right;margin:0 0 12px;border:2px solid #d4a017;background:#fffaf0;border-radius:14px;padding:12px;font:inherit;color:inherit;cursor:pointer;min-height:44px}
.sv-home small{display:block;color:var(--ox-mute,#4a5568)}

.inv-head .fld{min-width:0}.inv-head input,.inv-head select{min-width:0;width:100%;max-width:100%;box-sizing:border-box}

/* ---------- v2.6 ↔️ tab order ---------- */
.tabs [role=tab]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.tabs.tabs--sorting{scroll-behavior:auto;touch-action:none}
.tabs .tab--lift{transform:scale(1.08);box-shadow:0 6px 18px rgba(13,47,94,.35);outline:2px dashed var(--blue);outline-offset:2px;position:relative;z-index:2;transition:transform .12s}
body.is-tabsort{-webkit-user-select:none;user-select:none}
.ts-card h2{margin:4px 0 6px;font-size:1.2rem}
.ts-list{list-style:none;margin:8px 0;padding:0;overflow:auto;display:grid;gap:6px}
.ts-list li{display:flex;align-items:center;gap:8px;background:var(--bg);border-radius:12px;padding:6px 10px}
.ts-n{min-width:1.6em;height:1.6em;border-radius:50%;background:var(--ox-paper,#fff);display:inline-grid;place-items:center;font-weight:800;color:var(--navy);font-size:.875rem}
.ts-name{flex:1;font-weight:700}
.ts-mv{min-width:44px;min-height:44px;padding:0}
.ts-mv[disabled]{opacity:.35}
/* ---------- v2.6 📱 offline ---------- */
.sync--off{color:#8a4b00}
.bar:not(.bar--ed) .sync--off{color:#ffe0a3}
.ops-offbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;color:#4a2a00}
.ops-offbar .b--ghost{color:var(--ox-pri,#0d2f5e);background:var(--ox-paper,#fff)}
.ops-offbar span{flex:1;min-width:12em}
.ops-offbar small{color:#5f4a2c;width:100%;order:3}
.ops-first{display:grid;gap:6px;justify-items:center;text-align:center;line-height:1.55}
.ops-first__i{font-size:2rem}
.ops-offm{display:inline-block;background:var(--ox-sunk,#eef4ff);color:#173b6c;border-radius:999px;padding:0 8px;font-size:.875rem;font-weight:700;white-space:nowrap}
.gate__off{display:grid;gap:6px;background:var(--ox-paper,#fff);color:var(--ink);border-radius:12px;padding:12px;text-align:start;font-weight:500;line-height:1.55;margin-top:6px}
.gate__off b{color:var(--navy);font-size:1.02rem}
.gate__offb{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.sync-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;background:#fff4e5;border-bottom:1px solid #f5c26b;padding:8px 12px;font-size:.92rem;color:#5c3200}
.sync-bar[hidden]{display:none}
.sync-bar span{flex:1;min-width:14em}
.cf-pop{position:fixed;inset:0;z-index:95;background:rgba(9,30,60,.55);display:flex;align-items:flex-end;justify-content:center}
.cf-pop[hidden]{display:none}
.cf-box{position:relative;width:100%;max-width:600px;max-height:92vh;max-height:92dvh;overflow:auto;background:var(--ox-paper,#fff);border-radius:22px 22px 0 0;border-top:5px solid #f5a524;padding:14px 14px calc(14px + env(safe-area-inset-bottom))}
@media (min-width:600px){.cf-pop{align-items:center;padding:20px}.cf-box{border-radius:22px}}
.cf-box h2{margin:2px 0 6px}
.cf-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:12px}
.cf-card{border:1px solid var(--line);border-radius:14px;padding:10px 12px}
.cf-card h3{margin:0 0 6px;font-size:1rem}
.cf-two{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:.88rem}
.cf-two small{display:block;color:var(--muted)}
.cf-diff{width:100%;border-collapse:collapse;margin:8px 0;font-size:.875rem}
.cf-diff th,.cf-diff td{border-bottom:1px solid var(--line);padding:4px 6px;text-align:start;vertical-align:top}
.cf-diff thead th{color:var(--muted);font-weight:600}
.cf-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}

/* v2.7 — ℹ️ in three groups, the 👥 tab, read-only paid/left in the quote, a quiet dot for a new lead */
.hb-grp{margin:14px 0 6px}
.hb-grp__t{font-size:1rem;font-weight:800;color:var(--navy);margin:16px 4px 8px;padding-bottom:4px;border-bottom:2px solid var(--sand)}
.hb-people{background:var(--ox-paper,#fff);border-radius:14px;padding:12px 14px;margin-bottom:8px}
.hb-people p{margin:0 0 10px;line-height:1.6}
.hb-tools{margin-top:12px}
.hb-tools .panel{box-shadow:none;border:1px solid var(--line);margin:10px 0}
.usr-intro{margin:4px 2px 10px}
.usr-sec{margin-bottom:10px}
.usr-sec__b{padding:4px 12px 12px}
.usr-sec>summary .pill{vertical-align:middle}
.usr-join{background:var(--bg);border-radius:12px;padding:10px 12px;margin-top:12px}
.usr-join p{margin:4px 0 8px;line-height:1.6}
.tab-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--blue);margin-inline-start:5px;vertical-align:super}
.tab-dot[hidden]{display:none}
.paybox{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:4px 0 12px}
.paybox p{margin:2px 0}
.paybox__dl{display:flex;gap:18px;flex-wrap:wrap;margin:0 0 4px}
.paybox__dl div{display:flex;flex-direction:column}
.paybox__dl dt{font-size:.875rem;color:var(--muted)}
.paybox__dl dd{margin:0;font-size:1.05rem}
.paybox .b{margin-top:6px}
.inv-flag--info{color:#1b4f8a;font-weight:600}
.usr-sec>summary span span::before{content:none !important;display:none !important}

/* v2.8 🏢 פרטי העסק — one form; the contract shows the same details read-only */
.hb-bizedit{margin:8px 0 4px}
.hb-bizedit>summary{list-style:none;display:inline-flex;cursor:pointer}
.hb-bizedit>summary::-webkit-details-marker{display:none}
.hb-bizedit[open]>summary{margin-bottom:10px}
.hb-bizform{background:var(--ox-paper,#fff);border:1px solid var(--line);border-radius:14px;padding:12px}
.hb-mnote{background:var(--sand-3);border-radius:10px;padding:8px 10px}
.ct-bizro div{grid-template-columns:110px 1fr}
.ct-miss{color:var(--bad);font-weight:700}
.hb-vat{border:0;margin:0;padding:0;display:grid;gap:8px}
.hb-vat legend{font-weight:700;margin-bottom:6px;padding:0}
.hb-radio{display:flex;gap:10px;align-items:flex-start;background:var(--ox-paper,#fff);border:1px solid var(--line);border-radius:12px;padding:12px;cursor:pointer;min-height:44px}
.hb-radio input{width:22px;height:22px;margin-top:2px;accent-color:var(--navy);flex:none}
/* v2.8 🔔 reminders + leads: one quiet closed line (home, יומן) and a small dot on the day in the month */
.hb-bell{margin:6px 0 10px;font-size:.92rem}
.hb-bell>summary{list-style:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;padding:4px 14px;border-radius:999px;background:var(--ox-paper,#fff);border:1px solid var(--line);color:var(--ink);font-weight:700;cursor:pointer}
.hb-bell>summary::-webkit-details-marker{display:none}
.hb-bell>summary:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.hb-bell[open]>summary{background:var(--sand-3)}
.hb-bell__b{margin-top:8px}
.hb-bell__lead{display:block;width:100%;text-align:start;min-height:44px;padding:10px 12px;margin:0 0 8px;border-radius:12px;border:1px solid var(--line);background:var(--ox-paper,#fff);color:var(--navy);font:inherit;font-weight:700;cursor:pointer}
.hb-bell--none{color:var(--muted);font-size:.875rem;margin:4px 2px 10px}
.hb-mday{position:relative}
.hb-rdot{position:absolute;top:4px;inset-inline-start:4px;width:7px;height:7px;border-radius:50%;background:#b07d3c;text-decoration:none;display:block}
/* v2.9.3 (his request): a reminder on the day = a brown dot, a bit bigger (8px, was 7px), at the very top RIGHT corner of the day (physical right, also in RTL), just over the cell's rounded edge so it never covers the number; a thin white ring keeps it clear on the selected (navy) and holiday days */
.hb-rdot{inset-inline-start:auto;inset-inline-end:auto;top:-2px;right:1px;left:auto;width:8px;height:8px;background:#8B5A2B;box-shadow:0 0 0 1.5px #fff;z-index:1}
.hb-rdot--in{width:8px;height:8px}
/* v2.9.3 (his request): the version small at the bottom, under the © line */
.copy--app .app-ver{display:block;margin-top:4px;font-size:.875rem}
/* v2.9.3 (his request): "על העסק" — his own description in the shared preview (read only) */
.vw-about h2{margin:0 0 6px}
.vw-about__t{white-space:pre-line;margin:0 0 6px;line-height:1.6}
.vw-about__w{margin:0;font-size:.9rem}
.hb-rdot--in{position:static;display:inline-block;vertical-align:middle;margin-inline-start:6px}

/* v2.9: חודשי / שבועי / יומי — regular-size buttons (his request), month first */
.hb-chips .hb-vbtn{min-height:44px;padding:8px 16px;font-size:1rem}

/* v2.9.4: on top of 💰 תשלומים — finished work stages to collect, and (quietly) stages expected soon */
.hb-salerts{border:1.5px solid var(--sand);background:#fffaf2}
.hb-salerts__h{font-size:1rem;margin:0 0 8px;color:var(--navy)}
.hb-salerts__h--soon{margin-top:12px;color:var(--muted);font-size:.92rem}
.hb-salerts__l{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.hb-salert{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:var(--ox-paper,#fff);border-radius:10px;padding:8px 10px;border:1px solid #eadcc4}
.hb-salert.is-late{border-color:#f0d9a8}
.hb-salert--soon{background:transparent;border-style:dashed}
.hb-salert__t{flex:1 1 200px;text-align:start;background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;display:grid;gap:2px}
.hb-salert__t small{color:var(--muted)}
.hb-wsl{display:block;color:var(--muted);font-size:.875rem}
.hb-wsnote{margin:0 0 8px}
.hb-ev--est .hb-ev__b{border-style:dashed}

/* ---------- v2.9.5: flow.js — project from an approved quote, הוצאות מוכרות, customer card, who works where, quote-link opens ---------- */
.fl-wait{background:#fff8e6;border:1px solid #f0d58a;border-radius:10px;padding:10px 12px;margin:10px 0}
.fl-wait p{margin:0 0 8px;font-size:.95rem}
.fl-pacts{margin:6px 0}
.fl-tblw{overflow-x:auto;-webkit-overflow-scrolling:touch}
.fl-exp{width:100%;font-size:.875rem;border-collapse:collapse}
.fl-exp td,.fl-exp th{white-space:nowrap;padding:5px 3px}
.fl-exp td:first-child{white-space:normal;min-width:70px}
.fl-exp .linkbtn{text-align:right}
.fl-tot{display:flex;flex-wrap:wrap;gap:6px 14px;margin:8px 0;font-size:.92rem}
.fl-tot b{color:var(--navy,#0d2f5e)}
.fl-xp{margin-top:6px}
.fl-opens{display:block;font-size:.875rem;color:var(--ox-mute,#4a5568);margin-top:2px}
.fl-qo{margin:8px 0}
.fl-qo__i{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;background:var(--ox-sunk,#f6f8fb);border:1px solid var(--ox-sunk,#e3e7ee);border-radius:10px;padding:6px 10px;margin:4px 0;font-size:.9rem}
.fl-qo__i p{margin:0}
.fl-qo__i small{color:#5b6577}
.fl-qo__b{display:flex;gap:4px}
.fl-who ul,.fl-wl{list-style:none;margin:0;padding:0}
.fl-wl li{padding:4px 0;border-bottom:1px solid #eef1f5}
.fl-wline{margin:4px 0 0;font-size:.875rem;color:#3d4757}
.fl-ask{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;font-size:.88rem;background:var(--ox-sunk,#f6f8fb);border-radius:8px;padding:6px 8px}
.fl-ask span{flex:1 1 100%}
.fl-pickrow{margin:6px 0 10px;align-items:center;gap:8px;flex-wrap:wrap}
.fl-pick{max-height:52vh;overflow:auto}
.fl-url{word-break:break-all;background:var(--ox-sunk,#f6f8fb);border-radius:8px;padding:6px 8px;font-size:.875rem}
.fl-csum .fl-tot{margin:0}

/* v2.9.6: 💬 עזרה — a small, quiet button at the top of every screen (floats to the left edge; the text flows beside it) */
.help-btn{float:left;margin:0 0 6px 8px;min-height:36px;padding:4px 10px;border-radius:999px;border:1.5px solid var(--line);background:var(--ox-paper,#fff);color:var(--navy);font:inherit;font-size:.88rem;font-weight:700;cursor:pointer;line-height:1.2;position:relative;z-index:1}
.help-btn:hover,.help-btn:focus-visible{border-color:var(--navy)}
.help-btn--ed{float:none;margin:0 6px;min-height:34px;min-width:34px;padding:2px 8px;background:transparent;color:inherit;border-color:rgba(255,255,255,.45)}
.gd-help{border:0;border-radius:18px;padding:0;width:min(640px,calc(100% - 16px));max-height:calc(100% - 24px);box-shadow:0 20px 60px rgba(0,0,0,.3);overflow:hidden}
.gd-help[open]{display:flex;flex-direction:column}
.gd-help::backdrop{background:rgba(9,25,48,.45)}
.gd-help__top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;border-bottom:1.5px solid var(--line);background:var(--ox-paper,#fff)}
.gd-help__top h2{margin:0;font-size:1.15rem;color:var(--navy)}
.gd-help__body{overflow:auto;padding:10px 14px 18px;-webkit-overflow-scrolling:touch}
.gd-search{margin:8px 0}
.gd-search .gd-q{width:100%;min-height:44px;border:1.5px solid var(--line);border-radius:12px;padding:8px 12px;font:inherit;background:var(--ox-paper,#fff)}
.gd-hello{margin:0 0 6px}
.gd-task{margin:12px 0 4px;font-size:1rem;color:var(--navy)}
.gd-faq{margin:0 0 6px}
.gd-faq dt{font-weight:800;margin-top:6px}
.gd-faq dd{margin:2px 0 0;padding-inline-start:12px}
.gd-more{color:#566;font-size:.92rem;margin:6px 0 0}
.gd-also{font-size:.95rem;margin:4px 0 6px}
.ops-where{margin:0 0 4px;font-size:.88rem;color:#566;overflow-wrap:anywhere}
.ops-ends{margin:6px 0 0;font-size:.95rem}
.gd-hit{background:#fff3c4;border-radius:6px}
.gd-help .gd-search{position:sticky;top:-10px;z-index:2;background:var(--ox-paper,#fff);padding:8px 0 6px;margin:0}

/* v2.9.7 🏬 store prices: a store price is shown in a softer colour than his own, with the stores and the date under the name */
.hb-price--web { color: var(--ox-mute,#475467); font-weight: 600; }
.hb-web { display: block; color: var(--muted, #5b6472); font-size: .875rem; line-height: 1.35; overflow-wrap: anywhere; }
p.hb-web { margin: .5rem 0 0; background: #f2f4f7; border-radius: 10px; padding: .5rem .7rem; font-size: .875rem; }
.hb-sp > summary { cursor: pointer; padding: .2rem 0; list-style-position: inside; }
.hb-sp > summary small { color: var(--muted, #5b6472); font-weight: 400; }
.hb-sp ul { list-style: none; margin: .4rem 0; padding: 0; }
.hb-sp li { display: flex; align-items: center; gap: .5rem; padding: .45rem 0; border-bottom: 1px solid #eaecf0; }
.hb-sp li:last-child { border-bottom: 0; }
.hb-sp li .hb-li__t small { color: var(--muted, #5b6472); font-size: .875rem; }
.hb-sp__have { color: #067647; font-size: .875rem; font-weight: 700; white-space: nowrap; }

/* v2.9.9 ⚙️ הגדרות מתקדמות — one regular-size button at the bottom of ℹ️ מידע, closed by default */
.hb-adv{margin:14px 0 6px;text-align:center}
.hb-adv>summary{list-style:none;display:inline-flex;cursor:pointer;min-width:220px}
.hb-adv>summary::-webkit-details-marker{display:none}
.hb-adv>summary::after{content:"▾";margin-inline-start:6px;color:var(--muted);transition:transform .15s}
.hb-adv[open]>summary::after{transform:rotate(180deg)}
.hb-adv[open]>summary{margin-bottom:10px;background:#f3ede4}
.hb-adv__b{text-align:start}
.hb-adv__b>.hb-info{margin:0}

/* v2.9.9 📇 בחר מאנשי הקשר — regular size, under the phone field; only where the phone has a contact list */
.cpick-btn{margin-top:6px;width:100%}
.cpick-dlg .cpick-list{display:grid;gap:8px;margin:10px 0}
/* v2.9.11 🔄 סנכרון אוטומטי עם יומן גוגל */
.hb-gsync .hb-gs-url{margin:8px 0;user-select:all;-webkit-user-select:all}
.hb-gs-steps{margin:10px 0}
.hb-gs-steps li{margin-bottom:6px}

/* v2.9.20: 🏦 מע"מ לשמור — a gentle gold outline (no red), on each payment, in the payment dialog, the period card and one line on the home screen */
.vs-line{flex-basis:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;border:1.5px solid #d4a017;background:#fffaf0;color:#5c4300;border-radius:10px;padding:4px 10px;font-size:.92rem;margin-top:4px}
.vs-line b{color:#4a3600}
.vs-line.is-moved{background:#fbf8ef;border-color:#e2cf8f}
.vs-mv{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--navy);cursor:pointer;min-height:38px;width:auto}
.vs-mv input[type=checkbox]{accent-color:#b8860b}
.vs-dlg .vs-line--dlg{margin:0 0 4px;display:block}
.vs-card{border:2px solid #d4a017;background:#fffdf6}
.vs-card h2{font-size:1.05rem}
.vs-card__per{margin:-2px 0 8px;color:#5c4300;font-weight:700}
.vs-card__nums{display:flex;gap:8px;flex-wrap:wrap}
.vs-card__n{flex:1;min-width:130px;display:flex;flex-direction:column;background:var(--ox-paper,#fff);border:1px solid #ecd9a0;border-radius:10px;padding:8px 10px}
.vs-card__n small{color:var(--muted);font-size:.875rem}
.vs-card__n b{font-size:1.25rem;color:var(--navy)}
.vs-card__moved{margin:8px 0 4px}
.vs-card__hint{margin-bottom:0}
.vs-list summary{cursor:pointer;font-weight:700;color:var(--navy);min-height:44px;display:flex;align-items:center}
.vs-list ul{list-style:none;margin:0;padding:0}
.vs-list li{padding:8px 0;border-top:1px solid var(--line);font-size:.92rem}
.vs-home{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:right;border:1.5px solid #d4a017;background:#fffaf0;color:#5c4300;border-radius:12px;padding:8px 12px;margin:10px 0 0;cursor:pointer;min-height:44px;font:inherit}
.vs-home b{color:var(--navy)}
.vs-home small{color:var(--muted)}
/* v2.9.20: 💬 שלח ברוך הבא בוואטסאפ (owner only) */
.usr-wel{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;background:var(--ox-sunk,#f6f8fb);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:.9rem;max-height:46vh;overflow:auto;margin:6px 0 10px}

/* v2.9.29: 🏦 מע״מ לשמור — one line, its sheet, the pop-up (gold, never red) */
.vs-one{flex-direction:row!important;align-items:center!important;justify-content:space-between;gap:8px;min-height:44px;padding:8px 12px;margin:10px 0}
.vs-one__t{font-weight:600}.vs-one__go{color:#8a6a10;font-size:1.25rem;line-height:1}
.vs-sh{max-width:560px;width:calc(100% - 24px)}.vs-sh h2{font-size:1.1rem;margin-bottom:6px}
.vs-sh__big{font-size:1.05rem;margin:4px 0 8px}.vs-sh__big b{font-size:1.3rem;color:var(--navy)}
.vs-sh__months{list-style:none;padding:0;margin:0 0 8px;display:flex;gap:8px;flex-wrap:wrap}
.vs-sh__months li{flex:1;min-width:120px;display:flex;justify-content:space-between;gap:6px;background:#fffaf0;border:1px solid #ecd9a0;border-radius:10px;padding:6px 10px}
.vs-sh__h{font-size:1rem;margin:10px 0 4px}
.vs-sh__list{list-style:none;padding:0;margin:0}
.vs-sh__it{border:1px solid var(--line);border-radius:10px;padding:8px 10px;margin-bottom:6px;background:var(--ox-paper,#fff)}
.vs-sh__it.is-moved{background:#fbf8ef}
.vs-sh__w{font-size:.95rem}.vs-sh__src{background:#eef6f0;border:1px solid #9cc9ac;color:#1d4d30;border-radius:999px;padding:0 8px;font-size:.875rem;font-weight:700}
.vs-sh__n{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-top:4px;font-size:.92rem}
.vs-sh__n b{color:#4a3600}
.vs-sh__cpa{background:var(--ox-sunk,#f3f5f9);border-radius:10px;padding:6px 10px;font-size:.92rem;margin:8px 0}
.vs-toast{position:fixed;top:calc(60px + env(safe-area-inset-top));left:50%;transform:translate(-50%,-12px);opacity:0;width:max-content;background:#fffaf2;color:#4a3600;border:1px solid #e6d3a3;
  padding:8px 14px;border-radius:14px;z-index:70;transition:opacity .18s ease-out,transform .18s ease-out;font-weight:600;max-width:90vw;text-align:center;pointer-events:none;box-shadow:0 4px 16px rgba(60,40,10,.14);cursor:pointer}
.vs-toast--on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
@media (prefers-reduced-motion:reduce){.vs-toast{transition:none;transform:translate(-50%,0)}}
/* v2.9.29b: the small gold dot ("חדש") on the 🏦 line until the sheet is opened once */
.vs-new{flex:0 0 auto;width:10px;height:10px;margin-inline-start:auto;margin-inline-end:8px;border-radius:50%;background:#c9a227;box-shadow:0 0 0 3px #f6ecd2}

/* v2.9.29b: ℹ️ → 🔒 פרטיות ואבטחה — three small headings in one section */
.hb-secu__h{margin:20px 0 8px;font-size:1rem;color:var(--ox-pri,#0a2c6e)}.hb-info__b>.hb-secu__h:first-child,.hb-info__b>.hint:first-child+.hb-secu__h{margin-top:4px}.hb-secu__h small{font-weight:400;color:var(--ox-mute,#5a6576)}

/* v2.9.32: a contractor's set-once details (שם העסק, השם המלא, ת.ז, לשון פנייה, מקצוע) — read-only, gold, "לשינוי – פנה לתמיכה" */
.fld--lock .fld__l{font-weight:700;color:var(--navy,#0d2f5e);font-size:.92rem}
.fld--lock .fld__v{min-height:46px;display:flex;align-items:center;gap:6px;padding:8px 12px;border:1.5px dashed #c9a24a;border-radius:10px;background:#fffaf0;color:var(--ox-ink,#14233a);font-weight:600}
.hb-lock{margin:8px 0 4px}
.hb-lock a{color:var(--ox-pri,#0d2f5e);font-weight:700;text-decoration:underline}
.gn-locked,.hb-gro{margin:6px 0;padding:8px 12px;border:1.5px dashed #c9a24a;border-radius:10px;background:#fffaf0;color:var(--ox-pri,#0d2f5e);display:inline-block}
.hb-out .b--out{background:#fff;color:#6b4d0f;border:2px solid #c9a24a}   /* v2.9.32: יציאה מהחשבון – amber/gold outline, never red */
.hb-out .b--out:hover{background:#fffaf0}
.hb-adv .hb-out{margin-top:0}
