/* ═══════════════════════════════════════════════════════════════════════════
   הסכם עבודה — עיצוב הגיליון
   קובץ נפרד משום ששני מקומות טוענים אותו: מערכת הניהול, ועמוד החתימה
   הציבורי שאין לו גישה לשאר העיצוב של המערכת.
   ═══════════════════════════════════════════════════════════════════════════ */

.doc .sheet{ width:210mm; min-height:297mm; background:#fff; color:#000; margin:0 auto;
  box-sizing:border-box; box-shadow:0 2px 18px rgba(0,0,0,.18) }
@media print{ .doc .sheet{ box-shadow:none; margin:0 } }

/* נוסח משפטי: דוד, מיושר לשני הצדדים, מספור בעמודה קבועה. מודפס A4
   ונקרא גם בטלפון — ולכן הגיליון מתכווץ ברוחב ולא נגלל הצידה. */
.doc-contract .sheet{ padding:18mm 16mm; font-family:"David","Frank Ruehl",serif;
  font-size:11.2pt; line-height:1.5; color:#000 }
.doc-contract .ct-p{ margin:0 0 7px }
/* פתיח ההסכם: כותרת, תאריך ושני הצדדים — ממורכז עד ה"הואיל" הראשון */
.doc-contract .ct-top{ text-align:center }
.doc-contract .ct-h{ font-size:11.6pt; font-weight:700; text-decoration:underline;
  margin:14px 0 7px; display:flex; gap:8px }
/* מסמך משפטי הוא שחור על לבן. הכותרות ירשו את צבע הכותרות של המערכת
   כשהוא מוצג בתוך חלון, ולכן הצבע נקבע כאן במפורש. (רמי, 2026-09-21) */
.doc-contract, .doc-contract h2, .doc-contract .ct-h, .doc-contract .ct-n,
.doc-contract p, .doc-contract span{ color:#000 }
.doc-contract .ct-c{ display:flex; gap:8px; margin:0 0 7px; text-align:justify }
.doc-contract .ct-n{ flex:0 0 13mm; font-variant-numeric:tabular-nums }
.doc-contract .ct-lead{ display:flex; gap:8px; margin:0 0 7px; text-align:justify }
.doc-contract .ct-lw{ flex:0 0 18mm; font-weight:700 }
/* נשימה בין פרטי הצדדים ל"הואיל" הראשון — שם מתחיל גוף ההסכם */
.doc-contract .ct-top + .ct-lead{ margin-top:7mm }
.doc-contract .b{ font-weight:700 }
.doc-contract .u{ text-decoration:underline }
/* אזור החתימות. הגודל נקבע מהעין ולא מהמסמך: חתימה בגובה 20 מ"מ יצאה
   זעירה בהדפסה ומטושטשת אחרי הרסטור, ולכן הוגדלה פי 2.5. (רמי, 2026-09-21) */
.doc-contract .ct-sigs{ display:flex; gap:12mm; margin-top:14mm; page-break-inside:avoid }
.doc-contract .ct-sig{ flex:1 1 0; text-align:center }
.doc-contract .ct-sig-box{ height:70mm; border-bottom:1px solid #000; display:flex;
  align-items:flex-end; justify-content:center; padding-bottom:0 }
/* החתימה יושבת על הקו ולא מרחפת מעליו, כמו חתימה על נייר */
.doc-contract .ct-sig-box img{ max-height:68mm; max-width:100%; object-fit:contain;
  margin-bottom:-4mm }
/* חתימה שנמתחה באצבע על מסך רחב יוצאת גדולה מחתימה סרוקה באותו מקום */
.doc-contract .ct-sig-emp .ct-sig-box img{ max-height:52mm; max-width:78% }
.doc-contract .ct-sig-l{ font-weight:700; margin-top:4px }
.doc-contract .ct-sig-at{ font-size:9pt; color:#444 }
@media (max-width:760px){
  .doc-contract .sheet{ width:100%; min-height:0; padding:14px; font-size:15px }
  .doc-contract .ct-n{ flex-basis:11mm }
  .doc-contract .ct-sigs{ flex-direction:column; gap:10mm }
  .doc-contract .ct-sig-box{ height:50mm }
  .doc-contract .ct-sig-box img{ max-height:48mm; margin-bottom:-3mm }
}

