.lx-acc, .lx-auth {
    --lxu-ink: #1a1d2e; --lxu-text: #343a57; --lxu-muted: #4f5577; --lxu-frame: #c9d1de; --lxu-line: #e3e7ee; --lxu-soft: #f7f9fb;
    --lxu-teal: #0f766e; --lxu-teal-d: #115e59; --lxu-teal-s: #e6f6f3;
    --lxu-good: #1f6e48; --lxu-good-s: #e3f5ec; --lxu-warn: #92400e; --lxu-warn-s: #fff4e5; --lxu-bad: #b42318;
    color: var(--lxu-text); font-size: 16px; line-height: 1.55;
}
.lx-acc a:focus-visible, .lx-acc button:focus-visible, .lx-acc input:focus-visible,
.lx-auth a:focus-visible, .lx-auth button:focus-visible, .lx-auth input:focus-visible { outline: 3px solid var(--lxu-teal); outline-offset: 2px; }

/* הכותרת הכפולה של התבנית והפוטר השיווקי - רק באזור האישי */
body:has(.lx-acc .lxu-head) .page-header-breadcrumb h1 {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
body:has(.lx-acc .lxu-head) .lexa-newsletter,
body:has(.lx-acc .lxu-head) .lexa-footer-main { display: none; }

/* ---------- כפתורים ---------- */
.lx-acc .lxu-btn, .lx-auth .lxu-btn { height: 46px; padding: 0 18px; border-radius: 11px; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.lx-acc .lxu-btn.is-pri, .lx-auth .lxu-btn.is-pri { border: 0; background: var(--lxu-teal); color: #fff; }
.lx-acc .lxu-btn.is-pri:hover, .lx-auth .lxu-btn.is-pri:hover { background: var(--lxu-teal-d); color: #fff; }
.lx-acc .lxu-btn.is-pri[disabled] { background: #b9c3d0; cursor: not-allowed; }
.lx-acc .lxu-btn.is-sec, .lx-auth .lxu-btn.is-sec { border: 1.5px solid var(--lxu-frame); background: #fff; color: var(--lxu-text); }
.lx-acc .lxu-btn.is-sec:hover, .lx-auth .lxu-btn.is-sec:hover { border-color: var(--lxu-teal); color: var(--lxu-teal-d); }
.lx-auth .lxu-btn.is-full { width: 100%; margin-top: 4px; }

/* ---------- שדות ---------- */
.lx-acc .lxu-f, .lx-auth .lxu-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lx-acc .lxu-f label, .lx-auth .lxu-f label { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--lxu-ink); }
.lx-acc .lxu-f label em, .lx-auth .lxu-f label em { font-style: normal; color: var(--lxu-bad); margin-right: 2px; }
.lx-acc .lxu-f input, .lx-auth .lxu-f input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--lxu-frame); border-radius: 11px;
    background: #fff; color: var(--lxu-ink); font: inherit; font-size: 16px; box-shadow: none; }
.lx-acc .lxu-f input:focus, .lx-auth .lxu-f input:focus { border-color: var(--lxu-teal); outline: none; box-shadow: 0 0 0 3px rgba(15, 118, 110, .15); }
.lx-acc .lxu-f input[readonly] { background: var(--lxu-soft); color: var(--lxu-muted); }
.lx-acc .lxu-f input.is-ltr, .lx-auth .lxu-f input.is-ltr { direction: ltr; text-align: right; }
.lx-acc .lxu-f input.is-ltr::placeholder, .lx-auth .lxu-f input.is-ltr::placeholder { text-align: right; }
.lx-acc .lxu-f small, .lx-auth .lxu-f small { font-size: 13.5px; color: var(--lxu-muted); }
.lx-acc .lxu-pw, .lx-auth .lxu-pw { position: relative; }
.lx-acc .lxu-pw input, .lx-auth .lxu-pw input { padding-left: 52px; }
.lx-acc .lxu-pw button, .lx-auth .lxu-pw button { position: absolute; left: 5px; top: 5px; width: 38px; height: 38px; border: 0; border-radius: 8px;
    background: transparent; color: var(--lxu-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lx-acc .lxu-pw button:hover, .lx-auth .lxu-pw button:hover { background: #f3f6f9; color: var(--lxu-ink); }
.lx-acc .lxu-pw button[aria-pressed="true"], .lx-auth .lxu-pw button[aria-pressed="true"] { color: var(--lxu-teal); }
.lx-auth .lxu-ck { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--lxu-text); cursor: pointer; }
.lx-auth .lxu-ck a { color: var(--lxu-teal-d); }
.lx-auth .lxu-ck input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--lxu-teal); }

/* =====================================================================
   האזור האישי
   ===================================================================== */
.lx-acc { max-width: 1180px; margin: 0 auto; padding: 12px 0 30px; display: flex; flex-direction: column; gap: 16px; }

/* הראש חייב להיות .card - מבטלים את ה-column ואת המרווחים של התבנית */
.lx-acc .card.lxu-head { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0; padding: 18px 22px;
    background: #fff; border: 1px solid var(--lxu-frame); border-radius: 16px; box-shadow: 0 1px 3px rgba(26, 29, 46, .07); }
.lx-acc .lxu-av { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: var(--lxu-teal-s); color: var(--lxu-teal-d);
    display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 700; }
.lx-acc .lxu-head-t { min-width: 0; }
.lx-acc .lxu-head h1 { margin: 0; font-size: 22px; font-weight: 700; color: var(--lxu-ink); }
.lx-acc .lxu-head p { margin: 0; font-size: 15px; color: var(--lxu-muted); text-align: right; overflow-wrap: anywhere; }

.lx-acc .lxu-lay { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.lx-acc .lxu-side { flex: 1 1 240px; max-width: 100%; }
.lx-acc .lxu-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* תפריט צד */
.lx-acc .lxu-nav { display: flex; flex-direction: column; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--lxu-frame); border-radius: 16px; }
.lx-acc .lxu-nav hr { margin: 6px 4px; border: 0; border-top: 1px solid var(--lxu-line); opacity: 1; }
.lx-acc .lxu-nav-i { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 12px; border-radius: 10px;
    color: var(--lxu-text); font-size: 15.5px; font-weight: 600; text-decoration: none; }
.lx-acc .lxu-nav-i svg { flex-shrink: 0; color: var(--lxu-muted); }
.lx-acc .lxu-nav-i:hover { background: #f3f6f9; color: var(--lxu-ink); }
.lx-acc .lxu-nav-i.is-on { background: var(--lxu-teal-s); color: var(--lxu-teal-d); }
.lx-acc .lxu-nav-i.is-on svg { color: var(--lxu-teal); }
.lx-acc .lxu-nav-i.is-minor { min-height: 44px; font-size: 14.5px; font-weight: 400; color: var(--lxu-muted); }
.lx-acc .lxu-more-t { margin: 2px 12px; font-size: 13px; font-weight: 700; color: var(--lxu-muted); }
.lx-acc .lxu-more { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 10px; line-height: 1.35; text-decoration: none; }
.lx-acc .lxu-more b { font-size: 14.5px; font-weight: 600; color: var(--lxu-ink); }
.lx-acc .lxu-more span { font-size: 13px; color: var(--lxu-muted); }
.lx-acc .lxu-more:hover { background: #f3f6f9; }
.lx-acc .lxu-more:hover b { color: var(--lxu-teal-d); }

/* קופסאות תוכן */
.lx-acc .lxu-box { margin: 0; background: #fff; border: 1px solid var(--lxu-frame); border-radius: 16px; overflow: hidden; }
.lx-acc .lxu-bh { padding: 16px 22px; border-bottom: 1px solid var(--lxu-line); }
.lx-acc .lxu-bh.is-sep { border-top: 1px solid var(--lxu-line); }
.lx-acc .lxu-bh.is-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.lx-acc .lxu-bh h2 { margin: 0; font-size: 18px; font-weight: 700; color: var(--lxu-ink); }
.lx-acc .lxu-bh p { margin: 2px 0 0; font-size: 14.5px; color: var(--lxu-muted); }
.lx-acc .lxu-sum { margin-right: auto; font-size: 14.5px; color: var(--lxu-muted); }
.lx-acc .lxu-bb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; padding: 20px 22px; }
.lx-acc .lxu-f.is-wide { grid-column: 1 / -1; }
.lx-acc .lxu-bf { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 14px; padding: 14px 22px;
    border-top: 1px solid var(--lxu-line); background: #f9fafc; }
.lx-acc .lxu-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 22px; }
.lx-acc .lxu-row p { flex: 1 1 300px; margin: 0; font-size: 14.5px; color: var(--lxu-muted); }

/* בדיקות הסיסמה */
.lx-acc .lxu-checks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.lx-acc .lxu-checks li { display: flex; align-items: center; gap: 6px; color: var(--lxu-muted); }
.lx-acc .lxu-checks i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #9aa6bb; color: transparent; font-style: normal; font-size: 11px;
    display: inline-flex; align-items: center; justify-content: center; }
.lx-acc .lxu-checks li.is-on { color: var(--lxu-good); font-weight: 600; }
.lx-acc .lxu-checks li.is-on i { border-color: var(--lxu-good); background: var(--lxu-good); color: #fff; }

/* טבלת הזמנות */
.lx-acc .lxu-tw { overflow-x: auto; }
.lx-acc .lxu-tbl { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; }
.lx-acc .lxu-tbl th { padding: 10px 22px; background: var(--lxu-soft); border-bottom: 1px solid var(--lxu-line); text-align: right;
    font-size: 13.5px; font-weight: 700; color: var(--lxu-muted); white-space: nowrap; }
.lx-acc .lxu-tbl td { padding: 14px 22px; border-bottom: 1px solid #edf0f4; vertical-align: middle; color: var(--lxu-text); }
.lx-acc .lxu-tbl tr:last-child td { border-bottom: 0; }
.lx-acc .lxu-tbl .is-date { white-space: nowrap; }
.lx-acc .lxu-tbl .is-what b { display: block; font-weight: 700; color: var(--lxu-ink); }
.lx-acc .lxu-tbl .is-what > span { font-size: 13.5px; color: var(--lxu-muted); }
.lx-acc .lxu-tbl .is-num { font-weight: 700; color: var(--lxu-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lx-acc .lxu-tbl .is-dl { text-align: left; }
.lx-acc .lxu-dl { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--lxu-frame); border-radius: 9px;
    color: var(--lxu-text); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lx-acc .lxu-dl:hover { border-color: var(--lxu-teal); color: var(--lxu-teal-d); }
.lx-acc .lxu-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 22px; text-align: center; }
.lx-acc .lxu-empty h3 { margin: 4px 0 0; font-size: 18px; font-weight: 700; color: var(--lxu-ink); }
.lx-acc .lxu-empty p { margin: 0 0 8px; color: var(--lxu-muted); }

.lx-acc .lxu-ic, .lx-auth .lxu-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--lxu-teal-s); color: var(--lxu-teal);
    display: flex; align-items: center; justify-content: center; }

/* =====================================================================
   כניסה והרשמה
   ===================================================================== */
.lx-auth { padding: 24px 0 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lx-auth .card.lxu-card { width: 100%; max-width: 480px; margin: 0; padding: 28px; display: block;
    background: #fff; border: 1px solid var(--lxu-frame); border-radius: 18px; box-shadow: 0 2px 10px rgba(26, 29, 46, .06); }
.lx-auth .card.lxu-card.is-wide { max-width: 620px; }
.lx-auth h1 { margin: 0; font-size: 24px; font-weight: 700; color: var(--lxu-ink); }
.lx-auth .lxu-sub { margin: 4px 0 0; font-size: 15.5px; color: var(--lxu-muted); }

.lx-auth .lxu-seg { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 20px; padding: 4px; border-radius: 12px; background: #eef1f5; }
.lx-auth .lxu-seg button { height: 42px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 15.5px; font-weight: 700; color: var(--lxu-muted); cursor: pointer; }
.lx-auth .lxu-seg button[aria-selected="true"] { background: #fff; color: var(--lxu-ink); box-shadow: 0 1px 3px rgba(26, 29, 46, .12); }

.lx-auth .lxu-gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; margin-top: 20px;
    border: 1.5px solid var(--lxu-frame); border-radius: 11px; background: #fff; color: var(--lxu-ink); font-size: 15.5px; font-weight: 700; text-decoration: none; }
.lx-auth .lxu-gbtn:hover { border-color: #9fb2c8; background: #f9fafc; color: var(--lxu-ink); }
.lx-auth .lxu-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 13.5px; color: var(--lxu-muted); }
.lx-auth .lxu-or::before, .lx-auth .lxu-or::after { content: ""; flex: 1; height: 1px; background: var(--lxu-line); }

.lx-auth .lxu-fs { display: flex; flex-direction: column; gap: 14px; }
.lx-auth .lxu-fs.is-gap { margin-top: 20px; }
.lx-auth .lxu-fs.is-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.lx-auth .lxu-fs.is-two .is-wide { grid-column: 1 / -1; }
.lx-auth .lxu-lr { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lx-auth .lxu-lr a { font-size: 14px; color: var(--lxu-teal-d); }

.lx-auth .lxu-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 14.5px; color: var(--lxu-muted); }
.lx-auth .lxu-foot a { font-weight: 600; color: var(--lxu-teal-d); }

/* שלבי ההרשמה */
.lx-auth .lxu-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; color: var(--lxu-muted); }
.lx-auth .lxu-steps li { display: flex; flex-direction: column; gap: 6px; }
.lx-auth .lxu-steps i { display: block; height: 5px; border-radius: 3px; background: #d5dbe5; }
.lx-auth .lxu-steps .is-done i, .lx-auth .lxu-steps .is-cur i { background: var(--lxu-teal); }
.lx-auth .lxu-steps .is-cur { color: var(--lxu-ink); font-weight: 700; }

/* מסכי הודעה: אימות מייל, הופעל, נכשל */
.lx-auth .lxu-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.lx-auth .lxu-hero .lxu-ic { width: 60px; height: 60px; margin-bottom: 8px; }
.lx-auth .lxu-ic.is-good { background: var(--lxu-good-s); color: var(--lxu-good); }
.lx-auth .lxu-ic.is-warn { background: var(--lxu-warn-s); color: var(--lxu-warn); }
.lx-auth .lxu-mail { display: inline-block; margin: 4px 0; padding: 2px 10px; border-radius: 8px; background: #f3f6f9; direction: ltr;
    font-weight: 700; color: var(--lxu-ink); overflow-wrap: anywhere; }
.lx-auth .lxu-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.lx-auth .lxu-tips { display: flex; flex-direction: column; gap: 6px; margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--lxu-soft);
    list-style: none; font-size: 14.5px; color: var(--lxu-text); }
.lx-auth .lxu-tips li { display: flex; gap: 8px; }
.lx-auth .lxu-tips li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--lxu-teal); }
.lx-auth .lxu-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 20px; padding-top: 16px;
    border-top: 1px solid var(--lxu-line); font-size: 14.5px; color: var(--lxu-muted); }
.lx-auth .lxu-help a { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1px solid var(--lxu-frame); border-radius: 9px;
    color: var(--lxu-text); font-weight: 600; text-decoration: none; }
.lx-auth .lxu-help a:hover { border-color: var(--lxu-teal); color: var(--lxu-teal-d); }
.lx-auth .lxu-help.is-plain a { height: auto; padding: 0; border: 0; color: var(--lxu-teal-d); }
.lx-auth .lxu-next { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.lx-auth .lxu-next a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #d5dbe5; border-radius: 12px; color: var(--lxu-text); text-decoration: none; }
.lx-auth .lxu-next a:hover, .lx-auth .lxu-next a.is-main { border-color: var(--lxu-teal); background: #f3fbf9; }
.lx-auth .lxu-next b { display: block; font-size: 15.5px; color: var(--lxu-ink); }
.lx-auth .lxu-next a > span:not(.lxu-n) span { font-size: 14px; color: var(--lxu-muted); }
.lx-auth .lxu-n { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; background: var(--lxu-teal-s); color: var(--lxu-teal-d); font-weight: 700;
    display: flex; align-items: center; justify-content: center; }
.lx-auth .lxu-go { flex-shrink: 0; margin-right: auto; color: var(--lxu-teal); }

/* ---------- מסכים צרים ---------- */
@media (max-width: 767.98px) {
    .lx-acc { padding-top: 6px; }
    .lx-acc .card.lxu-head { padding: 14px; }
    .lx-acc .lxu-bb { grid-template-columns: minmax(0, 1fr); padding: 16px; }
    .lx-acc .lxu-bh, .lx-acc .lxu-bf, .lx-acc .lxu-row { padding-left: 16px; padding-right: 16px; }
    .lx-acc .lxu-bf .lxu-btn { width: 100%; }
    /* התפריט בנייד: שלושת העמודים בשורה אחת, בלי "עוד בלקסה" */
    .lx-acc .lxu-side { flex-basis: 100%; }
    .lx-acc .lxu-nav { flex-direction: row; gap: 4px; padding: 6px; }
    .lx-acc .lxu-nav-i { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 2px; min-height: 56px; padding: 6px 4px;
        font-size: 13.5px; line-height: 1.25; text-align: center; }
    .lx-acc .lxu-nav-i svg { width: 18px; height: 18px; }
    .lx-acc .lxu-nav hr, .lx-acc .lxu-more-t, .lx-acc .lxu-more, .lx-acc .lxu-nav-i.is-minor { display: none; }
    /* הזמנות: שורה הופכת לכרטיס קטן */
    .lx-acc .lxu-tbl thead { display: none; }
    .lx-acc .lxu-tbl tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid #edf0f4; }
    .lx-acc .lxu-tbl tr:last-child { border-bottom: 0; }
    .lx-acc .lxu-tbl td { padding: 0; border: 0; }
    .lx-acc .lxu-tbl .is-what { grid-column: 1 / -1; grid-row: 1; }
    .lx-acc .lxu-tbl .is-date { font-size: 14px; color: var(--lxu-muted); }
    .lx-acc .lxu-tbl .is-num { text-align: left; }
    .lx-acc .lxu-tbl .is-dl { grid-column: 1 / -1; text-align: right; padding-top: 6px; }
    .lx-auth { padding-top: 8px; }
    .lx-auth .card.lxu-card { padding: 20px; }
    .lx-auth .lxu-fs.is-two { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .lx-acc *, .lx-auth * { transition: none !important; } }
