/* אזור המנויים - בשפה העיצובית של הערכה (משתני --lhm-*). */
#lhm-ms { --ms-teal-bg: #E7F6F5; --ms-flame-bg: #FFF4E6; --ms-muted-bg: #F1F2F5; max-width: 640px; margin: 0 auto; font-family: var(--lhm-font-body, 'Assistant', system-ui, sans-serif); color: var(--lhm-ink, #17223A); }
#lhm-ms *, #lhm-ms *::before, #lhm-ms *::after { box-sizing: border-box; }
#lhm-ms h2, #lhm-ms h3 { margin: 0; font-family: var(--lhm-font-head, 'Rubik', sans-serif); color: var(--lhm-navy, #1B2E4A); line-height: 1.2; }
#lhm-ms h2 { font-size: clamp(23px, 3.2vw, 29px); }
#lhm-ms h3 { font-size: 20px; }
#lhm-ms p { margin: 0; }
#lhm-ms h2:focus, #lhm-ms .lhm-ms__msg:focus { outline: none; }

.lhm-ms__card { display: grid; gap: 22px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--lhm-line, rgba(27, 46, 74, .1)); border-radius: var(--lhm-radius, 20px); background: var(--lhm-white, #fff); box-shadow: var(--lhm-shadow, 0 10px 34px rgba(27, 46, 74, .09)); }
.lhm-ms__head { display: flex; gap: 16px; align-items: flex-start; }
.lhm-ms__head p { margin-top: 8px; color: var(--lhm-muted, #5A6478); font-size: 17px; }
.lhm-ms__icon { display: grid; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; background: var(--lhm-navy, #1B2E4A); color: var(--lhm-flame, #F5941F); place-items: center; }
.lhm-ms__icon svg { width: 26px; height: 26px; }
.lhm-ms__icon.is-teal { background: var(--ms-teal-bg); color: var(--lhm-teal, #12A5A0); }
.lhm-ms__icon.is-flame { background: var(--ms-flame-bg); color: #D9770A; }
.lhm-ms__icon.is-muted { background: var(--ms-muted-bg); color: var(--lhm-muted, #5A6478); }

.lhm-ms__uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.lhm-ms__uses li { display: grid; gap: 2px; align-content: start; margin: 0; padding: 14px; border-radius: 16px; background: var(--lhm-bg, #FBF9F5); box-shadow: inset 0 0 0 1px var(--lhm-line, rgba(27, 46, 74, .1)); }
.lhm-ms__uses strong { color: var(--lhm-navy, #1B2E4A); font-size: 16px; line-height: 1.3; }
.lhm-ms__uses li > span:last-child { color: var(--lhm-muted, #5A6478); font-size: 14.5px; line-height: 1.45; }
.lhm-ms__use-icon { display: grid; width: 34px; height: 34px; margin-bottom: 6px; border-radius: 11px; background: #fff; color: var(--lhm-flame, #F5941F); place-items: center; box-shadow: 0 4px 12px rgba(27, 46, 74, .08); }
.lhm-ms__use-icon svg { width: 19px; height: 19px; }
.lhm-ms__field { display: grid; gap: 7px; }
.lhm-ms__field label { font-weight: 700; color: var(--lhm-navy, #1B2E4A); font-size: 16px; }
.lhm-ms__field label span { font-weight: 400; color: var(--lhm-muted, #5A6478); font-size: 14px; }
#lhm-ms input { width: 100%; min-height: 54px; margin: 0; padding: 12px 16px; border: 1.5px solid rgba(27, 46, 74, .18); border-radius: 14px; background: #fff; color: var(--lhm-ink, #17223A); font: inherit; font-size: 19px; transition: border-color .2s, box-shadow .2s; }
#lhm-ms input[dir=ltr] { text-align: right; letter-spacing: .04em; }
#lhm-ms input:focus { border-color: var(--lhm-flame, #F5941F); outline: none; box-shadow: 0 0 0 4px rgba(245, 148, 31, .18); }
#lhm-ms input[aria-invalid=true] { border-color: #C2410C; }
.lhm-ms__err { min-height: 0; color: #B3400B; font-size: 15px; font-weight: 600; }
.lhm-ms__err:empty { display: none; }
.lhm-ms__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

#lhm-ms .lhm-btn { margin: 0; text-decoration: none; }
#lhm-ms a.lhm-btn, #lhm-ms a.lhm-btn:hover { color: #fff; text-decoration: none; }
#lhm-ms a.lhm-btn--ghost, #lhm-ms a.lhm-btn--ghost:hover { color: var(--lhm-navy, #1B2E4A); }
#lhm-ms button.lhm-btn--ghost { color: var(--lhm-navy, #1B2E4A); font-family: inherit; }
.lhm-ms__submit { width: 100%; }
.lhm-ms__submit.is-busy { pointer-events: none; opacity: .75; }
.lhm-ms__submit.is-busy::after { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; content: ''; animation: lhm-ms-spin .7s linear infinite; }
@keyframes lhm-ms-spin { to { transform: rotate(360deg); } }
.lhm-ms__wa { background: #1FAF55; box-shadow: 0 10px 26px rgba(31, 175, 85, .3); }
.lhm-ms__wa:hover { background: #17964A; box-shadow: 0 16px 32px rgba(31, 175, 85, .35); }
.lhm-ms__wa svg { width: 22px; height: 22px; }
.lhm-ms__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lhm-ms__back, .lhm-ms__link { justify-self: center; padding: 4px 2px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--lhm-navy, #1B2E4A); font: inherit; font-weight: 700; cursor: pointer; }
.lhm-ms__back:hover, .lhm-ms__link:hover { color: var(--lhm-flame, #F5941F); border-color: currentColor; }
.lhm-ms__link { margin-inline-start: 10px; font-size: 15px; }

.lhm-ms__note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--lhm-muted, #5A6478); font-size: 15px; text-align: center; }
.lhm-ms__note svg { width: 17px; height: 17px; flex: 0 0 auto; }
.lhm-ms__msg { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-radius: 14px; font-weight: 600; }
.lhm-ms__msg svg { width: 20px; height: 20px; flex: 0 0 auto; }
.lhm-ms__msg.is-info { background: var(--ms-flame-bg); color: #8A4B05; }
.lhm-ms__msg.is-ok { background: var(--ms-teal-bg); color: #0B6F6B; }

.lhm-ms__join { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--lhm-line, rgba(27, 46, 74, .1)); }
.lhm-ms__join p { color: var(--lhm-muted, #5A6478); }

.lhm-ms__status { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; }
.lhm-ms__status strong { display: block; font-family: var(--lhm-font-head, 'Rubik', sans-serif); font-size: 20px; color: var(--lhm-navy, #1B2E4A); }
.lhm-ms__status p { margin-top: 4px; }
.lhm-ms__status .lhm-ms__actions { margin-top: 14px; }
.lhm-ms__status .lhm-ms__icon { width: 46px; height: 46px; background: #fff; }
.lhm-ms__status.is-active { background: var(--ms-teal-bg); }
.lhm-ms__status.is-card { background: var(--ms-flame-bg); box-shadow: inset 0 0 0 1.5px rgba(245, 148, 31, .45); }
.lhm-ms__status.is-ended { background: var(--ms-muted-bg); }

.lhm-ms__list { display: grid; margin: 0; border-top: 1px solid var(--lhm-line, rgba(27, 46, 74, .1)); }
.lhm-ms__list > div { display: grid; grid-template-columns: 150px 1fr; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--lhm-line, rgba(27, 46, 74, .1)); }
.lhm-ms__list dt { color: var(--lhm-muted, #5A6478); font-size: 15px; }
.lhm-ms__list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.lhm-ms__missing { color: #B3400B; }

.lhm-ms__address form { display: grid; gap: 16px; padding: 20px; border-radius: 18px; background: var(--lhm-bg, #FBF9F5); }
.lhm-ms__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.lhm-ms__field--city, .lhm-ms__field--street { grid-column: span 3; }
.lhm-ms__field--num, .lhm-ms__field--apartment, .lhm-ms__field--zip { grid-column: span 2; }

.lhm-ms__foot { display: grid; gap: 12px; padding: 20px; border-radius: 18px; background: var(--lhm-bg, #FBF9F5); color: var(--lhm-muted, #5A6478); }
.lhm-ms__foot .lhm-ms__back { justify-self: start; }

@media (max-width: 560px) {
	.lhm-ms__head { flex-direction: column; gap: 12px; }
	.lhm-ms__uses { grid-template-columns: 1fr; }
	.lhm-ms__uses li { grid-template-columns: auto 1fr; column-gap: 12px; padding: 12px; }
	.lhm-ms__use-icon { grid-row: span 2; margin: 0; }
	.lhm-ms__list > div { grid-template-columns: 1fr; }
	.lhm-ms__grid { grid-template-columns: repeat(2, 1fr); }
	.lhm-ms__field--city, .lhm-ms__field--street { grid-column: span 2; }
	.lhm-ms__field--zip { grid-column: span 2; }
	.lhm-ms__field--num, .lhm-ms__field--apartment { grid-column: span 1; }
	.lhm-ms__actions .lhm-btn { flex: 1 1 100%; }
	.lhm-ms__link { display: block; margin: 6px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .lhm-ms__submit.is-busy::after { animation: none; } }

/* בעמוד הבדיקה פס "להצטרפות" הצף מסתיר את כפתורי הטופס בנייד - יש כפתור הצטרפות במסך "לא נמצא". */
.lhm-sticky-bar { display: none !important; }
