/* גדלים: כל כפתור ושדה בגובה 48 לפחות, וטקסט קריאה 16 לפחות. תוויות ושורות משנה 14.
   צבעים: כפתור ראשי בורדו עם אותיות קרם (ניגודיות 13.1), ועל רקע בורדו כפתור זהב עם אותיות בורדו (6.6).
   נחושת משמשת רק לפסים ולסימונים, לא כרקע לאותיות לבנות (3.3, מתחת ל-4.5 הנדרש). */
:root {
  --cream: #FBF5EE; --burgundy: #4A1A2C; --copper: #D0763A; --gold: #E2A55A;
  --ink: #2A1A1F; --muted: #6B5A5F; --line: #E9DDD0; --card: #FFFFFF; --ok: #2E7D4F; --warn: #9A4514; --bad: #A32B2B;
  --tap: 48px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 "Segoe UI", "Heebo", "Arial Hebrew", Arial, sans-serif; }
a { color: var(--burgundy); }
h1 { font-size: 1.5rem; margin: 0 0 .25rem; line-height: 1.25; }
h2 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; color: var(--burgundy); }
.card h2 { margin: 0; }
p { margin: .4rem 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: .875rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 60px;
  padding: .35rem 1rem; padding-top: calc(.35rem + env(safe-area-inset-top)); background: var(--burgundy); color: var(--cream); }
.brand { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-weight: 700; min-height: var(--tap); min-width: 0; }
.brand img { border-radius: 9px; flex: none; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top nav { display: flex; gap: .25rem; flex: none; }
.top nav a, .top nav button { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--cream); background: none; border: 0; font: inherit;
  padding: 0 .8rem; border-radius: 10px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.top nav a:hover, .top nav button:hover { background: rgba(255,255,255,.12); }

main { max-width: 720px; margin: 0 auto; padding: 1rem 1rem 4rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; margin: .75rem 0; }
.card.narrow { max-width: 480px; margin-inline: auto; }
.hero { background: var(--burgundy); color: var(--cream); border: 0; }
.hero h1 { color: var(--cream); }
.hero .btn.ghost { color: var(--cream); border-color: rgba(255,255,255,.45); }
.price { color: var(--burgundy); font-weight: 700; font-size: 1.6rem; line-height: 1.3; margin-top: .75rem; }
.price-note { display: block; font-size: 1rem; font-weight: 600; }
.terms { margin-bottom: .9rem; }
.hero .price { color: var(--gold); }
.note-card { border-color: var(--gold); background: #FFF6E5; }
.done-all { margin-top: .75rem; font-weight: 600; color: var(--ok); }
.big-ok { width: 64px; height: 64px; margin: .25rem auto .75rem; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2rem; line-height: 64px; }
.spinner { width: 44px; height: 44px; margin: .5rem auto 1rem; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--copper); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 4s; } }

.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; padding: .6rem 1.15rem; font: inherit; font-weight: 700; cursor: pointer;
  background: var(--burgundy); color: var(--cream); text-decoration: none; text-align: center; min-height: var(--tap); }
.btn:hover { filter: brightness(1.12); }
.btn.ghost { background: transparent; color: var(--burgundy); border: 1px solid #CDBBAA; }
.btn.gold { background: var(--gold); color: var(--burgundy); }
.btn.danger { background: transparent; color: var(--bad); border: 1px solid #DDBDBD; }
.btn.bad { background: var(--bad); color: #fff; }
.btn.sm { padding: .4rem .9rem; font-weight: 600; }
.btn.block { display: flex; width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
/* קישור בתוך טקסט או מתחת לכפתור: נראה כקישור, אבל האצבע מקבלת 48 */
.link { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 .25rem; background: none; border: 0; font: inherit; color: var(--burgundy);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

progress { display: block; width: 100%; height: 10px; margin-top: .5rem; border: 0; border-radius: 999px; overflow: hidden; appearance: none; -webkit-appearance: none; background: var(--line); }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--copper); }
progress::-moz-progress-bar { background: var(--copper); }
.continue { margin-top: .75rem; }
.lessons { list-style: none; margin: 0; padding: 0; }
.lessons li { border-top: 1px solid var(--line); }
.lessons li:first-child { border-top: 0; }
.lesson { display: flex; align-items: center; gap: .75rem; padding: .75rem .25rem; color: inherit; text-decoration: none; min-height: 60px; }
.lesson .num { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--burgundy); font-weight: 700; }
.lesson.done .num { background: var(--ok); color: #fff; }
.lesson.locked { color: var(--muted); }
.lesson .t { font-weight: 600; }
.badge { flex: none; font-size: .875rem; padding: .15rem .6rem; border-radius: 999px; background: var(--cream); color: var(--burgundy); border: 1px solid var(--line); white-space: nowrap; }
.badge.ok { color: var(--ok); } .badge.warn { color: var(--warn); } .badge.bad { color: var(--bad); }

.crumbs { margin: 0; }
.player { aspect-ratio: 16 / 9; width: 100%; margin: .25rem 0 1rem; border-radius: 14px; overflow: hidden; background: #14100c; display: grid; place-items: center; color: var(--gold); text-align: center; padding: 1rem; }
.player.has-video { padding: 0; }
.player iframe { width: 100%; height: 100%; border: 0; }
.desc { white-space: pre-wrap; }
.lesson-main { margin-top: 1rem; }
.lesson-nav { margin-top: .25rem; flex-wrap: nowrap; align-items: flex-start; }
.lesson-nav .next { text-align: left; }

label { display: block; font-weight: 600; margin: .75rem 0 .25rem; }
input[type=text], input[type=email], input[type=number], textarea, select {
  width: 100%; padding: .65rem .75rem; border: 1px solid #CDBBAA; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); min-height: var(--tap); }
input.code { font-size: 1.6rem; letter-spacing: .4em; text-align: center; direction: ltr; min-height: 60px; }
input[dir=ltr] { text-align: left; }
.check { display: flex; align-items: center; gap: .6rem; font-weight: 400; min-height: var(--tap); }
.check input { width: 24px; height: 24px; flex: none; accent-color: var(--burgundy); }
.error { color: var(--bad); font-weight: 600; min-height: 1.5em; }
.error:empty { min-height: .5em; margin: 0; }
.note { background: #FFF6E5; border: 1px solid var(--gold); border-radius: 10px; padding: .6rem .75rem; }

.item { border-top: 1px solid var(--line); padding: .7rem 0; }
.item:first-child, .mod-head + .item { border-top: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; max-width: 100%; overflow-wrap: anywhere; vertical-align: bottom; }
.actions { margin-top: .5rem; }
.email { overflow-wrap: anywhere; }

dialog { border: 0; border-radius: 16px; padding: 1.25rem; width: min(560px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); overflow-y: auto; color: var(--ink); }
dialog::backdrop { background: rgba(20, 16, 12, .55); }
dialog h2 { margin: 0 0 .5rem; overflow-wrap: anywhere; }
dialog label { margin-top: .55rem; }
#ask { width: min(440px, calc(100vw - 2rem)); }
#ask p { margin: .25rem 0 .5rem; }
#ask .btn.block { margin-top: .5rem; }
/* שני שדות קצרים זה לצד זה, כדי שהחלון יהיה נמוך יותר בטלפון */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
/* מזהה הסרטון: 36 תווים שנשברים לשתי שורות, כך שרואים את כולו גם בטלפון */
textarea.video-id { direction: ltr; text-align: left; font-family: ui-monospace, Consolas, "Courier New", monospace; overflow-wrap: anywhere; word-break: break-all; resize: none; }
/* הכפתורים נשארים בתחתית החלון גם כשהוא נגלל */
.dialog-actions { position: sticky; bottom: 0; margin: .75rem -1.25rem 0; padding: .75rem 1.25rem; background: var(--card); border-top: 1px solid var(--line); flex-wrap: nowrap; }
.dialog-actions + p { margin: .25rem 0 0; }
/* חלון שאלה קצר: הכפתורים פשוט בסופו */
#ask .dialog-actions { position: static; margin: 1rem 0 0; padding: 0; border-top: 0; }

/* הודעה קצרה בתחתית המסך */
.toast { position: fixed; z-index: 20; inset-inline: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); max-width: 480px; margin-inline: auto; padding: .8rem 1rem; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 600; text-align: center; box-shadow: 0 6px 24px rgba(0,0,0,.25); opacity: 0; transform: translateY(1rem); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: none; }
.toast.bad { background: var(--bad); }

/* ---------- אפליקציית הניהול ---------- */
body.admin .top { background: var(--ink); color: var(--gold); }
body.admin .top nav a, body.admin .top nav button { color: var(--cream); }
body.admin main { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
body.admin .toast { bottom: calc(5.25rem + env(safe-area-inset-bottom)); }
/* בטלפון: סרגל בתחתית, מתחת לאגודל */
.tabbar { position: fixed; z-index: 6; inset-inline: 0; bottom: 0; display: flex; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; min-height: 64px; color: var(--muted); text-decoration: none; font-weight: 600; border-top: 3px solid transparent; }
.tabbar a.on { color: var(--burgundy); border-top-color: var(--copper); }
.rowbtn { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 60px; background: none; border: 0; border-top: 1px solid var(--line); font: inherit; color: inherit; text-align: start; cursor: pointer; }
.rowbtn .edit { flex: none; color: var(--burgundy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rowbtn:hover { background: var(--cream); }
.narrow-form { max-width: 560px; }
.readable { max-width: 760px; }
/* שם הפרק והכפתורים שלו: בטלפון הכפתורים יורדים לשורה משלהם, כדי ששם ארוך לא יישבר לשלוש שורות */
.mod-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .25rem; }
.mod-head h2 { flex: 1 1 14rem; min-width: 0; overflow-wrap: anywhere; }

/* במחשב: הסרגל עובר לצד, והתוכן מתרחב לשני טורים */
@media (min-width: 900px) {
  body.admin { padding-inline-start: 200px; }
  body.admin main { max-width: 1120px; padding: 1.5rem 2rem 3rem; }
  body.admin .toast { bottom: 1.5rem; }
  .tabbar { inset-inline: 0 auto; top: 0; bottom: 0; width: 200px; flex-direction: column; justify-content: flex-start; gap: .25rem; padding: 1rem .75rem; border-top: 0; border-inline-end: 1px solid var(--line); }
  .tabbar a { flex: none; flex-direction: row; justify-content: flex-start; gap: .75rem; min-height: var(--tap); padding: 0 .75rem; border-top: 0; border-radius: 10px; }
  .tabbar a.on { background: var(--cream); }
  .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
  .cols.side { grid-template-columns: 360px 1fr; }
  .cols > .card, .cols > div > .card:first-child { margin-top: 0; }
}

/* ---------- הפונים מהוואטסאפ: היום, פונים, כרטיס פונה ---------- */
/* המסגרת בצבעי הקורס. רק בועות השיחה בסגנון וואטסאפ. כל תווית מצב היא צבע וגם מילה.
   ניגודיות הטקסט בתוויות (מחושב): כתום 6.9, כחול 7.6, אפור 8.0, ירוק 6.6. כולן מעל 4.5. */
.nowrap { white-space: nowrap; }
.strip { display: flex; align-items: flex-start; gap: .6rem; margin: 0 0 .4rem; padding: .55rem .8rem; border-radius: 10px; background: #E8F3EC; }
.strip .dot { flex: none; width: .7rem; height: .7rem; margin-top: .45rem; border-radius: 50%; background: var(--ok); }
.strip.tone-blue { background: #E3EEFA; } .strip.tone-blue .dot { background: #1F6FBF; }
.strip.tone-yellow { background: #FFF3D1; } .strip.tone-yellow .dot { background: #B58100; }
.strip.tone-red { background: #FBE4E4; font-weight: 600; } .strip.tone-red .dot { background: var(--bad); }
.strip.tone-grey { background: #ECE8E4; } .strip.tone-grey .dot { background: #7A7074; }

.hero-box { text-align: center; padding: 1rem 0 .25rem; }
.hero-count { display: flex; flex-direction: column; align-items: center; margin: 0; }
.big-num { font-size: 4.5rem; line-height: 1; font-weight: 800; color: var(--burgundy); }
.big-label { font-size: 1.35rem; font-weight: 700; }
.hero-title { font-size: 1.6rem; margin: 0; }
.hero-text { font-size: 1.15rem; font-weight: 600; line-height: 1.5; max-width: 22rem; margin: .5rem auto; }
.summary { margin: .25rem 0 1rem; }

.lead { display: flex; flex-direction: column; justify-content: center; gap: .2rem; min-height: 72px; margin: .5rem 0; padding: .7rem .9rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; }
.lead:hover { border-color: #CDBBAA; }
.lead.on { border-color: var(--copper); border-inline-start-width: 5px; }
.lead-top { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.lead-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-when { flex: none; color: var(--muted); font-size: .875rem; white-space: nowrap; }
.lead-preview { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .15rem; }
.tag { font-size: .875rem; font-weight: 600; padding: .1rem .6rem; border-radius: 999px; background: #ECE8E4; color: #4A4347; }
.tag.tone-orange, .state.tone-orange { background: #FDE8D2; color: #8A3D00; }
.tag.tone-blue, .state.tone-blue { background: #DCEBFA; color: #0B4A8F; }
.tag.tone-grey, .state.tone-grey { background: #ECE8E4; color: #4A4347; }
.tag.tone-green, .state.tone-green { background: #DDF1E4; color: #1E5E38; }
.tag.plain { background: transparent; border: 1px solid #CDBBAA; color: var(--muted); }
.linkrow { display: flex; align-items: center; min-height: var(--tap); margin: .5rem 0; padding: .3rem .9rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--burgundy); font-weight: 600; text-decoration: none; }
.logout { margin-top: 1.5rem; }
.logout .link { color: var(--muted); font-size: .875rem; }
.skel { height: 72px; margin: .5rem 0; border-radius: 14px; background: linear-gradient(90deg, #EFE7DD 25%, #F8F3ED 50%, #EFE7DD 75%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
.load-error .btn { margin-top: .5rem; }
.empty { text-align: center; padding: 1.5rem .5rem; }

.lead-q { width: 100%; margin: .5rem 0; padding: .65rem .75rem; border: 1px solid #CDBBAA; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); min-height: var(--tap); }
/* ארבעה כפתורי סינון בשורה אחת גם בטלפון צר: המילה למעלה והמספר מתחתיה */
.chips { display: flex; gap: .35rem; margin: .5rem 0 .75rem; min-height: var(--tap); }
.chip { flex: 1 1 auto; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: .2rem .45rem; border: 1px solid #CDBBAA; border-radius: 12px;
  background: var(--card); color: var(--ink); text-decoration: none; font-size: .875rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.chip b { font-size: 1.05rem; }
.chip.on { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.group { margin: 1rem 0 .1rem; font-size: .875rem; color: var(--muted); }
.more { margin-top: .75rem; }

/* כרטיס פונה */
.back { display: inline-flex; align-items: center; gap: .4rem; min-height: var(--tap); color: var(--burgundy); font-weight: 600; text-decoration: none; }
.contact-head h1 { overflow-wrap: anywhere; }
.contact-phone { margin: .1rem 0; font-size: 1.1rem; }
.state { display: inline-block; margin: .6rem 0; padding: .35rem .9rem; border-radius: 999px; font-size: 1.05rem; font-weight: 700; background: #ECE8E4; color: #4A4347; }
.chat { padding: .75rem; border-radius: 14px; background: #EFE7DC; }
/* הודעות הפונה מימין, תשובות המערכת משמאל */
.msg { width: fit-content; max-width: 85%; margin: .35rem 0; margin-inline-end: auto; padding: .45rem .7rem .3rem; border-radius: 12px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.msg.out { margin-inline: auto 0; background: #DCF8C6; }
.msg-who { display: block; font-size: .875rem; font-weight: 700; color: #1E5E38; }
.msg-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-note { font-style: italic; color: var(--muted); }
.msg-time { display: block; text-align: end; font-size: .875rem; color: var(--muted); }
.msg-handed { margin: 0 .25rem .35rem; text-align: end; font-size: .875rem; font-weight: 600; color: #0B4A8F; }
.chat-day { width: fit-content; margin: .5rem auto; padding: .05rem .7rem; border-radius: 999px; background: rgba(255,255,255,.75); font-size: .875rem; color: var(--muted); }
.chat-foot { margin: .75rem 0 0; text-align: center; font-size: .875rem; color: var(--muted); }
.earlier summary { display: flex; align-items: center; justify-content: center; min-height: var(--tap); color: var(--burgundy); font-weight: 600; cursor: pointer; list-style: none; }
.earlier summary::-webkit-details-marker { display: none; }
.note-box { margin: 1rem 0; }
.note-add { padding: 0 .9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--burgundy); font-weight: 600; }
.note-state { min-height: 1.5em; margin: .25rem 0 0; }
.note-state.ok { color: var(--ok); font-weight: 600; }
.note-state .link { min-height: 0; }
/* סרגל הפעולות: בטלפון צמוד לתחתית המסך, מתחת לאגודל */
.actbar { position: fixed; z-index: 6; inset-inline: 0; bottom: 0; padding: .4rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }
.actbar:empty { display: none; }
.act-row { display: flex; gap: .5rem; }
.act-row .grow { flex: 1; }
.call { gap: .4rem; padding-inline: .9rem; }
.act-small { margin: 0; text-align: center; }
.act-hint { margin: .2rem 0; text-align: center; font-size: .9375rem; color: var(--muted); }
.act-error { margin: .2rem 0; text-align: center; color: var(--bad); font-weight: 600; }
.pick { text-align: center; padding: 3rem 1rem; }

/* בטלפון רואים או את הרשימה או את הכרטיס. הכרטיס ממלא את המסך, בלי הסרגל התחתון. */
body.in-card .pane-list, body:not(.in-card) .pane-card { display: none; }
body.in-card .tabbar { display: none; }
body.admin.in-card main { padding-bottom: calc(11rem + env(safe-area-inset-bottom)); }
body.admin.in-card .toast { bottom: calc(10rem + env(safe-area-inset-bottom)); }

/* הודעה קצרה עם פעולה: "סומן כטופל · ביטול" */
.toast.has-act { display: flex; align-items: center; justify-content: center; gap: .25rem; padding-block: .15rem; }
.toast.show.has-act { pointer-events: auto; }
.toast-act { min-height: var(--tap); padding: 0 .75rem; background: none; border: 0; font: inherit; font-weight: 700; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* העיגול עם מספר המחכים, על "היום" ועל "פונים" */
.tab-icon { position: relative; display: inline-flex; }
.tab-n { position: absolute; top: -7px; inset-inline-end: -16px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--bad); color: #fff; font-size: .75rem; font-weight: 700; line-height: 20px; text-align: center; }

/* שורת הבחירה שבראש "הקורס" */
.subnav { display: flex; gap: .25rem; margin-bottom: 1rem; padding: .25rem; border-radius: 12px; background: #F1E7DB; }
.subnav a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: var(--tap); border-radius: 9px; color: var(--ink); font-weight: 600; text-decoration: none; }
.subnav a.on { background: var(--card); color: var(--burgundy); box-shadow: 0 1px 2px rgba(0,0,0,.14); }

/* במחשב: הרשימה מימין, והכרטיס שנבחר משמאל */
@media (min-width: 900px) {
  .split { display: grid; grid-template-columns: minmax(340px, 420px) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
  body.in-card .pane-list, body:not(.in-card) .pane-card { display: block; }
  body.in-card .tabbar { display: flex; }
  body.admin.in-card main { padding-bottom: 3rem; }
  body.admin.in-card .toast { bottom: 1.5rem; }
  .pane-card { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; padding: 1rem 1.25rem 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
  .pane-card .back { display: none; }
  body:not(.in-card) .pane-card:empty { display: none; }
  .pane-card .contact-head h1 { margin-top: 0; }
  .actbar { position: sticky; inset-inline: auto; margin: 1rem -1.25rem 0; padding: .5rem 1.25rem .8rem; }
  .act-row { max-width: 460px; margin-inline: auto; }
  .subnav { max-width: 420px; }
  /* בתפריט הצד העיגול עובר לסוף השורה, כדי שלא יכסה את המילה */
  .tab-icon { display: contents; }
  .tab-n { position: static; order: 2; margin-inline-start: auto; }
}
