/* ═══════════════════════════════════════════════════════════════════
   האתר בעיצוב אפל (v4) — העיצוב של סבב 3 ("המסלול על המפה"), נלקח כמו שהוא מ-עיצוב-אפל/סבב-3-מסלול-מפה.html.
   נשען על apple-tokens.css + apple-components.css. בסוף הקובץ: התאמות לאתר החי (מעטפה, סנכרון, בלי רשת).
   ═══════════════════════════════════════════════════════════════════ */
html.ax-on, html.ax-on body { background: var(--apple-system-grouped-background); }
.ap-navbar { --ap-edge-color: var(--apple-system-grouped-background); }
.ltr { direction: ltr; unicode-bidi: isolate; }
bdi { white-space: nowrap; }
.view { animation: fade .22s var(--apple-ease-standard); }
@keyframes fade { from { opacity: 0 } }
.eyebrow { margin: 0; padding-inline: max(var(--apple-margin), var(--apple-safe-left)); color: var(--apple-secondary-label);
  font-size: var(--apple-text-subheadline); font-weight: 600; }
.ap-large-title-block { padding-block-start: 2px; }

/* רצועת ימים */
.days { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px max(var(--apple-margin), var(--apple-safe-left)) 16px;
  cursor: grab; scroll-behavior: smooth; overscroll-behavior-x: contain;
  /* הטעיה בקצוות: רמז שיש עוד ימים */
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(to left, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%); }
.days.is-grabbing { cursor: grabbing; scroll-behavior: auto; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; display: grid; justify-items: center; gap: 4px; min-inline-size: 46px; padding: 2px 0; border: 0; background: none; cursor: pointer; color: var(--apple-label); }
.day__wd { font-size: var(--apple-text-caption2); font-weight: 600; color: var(--apple-secondary-label); }
.day__n { display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: 50%; font-size: var(--apple-text-title3); font-weight: 500; font-variant-numeric: tabular-nums; }
.day[aria-current="date"] .day__n { background: var(--apple-accent); color: var(--apple-on-accent); font-weight: 600; }
.day__city { font-size: var(--apple-text-caption2); color: var(--apple-tertiary-label); max-inline-size: 52px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.day[aria-current="date"] .day__city { color: var(--apple-accent); font-weight: 600; }

/* ---------- "לשים לב" — שלוש אפשרויות ---------- */
/* א · שורות חופשיות (כמו מתחת לכרטיס "עכשיו") */
.notes-a { list-style: none; margin: 0 0 var(--apple-space-6); padding: 0 4px; display: grid; gap: 8px; }
.notes-a li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--apple-text-subheadline); line-height: var(--apple-leading-subheadline); color: var(--apple-secondary-label); }
.notes-a .ap-icon, .notes-b .ap-icon { inline-size: 17px; block-size: 17px; color: var(--c); flex: none; margin-block-start: 1px; }
/* ב · מסגרת צבעונית — משטח בגוון אחר מהמסלול הלבן */
.notes-b { margin: 0 0 var(--apple-space-6); padding: 14px 16px 16px; border-radius: var(--apple-radius-group);
  background: color-mix(in srgb, var(--apple-orange) 13%, var(--apple-system-grouped-background)); }
.notes-b h2 { margin: 0 0 10px; display: flex; gap: 6px; align-items: center; font-size: var(--apple-text-subheadline); font-weight: 700;
  color: color-mix(in srgb, var(--apple-orange) 75%, var(--apple-label)); }
.notes-b h2 .ap-icon { --c: currentColor; inline-size: 16px; block-size: 16px; stroke-width: 2.4; margin: 0; }
.notes-b ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.notes-b li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--apple-text-subheadline); line-height: var(--apple-leading-subheadline); }
/* ג · מקופל — שורה אחת, נפתחת */
.notes-c { margin: 0 0 var(--apple-space-6); }
.notes-c summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-block-size: 44px; padding: 0 14px;
  border-radius: var(--apple-radius-capsule); background: var(--apple-tertiary-system-fill); font-size: var(--apple-text-subheadline); font-weight: 600; }
.notes-c summary::-webkit-details-marker { display: none; }
.notes-c .dots { display: flex; gap: 4px; }
.notes-c .dots i { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--c); }
.notes-c summary .chev { margin-inline-start: auto; inline-size: 16px; block-size: 16px; stroke-width: 2.6; color: var(--apple-secondary-label); transition: transform .25s var(--apple-spring-snappy); }
.notes-c[open] summary .chev { transform: rotate(180deg); }
.notes-c .notes-a { margin: 12px 0 0; padding-inline: 6px; }

/* ---------- המסלול ---------- */
.route-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.route-head .ap-section__header { padding-inline-end: 0; }
.route-total { font-size: var(--apple-text-footnote); color: var(--apple-secondary-label); padding-inline-end: var(--apple-space-4); font-variant-numeric: tabular-nums; }
.grp { margin-block-end: 12px; }
.glyph-dot { flex: none; display: grid; place-items: center; inline-size: 32px; block-size: 32px; border-radius: 50%; color: #fff; background: var(--c); }
.glyph-dot .ap-icon { inline-size: 17px; block-size: 17px; stroke-width: 2.2; }
.stop.is-done .glyph-dot { background: var(--apple-green); }
.stop.is-done .ap-row__title { color: var(--apple-secondary-label); }
.next-tag { flex: none; color: var(--apple-accent); font-weight: 600; font-size: var(--apple-text-subheadline); }
.dot::before { content: "·"; margin-inline: 4px; }

/* שורה עם החלקה */
.swipe { position: relative; overflow: hidden; }
/* שתי שכבות פעולה מתחת לשורה; רק זו של כיוון ההחלקה גלויה */
.swipe__side { position: absolute; inset: 0; display: flex; visibility: hidden; }
.swipe[data-dir="lead"] .swipe__side--lead, .swipe[data-dir="trail"] .swipe__side--trail { visibility: visible; }
.swipe__side--lead { justify-content: flex-start; }                /* RTL: הצד הימני */
.swipe__side--trail { justify-content: flex-end; }                 /* RTL: הצד השמאלי */
.swipe__act { flex: none; display: flex; align-items: center; justify-content: center;
  inline-size: var(--w, 88px); min-inline-size: 88px; padding: 0; border: 0; color: #fff; font-weight: 600; font-size: var(--apple-text-footnote); cursor: pointer; }
.swipe__in { display: flex; flex-direction: column; align-items: center; gap: 3px; inline-size: 88px; }   /* אייקון + מילה = יחידה ממורכזת */
.swipe__act .ap-icon { inline-size: 21px; block-size: 21px; stroke-width: 2.3; }
.swipe__act--done { background: var(--apple-green); }
.swipe__act--move { background: var(--apple-indigo); }
.swipe__act--del { background: var(--apple-red); }
/* בהחלקה מלאה התוכן נצמד לקצה החיצוני, כמו בדואר */
.swipe__act--done.is-stretch { justify-content: flex-start; }
.swipe__act--del.is-stretch { justify-content: flex-end; }
.swipe__row:focus { outline: none; }
.swipe__row:focus-visible { outline: 3px solid color-mix(in srgb, var(--apple-accent) 60%, transparent); outline-offset: -3px; }
.lock { display: inline-flex; align-items: center; gap: 3px; color: var(--apple-green); font-weight: 600; }
.lock--line { display: flex; margin-block-start: 2px; }
.lock .ap-icon { inline-size: 13px; block-size: 13px; stroke-width: 2.6; }
.swipe__row { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; position: relative; z-index: 1; background: var(--apple-secondary-system-grouped-background); touch-action: pan-y;
  transition: transform .35s var(--apple-spring-snappy); }
.swipe__row.is-dragging { transition: none; }
.ap-list > li.is-lifted .swipe__row { transform: scale(1.02); }
.ap-list > li.is-lifted .swipe__side { display: none; }
.ap-list > li.is-lifted { z-index: 5; box-shadow: 0 10px 30px rgb(0 0 0 / .18); transition: none; }
.ap-list > li.is-lifted::before { display: none; }
.ap-list > li { transition: transform .25s var(--apple-spring-snappy); }
.ap-list > li.is-lifted { transition: none; }

/* ---------- הכרטיס הפתוח ("עכשיו" בתוך הרשימה) ---------- */
.open-card { border-radius: 26px; background: var(--apple-secondary-system-grouped-background); overflow: hidden; margin-block: 4px 16px;
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 10px 30px rgb(0 0 0 / .08); animation: grow .45s var(--apple-spring-smooth); transform-origin: top center; }
@keyframes grow { from { opacity: 0; transform: scale(.97); } }
.oc-media { position: relative; block-size: 180px; background: var(--c); }
.oc-media img { position: relative; z-index: 1; inline-size: 100%; block-size: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .5s; }
.oc-media img.is-in { opacity: 1; }
.oc-media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgb(255 255 255 / .85); }
.oc-media .ph .ap-icon { inline-size: 54px; block-size: 54px; stroke-width: 1.4; }
.oc-collapse { position: absolute; z-index: 2; inset-block-start: 10px; inset-inline-end: 10px; inline-size: 34px; block-size: 34px; min-inline-size: 0; padding: 0;
  border-radius: 50%; color: #fff; background: rgb(0 0 0 / .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.oc-collapse .ap-icon { inline-size: 16px; block-size: 16px; stroke-width: 2.6; transform: rotate(180deg); }
.oc-body { padding: 16px 18px 18px; }
.oc-body--nomedia { padding-block-start: 14px; }
.oc-kicker { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: var(--apple-text-footnote); font-weight: 600; color: var(--apple-accent); }
.oc-kicker span:last-child { color: var(--apple-secondary-label); font-weight: 500; }
.oc-kicker button { color: var(--apple-secondary-label); background: var(--apple-tertiary-system-fill); }
.open-card h3 { margin: 4px 0 2px; font-size: var(--apple-text-title1); line-height: var(--apple-leading-title1); font-weight: 700; }
.oc-sub { margin: 0; color: var(--apple-secondary-label); font-size: var(--apple-text-subheadline); }
.stat { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 16px; }
.stat b { font-family: var(--apple-font-rounded); font-size: 2.4rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat span { color: var(--apple-secondary-label); font-size: var(--apple-text-subheadline); font-weight: 500; }
/* כפתורים בגודל התוכן: 36 גובה, טקסט רגיל. אזור הנגיעה מורחב ל-44 בלי להגדיל את הכפתור */
.oc-actions, .fd-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 18px; }
.oc-actions .ap-button, .fd-acts .ap-button { position: relative; min-block-size: 36px; padding: 6px 16px; font-size: var(--apple-text-subheadline); white-space: nowrap; }
.oc-actions .ap-button::after, .fd-acts .ap-button::after { content: ""; position: absolute; inset: -4px -2px; }
.oc-actions .ap-icon, .fd-acts .ap-icon { inline-size: 17px; block-size: 17px; }
.oc-text { margin: 0 0 6px; line-height: 1.5; }
.oc-label { margin: 16px 0 4px; font-size: var(--apple-text-footnote); font-weight: 600; color: var(--apple-secondary-label); }
.oc-wiki { margin: 0; line-height: 1.5; color: var(--apple-label); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.oc-wiki.is-full { display: block; }
.more { border: 0; background: none; padding: 4px 0; color: var(--apple-link); font-weight: 600; cursor: pointer; font-size: var(--apple-text-subheadline); }
.oc-facts { list-style: none; margin: 14px -18px -18px; padding: 0; border-block-start: .5px solid var(--apple-separator); }
.oc-facts li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 18px; font-size: var(--apple-text-subheadline); }
.oc-facts li + li { border-block-start: .5px solid var(--apple-separator); }
.oc-facts .k { flex: none; min-inline-size: 58px; color: var(--apple-secondary-label); }
.oc-facts a { color: var(--apple-link); text-decoration: none; }
.undo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 4px 0; font-size: var(--apple-text-footnote); color: var(--apple-secondary-label); }
.undo button { border: 0; background: none; color: var(--apple-link); font-weight: 600; cursor: pointer; font-size: var(--apple-text-subheadline); min-block-size: 44px; }

/* ---------- כרטיסים: ארנק ---------- */
.pass { --h: 70px; --full: 236px; position: relative; border-radius: 16px; color: #fff; padding: 14px 16px 16px; block-size: var(--full); overflow: hidden; box-sizing: border-box;
  background: linear-gradient(170deg, var(--c), color-mix(in srgb, var(--c) 72%, #000)); cursor: pointer;
  box-shadow: 0 -1px 0 rgb(255 255 255 / .18) inset, 0 -6px 18px rgb(0 0 0 / .14);
  transition: margin .45s var(--apple-spring-smooth), transform .3s var(--apple-spring-snappy); }
.stack .pass + .pass { margin-block-start: calc(-1 * var(--full) + var(--h)); }
.stack .pass.is-open, .stack .pass:last-child { block-size: auto; min-block-size: var(--full); }
.stack .pass.is-open + .pass { margin-block-start: 14px; }
.pass:active { transform: scale(.99); }
/* טיוטה: עוד לא נקנה — רקע בהיר בצבע הכרטיס, מסגרת מקווקוות, בלי צל */
.pass--pending { color: color-mix(in srgb, var(--c) 62%, var(--apple-label)); box-shadow: none;
  background: color-mix(in srgb, var(--c) 11%, var(--apple-secondary-system-grouped-background));
  border: 1.5px dashed color-mix(in srgb, var(--c) 55%, transparent); }
.pass--pending .pass__btn { background: color-mix(in srgb, var(--c) 80%, #000); color: #fff; }
.pass--pending .pass__btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
/* נרכש: כרטיס מלא + חותמת */
.pass--bought .pass__sub { font-weight: 700; opacity: 1; }
.stamp { flex: none; display: grid; place-items: center; inline-size: 32px; block-size: 32px; border-radius: 50%;
  background: #fff; color: color-mix(in srgb, var(--c) 80%, #000); box-shadow: 0 2px 8px rgb(0 0 0 / .2); }
.stamp .ap-icon { inline-size: 19px; block-size: 19px; stroke-width: 3.2; }
.pass__head { display: flex; align-items: center; gap: 10px; min-block-size: 40px; }
.pass__head > .ap-icon { inline-size: 22px; block-size: 22px; flex: none; }
.pass__text { flex: 1; min-inline-size: 0; display: grid; }
.pass__title { font-weight: 600; font-size: var(--apple-text-callout); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pass__sub { font-size: var(--apple-text-caption1); opacity: .85; display: flex; gap: 4px; align-items: center; }
.pass__sub .ap-icon { inline-size: 12px; block-size: 12px; stroke-width: 3; }
.pass__date { text-align: end; flex: none; font-size: var(--apple-text-caption1); line-height: 1.15; opacity: .85; font-variant-numeric: tabular-nums; }
.pass__date b { display: block; font-size: var(--apple-text-headline); }
.pass__fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-block: 20px 14px; }
.pass__fields dt { font-size: var(--apple-text-caption2); opacity: .75; font-weight: 600; }
.pass__fields dd { margin: 2px 0 0; font-size: var(--apple-text-title3); font-weight: 600; font-variant-numeric: tabular-nums; }
.pass__note { margin: 0 0 14px; font-size: var(--apple-text-footnote); line-height: 1.4; opacity: .9; }
.pass__tip { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; padding: 10px 12px; border-radius: 12px;
  background: rgb(255 255 255 / .18); font-size: var(--apple-text-footnote); line-height: 1.4; }
.pass__tip .ap-icon { inline-size: 16px; block-size: 16px; flex: none; margin-block-start: 1px; }
.pass__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.pass__btn { display: inline-flex; align-items: center; gap: 6px; min-block-size: 40px; padding: 8px 16px; border: 0; border-radius: 99px;
  background: rgb(255 255 255 / .92); color: #1c1c1e; font-weight: 600; font-size: var(--apple-text-subheadline); cursor: pointer; text-decoration: none; }
.pass__btn--ghost { background: rgb(255 255 255 / .2); color: #fff; }
.pass__body { opacity: 0; transition: opacity .2s; }
.pass.is-open .pass__body, .stack .pass:last-child .pass__body { opacity: 1; }
/* תצוגה ב — לפי ימים: רצועות נפרדות, בלי חפיפה */
.days-wallet .pass { block-size: var(--h); margin-block-end: 8px; padding-block: 15px; }
.days-wallet .pass.is-open { block-size: auto; }
.days-wallet .pass__date { display: none; }
.days-wallet .ap-section__header { display: flex; justify-content: space-between; }
.days-wallet .ap-section { margin-block-end: var(--apple-space-6); }
.wallet-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-block-end: var(--apple-space-5); }
.wallet-summary button { border: 0; border-radius: 16px; padding: 10px 12px; text-align: start; cursor: pointer; background: var(--apple-secondary-system-grouped-background);
  color: var(--apple-label); box-shadow: inset 0 0 0 2px transparent; }
.wallet-summary button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--apple-accent); }
.wallet-summary b { display: block; font-family: var(--apple-font-rounded); font-size: var(--apple-text-title1); line-height: 1.1; font-variant-numeric: tabular-nums; }
.wallet-summary span { font-size: var(--apple-text-footnote); color: var(--apple-secondary-label); font-weight: 600; }
.wallet-summary .now b { color: var(--apple-orange); }
.wallet-summary .done b { color: var(--apple-green); }

/* גיליון פרטי הזמנה */
.ap-sheet { --ap-sheet-height: 82dvh; }
.sheet-lead { margin: 4px 4px 18px; }
.sheet-lead h3 { margin: 0 0 4px; font-size: var(--apple-text-title3); font-weight: 600; }
.sheet-lead p { margin: 0; color: var(--apple-secondary-label); font-size: var(--apple-text-subheadline); }
.field-label { flex: none; min-inline-size: 92px; }
.ap-row input { font-size: 16px; }
.ap-row input[type="time"], .ap-row input[type="url"] { flex: 1; min-inline-size: 0; border: 0; background: transparent; text-align: end; color: var(--apple-accent); }

.empty { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 18vh 32px 0; color: var(--apple-secondary-label); }
.empty .ap-icon { inline-size: 54px; block-size: 54px; stroke-width: 1.4; color: var(--apple-tertiary-label); }
.empty h2 { margin: 0; color: var(--apple-label); font-size: var(--apple-text-title2); font-weight: 700; }
.empty p { margin: 0; max-inline-size: 30ch; }
/* ================= התאמה לגודל מסך ================= */
/* רחב (אייפד לרוחב): רשימה + פרטים זה לצד זה */
.ap-content.is-split { inline-size: min(100% - 2 * var(--apple-margin), 1040px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.route-aside { position: sticky; top: calc(var(--apple-safe-top) + 64px); max-block-size: calc(100dvh - var(--apple-safe-top) - 84px); overflow: auto; border-radius: 26px; }
.route-aside .open-card { margin: 0; }
.aside-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 80px 24px; border-radius: 26px;
  background: var(--apple-secondary-system-grouped-background); color: var(--apple-secondary-label); }
.aside-empty .ap-icon { inline-size: 44px; block-size: 44px; stroke-width: 1.4; color: var(--apple-tertiary-label); }
.aside-empty h2 { margin: 0; color: var(--apple-label); font-size: var(--apple-text-title3); }
.aside-empty p { margin: 0; }
.swipe__row.is-sel { background: color-mix(in srgb, var(--apple-accent) 10%, var(--apple-secondary-system-grouped-background)); }

/* iPhone Duo, מסך חיצוני 466×678 נק׳ (רחב-נמוך, רוחב צר): הלשוניות עוברות לפס אנכי בצד — בצד החומרה (המצלמה), גם בעברית.
   הצד כאן הוא ימין (≈ — המיקום המדויק של המצלמה לא ידוע לי). הפנימי לאורך (626×890) לא נכנס לכאן: רחב מ-600. */
@media (max-width: 600px) and (min-aspect-ratio: 2/3) {   /* רק המסך החיצוני (צר). הפנימי לאורך שומר על פסים אופקיים */
  .app.ax { padding-right: 88px; }
  .ap-tabbar { inset-block: calc(var(--apple-safe-top) + 10px) 10px; left: auto; right: 8px; inset-inline: auto; right: 8px; inline-size: 72px;
    flex-direction: column; align-items: stretch; }
  .ap-tabbar__tabs { flex-direction: column; justify-content: center; gap: 4px; padding: 6px 4px; border-radius: 36px; }
  .ap-tab { flex: none; min-block-size: 56px; padding: 4px 2px; }
  .ap-tab .ap-icon { inline-size: 24px; block-size: 24px; }
  #axApp .view { padding-block-end: 24px; }
  body #mapview { right: 88px; }
  body .mbottom { inset-block-end: 12px; }
  .ap-sheet { inset-inline: 8px 96px; }
}

/* ================= אוכל ================= */
.fseg { margin-block-end: var(--apple-space-5); }
.frow .ap-row__text { gap: 1px; }
.fwarn { color: var(--apple-red); font-weight: 600; font-size: var(--apple-text-footnote); }
.fbest { color: var(--apple-accent); font-weight: 600; font-size: var(--apple-text-footnote); }
.fadd { flex: none; display: grid; place-items: center; inline-size: 32px; block-size: 32px; border-radius: 50%; border: 0; cursor: pointer; position: relative;
  background: color-mix(in srgb, var(--apple-accent) 14%, transparent); color: var(--apple-accent); }
.fadd::after { content: ""; position: absolute; inset: -6px; }
.fadd .ap-icon { inline-size: 18px; block-size: 18px; stroke-width: 2.6; }
.fchip { flex: none; display: inline-flex; align-items: center; gap: 3px; min-block-size: 30px; padding: 0 10px; border-radius: 99px; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--apple-green) 16%, transparent); color: color-mix(in srgb, var(--apple-green) 75%, var(--apple-label));
  font-weight: 600; font-size: var(--apple-text-footnote); white-space: nowrap; }
.fchip .ap-icon { inline-size: 13px; block-size: 13px; stroke-width: 3; }
.frow.is-here .ap-row__title { font-weight: 600; }
.fundo { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: -8px 4px 14px; font-size: var(--apple-text-footnote); color: var(--apple-secondary-label); }
.fundo button { border: 0; background: none; color: var(--apple-link); font-weight: 600; cursor: pointer; min-block-size: 40px; font-size: var(--apple-text-subheadline); }
.fd-head h3 { margin: 0; font-size: var(--apple-text-title2); font-weight: 700; }
.fd-head p { margin: 4px 0 0; color: var(--apple-secondary-label); font-size: var(--apple-text-subheadline); }
.fd-acts { margin-block: 14px 20px; }
.fd-text { margin: 0; padding: 14px 16px; line-height: 1.5; }
.dayrow .ap-row__detail { font-size: var(--apple-text-subheadline); }
.dayrow.is-far { opacity: .5; }
.dayrow .cl { color: var(--apple-red); }
.rec { display: flex; gap: 8px; align-items: center; margin: 0 4px 14px; font-size: var(--apple-text-subheadline); }
.rec .ap-icon { color: var(--apple-accent); inline-size: 18px; block-size: 18px; }

/* "הראו למלצר" — מסך מלא לבן, כמו מצב מסך מלא באפליקציית התרגום */
.waiter { position: fixed; inset: 0; inline-size: 100vw; block-size: 100dvh; max-inline-size: none; max-block-size: none; margin: 0; padding: 0; border: 0;
  background: #fff; color: #1c1c1e; }
.waiter::backdrop { background: #fff; }
.waiter[open] { display: flex; flex-direction: column; }
.w-top { display: flex; align-items: center; justify-content: space-between; padding: calc(var(--apple-safe-top) + 12px) 16px 0; }
.w-top .ap-bar-button { background: #f2f2f7; color: #1c1c1e; }
.w-top small { color: #8e8e93; font-weight: 600; font-variant-numeric: tabular-nums; }
.w-card { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 24px 28px; border: 0; background: none; color: inherit; cursor: pointer;
  text-align: start; perspective: 1200px; }
.w-card .face { transition: transform .5s var(--apple-spring-smooth), opacity .3s; }
.w-card.is-flip .face { transform: rotateY(180deg); opacity: 0; }
.w-big { margin: 0; font-size: clamp(1.9rem, 8.5vw, 3rem); line-height: 1.22; font-weight: 700; letter-spacing: -0.01em; }
.w-small { margin: 0; font-size: var(--apple-text-body); color: #6e6e73; line-height: 1.4; }
.w-small b { display: block; font-size: var(--apple-text-footnote); letter-spacing: .02em; color: #8e8e93; margin-block-end: 2px; }
.w-hint { display: flex; align-items: center; justify-content: center; gap: 6px; color: #8e8e93; font-size: var(--apple-text-footnote); }
.w-hint .ap-icon { inline-size: 15px; block-size: 15px; }
.w-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 16px calc(var(--apple-safe-bottom) + 16px); }
.w-nav .ap-button { background: #f2f2f7; color: #1c1c1e; }
@media (prefers-reduced-motion: reduce) { .w-card .face { transition: opacity .15s; transform: none !important; } }

/* ================= מידע ================= */
.irow .ap-row__subtitle { overflow-wrap: anywhere; }
.ilink { flex: none; font-weight: 600; color: var(--apple-accent); text-decoration: none; font-size: var(--apple-text-subheadline); display: inline-flex; gap: 4px; align-items: center;
  min-block-size: 44px; padding-inline: 4px; }
.ilink--big { font-size: var(--apple-text-title3); font-variant-numeric: tabular-nums; }
.iadd { color: var(--apple-accent); }
.iadd .ap-row__icon { --ap-icon-bg: transparent; color: var(--apple-accent); }
.iadd .ap-row__icon .ap-icon { inline-size: 22px; block-size: 22px; }
.tip summary { list-style: none; cursor: pointer; }
.tip summary::-webkit-details-marker { display: none; }
.tip summary .chev { flex: none; inline-size: 16px; block-size: 16px; stroke-width: 2.6; color: var(--apple-tertiary-label); transition: transform .25s var(--apple-spring-snappy); }
.tip[open] summary .chev { transform: rotate(180deg); }
.tip p { margin: 0; padding: 0 16px 14px 16px; padding-inline-start: 58px; line-height: 1.5; color: var(--apple-secondary-label); font-size: var(--apple-text-subheadline); }
.phr .ap-row__subtitle { direction: ltr; text-align: end; unicode-bidi: plaintext; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ap-row textarea { flex: 1; min-inline-size: 0; border: 0; background: transparent; resize: none; font: inherit; font-size: 16px; color: var(--apple-label); padding: 0; min-block-size: 3.2em; }
.meta-foot { text-align: center; color: var(--apple-secondary-label); font-size: var(--apple-text-footnote); margin: 8px 0 0; }

/* ================= מפה ================= */
#mapview { position: fixed; inset: 0; z-index: 1; display: none; }
#mapview.is-on { display: block; }
html.ax-map, html.ax-map body { overflow: hidden; }
#leaf { position: absolute; inset: 0; background: var(--apple-system-gray6); }
.leaflet-container { font-family: var(--apple-font-hebrew); }
.leaflet-control-attribution { font-size: 10px !important; background: color-mix(in srgb, var(--apple-system-background) 70%, transparent) !important;
  color: var(--apple-secondary-label) !important; border-radius: 6px 0 0 0; }
.leaflet-control-attribution a { color: inherit !important; }
.mpin-wrap { background: none; border: 0; }
.mpin { position: relative; display: grid; place-items: center; inline-size: 30px; block-size: 30px; border-radius: 50%; background: var(--c); color: #fff;
  box-shadow: 0 0 0 2.5px #fff, 0 3px 8px rgb(0 0 0 / .3); transition: transform .35s var(--apple-spring-bouncy); }
.mpin .ap-icon { inline-size: 16px; block-size: 16px; stroke-width: 2.4; }
.mpin.is-done { background: var(--apple-system-gray); }
.mpin.is-next { inline-size: 36px; block-size: 36px; margin: -3px; }
.mpin.is-sel { transform: scale(1.3); z-index: 2; }
.mpin.is-extra { inline-size: 24px; block-size: 24px; margin: 3px; box-shadow: 0 0 0 2px #fff, 0 2px 5px rgb(0 0 0 / .25); }
.mpin.is-extra .ap-icon { inline-size: 13px; block-size: 13px; }
.mpin b { position: absolute; inset-block-start: calc(100% + 4px); left: 50%; translate: -50% 0; direction: rtl; white-space: nowrap;
  font-size: 11.5px; font-weight: 600; color: var(--apple-label); text-shadow: 0 0 3px var(--apple-system-background), 0 0 3px var(--apple-system-background), 0 0 6px var(--apple-system-background); }
.mpin.is-extra b { font-weight: 500; color: var(--apple-secondary-label); }
.me { position: relative; inline-size: 18px; block-size: 18px; border-radius: 50%; background: var(--apple-blue); box-shadow: 0 0 0 3px #fff, 0 2px 6px rgb(0 0 0 / .3); }
.me::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; background: color-mix(in srgb, var(--apple-blue) 22%, transparent); animation: pulse 2.4s ease-out infinite; z-index: -1; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

.mtop { position: absolute; z-index: 500; inset-block-start: calc(var(--apple-safe-top) + 10px); inset-inline: 12px;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.mtop > :first-child { justify-self: start; }
.mtop > :last-child { justify-self: end; }
.mtop .grow { flex: 1; }
.mpill { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 6px; block-size: 44px; padding-inline: 16px 12px; border: 0; border-radius: var(--apple-radius-capsule);
  color: var(--apple-label); font-weight: 600; cursor: pointer; font-size: var(--apple-text-body); }
.mpill small { font-weight: 400; color: var(--apple-secondary-label); }
.mpill .ap-icon { inline-size: 16px; block-size: 16px; stroke-width: 2.4; color: var(--apple-secondary-label); }
.mtoggle[aria-pressed="true"] { --ap-tint: var(--apple-teal); background: color-mix(in srgb, var(--apple-teal) 88%, transparent); color: #fff; }
.mtoggle[aria-pressed="true"] .ap-icon { color: #fff; }
#mdaymenu { position: fixed; inset: auto; inset-block-start: calc(var(--apple-safe-top) + 60px); inset-inline-start: 12px; max-block-size: 70dvh; overflow: auto; }
#mdaymenu .ap-menu__item small { color: var(--apple-secondary-label); font-variant-numeric: tabular-nums; }
#mdaymenu .ap-icon { inline-size: 18px; block-size: 18px; color: var(--apple-accent); }
.mbottom { position: absolute; z-index: 500; inset-inline: 0; inset-block-end: calc(92px + var(--apple-safe-bottom)); }

/* ---- מפת סדר ההליכה ---- */
.mpin.num { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; font-family: var(--apple-font-rounded); }
.mpin.num.is-next { font-size: 16px; box-shadow: 0 0 0 3px #fff, 0 0 0 6px color-mix(in srgb, var(--apple-accent) 45%, transparent), 0 3px 8px rgb(0 0 0 / .3); }
.mpin.num.is-detour { box-shadow: 0 0 0 2.5px #fff, 0 0 0 5px var(--apple-orange), 0 3px 8px rgb(0 0 0 / .3); }
.marrow { color: #0a84ff; filter: drop-shadow(0 0 1.5px #fff); }
.marrow.is-done { color: #8e8e93; }
.marrow.is-detour { color: var(--apple-orange); }
.marrow svg { display: block; inline-size: 14px; block-size: 14px; }

.mseg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 99px; gap: 2px; }
.mseg button { border: 0; background: none; color: var(--apple-label); font-weight: 600; font-size: var(--apple-text-subheadline);
  min-block-size: 38px; padding: 0 11px; border-radius: 99px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
.mseg button[aria-pressed="true"] { background: var(--apple-label); color: var(--apple-system-background); }
.mseg .ap-icon { inline-size: 15px; block-size: 15px; }

.mpanel { margin-inline: 12px; border-radius: 24px; background: var(--apple-secondary-system-grouped-background);
  box-shadow: 0 4px 24px rgb(0 0 0 / .18); padding: 14px 16px; animation: rise .35s var(--apple-spring-smooth); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.msum { display: flex; align-items: center; gap: 10px; }
.msum .t { flex: 1; min-inline-size: 0; display: grid; }
.msum b { font-size: var(--apple-text-headline); }
.msum .t span { color: var(--apple-secondary-label); font-size: var(--apple-text-subheadline); }
.msum .ap-button { flex: none; white-space: nowrap; }
.msum .ap-icon { inline-size: 16px; block-size: 16px; }

/* עריכת הסדר: רשימת היום עם ידיות, המפה גלויה מעליה */
.medit { padding: 0; overflow: hidden; }
.medit__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; }
.medit__head .t { flex: 1; min-inline-size: 0; display: grid; }
.medit__head b { font-size: var(--apple-text-headline); }
.medit__head small { color: var(--apple-secondary-label); font-size: var(--apple-text-footnote); font-variant-numeric: tabular-nums; }
.medit__list { list-style: none; margin: 0; padding: 0 0 6px; max-block-size: 42dvh; overflow: auto; scrollbar-width: none; overscroll-behavior: contain; }
.medit__list::-webkit-scrollbar { display: none; }
.medit__list li { position: relative; display: flex; align-items: center; gap: 12px; min-block-size: 52px; padding: 4px 16px; box-sizing: border-box;
  background: var(--apple-secondary-system-grouped-background); cursor: pointer; transition: transform .22s var(--apple-spring-snappy); }
.medit__list li + li::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 58px 0; border-block-start: .5px solid var(--apple-separator); }
.medit__list li.is-sel { background: color-mix(in srgb, var(--apple-accent) 10%, var(--apple-secondary-system-grouped-background)); }
.medit__list li.is-lifted { z-index: 3; transition: none; box-shadow: 0 8px 24px rgb(0 0 0 / .22); border-radius: 12px; }
.medit__list li.is-lifted::before { display: none; }
.medit__list .n { flex: none; display: grid; place-items: center; inline-size: 30px; block-size: 30px; border-radius: 50%; background: var(--c); color: #fff;
  font-weight: 700; font-family: var(--apple-font-rounded); font-size: 14px; }
.medit__list .n .ap-icon { inline-size: 15px; block-size: 15px; }
.medit__list .is-done .n { background: var(--apple-system-gray); }
.medit__list .t { flex: 1; min-inline-size: 0; display: grid; }
.medit__list .t b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.medit__list .t span { font-size: var(--apple-text-footnote); color: var(--apple-secondary-label); }
.medit__list .t .warn { color: var(--apple-orange); font-weight: 600; }
.medit__grip { flex: none; display: grid; place-items: center; inline-size: 44px; block-size: 44px; margin-inline-end: -10px; border: 0; background: none;
  color: var(--apple-tertiary-label); cursor: grab; touch-action: none; }
.medit__grip .ap-icon { inline-size: 20px; block-size: 20px; }
.medit .mundo { padding: 0 16px 8px; margin: 0; }
.msum .grow { flex: 1; }
.mfix { display: flex; align-items: center; gap: 10px; margin-block-start: 12px; padding: 10px 12px; border-radius: 14px;
  background: color-mix(in srgb, var(--apple-orange) 14%, transparent); font-size: var(--apple-text-subheadline); line-height: 1.35; }
.mfix .ap-icon { inline-size: 18px; block-size: 18px; color: var(--apple-orange); flex: none; }
.mfix p { margin: 0; flex: 1; }
.mfix .ap-button { flex: none; min-block-size: 36px; padding: 6px 14px; font-size: var(--apple-text-subheadline); --apple-accent: var(--apple-orange); }
.mfix--ok { background: color-mix(in srgb, var(--apple-green) 12%, transparent); }
.mfix--ok .ap-icon { color: var(--apple-green); }
.mundo { display: flex; justify-content: space-between; align-items: center; margin-block-start: 8px; font-size: var(--apple-text-footnote); color: var(--apple-secondary-label); }
.mundo button { border: 0; background: none; color: var(--apple-link); font-weight: 600; cursor: pointer; min-block-size: 36px; }

.mcard2 .head { display: flex; align-items: center; gap: 12px; }
.mcard2 .badge { flex: none; display: grid; place-items: center; inline-size: 34px; block-size: 34px; border-radius: 50%; background: var(--c); color: #fff;
  font-weight: 700; font-family: var(--apple-font-rounded); font-size: 16px; }
.mcard2 .badge .ap-icon { inline-size: 17px; block-size: 17px; }
.mcard2 .t { flex: 1; min-inline-size: 0; }
.mcard2 .t b { display: block; font-size: var(--apple-text-headline); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard2 .t span { color: var(--apple-secondary-label); font-size: var(--apple-text-subheadline); }
.mcard2 .x { flex: none; inline-size: 30px; block-size: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--apple-tertiary-system-fill); color: var(--apple-secondary-label); position: relative; }
.mcard2 .x::after { content: ""; position: absolute; inset: -7px; }
.mcard2 .x .ap-icon { inline-size: 14px; block-size: 14px; stroke-width: 2.6; }
.mcard2 .acts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; margin-block-start: 12px; }
.mcard2 .acts .ap-button { min-block-size: 42px; padding: 6px 10px; font-size: var(--apple-text-subheadline); }
.mcard2 .order { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-start: 10px;
  padding-block-start: 10px; border-block-start: .5px solid var(--apple-separator); font-size: var(--apple-text-subheadline); color: var(--apple-secondary-label); }
.mcard2 .step { display: inline-flex; border-radius: 99px; background: var(--apple-tertiary-system-fill); padding: 2px; }
.mcard2 .step button { border: 0; background: none; min-block-size: 36px; padding: 0 12px; border-radius: 99px; cursor: pointer; color: var(--apple-label);
  font-weight: 600; font-size: var(--apple-text-subheadline); display: inline-flex; align-items: center; gap: 4px; }
.mcard2 .step button:disabled { opacity: .35; cursor: default; }
.mcard2 .step button + button { border-inline-start: .5px solid var(--apple-separator); border-radius: 0 99px 99px 0; }
.mcard2 .step .ap-icon { inline-size: 14px; block-size: 14px; stroke-width: 2.6; }
.mcard2 .link { border: 0; background: none; color: var(--apple-link); font-weight: 600; cursor: pointer; font-size: var(--apple-text-subheadline); padding: 0; }
@media (min-width: 768px) { #mapview { inset-inline-start: 260px; } .mbottom { inset-block-end: 16px; } .mpanel { max-inline-size: 440px; } }

/* ================= סבב 3: המגירה ================= */
.rsheet { position: absolute; z-index: 600; inset-inline: 0; top: 0; block-size: 100%; display: flex; flex-direction: column;
  border-radius: 30px 30px 0 0; background: color-mix(in srgb, var(--apple-system-grouped-background) 94%, transparent);
  -webkit-backdrop-filter: var(--apple-material-filter); backdrop-filter: var(--apple-material-filter);
  box-shadow: 0 -2px 24px rgb(0 0 0 / .14), inset 0 0 0 .5px var(--apple-glass-edge);
  transform: translateY(var(--y, 70%)); transition: transform .5s var(--apple-spring-smooth); will-change: transform; }
.rsheet.is-dragging, .rsheet.no-anim { transition: none; }
.rsheet__grab { flex: none; padding: 7px 0 5px; touch-action: none; cursor: grab; }
.rsheet__grab span { display: block; margin: 0 auto; inline-size: 36px; block-size: 5px; border-radius: 3px; background: var(--apple-tertiary-label); }
.rsheet__body { flex: none; overflow: auto; overscroll-behavior: contain; padding: 0 var(--apple-margin) calc(110px + var(--apple-safe-bottom)); box-sizing: border-box; }
.rsheet[data-detent="small"] .rsheet__body { overflow: hidden; }
@media (min-width: 768px) { .rsheet { inset-inline: 12px auto; inline-size: 400px; border-radius: 28px; } .rsheet__body { padding-block-end: 24px; } }

/* המצב הסגור: העצירה של עכשיו */
.peek { padding: 2px 2px 14px; touch-action: none; }
.peek__k { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: var(--apple-text-footnote); font-weight: 600; color: var(--apple-accent); }
.peek__k .n { color: var(--apple-secondary-label); font-weight: 500; font-variant-numeric: tabular-nums; }
.peek__row { display: flex; gap: 12px; align-items: center; margin-block-start: 6px; }
.peek__badge { flex: none; display: grid; place-items: center; inline-size: 42px; block-size: 42px; border-radius: 50%; background: var(--c); color: #fff;
  font-family: var(--apple-font-rounded); font-weight: 700; font-size: 19px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.peek__badge .ap-icon { inline-size: 21px; block-size: 21px; }
.peek__t { flex: 1; min-inline-size: 0; display: grid; text-align: start; border: 0; background: none; color: inherit; padding: 0; cursor: pointer; }
.peek__t b { font-size: var(--apple-text-title3); font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.peek__t span { font-size: var(--apple-text-subheadline); color: var(--apple-secondary-label); }
.peek__x { flex: none; position: relative; inline-size: 30px; block-size: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--apple-tertiary-system-fill); color: var(--apple-secondary-label); }
.peek__x::after { content: ""; position: absolute; inset: -7px; }
.peek__x .ap-icon { inline-size: 14px; block-size: 14px; stroke-width: 2.6; }
.peek__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 12px; }
.peek__acts .ap-button { position: relative; min-block-size: 36px; padding: 6px 14px; font-size: var(--apple-text-subheadline); white-space: nowrap; }
.peek__acts .ap-button::after { content: ""; position: absolute; inset: -4px -2px; }
.peek__acts .ap-icon { inline-size: 17px; block-size: 17px; }
.peek__undo { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-block-start: 8px; font-size: var(--apple-text-footnote); color: var(--apple-secondary-label); }
.peek__undo button { border: 0; background: none; color: var(--apple-link); font-weight: 600; cursor: pointer; min-block-size: 36px; font-size: var(--apple-text-subheadline); }
.peek--done { text-align: center; padding-block: 8px 16px; }
.peek--done .ap-icon { inline-size: 34px; block-size: 34px; color: var(--apple-green); }
.peek--done b { display: block; font-size: var(--apple-text-title3); margin-block: 4px 2px; }

/* מתחת: היום */
.rs-rest { border-block-start: .5px solid var(--apple-separator); padding-block-start: 14px; }
.rs-day { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-block-end: 12px; }
.rs-day h2 { margin: 0; font-size: var(--apple-text-title2); font-weight: 700; }
.rs-day p { margin: 2px 0 0; font-size: var(--apple-text-footnote); color: var(--apple-secondary-label); }
.rs-day .tot { flex: none; font-size: var(--apple-text-footnote); color: var(--apple-secondary-label); font-variant-numeric: tabular-nums; }
.rs-rest .mfix { margin-block: 0 14px; }
.rs-rest .notes-a { margin-block-end: 16px; }

/* כפתורי המפה: קפסולה אנכית אחת (קווים + מיקום), כמו במפות של אפל */
.mctl { position: absolute; z-index: 500; inset-block-start: calc(var(--apple-safe-top) + 64px); inset-inline-end: 12px;
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; }
.mctl button { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border: 0; background: none; color: var(--apple-label); cursor: pointer; }
.mctl button + button { border-block-start: .5px solid var(--apple-separator); }
.mctl button[aria-pressed="true"] { color: var(--apple-accent); }
.mctl .ap-icon { inline-size: 21px; block-size: 21px; }
.mtop.r3 { display: flex; }
/* הכפתור העליון בקפסולה: "מה להראות" — צבוע כשיש סינון פעיל */
.mctl button.is-on { background: var(--apple-accent); color: #fff; }
/* הבועה: נפתחת לצד הכפתור, נסגרת לבד */
.mfilt { position: absolute; z-index: 501; inset-block-start: calc(var(--apple-safe-top) + 64px); inset-inline-end: 64px;
  display: flex; gap: 2px; padding: 3px; border-radius: 99px; transform-origin: left center; animation: mfilt-in .32s var(--apple-spring-snappy); }
.mfilt button { border: 0; background: none; color: var(--apple-label); font-weight: 600; font-size: var(--apple-text-subheadline);
  min-block-size: 38px; padding: 0 14px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.mfilt button[aria-pressed="true"] { background: var(--apple-label); color: var(--apple-system-background); }
@keyframes mfilt-in { from { opacity: 0; transform: scale(.6); } }
@media (prefers-reduced-motion: reduce) { .mfilt { animation: none; } }


@media (prefers-reduced-motion: reduce) { .me::after { animation: none; } .view, .open-card { animation: none; } .swipe__row, .pass, .ap-list > li { transition: none; } }

/* ═════════ התאמות לאתר החי (v4) ═════════ */
/* השורש של האתר הוא <div class="app ax"> בתוך #host (המעטפה). בלי הגבלת רוחב וגובה של הקסטה */
html.ax-on { color-scheme: light dark; height: auto; overflow: visible; overscroll-behavior: auto; }
html.ax-on body { margin: 0; height: auto; min-height: 100dvh; overflow: visible; overscroll-behavior: auto; color: var(--apple-label); }
.app.ax { display: block; max-width: none; height: auto; min-height: 100dvh; margin: 0; overflow: visible; position: static;
  font-family: var(--apple-font-hebrew); font-size: var(--apple-text-body); line-height: var(--apple-leading-body); }
/* פונטים: SF Pro / SF Hebrew / SF Rounded של המכשיר עצמו (apple-tokens). אפל לא מתירה להעלות את קובצי SF לאתר — לכן בלי @font-face */
.ax .ltr { direction: ltr; unicode-bidi: isolate; }
@media (prefers-color-scheme: dark) { html.ax-on:not([data-theme="light"]) { color-scheme: dark; } }
html.ax-on[data-theme="light"] { color-scheme: light; }
html.ax-on[data-theme="dark"] { color-scheme: dark; }
.ax-main { padding-block-end: calc(96px + var(--apple-safe-bottom)); }
@media (min-width: 768px) { .ax-main { padding-block-end: 24px; } }
.ax .ap-section__header--row { display: flex; justify-content: space-between; gap: 8px; }

/* מתי לצאת מהמלון */
.depart { display: flex; gap: 10px; align-items: flex-start; inline-size: 100%; margin: 0 0 14px; padding: 10px 12px; border: 0; border-radius: 14px; text-align: start;
  background: color-mix(in srgb, var(--apple-blue) 12%, transparent); color: var(--apple-label); font-size: var(--apple-text-subheadline); line-height: 1.35; }
.depart > .ap-icon { inline-size: 18px; block-size: 18px; color: var(--apple-blue); flex: none; margin-block-start: 2px; }
.depart span { display: grid; gap: 2px; }
.depart small { color: var(--apple-secondary-label); font-size: var(--apple-text-footnote); }
.depart--ask { cursor: pointer; background: var(--apple-tertiary-system-fill); }
.depart--ask > .ap-icon { color: var(--apple-secondary-label); }
.lock--no { color: var(--apple-orange); }

/* סנכרון */
.ap-bar-button.sync-wait { color: var(--apple-blue); }
.ap-bar-button.sync-wait .ap-icon { animation: spin 1.4s linear infinite; }
.ap-bar-button.sync-err, .ap-bar-button.sync-setup, .ap-bar-button.sync-off { color: var(--apple-orange); }
@keyframes spin { to { transform: rotate(360deg); } }
.mtop .ap-bar-button { flex: none; }
.sheet-btns { display: grid; gap: 10px; margin-block-start: 6px; }
.sheet-btns .ap-button { inline-size: 100%; }
.retry-btns { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 4px 0; }
.warnp { color: var(--apple-orange); }
.ap-row input:not([type="checkbox"]):not([type="radio"]) { flex: 1; min-inline-size: 0; border: 0; background: transparent; text-align: end; color: var(--apple-accent); font-size: 16px; padding: 0; }
.ap-row input[type="number"], .ap-row input[type="date"], .ap-row input[type="tel"] { font-variant-numeric: tabular-nums; }
.ap-row select { flex: 1; min-inline-size: 0; border: 0; background: transparent; text-align: end; text-align-last: end; color: var(--apple-accent); font-size: 16px; padding: 0; appearance: none; -webkit-appearance: none; cursor: pointer; }
.money-line { margin: -6px 4px 18px; color: var(--apple-secondary-label); font-size: var(--apple-text-footnote); font-variant-numeric: tabular-nums; }

/* מחיקה של פריט שנוסף ידנית (מידע) */
.irow .rm, .tip .rm { flex: none; position: relative; display: grid; place-items: center; inline-size: 28px; block-size: 28px; border: 0; border-radius: 50%;
  background: var(--apple-tertiary-system-fill); color: var(--apple-secondary-label); cursor: pointer; }
.irow .rm::after, .tip .rm::after { content: ""; position: absolute; inset: -8px; }
.irow .rm .ap-icon, .tip .rm .ap-icon { inline-size: 13px; block-size: 13px; stroke-width: 2.6; }
.irow .phr { flex: 1; min-inline-size: 0; padding: 0; background: none; border: 0; color: inherit; text-align: start; }

/* בלי רשת: מפה סכמטית */
.schem { position: absolute; inset: 0; display: block; }
.spin { cursor: pointer; }
.spin-n { fill: #fff; font: 700 14px var(--apple-font-rounded); pointer-events: none; }
.map-off { position: absolute; z-index: 400; inset-block-start: calc(var(--apple-safe-top) + 64px); inset-inline-start: 12px; display: flex; gap: 6px; align-items: center;
  padding: 6px 12px; border-radius: 99px; background: var(--apple-secondary-system-grouped-background); color: var(--apple-secondary-label);
  font-size: var(--apple-text-footnote); box-shadow: 0 2px 10px rgb(0 0 0 / .12); }
.map-off .ap-icon { inline-size: 15px; block-size: 15px; }
.map-empty { position: absolute; inset: 0 0 50%; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--apple-secondary-label); }
.map-empty .ap-icon { inline-size: 44px; block-size: 44px; stroke-width: 1.4; }
.map-empty p { margin: 0; }
.sync-slot { display: contents; }
