/* ============================================================
   טיימליין — עיצוב אחיד למודולים שבגוגל קלאוד (13.11.2026)
   ------------------------------------------------------------
   אותו קובץ ב-Path, Fix, Care ו-Craft. נטען אחרי העיצוב של המודול,
   ומאחד: גופן (Heebo, מקומי — בלי פנייה לגוגל פונטס), גדלי טקסט,
   כותרות, כפתורים, שדות, לשוניות והסמל של טיימליין.
   הצבע של כל מודול נשאר שלו (Path חום, Fix אינדיגו, Care טורקיז, Craft כחול).
   © כל הזכויות שמורות לנעמה אורפלי
   ============================================================ */

/* ---------- הגופן ---------- */
@font-face{font-family:'Heebo';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/heebo-hebrew-400-normal.woff2') format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:'Heebo';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/heebo-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Heebo';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/heebo-hebrew-500-normal.woff2') format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:'Heebo';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/heebo-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Heebo';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/heebo-hebrew-700-normal.woff2') format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:'Heebo';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/heebo-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Heebo';font-style:normal;font-weight:800;font-display:swap;src:url('assets/fonts/heebo-hebrew-800-normal.woff2') format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:'Heebo';font-style:normal;font-weight:800;font-display:swap;src:url('assets/fonts/heebo-latin-800-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Gveret Levin';src:url('assets/gveret-levin.woff2') format('woff2');font-display:swap;unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:'Gveret Levin';src:url('assets/gveret-levin-latin.woff2') format('woff2');font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD}

/* ---------- המידות האחידות ---------- */
:root{
  --tl-font:'Heebo',Arial,sans-serif;
  --tl-fs:15px;        /* טקסט רגיל */
  --tl-fs-sm:13px;     /* טקסט משני, תוויות קטנות */
  --tl-fs-h1:24px;     /* כותרת עמוד */
  --tl-fs-h2:18px;     /* כותרת אזור */
  --tl-fs-h3:16px;     /* כותרת כרטיס */
  --tl-radius:10px;    /* כפתורים ושדות */
  --tl-h:40px;         /* גובה כפתור ושדה */
  --tl-h-sm:32px;      /* כפתור קטן */
}

html body{font-family:var(--tl-font) !important;font-size:var(--tl-fs) !important;line-height:1.55}
body button,body input,body select,body textarea,body .btn{font-family:var(--tl-font) !important}
body h1,body h2,body h3,body h4,body h5,body h6{font-family:var(--tl-font) !important;line-height:1.3}
body h1{font-size:var(--tl-fs-h1) !important;font-weight:800 !important}
body h2{font-size:var(--tl-fs-h2) !important;font-weight:800 !important}
body h3{font-size:var(--tl-fs-h3) !important;font-weight:700 !important}

/* כפתורים */
body .btn,body button.btn{font-size:var(--tl-fs) !important;font-weight:700 !important;border-radius:var(--tl-radius) !important;min-height:var(--tl-h)}
body .btn.sm,body .btn-sm,body .btn--sm,body .btn.small{font-size:var(--tl-fs-sm) !important;min-height:var(--tl-h-sm) !important}

/* שדות */
body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),body select,body textarea{font-size:var(--tl-fs) !important;border-radius:var(--tl-radius) !important}

/* לשוניות */
body .tab,body nav.tabs button,body nav.tabs a,body .tabs .tab,body [role=tab]{font-size:var(--tl-fs) !important;font-weight:700 !important}

/* הסמל של טיימליין (tl-lk — אותו מבנה בכל המודולים) */
body .tl-lk{font-size:22px !important;gap:7px !important;color:#17344e !important}
body .tl-lk svg{width:1.15em !important;height:1.15em !important}
body .tl-lk b{font-family:var(--tl-font) !important;font-weight:500 !important}
body .tl-lk em{font-family:'Gveret Levin',cursive !important;font-size:1.5em !important;font-style:normal !important}

/* טקסט קטן אחיד */
body small,body .small,body .hint,body .muted.small{font-size:var(--tl-fs-sm) !important}

@media print{html body{font-size:11pt !important}}

/* =============================================================
   13.11.2026 — אותו פורמט בכל המודולים, לפי Path:
   מסגרת עם פס עליון בצבע המודול, כותרת לבנה עם הסמל במרכז ו"יציאה" בצד,
   לשוניות עם קו תחתון במחשב, ובטלפון — סרגל תחתון עם סמל ושם.
   tl-gate.js מסמן את המודול ב-<html data-tl-module="...">.
   ============================================================= */
:root{--tl-page:#eef2f5;--tl-surface:#fff;--tl-line:#e3eae6;--tl-line2:#cbd5cf;--tl-ink:#1f2937;--tl-ink2:#17344e;--tl-muted:#5b6878}
html[data-tl-module=path]{--tl-brand:#674922;--tl-brand-d:#78350f;--tl-soft:rgba(103,73,34,.10)}
html[data-tl-module=fix]{--tl-brand:#3c2267;--tl-brand-d:#4c2e81;--tl-soft:#f5f1fc}
html[data-tl-module=care]{--tl-brand:#672247;--tl-brand-d:#682247;--tl-soft:#e6f4f7}
html[data-tl-module=craft]{--tl-brand:#224367;--tl-brand-d:#1f4266;--tl-soft:#e8eef6}

/* ---- המסגרת (כמו .container ב-Path) ---- */
html[data-tl-module=fix],html[data-tl-module=care]{background:#fff !important;overflow-y:auto}   /* 15.11.2026 — בלי זה ה-overflow:clip של ה-body עובר לחלון כולו, והדף לא נגלל */
html[data-tl-module=fix] body,html[data-tl-module=care] body,.tl-shell{
  max-width:950px !important;margin:0 auto !important;background:var(--tl-page) !important;border-radius:15px;
  box-shadow:0 5px 25px rgba(0,0,0,.1);overflow:clip;min-height:85vh;border-top:4px solid var(--tl-brand) !important}
@media (min-width:1400px){html[data-tl-module=fix] body,html[data-tl-module=care] body,.tl-shell{max-width:1200px !important}}

/* ---- כפתורים: צבע המודול ---- */
html[data-tl-module] body .btn.primary,html[data-tl-module] body .btn--primary{background:var(--tl-brand) !important;border-color:var(--tl-brand) !important;color:#fff !important}
html[data-tl-module] body .card{border-radius:16px !important}

/* ---- כותרת אחידה (Craft: tl-hdr; Fix: סרגל המעטפת; Care: top) ---- */
.tl-hdr{background:var(--tl-surface);border-bottom:1px solid var(--tl-line);padding:12px 20px 0}
.tl-row1{display:flex;align-items:center;justify-content:center;gap:12px;position:relative;min-height:40px;padding-bottom:6px}
.tl-out,html[data-tl-module=care] #btnOut,html[data-tl-module=fix] #tlOutBtn{
  position:absolute !important;inset-inline-end:0 !important;top:50% !important;transform:translateY(-50%) !important;
  border:1px solid var(--tl-line) !important;background:var(--tl-surface) !important;color:var(--tl-ink2) !important;
  font-weight:800 !important;padding:0 11px !important;height:32px !important;min-height:32px !important;border-radius:9px !important;font-size:13px !important;cursor:pointer;margin:0 !important}

/* Fix: סרגל המעטפת בתבנית של Path */
html[data-tl-module=fix] .tl-sh-bar{background:var(--tl-surface) !important;border-bottom:1px solid var(--tl-line) !important;box-shadow:none !important;
  position:relative !important;padding:12px 20px 10px !important;min-height:56px !important;justify-content:center !important;top:auto !important}
html[data-tl-module=fix] .tl-sh-back-wrap,html[data-tl-module=fix] .tl-sh-sep,html[data-tl-module=fix] .tl-sh-title{display:none !important}
html[data-tl-module=fix] .tl-sh-bar .tl-lk{flex:0 0 auto !important;justify-content:center !important}
html[data-tl-module=fix] #tlOutBtn{inset-inline-end:16px !important}
html[data-tl-module=fix] #helpBtn,html[data-tl-module=fix] #syncBtn{position:absolute !important;top:50% !important;transform:translateY(-50%) !important;height:32px !important;min-height:32px !important;width:32px !important;padding:0 !important;border-radius:9px !important;font-size:0 !important;display:inline-flex !important;align-items:center;justify-content:center}
html[data-tl-module=fix] #helpBtn{inset-inline-start:16px !important}
html[data-tl-module=fix] #syncBtn{inset-inline-start:56px !important}
html[data-tl-module=fix] #helpBtn svg,html[data-tl-module=fix] #syncBtn svg{font-size:16px !important;width:16px;height:16px}
html[data-tl-module=fix] #syncLabel{display:none !important}

/* Care: כותרת בתבנית של Path */
html[data-tl-module=care] .top{background:var(--tl-surface) !important;border-bottom:1px solid var(--tl-line) !important}
html[data-tl-module=care] .top__in{position:relative !important;padding:12px 20px 10px !important;gap:6px !important}
html[data-tl-module=care] .top__in > .brand{position:static !important}
html[data-tl-module=care] #btnOut{inset-inline-end:16px !important;top:30px !important}
html[data-tl-module=care] .top__side{gap:8px !important}

/* ---- לשוניות במחשב (כמו .hc-tabs) ---- */
.tl-tabs,html[data-tl-module=fix] nav.tabs,html[data-tl-module=care] .tabs{display:flex !important;gap:2px !important;justify-content:flex-start !important;
  background:var(--tl-surface) !important;border-bottom:1px solid var(--tl-line) !important;padding:0 14px !important;margin:0 !important;max-width:none !important;overflow-x:auto;position:static !important}
html[data-tl-module=care] .tabs__wrap{background:var(--tl-surface) !important;border:0 !important;position:static !important}
.tl-tabs a,.tl-tabs button,html[data-tl-module=fix] nav.tabs button,html[data-tl-module=care] .tabs .tab{
  flex:0 0 auto !important;border:0 !important;background:none !important;border-radius:0 !important;box-shadow:none !important;
  padding:11px 16px 10px !important;font-size:15px !important;font-weight:800 !important;color:var(--tl-muted) !important;
  border-bottom:3px solid transparent !important;display:flex !important;align-items:center !important;gap:7px !important;
  cursor:pointer;white-space:nowrap !important;text-decoration:none;margin:0 !important;min-height:0 !important;height:auto !important;overflow:visible !important}
.tl-tabs .on,.tl-tabs [aria-current=page],html[data-tl-module=fix] nav.tabs button.on,html[data-tl-module=care] .tabs .tab[aria-selected=true]{
  color:var(--tl-brand-d) !important;border-bottom-color:var(--tl-brand) !important}
.tl-tabs svg,html[data-tl-module=fix] nav.tabs button svg,html[data-tl-module=care] .tabs .tab svg{width:18px !important;height:18px !important;flex:0 0 auto}
.tl-bnav{display:none}

/* ---- כפתורי בחירה משניים (כמו .seg ב-Path) ---- */
html[data-tl-module=care] .subtab{border:1.5px solid var(--tl-line2) !important;background:#fff !important;border-radius:999px !important;padding:6px 13px !important;font-weight:800 !important;font-size:13px !important;color:var(--tl-muted) !important}
html[data-tl-module=care] .subtab[aria-selected=true],html[data-tl-module=care] .subtab.on{background:var(--tl-soft) !important;border-color:var(--tl-brand) !important;color:var(--tl-brand-d) !important}

/* ---- טלפון: סרגל תחתון (כמו .hc-bnav) ---- */
@media (max-width:760px){
  html[data-tl-module=fix] body,html[data-tl-module=care] body,.tl-shell{padding-bottom:calc(76px + env(safe-area-inset-bottom)) !important}
  .tl-hdr,html[data-tl-module=fix] .tl-sh-bar,html[data-tl-module=care] .top__in{padding-inline:12px !important}
  .tl-tabs{display:none !important}
  .tl-bnav,html[data-tl-module=fix] nav.tabs,html[data-tl-module=care] .tabs__wrap{
    display:flex !important;position:fixed !important;bottom:0 !important;left:0 !important;right:0 !important;top:auto !important;z-index:900 !important;
    background:#fff !important;border-top:1px solid var(--tl-line) !important;border-bottom:0 !important;box-shadow:0 -4px 16px rgba(0,0,0,.06) !important;
    padding:6px 4px calc(6px + env(safe-area-inset-bottom)) !important;direction:rtl;overflow:visible !important;margin:0 !important;max-width:none !important}
  html[data-tl-module=care] .tabs{display:flex !important;width:100% !important;padding:0 !important;border:0 !important;background:none !important}
  .tl-bnav a,.tl-bnav button,html[data-tl-module=fix] nav.tabs button,html[data-tl-module=care] .tabs .tab{
    flex:1 1 0 !important;min-width:0 !important;border:0 !important;background:none !important;display:flex !important;flex-direction:column !important;
    align-items:center !important;gap:2px !important;font-size:11px !important;font-weight:800 !important;color:var(--tl-muted) !important;
    padding:4px 0 !important;position:relative !important;text-decoration:none;border-bottom:0 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}
  .tl-bnav svg,html[data-tl-module=fix] nav.tabs button svg,html[data-tl-module=care] .tabs .tab svg{width:22px !important;height:22px !important;display:block}
  .tl-bnav .on,.tl-bnav [aria-current=page],html[data-tl-module=fix] nav.tabs button.on,html[data-tl-module=care] .tabs .tab[aria-selected=true]{color:var(--tl-brand) !important}
  .tl-bnav .on::before,.tl-bnav [aria-current=page]::before,html[data-tl-module=fix] nav.tabs button.on::before,html[data-tl-module=care] .tabs .tab[aria-selected=true]::before{
    content:"";position:absolute;top:-6px;width:30px;height:3px;border-radius:3px;background:var(--tl-brand)}
  html[data-tl-module=care] .tab .badge{display:none !important}
}
@media print{.tl-bnav,.tl-tabs{display:none !important}html[data-tl-module] body{box-shadow:none !important;border:0 !important;max-width:none !important}}
html[data-tl-module=craft] body{background:#fff !important}
html[data-tl-module=fix] #syncBtn{font-size:0 !important}
html[data-tl-module=fix] #syncBtn::before{content:"⟳";font-size:17px;line-height:1}
html[data-tl-module=care] .subtabs{background:transparent !important;padding:10px 16px 0 !important}

/* ---- 13.11.2026 — כותרת אחידה: שם בית הספר, שורת פעולות, ומי מחובר ---- */
.tl-school,html[data-tl-module=care] .care-school{font-size:13px !important;font-weight:500 !important;color:var(--tl-muted) !important;text-align:center !important;margin:0 0 8px !important;line-height:1.4 !important}
.tl-who{position:absolute;inset-inline-end:76px;top:50%;transform:translateY(-50%);font-size:12.5px;color:var(--tl-muted);white-space:nowrap}
@media (max-width:640px){.tl-who{display:none !important}}
/* שורת פעולות (Fix: מדריך וסנכרון; Care: רענון ושמירה) — מתחת לשם בית הספר, באותו עיצוב */
.tl-actions,html[data-tl-module=care] .top__side{display:flex !important;justify-content:center !important;gap:8px !important;flex-wrap:wrap !important;margin:0 0 8px !important}
.tl-actions .btn,.tl-actions button,html[data-tl-module=care] .top__side .btn,html[data-tl-module=fix] .tl-sh-bar #helpBtn,html[data-tl-module=fix] .tl-sh-bar #syncBtn{
  position:static !important;transform:none !important;width:auto !important;height:32px !important;min-height:32px !important;padding:0 11px !important;
  border:1px solid var(--tl-line) !important;background:var(--tl-surface) !important;color:var(--tl-ink2) !important;border-radius:9px !important;
  font-size:13px !important;font-weight:800 !important;display:inline-flex !important;align-items:center !important;gap:6px !important;box-shadow:none !important}
/* Fix: הכותרת בשלוש שורות כמו בשאר — סמל, שם בית הספר, פעולות */
html[data-tl-module=fix] .tl-sh-bar{flex-wrap:wrap !important;row-gap:0 !important;padding:12px 20px 0 !important}
html[data-tl-module=fix] .tl-sh-bar .tl-lk{flex:0 0 100% !important;min-height:40px}
html[data-tl-module=fix] .tl-sh-bar .tl-school{flex:0 0 100% !important}
html[data-tl-module=fix] .tl-sh-bar .tl-tools{flex:0 0 100% !important;display:flex !important;justify-content:center !important;gap:8px !important;margin:0 0 10px !important}
html[data-tl-module=fix] #tlOutBtn{top:16px !important;transform:none !important}
html[data-tl-module=fix] .tl-who{top:23px !important;transform:none !important;inset-inline-end:92px !important}
html[data-tl-module=fix] .tl-sh-bar #syncBtn::before{content:none !important}
html[data-tl-module=fix] .tl-sh-bar #helpBtn svg,html[data-tl-module=fix] .tl-sh-bar #syncBtn svg{width:15px !important;height:15px !important}
/* Care: יציאה ומי מחובר — בשורה של הסמל */
html[data-tl-module=care] #btnOut{top:16px !important;transform:none !important}
html[data-tl-module=care] .tl-who{top:23px !important;transform:none !important;inset-inline-end:92px !important}
html[data-tl-module=care] .top__in{gap:2px !important;padding-bottom:4px !important}
/* 13.11.2026 — Care: בלי שורת סיסמה בכותרת (גם בדמו) */
html[data-tl-module=care] .care-motto{display:none !important}
/* דמו: תג "נתונים בדויים" מעל הסרגל התחתון בטלפון */
@media (max-width:760px){#tlDemoBadge{bottom:calc(80px + env(safe-area-inset-bottom)) !important}}

/* 19.11.2026 — הפס העליון בגובה אחד בכל המודולים, כמו ב-Path: רקע אפור סביב המסגרת
   ו-8 פיקסלים מעליה. עד כאן ב-Fix וב-Care המסגרת נצמדה לראש המסך. */
html[data-tl-module=fix],html[data-tl-module=care]{background:var(--tl-page) !important}
html[data-tl-module=fix] body,html[data-tl-module=care] body{margin:8px auto !important;width:calc(100% - 16px) !important}
/* 19.11.2026 — כשיש את פס המעטפת (tls-bar, בדמו ובאפליקציה המאחדת): הפס מעל המסגרת לכל הרוחב, כמו ב-Path */
html[data-tl-module=fix] body>.tls-bar,html[data-tl-module=care] body>.tls-bar{position:absolute !important;top:0;left:0;right:0;width:auto !important;max-width:none !important}
html[data-tl-module=fix]:has(body>.tls-bar) body,html[data-tl-module=care]:has(body>.tls-bar) body{margin-top:58px !important}

/* 27.11.2026 — בטלפון: עם "school" הסמל התארך ונכנס מתחת ל"יציאה" (ב-Craft כבר ב-412px).
   כמו ב-Path (26.11): הסמל מימין, "יציאה" משמאל, בלי חפיפה; במסך צר מאוד הסמל קטן מעט כדי להיכנס.
   "school" נשאר מוצג בכל רוחב. רק תצוגה, ורק עד 480px — במסך רחב יותר שום דבר לא משתנה. */
@media (max-width:480px){
  body .tl-lk{font-size:min(22px,calc((100vw - 112px) / 11.8)) !important}
  .tl-row1{justify-content:flex-start !important}
  html[data-tl-module=fix] .tl-sh-bar .tl-lk{justify-content:flex-start !important}
  html[data-tl-module=care] .top__in > .brand{align-self:stretch !important;align-items:stretch !important}
  html[data-tl-module=care] #careBrand{display:flex !important;flex-direction:row !important;justify-content:flex-start !important;align-items:center !important;margin-inline:0 !important;max-width:none !important}
}

/* 28.11.2026 — נגישות: ניגודיות לתגית בכלי המעטפת */
.tl-sh-tag{opacity:1 !important;color:#556274 !important}
.tl-sh-item.tl-sh-off{opacity:1 !important}.tl-sh-item.tl-sh-off>span:first-child{color:#556274}
