/* ============ מערכת עיצוב — דופק ============ */
:root {
  --navy-950: #0C1231; --navy-900: #131B45; --navy-800: #1C265C; --navy-700: #25326F; --navy-600: #34459A; --navy-100: #E8EBF7;
  /* צבעי הלוגו: כחול #25326F, אדום #E83A25 */
  --red: #E83A25; --red-600: #C22D19; --red-50: #FDEEEB;
  --bg: #F3F5F9; --surface: #FFFFFF; --surface-2: #F8FAFC;
  --text: #142033; --muted: #5A677D; --faint: #8A95A8;
  --border: #E1E6EE; --border-2: #CDD5E1;
  --green: #137A4C; --green-50: #E6F5EE; --blue: #1D5FC0; --blue-50: #E8F0FC;
  --amber: #9A5B00; --amber-50: #FDF3E2; --gray: #556072; --gray-50: #EEF1F5;
  --radius: 12px; --radius-sm: 8px; --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(19, 27, 69, .06);
  --shadow: 0 1px 2px rgba(19, 27, 69, .05), 0 4px 16px rgba(19, 27, 69, .06);
  --shadow-lg: 0 10px 40px rgba(19, 27, 69, .18);
  --font: 'Assistant', 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --serif: 'Frank Ruhl Libre', 'David', Georgia, serif;
  --display: 'Frank Ruhl Libre', 'David', Georgia, serif;
  --sidebar: 264px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
img { max-width: 100%; }
.i { flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .92em; }
.pad { padding: 20px; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }
:focus-visible { outline: 3px solid rgba(232, 58, 37, .4); outline-offset: 2px; }

/* ---------- מותג ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-700); }
.logo-mark { display: block; border-radius: 24%; box-shadow: 0 1px 3px rgba(19, 27, 69, .18); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-family: var(--serif); font-size: 27px; font-weight: 900; letter-spacing: .01em; }
.brand-text small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .01em; margin-top: 2px; }
.brand.on-dark { color: #fff; }
.brand.on-dark small { color: rgba(255, 255, 255, .62); }
.brand.large .brand-text b { font-size: 32px; }
.brand.compact .logo-mark { width: 32px; height: 32px; }
.brand.compact .brand-text b { font-size: 23px; }
.brand.compact .brand-text small { display: none; }
.logo-badge { display: block; height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .3)); }

/* ---------- מעטפת ---------- */
.shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; inset-block: 0; inset-inline-start: 0; width: var(--sidebar); background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; display: flex; flex-direction: column; z-index: 40; border-inline-end: 1px solid rgba(255, 255, 255, .04); }
.sidebar-brand { display: block; padding: 22px 22px 18px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nav { flex: 1; overflow-y: auto; padding: 14px 12px; }
.nav-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: rgba(255, 255, 255, .42); padding: 18px 12px 8px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; color: rgba(255, 255, 255, .78); font-weight: 500; margin-bottom: 2px; position: relative; transition: background .15s, color .15s; }
.nav-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-item.active { background: rgba(255, 255, 255, .1); color: #fff; }
.nav-item.active::before { content: ''; position: absolute; inset-inline-start: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--red); }
.sidebar-foot { display: flex; align-items: center; gap: 8px; padding: 14px 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
.me { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; color: #fff; }
.me:hover { color: #fff; }
.me span:last-child { display: flex; flex-direction: column; min-width: 0; }
.me b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me small { font-size: 12px; color: rgba(255, 255, 255, .55); }
.main { flex: 1; margin-inline-start: var(--sidebar); min-width: 0; display: flex; flex-direction: column; }
.content { flex: 1; padding: 32px 40px 48px; max-width: 1320px; width: 100%; margin: 0 auto; }
.topbar { display: none; }
.app-foot { padding: 18px 40px; color: var(--faint); font-size: 12.5px; text-align: center; }
.sidebar-scrim { display: none; }

.avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-600)); color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.avatar.sm { width: 32px; height: 32px; font-size: 12.5px; background: var(--navy-100); color: var(--navy-700); }

/* ---------- כפתורים ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 9px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; text-decoration: none; }
.btn-primary { background: var(--navy-700); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 1px 2px rgba(19, 27, 69, .2); }
.btn-primary:hover { background: var(--navy-800); color: #fff; }
.btn-primary:disabled { background: var(--border-2); color: #fff; cursor: not-allowed; box-shadow: none; }
.btn-outline { background: var(--surface); border-color: var(--border-2); color: var(--text); }
.btn-outline:hover { border-color: var(--navy-600); color: var(--navy-800); }
.btn-ghost { background: transparent; color: var(--navy-700); }
.btn-ghost:hover { background: var(--navy-100); color: var(--navy-900); }
.btn-danger { background: var(--surface); border-color: #F0B9C2; color: var(--red-600); }
.btn-danger:hover { background: var(--red-50); color: var(--red-600); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--gray-50); color: var(--navy-800); }
.icon-btn.danger:hover { background: var(--red-50); color: var(--red); }
.icon-btn.on-dark { color: rgba(255, 255, 255, .7); }
.icon-btn.on-dark:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-600); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row-actions form { display: contents; }

/* ---------- כותרות עמוד ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head h1 { font-size: 28px; font-weight: 800; color: var(--navy-900); }
.page-sub { color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.page-actions form { display: contents; }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs.on-dark, .crumbs.on-dark a { color: rgba(255, 255, 255, .62); }
.section { margin-top: 32px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { font-size: 19px; font-weight: 700; }
.eyebrow { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--red); margin-bottom: 6px; }

/* ---------- כרטיסים ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card-flush { padding: 0; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.card-title { font-size: 16.5px; font-weight: 700; color: var(--navy-900); display: flex; align-items: center; gap: 8px; }
.card > .card-title { margin-bottom: 14px; }
.stack > .card-title { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.narrow { max-width: 720px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }

/* ---------- סטטיסטיקות ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.stats-4 { grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.stat-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; }
.tone-navy { background: var(--navy-100); color: var(--navy-700); }
.tone-red { background: var(--red-50); color: var(--red); }
.tone-green { background: var(--green-50); color: var(--green); }
.tone-blue { background: var(--blue-50); color: var(--blue); }
.tone-amber { background: var(--amber-50); color: var(--amber); }
.tone-gray { background: var(--gray-50); color: var(--gray); }
.stat-value { font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 13.5px; color: var(--muted); }

/* ---------- תגיות, התקדמות ---------- */
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.badge-green { background: var(--green-50); color: var(--green); }
.badge-blue { background: var(--blue-50); color: var(--blue); }
.badge-red { background: var(--red-50); color: var(--red-600); }
.badge-amber { background: var(--amber-50); color: var(--amber); }
.badge-gray { background: var(--gray-50); color: var(--gray); }
.progress { height: 7px; border-radius: 99px; background: var(--gray-50); overflow: hidden; flex: 1; }
.progress span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--red-600), var(--red)); transition: width .4s; }
.progress.on-dark { background: rgba(255, 255, 255, .14); }
.inline-progress { display: flex; align-items: center; gap: 10px; min-width: 120px; }
.inline-progress span:last-child { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 36px; }

/* ---------- טבלאות ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: start; font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--surface-2); padding: 11px 20px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 13px 20px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #FAFBFD; }
.table tr.dim td { opacity: .6; }
.strong-link { font-weight: 600; color: var(--navy-900); }
.actions-cell { white-space: nowrap; text-align: end; }
.actions-cell form { display: inline; }
.person { display: flex; align-items: center; gap: 10px; color: var(--text); }
.person span:last-child { display: flex; flex-direction: column; }
.person small { color: var(--muted); font-size: 12.5px; }
.course-cell { display: flex; align-items: center; gap: 12px; color: var(--text); }
.course-cell span { display: flex; flex-direction: column; }
.course-cell small { color: var(--muted); font-size: 12.5px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

/* ---------- שער קורס ---------- */
.cover { position: relative; aspect-ratio: 16/9; background-size: cover; background-position: center; display: grid; place-items: center; overflow: hidden; }
.cover-art { position: absolute; inset: 0; display: flex; align-items: center; color: rgba(255, 255, 255, .28); }
.cover-art svg { width: 100%; height: 60%; }
.cover-navy { background: linear-gradient(135deg, #EEF0FA, #D9DFF3); }
.cover-red { background: linear-gradient(135deg, #FEF3F0, #F9D8D0); }
.cover-teal { background: linear-gradient(135deg, #EAF6F5, #CBE9E6); }
.cover-slate { background: linear-gradient(135deg, #F2F4F7, #DADFE7); }
.cover-green { background: linear-gradient(135deg, #EBF7F0, #CDEAD8); }
.cover-illus { position: relative; height: 86%; width: auto; max-width: 90%; object-fit: contain; }
.cover.thumb { width: 64px; border-radius: 8px; flex-shrink: 0; }
.cover.thumb .cover-art svg { stroke-width: 6; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.course-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.course-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-2); color: var(--text); }
.cc-cover { position: relative; }
.cc-tag { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(12, 18, 49, .72); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.cc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cc-body h3 { font-size: 16.5px; font-weight: 700; color: var(--navy-900); }
.cc-body p { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13px; margin-top: auto; padding-top: 8px; }
.cc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.cc-progress { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.cc-progress-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }

/* ---------- המשך למידה ---------- */
.continue { display: grid; grid-template-columns: 300px 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.continue-cover .cover { height: 100%; aspect-ratio: auto; min-height: 180px; }
.continue-body { padding: 26px 30px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.continue-body h2 { font-size: 22px; font-weight: 800; color: var(--navy-900); }
.continue-progress { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--muted); max-width: 520px; }
.due { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.due.late { color: var(--red-600); font-weight: 600; }

/* ---------- תעודות ברשימה ---------- */
.cert-list { display: flex; flex-direction: column; gap: 10px; }
.cert-row { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; color: var(--text); }
.cert-row:hover { border-color: var(--border-2); box-shadow: var(--shadow-sm); color: var(--text); }
.cert-row-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red-50); color: var(--red); }
.cert-row-main { flex: 1; display: flex; flex-direction: column; }
.cert-row-main small { color: var(--muted); }

/* ---------- פעילות ---------- */
.activity { list-style: none; margin: 0; padding: 0; }
.activity li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.activity li:last-child { border-bottom: 0; }
.activity .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-top: 7px; flex-shrink: 0; }
.activity small { display: block; color: var(--faint); font-size: 12.5px; }

/* ---------- מצב ריק ---------- */
.empty { text-align: center; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy-100); color: var(--navy-600); margin-bottom: 6px; }
.empty h3 { font-size: 18px; color: var(--navy-900); }
.empty p { color: var(--muted); max-width: 420px; margin-bottom: 8px; }

/* ---------- הודעות ---------- */
.flash { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 14.5px; border: 1px solid; }
.flash > span, .flash > div { flex: 1; }
.flash-success { background: var(--green-50); border-color: #BFE3D0; color: #0E5C39; }
.flash-error { background: var(--red-50); border-color: #F3C2CA; color: #8A0B1F; }
.flash-info { background: var(--blue-50); border-color: #C6D8F5; color: #164A96; }
.flash-x { background: none; border: 0; color: inherit; opacity: .6; cursor: pointer; padding: 0; }
.flash.inset { margin: 16px 20px; }
.callout { display: flex; gap: 10px; background: var(--amber-50); border: 1px solid #F1D9B0; color: #6E4100; border-radius: 10px; padding: 12px 14px; margin: 14px 0; }

/* ---------- טפסים ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13.5px; font-weight: 600; color: var(--navy-900); }
.field-hint { font-size: 12.5px; color: var(--faint); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--surface); border: 1px solid var(--border-2); border-radius: 9px; padding: 0 12px; height: 42px; transition: border-color .15s, box-shadow .15s; }
textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(37, 50, 111, .16); }
input:disabled { background: var(--surface-2); color: var(--muted); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
input[type=checkbox], input[type=radio] { accent-color: var(--navy-700); width: 17px; height: 17px; }
.search { position: relative; display: flex; align-items: center; flex: 1; min-width: 220px; }
.search .i { position: absolute; inset-inline-start: 12px; color: var(--faint); pointer-events: none; }
.search input { padding-inline-start: 40px !important; }
.search.sm input { height: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.filters.card { padding: 14px; }
.filters select { width: auto; min-width: 150px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border-2); color: var(--muted); font-size: 13.5px; font-weight: 500; }
.chip:hover { color: var(--navy-800); border-color: var(--navy-600); }
.chip.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.radio-card:has(input:checked) { border-color: var(--navy-700); background: #F3F5FB; box-shadow: 0 0 0 1px var(--navy-700) inset; }
.radio-card input { margin-top: 3px; }
.radio-card span { display: flex; flex-direction: column; }
.radio-card small { color: var(--muted); font-size: 13px; }
.role-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.switch { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track { position: relative; width: 40px; height: 23px; border-radius: 99px; background: var(--border-2); flex-shrink: 0; transition: background .2s; margin-top: 1px; }
.switch .track::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: inset-inline-start .2s; }
.switch input:checked + .track { background: var(--navy-700); }
.switch input:checked + .track::after { inset-inline-start: 20px; }
.switch input:focus-visible + .track { outline: 3px solid rgba(232, 58, 37, .4); }
.switch span:last-child { display: flex; flex-direction: column; }
.switch small { color: var(--muted); font-size: 13px; }
.cover-picker { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.cover-preview .cover { border-radius: 10px; }
.swatches { display: flex; gap: 8px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; position: relative; }
.swatch input { position: absolute; opacity: 0; }
.swatch:has(input:checked) { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--navy-700); }
.danger-zone { border-color: #F3D3D9; }
.meta-list { margin: 8px 0 0; display: flex; flex-direction: column; }
.meta-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.meta-list > div:last-child { border-bottom: 0; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; font-weight: 600; text-align: end; }
.meta-list.big dd { font-size: 17px; }
.secret { background: var(--surface-2); border: 1px dashed var(--border-2); border-radius: 6px; padding: 2px 10px; letter-spacing: .06em; }
.tips { margin: 0; padding-inline-start: 18px; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- לשוניות ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; overflow-x: auto; }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--navy-800); }
.tab.active { color: var(--navy-900); border-color: var(--red); }

/* ---------- בורר משתמשים ---------- */
.picker { border: 1px solid var(--border-2); border-radius: 10px; overflow: hidden; }
.picker .search { padding: 8px; border-bottom: 1px solid var(--border); }
.picker .search .i { inset-inline-start: 20px; }
.picker-list { max-height: 280px; overflow-y: auto; }
.picker-item { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--border); cursor: pointer; }
.picker-item:hover { background: var(--surface-2); }
.picker-item span { display: flex; flex-direction: column; min-width: 0; }
.picker-item small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-foot { display: flex; justify-content: space-between; padding: 8px 12px; background: var(--surface-2); font-size: 13px; color: var(--muted); }

/* ---------- דיאלוג ---------- */
.dialog { border: 0; border-radius: var(--radius-lg); padding: 26px; width: min(520px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); color: var(--text); }
.dialog::backdrop { background: rgba(12, 18, 49, .55); backdrop-filter: blur(2px); }
.dialog h2 { font-size: 20px; color: var(--navy-900); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.dialog.wide { width: min(820px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; }
.dialog.wide form { display: flex; flex-direction: column; max-height: calc(100vh - 48px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.dialog-body { padding: 22px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.dialog-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px; border-top: 1px solid var(--border); background: var(--surface-2); }

/* ---------- עמוד קורס ---------- */
.course-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; background: radial-gradient(140% 140% at 100% 0%, var(--navy-700), var(--navy-950) 70%); color: #fff; border-radius: var(--radius-lg); padding: 36px 40px; margin-bottom: 24px; position: relative; overflow: hidden; }
.course-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--red), transparent); }
.course-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.lead { font-size: 17px; color: rgba(255, 255, 255, .78); max-width: 640px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 14px; color: rgba(255, 255, 255, .85); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.course-cta { background: var(--surface); color: var(--text); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); align-self: start; position: relative; z-index: 1; }
.cta-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.cta-progress { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.cta-next { font-size: 13px; color: var(--muted); text-align: center; }
.cta-staff { display: flex; gap: 6px; justify-content: center; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
.done-pill { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 9px; background: var(--green-50); color: var(--green); font-weight: 700; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.celebrate { display: flex; align-items: center; gap: 18px; background: linear-gradient(90deg, var(--green-50), #fff); border: 1px solid #BFE3D0; border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: 20px; }
.celebrate > div { flex: 1; }
.celebrate h2 { font-size: 20px; color: #0E5C39; }
.celebrate-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; }
.syllabus-mod { border-bottom: 1px solid var(--border); }
.syllabus-mod:last-child { border-bottom: 0; }
.syllabus-mod-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: var(--surface-2); }
.syllabus-mod-head b { flex: 1; }
.mod-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--navy-800); color: #fff; font-size: 13px; font-weight: 700; }
.syllabus-mod ul { list-style: none; margin: 0; padding: 6px 0; }
.syllabus-mod li { display: flex; align-items: center; gap: 12px; padding: 9px 20px 9px 20px; padding-inline-start: 60px; color: var(--text); font-size: 14.5px; }
.syllabus-mod li .i { color: var(--faint); }
.syllabus-mod li span { flex: 1; }
.syllabus-mod li small { color: var(--faint); }
.syllabus-mod li.done .i { color: var(--green); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 18px; }
.steps li { counter-increment: s; display: flex; flex-direction: column; padding-inline-start: 44px; position: relative; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.steps span { color: var(--muted); font-size: 14px; }

/* ---------- תוכן עשיר ---------- */
.prose { font-size: 16px; line-height: 1.75; color: #24324A; }
.prose p { margin: 0 0 14px; }
.prose h3 { font-size: 19px; color: var(--navy-900); margin: 26px 0 10px; }
.prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 16px; padding-inline-start: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose strong { color: var(--navy-900); }

/* ---------- נגן ---------- */
.player-body-page { background: var(--bg); }
.player { min-height: 100vh; display: flex; flex-direction: column; }
.player-top { position: sticky; top: 0; z-index: 30; height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: var(--navy-900); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.player-logo { display: flex; }
.player-title { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.player-title small { color: rgba(255, 255, 255, .55); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-title b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-progress { display: flex; align-items: center; gap: 10px; width: 200px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.player-nav-toggle { display: none; }
.preview-bar { background: var(--amber-50); color: var(--amber); text-align: center; padding: 8px; font-size: 14px; border-bottom: 1px solid #F1D9B0; display: flex; justify-content: center; align-items: center; gap: 8px; }
.player-body { flex: 1; display: grid; grid-template-columns: 340px minmax(0, 1fr); }
.outline { background: var(--surface); border-inline-end: 1px solid var(--border); overflow-y: auto; position: sticky; top: 64px; height: calc(100vh - 64px); }
.outline-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
.outline-head span { color: var(--muted); font-size: 13px; }
.outline-mod-title { padding: 14px 18px 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.outline-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 18px; color: var(--text); border-inline-start: 3px solid transparent; }
.outline-item:hover { background: var(--surface-2); color: var(--text); }
.outline-item.current { background: #F1F3FA; border-color: var(--red); }
.outline-item.locked { color: var(--faint); cursor: not-allowed; }
.oi-state { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--border-2); color: var(--muted); flex-shrink: 0; }
.outline-item.done .oi-state { background: var(--green); border-color: var(--green); color: #fff; }
.outline-item.current .oi-state { border-color: var(--red); color: var(--red); }
.outline-item.done.current .oi-state { border-color: var(--green); color: #fff; box-shadow: 0 0 0 3px rgba(232, 58, 37, .3); }
.oi-text { display: flex; flex-direction: column; font-size: 14.5px; line-height: 1.35; }
.oi-text small { color: var(--faint); font-size: 12.5px; margin-top: 2px; }
.lesson { min-width: 0; padding-bottom: 60px; }
.lesson > .flash { margin: 20px 32px 0; }
.video-wrap { background: #000; position: relative; overflow: hidden; }
.video { display: block; width: 100%; aspect-ratio: 16/9; max-height: calc(100vh - 160px); border: 0; background: #000; }
.video-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: rgba(255, 255, 255, .55); background: radial-gradient(circle, var(--navy-800), var(--navy-950)); }
.lesson-inner { max-width: 860px; margin: 0 auto; padding: 30px 32px 0; display: flex; flex-direction: column; gap: 22px; }
.lesson-head h1 { font-size: 26px; font-weight: 800; color: var(--navy-900); }
.lesson-meta { display: flex; gap: 18px; color: var(--muted); font-size: 14px; margin-top: 8px; }
.lesson-meta span { display: inline-flex; align-items: center; gap: 6px; }
.complete-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-sm); }
.complete-bar.ready { border-color: #BFE3D0; background: var(--green-50); }
.done-box { display: flex; align-items: center; gap: 14px; background: var(--green-50); border: 1px solid #BFE3D0; border-radius: var(--radius); padding: 16px 20px; color: #0E5C39; }
.done-box > .i { background: var(--green); color: #fff; border-radius: 50%; padding: 4px; width: 32px; height: 32px; }
.done-box > div { flex: 1; display: flex; flex-direction: column; }
.done-box span { color: var(--muted); font-size: 14px; }

/* ---------- בוחן ---------- */
.quiz-intro { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-intro span { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); padding: 6px 12px; border-radius: 99px; font-size: 13.5px; color: var(--muted); }
.quiz { display: flex; flex-direction: column; gap: 16px; }
.question { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 20px; margin: 0; box-shadow: var(--shadow-sm); }
.question legend { float: inline-start; width: 100%; display: flex; gap: 12px; font-weight: 700; font-size: 16.5px; color: var(--navy-900); margin-bottom: 14px; padding: 0; }
.qnum { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--navy-100); color: var(--navy-700); font-size: 13.5px; flex-shrink: 0; }
.option { clear: both; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 10px; margin-top: 8px; cursor: pointer; transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--navy-600); }
.option:has(input:checked) { border-color: var(--navy-700); background: #F1F3FA; box-shadow: 0 0 0 1px var(--navy-700) inset; }
.quiz-submit { display: flex; align-items: center; gap: 16px; }
.quiz-result { display: flex; align-items: center; gap: 24px; padding: 24px; border-radius: var(--radius-lg); border: 1px solid; }
.quiz-result.pass { background: var(--green-50); border-color: #BFE3D0; }
.quiz-result.fail { background: var(--red-50); border-color: #F3C2CA; }
.quiz-result h2 { font-size: 21px; margin-bottom: 4px; }
.quiz-result p { color: var(--muted); margin-bottom: 14px; }
.score-ring { --c: var(--green); width: 108px; height: 108px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(0, 0, 0, .08) 0); }
.fail .score-ring { --c: var(--red); }
.score-ring span { display: flex; align-items: center; justify-content: center; gap: 1px; width: 84px; height: 84px; border-radius: 50%; background: #fff; font-size: 28px; font-weight: 800; color: var(--navy-900); }
.score-ring small { font-size: 14px; display: inline; }
.review { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.review li { background: var(--surface); border: 1px solid var(--border); border-inline-start: 4px solid; border-radius: 10px; padding: 14px 16px; }
.review li.ok { border-inline-start-color: var(--green); }
.review li.bad { border-inline-start-color: var(--red); }
.review-q { display: flex; gap: 8px; align-items: flex-start; }
.review li.ok .review-q .i { color: var(--green); margin-top: 3px; }
.review li.bad .review-q .i { color: var(--red); margin-top: 3px; }
.review-a { color: var(--muted); font-size: 14px; margin-top: 6px; padding-inline-start: 24px; }
.review-a.correct { color: var(--green); font-weight: 600; }
.review-x { font-size: 14px; margin-top: 6px; padding-inline-start: 24px; color: #24324A; }

/* ---------- הגנת תוכן ---------- */
.protected { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.protected input, .protected textarea { -webkit-user-select: text; user-select: text; }
.watermark { position: absolute; z-index: 5; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .34); text-shadow: 0 0 2px rgba(0, 0, 0, .55); top: 12%; inset-inline-start: 8%; transition: top 1.2s ease, inset-inline-start 1.2s ease, opacity .6s; white-space: nowrap; }
.video-wrap:fullscreen .watermark, .video-wrap:-webkit-full-screen .watermark { font-size: 18px; }
.video-wrap .fs-btn { position: absolute; z-index: 6; top: 10px; inset-inline-end: 10px; opacity: 0; transition: opacity .2s; background: rgba(0, 0, 0, .5); color: #fff; }
.video-wrap:hover .fs-btn { opacity: 1; }
.shield-notice { position: fixed; inset: 0; z-index: 90; background: var(--navy-950); color: #fff; display: none; place-items: center; text-align: center; padding: 24px; }
.shield-notice.on { display: grid; }

/* ---------- התחברות ---------- */
.auth-body { background: var(--surface); }
.auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.auth-brand { position: relative; overflow: hidden; background: radial-gradient(130% 110% at 100% 0%, var(--navy-700), var(--navy-950) 65%); color: #fff; display: flex; align-items: center; padding: 56px; }
.auth-brand-inner { position: relative; z-index: 1; max-width: 480px; }
.auth-logo { display: inline-block; }
.auth-logo .logo-badge { width: 190px; }
.auth-motto { font-family: var(--serif); font-size: 22px; font-weight: 700; color: #FF8A78; margin-top: 22px; }
.auth-brand h2 { font-size: 32px; font-weight: 800; line-height: 1.25; margin: 10px 0 32px; }
.auth-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.auth-points li { display: flex; gap: 14px; align-items: flex-start; }
.auth-points li .i { width: 42px; height: 42px; padding: 10px; border-radius: 11px; background: rgba(255, 255, 255, .08); color: #FF8A78; }
.auth-points span { display: flex; flex-direction: column; color: rgba(255, 255, 255, .62); font-size: 14px; }
.auth-points b { color: #fff; font-size: 15.5px; }
.auth-ecg { position: absolute; inset-inline: 0; bottom: 8%; width: 100%; height: 120px; color: var(--red); opacity: .55; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ecg 3.2s ease-out .3s forwards; }
@keyframes ecg { to { stroke-dashoffset: 0; } }
.auth-form-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-title { font-size: 28px; font-weight: 800; color: var(--navy-900); }
.auth-sub { color: var(--muted); margin: 6px 0 26px; }
.auth-alt { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14.5px; }
.auth-alt a { font-weight: 600; }
.auth-foot { margin-top: 36px; color: var(--faint); font-size: 12.5px; }
.verify-result { display: flex; gap: 16px; margin-top: 22px; padding: 18px; border-radius: var(--radius); border: 1px solid; }
.verify-result > div { flex: 1; }
.verify-result h2 { font-size: 18px; margin-bottom: 4px; }
.verify-result.valid { background: var(--green-50); border-color: #BFE3D0; color: #0E5C39; }
.verify-result.expired { background: var(--amber-50); border-color: #F1D9B0; color: var(--amber); }
.verify-result.revoked { background: var(--red-50); border-color: #F3C2CA; color: #8A0B1F; }
.verify-result .meta-list dd { color: var(--text); }

/* ---------- תעודה ---------- */
.cert-page { background: #E7EBF1; }
.cert-toolbar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 24px; background: var(--surface); border-bottom: 1px solid var(--border); }
.cert-stage { padding: 32px 16px 60px; overflow-x: auto; }
.certificate { width: 1100px; max-width: 100%; aspect-ratio: 297/210; margin: 0 auto; background: #fff; padding: 22px; box-shadow: var(--shadow-lg); position: relative; }
.cert-frame { position: relative; height: 100%; border: 2px solid var(--navy-700); outline: 1px solid var(--red); outline-offset: -9px; padding: 30px 56px 24px; display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, #fff, #FBFAF6); }
.cert-head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cert-logo { width: 104px; height: auto; }
.cert-org { font-size: 13.5px; color: var(--navy-700); font-weight: 600; }
.cert-head .cert-no { position: absolute; top: 0; inset-inline-end: 0; }
.cert-bg-logo { position: absolute; width: 46%; left: 27%; top: 18%; opacity: .045; pointer-events: none; }
.cert-no { font-family: var(--serif); color: var(--muted); font-size: 15px; letter-spacing: .04em; }
.cert-main { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.cert-kicker { font-size: 14px; letter-spacing: .3em; color: var(--red); font-weight: 700; }
.cert-title { font-family: var(--serif); font-size: 56px; font-weight: 900; color: var(--navy-700); margin: 0 0 10px; letter-spacing: .02em; }
.cert-line { font-family: var(--serif); font-size: 19px; color: var(--muted); }
.cert-name { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--navy-900); margin: 4px 0; padding: 0 40px 6px; border-bottom: 1.5px solid var(--red); }
.cert-id { color: var(--muted); font-size: 15px; margin: 4px 0 18px; }
.cert-course { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--navy-800); margin-top: 4px; }
.cert-foot { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 24px; align-items: end; }
.cert-foot > div { display: flex; flex-direction: column; font-size: 14px; }
.cert-foot span { color: var(--muted); }
.cert-foot b { font-size: 16px; color: var(--navy-900); }
.cert-sign { align-items: center; text-align: center; }
.sig-line { display: block; width: 200px; border-bottom: 1px solid var(--navy-900); height: 32px; margin-bottom: 6px; }
.cert-verify { text-align: center; color: var(--faint); font-size: 12px; margin-top: 16px; }
.cert-ecg { display: none; position: absolute; inset-inline: 0; top: 50%; width: 100%; height: 80px; color: var(--red); opacity: .06; pointer-events: none; }

/* ---------- בונה קורסים ---------- */
.builder { display: flex; flex-direction: column; gap: 16px; }
.b-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: rgba(243, 245, 249, .92); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: var(--radius); }
.b-status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.b-status.dirty { color: var(--amber); font-weight: 600; }
.b-status.dirty::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.b-module { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.b-module-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.b-module-head input { font-weight: 700; font-size: 16px; background: transparent !important; border-color: transparent !important; height: 38px; }
.b-module-head input:hover { border-color: var(--border-2) !important; background: #fff !important; }
.b-module-head input:focus { background: #fff !important; border-color: var(--navy-600) !important; }
.b-lessons { list-style: none; margin: 0; padding: 0; }
.b-lesson { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--border); }
.b-lesson:hover { background: #FAFBFD; }
.b-lesson-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; }
.b-lesson-icon.video { background: var(--red-50); color: var(--red); }
.b-lesson-icon.quiz { background: var(--blue-50); color: var(--blue); }
.b-lesson-icon.text { background: var(--green-50); color: var(--green); }
.b-lesson-main { flex: 1; min-width: 0; cursor: pointer; display: flex; flex-direction: column; }
.b-lesson-main b { font-weight: 600; }
.b-lesson-main small { color: var(--muted); font-size: 13px; }
.b-warn { color: var(--amber); font-weight: 600; }
.b-tools { display: flex; gap: 2px; }
.b-add { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
.b-empty { padding: 16px; color: var(--faint); font-size: 14px; text-align: center; }
.b-new-module { border: 2px dashed var(--border-2); border-radius: var(--radius); padding: 16px; text-align: center; background: transparent; color: var(--navy-700); font: inherit; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.b-new-module:hover { border-color: var(--navy-600); background: #fff; }
.upload-box { border: 2px dashed var(--border-2); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; color: var(--muted); }
.upload-box.has-file { border-style: solid; border-color: #BFE3D0; background: var(--green-50); color: #0E5C39; }
.upload-progress { width: 100%; }
.seg { display: inline-flex; background: var(--gray-50); border-radius: 9px; padding: 3px; }
.seg button { border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); padding: 7px 14px; border-radius: 7px; cursor: pointer; }
.seg button.on { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.q-card { border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); }
.q-card-head { display: flex; align-items: center; gap: 10px; }
.q-card-head b { flex: 1; color: var(--navy-900); }
.q-opt { display: flex; align-items: center; gap: 10px; }
.q-opt input[type=text] { height: 38px; }
.q-opt .q-correct { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); white-space: nowrap; cursor: pointer; }
.q-opt:has(input[type=radio]:checked) input[type=text] { border-color: var(--green); background: #F4FBF7; }

/* ---------- שגיאה ---------- */
.center-body { display: grid; place-items: center; min-height: 100vh; }
.error-page { text-align: center; padding: 64px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.error-code { font-size: 72px; font-weight: 800; color: var(--red); line-height: 1; }
.error-page h1 { color: var(--navy-900); }
.error-page p { color: var(--muted); margin-bottom: 10px; }

/* ---------- מסכים קטנים ---------- */
@media (max-width: 1100px) {
  .grid-main, .course-layout { grid-template-columns: 1fr; }
  .stats-4 { grid-template-columns: repeat(2, 1fr); }
  .course-hero { grid-template-columns: 1fr; }
  .course-cta { max-width: 420px; }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(100%); transition: transform .25s; }
  .sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
  .sidebar-scrim.open { display: block; position: fixed; inset: 0; background: rgba(12, 18, 49, .5); z-index: 35; }
  .main { margin-inline-start: 0; }
  .topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 60px; padding: 0 12px; background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 30; }
  .content { padding: 22px 16px 40px; }
  .auth { grid-template-columns: 1fr; }
  .auth-brand { padding: 32px 24px 70px; }
  .auth-brand h2 { font-size: 24px; margin: 24px 0 0; }
  .auth-points { display: none; }
  .auth-ecg { bottom: 0; height: 70px; }
  .continue { grid-template-columns: 1fr; }
  .continue-cover .cover { min-height: 0; aspect-ratio: 16/6; }
  .player-body { grid-template-columns: 1fr; }
  .outline { position: fixed; top: 64px; inset-inline-start: 0; width: min(340px, 88vw); z-index: 25; transform: translateX(100%); transition: transform .25s; box-shadow: var(--shadow-lg); }
  .outline.open { transform: none; }
  .player-nav-toggle { display: inline-grid; }
  .player-progress { display: none; }
  .lesson-inner { padding: 22px 16px 0; }
  .lesson > .flash { margin: 16px 16px 0; }
  .cover-picker { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats, .stats-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px; gap: 10px; }
  .stat-icon { width: 36px; height: 36px; }
  .stat-value { font-size: 21px; }
  .grid-2, .row-2, .role-picker { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 23px; }
  .course-hero { padding: 24px 20px; }
  .course-hero h1 { font-size: 24px; }
  .quiz-result { flex-direction: column; text-align: center; }
  .quiz-result .row-actions { justify-content: center; }
  .cert-foot { grid-template-columns: 1fr 1fr; }
  .table th, .table td { padding: 11px 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } .auth-ecg { stroke-dashoffset: 0; } }

/* ---------- הדפסה ---------- */
@media print {
  @page { size: A4 landscape; margin: 0; }
  .no-print { display: none !important; }
  .cert-page { background: #fff; }
  .cert-stage { padding: 0; }
  .certificate { width: 297mm; height: 210mm; max-width: none; box-shadow: none; padding: 10mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .player-body-page > * { display: none !important; }
}
.video-wrap:fullscreen { display: flex; align-items: center; justify-content: center; }
.video-wrap:fullscreen .video { max-height: 100vh; height: 100%; aspect-ratio: auto; }

/* ============ דף הבית ============ */
.site { background: #fff; }
.site-wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(232, 58, 37, .32); }
.btn-red:hover { background: var(--red-600); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-glass:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.center { text-align: center; }

.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.site-links { display: flex; gap: 24px; flex: 1; }
.site-links a { color: var(--text); font-weight: 500; font-size: 15px; }
.site-links a:hover { color: var(--red); }
.site-cta { display: flex; gap: 8px; }

.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(90% 120% at 15% 30%, #34459A 0%, var(--navy-700) 35%, var(--navy-950) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 200px; position: relative; z-index: 1; }
.hero-motto { font-family: var(--serif); font-size: 24px; font-weight: 700; color: #FF8A78; margin-bottom: 14px; }
.hero h1 { font-size: 50px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.hero h1 span { display: block; color: rgba(255, 255, 255, .78); font-weight: 700; }
.hero-lead { font-size: 18.5px; line-height: 1.7; color: rgba(255, 255, 255, .78); margin: 22px 0 32px; max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 40px; margin: 44px 0 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-stats dt { font-size: 32px; font-weight: 800; line-height: 1; }
.hero-stats dd { margin: 6px 0 0; color: rgba(255, 255, 255, .62); font-size: 14px; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-glow { position: absolute; width: 85%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); }
.hero-badge { position: relative; width: min(420px, 100%); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-ecg { position: absolute; inset-inline: 0; bottom: 120px; width: 100%; height: 100px; color: var(--red); opacity: .6; stroke-dasharray: 1700; stroke-dashoffset: 1700; animation: ecg 3.5s ease-out .4s forwards; }

.site-section { padding: 88px 0; }
.site-section.alt { background: var(--bg); }
.site-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.site-head h2, .orgs h2 { font-size: 34px; font-weight: 800; color: var(--navy-700); margin-bottom: 12px; }
.site-head p, .orgs p { color: var(--muted); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -150px; position: relative; z-index: 2; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 22px; box-shadow: var(--shadow); }
.feature-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--red-50); color: var(--red); margin-bottom: 16px; }
.feature:nth-child(even) .feature-icon { background: var(--navy-100); color: var(--navy-700); }
.feature h3 { font-size: 17.5px; color: var(--navy-700); margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.how-steps::before { content: ''; position: absolute; top: 34px; inset-inline: 12%; border-top: 2px dashed var(--border-2); }
.how-steps li { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.how-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-700); color: var(--navy-700); margin-bottom: 16px; position: relative; z-index: 1; }
.how-num { position: absolute; top: -4px; margin-inline-start: 56px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.how-steps h3 { font-size: 18px; color: var(--navy-700); margin-bottom: 6px; }
.how-steps p { color: var(--muted); font-size: 14.5px; max-width: 220px; }

.orgs { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; background: linear-gradient(135deg, var(--navy-100), #fff); border: 1px solid var(--border); border-radius: 24px; padding: 48px; }
.orgs .eyebrow { margin-bottom: 10px; }
.orgs-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.orgs-list li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.orgs-list .i { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.orgs-card { background: var(--navy-700); color: #fff; border-radius: 20px; padding: 36px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; box-shadow: var(--shadow-lg); }
.orgs-card .i { color: #FF8A78; }
.orgs-card b { font-size: 22px; }
.orgs-card span { color: rgba(255, 255, 255, .7); }

.verify-band { background: var(--navy-700); color: #fff; padding: 44px 0; }
.verify-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.verify-inner h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; margin-bottom: 6px; }
.verify-inner p { color: rgba(255, 255, 255, .7); }
.verify-form { display: flex; gap: 10px; min-width: min(420px, 100%); }
.verify-form input { background: #fff; border: 0; height: 48px !important; }

.site-foot { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 56px 0 24px; }
.site-foot-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot-brand { display: flex; gap: 18px; align-items: center; }
.foot-brand b { font-family: var(--serif); font-size: 28px; color: #fff; }
.foot-brand p { font-size: 14px; margin-top: 4px; max-width: 360px; }
.foot-motto { font-family: var(--serif); color: #FF8A78; font-size: 16px !important; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 { color: #fff; margin: 0 0 4px; font-size: 15px; }
.foot-col a { color: rgba(255, 255, 255, .72); display: inline-flex; align-items: center; gap: 8px; justify-content: flex-start; }
.foot-col a:hover { color: #fff; }
.foot-legal { padding-top: 20px; font-size: 13px; color: rgba(255, 255, 255, .45); text-align: center; }

@media (max-width: 1000px) {
  .site-links { display: none; }
  .site-nav-inner { justify-content: space-between; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 130px; text-align: center; }
  .hero-ecg { display: none; }
  .hero-visual { order: -1; }
  .hero-badge { width: 220px; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .features { grid-template-columns: 1fr 1fr; margin-top: -70px; }
  .how-steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .how-steps::before { display: none; }
  .orgs { grid-template-columns: 1fr; padding: 32px 24px; }
  .site-foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-wrap { padding-inline: 16px; }
  .site-nav-inner { height: 64px; gap: 10px; }
  .site-brand .brand-text small { display: none; }
  .site-cta .btn-ghost { display: none; }
  .hero h1 { font-size: 32px; }
  .hero-motto { font-size: 19px; }
  .hero-lead { font-size: 16px; }
  .hero-stats { gap: 22px; }
  .hero-stats dt { font-size: 24px; }
  .features { grid-template-columns: 1fr; }
  .site-section { padding: 60px 0; }
  .site-head h2, .orgs h2 { font-size: 26px; }
  .orgs-list { grid-template-columns: 1fr; }
  .verify-form { flex-direction: column; }
  .foot-brand { flex-direction: column; text-align: center; }
}

/* ============ מיתוג: גופן תצוגה ============ */
.brand-text b, .page-head h1, .auth-title, .hero h1, .site-head h2, .orgs h2, .display, .course-hero h1, .continue-body h2,
.lesson-head h1, .celebrate h2, .cta-band h2, .contact-info h2, .contact-head h3, .contact-thanks h3, .verify-text h2,
.foot-brand b, .hero-motto, .auth-motto, .foot-motto, .cert-title, .error-code, .empty h3, .quiz-result h2,
.feature h3, .how-steps h3, .orgs-card b, .section-head h2 {
  font-family: var(--display); font-weight: 900; letter-spacing: 0;
}
.page-head h1 { font-size: 30px; color: var(--navy-700); }
.auth-title { font-size: 32px; color: var(--navy-700); }
.hero h1 { font-size: 52px; line-height: 1.2; }
.course-hero h1 { font-size: 34px; }
.lesson-head h1 { font-size: 28px; color: var(--navy-700); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 2px; background: var(--red); }
.mark { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14C50 6 120 4 197 9' fill='none' stroke='%23E83A25' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 100% .34em; background-position: 0 98%; padding-bottom: .06em; }
.nav-count { margin-inline-start: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.notice { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 20px; border-radius: 12px; background: var(--red-50); border: 1px solid #F6C9C1; color: var(--red-600); font-weight: 500; }
.notice span { flex: 1; }
.notice:hover { color: var(--red-600); border-color: var(--red); }
.section-gap { margin-bottom: 18px; }

/* פניות */
.lead-list { display: grid; gap: 12px; }
.lead-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-sm); }
.lead-card.new { border-inline-start: 4px solid var(--red); }
.lead-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lead-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0; font-size: 14px; color: var(--muted); }
.lead-meta a, .lead-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lead-msg { background: var(--surface-2); border-radius: 8px; padding: 12px 14px; white-space: pre-wrap; margin-bottom: 12px; font-size: 14.5px; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lead-actions input { flex: 1; min-width: 220px; height: 34px !important; font-size: 14px !important; }

/* ============ דף הבית — תוספות ============ */
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-700); margin-inline-end: 6px; white-space: nowrap; }
.site-menu-btn { display: none; }
.site-cta { align-items: center; }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='white' transform='translate(36 36)'%3E%3Crect x='-2.5' y='-9' width='5' height='18' rx='1'/%3E%3Crect x='-2.5' y='-9' width='5' height='18' rx='1' transform='rotate(60)'/%3E%3Crect x='-2.5' y='-9' width='5' height='18' rx='1' transform='rotate(120)'/%3E%3C/g%3E%3C/svg%3E"); }
.hero-motto { font-size: 26px; }
.hero .mark { color: #fff; }
.hero-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: #fff; color: var(--navy-700); font-weight: 700; font-size: 14.5px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); animation: float 6s ease-in-out infinite; white-space: nowrap; }
.hero-chip .i { color: var(--red); }
.hero-chip-1 { top: 8%; inset-inline-end: -4%; }
.hero-chip-2 { bottom: 22%; inset-inline-start: -6%; }
.hero-chip-3 { bottom: 2%; inset-inline-end: 8%; }
.hero-chip-4 { top: 34%; inset-inline-start: -10%; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-art img { width: 100%; height: auto; display: block; }
.display { font-size: 38px; color: var(--navy-700); line-height: 1.25; margin: 6px 0 0; }
.lead-dark { font-size: 17.5px; color: var(--muted); margin: 16px 0 24px; line-height: 1.75; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .i { background: var(--green-50); color: var(--green); border-radius: 50%; padding: 5px; width: 30px; height: 30px; }
.check-list b { display: block; color: var(--navy-700); font-size: 16.5px; }
.check-list span { color: var(--muted); font-size: 15px; }
.section-more { margin-top: 36px; }

.orgs { grid-template-columns: 1.2fr 1fr; }
.orgs-art { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow-lg); }

.cta-band { position: relative; overflow: hidden; color: #fff; padding: 60px 0; background: linear-gradient(120deg, var(--red-600), var(--red) 55%, #F0604C); }
.cta-band::before { content: ''; position: absolute; inset: 0; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='white' transform='translate(36 36)'%3E%3Crect x='-2.5' y='-9' width='5' height='18' rx='1'/%3E%3Crect x='-2.5' y='-9' width='5' height='18' rx='1' transform='rotate(60)'/%3E%3Crect x='-2.5' y='-9' width='5' height='18' rx='1' transform='rotate(120)'/%3E%3C/g%3E%3C/svg%3E"); }
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: 38px; line-height: 1.2; }
.cta-band h2 .cta-sub { display: block; color: rgba(255, 255, 255, .85); }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 17px; margin-top: 8px; }
.cta-band .btn-red { background: #fff; color: var(--red-600); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.cta-band .btn-red:hover { background: var(--navy-700); color: #fff; }

.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #C9D0EA; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 17px; color: var(--navy-700); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--red); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); line-height: 1.75; }

.contact { background: linear-gradient(180deg, #fff, var(--bg)); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-info { position: relative; overflow: hidden; background: radial-gradient(120% 100% at 100% 0%, var(--navy-600), var(--navy-800)); color: #fff; border-radius: 24px; padding: 36px; }
.contact-art { width: 150px; height: auto; background: #fff; border-radius: 22px; padding: 8px; margin-bottom: 22px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.contact-info h2 { font-size: 32px; }
.contact-info > p { color: rgba(255, 255, 255, .75); margin: 8px 0 18px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #FF8A78; flex-shrink: 0; }
.contact-list small { display: block; color: rgba(255, 255, 255, .6); font-size: 13px; }
.contact-list a, .contact-list b { color: #fff; font-size: 16.5px; font-weight: 600; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.contact-head h3 { font-size: 27px; color: var(--navy-700); margin-top: 4px; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-thanks { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 48px 10px; }
.contact-thanks h3 { font-size: 28px; color: var(--navy-700); }
.contact-thanks p { color: var(--muted); max-width: 380px; margin-bottom: 8px; }
.thanks-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 10px 30px rgba(19, 122, 76, .3); }

.verify-art { width: 96px; height: 96px; background: #fff; border-radius: 22px; padding: 6px; flex-shrink: 0; }
.verify-text { flex: 1; min-width: 240px; }
.verify-text h2 { font-size: 28px; }

.wa-float { position: fixed; z-index: 60; bottom: 22px; left: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.wa-float.call { background: var(--red); }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ring 2.4s ease-out infinite; }
.wa-float.call::after { border-color: var(--red); }
.wa-float:not(.call)::after { border-color: #25D366; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.reveal-ready [data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 1200px) { .nav-phone { display: none; } }
@media (max-width: 1000px) {
  .site-menu-btn { display: inline-grid; }
  .site-links.open { display: flex; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0; background: #fff; padding: 6px 20px 14px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .site-links.open a { padding: 13px 2px; border-bottom: 1px solid var(--border); }
  .site-links.open a:last-child { border-bottom: 0; }
  .split, .contact-grid, .orgs { grid-template-columns: 1fr; gap: 32px; }
  .split-art { max-width: 460px; margin: 0 auto; }
  .hero-chip-1 { inset-inline-end: 0; }
  .hero-chip-2 { inset-inline-start: 0; }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 31px; }
  .hero-chip { display: none; }
  .display, .cta-band h2 { font-size: 28px; }
  .contact-info, .contact-card { padding: 24px 20px; border-radius: 18px; }
  .cta-band { padding: 44px 0; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; left: 16px; }
  .verify-art { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-chip, .hero-badge, .wa-float::after { animation: none; } }
.hero h1 .mark { display: inline; color: #fff; }
.features-wrap { padding-bottom: 24px; }
#courses .cards { grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); justify-content: center; }
.site-foot-inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 1000px) { .site-foot-inner { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ============ משוב ואנימציות ============ */
.flash-warn { background: var(--amber-50); border-color: #F1D9B0; color: #7A4A00; }
.inline-note { margin: 0 0 14px; align-items: center; }
.inline-note.attn { border-width: 2px; border-color: #E9A23B; animation: attn 1.6s ease-in-out 2; }
@keyframes attn { 0%, 100% { box-shadow: 0 0 0 0 rgba(233, 162, 59, 0); } 50% { box-shadow: 0 0 0 6px rgba(233, 162, 59, .25); } }

/* הודעות קופצות */
.toast { position: fixed; z-index: 120; top: 18px; left: 50%; transform: translateX(-50%); width: min(520px, calc(100vw - 32px)); margin: 0; align-items: center;
  box-shadow: 0 14px 40px rgba(19, 27, 69, .22); border-width: 1px; background-clip: padding-box; animation: toastIn .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.toast.out { animation: toastOut .35s ease forwards; }
.toast.flash-success { background: #fff; border-color: #BFE3D0; }
.toast.flash-info { background: #fff; }
.toast.flash-warn { background: #FFFBF3; }
.toast.flash-error { background: #fff; }
.toast-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.flash-success .toast-icon { background: var(--green); color: #fff; }
.flash-info .toast-icon { background: var(--blue); color: #fff; }
.flash-warn .toast-icon { background: #E9A23B; color: #fff; }
.flash-error .toast-icon { background: var(--red); color: #fff; }
.toast > span:nth-child(2) { flex: 1; font-weight: 600; color: var(--text); }
.toast .flash-x { font-size: 20px; line-height: 1; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -24px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes toastOut { to { opacity: 0; transform: translate(-50%, -16px) scale(.97); } }

/* תזכורות בלוח הלמידה */
.nudges { display: grid; gap: 10px; margin: -8px 0 26px; }
.nudge { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid; color: var(--text); animation: slideIn .5s ease both; }
.nudge:nth-child(2) { animation-delay: .08s; } .nudge:nth-child(3) { animation-delay: .16s; } .nudge:nth-child(4) { animation-delay: .24s; }
.nudge:hover { color: var(--text); transform: translateX(-3px); transition: transform .2s; }
.nudge-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; color: #fff; }
.nudge-text { flex: 1; font-weight: 500; }
.nudge-cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.nudge-error { background: var(--red-50); border-color: #F6C9C1; } .nudge-error .nudge-icon { background: var(--red); } .nudge-error .nudge-cta { color: var(--red-600); }
.nudge-warn { background: var(--amber-50); border-color: #F1D9B0; } .nudge-warn .nudge-icon { background: #E9A23B; } .nudge-warn .nudge-cta { color: #7A4A00; }
.nudge-success { background: var(--green-50); border-color: #BFE3D0; } .nudge-success .nudge-icon { background: var(--green); } .nudge-success .nudge-cta { color: var(--green); }
.nudge-info { background: var(--blue-50); border-color: #C6D8F5; } .nudge-info .nudge-icon { background: var(--blue); } .nudge-info .nudge-cta { color: var(--blue); }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* קונפטי */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 130; overflow: hidden; }
.confetti i { position: absolute; top: -20px; animation-name: fall; animation-timing-function: cubic-bezier(.25, .6, .4, 1); animation-fill-mode: forwards; }
@keyframes fall { to { transform: translate(var(--dx), 108vh) rotate(var(--r)); opacity: .9; } }

/* בוחן */
.quiz-meter { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 200px; }
.quiz-meter .progress { max-width: 220px; }
.quiz-meter .progress span { animation: none; transition: width .35s ease; }
[data-quiz-count].ready { color: var(--green); font-weight: 700; }
.question { transition: border-color .2s, box-shadow .2s; }
.question.answered { border-color: #C9D0EA; }
.question.missing { border-color: var(--red); box-shadow: 0 0 0 3px rgba(232, 58, 37, .15); animation: shake .45s ease; }
.option input { transition: transform .15s; }
.option:has(input:checked) { animation: pick .25s ease; }
@keyframes pick { 50% { transform: scale(1.015); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.result-sub { color: var(--text) !important; font-weight: 600; }
.quiz-result { animation: popIn .5s cubic-bezier(.2, .9, .3, 1.2) both; }
.quiz-result.fail { animation: popIn .4s ease both, shake .5s ease .45s; }
.quiz-result .inline-note { margin-bottom: 14px; }
.review li { animation: slideIn .4s ease both; }
.review li:nth-child(2) { animation-delay: .06s; } .review li:nth-child(3) { animation-delay: .12s; } .review li:nth-child(4) { animation-delay: .18s; } .review li:nth-child(n+5) { animation-delay: .24s; }

/* הצלחות וסיומים */
.done-box, .celebrate { animation: popIn .5s cubic-bezier(.2, .9, .3, 1.2) both; }
.done-box > .i, .celebrate-icon { animation: badgePop .6s cubic-bezier(.2, .9, .3, 1.4) .15s both; }
@keyframes popIn { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes badgePop { from { transform: scale(0) rotate(-30deg); } to { transform: none; } }
.outline-item.just-done .oi-state { animation: badgePop .6s cubic-bezier(.2, .9, .3, 1.4) .2s both; box-shadow: 0 0 0 0 rgba(19, 122, 76, .5); }
.outline-item.just-done { animation: flashRow 1.6s ease .3s; }
@keyframes flashRow { 30% { background: var(--green-50); } }
.btn.pulse { animation: btnPulse 1.4s ease-in-out 3; }
@keyframes btnPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(19, 122, 76, .45); } 50% { box-shadow: 0 0 0 10px rgba(19, 122, 76, 0); } }
.cta-coach { color: var(--navy-700); font-size: 14px; }

/* מילוי מונפש של פסי התקדמות */
.progress span { animation: fill 1s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes fill { from { width: 0; } }
.stat, .course-card { animation: slideIn .45s ease both; }
.stats .stat:nth-child(2) { animation-delay: .06s; } .stats .stat:nth-child(3) { animation-delay: .12s; } .stats .stat:nth-child(4) { animation-delay: .18s; }

@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }
.toast > .toast-icon { flex: 0 0 32px; }

/* ============ דף הבית — אנימציות נוספות ============ */
.scroll-progress { position: fixed; top: 0; right: 0; left: 0; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--red-600), var(--red)); transform-origin: right; transform: scaleX(0); }
/* כניסה מדורגת של כותרת הפתיחה */
.hero-text > * { animation: rise .8s cubic-bezier(.2, .8, .3, 1) both; }
.hero-text > :nth-child(1) { animation-delay: .1s; } .hero-text > :nth-child(2) { animation-delay: .22s; } .hero-text > :nth-child(3) { animation-delay: .36s; }
.hero-text > :nth-child(4) { animation-delay: .5s; } .hero-text > :nth-child(5) { animation-delay: .64s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero .mark { background-size: 0 .34em; animation: underline .9s cubic-bezier(.6, 0, .3, 1) 1s forwards; }
@keyframes underline { to { background-size: 100% .34em; } }
.hero-visual { animation: badgeIn 1s cubic-bezier(.2, .9, .3, 1.15) .2s both; }
@keyframes badgeIn { from { opacity: 0; transform: scale(.8) rotate(-6deg); } to { opacity: 1; transform: none; } }
.hero-glow { animation: heartbeat 1.6s ease-in-out infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); opacity: .9; } 14% { transform: scale(1.08); opacity: 1; } 28% { transform: scale(1); } 42% { transform: scale(1.05); } 70% { transform: scale(1); } }
/* מוניטור דופק חי */
.hero-ecg { opacity: 1; stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.hero-ecg path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ecg-base { stroke: rgba(232, 58, 37, .25); }
.ecg-blip { stroke: #FF6B55; stroke-width: 4 !important; stroke-dasharray: 140 860; stroke-dashoffset: 1000; filter: drop-shadow(0 0 6px rgba(255, 107, 85, .9)); animation: blip 3.2s linear infinite; }
@keyframes blip { to { stroke-dashoffset: 0; } }

/* שיעור לדוגמה */
.demo-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.demo-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.demo-points span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--navy-100); color: var(--navy-700); font-weight: 600; font-size: 15px; }
.demo-points .i { color: var(--red); }
.video-frame { position: relative; border-radius: 18px; overflow: hidden; background: #0C1231; box-shadow: 0 30px 70px rgba(19, 27, 69, .35); border: 1px solid #C9D0EA; transform: perspective(1400px) rotateY(-4deg); transition: transform .5s ease; }
.video-frame:hover { transform: perspective(1400px) rotateY(0); }
.vf-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #F1F3FA; border-bottom: 1px solid #E1E6EE; }
.vf-bar i { width: 11px; height: 11px; border-radius: 50%; background: #C9D0EA; }
.vf-bar i:first-child { background: var(--red); } .vf-bar i:nth-child(2) { background: #F4A094; }
.vf-bar b { margin-inline-start: auto; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.video-frame video { display: block; width: 100%; aspect-ratio: 16/9; background: #0C1231; }
.vf-chip { position: absolute; top: 56px; inset-inline-end: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .95); color: var(--navy-700); font-weight: 700; font-size: 13.5px; box-shadow: var(--shadow); pointer-events: none; }

/* תנועה עדינה לאיורים ולכרטיסים */
.split-art img, .orgs-art { animation: drift 7s ease-in-out infinite; }
@keyframes drift { 50% { transform: translateY(-10px); } }
.feature { transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature:hover .feature-icon { animation: wiggle .5s ease; }
@keyframes wiggle { 25% { transform: rotate(-10deg) scale(1.08); } 75% { transform: rotate(8deg) scale(1.08); } }
.course-card .cover-illus { transition: transform .4s ease; }
.course-card:hover .cover-illus { transform: scale(1.06) translateY(-4px); }
.how-steps::before { transform-origin: right; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.6, 0, .3, 1) .2s; }
.how-steps:has(li.in)::before, html:not(.reveal-ready) .how-steps::before { transform: scaleX(1); }
.how-steps li.in .how-num { animation: badgePop .5s cubic-bezier(.2, .9, .3, 1.4) .3s both; }
.how-steps li:hover .how-icon { background: var(--navy-700); color: #fff; transition: background .2s, color .2s; }
.cta-band::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent); animation: shimmer 5s ease-in-out infinite; }
@keyframes shimmer { 0%, 30% { left: -40%; } 70%, 100% { left: 110%; } }
[data-reveal] .eyebrow::before { transition: width .6s ease .2s; }
html.reveal-ready [data-reveal]:not(.in) .eyebrow::before { width: 0; }

@media (max-width: 1000px) {
  .demo-grid { grid-template-columns: 1fr; gap: 32px; }
  .video-frame { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text > *, .hero-visual, .hero-glow, .ecg-blip, .split-art img, .orgs-art, .cta-band::after { animation: none !important; }
  .hero .mark { background-size: 100% .34em; animation: none; }
  .how-steps::before { transform: none; }
}

/* ============ קווים מחליקים ותוויות מתחלפות ============ */
/* קו המברשת האדום נמתח מימין לשמאל (כיוון הקריאה) */
.mark { background-position: 100% 98%; }
html.reveal-ready [data-reveal] .mark { background-size: 0 .34em; transition: background-size 1s cubic-bezier(.6, 0, .25, 1) .45s; }
html.reveal-ready [data-reveal].in .mark { background-size: 100% .34em; }
.hero .mark { background-position: 100% 98%; }

/* תוויות סביב הלוגו: מופיעות ונעלמות לסירוגין */
.hero-chip { opacity: 0; animation: chipCycle 12s ease-in-out infinite both; }
.hero-chip-1 { animation-delay: 1.2s; } .hero-chip-2 { animation-delay: 4.2s; } .hero-chip-3 { animation-delay: 7.2s; } .hero-chip-4 { animation-delay: 10.2s; }
@keyframes chipCycle {
  0% { opacity: 0; transform: translateY(14px) scale(.85); }
  6% { opacity: 1; transform: none; }
  30% { opacity: 1; transform: translateY(-6px); }
  40% { opacity: 0; transform: translateY(-18px) scale(.95); }
  100% { opacity: 0; transform: translateY(14px) scale(.85); }
}

/* קו אדום קצר מתחת לכותרות המקטעים — נמתח כשהמקטע נכנס למסך */
.site-head h2::after { content: ''; display: block; width: 64px; height: 4px; border-radius: 2px; margin: 14px auto 0; background: var(--red); transform: scaleX(0); transition: transform .8s cubic-bezier(.6, 0, .25, 1) .35s; }
.site-head.in h2::after, html:not(.reveal-ready) .site-head h2::after { transform: scaleX(1); }
.eyebrow::before { transform-origin: right; transition: transform .6s ease .2s, width .6s ease .2s; }
html.reveal-ready [data-reveal]:not(.in) .eyebrow::before, html.reveal-ready .site-head:not(.in) .eyebrow::before { transform: scaleX(0); }

/* קו מחליק מתחת לקישורי הניווט + סימון המקטע הנוכחי */
.site-links a { position: relative; padding: 6px 0; }
.site-links a::after { content: ''; position: absolute; right: 0; left: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.site-links a:hover::after, .site-links a.current::after { transform: scaleX(1); }
.site-links a.current { color: var(--red); }
.foot-col a { position: relative; width: fit-content; }
.foot-col a::after { content: ''; position: absolute; right: 0; left: 0; bottom: -3px; height: 1px; background: #FF8A78; transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.foot-col a:hover::after { transform: scaleX(1); }
.link { position: relative; }

@media (max-width: 1000px) { .site-links a::after { display: none; } .hero-chip-4 { inset-inline-start: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-chip { opacity: 1; animation: none; }
  .hero-chip-4 { display: none; }
  html.reveal-ready [data-reveal] .mark { background-size: 100% .34em; transition: none; }
  .site-head h2::after { transform: none; transition: none; }
}

/* ============ נגן וידאו מותאם (ללא פקדי הדפדפן) ============ */
.vp { position: relative; overflow: hidden; background: #000; outline: none; -webkit-user-select: none; user-select: none; }
.vp video { display: block; width: 100%; cursor: pointer; }
.vp.idle, .vp.idle video { cursor: none; }
.vp-big { position: absolute; z-index: 6; top: 50%; left: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: rgba(232, 58, 37, .92); box-shadow: 0 10px 34px rgba(0, 0, 0, .4), 0 0 0 0 rgba(232, 58, 37, .5);
  transition: transform .25s ease, opacity .25s ease; animation: bigPulse 2.2s ease-out infinite; }
.vp-big svg { margin-left: 5px; }
.vp-big:hover { transform: scale(1.08); }
.vp.playing .vp-big { opacity: 0; transform: scale(.7); pointer-events: none; animation: none; }
@keyframes bigPulse { 0% { box-shadow: 0 10px 34px rgba(0,0,0,.4), 0 0 0 0 rgba(232,58,37,.55); } 70%, 100% { box-shadow: 0 10px 34px rgba(0,0,0,.4), 0 0 0 22px rgba(232,58,37,0); } }
.vp-bar { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 6px; padding: 26px 12px 10px; direction: ltr;
  background: linear-gradient(transparent, rgba(8, 12, 36, .85)); color: #fff; transition: opacity .3s ease, transform .3s ease; }
.vp.idle .vp-bar { opacity: 0; transform: translateY(10px); pointer-events: none; }
.vp-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; flex-shrink: 0; }
.vp-btn:hover { background: rgba(255, 255, 255, .14); }
.vp-track { position: relative; flex: 1; height: 22px; cursor: pointer; touch-action: none; direction: ltr; outline: none; }
.vp-track::before, .vp-buf, .vp-fill, .vp-max { content: ''; position: absolute; left: 0; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 3px; }
.vp-track::before { right: 0; background: rgba(255, 255, 255, .22); }
.vp-buf { background: rgba(255, 255, 255, .3); width: 0; }
.vp-max { background: rgba(127, 209, 166, .45); width: 0; }
.vp-fill { background: var(--red); width: 0; }
.vp-knob { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(232, 58, 37, .45); transform: scale(0); transition: transform .15s; }
.vp-track:hover .vp-knob, .vp-track:focus-visible .vp-knob { transform: scale(1); }
.vp-track:hover::before, .vp-track:hover .vp-fill, .vp-track:hover .vp-buf, .vp-track:hover .vp-max { height: 7px; margin-top: -3.5px; }
.vp-time { font-size: 13px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); padding: 0 6px; white-space: nowrap; }
.vp-time b { color: #fff; font-weight: 600; }
.vp:fullscreen { display: flex; align-items: center; }
.vp:fullscreen video { max-height: 100vh; height: 100%; }
.vplayer { background: #0C1231; }
.vplayer video { aspect-ratio: 16/9; }
.video-wrap.vp .video { cursor: pointer; }

/* ============ גרסאות קורס ============ */
.draft-banner { display: flex; align-items: center; gap: 10px; margin: -10px 0 20px; padding: 12px 16px; border-radius: 12px; background: var(--amber-50); border: 1px solid #F1D9B0; color: #7A4A00; animation: slideIn .4s ease both; }
.version-list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; }
.version-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.version-list li:last-child { border-bottom: 0; }
.version-list li > div { flex: 1; display: flex; flex-direction: column; }
.version-list small { color: var(--muted); font-size: 12.5px; }
.ver-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--gray-50); color: var(--gray); font-weight: 800; font-size: 14px; }
.version-list li.current .ver-num { background: var(--green); color: #fff; }
.b-status.pending { color: var(--amber); font-weight: 600; }
.b-status.pending::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

/* ============ עמוד קורס ציבורי והרשמה ============ */
.public-page { padding: 34px 0 70px; background: var(--bg); min-height: 60vh; }
.subscribe { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.subscribe-course { background: #fff; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); position: sticky; top: 96px; }
.subscribe-course-body { padding: 22px 24px 8px; }
.subscribe-course h2 { font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--navy-700); margin: 6px 0 4px; }
.subscribe-course .check-list { margin-top: 18px; }
.subscribe-form { padding: 30px; border-radius: 22px; }

/* ============ סיור מודרך ============ */
.tour-veil { position: fixed; inset: 0; z-index: 200; }
.tour-spot { position: fixed; z-index: 201; border-radius: 12px; pointer-events: none; box-shadow: 0 0 0 4px rgba(232, 58, 37, .9), 0 0 0 9999px rgba(12, 18, 49, .62);
  transition: top .35s cubic-bezier(.2, .8, .3, 1), left .35s cubic-bezier(.2, .8, .3, 1), width .35s, height .35s, opacity .25s; animation: spotPulse 1.8s ease-in-out infinite; }
.tour-spot.off { top: 50% !important; left: 50% !important; width: 0 !important; height: 0 !important; box-shadow: 0 0 0 9999px rgba(12, 18, 49, .62); animation: none; }
@keyframes spotPulse { 50% { box-shadow: 0 0 0 7px rgba(232, 58, 37, .55), 0 0 0 9999px rgba(12, 18, 49, .62); } }
.tour-bubble { position: fixed; z-index: 202; width: min(340px, calc(100vw - 20px)); background: #fff; color: var(--text); border-radius: 16px; padding: 16px 18px 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  transition: top .35s cubic-bezier(.2, .8, .3, 1), left .35s cubic-bezier(.2, .8, .3, 1); }
.tour-bubble.in { animation: tourIn .35s cubic-bezier(.2, .9, .3, 1.2) both; }
.tour-bubble.center { top: 50% !important; left: 50% !important; transform: translate(-50%, -50%); width: min(420px, calc(100vw - 24px)); text-align: center; padding: 26px 26px 18px; }
.tour-bubble.center.in { animation: tourInCenter .4s cubic-bezier(.2, .9, .3, 1.2) both; }
.tour-bubble.center::before { content: ''; display: block; width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 18px; background: url('/static/brand-tile-192.png') center/cover; box-shadow: var(--shadow); }
@keyframes tourIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes tourInCenter { from { opacity: 0; transform: translate(-50%, -46%) scale(.94); } to { opacity: 1; transform: translate(-50%, -50%); } }
.tb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.tour-bubble.center .tb-head { position: absolute; top: 12px; left: 14px; right: 14px; }
.tb-count { font-size: 12.5px; font-weight: 700; color: var(--red); }
.tb-x { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--faint); cursor: pointer; padding: 0 4px; }
.tour-bubble h3 { font-family: var(--display); font-weight: 900; font-size: 21px; color: var(--navy-700); margin: 2px 0 6px; }
.tour-bubble p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 14px; }
.tb-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tour-bubble.center .tb-foot { flex-direction: column-reverse; }
.tb-dots { display: flex; gap: 5px; }
.tb-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--border-2); transition: width .3s, background .3s; }
.tb-dots i.past { background: #F4A094; }
.tb-dots i.on { width: 20px; border-radius: 4px; background: var(--red); }
.tb-btns { display: flex; gap: 6px; }
.topbar-end { display: flex; align-items: center; gap: 4px; }

/* ============ מעברים נוספים בדף הבית ============ */
html { scroll-behavior: smooth; }
.site [id] { scroll-margin-top: 84px; }
body { animation: pageIn .45s ease both; }
body.page-leave { opacity: 0; transition: opacity .17s ease; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
.btn { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
.btn-outline .ripple, .btn-ghost .ripple { background: rgba(37, 50, 111, .15); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
/* כניסה בגלילה — וריאציות */
html.reveal-ready [data-reveal="left"] { transform: translateX(-46px); }
html.reveal-ready [data-reveal="right"] { transform: translateX(46px); }
html.reveal-ready [data-reveal="zoom"] { transform: scale(.9); }
html.reveal-ready [data-reveal="left"].in, html.reveal-ready [data-reveal="right"].in, html.reveal-ready [data-reveal="zoom"].in { transform: none; }
html.reveal-ready [data-reveal="stagger"] { opacity: 1; transform: none; }
html.reveal-ready [data-reveal="stagger"] > * { opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1); }
html.reveal-ready [data-reveal="stagger"].in > * { opacity: 1; transform: none; }
[data-reveal="stagger"] > :nth-child(2) { transition-delay: .1s !important; } [data-reveal="stagger"] > :nth-child(3) { transition-delay: .2s !important; }
[data-reveal="stagger"] > :nth-child(4) { transition-delay: .3s !important; } [data-reveal="stagger"] > :nth-child(5) { transition-delay: .4s !important; }
/* פרלקסה ורקע נע בכותרת הפתיחה */
.hero { background-size: 160% 160%; animation: heroPan 22s ease-in-out infinite alternate; }
@keyframes heroPan { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }
.hero-visual { translate: calc(var(--mx, 0) * -22px) calc(var(--my, 0) * -16px); transition: translate .4s ease-out; }
.hero-chip { translate: calc(var(--mx, 0) * 18px) calc(var(--my, 0) * 14px); transition: translate .5s ease-out; }
.hero-text { translate: calc(var(--mx, 0) * 8px) calc(var(--my, 0) * 6px); transition: translate .5s ease-out; }
.faq details p { overflow: hidden; }

@media (max-width: 1000px) {
  .subscribe { grid-template-columns: 1fr; }
  .subscribe-course { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, .hero, .vp-big, .tour-spot { animation: none !important; }
  .hero-visual, .hero-chip, .hero-text { translate: none; }
  html.reveal-ready [data-reveal="stagger"] > * { opacity: 1; transform: none; }
}
#courses .course-card { animation: none; }

/* ============ אימות תעודה ============ */
.cert-code { color: var(--navy-700); letter-spacing: .08em; font-family: ui-monospace, Menlo, Consolas, monospace; }
.code-ok { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green); margin: 4px 0 6px; }
.verify-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.verify-result p { margin: 4px 0 8px; }
input[readonly] { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.complete-bar:not(.ready) [data-complete-btn]:disabled { opacity: .55; }

/* ============ תעודה כתמונה מאובטחת ============ */
.cert-tool-mid { display: flex; align-items: center; gap: 10px; }
.cert-figure { position: relative; margin: 0 auto; max-width: 1123px; background: #fff; box-shadow: var(--shadow-lg); line-height: 0; }
.cert-img { display: block; width: 100%; height: auto; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.cert-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; line-height: 1.4; z-index: -1; }
.cert-note { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 18px auto 0; max-width: 1123px; color: var(--muted); font-size: 13.5px; text-align: center; }
.cert-note b { color: var(--navy-700); }
@media print {
  .cert-figure { box-shadow: none; max-width: none; width: 297mm; height: 210mm; }
  .cert-img { width: 297mm; height: 210mm; }
}

/* ============ הרשמה: שלבים ובחירת קורס ============ */
.signup-steps { list-style: none; display: flex; justify-content: center; align-items: center; gap: 0; margin: 4px auto 30px; padding: 0 16px; max-width: 760px; }
.signup-steps li { display: flex; align-items: center; gap: 10px; color: var(--faint); font-weight: 600; font-size: 15px; white-space: nowrap; }
.signup-steps li + li::before { content: ''; width: 56px; height: 2px; background: var(--border-2); margin: 0 14px; border-radius: 2px; }
.signup-steps li.done + li::before, .signup-steps li.active::before { background: var(--red); }
.ss-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-2); font-weight: 800; color: var(--faint); }
.signup-steps li.active { color: var(--navy-700); }
.signup-steps li.active .ss-num { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 5px rgba(232, 58, 37, .15); }
.signup-steps li.done { color: var(--green); }
.signup-steps li.done .ss-num { background: var(--green); border-color: var(--green); color: #fff; }
.pick-head { margin-bottom: 24px; }
.pick-filter { justify-content: center; margin-bottom: 26px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 380px)); justify-content: center; gap: 22px; }
.pick-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.pick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pick-cover { position: relative; display: block; }
.pick-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pick-body h3 { font-family: var(--display); font-weight: 900; font-size: 21px; line-height: 1.25; }
.pick-body h3 a { color: var(--navy-700); }
.pick-body p { color: var(--muted); font-size: 14.5px; }
.pick-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; flex-wrap: wrap; }
.pick-actions .btn-red { flex: 1; }
.pick-login { text-align: center; color: var(--muted); margin-top: 32px; }
.pick-login a { font-weight: 700; }
.subscribe-course-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ============ ניווט במובייל: התחברות תמיד זמינה ============ */
.site-links .menu-only { display: none; }
.nav-login .i { display: none; }
@media (max-width: 1000px) {
  .site-links.open .menu-only { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-700); }
  .site-links.open .menu-cta.red { color: var(--red); }
  .site-links.open .menu-only:first-of-type { margin-top: 6px; border-top: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .site-cta { gap: 4px; }
  .site-cta .btn-ghost.nav-login { display: inline-flex; height: 36px; padding: 0 10px; font-size: 14px; gap: 5px; }
  .nav-login .i { display: inline-block; }
  .site-cta .nav-courses { height: 36px; padding: 0 12px; font-size: 14px; }
  .signup-steps li span:last-child { font-size: 13px; }
  .signup-steps li + li::before { width: 18px; margin: 0 6px; }
  .signup-steps li { gap: 6px; }
  .ss-num { width: 28px; height: 28px; font-size: 13px; }
  .pick-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .nav-login span { display: none; }
  .brand.compact .brand-text b, .site-brand .brand-text b { font-size: 22px; }
}
/* מניעת גלילה אופקית מאלמנטים שנכנסים מהצד (clip שומר על כותרת דביקה, בניגוד ל-hidden) */
body.site > section, body.site > footer, body.site > main, .public-page { overflow-x: clip; }

/* ============ חלון קופץ להודעות חשובות ============ */
.popup { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(12, 18, 49, .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s ease; }
.popup.show { opacity: 1; }
.popup.hide { opacity: 0; }
.popup-card { position: relative; width: min(440px, 100%); background: #fff; border-radius: 22px; padding: 30px 28px 24px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); transform: translateY(18px) scale(.94); transition: transform .35s cubic-bezier(.2, .9, .3, 1.25); overflow: hidden; }
.popup.show .popup-card { transform: none; }
.popup.hide .popup-card { transform: translateY(10px) scale(.97); }
.popup-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--blue); }
.popup-icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin-bottom: 14px; color: #fff; font-size: 30px; font-weight: 800; background: var(--blue); box-shadow: 0 0 0 8px var(--blue-50); }
.popup.show .popup-icon { animation: badgePop .55s cubic-bezier(.2, .9, .3, 1.4) .1s both; }
.popup-card h2 { font-family: var(--display); font-weight: 900; font-size: 25px; color: var(--navy-700); margin-bottom: 8px; }
.popup-card p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 22px; }
.popup-actions { display: flex; flex-direction: column; gap: 8px; }
.popup-actions .btn { width: 100%; }
.popup-warn .popup-card::before, .popup-warn .popup-icon { background: #E9A23B; } .popup-warn .popup-icon { box-shadow: 0 0 0 8px var(--amber-50); }
.popup-error .popup-card::before, .popup-error .popup-icon { background: var(--red); } .popup-error .popup-icon { box-shadow: 0 0 0 8px var(--red-50); }
.popup-success .popup-card::before, .popup-success .popup-icon { background: var(--green); } .popup-success .popup-icon { box-shadow: 0 0 0 8px var(--green-50); }
.popup-error.show .popup-card { animation: shake .5s ease .35s; }
html.popup-open { overflow: hidden; }

/* ============ כותרת האתר גם בדפי התחברות/שגיאה לאורחים ============ */
.auth-body.with-nav .auth { min-height: calc(100vh - 74px); }
.center-public .error-main { min-height: calc(100vh - 74px); display: grid; place-items: center; background: var(--bg); }
@media (max-width: 600px) { .auth-body.with-nav .auth { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .popup, .popup-card { transition: none; } }
@media (max-width: 900px) {
  /* במובייל: טופס ההתחברות ראשון, המיתוג אחריו */
  .auth-body.with-nav .auth-form-wrap { order: -1; padding-top: 28px; }
  .auth-body.with-nav .auth-brand { padding-bottom: 60px; }
}

/* ============ עמוד התנתקות ============ */
.logout-page { background: radial-gradient(80% 60% at 50% 0%, #EEF0FA, var(--bg) 70%); padding: 48px 0 70px; min-height: calc(100vh - 74px); }
.logout-card { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: 40px 34px 28px; text-align: center; box-shadow: var(--shadow-lg); animation: popIn .55s cubic-bezier(.2, .9, .3, 1.2) both; }
.logout-check { width: 86px; height: 86px; margin-bottom: 14px; }
.logout-check circle { fill: var(--green-50); stroke: var(--green); stroke-width: 4; stroke-dasharray: 227; stroke-dashoffset: 227; animation: drawStroke .7s ease .2s forwards; }
.logout-check path { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: drawStroke .45s ease .8s forwards; }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
.logout-card h1 { font-family: var(--display); font-weight: 900; font-size: 32px; color: var(--navy-700); margin-bottom: 8px; }
.logout-card > p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.logout-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 18px; }
.logout-safe { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--faint); }
.logout-more { max-width: 900px; margin: 34px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logout-link { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 20px 14px; background: #fff; border: 1px solid var(--border); border-radius: 18px; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; animation: slideIn .5s ease both; }
.logout-link:nth-child(2) { animation-delay: .08s; } .logout-link:nth-child(3) { animation-delay: .16s; } .logout-link:nth-child(4) { animation-delay: .24s; }
.logout-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C9D0EA; color: var(--text); }
.ll-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy-100); color: var(--navy-700); margin-bottom: 4px; }
.logout-link:nth-child(odd) .ll-icon { background: var(--red-50); color: var(--red); }
.logout-link b { color: var(--navy-700); font-size: 16px; }
.logout-link small { color: var(--muted); font-size: 13.5px; }
.logout-tip { max-width: 900px; margin: 18px auto 0; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px; background: linear-gradient(120deg, var(--navy-700), var(--navy-600)); color: #fff; animation: slideIn .5s ease .32s both; }
.tip-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #FF8A78; flex-shrink: 0; animation: heartbeat 1.6s ease-in-out infinite; }
.logout-tip b { display: block; font-family: var(--display); font-weight: 900; font-size: 17px; }
.logout-tip p { color: rgba(255, 255, 255, .85); margin: 2px 0 0; }
@media (max-width: 760px) { .logout-more { grid-template-columns: 1fr 1fr; } .logout-card { padding: 30px 20px 22px; } .logout-card h1 { font-size: 26px; } }
@media (prefers-reduced-motion: reduce) { .logout-check circle, .logout-check path { stroke-dashoffset: 0; animation: none; } }

/* ============ מעברי גלילה וטעינה נוספים ============ */
/* כותרות: כל מילה עולה בתורה, ואז קו המברשת נמתח מתחת למילה המודגשת */
[data-words] .w { display: inline-block; }
html.reveal-ready [data-reveal] [data-words] .w, html.reveal-ready [data-words][data-reveal] .w {
  opacity: 0; transform: translateY(.55em) rotate(2deg); filter: blur(4px);
  transition: opacity .55s ease, transform .65s cubic-bezier(.2, .8, .3, 1), filter .55s ease; transition-delay: calc(var(--i) * 70ms + .1s);
}
html.reveal-ready [data-reveal].in [data-words] .w, html.reveal-ready [data-words][data-reveal].in .w { opacity: 1; transform: none; filter: none; }
/* הקו מחכה שהמילים יסיימו להופיע */
html.reveal-ready [data-reveal] [data-words] .mark, html.reveal-ready [data-words][data-reveal] .mark { transition-delay: calc(var(--words, 4) * 70ms + .35s); }
.site-head h2:has(.mark)::after { display: none; }
/* קו בהיר על רקע כהה */
.mark-light { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14C50 6 120 4 197 9' fill='none' stroke='%23FFFFFF' stroke-width='6' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E"); color: #fff; }
.contact-info .mark { color: #fff; }
/* קו שנמתח עם טעינת הדף (מחוץ לאזורי גלילה) */
.mark-load { background-size: 0 .34em; animation: underline .9s cubic-bezier(.6, 0, .3, 1) .6s forwards; }

/* תמונות נחשפות בווילון מימין לשמאל */
html.reveal-ready [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
html.reveal-ready [data-reveal="wipe"].in { clip-path: inset(0); }

/* רשימות: סימני ה-V והאייקונים קופצים אחרי שהשורה נכנסת */
html.reveal-ready .check-list[data-reveal].in .i { animation: badgePop .45s cubic-bezier(.2, .9, .3, 1.4) both; }
.check-list[data-reveal] > :nth-child(1) .i { animation-delay: .35s; } .check-list[data-reveal] > :nth-child(2) .i { animation-delay: .45s; } .check-list[data-reveal] > :nth-child(3) .i { animation-delay: .55s; }
html.reveal-ready .feature[data-reveal].in .feature-icon { animation: badgePop .5s cubic-bezier(.2, .9, .3, 1.4) .25s both; }
[data-reveal="stagger"] > :nth-child(6) { transition-delay: .5s !important; }

/* כותרות עמודים באזור האישי: קו אדום קצר נמתח בטעינה */
.page-head h1::after { content: ''; display: block; width: 52px; height: 4px; margin-top: 8px; border-radius: 2px; background: var(--red); transform-origin: right; animation: barGrow .7s cubic-bezier(.6, 0, .25, 1) .25s both; }
@keyframes barGrow { from { transform: scaleX(0); } }
.page-head > div { animation: rise .55s cubic-bezier(.2, .8, .3, 1) both; }
.page-actions { animation: rise .55s cubic-bezier(.2, .8, .3, 1) .12s both; }

@media (prefers-reduced-motion: reduce) {
  [data-words] .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .mark-load { background-size: 100% .34em; animation: none; }
  html.reveal-ready [data-reveal="wipe"] { clip-path: none; }
  .page-head h1::after, .page-head > div, .page-actions { animation: none; }
}

/* ============ חלון אישור/הודעה (במקום confirm/alert של הדפדפן) ============ */
dialog.popup { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; color: inherit; overflow: auto; }
dialog.popup::backdrop { background: transparent; }
.popup-ask .popup-card h2 { font-size: 22px; line-height: 1.35; }
.popup-ask .popup-card p { white-space: pre-line; overflow-wrap: anywhere; }
.popup-ask .popup-card h2:last-child { margin-bottom: 20px; }
.popup-info .popup-icon { font-family: var(--display); }
.popup-ask .btn-danger { background: var(--red); border-color: var(--red); color: #fff; }
.popup-ask .btn-danger:hover { background: var(--red-600); border-color: var(--red-600); }

/* ============ מסלולי לימוד בטופס צור קשר · מבחנים מעשיים ============ */
.await-box { display: flex; gap: 10px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-inline-start: 4px solid var(--green); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; text-align: start; }
.await-box > .i { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.await-box b { display: block; color: var(--navy-700); }
.await-box span, .await-box small { display: block; font-size: 14px; color: var(--muted); }
.await-box small { margin-top: 4px; font-style: italic; }
.test-log { list-style: none; margin: 0 0 12px; padding: 10px 14px; background: var(--surface-2); border-radius: 8px; font-size: 13.5px; color: var(--muted); display: grid; gap: 4px; }
.test-log b { color: var(--navy-700); }
.test-actions { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: flex-end; }
.test-actions .field { margin: 0; min-width: 180px; }
.test-actions .field.grow { flex: 1; min-width: 220px; }
.test-actions .row-actions { flex-basis: 100%; }
