/* השקפים של המצגת — קנבס קבוע 1280×720 (16:9), שהוא גם גודל עמוד ה-PDF (@page).
   בתצוגה המקדימה השקף מוקטן ב-transform לרוחב העמודה; בהדפסה — בגודל מלא, שקף לכל עמוד.
   הצבעים של השקפים קבועים (לא מצב כהה): המצגת מודפסת ונשלחת כמו שהיא.
   אותה שפה כמו בכלי: מה שהיה = אדום מקווקו, מה שיהיה = כחול רציף, תחנה חדשה = ירוק. */
.deck{
  --s-ink:#13201b; --s-ink2:#1f2e28; --s-ink-fg:#eef3f0; --s-ink-sub:#a9c2b8;
  --s-paper:#f2f5f3; --s-card:#ffffff; --s-line:#d9e1dd; --s-fg:#1b2420; --s-sub:#5b6a63;
  --s-before:#b8361f; --s-before-bg:#fbe9e5; --s-after:#1f5fd1; --s-after-bg:#e6eefc;
  --s-add:#127a4f; --s-add-bg:#e2f3ea; --s-note:#f2c14e; --s-note-fg:#211a04;
  /* העיצוב (data-look): צבע מותג (שלט הקו, כותרות) ופס כותרת. צבעי לפני/אחרי במפה לא משתנים */
  /* המסלול החדש — ירוק; תחנה חדשה — ירוק כהה יותר עם טבעת לבנה; קו בלי שינוי — כחול-אפור. הישן — אדום מקווקו */
  --s-new:#1f9152; --s-new-stop:#0a5530; --s-same:#5f7d96;
  --s-brand:#1f5fd1; --s-on-brand:#ffffff; --s-band:#13201b; --s-band2:#1f2e28; --s-band-fg:#eef3f0; --s-band-sub:#a9c2b8;
  display:flex;flex-direction:column;gap:18px;
}
.sframe{position:relative;width:100%;aspect-ratio:16/9;max-width:100%;overflow:hidden;border-radius:10px;box-shadow:0 1px 2px rgba(0,0,0,.12),0 6px 22px rgba(0,0,0,.10);background:var(--s-paper)}
.sframe[hidden]{display:none!important}
.slide{position:absolute;top:0;right:0;width:1280px;height:720px;transform-origin:top right;overflow:hidden;
  background:var(--s-paper);color:var(--s-fg);font-family:'Assistant','Heebo',Arial,sans-serif;direction:rtl;
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
.slide *{box-sizing:border-box}
.slide h1,.slide h2,.slide h3,.slide p{margin:0;font-family:inherit}
.slide .hd{font-family:'Heebo','Assistant',Arial,sans-serif}
.slide .num{font-variant-numeric:tabular-nums}

/* החתימה: מקווקו אדום שהופך לכחול */
.slide .seam{display:flex;align-items:center;height:8px}
.slide .seam::before{content:"";flex:1;height:5px;background:repeating-linear-gradient(to left,var(--s-before) 0 16px,transparent 16px 26px)}
.slide .seam::after{content:"";flex:1;height:7px;background:var(--s-new);border-radius:0 4px 4px 0}
.slide .seam i{width:18px;height:18px;border-radius:50%;background:var(--s-band);border:4px solid var(--s-new);flex:none;margin:0 -2px}

.slide .badge{font-family:'Heebo',Arial,sans-serif;font-weight:900;background:var(--s-brand);color:var(--s-on-brand);border-radius:18px;line-height:1;
  padding:14px 26px;font-size:76px;text-align:center;flex:none;font-variant-numeric:tabular-nums;white-space:nowrap;
  display:inline-flex;align-items:center;justify-content:center}
/* בגופן יש יותר מקום מתחת לספרות מאשר מעליהן — מורידים מעט את המספר כדי שייראה באמצע התיבה */
.slide .badge>*,.slide .badge{text-indent:0}
.slide .badge{padding-top:calc(14px + .07em);padding-bottom:calc(14px - .07em)}
.slide .badge.sm{padding-top:calc(8px + .07em);padding-bottom:calc(8px - .07em)}
.slide .badge.sm{font-size:30px;padding:8px 14px;border-radius:10px;min-width:62px}
.slide .badge.word{font-size:62px}

/* פס תחתון בשקפי התוכן */
.slide .sfoot{position:absolute;right:48px;left:48px;bottom:18px;display:flex;justify-content:space-between;gap:16px;font-size:13px;color:var(--s-sub)}
.slide .note{background:var(--s-note);color:var(--s-note-fg);border-radius:12px;padding:16px 22px;font-weight:800;font-size:21px;line-height:1.4}

/* כל שקף ממלא את כל העמוד (גם הרקע של שקף הסיום) */
.slide > div:first-child{width:1280px;height:720px}

/* ---- שער ---- */
.s-cover{display:flex;flex-direction:column}
.s-cover .band{background:var(--s-band);color:var(--s-band-fg);padding:34px 64px 22px;display:flex;flex-direction:column;gap:18px}
.s-cover .row{display:flex;align-items:center;gap:30px}
.s-cover .t{display:flex;flex-direction:column;gap:6px;min-width:0}
.s-cover h1{font-size:54px;font-weight:900;line-height:1.1}
.s-cover .sub{font-size:26px;color:var(--s-band-sub);font-weight:600}
.s-cover .body{padding:20px 64px 22px;display:flex;flex-direction:column;gap:14px;flex:1;min-height:0}
.s-cover .body > *{flex:none}
/* "מה משתנה?" מתכווץ (ונחתך) לפני שההבהרה יוצאת מהעמוד — טקסט ארוך מתקנים בעריכה */
.s-cover .body > .what{flex:0 1 auto;min-height:0;overflow:hidden}
.s-cover .facts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.s-cover .fact{background:var(--s-card);border-radius:14px;padding:10px 18px;display:flex;flex-direction:column;gap:2px;border-top:6px solid var(--s-brand)}
.s-cover .fact .l{font-size:17px;font-weight:700;color:var(--s-sub)}
.s-cover .fact .v{font-family:'Heebo',Arial,sans-serif;font-size:25px;font-weight:800;line-height:1.2}
.s-cover .fact .x{font-size:19px;font-weight:600;color:var(--s-sub)}
.s-cover .dirs{display:flex;flex-direction:column;background:var(--s-card);border-radius:14px;padding:4px 20px}
.s-cover .dirs div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid var(--s-line)}
.s-cover .dirs div:first-child{border-top:none}
.s-cover .dirs b{font-family:'Heebo',Arial,sans-serif;font-size:22px;font-weight:800}
.slide .ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}
.s-cover .what{background:var(--s-card);border-radius:14px;padding:12px 20px 14px;display:flex;flex-direction:column;gap:6px}
.s-cover .what h3{font-size:20px;font-weight:900;color:var(--s-brand);display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.s-cover .what h3 .counts{font-family:'Assistant',Arial,sans-serif;font-weight:600}
.s-cover .what ul{margin:0;padding:0 22px 0 0;display:flex;flex-direction:column;gap:3px}
.s-cover .what li{font-size:17.5px;line-height:1.33}
.s-cover .what li b{font-weight:800}
.s-map .segs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.s-map .segs li{display:flex;gap:10px;align-items:flex-start;font-size:17.5px;line-height:1.38}
.s-map .segs li b{font-weight:800}
.slide .segn{font-style:normal;flex:none;width:26px;height:26px;border-radius:7px;background:var(--s-ink);color:#fff;border:2px solid #f2c14e;display:inline-flex;align-items:center;justify-content:center;font:800 13px 'Heebo',sans-serif;margin-top:1px}
.slide .segb{flex:none;width:9px;height:9px;border-radius:50%;background:var(--s-fg);margin:9px 8px 0 9px}
.slide .dot.mv{background:#55625c}
.s-map .counts,.slide .counts{font-size:15px;color:var(--s-sub);margin:0}
.s-stops li .nr{display:block;font-size:13px;color:var(--s-sub);line-height:1.2}
.s-stops li.two-l{min-height:44px}
.s-cover .intro{font-size:20px;line-height:1.4;color:var(--s-fg);max-height:56px;overflow:hidden}
.s-cover .note{font-size:17px;padding:10px 18px}

/* ---- סקירה (כמה קווים) ---- */
.s-over{padding:44px 56px 56px;display:flex;flex-direction:column;gap:18px}
.s-over h2{font-size:38px;font-weight:900}
.s-over table{width:100%;border-collapse:collapse;font-size:18px}
.s-over th{background:var(--s-band);color:var(--s-band-fg);text-align:right;padding:9px 12px;font-weight:700}
.s-over td{padding:9px 12px;border-bottom:1px solid var(--s-line);vertical-align:middle;background:var(--s-card)}
.s-over tr:nth-child(odd) td{background:var(--s-paper)}
.s-over td.ln{white-space:nowrap}
.s-over td.ln b{font-family:'Heebo',Arial,sans-serif;font-size:22px;margin-left:8px}

/* תגיות סיכום */
.slide .chips{display:flex;flex-wrap:wrap;gap:6px}
.slide .chip{font-size:16px;font-weight:800;padding:3px 11px;border-radius:999px;white-space:nowrap}
.slide .chip.geo{background:var(--s-add-bg);color:var(--s-new-stop)}
.slide .chip.rem{background:var(--s-before-bg);color:var(--s-before)}
.slide .chip.add{background:var(--s-add-bg);color:var(--s-add)}
.slide .chip.mv{background:var(--s-line);color:var(--s-fg)}

/* ---- שקף מפה: מפה משמאל, הסבר מימין ---- */
.s-map .smap{position:absolute;left:0;top:0;width:760px;height:720px;background:#dfe6e2}
.s-map .side{position:absolute;right:0;top:0;width:520px;height:720px;padding:32px 36px 40px 28px;display:flex;flex-direction:column;gap:12px}
.s-map .side .row{display:flex;align-items:center;gap:14px}
.s-map h2{font-size:30px;font-weight:900;line-height:1.15}
.s-map .lead{font-size:20px;line-height:1.45;color:var(--s-fg)}
.s-map .lead b{font-weight:800}
.s-map .legend{background:var(--s-card);border-radius:12px;padding:10px 14px;display:grid;grid-template-columns:1fr 1fr;gap:7px 12px;font-size:14.5px;margin-top:auto}
.s-map .legend span{display:flex;align-items:center;gap:10px}
.slide .sw{display:inline-block;width:34px;height:0;border-top:5px solid var(--s-new);flex:none}
.slide .sw.same{border-top-color:var(--s-same)}
.slide .sw.old{border-top:5px dashed var(--s-before)}
.slide .sw.near{border-top:3px dotted var(--s-ink)}
.slide .dot{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;flex:none;color:#fff;font:800 11px 'Heebo',sans-serif;border:2px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.25)}
.slide .dot.seg{background:var(--s-ink);border-radius:6px;border-color:#f2c14e}.slide .dot.rem{background:var(--s-before)}.slide .dot.add{background:var(--s-new-stop)}.slide .dot.same{background:#fff;border:3px solid #55625c;box-shadow:none;width:16px;height:16px}
.s-map .smap .leaflet-control-attribution{font-size:10px}
.s-map .inset,.s-one .inset{position:absolute;left:14px;top:14px;width:190px;height:142px;border:3px solid #fff;border-radius:10px;overflow:hidden;
  box-shadow:0 2px 10px rgba(0,0,0,.3);background:#dfe6e2;z-index:600}
.s-map .part{font-size:19px;font-weight:800;color:var(--s-brand)}

/* ---- שקף תחנות ---- */
.s-stops{padding:36px 48px 60px;display:flex;flex-direction:column;gap:18px}
.s-stops .head{display:flex;align-items:center;gap:14px}
.s-stops h2{font-size:32px;font-weight:900;line-height:1.15}
.s-stops .cols{display:grid;grid-template-columns:1fr 1fr;gap:28px;flex:1;min-height:0}
.s-stops .grp{display:flex;flex-direction:column;gap:8px;min-width:0}
.s-stops .grp h3{font-size:22px;font-weight:900;display:flex;align-items:center;gap:8px;padding-bottom:6px;border-bottom:3px solid currentColor}
.s-stops .grp.rem h3{color:var(--s-before);border-bottom-style:dashed}
.s-stops .grp.add h3{color:var(--s-add)}
.s-stops .two{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px;align-content:start}
.s-stops ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.s-stops li{display:flex;align-items:center;gap:8px;font-size:15.5px;line-height:1.2;padding:2px 0;border-bottom:1px solid var(--s-line);min-height:28px}
.s-stops li .nm{flex:1;min-width:0}
.s-stops li .cd{color:var(--s-sub);font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.s-stops .empty{font-size:18px;color:var(--s-sub);padding-top:4px}
.s-stops .extra{font-size:15px;color:var(--s-sub);margin-top:-8px}

/* ---- סיום ---- */
.s-close{background:var(--s-band);color:var(--s-band-fg);padding:64px 72px;display:flex;flex-direction:column;justify-content:center;gap:28px}
.s-close h2{font-size:52px;font-weight:900}
.s-close .phones{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.s-close .ph{background:var(--s-band2);border-radius:14px;padding:18px 22px;border-top:6px solid var(--s-brand);display:flex;flex-direction:column;gap:4px}
.s-close .ph .l{font-size:19px;color:var(--s-band-sub);font-weight:600}
.s-close .ph .v{font-family:'Heebo',Arial,sans-serif;font-size:40px;font-weight:900;color:var(--s-band-fg);direction:ltr;text-align:right}
.s-close .src{font-size:17px;color:var(--s-band-sub)}


/* ================= עיצובים למצגת (data-look על .deck) =================
   אותו תוכן ואותו מבנה — רק המראה. בכל העיצובים: אדום מקווקו = המסלול הישן, כחול = החדש, ירוק = תחנה חדשה. */

/* בהיר ונקי: לבן, קווים דקים, הרבה אוויר. שלט הקו במסגרת במקום מלא */
.deck[data-look="light"]{--s-paper:#ffffff;--s-card:#ffffff;--s-line:#e4e9e6;--s-brand:#14201b;--s-on-brand:#14201b;
  --s-band:#ffffff;--s-band2:#ffffff;--s-band-fg:#14201b;--s-band-sub:#66756e;--s-note:#fff4cf;--s-note-fg:#3a2f05}
.deck[data-look="light"] .slide .badge{background:transparent;border:3px solid var(--s-brand)}
.deck[data-look="light"] .s-cover .band{border-bottom:1px solid var(--s-line)}
.deck[data-look="light"] .s-cover h1,.deck[data-look="light"] .s-map h2,.deck[data-look="light"] .s-stops h2,.deck[data-look="light"] .s-close h2{font-weight:700}
.deck[data-look="light"] .s-cover .fact{border:1px solid var(--s-line);border-top:3px solid var(--s-brand)}
.deck[data-look="light"] .s-cover .what{border:1px solid var(--s-line)}
.deck[data-look="light"] .s-map .legend{border:1px solid var(--s-line)}
.deck[data-look="light"] .note{border-right:5px solid #e0a400;font-weight:700}
.deck[data-look="light"] .s-close .ph{border:1px solid var(--s-line);border-top:3px solid var(--s-brand)}
.deck[data-look="light"] .s-over th{border-bottom:2px solid var(--s-brand)}
.deck[data-look="light"] .slide .seam::before{height:3px}
.deck[data-look="light"] .slide .seam::after{height:3px}
.deck[data-look="light"] .slide .seam i{width:14px;height:14px;border-width:3px}

/* צבעי המפעיל: הצבע מגיע מהדף (style על .deck — --s-brand, --s-band...) */
.deck[data-look="op"] .s-cover .fact{border-top:8px solid var(--s-brand2)}
.deck[data-look="op"] .slide .badge{box-shadow:0 0 0 4px var(--s-brand2)}
.deck[data-look="op"] .s-close .ph{border-top-color:var(--s-brand2)}
.deck[data-look="op"] .s-cover .what h3,.deck[data-look="op"] .s-map .part{color:var(--s-brand-text,var(--s-fg))}

/* אותיות גדולות: ניגודיות גבוהה וכתב גדול לנוסעים מבוגרים. פחות תחנות בכל שקף */
.deck[data-look="large"]{--s-paper:#ffffff;--s-card:#ffffff;--s-line:#9aa5a0;--s-fg:#000000;--s-sub:#2b3430;
  --s-brand:#0b3d91;--s-on-brand:#ffffff;--s-band:#000000;--s-band2:#1d1d1d;--s-band-fg:#ffffff;--s-band-sub:#ffe27a;
  --s-before:#a3220c;--s-add:#0b6b3f}
.deck[data-look="large"] .s-cover .fact,.deck[data-look="large"] .s-cover .what,.deck[data-look="large"] .s-map .legend{border:2px solid #000}
.deck[data-look="large"] .s-cover h1{font-size:62px}
.deck[data-look="large"] .s-cover .sub{font-size:28px}
.deck[data-look="large"] .s-cover .fact .l{font-size:19px;color:#000}
.deck[data-look="large"] .s-cover .fact .v{font-size:28px}
.deck[data-look="large"] .s-cover .fact .x{font-size:19px;color:#000}
.deck[data-look="large"] .s-cover .intro{display:none}
.deck[data-look="large"] .s-cover .what h3{font-size:24px}
.deck[data-look="large"] .s-cover .what li{font-size:22px;line-height:1.35}
.deck[data-look="large"] .s-cover .note{font-size:19px}
.deck[data-look="large"] .s-map h2{font-size:34px}
.deck[data-look="large"] .s-map .segs li{font-size:21px;line-height:1.35}
.deck[data-look="large"] .s-map .legend{font-size:16.5px}
.deck[data-look="large"] .s-map .counts{font-size:17px;color:#000}
.deck[data-look="large"] .s-stops h2{font-size:36px}
.deck[data-look="large"] .s-stops .grp h3{font-size:27px}
.deck[data-look="large"] .s-stops li{font-size:21px;min-height:40px;border-bottom:1.5px solid #9aa5a0}
.deck[data-look="large"] .s-stops li .nr{font-size:16.5px;color:#2b3430}
.deck[data-look="large"] .s-stops li.two-l{min-height:60px}
.deck[data-look="large"] .slide .dot{width:28px;height:28px;font-size:14px}
.deck[data-look="large"] .s-stops .extra{font-size:17px;color:#000}
.deck[data-look="large"] .slide .sfoot{font-size:15px;color:#000}
.deck[data-look="large"] .s-close h2{font-size:60px}
.deck[data-look="large"] .s-close .note{font-size:24px}
.deck[data-look="large"] .s-close .src{font-size:19px}

/* ---- עמוד אחד לשינוי קטן: מפה משמאל, כל הטקסט מימין ---- */
.s-one .smap{position:absolute;left:0;top:0;width:660px;height:720px;background:#dfe6e2}
.s-one .side{position:absolute;right:0;top:0;width:620px;height:720px;padding:30px 36px 34px 30px;display:flex;flex-direction:column;gap:12px}
.s-one .ohead{display:flex;align-items:center;gap:16px;background:var(--s-band);color:var(--s-band-fg);margin:-30px -36px 0 -30px;padding:24px 36px 20px 30px}
.s-one .ohead .badge{font-size:46px;padding:calc(10px + .07em) 16px calc(10px - .07em);border-radius:14px}
.s-one .ohead .t{display:flex;flex-direction:column;gap:2px;min-width:0}
.s-one .ohead h1{font-size:36px;font-weight:900;line-height:1.1}
.s-one .ohead .sub{font-size:18px;color:var(--s-band-sub);font-weight:600}
.s-one .owhen{font-size:18px;color:var(--s-fg)}
.s-one .owhen b{font-family:'Heebo',Arial,sans-serif;font-weight:800;font-size:20px}
.s-one .owhat{background:var(--s-card);border-radius:12px;padding:12px 16px;display:flex;flex-direction:column;gap:6px}
.s-one .owhat h3{font-size:19px;font-weight:900;color:var(--s-brand)}
.s-one .owhat ul{margin:0;padding:0 20px 0 0;display:flex;flex-direction:column;gap:6px}
.s-one .owhat li{font-size:18.5px;line-height:1.38}
.s-one .legend{background:var(--s-card);border-radius:12px;padding:9px 12px;display:grid;grid-template-columns:1fr 1fr;gap:6px 10px;font-size:13.5px}
.s-one .legend span{display:flex;align-items:center;gap:8px}
.s-one .ocontact{margin-top:auto;display:flex;flex-wrap:wrap;gap:6px 18px;font-size:17px;color:var(--s-fg)}
.s-one .ocontact b{font-family:'Heebo',Arial,sans-serif;font-size:21px;font-weight:900}
.s-one .note{font-size:15px;padding:9px 14px;font-weight:700}
.s-one .osrc{font-size:12.5px;color:var(--s-sub)}
.s-one .part{font-size:16px;font-weight:800;color:var(--s-brand)}
.deck[data-look="light"] .s-one .ohead{border-bottom:1px solid var(--s-line)}
.deck[data-look="large"] .s-one .owhat li{font-size:21px}
.deck[data-look="large"] .s-one .ohead h1{font-size:40px}

/* ---- שקף טקסט (נוסף ביד) ---- */
.s-text{padding:48px 64px 64px;display:flex;flex-direction:column;gap:22px}
.s-text .head{display:flex;align-items:center;gap:14px}
.s-text h2{font-size:42px;font-weight:900;line-height:1.15}
.s-text .body{display:flex;flex-direction:column;gap:14px;flex:1;min-height:0}
.s-text .body p{font-size:26px;line-height:1.45}

/* ---- תיבת טקסט חופשית ---- */
.tbox{position:absolute;z-index:700;background:rgba(255,255,255,.94);color:var(--s-fg);border-radius:10px;padding:10px 14px;font-size:22px;line-height:1.4;font-weight:700;
  box-shadow:0 2px 10px rgba(0,0,0,.18);-webkit-print-color-adjust:exact;print-color-adjust:exact}
.tbox-t{min-height:1.4em;outline:none}
.tbox-h{position:absolute;top:-16px;left:-16px;width:32px;height:32px;border-radius:50%;background:#1f5fd1;color:#fff;font-size:18px;line-height:32px;text-align:center;cursor:grab;display:none;touch-action:none;transform:scale(var(--ik,1))}
.editing .tbox-h{display:block}


/* ---- תמונה על שקף: מיקום וגודל באחוזים מהשקף; הידיות רק במצב עריכה ---- */
.slide .ibox{position:absolute;z-index:690;margin:0;padding:0}
.slide .ibox img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-select:none}
.ibox-x,.ibox-r,.ibox-a{display:none}
/* "תיאור" — כפתור לתיאור התמונה לקוראי מסך, בפינה העליונה, באותו גודל על המסך כמו הידיות */
.editing .slide .ibox-a{display:block;position:absolute;top:0;right:0;transform-origin:top right;transform:scale(var(--ik,1));height:40px;padding:0 12px;border-radius:20px;border:3px solid #fff;
  background:#13201b;color:#fff;font:800 15px/1 'Heebo',sans-serif;box-shadow:0 2px 6px rgba(0,0,0,.35);cursor:pointer}
@media print{.ibox-a{display:none!important}}
.editing .slide .ibox{cursor:move;touch-action:none;outline:calc(2px * var(--ik,1)) dashed rgba(31,95,209,.7);outline-offset:calc(2px * var(--ik,1))}
.editing .slide .ibox:focus{outline:calc(3px * var(--ik,1)) solid #1f5fd1}
/* הידיות בפינות, בתוך התמונה (כדי שלא ייחתכו בקצה השקף), בגודל קבוע על המסך (40px), גם כשהשקף מוקטן: --ik = 1 / ההקטנה של השקף */
.editing .slide .ibox-x,.editing .slide .ibox-r{display:block;position:absolute;width:40px;height:40px;border-radius:50%;border:3px solid #fff;color:#fff;padding:0;
  box-shadow:0 2px 6px rgba(0,0,0,.35);transform:scale(var(--ik,1));touch-action:none}
.editing .slide .ibox-x{top:0;left:0;transform-origin:top left;background:#b8361f;font:800 20px/1 'Heebo',sans-serif;cursor:pointer}
.editing .slide .ibox-r{bottom:0;right:0;transform-origin:bottom right;background:#1f5fd1;cursor:nwse-resize}
.editing .slide .ibox-r::after{content:'';position:absolute;inset:10px;border-right:3px solid #fff;border-bottom:3px solid #fff}
/* שקף תמונה: התמונה על כל השקף */
.s-img{position:relative;background:var(--s-paper)}
.s-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.s-img[data-fit="contain"] img{object-fit:contain}

/* סמני המפה */
.lc-mk{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:800 12.5px 'Heebo',sans-serif;color:#fff;border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.4);
  -webkit-print-color-adjust:exact;print-color-adjust:exact}
.lc-mk.seg{background:#13201b;border-radius:7px;width:28px;height:28px;font-size:14px;border-color:#f2c14e}
.lc-mk.rem{background:#b8361f}.lc-mk.add{background:#0a5530;border-width:2.5px;box-shadow:0 0 0 1.5px #0a5530,0 1px 4px rgba(0,0,0,.45)}.lc-mk.mv{background:#55625c}
.leaflet-tooltip-pane{direction:ltr}.leaflet-tooltip{direction:rtl}
.leaflet-tooltip.lc-lbl small{display:block;font-size:12px;font-weight:800;color:#8a5a00}
.leaflet-tooltip.lc-lbl small.cd{color:#55625c;font-weight:700}
.leaflet-tooltip.lc-lbl.was{border:2px solid #d99a00;background:#fff8e1}
.leaflet-tooltip.lc-lbl{font:700 13px 'Assistant','Heebo',sans-serif;color:#13201b;padding:2px 7px;border-radius:6px;border:1px solid #9aa5a0;box-shadow:0 1px 3px rgba(0,0,0,.2);white-space:nowrap}
.s-map ul.small{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.s-map ul.small li{display:flex;gap:10px;align-items:flex-start;font-size:17px;line-height:1.3}
.s-map ul.small .nr{display:block;font-size:14.5px;color:var(--s-sub)}

/* ---- הדפסה / PDF: רק השקפים, שקף לכל עמוד ---- */
@page{size:1280px 720px;margin:0}
@media print{
  html,body{background:#fff!important;margin:0!important;padding:0!important}
  .noprint{display:none!important}
  .deck{gap:0;display:block;width:1280px}
  .kb-home,.kb-copyright,#kb-a11y-btn,#kb-a11y-panel{display:none!important}
  .sframe{width:1280px!important;height:720px!important;aspect-ratio:auto;border-radius:0;box-shadow:none;overflow:hidden;margin:0}
  .sitem{break-after:page;page-break-after:always}
  .sitem.lastvis{break-after:auto;page-break-after:auto}
  .tbox-h,.ibox-x,.ibox-r{display:none!important}
  .slide .ibox{outline:none!important}
  .slide{transform:none!important}
  .leaflet-control-zoom{display:none}
}

/* קרדיט בסוף המצגת (אם נבחר) */
.slide .credit{margin-top:6px;font-size:13px;color:var(--s-sub)}
.s-one .credit{font-size:12px;margin-top:2px}
/* כמה קווים עם אותו שינוי — כמה תגיות מספר */
.s-one .ohead.multi .badges{display:flex;flex-wrap:wrap;gap:6px;max-width:220px}
.s-one .ohead.multi .badge{font-size:26px;min-width:52px;height:46px;padding:.12em 10px 0}
/* סימנים שהוסתרו בעריכה */
.slide .mkoff{display:none!important}
body.editing .slide .mkoff{display:inline-flex!important;opacity:.25}
body.editing .slide .emark{cursor:pointer}
body.editing .slide .emark:hover{outline:2px dashed #2563eb;outline-offset:2px}

/* מק"ט של תחנה שמשתנה */
.slide .sc{font-size:.78em;color:var(--s-sub);font-weight:600;white-space:nowrap}

/* ================= צורות (data-form על .deck) =================
   שלט להדפסה: A4 לאורך, 794×1123 (210×297 מ"מ ב-96dpi) — מודפס ונתלה בתחנה, כתב שנקרא ממטר וחצי.
   סטטוס: 1080×1920 (9:16) — תמונה לסטטוס בווטסאפ. בשתיהן אותם צבעים (data-look) ואותה חתימה. */
.deck[data-form="sign"] .sframe{aspect-ratio:794/1123}
.deck[data-form="sign"] .slide,.deck[data-form="sign"] .slide > div:first-child{width:794px;height:1123px}
.deck[data-form="status"] .sframe{aspect-ratio:1080/1920}
.deck[data-form="status"] .slide,.deck[data-form="status"] .slide > div:first-child{width:1080px;height:1920px}
.deck[data-form="sign"] .sitem{width:100%;max-width:640px;margin-inline:auto}
.deck[data-form="status"] .sitem{width:100%;max-width:420px;margin-inline:auto}
.deck[data-form="sign"] .addslide,.deck[data-form="status"] .addslide{display:none!important}
.slide .badges{display:flex;flex-wrap:wrap;gap:10px;align-items:center;flex:none}

/* ---- שלט להדפסה ---- */
.s-sign{display:flex;flex-direction:column}
.s-sign > *{flex:none}
.sg-band{background:var(--s-band);color:var(--s-band-fg);padding:30px 44px 0;display:flex;flex-direction:column;gap:22px}
.sg-row{display:flex;align-items:center;gap:26px}
.s-sign .sg-band .badge{font-size:100px;padding:calc(12px + .07em) 28px calc(12px - .07em);border-radius:22px;min-width:140px}
.s-sign .badges.multi{max-width:300px}
.s-sign .badges.multi .badge{font-size:54px;min-width:96px;padding:calc(8px + .07em) 14px calc(8px - .07em);border-radius:14px}
.sg-row .t{display:flex;flex-direction:column;gap:6px;min-width:0}
.sg-row h1{font-size:54px;font-weight:900;line-height:1.06}
.sg-row .sub{font-size:24px;font-weight:600;color:var(--s-band-sub);line-height:1.3}
.sg-band .seam{margin:0 -44px}
.sg-when{padding:20px 44px 4px;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 18px}
.sg-when b{font-family:'Heebo',Arial,sans-serif;font-size:42px;font-weight:900;line-height:1.15;color:var(--s-fg)}
.sg-when span{font-size:22px;font-weight:600;color:var(--s-sub)}
.sg-part{padding:0 44px;font-size:22px;font-weight:800;color:var(--s-brand)}
.sg-mapw{position:relative;margin:12px 40px 0;flex:1 1 420px!important;min-height:280px;border-radius:16px;overflow:hidden;background:#dfe6e2;border:1px solid var(--s-line)}
.sg-mapw .smap{position:absolute;top:0;right:0;width:calc(100% / 1.15);height:calc(100% / 1.15);transform:scale(1.15);transform-origin:top right;background:#dfe6e2}
.sg-mapw .inset{position:absolute;left:12px;top:12px;width:200px;height:150px;border:3px solid #fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.3);background:#dfe6e2;z-index:600}
.s-sign .legend{margin:10px 40px 0;background:var(--s-card);border-radius:12px;padding:9px 14px;display:grid;grid-template-columns:repeat(3,auto);justify-content:space-between;gap:6px 16px;font-size:14.5px;line-height:1.2}
.s-sign .legend span{display:flex;align-items:center;gap:9px}
.sg-what{margin:14px 44px 0;max-height:300px;overflow:hidden;display:flex;flex-direction:column;gap:8px}
.sg-what h2{font-size:32px;font-weight:900;color:var(--s-brand);line-height:1.1}
.sg-what ul{margin:0;padding:0 28px 0 0;display:flex;flex-direction:column;gap:8px}
.sg-what li{font-size:24px;line-height:1.36}
.sg-what li b{font-weight:800}
.sg-what li.more{list-style:none;font-size:20px;color:var(--s-sub);font-weight:700}
.sg-near{margin:14px 40px 0;background:var(--s-card);border-radius:14px;padding:12px 18px;border-right:8px solid var(--s-new-stop);display:flex;flex-direction:column;gap:6px}
.sg-near h3{font-size:22px;font-weight:900}
.sg-near ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.sg-near li{display:flex;gap:10px;align-items:flex-start;font-size:22px;line-height:1.3}
.sg-near .dot{margin-top:5px;width:18px;height:18px}
.sg-contact{margin:16px 44px 0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 22px;font-size:21px}
.sg-contact .l{font-weight:800}
.sg-contact b{font-family:'Heebo',Arial,sans-serif;font-size:27px;font-weight:900}
.s-sign .note{margin:14px 40px 0;font-size:17px;padding:9px 18px;font-weight:700;line-height:1.35}
.sg-foot{margin-top:auto;padding:10px 44px 18px;display:flex;justify-content:space-between;gap:16px;font-size:12.5px;color:var(--s-sub)}
.sg-foot .pg{white-space:nowrap}
.deck[data-look="light"] .sg-band{border-bottom:1px solid var(--s-line)}
.deck[data-look="large"] .sg-what li{font-size:26px}
.deck[data-look="large"] .s-sign .legend,.deck[data-look="large"] .sg-near{border:2px solid #000}

/* ---- שלט: עמוד התחנות ---- */
.s-signstops{display:flex;flex-direction:column}
.sg-shead{background:var(--s-band);color:var(--s-band-fg);padding:26px 44px 22px;display:flex;align-items:center;gap:18px}
.sg-shead .badge.sm{font-size:40px;padding:calc(8px + .07em) 16px calc(8px - .07em);border-radius:12px}
.sg-shead .t{display:flex;flex-direction:column;gap:2px;min-width:0}
.sg-shead h2{font-size:36px;font-weight:900;line-height:1.1}
.sg-shead .sub{font-size:20px;color:var(--s-band-sub);font-weight:600}
.s-signstops > .seam{margin-top:-1px}
.sg-cols{flex:1;min-height:0;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:22px 40px 0}
.sg-cols .col{display:flex;flex-direction:column;gap:6px;min-width:0}
.sg-cols h3{font-size:24px;font-weight:900;padding-bottom:6px;border-bottom:3px solid currentColor;margin-top:6px}
.sg-cols h3.rem{color:var(--s-before);border-bottom-style:dashed}
.sg-cols h3.add{color:var(--s-add)}
.sg-cols ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.sg-cols.roomy li{font-size:25px;padding:9px 0}.sg-cols.roomy li .nr{font-size:20px}
.sg-cols li{display:flex;align-items:flex-start;gap:10px;font-size:21px;line-height:1.3;padding:6px 0;border-bottom:1px solid var(--s-line)}
.sg-cols li .dot{width:26px;height:26px;font-size:12px;margin-top:2px}
.sg-cols li .nm{flex:1;min-width:0;font-weight:700}
.sg-cols li .nr{display:block;font-size:17px;font-weight:600;color:var(--s-sub);line-height:1.3}
.sg-cols li .cd{color:var(--s-sub);font-size:16px;font-weight:600}

/* ---- סטטוס ---- */
.s-status{display:flex;flex-direction:column}
.s-status > *{flex:none}
.st-top{background:var(--s-band);color:var(--s-band-fg);padding:150px 64px 0;display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px}
.s-status .st-top .badge{font-size:230px;padding:calc(18px + .07em) 64px calc(18px - .07em);border-radius:44px;min-width:330px}
.s-status .badges{justify-content:center}
.s-status .badges.multi{gap:18px;max-width:900px}
.s-status .badges.multi .badge{font-size:120px;min-width:190px;padding:calc(12px + .07em) 30px calc(12px - .07em);border-radius:28px}
.st-top h1 .nw{white-space:nowrap}
.st-top h1{font-size:76px;font-weight:900;line-height:1.1;max-width:940px;text-wrap:balance}
.st-top .sub{font-size:34px;font-weight:600;color:var(--s-band-sub);line-height:1.3;max-width:940px}
.st-top .seam{align-self:stretch;margin:22px -64px 0;height:12px}
.st-top .seam::before{height:8px}
.st-top .seam::after{height:11px}
.st-top .seam i{width:28px;height:28px;border-width:6px}
.st-mapw{position:relative;margin:48px 56px 0;flex:1 1 640px!important;min-height:460px;border-radius:36px;overflow:hidden;background:#dfe6e2;box-shadow:0 4px 18px rgba(0,0,0,.14)}
.st-mapw .smap{position:absolute;top:0;right:0;width:calc(100% / 1.75);height:calc(100% / 1.75);transform:scale(1.75);transform-origin:top right;background:#dfe6e2}
.st-mapw .leaflet-control-attribution{font-size:9px}
.deck[data-form="status"] .lc-mk{font-size:0}
.st-what{margin:44px 64px 0;flex:0 1 auto!important;min-height:0;overflow:hidden}
.st-what ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:22px}
.st-what li{position:relative;padding-right:44px;font-size:40px;line-height:1.3;font-weight:600}
.st-what li::before{content:"";position:absolute;right:4px;top:.42em;width:20px;height:20px;border-radius:50%;background:var(--s-new)}
.st-what li b{font-weight:800}
.st-foot{margin-top:auto;padding:36px 64px 130px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
.st-check{font-size:32px;font-weight:700;color:var(--s-fg)}
.st-check b{font-family:'Heebo',Arial,sans-serif;font-weight:900;font-size:36px}
.st-note{font-size:28px;font-weight:700;color:var(--s-note-fg);background:var(--s-note);border-radius:999px;padding:8px 30px}
.deck[data-look="light"] .st-top{border-bottom:1px solid var(--s-line)}
.deck[data-look="large"] .st-what li{font-size:44px}

@media print{
  .deck[data-form="sign"]{width:794px}
  .deck[data-form="sign"] .sframe{width:794px!important;height:1123px!important}
  .deck[data-form="status"]{width:1080px}
  .deck[data-form="status"] .sframe{width:1080px!important;height:1920px!important}
  .deck[data-form] .sitem{max-width:none;margin:0}
}

/* ================= קו חדש · קו מבוטל · שינוי בלוח הזמנים ================= */
.slide .dot.end{background:#13201b;border-color:#fff}
.slide .dot.alt{background:#f2c14e;border-color:#13201b;box-shadow:none}
.lc-mk.end{width:18px;height:18px;background:#13201b;border:3px solid #fff;box-shadow:0 0 0 1.5px #13201b,0 1px 3px rgba(0,0,0,.4)}
.lc-mk.alt{width:18px;height:18px;background:#f2c14e;border:3px solid #13201b}
.leaflet-tooltip.lc-lbl.alt{border:2px solid #d99a00;background:#fff8e1}
.leaflet-tooltip.lc-lbl.alt small{color:#5a3d00}

/* שקף מפה של קו חדש / מבוטל */
.s-map.k-ended h2{color:var(--s-before)}
.s-map .instead{background:var(--s-card);border-radius:12px;padding:10px 14px;display:flex;flex-direction:column;gap:6px;border-right:6px solid var(--s-new-stop)}
.s-map .instead h3{font-size:19px;font-weight:900}
.slide ul.alts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.slide ul.alts li{display:flex;align-items:center;gap:12px}
.slide ul.alts .badge.sm{font-size:22px;min-width:58px;padding:calc(5px + .07em) 9px calc(5px - .07em);border-radius:8px}
.slide ul.alts .at{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.slide ul.alts .at b{font-size:17px;font-weight:800}
.slide ul.alts .at span{font-size:14.5px;color:var(--s-sub)}
.slide .alt-none{font-size:17px;color:var(--s-sub);line-height:1.4}
.slide ul.tt-list{margin:0;padding:0 22px 0 0;display:flex;flex-direction:column;gap:6px}
.slide ul.tt-list li{font-size:20px;line-height:1.42}
.slide ul.tt-list li b{font-weight:800}
.s-map ul.tt-list.sm li{font-size:17px;line-height:1.38}

/* כל התחנות של קו חדש */
.s-rstops .rcols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 26px;align-content:start;flex:1;min-height:0}
.s-rstops li .dot{width:24px;height:24px;font-size:11px}
.s-rstops li .dot.end{background:#13201b}
.deck[data-look="large"] .s-rstops li{font-size:19px;min-height:38px}

/* במקום זה (קו מבוטל) */
.s-alts{padding:36px 48px 60px;display:flex;flex-direction:column;gap:18px}
.s-alts .head{display:flex;align-items:center;gap:14px}
.s-alts h2{font-size:32px;font-weight:900;line-height:1.15}
.s-alts .lead{font-size:20px;line-height:1.45;color:var(--s-fg);max-width:1050px}
.slide ul.alts.big{gap:14px}
.slide ul.alts.big li{background:var(--s-card);border-radius:14px;padding:12px 18px}
.slide ul.alts.big .badge.sm{font-size:30px;min-width:76px}
.slide ul.alts.big .at b{font-size:22px}
.slide ul.alts.big .at span{font-size:18px}

/* שקף לוח זמנים (מצגת) */
.s-tt{padding:30px 48px 56px;display:flex;flex-direction:column;gap:14px}
.s-tt .head{display:flex;align-items:center;gap:16px}
.s-tt .head .t{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.s-tt h2{font-size:32px;font-weight:900;line-height:1.12}
.s-tt .head .sub{font-size:18px;font-weight:600;color:var(--s-sub)}
.tt-body{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:14px}
.tt-blk{display:flex;flex-direction:column;gap:8px;flex:none}
.slide .tt-dir{font-size:22px;font-weight:900;color:var(--s-brand);padding-bottom:4px;border-bottom:2px solid var(--s-line)}
.deck[data-look="op"] .slide .tt-dir{color:var(--s-fg)}
.slide .tt-cap{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:19px}
.slide .tt-cap b{font-family:'Heebo',Arial,sans-serif;font-weight:900;font-size:21px}
.slide .tt-cap span{color:var(--s-sub);font-weight:700;font-size:16px}
.slide .tt-note{font-size:17px;color:var(--s-sub)}
.slide .tt-key{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--s-sub);flex:none;white-space:nowrap}
.slide .tt-key .tm{margin-inline-start:8px}
/* זמן: חדש — ירוק, מבוטל — אדום מחוק */
.slide .tm{display:inline-block;font-variant-numeric:tabular-nums;padding:0 4px;border-radius:5px;line-height:1.35;direction:ltr;unicode-bidi:isolate}
.slide .tm.ad{background:var(--s-add-bg);color:var(--s-add);font-weight:900;box-shadow:inset 0 0 0 1.5px var(--s-add)}
.slide .tm.rm{color:var(--s-before);text-decoration:line-through;text-decoration-thickness:2px;background:var(--s-before-bg)}
/* טבלה כללית */
.slide table.tt-gen,.slide table.tt-det{border-collapse:collapse;width:100%;font-size:18px;background:var(--s-card);direction:rtl}
.slide table.tt-gen th,.slide table.tt-gen td{padding:5px 12px;text-align:center;border-bottom:1px solid var(--s-line);white-space:nowrap}
.slide table.tt-gen thead th{background:var(--s-band);color:var(--s-band-fg);font-weight:800;font-size:16px}
.slide table.tt-gen thead th.grp{font-size:18px;border-bottom:1px solid rgba(255,255,255,.25)}
.slide table.tt-gen thead th.was,.slide table.tt-det thead th.was{color:var(--s-band-sub)}
.slide table.tt-gen th.rl{text-align:right;font-weight:700;color:var(--s-fg);background:var(--s-paper);width:1%}
.slide table.tt-gen td.was{color:var(--s-sub)}
.slide table.tt-gen td.chg{background:var(--s-add-bg);color:var(--s-add);font-weight:900}
.slide table.tt-gen td{font-variant-numeric:tabular-nums;font-weight:700}
.slide table.tt-gen td:not(.was){border-left:2px solid var(--s-line)}
/* טבלה מפורטת: שורה לכל שעה */
.slide table.tt-det th,.slide table.tt-det td{padding:3px 10px;border-bottom:1px solid var(--s-line);text-align:right;vertical-align:top}
.slide table.tt-det thead th{background:var(--s-band);color:var(--s-band-fg);font-size:16px;font-weight:800}
.slide table.tt-det th.hr{width:62px;text-align:center;font-family:'Heebo',Arial,sans-serif;font-weight:900;background:var(--s-paper);color:var(--s-fg)}
.slide table.tt-det thead th.hr{background:var(--s-band);color:var(--s-band-fg)}
.slide table.tt-det td{font-size:17px;line-height:1.5}
.slide table.tt-det td.was{background:#fafbfa;border-left:2px solid var(--s-line)}
.slide table.tt-det td .tm{margin-left:5px}
.slide table.tt-det.new td{border-left:2px solid var(--s-line)}
.slide table.tt-det.new td:last-child{border-left:none}
.slide p.tt-run{font-size:18px;line-height:1.72;margin:0;padding:2px 0;border-bottom:1px dashed var(--s-line)}
.slide p.tt-run .tm{margin-left:4px}
.deck[data-look="large"] .slide table.tt-gen{font-size:21px}
.deck[data-look="large"] .slide table.tt-det td,.deck[data-look="large"] .slide p.tt-run{font-size:20px}
.deck[data-look="large"] .slide ul.tt-list li{font-size:22px}

/* שלט: עמוד לוח זמנים */
.s-signtt{display:flex;flex-direction:column}
.s-signtt > *{flex:none}
.s-signtt > .seam{margin-top:-1px}
.s-signtt .tt-key.sg{margin:14px 44px 0}
.s-signtt .tt-body{flex:1 1 auto!important;margin:16px 40px 0;min-height:0}
.s-sign .tt-dir{font-size:26px}
.s-sign ul.tt-list li{font-size:24px;line-height:1.4}
.s-sign table.tt-gen{font-size:20px}
.s-sign table.tt-gen th,.s-sign table.tt-gen td{padding:6px 8px}
.s-sign table.tt-gen thead th{font-size:17px}
.s-sign table.tt-gen th.rl{white-space:normal;min-width:150px;font-size:18px}
.s-sign table.tt-det td{font-size:19px}
.s-sign p.tt-run{font-size:20px}
.s-sign .tt-cap b{font-size:23px}
.s-sign .sg-alts{border-right-color:var(--s-new-stop)}
.s-sign .sg-alts ul.alts .at b{font-size:20px}
.s-sign .sg-alts ul.alts .at span{font-size:17px}
.s-sign.k-ended h1{line-height:1.08}
.s-sign.k-new .sg-what li,.s-sign.k-ended .sg-what li{font-size:22px}

/* סטטוס: לוח זמנים */
.s-sttt .st-top.sm{padding-top:110px;gap:16px}
.s-sttt .st-top.sm .badge{font-size:150px;min-width:220px;padding:calc(12px + .07em) 44px calc(12px - .07em);border-radius:32px}
.s-sttt .st-top.sm h1{font-size:68px}
.s-sttt .st-top.sm .sub{font-size:30px}
.s-status .tt-key.st{justify-content:center;font-size:28px;margin:30px 0 0}
.s-status .tt-key .tm{font-size:28px}
.s-status .tt-body{margin:34px 56px 0;flex:1 1 auto!important;min-height:0;gap:26px}
.s-status .tt-dir{font-size:38px;padding-bottom:8px}
.s-status ul.tt-list{gap:18px;padding-right:34px}
.s-status ul.tt-list li{font-size:38px;line-height:1.32}
.s-status table.tt-gen{font-size:30px}
.s-status table.tt-gen thead th{font-size:26px}
.s-status table.tt-gen th,.s-status table.tt-gen td{padding:10px 10px}
.s-status table.tt-gen th.rl{white-space:normal;min-width:240px;font-size:27px}
.s-status table.tt-det td{font-size:30px}
.s-status table.tt-det th.hr{width:90px;font-size:30px}
.s-status table.tt-det thead th{font-size:26px}
.s-status p.tt-run{font-size:32px}
.s-status .tt-cap b{font-size:36px}
.s-status .tt-cap span{font-size:26px}
.s-status.k-ended .st-top h1{color:var(--s-band-fg)}
.s-map .kod{font-size:21px;font-weight:700;color:var(--s-sub);margin-top:-6px}
.slide table.tt-gen.cols1{width:auto;min-width:62%;align-self:flex-start}
.slide table.tt-gen.one.cols1{min-width:46%}
.s-status table.tt-gen.cols1{width:100%}
.slide table.tt-gen.cols1 th.rl,.slide table.tt-gen.cols2 th.rl{width:auto}
.slide table.tt-gen.cols2{width:auto;min-width:80%;align-self:flex-start}
.slide table.tt-det.new.cols1{width:auto;min-width:55%;align-self:flex-start}
.slide table.tt-det.new.cols1 th.hr{width:62px}

/* ---- טבלאות לוח הזמנים (גרסה 2): כמו לוח זמנים מודפס ---- */
.slide table.tt-g2,.slide table.tt-grid{border-collapse:separate;border-spacing:0;direction:rtl;background:var(--s-card);border:1.5px solid var(--s-line);border-radius:10px;overflow:hidden}
.slide table.tt-g2{width:100%;font-size:18px}
.slide table.tt-g2 th,.slide table.tt-g2 td{padding:7px 8px;text-align:center;border-bottom:1px solid var(--s-line);font-variant-numeric:tabular-nums}
.slide table.tt-g2 thead th{background:var(--s-band);color:var(--s-band-fg);font-weight:800;font-size:15px;line-height:1.2}
.slide table.tt-g2 thead th.grp{font-size:15.5px;border-bottom:1px solid rgba(255,255,255,.22);border-right:2px solid rgba(255,255,255,.22)}
.slide table.tt-g2 thead th.was{color:var(--s-band-sub);font-weight:700;font-size:13.5px;border-right:2px solid rgba(255,255,255,.22)}
.slide table.tt-g2 thead th.now{font-size:13.5px}
.slide table.tt-g2 th.dt{background:var(--s-band2);color:var(--s-band-fg);font-family:'Heebo',Arial,sans-serif;font-weight:900;font-size:19px;white-space:nowrap;width:1%;padding:7px 14px}
.slide table.tt-g2 thead th.dt{background:var(--s-band)}
.slide table.tt-g2 td.was{color:var(--s-sub);font-weight:600;border-right:2px solid var(--s-line)}
.slide table.tt-g2 td.now{font-weight:800;color:var(--s-fg)}
.slide table.tt-g2.one td.now{border-right:2px solid var(--s-line)}
.slide table.tt-g2 td.chg{background:var(--s-add-bg);color:var(--s-add);font-weight:900;box-shadow:inset 0 0 0 2px var(--s-add)}
.slide table.tt-g2 tbody tr:nth-child(even) td:not(.chg){background:#f4f7f5}
.slide table.tt-g2 tr.same td{color:var(--s-sub);font-weight:700;background:#fafbfa!important}
.slide .tt-day{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0;font-family:'Heebo',Arial,sans-serif;font-size:22px;font-weight:900}
.slide .tt-day span{font-family:'Assistant',Arial,sans-serif;font-size:16px;font-weight:700;color:var(--s-sub)}
.slide .tt-sum{font-size:18px;line-height:1.35;margin:0}
.slide table.tt-grid{width:100%;table-layout:fixed}
.slide table.tt-grid thead th{background:var(--s-paper);color:var(--s-sub);font-size:13.5px;font-weight:700;padding:3px 8px;text-align:right;border-bottom:1.5px solid var(--s-line)}
.slide table.tt-grid thead th.hr{text-align:center}
.slide table.tt-grid th.hr{width:92px;background:var(--s-band);color:var(--s-band-fg);font-family:'Heebo',Arial,sans-serif;font-weight:900;font-size:19px;text-align:center;font-variant-numeric:tabular-nums;border-bottom:1px solid rgba(255,255,255,.15);padding:0 4px}
.slide table.tt-grid th.hr.cont{background:var(--s-band2)}
.slide table.tt-grid td.m{height:40px;text-align:center;vertical-align:middle;font-size:19px;font-weight:700;font-variant-numeric:tabular-nums;border-bottom:1px solid var(--s-line);border-left:1px solid #edf1ee;padding:0;line-height:1.05}
.slide table.tt-grid tbody tr:nth-child(even) td.m{background:#f4f7f5}
.slide table.tt-grid td.m small{display:block;font-size:10.5px;font-weight:800;letter-spacing:.02em}
.slide table.tt-grid td.m.ad{background:var(--s-add-bg)!important;color:var(--s-add);font-weight:900;box-shadow:inset 0 0 0 2px var(--s-add)}
.slide table.tt-grid td.m.rm{background:var(--s-before-bg)!important;color:var(--s-before);text-decoration:line-through;text-decoration-thickness:2px}
.slide table.tt-grid td.m.rm small{text-decoration:none;display:block}
.slide table.tt-grid td.m.e{background:transparent}
.slide table.tt-grid tr.fold th.hr{background:#dfe6e2;color:var(--s-sub);font-size:14px}
.slide table.tt-grid tr.fold td{background:#fafbfa;color:var(--s-sub);font-weight:700;font-size:15px;padding:0 14px;height:32px;text-align:right;border-bottom:1px solid var(--s-line)}
.slide .tt-key{gap:14px}
.slide .tt-key span{display:inline-flex;align-items:center;gap:6px}
.slide .tt-key i.m{font-style:normal;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:44px;height:34px;border:1px solid var(--s-line);border-radius:5px;background:#fff;color:var(--s-fg);font-weight:800;font-size:15px;line-height:1}
.slide .tt-key i.m small{font-size:9.5px;font-weight:800}
.slide .tt-key i.m.ad{background:var(--s-add-bg);color:var(--s-add);box-shadow:inset 0 0 0 2px var(--s-add)}
.slide .tt-key i.m.rm{background:var(--s-before-bg);color:var(--s-before);text-decoration:line-through}
/* שלט וסטטוס */
.s-sign table.tt-g2{font-size:16px}
.s-sign table.tt-g2 th,.s-sign table.tt-g2 td{padding:6px 3px}
.s-sign table.tt-g2 thead th{font-size:12.5px}
.s-sign table.tt-g2 thead th.was,.s-sign table.tt-g2 thead th.now{font-size:11.5px}
.s-sign table.tt-g2 th.dt{font-size:16px;padding:6px 8px}
.s-sign table.tt-grid th.hr{width:78px;font-size:18px}
.s-sign table.tt-grid td.m{height:42px;font-size:19px}
.s-sign .tt-day{font-size:23px}
.s-sign .tt-sum{font-size:19px}
.s-status table.tt-g2{font-size:24px}
.s-status table.tt-g2 th,.s-status table.tt-g2 td{padding:10px 4px}
.s-status table.tt-g2 thead th{font-size:19px}
.s-status table.tt-g2 thead th.was,.s-status table.tt-g2 thead th.now{font-size:16px}
.s-status table.tt-g2 th.dt{font-size:24px;padding:10px 10px}
.s-status table.tt-grid th.hr{width:120px;font-size:28px}
.s-status table.tt-grid td.m{height:62px;font-size:30px}
.s-status table.tt-grid td.m small{font-size:15px}
.s-status table.tt-grid thead th{font-size:20px}
.s-status table.tt-grid tr.fold td{font-size:24px;height:48px}
.s-status .tt-day{font-size:36px}
.s-status .tt-day span{font-size:24px}
.s-status .tt-sum{font-size:30px}
.s-status .tt-key i.m{min-width:66px;height:52px;font-size:24px}
.s-status .tt-key i.m small{font-size:13px}
.deck[data-look="large"] .slide table.tt-grid td.m{font-size:22px}
.deck[data-look="large"] .slide table.tt-g2{font-size:21px}
.slide table.tt-grid{width:auto;max-width:100%;align-self:flex-start}
.slide table.tt-grid td.m{width:78px}
.s-sign table.tt-grid td.m{width:62px}
.s-status table.tt-grid td.m{width:100px}
.slide table.tt-grid td.m.sh{background:#fff3d6!important;color:#7a4f00;font-weight:900;box-shadow:inset 0 0 0 2px #d99a00}
.slide table.tt-grid td.m.sh small{font-size:9.5px;font-weight:700;color:#7a4f00}
.slide .tt-key i.m.sh{background:#fff3d6;color:#7a4f00;box-shadow:inset 0 0 0 2px #d99a00;min-width:58px}
.slide .tm.sh{background:#fff3d6;color:#7a4f00;font-weight:900;box-shadow:inset 0 0 0 1.5px #d99a00}
.s-cover .what.crows{padding:10px 18px}
.s-cover .what.crows ul{list-style:none;padding:0;gap:0}
.s-cover .what.crows li{display:flex;align-items:center;gap:12px;padding:3px 0;border-bottom:1px solid var(--s-line);font-size:16px;line-height:1.2}
.s-cover .what.crows li:last-child{border-bottom:none}
.s-cover .what.crows .badge.sm{font-size:18px;min-width:52px;padding:calc(3px + .07em) 8px calc(3px - .07em);border-radius:7px}
.s-cover .what.crows .chips{flex:none}
.s-cover .what.crows .chip{font-size:13px;padding:1px 9px}
.s-cover .what.crows .cs{color:var(--s-sub);font-weight:600;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.s-cover .what.crows li.more{color:var(--s-sub);font-weight:700;justify-content:flex-start}
.slide .chip.tt{background:#fff2cf;color:#8a5a00}

/* ================= לו"ז עדכני (s-cur) =================
   כותרת: יעד ↔ יעד, הקווים ותאריך התוקף; מקרא של הקווים (צבע, "דרך", משך). לכל כיוון — עמודה לכל קבוצת ימים.
   התגית הקטנה ליד כל שעה (.lb) — בצבע של הקו בטבלה המשולבת (הצבע בא מהדף, style) */
.s-cur{display:flex;flex-direction:column;background:var(--s-card);color:var(--s-fg)}
.s-cur .cu-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;border-bottom:3px solid var(--s-band);flex:none}
.s-cur .cu-head .t{display:flex;align-items:center;gap:16px;min-width:0}
.s-cur .cu-head h1{font-weight:900;line-height:1.08}
.s-cur .cu-head .sub{color:var(--s-sub);font-weight:600;line-height:1.3}
.s-cur .cu-leg{display:grid;gap:6px;flex:none;color:var(--s-fg);font-weight:600}
.s-cur .cu-leg span{display:flex;align-items:center;gap:8px;white-space:nowrap}
.s-cur .lb{display:inline-block;color:#fff;font-weight:800;border-radius:6px;line-height:1.25;flex:none;font-family:'Heebo',Arial,sans-serif}
.s-cur .cu-body{flex:1;min-height:0;display:flex;flex-direction:column}
.s-cur .cu-sides{display:grid;gap:22px;align-items:start}
.s-cur .cu-sh{background:var(--s-band);color:var(--s-band-fg);font-weight:800;border-radius:8px}
.s-cur .cu-ss{color:var(--s-sub);font-weight:600}
.s-cur .cu-cols{display:grid;gap:8px;align-items:start}
.s-cur .cu-ch{font-weight:800;color:var(--s-fg);border-bottom:2px solid var(--s-line);display:flex;flex-direction:column}
.s-cur .cu-ch small{font-weight:600;color:var(--s-sub)}
.s-cur ol.ttc{list-style:none;margin:0;padding:0}
.s-cur .ttc li{display:flex;align-items:center;flex-wrap:wrap;column-gap:7px;border-bottom:1px solid var(--s-line)}
.s-cur .ttc .tm{font-weight:800;font-variant-numeric:tabular-nums}
.s-cur .ttc .xn{color:var(--s-sub);font-weight:700}
.s-cur .ttc .nt{flex-basis:100%;color:#b45309;font-weight:800;line-height:1.1}
.s-cur .ttc li.none{color:var(--s-sub);font-weight:700;border:none}
.s-cur .ttc li.hr{align-items:flex-start;flex-wrap:nowrap}
.s-cur .ttc li.hr b{flex:none;font-weight:900}
.s-cur .ttc li.hr .ms{display:flex;flex-wrap:wrap;column-gap:.45em;font-weight:700}
.s-cur .cu-foot{flex:none;display:flex;justify-content:space-between;gap:16px;color:var(--s-sub);border-top:1px solid var(--s-line)}
.s-cur .cu-foot .pg{white-space:nowrap}
/* כללי */
.s-cur table.cu-gt{width:100%;border-collapse:collapse}
.s-cur .cu-gt th,.s-cur .cu-gt td{border-bottom:1px solid var(--s-line);text-align:center;vertical-align:middle}
.s-cur .cu-gt thead th{color:var(--s-sub);font-weight:800;border-bottom:2px solid var(--s-band)}
.s-cur .cu-gt th small,.s-cur .cu-gt td small{display:block;font-weight:600;color:var(--s-sub)}
.s-cur .cu-gt tbody th{text-align:right;font-weight:800}
.s-cur .cu-gt td.n b{font-size:1.25em}
.s-cur .cu-gt td.n small .lb{margin-inline-start:6px}

/* A4 */
.s-cur.f-sign{padding:34px 36px 18px}
.s-cur.f-sign .cu-head{padding-bottom:12px}
.s-cur.f-sign .cu-head h1{font-size:36px}
.s-cur.f-sign .cu-head .sub{font-size:14.5px;margin-top:4px}
.s-cur.f-sign .badge.sm{font-size:34px;padding:calc(6px + .07em) 12px calc(6px - .07em);border-radius:10px;min-width:0}
.s-cur.f-sign .cu-leg{font-size:13.5px;margin-top:6px}
.s-cur.f-sign .lb{font-size:12px;padding:1px 6px}
.s-cur.f-sign .cu-body{padding-top:16px}
.s-cur.f-sign .cu-side + .cu-side{margin-top:18px}
.s-cur.f-sign .cu-sides .cu-side + .cu-side{margin-top:0}
.s-cur.f-sign .cu-sh{font-size:18px;padding:7px 12px}
.s-cur.f-sign .cu-ss{font-size:12px;margin-top:3px}
.s-cur.f-sign .cu-cols{margin-top:8px}
.s-cur.f-sign .cu-ch{font-size:13.5px;padding:3px 2px;margin-bottom:2px}
.s-cur.f-sign .cu-ch small{font-size:11px}
.s-cur.f-sign .ttc li{min-height:27px;padding:2px}
.s-cur.f-sign .ttc .tm{font-size:15.5px;min-width:44px}
.s-cur.f-sign .ttc .xn{font-size:11px}
.s-cur.f-sign .ttc .nt{font-size:10.5px}
.s-cur.f-sign .ttc li.hr{font-size:13px;min-height:22px}
.s-cur.f-sign .ttc li.hr b{width:26px}
.s-cur.f-sign .cu-foot{font-size:10.5px;padding-top:6px;margin-top:8px}
.s-cur.f-sign .cu-gt{font-size:14px;margin-top:8px}
.s-cur.f-sign .cu-gt th,.s-cur.f-sign .cu-gt td{padding:7px 4px}
.s-cur.f-sign .cu-gt small{font-size:10.5px}
/* מצגת */
.s-cur.f-deck{padding:44px 64px 50px}
.s-cur.f-deck .cu-head{padding-bottom:14px}
.s-cur.f-deck .cu-head h1{font-size:58px}
.s-cur.f-deck .cu-head .sub{font-size:23px;margin-top:4px}
.s-cur.f-deck .cu-leg{font-size:26px;gap:12px;margin-top:6px}
.s-cur.f-deck .cu-leg .lb{font-size:22px;padding:2px 10px}
.s-cur.f-deck .cu-grid{flex:1;min-height:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);column-gap:56px;align-content:start;padding-top:12px}
.s-cur.f-deck .cu-grid li{flex-wrap:nowrap;column-gap:14px;min-height:0!important;overflow:hidden}
.s-cur.f-deck .cu-grid.sz1 li{min-height:74px}
.s-cur.f-deck .cu-grid.sz1 .tm{font-size:46px}
.s-cur.f-deck .cu-grid.sz1 .lb{font-size:24px;padding:3px 10px}
.s-cur.f-deck .cu-grid.sz2 li{min-height:62px}
.s-cur.f-deck .cu-grid.sz2 .tm{font-size:38px}
.s-cur.f-deck .cu-grid.sz2 .lb{font-size:20px;padding:2px 9px}
.s-cur.f-deck .cu-grid.sz3 li{min-height:50px;column-gap:10px}
.s-cur.f-deck .cu-grid.sz3 .tm{font-size:30px}
.s-cur.f-deck .cu-grid.sz3 .lb{font-size:16px;padding:2px 7px}
.s-cur.f-deck .cu-grid .nt{flex-basis:auto;font-size:17px}
.s-cur.f-deck .cu-hrs{columns:2;column-gap:56px;padding-top:14px;flex:1;min-height:0}
.s-cur.f-deck .cu-hrs li{break-inside:avoid;font-size:22px;min-height:34px;padding:3px 0}
.s-cur.f-deck .cu-hrs li b{width:44px;font-size:24px}
.s-cur.f-deck .cu-gt{font-size:22px;margin-top:22px}
.s-cur.f-deck .cu-gt th,.s-cur.f-deck .cu-gt td{padding:12px 6px}
.s-cur.f-deck .cu-gt small{font-size:15px}
.s-cur.f-deck .cu-gt .lb{font-size:15px;padding:1px 6px}
/* סטטוס */
.s-cur.f-status{padding:110px 60px 70px}
.s-cur.f-status .cu-head{flex-direction:column;align-items:stretch;padding-bottom:22px;gap:14px}
.s-cur.f-status .cu-head h1{font-size:68px}
.s-cur.f-status .cu-head .sub{font-size:28px;margin-top:6px}
.s-cur.f-status .badge.sm{font-size:64px;padding:calc(10px + .07em) 22px calc(10px - .07em);border-radius:16px}
.s-cur.f-status .cu-leg{font-size:28px;gap:10px}
.s-cur.f-status .cu-leg .lb{font-size:26px;padding:2px 10px}
.s-cur.f-status .cu-body{padding-top:26px}
.s-cur.f-status .cu-sh{font-size:40px;padding:12px 20px}
.s-cur.f-status .cu-ss{font-size:24px;margin-top:6px}
.s-cur.f-status .cu-cols{margin-top:14px;gap:22px}
.s-cur.f-status .cu-ch{font-size:30px;padding:6px 2px}
.s-cur.f-status .cu-ch small{font-size:22px}
.s-cur.f-status .ttc li{min-height:58px;padding:4px 2px;column-gap:12px}
.s-cur.f-status .ttc .tm{font-size:38px}
.s-cur.f-status .lb{font-size:24px;padding:2px 9px}
.s-cur.f-status .ttc .xn{font-size:22px}
.s-cur.f-status .ttc .nt{font-size:22px}
.s-cur.f-status .ttc li.hr{font-size:30px;min-height:46px}
.s-cur.f-status .ttc li.hr b{width:52px}
.s-cur.f-status .cu-foot{font-size:22px;padding-top:14px;margin-top:16px;flex-direction:column;align-items:center;text-align:center}
.s-cur.f-status .cu-side + .cu-side{margin-top:34px}
.s-cur.f-status .cu-gt{font-size:28px;margin-top:14px}
.s-cur.f-status .cu-gt th,.s-cur.f-status .cu-gt td{padding:14px 4px}
.s-cur.f-status .cu-gt small{font-size:20px}
.deck[data-look="large"] .s-cur .ttc .tm{font-weight:900}
.deck[data-look="large"] .s-cur .cu-head .sub,.deck[data-look="large"] .s-cur .cu-foot{color:#000}

/* ================= טבלת לו"ז לכמה קווים (s-mt) ושקף "רק מה שהשתנה" (s-sum) ================= */
.s-mt .mt-key{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 14px;font-weight:700;color:var(--s-sub);align-self:flex-end;max-width:55%}
.s-mt .mt-key > span{white-space:nowrap}
.s-mt table.mt-t{width:100%;border-collapse:collapse;table-layout:fixed;margin-top:12px}
.s-mt .mt-t th{color:var(--s-sub);font-weight:800;text-align:right;border-bottom:2px solid var(--s-band);vertical-align:bottom}
.s-mt .mt-t th small{display:block;font-weight:600}
.s-mt .mt-t td{border-bottom:1px solid var(--s-line);vertical-align:top;text-align:right}
.s-mt .mt-t tr.cont td{border-top:none}
.s-mt .mt-t tr.lead td{border-top:1px solid var(--s-line)}
.s-mt .mt-t td.ln .badge.sm{min-width:0}
.s-mt .mt-t td.from{font-weight:800;color:var(--s-fg)}
.s-mt .mt-t td.tms .tm{white-space:nowrap}
.s-mt .mt-t td.tx{color:var(--s-sub);font-weight:700}
.s-mt .mt-t td.tx.off{color:var(--s-before);font-weight:800}
.s-mt .mt-t tr.band td{color:#fff;font-weight:900;font-family:'Heebo',Arial,sans-serif;border:none}
.s-mt .mt-t tr.band.c0 td{background:#0f766e}.s-mt .mt-t tr.band.c1 td{background:#c2410c}.s-mt .mt-t tr.band.c2 td{background:#6d28d9}
.s-mt .mt-t tr.band.c3 td{background:#1d4ed8}.s-mt .mt-t tr.band.c4 td{background:#a16207}.s-mt .mt-t tr.band.c5 td{background:#be185d}
.s-mt .tm.sh,.s-mt .mt-key .tm.sh{background:#fdf0d5;color:#8a5a00;font-weight:900;box-shadow:inset 0 0 0 1.5px #c58a00}
.s-mt .tm .xn{color:var(--s-sub);font-weight:700;margin-inline-start:2px}
.s-mt .mt-t.gen td{vertical-align:middle}
.s-mt .mt-t.gen td.num,.s-mt .mt-t.gen th:nth-child(4),.s-mt .mt-t.gen th:nth-child(5),.s-mt .mt-t.gen th:nth-child(6){text-align:center}
.s-mt .mt-t.gen td s{color:var(--s-before)}
.s-mt .mt-t.gen td.wt{font-weight:600;line-height:1.3}
.s-mt .mt-t.gen td.dy{font-weight:800}
/* מצגת */
.s-mt.f-deck{padding:36px 48px 46px}
.s-mt.f-deck .cu-head h1{font-size:40px}
.s-mt.f-deck .cu-head .sub{font-size:19px}
.s-mt.f-deck .mt-key{font-size:15px}
.s-mt.f-deck .mt-t{font-size:18px}
.s-mt.f-deck .mt-t th{font-size:16px;padding:4px 6px}
.s-mt.f-deck .mt-t th.ln{width:74px}.s-mt.f-deck .mt-t th.from{width:150px}
.s-mt.f-deck .mt-t td{padding:5px 6px;line-height:27px}
.s-mt.f-deck .mt-t td.ln .badge.sm{font-size:22px;padding:calc(4px + .07em) 9px calc(4px - .07em);border-radius:8px}
.s-mt.f-deck .mt-t tr.band td{font-size:19px;padding:5px 12px}
.s-mt.f-deck .mt-t.gen th:nth-child(3){width:110px}.s-mt.f-deck .mt-t.gen th:nth-child(4){width:130px}
.s-mt.f-deck .mt-t.gen th:nth-child(5),.s-mt.f-deck .mt-t.gen th:nth-child(6){width:150px}
.s-mt.f-deck .mt-t.gen td.wt{font-size:16px}
/* A4 */
.s-mt.f-sign .cu-head h1{font-size:28px}
.s-mt.f-sign .mt-key{font-size:11.5px;max-width:52%}
.s-mt.f-sign .mt-t{font-size:13px}
.s-mt.f-sign .mt-t th{font-size:12px;padding:3px 4px}
.s-mt.f-sign .mt-t th.ln{width:50px}.s-mt.f-sign .mt-t th.from{width:96px}
.s-mt.f-sign .mt-t td{padding:3px 4px;line-height:20px}
.s-mt.f-sign .mt-t td.ln .badge.sm{font-size:16px;padding:calc(3px + .07em) 6px calc(3px - .07em);border-radius:6px}
.s-mt.f-sign .mt-t tr.band td{font-size:14px;padding:4px 10px}
.s-mt.f-sign .tm{padding:0 2px}
.s-mt.f-sign .tm .xn{font-size:9.5px}
.s-mt.f-sign .mt-t.gen th:nth-child(3){width:70px}.s-mt.f-sign .mt-t.gen th:nth-child(4){width:76px}
.s-mt.f-sign .mt-t.gen th:nth-child(5),.s-mt.f-sign .mt-t.gen th:nth-child(6){width:96px}
.s-mt.f-sign .mt-t.gen td.wt{font-size:11.5px}
/* רק מה שהשתנה */
.s-sum{padding:40px 64px 60px;display:flex;flex-direction:column;gap:18px}
.s-sum h2{font-size:44px;font-weight:900}
.slide .sm-rows{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.slide .sm-rows li{display:flex;align-items:flex-start;gap:18px;padding:10px 0;border-bottom:1px solid var(--s-line)}
.slide .sm-rows .badge.sm{font-size:28px;min-width:72px}
.slide .sm-rows .sm-t{min-width:0;display:flex;flex-direction:column;gap:4px}
.slide .sm-rows .sm-h{display:flex;align-items:center;gap:10px}
.slide .sm-rows .sm-od{font-weight:700;color:var(--s-sub);font-size:17px}
.slide .sm-rows p{font-size:19px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.slide .chip.tt{background:#fdf0d5;color:#8a5a00}
.s-status.s-sum{padding:0;gap:0}
.s-status.s-sum .st-top.sm{padding-top:110px;gap:16px}
.s-status.s-sum .st-top.sm h1{font-size:72px}
.s-status.s-sum .sm-rows{padding:30px 56px 0}
.s-status.s-sum .sm-rows li{gap:26px;padding:22px 0}
.s-status.s-sum .sm-rows .badge.sm{font-size:48px;min-width:110px;padding:calc(10px + .07em) 16px calc(10px - .07em)}
.s-status.s-sum .sm-rows .chip{font-size:26px}
.s-status.s-sum .sm-rows .sm-od{font-size:28px}
.s-status.s-sum .sm-rows p{font-size:32px;-webkit-line-clamp:3}
.s-mt .mt-t td.from small{display:block;font-weight:700;color:var(--s-sub);font-size:.8em}
.s-cur .cu-cols.hashol .cu-ch{min-height:2.9em;justify-content:flex-end}
.s-cur .cu-gt td.n small{display:flex;justify-content:center;gap:10px;margin-top:3px}
.s-cur .cu-gt td.n .pl{display:inline-flex;align-items:center;gap:4px}
.s-cur .cu-gt td.n small .lb{margin:0}
/* סימנים ליד השעה: אות בעיגול — נסיעה בחלופה אחרת של המסלול; ×2 עדין (במצגת) — שני אוטובוסים באותה דקה. מקרא (.cu-key) */
.s-cur .al{display:inline-grid;place-items:center;width:1.35em;height:1.35em;border:.09em solid currentColor;border-radius:50%;font-style:normal;font-weight:800;line-height:1;font-family:'Heebo',Arial,sans-serif;flex:none}
.s-cur .tm .al,.s-cur .ms .al{font-size:.55em;margin-inline-end:.3em;vertical-align:.3em;font-variant-numeric:normal}
.s-cur .tm .x2,.s-cur .ms .x2{font-size:.45em;color:var(--s-sub);font-weight:700;margin-inline-start:.15em;vertical-align:super;line-height:0}
.s-cur .cu-key{display:flex;flex-wrap:wrap;column-gap:18px;row-gap:4px;color:var(--s-fg);font-weight:600;flex:none;margin:0}
.s-cur .cu-key span{display:inline-flex;align-items:center;gap:6px}
.s-cur .cu-key .al{font-size:.9em}
.s-cur .cu-key b{color:var(--s-sub);font-weight:800}
.s-cur ul.cu-alts{margin:0;padding:0 1.1em 0 0;color:var(--s-fg);font-weight:600}
.s-cur.f-sign .cu-key{font-size:12px;margin-top:5px}
.s-cur.f-sign .tm .al{font-size:.72em;vertical-align:.1em}
.s-cur.f-status .tm .al{font-size:.62em;vertical-align:.15em}
.s-cur.f-sign ul.cu-alts{font-size:13px;margin-top:6px}
.s-cur.f-deck .cu-key{font-size:19px;margin-top:10px}
.s-cur.f-deck ul.cu-alts{font-size:20px;margin-top:14px}
.s-cur.f-status .cu-key{font-size:24px;margin-top:10px}
.s-cur.f-status ul.cu-alts{font-size:26px;margin-top:12px}
/* מפת ההתמצאות במצב עריכה: גרירה, ו-✕ להסתרה (מוסתרת — שקופה בעריכה, לא מופיעה בהדפסה) */
.slide .inset.inoff{display:none!important}
body.editing .slide .inset{cursor:move;touch-action:none}
body.editing .slide .inset.inoff{display:block!important;opacity:.3}
.slide .inset-x{display:none;position:absolute;top:4px;right:4px;z-index:1000;width:26px;height:26px;border-radius:50%;border:0;background:#13201b;color:#fff;font-size:14px;line-height:26px;padding:0;cursor:pointer}
body.editing .slide .inset-x{display:block}
.s-sgsum .sm-rows p{-webkit-line-clamp:3;font-size:17px}
/* ================= לו"ז עדכני — טבלה לפי יעד (s-bd), כמו לוח מודעות. --bd: הקטנת הגופן כשיש הרבה קווים ================= */
.s-bd{--fs:13px}
.s-bd .bd-t{width:100%;border-collapse:collapse;table-layout:fixed;font-size:calc(var(--fs) * var(--bd,1));line-height:1.35}
.s-bd .bd-t th{background:var(--s-band);color:var(--s-band-fg);font-weight:800;text-align:center;padding:.3em .3em;border:1px solid var(--s-band)}
.s-bd .bd-t td{border:1px solid var(--s-line);vertical-align:top;padding:.28em .4em}
.s-bd .bd-t tr.bband td{color:#fff;font-weight:900;font-family:'Heebo',Arial,sans-serif;text-align:center;padding:.22em .5em;font-size:1.08em;border-color:transparent}
.s-bd .bd-t td.bl{text-align:center;vertical-align:middle;background:var(--s-paper)}
.s-bd .bd-t td.bl .badge.sm{min-width:0;font-size:1.55em;padding:.12em .35em .06em;border-radius:.3em}
.s-bd .bd-t td.bl small{display:block;color:var(--s-sub);font-weight:700;font-size:.78em;line-height:1.15;margin-top:.25em}
.s-bd .bd-t td.bl small.un{color:#b45309}
.s-bd .bd-t td.bo{text-align:center;vertical-align:middle;line-height:1.2}
.s-bd .bd-t td.bo b{display:block;font-weight:800}
.s-bd .bd-t td.bo small{display:block;color:var(--s-sub);font-weight:600;font-size:.76em;margin-top:.15em}
.s-bd .bd-t td.bo small.tw{color:var(--s-fg);font-weight:700}
.s-bd .bd-t td.bt{text-align:right}
/* "אינו פעיל" — באותו מקום כמו השעות בתאים האחרים (שמואל 22.11) */
.s-bd .bd-t td.bt.off{color:var(--s-sub);font-weight:700}
.s-bd .tl{display:block;word-spacing:.18em}
.s-bd .t{font-weight:700;white-space:nowrap;unicode-bidi:isolate}
.s-bd .t.alt,.s-bd .alt{color:#c81e1e;font-weight:900}
.s-bd .t .xn{font-size:.72em;color:var(--s-sub);font-weight:800;margin-left:.1em}
.s-bd .t sup{font-size:.68em;color:#b45309;font-weight:800;margin-left:.15em;line-height:0;unicode-bidi:isolate}
.s-bd .bnote{display:block;color:#c81e1e;font-weight:700;font-size:.8em;line-height:1.25;margin-top:.2em}
/* לפי סוג קו: כותרת פרק מעל הפסים של כל סוג (עירוני / בין-עירוני / אזורי) */
.s-bd .bd-t tr.bsec td{background:var(--s-paper);color:var(--s-fg);font-weight:900;font-family:'Heebo',Arial,sans-serif;font-size:1.22em;text-align:right;padding:.45em .2em .15em;border:0;border-bottom:3px solid var(--s-fg);letter-spacing:.01em}
.s-bd .bd-t tr.bsec:first-child td{padding-top:.1em}
.s-bd.dense .bd-t tr.bsec td{font-size:1.05em;padding:.2em .2em .05em;border-bottom-width:2px}
.s-bd tr.bsec0{display:none}
body.editing .s-bd tr.bsec0{display:table-row}
body.editing .s-bd tr.bsec0 td{min-height:1em;opacity:.6}
/* חלופות: לכל חלופה בשורה צבע וסימן משלה (* # ^ $ ~ +) — הסימן צמוד לשעה, באותה יחידה; מקרא בתחתית העמוד */
.s-bd .t .al,.s-bd .bd-ali .al{display:inline;width:auto;height:auto;border:0;border-radius:0;font-style:normal;line-height:inherit;font-family:'Heebo',Arial,sans-serif;font-variant-numeric:normal}
.s-bd .t .al{font-size:.8em;font-weight:900;margin:0;vertical-align:.12em;line-height:0}
/* הסימן לפני השעה (#07:00, משמאל לה — שלמה 23.11), ורווח קטן משמאל ליחידה — כדי שהסימן לא ייראה שייך לשעה שמשמאל */
.s-bd .t.alt{margin-left:.14em}
/* מימין לשמאל: הסימנים (×N, ימים) משמאל לשעה */
.s-bd .t[dir="rtl"] .xn{margin-left:0;margin-right:.1em}
.s-bd .t[dir="rtl"] sup{margin-left:0;margin-right:.15em}
.s-bd .bnote .bna{font-weight:800}
.s-bd .bd-alts{margin-top:.45em;border:2px solid var(--s-line);border-radius:6px;padding:.2em .6em;line-height:1.3}
.s-bd .bd-al{margin:.08em 0;font-weight:700}
.s-bd .bd-aln{color:var(--s-fg);font-weight:800;margin-inline-end:.15em}
.s-bd .bd-ali{font-weight:800}
.s-bd .bd-ali .al{font-weight:900;font-size:1em}
.s-bd .bd-als{color:var(--s-sub)}
.s-bd.f-sign .bd-alts{font-size:11px}.s-bd.f-deck .bd-alts{font-size:14px}.s-bd.f-status .bd-alts{font-size:21px}
.s-bd.dense .bd-alts{margin-top:.3em;padding:.1em .5em;line-height:1.2}
.s-bd .bd-foot{flex:none}
.s-bd .bd-upd{font-weight:700;color:#c81e1e;border:2px solid var(--s-line);border-radius:6px;padding:.25em .6em;margin-top:.5em}
.s-bd .bd-upd b{color:var(--s-fg);margin-inline-end:.4em}
.s-bd .bd-ph{display:flex;flex-wrap:wrap;column-gap:1.1em;row-gap:.15em;font-weight:600;margin-top:.45em;color:var(--s-fg)}
.s-bd .bd-ph > b{color:var(--s-sub)}
.s-bd .bd-ph b.ltr{font-weight:800}
.s-bd .bd-head{padding-bottom:.5em}
/* הכותרת על כל הרוחב — בלי זה, בצילום ל-PDF כותרת שהיא הדבר הרחב ביותר נשברת לשתי שורות ועולה על שורת התוקף */
.s-bd .bd-head > .t,.s-bd .bd-head > .t > div{flex:1 1 auto;min-width:0}
.s-cur.s-bd.f-sign{padding:26px 26px 14px}
.s-bd.f-sign .cu-head h1{font-size:28px}
.s-bd.f-sign .cu-head .sub{font-size:13px}
.s-bd.f-sign .cu-body{padding-top:8px}
.s-bd.f-sign .bd-t col.cl{width:52px}.s-bd.f-sign .bd-t col.co{width:104px}
.s-bd.f-sign .bd-upd,.s-bd.f-sign .bd-ph{font-size:11.5px}
.s-cur.s-bd.f-deck{padding:26px 36px 30px}
.s-bd.f-deck{--fs:16px}
.s-bd.f-deck .cu-head h1{font-size:34px}
.s-bd.f-deck .cu-head .sub{font-size:16px}
.s-bd.f-deck .cu-body{padding-top:8px}
.s-bd.f-deck .bd-t col.cl{width:76px}.s-bd.f-deck .bd-t col.co{width:150px}
.s-bd.f-deck .bd-upd,.s-bd.f-deck .bd-ph{font-size:14px}
.s-bd.f-deck .cu-foot{font-size:12px;padding-top:4px;margin-top:4px}
.s-cur.s-bd.f-status{padding:90px 36px 50px}
.s-bd.f-status{--fs:23px}
.s-bd.f-status .cu-head h1{font-size:54px}
.s-bd.f-status .cu-head .sub{font-size:24px}
.s-bd.f-status .cu-body{padding-top:14px}
.s-bd.f-status .bd-t col.cl{width:96px}.s-bd.f-status .bd-t col.co{width:170px}
.s-bd.f-status .bd-upd,.s-bd.f-status .bd-ph{font-size:21px}
.s-bd.f-status .cu-foot{font-size:17px;padding-top:6px;margin-top:6px}
.s-bd .t bdi{unicode-bidi:isolate}
.s-bd .t .xn{font-size:.72em;color:var(--s-sub);font-weight:800;margin-left:.1em}
/* הקרדיט לקו הבוחן בלוח לפי יעד: שורה משלו, מודגשת ובירוק של האתר */
.s-bd .bd-cr{font-weight:800;color:var(--s-new);text-align:center;margin-top:.3em}
.s-bd.f-sign .bd-cr{font-size:13px}.s-bd.f-deck .bd-cr{font-size:14px}.s-bd.f-status .bd-cr{font-size:22px}
.s-bd .bd-priv{color:var(--s-sub);font-weight:600;text-align:center;margin:.35em 0 0}
.s-bd.f-sign .bd-priv{font-size:10px}.s-bd.f-deck .bd-priv{font-size:12px}.s-bd.f-status .bd-priv{font-size:17px}
.s-bd .bd-priv + .bd-cr{margin-top:.15em}
/* עריכה בלוח: ✕ בפינה של תא המוצא (שורה) ושל תא הקו (קו שלם); מה שהוסר — שורה אפורה דקה, רק במצב עריכה */
/* במצב עריכה: השורה שנבחרה (לחיצה על תא; על מספר הקו — כל השורות של הקו) — רקע תכלת ומסגרת כחולה */
body.editing .s-bd tr.br{cursor:pointer}
body.editing .s-bd tr.bsel > td{background:#e6eefc!important}
body.editing .s-bd tr.bsel{outline:3px solid #1f5fd1;outline-offset:-3px}
.s-bd tr.boff{display:none}
body.editing .s-bd tr.boff{display:table-row}
body.editing .s-bd tr.boff td{background:repeating-linear-gradient(-45deg,#f1f3f2 0 6px,#e6eae8 6px 12px);color:#5b6b65;font-weight:700;font-size:.85em;padding:.2em .5em;text-align:right;opacity:.85}
body.editing .s-bd tr.bband.boff td{background:#9aa5a0}
.s-bd .bdr{border:1.5px solid #1f5fd1;background:#fff;color:#1f5fd1;font:800 1em Arial,sans-serif;border-radius:6px;padding:0 .5em;margin-inline-end:.4em;cursor:pointer}
.s-bd .bd-t td.bo .bdt:empty{margin:0}
/* בטלפון השלט מוקטן לרוחב המסך — ה-✕ ו"להחזיר" גדולים יותר, כדי שאפשר יהיה ללחוץ עליהם באצבע */
@media (max-width:700px){
  body.editing .deck .s-bd .bdr{font-size:1.6em;padding:.1em .7em}
  body.editing .deck .s-bd tr.boff td{font-size:1.15em;padding:.35em .5em}
}
/* מספר טלפון ארוך (073-796-8430) — בשורה אחת, משמאל לימין, ובגופן קטן יותר */
.s-close .ph .v{white-space:nowrap;direction:ltr;unicode-bidi:isolate}
.s-close .ph .v.lg{font-size:30px;line-height:48px}
.s-bd .bd-ph b.ltr{white-space:nowrap}

/* סדר השעות (data-tord על .deck): משמאל לימין — בטבלה לפי יעד, ברשימות לפי שעה ובטבלאות הלו"ז */
.deck[data-tord="ltr"] .s-bd .bd-t td.bt.off,.deck[data-tord="ltr"] .s-bd .bd-t td.bt.same{text-align:left}
.deck[data-tord="ltr"] .s-bd .tl,.deck[data-tord="ltr"] .s-cur .ttc li.hr .ms,.deck[data-tord="ltr"] .s-mt .mt-t td.tms{direction:ltr;text-align:left}
.deck[data-tord="ltr"] .s-cur .cu-grid{direction:ltr}
.deck[data-tord="ltr"] .s-cur .cu-grid > li{direction:rtl}
.deck[data-tord="ltr"] .s-cur .ttc li.hr{flex-direction:row-reverse;justify-content:flex-start}
/* מפה במצב עריכה: אפשר לגרור ולהגדיל (הכפתורים — בשורת העריכה של השקף, לא על המפה) */
.slide .leaflet-container.mapedit{cursor:grab}
/* לוח לפי יעד: שדה ריק עם רמז (שורה שנוספה) — רק במצב עריכה */
body.editing .s-bd .bdt[data-ph]:empty::before{content:attr(data-ph);color:#8a9792;font-weight:600}
body.editing .s-bd .badge.bdt[data-ph]:empty::before{color:rgba(255,255,255,.75)}
body.editing .s-bd tr.badd td{background:#fbfdf9}
.s-bd .bd-t td.bl .badge.bdt:empty{min-width:1.6em;min-height:1em;display:inline-block}
/* הודעה על שינוי — "טבלה לפי יעד" עם סימון: חדשה או בשעה חדשה — ירוק מודגש; בוטלה — אדום מחוק, בשעה הקודמת */
.s-bd .t.nw{color:#137a3f;font-weight:900}
.s-bd .t.rm{color:#c81e1e;font-weight:600;text-decoration:line-through;text-decoration-thickness:.09em}
.s-bd .t .was{font-size:.66em;color:#137a3f;font-weight:700;margin-left:.2em;unicode-bidi:isolate}
.s-bd .bdrm{display:block;color:#c81e1e;font-weight:700;font-size:.8em;margin-top:.15em}
.s-bd .bdrm .t{text-decoration:line-through;font-weight:600}
.s-bd .bd-key{margin:.3em 0 0;font-size:.95em;display:flex;flex-wrap:wrap;gap:.3em 1.1em;align-items:baseline}
.s-bd .bd-key .t{margin-inline-end:.25em}
.s-bd .bd-t td.bl small.nwl{color:#137a3f;font-weight:800}
.s-bd .bd-t td.bt.same{color:var(--s-sub);font-weight:700}
.s-bd .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.s-bd .nwt{color:#137a3f;font-weight:800}
/* לוח לפי יעד: ימי חול מפוצלים — "יום חול" מעל א׳–ד׳ · יום ה׳ */
.s-bd .bd-t th.wkh{border-bottom:1px solid rgba(255,255,255,.4)}
.s-bd .bd-t tr.wk2 th{font-size:.9em;padding-top:.12em;padding-bottom:.12em}
/* "צפוף": שורות צרות, פחות רווח בין השעות, פס דק, עמודות הקו והמוצא צרות יותר */
.s-bd.dense .bd-t{line-height:1.12}
.s-bd.dense .bd-t td{padding:.06em .25em}
.s-bd.dense .bd-t th{padding:.15em .25em}
.s-bd.dense .tl{word-spacing:.04em}
.s-bd.dense .bd-t tr.bband td{padding:0 .4em;font-size:.92em;line-height:1.15}
.s-bd.dense .bd-t td.bl{padding:.06em .1em;line-height:1.1}
.s-bd.dense .bd-t td.bl .badge.sm{font-size:1.1em;padding:.02em .2em 0}
.s-bd.dense .bd-t td.bl small{font-size:.6em;margin-top:0;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:clip}
.s-bd.dense .bd-t td.bo{line-height:1.08}
.s-bd.dense .bd-t td.bo small{font-size:.7em;margin-top:0}
.s-bd.dense .bnote{font-size:.72em;margin-top:0;line-height:1.1}
.s-bd.dense.f-sign .bd-t col.cl{width:46px}.s-bd.dense.f-sign .bd-t col.co{width:82px}
.s-bd.dense.f-deck .bd-t col.cl{width:60px}.s-bd.dense.f-deck .bd-t col.co{width:118px}
.s-bd.dense.f-status .bd-t col.cl{width:78px}.s-bd.dense.f-status .bd-t col.co{width:140px}
/* צפוף: בעמודת המוצא — רק מאיפה ולאן (שם התחנה וקוד התחנה — בהערה בקובץ האקסל ובמצב עריכה), כותרת קטנה יותר */
.s-bd.dense .bd-t td.bo small:not(.tw),.s-bd.dense .bd-t td.bo small.twi{display:none}
body.editing .s-bd.dense .bd-t td.bo small:not(.tw),body.editing .s-bd.dense .bd-t td.bo small.twi{display:block}
.s-bd.dense.f-sign .cu-head h1{font-size:22px}
.s-bd.dense.f-sign .cu-head .sub{font-size:11px}
.s-bd.dense.f-sign .bd-head{padding-bottom:.25em}
.s-bd.dense.f-sign .cu-body{padding-top:4px}
.s-bd.dense .bd-ph{margin-top:.2em}
.s-bd.dense .bd-upd{margin-top:.25em;padding:.1em .5em}
.s-cur.s-bd.f-sign.dense{padding:16px 18px 10px}
.s-bd.dense.f-sign .cu-foot{font-size:9px;padding-top:3px;margin-top:4px}
.s-bd.dense.f-sign .bd-upd,.s-bd.dense.f-sign .bd-ph{font-size:10px}
.s-bd.dense.f-sign .bd-priv{font-size:9px;margin-top:.2em}
.s-bd.dense.f-sign .bd-cr{font-size:11.5px}
/* קו חדש / מבוטל בשני כיוונים: בלוק לכל כיוון (מפה, שלט, סטטוס), וסימן אחר לתחילה ולסוף של הכיוון השני */
.slide .dot.end.b{background:#1f5fd1}
.lc-mk.end.b{background:#1f5fd1;box-shadow:0 0 0 1.5px #1f5fd1,0 1px 3px rgba(0,0,0,.4)}
.kdirs{display:flex;flex-direction:column;gap:10px}
.kdir p{margin:0;display:flex;gap:8px;align-items:flex-start;line-height:1.35}
.kdir p .dot{width:16px;height:16px;margin-top:.25em}
.kdir p b{font-weight:800}
.kdir ul.tt-list{margin:3px 0 0}
.s-map .kdir p{font-size:17px}
.s-map.two .lead{font-size:18px;line-height:1.4}
.s-map.two ul.tt-list.sm li{font-size:15px;line-height:1.32}
.sg-what .kdirs{gap:8px}
.sg-what .kdir p{font-size:21px}
.sg-what .kdir ul{gap:2px;padding-right:46px}
.sg-what .kdir ul li{font-size:18px;line-height:1.3}
.st-what .kdirs{gap:20px}
.st-what .kdir p{font-size:32px;font-weight:600}
.st-what .kdir p .dot{width:26px;height:26px}
.st-what .kdir ul{gap:6px;padding-right:38px;margin-top:6px}
.st-what .kdir ul li{font-size:28px;padding-right:0}
.st-what .kdir ul li::before{display:none}
.lc-mk.end.ab{background:linear-gradient(90deg,#1f5fd1 50%,#13201b 50%)}
/* "צבעי המפעיל": בתא של מספר הקו בלוח — מסגרת שהיא חלק מהתגית (border), לא טבעת מבחוץ (box-shadow) שעולה על שם המפעיל מתחתיה */
.deck[data-look="op"] .s-bd .bd-t td.bl .badge{box-shadow:none;border:max(2px,.1em) solid var(--s-brand2)}
.s-bd .bd-t td.bl .badge{vertical-align:middle}
/* מספר הקו באמצע התא, גם כשהוא רחב מהתא (384, 10א ברגיל): בלוק ברוחב התוכן, שהמרכז שלו במרכז התא — ולא צמוד לצד אחד.
   (בתא מימין לשמאל דפדפן מתעלם מ-margin-left של בלוק רחב מדי — לכן התא עצמו משמאל לימין, והתוכן בתוכו מימין לשמאל) */
.s-bd .bd-t td.bl{padding-left:.15em;padding-right:.15em;direction:ltr}
.s-bd .bd-t td.bl > *{direction:rtl}
.s-bd .bd-t td.bl > .badge{display:flex;width:max-content;margin-left:50%;margin-right:0;transform:translateX(-50%)}
.s-bd .bd-t td.bl > .badge.bdt:empty{display:flex}
.s-bd.dense .bd-t td.bl small{margin-top:.08em}
/* טקסט שנמחק בלוח: מחוץ לעריכה — לא תופס מקום; במצב עריכה — סימן קטן בפינת התא, ללחיצה ושחזור */
.s-bd .bdt.bdel{display:none}
body.editing .s-bd .bd-t td{position:relative}
body.editing .s-bd .bdt.bdel{display:block;position:absolute;top:.15em;inset-inline-start:.15em;width:.75em;height:.75em;min-width:0;min-height:0;padding:0;margin:0;outline:0;border:1.5px dashed #7b8a85;border-radius:50%;background:#fff;overflow:hidden;cursor:pointer;font-size:inherit}
body.editing .s-bd .bdt.bdel[data-bk$="|s"]{top:calc(50% - .375em)}
body.editing .s-bd .bdt.bdel[data-bk$="|w"],body.editing .s-bd .bdt.bdel.bnote{top:auto;bottom:.15em}
body.editing .s-bd .bdt.bdel:hover{border-color:#1f5fd1;border-style:solid}
body.editing .s-bd .bdt.bdel:focus{position:static;width:auto;height:auto;min-width:2.5em;min-height:1em;border-radius:3px;overflow:visible}

/* יישור שנבחר לתא בלוח (סרגל העריכה) — גובר על ברירת המחדל ועל סדר השעות */
.s-bd .bd-t td.al-r,.s-bd .bd-t td.al-r .tl,.s-bd .bd-t td.al-r .bnote{text-align:right!important}
.s-bd .bd-t td.al-c,.s-bd .bd-t td.al-c .tl,.s-bd .bd-t td.al-c .bnote{text-align:center!important}
.s-bd .bd-t td.al-l,.s-bd .bd-t td.al-l .tl,.s-bd .bd-t td.al-l .bnote{text-align:left!important}

/* מראה הלוח (שמואל 22.11): כותרת במרכז, וצבעים לכותרות ולשעות (--bdh-*, --bdc-* מהדף; הטקסט שחור או לבן לפי הרקע) */
.s-bd.tal-c .bd-head > .t, .s-bd.tal-c .bd-head > .t > div{text-align:center;justify-content:center}
.s-bd.tal-c .bd-head .bd-key{justify-content:center}
.s-bd.clr-h .bd-head{background:var(--bdh-bg);color:var(--bdh-fg);border-bottom-color:var(--bdh-bg);padding:.45em .7em .5em;border-radius:.35em .35em 0 0}
.s-bd.clr-h .bd-head .sub{color:var(--bdh-fg);opacity:.85}
.s-bd.clr-h .bd-t th{background:var(--bdh-bg);color:var(--bdh-fg);border-color:var(--bdh-bg)}
.s-bd.clr-c .bd-t td.bt,.s-bd.clr-c .bd-t td.bo{background:var(--bdc-bg);color:var(--bdc-fg)}
.s-bd.clr-c .bd-t td.bo small,.s-bd.clr-c .bd-t td.bt.off{color:var(--bdc-fg);opacity:.8}
.s-bd .bd-t td.bl .badge.sm.two{padding-bottom:.36em;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.s-bd.tal-l .bd-head > .t, .s-bd.tal-l .bd-head > .t > div{text-align:left;justify-content:flex-end}
.s-bd.tal-l .bd-head .bd-key{justify-content:flex-end}
