/* StudioFlow – פרקים 06–11, סולם טיפוגרפיה ומקצב (רביד, 24.11.2026). נטען אחרי studioflow.css.
   מקור: drafts/sf-story (build-keys.mjs / build-keys-wf.mjs / css/keys.css). גיבוי: drafts/backup-2026-11-24 */

/* ================= ראשי פרקים: הכותרת וההסבר באותם גבולות רוחב – 780 (השורה הראשונה של 06 צריכה 764) ================= */
.sf-wf2__head, .sf-us__head, .sf-feat__head { max-width: 780px; }
.sf-wf2__head .sf-ch__title, .sf-us__head .sf-ch__title { max-width: 780px; text-wrap: wrap; }   /* לא balance – השורה הראשונה מגיעה לקצה כמו ההסבר */
.sf-wf2__head .sf-ch__text, .sf-us__head .sf-ch__text { max-width: 780px; text-wrap: pretty; }
@media (max-width: 743px) { .br-d { display: none; } }   /* שבירת שורה למחשב בלבד (06) */

/* ================= סולם טיפוגרפיה אחיד – רמה אחת לכל תפקיד =================
   32/40 600 דיו   – כותרת פרק בלבד (.sf-ch__title)
   24/32 600 דיו   – כותרת משנה: שם מסך ב-Key Screens, שם מסך בכרטיסי ה-Flow, North Star
   20/28 600 דיו   – כותרת כרטיס/פריט
   20/32 400 משני  – פתיח מתחת לכותרת הפרק (16 מהכותרת)
   16/24           – גוף; 16/24 600 – כותרת הערה
   14/20           – תוויות, טאבים, מקרא, כיתובים
   בלי Bold 700, בלי 18, בלי CAPS. בטלפון צעד אחד למטה: 24 · 20 · 16 · 14 */
.sf-ch__text, .sf-ov__desc { color: #677286; }
.sf-ch__title + .sf-ch__text { margin-top: 16px; }
.sf-key__title { font: 600 24px/32px "Inter:Semi Bold", sans-serif; color: var(--ink); }
.sf-step__label, .sf-mstep__label { font: 600 24px/32px "Inter:Semi Bold", sans-serif; color: var(--ink); }
.sf-mstep__label { height: auto; }
.sf-ch__main > h3.sf-ch__label, .sf-ch__gaps > h3.sf-ch__label,
.sf-op2__main > h3.sf-op2__label, .sf-op2__side > h3.sf-op2__label { font-size: 20px; line-height: 28px; }
.sf-mx2__cards h4 { font: 600 20px/28px "Inter:Semi Bold", sans-serif; }
.sf-north__body .sf-metric__label { font-size: 20px; line-height: 28px; }
.sf-step__title, .sf-mstep__title { font: 600 20px/28px "Inter:Semi Bold", sans-serif; }
.sf-north__title, .sf-metric__title { font-family: "Inter:Semi Bold", sans-serif; font-weight: 600; }
.sf-step__text, .sf-mstep__text { line-height: 24px; }
.sf-note h4 { font: 600 16px/24px "Inter:Semi Bold", sans-serif; }
.sf-crumbs li[aria-current], .sf-crumbs li.is-key { font-family: "Inter:Semi Bold", sans-serif; font-weight: 600; }
.ia__legend { line-height: 20px; }
@media (max-width: 743px) {
  .sf-key__title, .sf-step__label, .sf-mstep__label { font-size: 20px; line-height: 28px; }
  .sf-ch__main > h3.sf-ch__label, .sf-ch__gaps > h3.sf-ch__label,
  .sf-op2__main > h3.sf-op2__label, .sf-op2__side > h3.sf-op2__label,
  .sf-mx2__cards h4, .sf-north__body .sf-metric__label, .sf-step__title, .sf-mstep__title { font-size: 16px; line-height: 24px; }
}

/* תווית הפרק: המספר והשם באותו גובה – 16, המספר Regular ובגוון בהיר; נקראים כתווית אחת */
.sf-num, #challenges-title .sf-num { margin-right: 8px; opacity: 1; font: 400 16px/20px "Inter:Regular", sans-serif; letter-spacing: 0; color: #8B9CE9; }

/* ================= מקצב אנכי: 160 מסוף התוכן של פרק לתווית של הפרק הבא (בטלפון 96) ================= */
.sf-challenges .sf-ch__head { padding-top: 92px; }   /* 160 מתחתית מסכי הסרטון (עם המסגרת) */
.sf-ia--pair { padding-top: 96px; }
main > section.sf-wf.sf-wf--flat { margin-top: 96px; padding: 64px 0; }   /* 96 עד קצה הרצועה + 64 בתוכה */
main > section.sf-wf--flat + section { margin-top: 0; }                    /* 64 בסוף הרצועה + 96 של הפרק הבא */
@media (max-width: 743px) {
  .sf-challenges .sf-ch__head { padding-top: 64px; }
  .sf-ia--pair { padding-top: 64px; }
  main > section.sf-wf.sf-wf--flat { margin-top: 56px; padding: 40px 0; }
  main > section.sf-wf--flat + section { margin-top: -8px; }
}

/* ================= 07 Information Architecture: מחשב ומובייל זה ליד זה, באותו קנה מידה (js/ia-pair.js) =================
   בורר ומקרא אחד ממורכזים מעל; כל כרטיס – כותרת משמאל וכפתור הגדלה מימין, העץ ממורכז מתחת. 64 מהפתיח לבורר */
.sf-ia--pair .sf-wf2__head { margin-bottom: 64px; }
.ia-pair__controls { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-bottom: 32px; }
.ia-pair__controls .ia__legend { position: static; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
/* מסכים רחבים (לא בטלפון): בורר ומקרא צמודים לשוליים הימניים – לקצה של הכרטיס (רביד, 24.11.2026). בטלפון נשארים ממורכזים */
@media (min-width: 744px) {
  .ia-pair__controls { align-items: flex-end; }
  .ia-pair__controls .ia__legend { justify-content: flex-end; }
}
.ia-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.ia-col { min-width: 0; display: flex; flex-direction: column; padding: 20px 24px 32px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--card-line); }
.ia-col__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 32px; }
.ia-col__title { margin: 0; font: 600 20px/28px "Inter:Semi Bold", sans-serif; color: var(--ink); }
.ia-col__sub { margin-left: 8px; font: 400 16px/28px "Inter:Regular", sans-serif; color: #677286; }
.ia-col .ia__toggle, .ia-col .ia__legend, .ia-col .ia__dash { display: none; }
.ia-pair .ia { --side: 0px; height: auto !important; margin-top: 32px; }
.ia-pair .ia__scroll { position: relative; inset: auto; overflow: hidden; }
.ia-pair .ia__stage { left: 0 !important; pointer-events: none; }
.ia-pair .sf-expand {
  position: relative; flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; box-shadow: inset 0 0 0 1px var(--card-line); color: var(--accent);
}
.ia-pair .sf-expand::before { content: ""; position: absolute; inset: -6px; }
.ia-pair .sf-expand svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (any-hover: hover) { .ia-pair .sf-expand:hover { background: #E5E9F8; box-shadow: none; } }
.ia-pair .sf-expand:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 999px) { .ia-pair { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 743px) {
  .sf-ia--pair .sf-wf2__head { margin-bottom: 40px; }
  .ia-pair__controls { gap: 16px; margin-bottom: 24px; }
  .ia-pair__controls .sim__toggle { align-self: stretch; }
  .ia-pair__controls .sim__tab { flex: 1 1 0; width: auto; min-width: 0; }
  .ia-pair__controls .ia__legend { gap: 8px 16px; }
  .ia-col { padding: 16px 16px 24px; }
  .ia-col__title { font-size: 16px; line-height: 24px; }
  .ia-col__sub { display: block; margin: 0; font-size: 14px; line-height: 20px; }
  .ia-pair .ia { margin-top: 24px; }
}

/* ================= 08 / 11 Wireframes: wireframe מול המסך הסופי (js/wf-viewer.js) =================
   אותה רצועה; טאבים, מסגרת כמו בסרטונים (מחשב 946×615 פינות 24, טלפון 283×615 פינות 40), קו אחד שאפשר לגרור,
   ומתחת: Final UI · כפתור החלפה · Wireframe */
.sf-wf.sf-wf--flat { height: auto; }
.sf-wf--flat .sf-wf2 { position: relative; z-index: 2; }
.wfv { width: min(calc(946px + 2 * var(--frame)), 100%); margin: 64px auto 0; }
.wfv__tabs { position: relative; display: flex; justify-content: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.wfv__tabs::-webkit-scrollbar { display: none; }
.wfv__tabs button {
  flex: none; height: 36px; padding: 0 16px; border: 0; border-radius: 18px; cursor: pointer;
  background: #fff; box-shadow: inset 0 0 0 1px var(--card-line);
  font: 500 14px/20px "Inter:Medium", sans-serif; color: #677286; white-space: nowrap;
}
.wfv__tabs button[aria-selected="true"] { background: #E5E9F8; box-shadow: none; color: var(--ink); font-family: "Inter:Semi Bold", sans-serif; font-weight: 600; }
@media (any-hover: hover) { .wfv__tabs button[aria-selected="false"]:hover { color: var(--ink); } }
.wfv__tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wfv__frame { position: relative; box-sizing: content-box; width: min(946px, calc(100% - 2 * var(--frame))); margin: 20px auto 0; aspect-ratio: 946 / 615; overflow: hidden; border: var(--frame) solid var(--ink); border-radius: 24px; background: var(--ink); box-shadow: var(--shadow); }
.wfv__frame.wfv__mframe { width: 283px; aspect-ratio: 283 / 615; border-radius: 40px; }
.wfv__item { position: absolute; inset: 0; }
.wfv__item[hidden] { display: none; }
.wfv__item img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* המסך הסופי מתחת; ה-wireframe מעליו, גלוי מימין לקו. --pos רשום כדי שהמעבר יהיה חלק */
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 25%; }
.wfv__cmp.is-anim { transition: --pos 1.1s cubic-bezier(.45, 0, .2, 1); }
.wfv__wf { clip-path: inset(0 0 0 var(--pos)); }
.wfv__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; transition: opacity .2s ease; }
.wfv__cmp.is-full .wfv__line { opacity: 0; }
.wfv__knob { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--accent), var(--shadow); }
.wfv__knob svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wfv__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.wfv__cmp:has(.wfv__range:focus-visible) .wfv__knob { outline: 2px solid var(--accent); outline-offset: 3px; }
/* מתחת למסגרת: Final UI (מתחת לחצי השמאלי) · כפתור ההחלפה · Wireframe (מתחת לחצי הימני) */
.wfv__under { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: min(calc(946px + 2 * var(--frame)), 100%); margin: 16px auto 0; }
.sf-wf--m .wfv__under { width: 360px; max-width: 100%; }
.wfv__tag { display: inline-flex; align-items: center; gap: 8px; flex: none; font: 500 14px/20px "Inter:Medium", sans-serif; color: #677286; }
.wfv__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.wfv__tag--l::before { background: var(--accent); }   /* כחול = המסך הסופי (צבעוני) */
.wfv__tag--r::before { background: #7A8294; }         /* אפור = ה-wireframe; ניגודיות 3.3:1 מול רקע הרצועה */
.wfv__swap {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border: 0; border-radius: 8px; cursor: pointer;
  background: #fff; box-shadow: inset 0 0 0 1px var(--card-line); color: var(--accent);
  font: 600 14px/20px "Inter:Semi Bold", sans-serif; white-space: nowrap;
}
.wfv__swap svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (any-hover: hover) { .wfv__swap:hover { background: #E5E9F8; box-shadow: none; } }
.wfv__swap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 743px) {
  .wfv { margin-top: 40px; }
  .wfv__tabs { justify-content: flex-start; margin: 0 -24px; padding: 2px 24px; }
  .wfv__frame:not(.wfv__mframe) { border-radius: 8px; }   /* כמו הסרטון בטלפון */
  .wfv__frame.wfv__mframe { width: 220px; }
  .wfv__under { gap: 8px; }
  .wfv__swap { padding: 0 12px; }
}

/* ===== Key Screens & Design Decisions (24.11.2026) ===== */
/* קו מקווקו על הרכיב שההחלטה מדברת עליו (מחשב בלבד), בקואורדינטות של מסגרת 880 – מתכווץ יחד איתה */
.ks-mark { position: absolute; pointer-events: none; z-index: 1; }
.ks-mark .sf-dash rect { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 4; }
/* תווית מעל ההחלטות בפרק 10 (בפרק 13 אין – ההערות מחוברות לטלפונים) */
.ks-label { margin: 40px 0 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--accent); }
.ks-label + .sf-notes { margin-top: 16px; }

/* 06 How It Works (24.11.2026, רביד): המקרא Mobile/Desktop Version יורד מתחת לכותרת, באותו מרווח כמו שאר שורות הבקרה (07, 08, 11): 64 מהטקסט, 32 עד התוכן */
.sf-feat .kf-legend { justify-content: flex-end; margin-top: 64px; }   /* מימין, כמו קודם (רביד) */
@media (max-width: 999px) { .sf-feat .kf-legend { justify-content: flex-start; } }   /* בעמודה אחת – משמאל, כמו קודם */
.sf-feat .kf-legend + .kf { margin-top: 32px; }
@media (max-width: 743px) { .sf-feat .kf-legend { margin-top: 40px; } .sf-feat .kf-legend + .kf { margin-top: 24px; } }   /* בטלפון – כמו המקרא של 07: 40 ו-24 */

/* Key Screens (24.11.2026): בלי פירורי לחם – המשפט אפור כמו כל הפתיחים, 32 עד המסך (24 בטלפון) */
.sf-key__intro { color: #677286; }
.sf-key__intro + .sf-key__body, .sf-key__intro + .sf-pairs { margin-top: 32px; }   /* 32 מהטקסט עצמו, כמו שנמדד בשאר הדף */
@media (max-width: 743px) { .sf-key__intro + .sf-key__body, .sf-key__intro + .sf-pairs { margin-top: 26px; } }   /* 24 מהטקסט עצמו */

/* ===== MVP Flow • Desktop / Mobile – שורה אחת ברצף (24.11.2026) ===== */
/* רוחב המסך קבוע לכל טווח (כפולה של 4) והתמונה מוכנה מראש בדיוק ברוחב הזה × DPR – כך הדפדפן לא מקטין והיא חדה.
   מסגרת המכשיר: עובי ופינות ביחס לגודל המסך, כמו ב-Wireframes – מחשב 5/946 ו-24/946, טלפון 5/283 ו-40/283 */
.fl { --gap: 48px; --tw: 220px; --bw: 3px; --br: 8px; container-type: inline-size; display: grid; grid-template-columns: repeat(5, var(--tw)); justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.fl--m { --tw: 132px; --bw: 4px; --br: 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--gap); }
@media (max-width: 1375px) { .fl--d { --tw: 200px; } }
@media (max-width: 1259px) { .fl--d { --tw: 172px; } }
@media (max-width: 1119px) { .fl--d { --tw: 148px; } }
@media (max-width: 1087px) { .fl--m { --tw: 116px; --br: 18px; } }
.fl__step { position: relative; display: flex; flex-direction: column; min-width: 0; }
.fl__shot { position: relative; display: block; width: var(--tw); padding: 0; border: 0; background: none; cursor: zoom-in; }
.fl--m .fl__shot { align-self: center; }
.fl__frame { display: block; overflow: hidden; border: var(--bw) solid var(--ink); border-radius: var(--br);   /* עובי שנראה פרופורציונלי למסך קטן (רביד: 1px היה דק מדי) – מחשב 3, טלפון 4, ברשימה בטלפון 2 */ background: #fff; box-shadow: var(--shadow); }
.fl__img { display: block; width: 100%; height: auto; }   /* ביחס המקורי – בלי חיתוך או הגדלה */
.fl__shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
/* כפתור הגדלה בפינה */
.fl__zoom { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--card-line), var(--shadow); color: var(--ink); opacity: .9; transition: opacity .15s, transform .15s; }
.fl__zoom svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (any-hover: hover) { .fl__shot:hover .fl__zoom { opacity: 1; transform: scale(1.08); } }
/* החץ בין השלבים: עיגול תכלת עם chevron, באמצע הרווח ובגובה אמצע המסך */
.fl__arrow { position: absolute; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #E5E9F8; color: var(--accent); pointer-events: none; }
.fl--d .fl__arrow { left: calc(var(--tw) + (100cqw - 5 * var(--tw)) / 8 - 16px); top: calc((var(--tw) - 2 * var(--bw)) * 1143 / 1760 / 2 + var(--bw) - 16px); }
.fl--m .fl__arrow { right: calc(var(--gap) / -2 - 16px); top: calc((var(--tw) - 2 * var(--bw)) * 1304 / 600 / 2 + var(--bw) - 16px); }
.fl__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fl__num { margin-top: 20px; font: 600 14px/20px "Inter:Semi Bold", sans-serif; color: var(--accent); }
.fl__name { margin: 4px 0 0; font: 600 20px/28px "Inter:Semi Bold", sans-serif; color: var(--ink); }
.fl__act { margin: 4px 0 0; font: 400 16px/24px "Inter:Regular", sans-serif; color: #677286; }
.fl--m .fl__num, .fl--m .fl__name, .fl--m .fl__act { text-align: center; }
@media (max-width: 1259px) { .fl--d .fl__name { font-size: 16px; line-height: 24px; } }   /* מסך 172/148 – שם המסך בשורה אחת */

/* טאבלט: אותה שורה, נגללת לצד */
@media (max-width: 999px) {
  .fl, .fl--m { --tw: 240px; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 0; }
  .fl--m { --tw: 132px; }
  .fl::-webkit-scrollbar { display: none; }
  .fl__step { flex: 0 0 var(--tw); scroll-snap-align: start; }
  .fl--m .fl__step { flex-basis: 160px; }
  .fl--d .fl__arrow { left: auto; right: calc(var(--gap) / -2 - 16px); }
}
/* טלפון: רשימה אנכית – מסך קטן משמאל, הטקסט מימין, חץ למטה בין השלבים */
@media (max-width: 743px) {
  .fl, .fl--m { --tw: 128px; --bw: 2px; --br: 6px; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap) 0; overflow: visible; padding: 0; }
  .fl--m { --tw: 64px; --br: 10px; }
  .fl__step { display: grid; grid-template-columns: var(--tw) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; align-content: start; }
  .fl__shot { grid-row: 1 / 4; align-self: start; }
  .fl--m .fl__shot { align-self: start; }
  .fl__zoom { right: 4px; bottom: 4px; width: 24px; height: 24px; }
  .fl__zoom svg { width: 12px; height: 12px; }
  .fl--m .fl__zoom { display: none; }   /* טלפון ברוחב 64 – הכפתור היה מכסה את המסך; כל המסך לחיץ */
  .fl__num { margin-top: 0; }
  .fl--m .fl__num, .fl--m .fl__name, .fl--m .fl__act { text-align: left; }
  .fl__name, .fl--d .fl__name { font-size: 16px; line-height: 24px; margin-top: 2px; }
  .fl__act { font-size: 14px; line-height: 20px; margin-top: 2px; }
  .fl__arrow, .fl--d .fl__arrow, .fl--m .fl__arrow { width: 24px; height: 24px; left: calc(var(--tw) / 2 - 12px); right: auto; transform: rotate(90deg); }
  .fl--d .fl__arrow { top: calc((var(--tw) - 2 * var(--bw)) * 1143 / 1760 + 2 * var(--bw) + 12px); }
  .fl--m .fl__arrow { top: calc((var(--tw) - 2 * var(--bw)) * 1304 / 600 + 2 * var(--bw) + 12px); }
  .fl__arrow svg { width: 14px; height: 14px; }
}

/* ===== חלון ההגדלה של MVP Flow (js/fl-viewer.js): חלון קטן מהמסך על רקע שקוף-למחצה (רביד, 24.11.2026); הסרגל והסגירה כמו בחלון ה-IA ===== */
.fl-lb { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 48px; background: rgba(50, 38, 94, .45); }
.fl-lb__dialog { display: flex; flex-direction: column; width: min(1240px, 100%); max-height: 100%;   /* הגובה לפי המסך שבתוכו */ overflow: hidden; border-radius: 16px; background: var(--bg); box-shadow: 0 24px 64px rgba(28, 22, 60, .28); }
.fl-lb--m .fl-lb__dialog { width: min(640px, 100%); }
.fl-lb__stage { position: relative; flex: none; display: grid; place-items: center; min-height: 0; padding: 24px 88px; }
.fl-lb__frame { box-sizing: border-box; overflow: hidden; border: var(--frame) solid var(--ink); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.fl-lb__frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fl-lb--m .fl-lb__frame { border-radius: 40px; }
.fl-lb__nav { position: absolute; top: calc(50% - 22px); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #E5E9F8; color: var(--accent); cursor: pointer; }
.fl-lb__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fl-lb__nav--prev { left: 24px; } .fl-lb__nav--prev svg { transform: scaleX(-1); }
.fl-lb__nav--next { right: 24px; }
.fl-lb__nav:disabled { opacity: .35; cursor: default; }
.fl-lb__nav:focus-visible, .fl-lb .sf-viewer__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (any-hover: hover) { .fl-lb__nav:not(:disabled):hover { background: #D3DBF7; } }
.fl-lb__count { margin-left: 12px; font: 400 14px/20px "Inter:Regular", sans-serif; color: #677286; }
@media (max-width: 743px) {
  .fl-lb { padding: 24px 16px; }
  .fl-lb__stage { padding: 16px 16px 76px; }
  .fl-lb__nav { top: auto; bottom: 16px; }
  .fl-lb__nav--prev { left: calc(50% - 56px); } .fl-lb__nav--next { right: calc(50% - 56px); }
  .fl-lb__frame { border-radius: 8px; }
  .fl-lb--m .fl-lb__frame { border-radius: 28px; }
}

/* ===== 14 Reflection (24.11.2026): שני כרטיסים, שתי נקודות בכל אחד ===== */
.rf { margin-top: 0; }
.rf__card { padding: 32px; }
.rf__title { margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--card-line); font: 600 20px/28px "Inter:Semi Bold", sans-serif; color: var(--accent); }
.rf__list { display: grid; gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.rf__list h4 { margin: 0; font: 600 16px/24px "Inter:Semi Bold", sans-serif; color: var(--ink); }
.rf__list p { margin: 4px 0 0; font: 400 16px/24px "Inter:Regular", sans-serif; color: #677286; }
@media (max-width: 743px) { .rf__card { padding: 24px 20px; } .rf__list { gap: 20px; } .rf__list p { font-size: 14px; line-height: 21px; } }

/* Reflection – אייקונים בעיגול תכלת, כמו בשקף (24.11.2026) */
.rf__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.rf__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #E5E9F8; color: var(--accent); }
.rf__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Key Screens • Desktop (24.11.2026, רביד): מסגרת מסך בכחול-חלל ביחס לגודל, כמו ב-Wireframes (5/946, פינות 24/946 → 5 ו-22 ב-880).
   outline ולא border – לא מזיז את המסך, את הסימונים המקווקווים ואת התקריבים. בטלפון המסגרת מתכווצת יחד עם המסך (data-fit) ונשארת באותו יחס.
   בלי הכרטיס שמאחור – המסך יושב על הדף כמו ב-Wireframes */
.sf-key__frame > img:first-child { border-radius: 22px; outline: 5px solid var(--ink); outline-offset: 0; box-shadow: var(--shadow); }
.sf-key__shot.sf-key__stage { background: transparent; box-shadow: none; }

/* Issue Details (24.11.2026, רביד): בלי רקע מתחת לקו. כדי שהקו של Details לא ייבלע במסך, שני התקריבים מקבלים את אותו קו קצת יותר כהה –
   הגוון של הקו המקווקו בגזירים של 06 (#B4C0EE), כך ש-Details ו-Anna/Dan נשארים זהים */
.sf-key__zoom > .sf-dash rect { stroke: #B4C0EE; }
/* בלי הכרטיס – גם בלי הריפוד שלו: רק מקום לקו של המסגרת (5), כך שמהמשפט עד המסך 32 – כמו במובייל */
.sf-key__shot.sf-key__stage, .sf-key__stage.sf-key__shot--zoom { padding: 5px 0; }
/* Reflection – From Photo to Draft Issue: שבירת שורות לפי רביד, רק כשהכרטיסים רחבים מספיק שכל שורה נכנסת שלמה */
.br-rf { display: none; }
@media (min-width: 1200px) { .br-rf { display: inline; } }

/* MVP Flow (24.11.2026, רביד): Step n כמו התגית "Step 3 of 5" ב-Key Screens – רקע תכלת, טקסט כהה, גם במחשב וגם במובייל */
.fl__num { display: inline-grid; place-items: center; align-self: flex-start; height: 32px; padding: 0 14px; border-radius: 16px; background: #E5E9F8; color: var(--ink); font: 600 14px/18px "Inter:Semi Bold", sans-serif; white-space: nowrap; }
.fl--m .fl__num { align-self: center; }
@media (max-width: 743px) { .fl__num, .fl--m .fl__num { justify-self: start; align-self: start; } }
.fl__num + .fl__name, .fl__name { margin-top: 8px; }   /* מתחת לתגית מלאה 4 היה צפוף */

/* חלון ההגדלה של MVP Flow (24.11.2026, רביד): כפתור הסגירה קטן יותר, ומהקצה הימני באותו מרחק כמו הכותרת מהקצה השמאלי (20) */
.fl-lb .sf-viewer__bar { flex: none; padding: 0 20px; }   /* flex: none – בטלפון הגבוה (Mobile Flow) הסרגל נמחץ והכפתור נצמד למעלה */
.fl-lb .sf-viewer__close { width: 32px; height: 32px; }
.fl-lb .sf-viewer__close::before { inset: -6px; }   /* אזור לחיצה 44 */
.fl-lb .sf-viewer__close svg { width: 12px; height: 12px; stroke-width: 1.5; }   /* קו דק יותר (רביד: ה-X היה עבה מאוד) */
.fl-lb__dialog:focus { outline: none; }

/* ===== משקלים (24.11.2026, אושר ע"י רביד) – רק בדף StudioFlow; הפוטר והכרטיס ב-View More יישארו שונים מדף הבית עד סבב לכל האתר =====
    400 טקסט · 600 כותרות ופעולות · 500 רק לתוויות קטנות (12–14px). 300 ו-700 יוצאים. */
/* Overview: ההבדל בין תווית לערך נשען על הצבע (אפור/כהה), לא על משקל */
.sf-who li, .sf-ov__meta dd { font-weight: 400; font-family: "Inter:Regular", sans-serif; }
/* פעולות בגודל 16 – כמו שאר הכפתורים */
.sf-ov__link, .project-card__btn { font-weight: 600; font-family: "Inter:Semi Bold", sans-serif; }
/* הציטוט ב-02: Light → Regular (נשאר נטוי) */
.sf-ch__quote blockquote p { font-weight: 400; }
/* מספרי תוכן העניינים: 700 → 600 */
.sf-toc span b { font-weight: 600; font-family: "Inter:Semi Bold", sans-serif; }
/* פוטר: Light → Regular */
.sf-footer__copy span, .sf-footer__links span { font-weight: 400; font-family: "Inter:Regular", sans-serif; }

/* חלון ההגדלה של ה-IA (24.11.2026, רביד): אותו חלון כמו של שלבי ה-MVP Flow – רקע שקוף-למחצה, אותו רוחב וגובה (js/sf-viewer.js).
   העץ ממורכז בחלון לרוחב ולגובה; כשמגדילים מעבר לחלון – גוללים לכל הכיוונים */
.sf-viewer-lb__dialog { max-height: 100%; }
.sf-viewer-lb .sf-viewer__scroll { flex: 1; min-height: 0; display: grid; padding: 16px; }
.sf-viewer-lb .sf-viewer__canvas { margin: auto; overflow: hidden; }   /* העותק של העץ גדול מהקנבס לפני ההקטנה – בלי זה נוצר פס גלילה והעץ זז מהמרכז */
.sf-viewer-lb .sf-viewer__scroll:focus { outline: none; }
.sf-viewer-lb .sf-viewer__scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* הזכוכיות המגדלות בשורת הכותרת, ליד הסגירה ובאותו גודל (32, אזור לחיצה 44) */
.sf-viewer__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.sf-viewer-lb .sf-viewer__zoom { gap: 8px; margin: 0; }
.sf-viewer-lb .sf-viewer__btn { width: 32px; height: 32px; }
.sf-viewer-lb .sf-viewer__btn::before { content: ""; position: absolute; inset: -6px; }
.sf-viewer-lb .sf-viewer__btn svg { width: 16px; height: 16px; stroke-width: 1.5; }
.sf-viewer-lb .sf-viewer__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* בורר MVP Flow / Full Structure בחלון (רביד, 24.11.2026) – אותו רכיב כמו בדף.
   מחשב: במרכז שורת הכותרת. טלפון: אין מקום בשורה – שורה משלו מתחת לכותרת, ברוחב מלא */
.sf-viewer-lb .sf-viewer__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 16px; height: auto; min-height: 56px; }
.sf-viewer-lb .sf-viewer__title { min-width: 0; }
.sf-viewer-lb .sf-viewer__actions { grid-column: 3; justify-self: end; }
.sf-viewer-lb .sf-viewer__views { grid-column: 2; }
@media (max-width: 743px) {
  .sf-viewer-lb .sf-viewer__bar { grid-template-columns: minmax(0, 1fr) auto; row-gap: 12px; padding-block: 12px; }
  .sf-viewer-lb .sf-viewer__actions { grid-column: 2; grid-row: 1; }
  .sf-viewer-lb .sf-viewer__views { grid-column: 1 / -1; grid-row: 2; display: flex; }
  .sf-viewer-lb .sf-viewer__views .sim__tab { flex: 1 1 0; width: auto; min-width: 0; }
}
/* בורר קטן בחלון (רביד, 24.11.2026): בגובה הכפתורים שבשורה (32), טקסט 14; אזור לחיצה 44 לגובה */
.sf-viewer-lb .sf-viewer__views .sim__tab { position: relative; width: 128px; height: 32px; font-size: 14px; line-height: 14px; }
.sf-viewer-lb .sf-viewer__views .sim__tab::before { content: ""; position: absolute; inset: -6px 0; }
.sf-viewer-lb .sf-viewer__views { overflow: visible; }
.sf-viewer-lb .sf-viewer__views .sim__tab:first-child { border-radius: 6px 0 0 6px; }
.sf-viewer-lb .sf-viewer__views .sim__tab:last-child { border-radius: 0 6px 6px 0; }
@media (max-width: 743px) {
  .sf-viewer-lb .sf-viewer__views { justify-self: start; display: inline-flex; }
  .sf-viewer-lb .sf-viewer__views .sim__tab { flex: none; width: 128px; height: 32px; }
}
