/* ==========================================================================
   sx-efa.css — #anaf (e-Factura) pe pagina Documente: piesa „efactura” din website structure
   (site-sectiuni/sectiuni/efactura.css, 05.10.2026), adusă înapoi pe tokenii paginii (19.10.2026).
   Ce rămâne din piesă: fereastra E-Factura cu rândul viu FCT 0412 ridicat, celulele care se umplu ca un jurnal, iconițele de stare,
   „Modificare Informații E-Factură”, „Validated” / „Lista Erori la Validare”, ZIP-ul, punctul ANAF cu linia punctată, butonul galben.
   Ce s-a schimbat: derularea fixată → cronologie o dată, în vizor (sx-efa.js); banda de sus = contorul pașilor (1–6 reiau, 7 = butonul galben);
   cromul ferestrei = shell-ul din v34-final (css/theme.css :root / .dark, css/components.css): bara de sus și șina au culoarea „backbone”
   (#e4e3e1 pe tema deschisă, #101113 pe cea închisă), filele sunt pastile, „întreabă-l pe Easy” e câmpul dreptunghiular cu poza, fără avatar.
   Scrisul din fereastră = Inter, ca programul. Textul secțiunii = fontul și tokenii paginii (--sx-*).
   Totul sub .sx-efa; clase efa-*; animații efa-*; doar transform / opacity în mișcările care durează.
   ========================================================================== */

@font-face { font-family: "Efa Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../hl/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Efa Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../hl/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 0. Tokeni: tema deschisă (v34-final css/theme.css :root) ---------- */
.sx-efa {
  --efa-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --efa-font: "Efa Inter", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* shell */
  --efa-bb: #e4e3e1; --efa-bb-line: rgba(0, 0, 0, .08);
  --efa-rail-ink: #47463f; --efa-rail-act: rgba(158, 132, 60, .14); --efa-rail-act-ink: #6f570f;
  --efa-tab-bg: rgba(51, 51, 51, .05); --efa-tab-line: rgba(51, 51, 51, .18); --efa-tab-ink: #666666;
  --efa-tab-act-bg: #eaf3fa; --efa-tab-act-ink: #3071a9; --efa-tab-act-ring: rgba(66, 139, 202, .32);
  --efa-easy-bg: #ecebe9; --efa-easy-line: rgba(92, 128, 166, .36); --efa-easy-ph: #8f8f8f; --efa-easy-div: rgba(51, 51, 51, .24);
  --efa-easy-sh: 0 1px 2px rgba(0, 0, 0, .06);
  --efa-flag-b: #2b4c9a; --efa-flag-y: #f2c230; --efa-flag-r: #c8312c;
  /* pagina din tab (main.theme.css: body #F6F6F6) */
  --efa-cv: #f6f6f6;
  --efa-sf: #ffffff; --efa-sf2: #f3f3f2; --efa-stripe: #fafafa; --efa-line: #e2e2e0; --efa-line2: #d0d0cd;
  --efa-ink: #333333; --efa-ink2: #5a5a5a; --efa-ink3: #858585;
  --efa-acc: #3071a9;
  --efa-flash: #fff6b8; --efa-scan: rgba(240, 173, 78, .16);
  /* stările (efactura.list.php:4235-4247: text-warning / text-primary / text-success / text-danger), ca în piesă */
  --efa-s-nesp: #d9822b; --efa-s-prel: #2f6fb8; --efa-s-acc: #2e8a4e; --efa-s-neacc: #c2392b;
  /* butoanele din program (main.css / Bootstrap 3), domolite ca în piesă */
  --efa-reg-bg: #33cfd9; --efa-reg-ink: #0b3a3f; --efa-reg-line: rgba(11, 58, 63, .18);
  --efa-mod-bg: #a6dd45; --efa-mod-ink: #233d05; --efa-mod-line: rgba(35, 61, 5, .18);
  --efa-def-bg: #ffffff; --efa-def-ink: #4f5b68; --efa-def-line: #cdd1d6;
  --efa-info-bg: #46a9c6; --efa-info-ink: #ffffff; --efa-info-line: rgba(0, 0, 0, .08);
  --efa-pri-bg: #2f6fb8; --efa-pri-ink: #ffffff; --efa-pri-line: rgba(0, 0, 0, .1);
  --efa-warn-bg: #f0ad4e; --efa-warn-ink: #3b2700; --efa-warn-line: rgba(59, 39, 0, .14);
  --efa-ok-bg: #3d9a5b; --efa-ok-ink: #ffffff; --efa-ok-line: rgba(0, 0, 0, .1);
  --efa-bad-bg: #d1503f; --efa-bad-ink: #ffffff; --efa-bad-line: rgba(0, 0, 0, .1);
  --efa-srch-bg: #c8f2c2; --efa-srch-ink: #1f4a1a; --efa-srch-line: rgba(31, 74, 26, .16);
  /* umbre */
  --efa-win-sh: 0 0 0 1px rgba(20, 42, 62, .16), 0 2px 4px rgba(20, 42, 62, .06), 0 30px 70px -30px rgba(20, 42, 62, .30);
  --efa-lift-sh: 0 0 0 1px rgba(23, 32, 43, .07), 0 1px 2px rgba(23, 32, 43, .08), 0 10px 22px -8px rgba(23, 32, 43, .26), 0 26px 44px -22px rgba(23, 32, 43, .30);
  --efa-pop-sh: 0 0 0 1px rgba(23, 32, 43, .08), 0 2px 4px rgba(23, 32, 43, .08), 0 18px 36px -12px rgba(23, 32, 43, .30), 0 44px 80px -30px rgba(23, 32, 43, .38);
  --efa-note-bg: #ffffff; --efa-note-sh: 0 1px 2px rgba(23, 32, 43, .08), 0 10px 24px -10px rgba(23, 32, 43, .30);
  --efa-scrim: rgba(28, 33, 40, .22);
  --efa-glow: rgba(20, 42, 62, .07);
  --efa-ghost: #e6e5e2;
  --efa-fz-sh: rgba(23, 32, 43, .28);
}
/* ---------- tema închisă (v34-final css/theme.css .dark; butoanele: drawer-dark.css, ca în piesă). Fără data-theme, pagina e închisă. ---------- */
html[data-theme="dark"] .sx-efa, html:not([data-theme]) .sx-efa {
  --efa-bb: #101113; --efa-bb-line: rgba(255, 255, 255, .04);
  --efa-rail-ink: #8d9297; --efa-rail-act: rgba(94, 106, 210, .16); --efa-rail-act-ink: #cfd1d4;
  --efa-tab-bg: #1c1a16; --efa-tab-line: rgba(255, 255, 255, .08); --efa-tab-ink: #8d9297;
  --efa-tab-act-bg: #1c1a16; --efa-tab-act-ink: #7d87dc; --efa-tab-act-ring: rgba(94, 106, 210, .32);
  --efa-easy-bg: #1f2125; --efa-easy-line: rgba(120, 185, 215, .30); --efa-easy-ph: #8d9297; --efa-easy-div: rgba(207, 209, 212, .24);
  --efa-easy-sh: 0 1px 2px rgba(0, 0, 0, .4);
  --efa-cv: #17181b;
  --efa-sf: #1f2125; --efa-sf2: #26282d; --efa-stripe: #1c1d21; --efa-line: #2c2e33; --efa-line2: #3a3c42;
  --efa-ink: #cfd1d4; --efa-ink2: #a3a7ac; --efa-ink3: #7f848a;
  --efa-acc: #7d87dc;
  --efa-flash: rgba(255, 228, 120, .14); --efa-scan: rgba(229, 180, 90, .1);
  --efa-s-nesp: #e5b45a; --efa-s-prel: #7aaad4; --efa-s-acc: #6cc08f; --efa-s-neacc: #f08a7a;
  --efa-reg-bg: rgba(23, 242, 255, .12); --efa-reg-ink: #5ee8f0; --efa-reg-line: rgba(23, 242, 255, .25);
  --efa-mod-bg: rgba(134, 239, 172, .12); --efa-mod-ink: #86efac; --efa-mod-line: rgba(134, 239, 172, .25);
  --efa-def-bg: #26282d; --efa-def-ink: #c3c6ca; --efa-def-line: #3d4046;
  --efa-info-bg: rgba(90, 170, 187, .2); --efa-info-ink: #7dd4e4; --efa-info-line: rgba(90, 170, 187, .35);
  --efa-pri-bg: rgba(122, 170, 212, .2); --efa-pri-ink: #a9cdee; --efa-pri-line: rgba(122, 170, 212, .38);
  --efa-warn-bg: rgba(212, 168, 85, .2); --efa-warn-ink: #f0d488; --efa-warn-line: rgba(212, 168, 85, .38);
  --efa-ok-bg: rgba(106, 170, 106, .2); --efa-ok-ink: #9ad69a; --efa-ok-line: rgba(106, 170, 106, .38);
  --efa-bad-bg: rgba(204, 96, 96, .2); --efa-bad-ink: #f0a0a0; --efa-bad-line: rgba(204, 96, 96, .38);
  --efa-srch-bg: rgba(134, 239, 172, .1); --efa-srch-ink: #86efac; --efa-srch-line: rgba(134, 239, 172, .2);
  --efa-win-sh: 0 0 0 1px rgba(255, 255, 255, .1), 0 2px 6px rgba(0, 0, 0, .45), 0 40px 90px -30px rgba(0, 0, 0, .8);
  --efa-lift-sh: 0 0 0 1px rgba(255, 255, 255, .09), 0 2px 6px rgba(0, 0, 0, .4), 0 20px 40px -16px rgba(0, 0, 0, .85);
  --efa-pop-sh: 0 0 0 1px rgba(255, 255, 255, .09), 0 2px 6px rgba(0, 0, 0, .45), 0 30px 64px -20px rgba(0, 0, 0, .9);
  --efa-note-bg: #26282d; --efa-note-sh: 0 0 0 1px rgba(255, 255, 255, .08), 0 12px 26px -10px rgba(0, 0, 0, .85);
  --efa-scrim: rgba(0, 0, 0, .42);
  --efa-glow: rgba(255, 255, 255, .035);
  --efa-ghost: #34363c;
  --efa-fz-sh: rgba(0, 0, 0, .6);
}
html[data-theme="light"] .sx-efa { color-scheme: light; }

.sx-efa .efa-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sx-efa .efa-i { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 1. Antetul (tiparul paginii) ---------- */
.sx-efa .sx-head.sx-efa-head { margin-bottom: 34px; }

/* ---------- 2. Figura ---------- */
.sx-efa .efa-fig { position: relative; margin: 0; }
.sx-efa .efa-stage { position: relative; }
.sx-efa .efa-glow {
  position: absolute; left: 6%; right: 6%; top: 8%; bottom: -6%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, var(--efa-glow), rgba(0, 0, 0, 0));
}

/* banda de sus: contorul pașilor (butoane) și capătul drumului, ANAF */
.sx-efa .efa-strip {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 40px; padding: 0 2px 8px;
}
.sx-efa .efa-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }
.sx-efa:not(.efa-js) .efa-nav { display: none; }
.sx-efa .efa-nb, .sx-efa .efa-yb {
  position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: var(--sx-ink2); cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 999px;
}
.sx-efa .efa-nb-n {
  position: relative; isolation: isolate; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px;
  font-family: var(--sx-f-sans); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; color: var(--sx-ink2);
  box-shadow: inset 0 0 0 1px var(--sx-hair-strong);
  transition: transform .15s var(--efa-ease);
}
/* starea „apăsat” a bulinei, la fiecare bătaie: DOAR opacitate. Discul (::before) apare, cifra de pe disc (::after) apare, cifra simplă (.efa-nd) se stinge.
   Culorile de mai jos (hover, „făcut”) sunt stări de control și se schimbă pe loc, fără tranziție. */
.sx-efa .efa-nb-n::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--sx-accent); opacity: 0; transition: opacity .25s ease; }
.sx-efa .efa-nb-n::after { content: attr(data-n); position: absolute; inset: 0; display: grid; place-items: center; color: var(--sx-accent-ink); opacity: 0; transition: opacity .25s ease; }
.sx-efa .efa-nd { transition: opacity .25s ease; }
.sx-efa .efa-nb:hover .efa-nb-n, .sx-efa .efa-yb:hover .efa-nb-n { color: var(--sx-ink); box-shadow: inset 0 0 0 1px var(--sx-ink2); }
.sx-efa .efa-nb.is-done .efa-nb-n { color: var(--sx-ink); }
.sx-efa .efa-nb[aria-pressed="true"] .efa-nb-n::before, .sx-efa .efa-yb[aria-pressed="true"] .efa-nb-n::before,
.sx-efa .efa-nb[aria-pressed="true"] .efa-nb-n::after, .sx-efa .efa-yb[aria-pressed="true"] .efa-nb-n::after { opacity: 1; }
.sx-efa .efa-nb[aria-pressed="true"] .efa-nd, .sx-efa .efa-yb[aria-pressed="true"] .efa-nd { opacity: 0; }
.sx-efa .efa-nb:active .efa-nb-n, .sx-efa .efa-yb:active .efa-nb-n { transform: scale(.94); }
.sx-efa :is(.efa-nb, .efa-yb):focus-visible { outline: 2px solid var(--sx-focus); outline-offset: 2px; }
/* 7: butonul galben din program, ca buton de pe sit */
.sx-efa .efa-yb { margin-left: 6px; padding-right: 2px; }
.sx-efa .efa-yb-b {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px 0 10px; border-radius: 6px;
  font-family: var(--efa-font); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; word-spacing: 0; white-space: nowrap;
  background: var(--efa-warn-bg); color: var(--efa-warn-ink); box-shadow: inset 0 0 0 1px var(--efa-warn-line);
  transition: transform .15s var(--efa-ease), box-shadow .2s ease;
}
.sx-efa .efa-yb-b .efa-i { width: 13px; height: 13px; stroke-width: 1.8; }
.sx-efa .efa-yb:hover .efa-yb-b { box-shadow: inset 0 0 0 1px var(--efa-warn-line), 0 2px 8px -2px rgba(240, 173, 78, .55); }
.sx-efa .efa-yb:active .efa-yb-b { transform: scale(.96); }
.sx-efa .efa-yb-b { position: relative; }
.sx-efa .efa-yb-b::after {   /* invitația, după cronologie: un inel care se lărgește, de două ori */
  content: ""; position: absolute; inset: -3px; border-radius: 9px; box-shadow: 0 0 0 2px var(--efa-warn-bg); opacity: 0; pointer-events: none;
}
.sx-efa .efa-yb.is-ready .efa-yb-b::after { animation: efa-call 1.5s var(--efa-ease) .2s 2; }
.sx-efa .efa-cnt { margin-left: 10px; font-family: var(--sx-f-sans); font-size: 14px; line-height: 1.2; color: var(--sx-ink2); white-space: nowrap; }
.sx-efa .efa-cnt b { font-weight: 600; color: var(--sx-ink); font-variant-numeric: tabular-nums; }
.sx-efa .efa-cnt-k { font-weight: 600; color: var(--sx-ink); }

.sx-efa .efa-anaf {
  display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; margin: 0 6px 0 auto;
  font-family: var(--sx-f-sans); font-size: 14px; font-weight: 700; letter-spacing: .06em; word-spacing: 0; color: var(--sx-ink);
}
.sx-efa .efa-anaf-n {
  position: relative; width: 11px; height: 11px; border-radius: 50%; background: var(--sx-ink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sx-ink) 14%, transparent);
}
.sx-efa .efa-anaf-n::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--sx-ink); opacity: 0;
}
.sx-efa .efa-anaf.is-hit .efa-anaf-n::after { animation: efa-ring .7s var(--efa-ease); }

/* vizorul și pânza (1044 × 392 px de program; JS o scalează) */
.sx-efa .efa-frame { position: relative; z-index: 1; }
.sx-efa .efa-mtop { display: none; }
.sx-efa .efa-vp { position: relative; height: 392px; }
.sx-efa:not(.efa-js) .efa-vp { overflow-x: auto; overflow-y: hidden; }   /* fără JS: pânza nu se scalează; pe ecran îngust se derulează în fereastră, nu pagina */
.sx-efa .efa-cv {
  position: absolute; left: 0; top: 0; width: 1044px; height: 392px; transform-origin: 0 0;
  color: var(--efa-ink); font-family: var(--efa-font); font-size: 11.5px; line-height: 1.3; font-variant-numeric: tabular-nums;
}
.sx-efa .efa-cv, .sx-efa .efa-cv *, .sx-efa .efa-mtop * { letter-spacing: -0.006em; word-spacing: 0; }
.sx-efa .efa-cv :where(b, strong) { color: inherit; font-weight: 600; }
.sx-efa .efa-cv :where(p, ul, ol) { margin: 0; padding: 0; list-style: none; }
.sx-efa .efa-cv :where(small) { font-size: inherit; }
.sx-efa .efa-cv :where(label) { margin: 0; }
.sx-efa .efa-stage.is-cam .efa-cv { transition: transform .75s var(--efa-ease); }

/* drumul la ANAF (linie punctată + punct), deasupra a tot */
.sx-efa .efa-trip { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 6; }
.sx-efa .efa-trip path { fill: none; stroke: var(--sx-line); stroke-width: 1.6; stroke-dasharray: 6 7; stroke-linecap: round; opacity: 0; transition: opacity .25s ease; }
.sx-efa .efa-trip.is-on path { opacity: 1; }
.sx-efa .efa-trip circle { fill: var(--sx-ink); stroke: var(--sx-bg0); stroke-width: 2.5; opacity: 0; }
.sx-efa .efa-trip.is-on circle { opacity: 1; }

/* ---------- 3. Fereastra programului: cromul din v34-final ---------- */
.sx-efa .efa-win { position: absolute; inset: 0; border-radius: 12px; background: var(--efa-bb); box-shadow: var(--efa-win-sh); }
/* bara de sus (.st-backbone-top 52px, aici 40): sigla, steagul + tema, filele, Easy, iconițele */
.sx-efa .efa-top {
  position: absolute; left: 0; right: 0; top: 0; height: 40px; display: flex; align-items: center; gap: 12px; padding-right: 12px;
  color: var(--efa-rail-ink);
}
.sx-efa .efa-brand { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding-left: 13px; color: var(--efa-rail-ink); }
.sx-efa .efa-hex { width: 24px; height: 24px; }
.sx-efa .efa-wm { display: grid; line-height: .95; color: var(--efa-rail-ink); }
.sx-efa .efa-wm b { font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.sx-efa .efa-wm span { font-size: 10.5px; font-weight: 400; letter-spacing: -0.01em; }
.sx-efa .efa-tl { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.sx-efa .efa-tl .efa-i { width: 15px; height: 15px; }
.sx-efa .efa-flag { display: block; width: 18px; height: 12px; border-radius: 2px; background: linear-gradient(90deg, var(--efa-flag-b) 0 33.4%, var(--efa-flag-y) 0 66.7%, var(--efa-flag-r) 0); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .18); }
.sx-efa .efa-tabs { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 4px; }
.sx-efa .efa-tab {
  position: relative; display: flex; flex: 0 1 auto; min-width: 0; height: 27px; align-items: center; gap: 7px; padding: 0 5px 0 10px;
  border-radius: 7px; font-size: 11.5px; font-weight: 500; color: var(--efa-tab-ink); white-space: nowrap;
  background: var(--efa-tab-bg); box-shadow: inset 0 0 0 1px var(--efa-tab-line);
}
.sx-efa .efa-tab.is-act { background: var(--efa-tab-act-bg); color: var(--efa-tab-act-ink); font-weight: 600; box-shadow: inset 0 0 0 1px var(--efa-tab-act-ring); }
.sx-efa .efa-tab-x { width: 12px; height: 12px; opacity: .7; }
.sx-efa .efa-tab-add { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: var(--efa-rail-ink); }
.sx-efa .efa-tab-add .efa-i { width: 13px; height: 13px; }
.sx-efa .efa-easy {
  flex: 0 1 196px; min-width: 180px; margin-left: auto; display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px;
  border-radius: 5px; background: var(--efa-easy-bg); box-shadow: inset 0 0 0 1px var(--efa-easy-line), var(--efa-easy-sh);
  font-size: 11px; color: var(--efa-easy-ph); white-space: nowrap; overflow: hidden;
}
.sx-efa .efa-easy-av { display: block; width: 19px; height: 19px; border-radius: 50%; flex: 0 0 auto; object-fit: cover; box-shadow: 0 1px 3px rgba(0, 0, 0, .16); }
.sx-efa .efa-easy-div { flex: 0 0 auto; width: 1px; height: 16px; margin: 0 2px; background: var(--efa-easy-div); }
.sx-efa .efa-sc { flex: 0 0 auto; display: flex; align-items: center; gap: 13px; color: var(--efa-rail-ink); }
.sx-efa .efa-sc .efa-i { width: 15px; height: 15px; }
.sx-efa .efa-sc-t { font-size: 10px; font-weight: 700; letter-spacing: 0; line-height: 1; }
.sx-efa .efa-sc-sep { width: 1px; height: 16px; background: var(--efa-easy-div); }
/* șina (.st-rail 56px, aici 50): iconițe 34px, cea activă cu spălătura aurie (deschis) / indigo (închis) */
.sx-efa .efa-rail { position: absolute; left: 0; top: 40px; bottom: 0; width: 50px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 10px; }
.sx-efa .efa-ri { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; color: var(--efa-rail-ink); }
.sx-efa .efa-ri .efa-i { width: 17px; height: 17px; }
.sx-efa .efa-ri.is-act { background: var(--efa-rail-act); color: var(--efa-rail-act-ink); }
.sx-efa .efa-page {
  position: absolute; left: 50px; top: 40px; right: 0; bottom: 0; overflow: hidden; border-radius: 10px 0 12px 0;
  background: var(--efa-cv); box-shadow: inset 1px 1px 0 var(--efa-bb-line);
}

/* ---------- 4. Pagina E-Factura ---------- */
.sx-efa .efa-pg { position: absolute; inset: 0; padding: 14px 16px 0; }
.sx-efa .efa-ph { display: flex; align-items: center; height: 24px; margin-bottom: 8px; }
.sx-efa .efa-pt { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--efa-ink); }
.sx-efa .efa-flt { display: flex; align-items: center; gap: 6px; height: 28px; margin-bottom: 12px; width: 962px; }
.sx-efa .efa-fi, .sx-efa .efa-fs {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border-radius: 6px; flex: 0 0 auto;
  background: var(--efa-sf); box-shadow: inset 0 0 0 1px var(--efa-line2); font-size: 11px; color: var(--efa-ink); white-space: nowrap;
}
.sx-efa .efa-fi .efa-i, .sx-efa .efa-fs .efa-i { width: 12px; height: 12px; color: var(--efa-ink3); }
.sx-efa .efa-flt .efa-sp { flex: 1 1 auto; }

/* butoanele programului */
.sx-efa .efa-b, .sx-efa .efa-mb {
  --b-bg: var(--efa-def-bg); --b-ink: var(--efa-def-ink); --b-line: var(--efa-def-line);
  position: relative; display: inline-grid; place-items: center; flex: 0 0 auto;
  background: var(--b-bg); color: var(--b-ink); box-shadow: inset 0 0 0 1px var(--b-line);
}
.sx-efa .efa-b { width: 22px; height: 22px; border-radius: 4px; }
.sx-efa .efa-b .efa-i { width: 13px; height: 13px; stroke-width: 1.7; }
.sx-efa .efa-b--reg { --b-bg: var(--efa-reg-bg); --b-ink: var(--efa-reg-ink); --b-line: var(--efa-reg-line); }
.sx-efa .efa-b--mod { --b-bg: var(--efa-mod-bg); --b-ink: var(--efa-mod-ink); --b-line: var(--efa-mod-line); }
.sx-efa .efa-b--info { --b-bg: var(--efa-info-bg); --b-ink: var(--efa-info-ink); --b-line: var(--efa-info-line); }
.sx-efa .efa-b--pri { --b-bg: var(--efa-pri-bg); --b-ink: var(--efa-pri-ink); --b-line: var(--efa-pri-line); }
.sx-efa .efa-b--warn { --b-bg: var(--efa-warn-bg); --b-ink: var(--efa-warn-ink); --b-line: var(--efa-warn-line); }
.sx-efa .efa-b--ok { --b-bg: var(--efa-ok-bg); --b-ink: var(--efa-ok-ink); --b-line: var(--efa-ok-line); }
.sx-efa .efa-b--bad { --b-bg: var(--efa-bad-bg); --b-ink: var(--efa-bad-ink); --b-line: var(--efa-bad-line); }
.sx-efa .efa-b--srch { --b-bg: var(--efa-srch-bg); --b-ink: var(--efa-srch-ink); --b-line: var(--efa-srch-line); }
.sx-efa .efa-b--t { width: auto; height: 26px; display: inline-flex; gap: 5px; padding: 0 10px 0 8px; border-radius: 5px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.sx-efa .efa-b--t .efa-i { width: 12px; height: 12px; }
/* apăsarea: un inel care se lărgește */
.sx-efa .efa-b::after { content: ""; position: absolute; inset: -4px; border-radius: 8px; border: 2px solid var(--efa-acc); opacity: 0; pointer-events: none; }
.sx-efa .efa-b.is-press { animation: efa-push .32s var(--efa-ease); }
.sx-efa .efa-b.is-press::after { animation: efa-tap .75s var(--efa-ease); }

/* ---------- 5. Tabelul ---------- */
.sx-efa .efa-tbl { width: 962px; background: var(--efa-sf); border-radius: 9px; box-shadow: 0 0 0 1px var(--efa-line); }
.sx-efa .efa-tr { display: grid; align-items: stretch; height: 40px; grid-template-columns: 40px 78px 72px 78px 50px 112px 14px 82px 86px 86px 86px 44px 134px; }
.sx-efa .efa-tr + .efa-tr { border-top: 1px solid var(--efa-line); }
.sx-efa .efa-tr--h { height: 34px; background: var(--efa-sf2); border-radius: 9px 9px 0 0; font-size: 10.5px; font-weight: 600; line-height: 1.15; color: var(--efa-ink2); }
.sx-efa .efa-tr--h .efa-td { justify-content: center; white-space: normal; }
.sx-efa .efa-td { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; padding: 0 6px; gap: 1px; white-space: nowrap; }
.sx-efa .efa-td.is-c { align-items: center; text-align: center; }
.sx-efa .efa-td.is-r { align-items: flex-end; text-align: right; }
.sx-efa .efa-td small { font-size: 10px; color: var(--efa-ink3); }
.sx-efa .efa-cnr { font-weight: 600; color: var(--efa-ink); }
.sx-efa .efa-ctot { font-weight: 500; }
.sx-efa .efa-lnk { color: var(--efa-acc); }
.sx-efa .efa-cfold { padding: 0; align-items: center; }
.sx-efa .efa-cfold::before { content: ""; width: 0; height: 100%; border-left: 1.5px dotted var(--efa-line2); }
.sx-efa .efa-dt { white-space: normal; line-height: 1.2; }
.sx-efa .efa-idx { font-weight: 700; color: var(--efa-ink); }
.sx-efa .efa-eid { font-size: 9.5px !important; }
.sx-efa .efa-tr--f { height: 36px; background: var(--efa-sf2); border-radius: 0 0 9px 9px; font-weight: 700; color: var(--efa-ink); }
.sx-efa .efa-tr--f .efa-td { line-height: 1.25; }
.sx-efa .efa-ftot { grid-column: 4; }

/* rândurile: stările (aceleași reguli pe orice rând .efa-tr--b; rândul viu are data-row) */
.sx-efa .efa-c0 { position: relative; }
.sx-efa .efa-cb { display: none; width: 15px; height: 15px; border-radius: 3px; background: var(--efa-sf); box-shadow: inset 0 0 0 1.5px var(--efa-ink3); }
.sx-efa .efa-cb::after { content: ""; display: block; width: 9px; height: 5px; margin: 3.5px 0 0 3px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); transition: transform .25s var(--efa-ease); }
.sx-efa .efa-okc { display: none; width: 16px; height: 16px; color: var(--efa-s-acc); stroke-width: 2.2; }
.sx-efa .efa-tr--b:is([data-row="neprg"], [data-row="sel"]) .efa-cb { display: block; }
.sx-efa .efa-tr--b[data-row="sel"] .efa-cb { background: var(--efa-acc); box-shadow: inset 0 0 0 1.5px var(--efa-acc); }
.sx-efa .efa-tr--b[data-row="sel"] .efa-cb::after { transform: rotate(-45deg) scale(1); }
.sx-efa .efa-tr--b:is([data-row="prg"], [data-row="inc"]) .efa-okc { display: block; animation: efa-pop .45s var(--efa-ease); }
/* înainte de pregătire, partea din dreapta e o singură celulă goală (colspan 9 în program) */
.sx-efa .efa-tr--b:is([data-row="neprg"], [data-row="sel"]) :is(.efa-cid, .efa-cdm, .efa-cdd, .efa-cds, .efa-cst, .efa-cbt) > * { visibility: hidden; }
.sx-efa .efa-tr--b:not([data-row="inc"]) .efa-idx, .sx-efa .efa-tr--b:not([data-row="inc"]) .efa-cdm > * { visibility: hidden; }
.sx-efa .efa-tr--b:not([data-dl="1"]) .efa-cdd > * { visibility: hidden; }
.sx-efa .efa-ds-prel, .sx-efa .efa-ds-fin { display: none; }
.sx-efa .efa-tr--b[data-stare="prel"] .efa-ds-prel, .sx-efa .efa-tr--b:is([data-stare="acc"], [data-stare="neacc"]) .efa-ds-fin { display: block; }
.sx-efa .efa-s { display: none; width: 16px; height: 16px; stroke-width: 1.8; }
.sx-efa .efa-s--nesp { color: var(--efa-s-nesp); }
.sx-efa .efa-s--prel { color: var(--efa-s-prel); }
.sx-efa .efa-s--acc { color: var(--efa-s-acc); stroke-width: 2.3; }
.sx-efa .efa-s--neacc { color: var(--efa-s-neacc); stroke-width: 2.3; }
.sx-efa .efa-tr--b[data-stare="nesp"] .efa-s--nesp, .sx-efa .efa-tr--b[data-stare="prel"] .efa-s--prel,
.sx-efa .efa-tr--b[data-stare="acc"] .efa-s--acc, .sx-efa .efa-tr--b[data-stare="neacc"] .efa-s--neacc { display: block; animation: efa-pop .45s var(--efa-ease); }
.sx-efa .efa-stage.is-live .efa-live[data-stare="prel"] .efa-s--prel { animation: efa-spin 2.4s linear infinite; }
.sx-efa .efa-cbt { flex-direction: row; justify-content: flex-start; align-items: center; padding: 0 4px; }
.sx-efa .efa-bg { display: none; gap: 3px; align-items: center; }
.sx-efa .efa-tr--b[data-row="prg"] .efa-bg--prg, .sx-efa .efa-tr--b[data-row="inc"] .efa-bg--inc { display: flex; animation: efa-slide .5s var(--efa-ease); }
.sx-efa .efa-bi { display: inline-grid; place-items: center; width: 22px; height: 22px; color: var(--efa-s-acc); }
.sx-efa .efa-bi .efa-i { width: 15px; height: 15px; stroke-width: 2.3; }
.sx-efa :is(.efa-x-chk, .efa-x-ok, .efa-x-del, .efa-y-zip) { display: none; }
.sx-efa .efa-tr--b:is([data-stare="nesp"], [data-stare="prel"]) .efa-x-chk, .sx-efa .efa-tr--b[data-stare="acc"] .efa-x-ok,
.sx-efa .efa-tr--b[data-stare="neacc"] .efa-x-del, .sx-efa .efa-tr--b[data-dl="1"] .efa-y-zip { display: inline-grid; }

/* rândul viu: ridicat deasupra paginii (cartonașul = ::before, doar opacitate); restul paginii stă în spate până la butonul galben */
.sx-efa .efa-live { position: relative; z-index: 2; isolation: isolate; }
.sx-efa .efa-live::before {
  content: ""; position: absolute; inset: -5px -7px; z-index: -1; border-radius: 9px; background: var(--efa-sf); box-shadow: var(--efa-lift-sh);
  opacity: 0; transition: opacity .5s ease; pointer-events: none;
}
.sx-efa .efa-stage[data-lift="1"] .efa-live::before { opacity: 1; }
.sx-efa .efa-stage[data-lift="1"] .efa-live, .sx-efa .efa-stage[data-lift="1"] .efa-live + .efa-tr { border-top-color: transparent; }
.sx-efa .efa-tr--o { position: relative; isolation: isolate; transition: opacity .6s ease; }
.sx-efa .efa-tr--o:nth-child(even) { background: var(--efa-stripe); }
.sx-efa .efa-tr--o::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--efa-scan); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.sx-efa .efa-stage[data-scan="o1"] .efa-o1::after, .sx-efa .efa-stage[data-scan="o2"] .efa-o2::after { opacity: 1; }
.sx-efa .efa-stage[data-lift="1"] .efa-tr--o { opacity: .48; }
.sx-efa .efa-stage[data-lift="1"] :is(.efa-tr--h, .efa-tr--f, .efa-flt > :not(.efa-yw)) { opacity: .72; }
.sx-efa :is(.efa-tr--h, .efa-tr--f, .efa-flt > *) { transition: opacity .6s ease; }
/* clipirea câmpului completat (oiFlash din program): un strat galben sub text, doar opacitate */
.sx-efa .is-flash { position: relative; isolation: isolate; }
.sx-efa .is-flash::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--efa-flash); opacity: 0; animation: efa-flash 1.6s ease-out; pointer-events: none; }

/* ---------- 6. Ce apare deasupra paginii ---------- */
.sx-efa .efa-ov { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.sx-efa .efa-scrim { position: absolute; inset: 0; background: var(--efa-scrim); opacity: 0; transition: opacity .3s ease; }
.sx-efa .efa-stage:is([data-dlg="mod"], [data-dlg="err"]) .efa-scrim { opacity: 1; }
.sx-efa .efa-pop { opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
/* straturi calde: cât fereastra e în vizor sau la cel mult 240 px de el (clasa .is-warm o pune JS), ferestrele, vălul, cartonașul rândului și pânza
   au stratul lor de compunere, rasterizat dinainte; altfel primul dialog / primul clipit al unui câmp ridică un cadru lung. În rest nu ține memorie. */
.sx-efa .efa-stage.is-warm :is(.efa-cv, .efa-scrim, .efa-pop) { will-change: transform, opacity; }
.sx-efa .efa-stage.is-warm .efa-live::before { will-change: opacity; }

/* „Modificare Informații E-Factură” */
.sx-efa .efa-dlg { position: absolute; left: 2.5%; width: 95%; top: 8px; border-radius: 8px; overflow: hidden; background: var(--efa-sf); box-shadow: var(--efa-pop-sh); transform: translateY(18px) scale(.98); transform-origin: 92% 30%; }
.sx-efa .efa-stage[data-dlg="mod"] .efa-dlg { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .55s var(--efa-ease), visibility 0s; }
.sx-efa .efa-dlg-h { position: relative; display: flex; align-items: center; justify-content: center; height: 30px; border-bottom: 1px solid var(--efa-line); }
.sx-efa .efa-dlg-h b { font-size: 13px; font-weight: 600; color: var(--efa-acc); }
.sx-efa .efa-dlg-x { position: absolute; right: 12px; top: 6px; width: 18px; height: 18px; color: var(--efa-ink3); stroke-width: 1.8; }
.sx-efa .efa-dlg-f { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 14px; padding: 7px 16px 5px; }
.sx-efa .efa-f { display: grid; grid-template-columns: 44% minmax(0, 1fr); align-items: center; column-gap: 8px; min-width: 0; }
.sx-efa .efa-f--2 { grid-column: span 2; grid-template-columns: calc((100% - 14px) / 2 * .44) minmax(0, 1fr); }
.sx-efa .efa-f--3 { grid-column: span 3; grid-template-columns: calc((100% - 28px) / 3 * .44) minmax(0, 1fr); }
.sx-efa .efa-f > label { display: block; text-align: right; font-size: 9.5px; font-weight: 600; line-height: 1.05; color: var(--efa-ink2); overflow: hidden; max-height: 2.1em; }
.sx-efa .efa-bt { font-size: 7.5px; font-style: italic; font-weight: 400; color: var(--efa-ink3); margin-left: 3px; white-space: nowrap; }
.sx-efa .efa-in { display: flex; align-items: center; gap: 4px; height: 20px; min-width: 0; padding: 0 7px; border-radius: 4px; overflow: hidden; background: var(--efa-sf); box-shadow: inset 0 0 0 1px var(--efa-line2); font-size: 10.5px; color: var(--efa-ink); white-space: nowrap; }
.sx-efa .efa-in.is-ph { color: var(--efa-ink3); }
.sx-efa .efa-in .efa-i { width: 11px; height: 11px; color: var(--efa-ink3); }
.sx-efa .efa-in--sel .efa-i:last-child { margin-left: auto; }
.sx-efa .efa-in--grp { padding-right: 0; }
.sx-efa .efa-in--grp em { margin-left: auto; align-self: stretch; display: flex; align-items: center; padding: 0 6px; font-style: normal; color: var(--efa-ink2); background: var(--efa-sf2); box-shadow: inset 1px 0 0 var(--efa-line2); }
.sx-efa .efa-dlg-t { margin: 2px 16px 0; border-top: 1px solid var(--efa-line); overflow: hidden; position: relative; }
.sx-efa .efa-dlg-t::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 28px; background: linear-gradient(90deg, color-mix(in srgb, var(--efa-sf) 0%, transparent), var(--efa-sf)); }
.sx-efa .efa-lr { display: grid; grid-template-columns: 124px minmax(0, 1fr) 40px 56px 62px 72px 36px 64px 118px; column-gap: 5px; align-items: center; padding-right: 2px; }
.sx-efa .efa-lr--l .efa-in { font-size: 10px; }
.sx-efa .efa-lr--h { min-height: 27px; padding-block: 3px; font-size: 9px; font-weight: 600; line-height: 1.15; color: var(--efa-ink2); }
.sx-efa .efa-lr--h > span { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sx-efa .efa-lr .efa-in { padding: 0 6px; }
.sx-efa .efa-lr .efa-in.is-r { justify-content: flex-end; }
.sx-efa .efa-dlg-sum { display: grid; justify-items: end; gap: 2px; padding: 4px 16px 0; }
.sx-efa .efa-sum { display: flex; height: 18px; font-size: 9.5px; border-radius: 4px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--efa-line2); }
.sx-efa .efa-sum span { display: flex; align-items: center; padding: 0 8px; background: var(--efa-sf2); color: var(--efa-ink2); box-shadow: inset -1px 0 0 var(--efa-line2); }
.sx-efa .efa-sum b { display: flex; align-items: center; justify-content: flex-end; width: 96px; padding: 0 7px; font-weight: 600; }
.sx-efa .efa-dlg-ft { display: flex; align-items: center; gap: 8px; padding: 6px 16px 7px; margin-top: 5px; border-top: 1px solid var(--efa-line); }
.sx-efa .efa-dlg-ft .efa-hold { flex: 1 1 auto; height: 22px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--efa-line); }
.sx-efa .efa-dlg-ft .efa-b--t { height: 22px; padding: 0 14px; }
.sx-efa .efa-ft-tot { display: none; }

/* „Validated” (alertă de browser) */
.sx-efa .efa-alert { position: absolute; left: 50%; top: 10px; width: 250px; margin-left: -125px; padding: 14px 16px 12px; border-radius: 10px; background: var(--efa-sf); box-shadow: var(--efa-pop-sh); transform: translateY(-14px); }
.sx-efa .efa-stage[data-dlg="ok"] .efa-alert { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .5s var(--efa-ease), visibility 0s; }
.sx-efa .efa-alert-m { font-size: 13px; color: var(--efa-ink); margin-bottom: 12px !important; }
.sx-efa .efa-alert-ok { display: flex; justify-content: flex-end; }
.sx-efa .efa-alert-ok span { display: inline-flex; align-items: center; height: 24px; padding: 0 16px; border-radius: 999px; background: var(--efa-acc); color: #fff; font-size: 11.5px; font-weight: 600; }
html[data-theme="dark"] .sx-efa .efa-alert-ok span, html:not([data-theme]) .sx-efa .efa-alert-ok span { color: #101113; }

/* „Lista Erori la Validare”: un rând „:::::” pe eroare; textul e al validatorului ANAF, nu-l inventăm */
.sx-efa .efa-err { position: absolute; left: 50%; top: 150px; width: 440px; margin-left: -220px; border-radius: 8px; overflow: hidden; background: var(--efa-sf); box-shadow: var(--efa-pop-sh); transform: translateY(-10px) scale(.98); }
.sx-efa .efa-stage[data-dlg="err"] .efa-err { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .5s var(--efa-ease), visibility 0s; }
.sx-efa .efa-err-h { position: relative; display: flex; align-items: center; height: 36px; padding: 0 16px; border-bottom: 1px solid var(--efa-line); font-size: 13px; }
.sx-efa .efa-err-h .efa-i { position: absolute; right: 12px; width: 16px; height: 16px; color: var(--efa-ink3); }
.sx-efa .efa-err-b { display: grid; gap: 9px; padding: 14px 16px 16px; }
.sx-efa .efa-err-r { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--efa-ink2); }
.sx-efa .efa-err-r i { display: block; height: 8px; width: var(--w, 70%); border-radius: 4px; background: var(--efa-ghost); }

/* fișierul ZIP luat pe calculator + cât îl ține fiecare */
.sx-efa .efa-zip { position: absolute; right: 16px; bottom: 10px; display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 10px; background: var(--efa-note-bg); box-shadow: var(--efa-note-sh); transform: translateY(10px); }
.sx-efa .efa-stage[data-zip="1"] .efa-zip { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .55s var(--efa-ease), visibility 0s; }
.sx-efa .efa-zip-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--efa-pri-bg); color: var(--efa-pri-ink); box-shadow: inset 0 0 0 1px var(--efa-pri-line); }
.sx-efa .efa-zip-ic .efa-i { width: 14px; height: 14px; }
.sx-efa .efa-zip-f { display: grid; gap: 1px; }
.sx-efa .efa-zip-f b { font-size: 11.5px; font-weight: 600; color: var(--efa-ink); }
.sx-efa .efa-zip-f span { font-size: 10.5px; color: var(--efa-ink2); }
.sx-efa .efa-zip-d { display: grid; gap: 2px; margin-left: 4px; padding-left: 14px; box-shadow: inset 1px 0 0 var(--efa-line2); font-size: 10.5px; line-height: 1.3; color: var(--efa-ink2); white-space: nowrap; opacity: 0; transition: opacity .3s ease; }
.sx-efa .efa-zip-d em { font-style: normal; color: var(--efa-ink3); }
.sx-efa .efa-zip-d b { font-weight: 600; color: var(--efa-ink); }
.sx-efa .efa-stage[data-zip="1"] .efa-zip-d { opacity: 1; transition-delay: .35s; }

/* nota de sub lista de erori (vocea sitului) */
.sx-efa .efa-note { position: absolute; display: flex; gap: 8px; align-items: flex-start; padding: 8px 12px 8px 10px; border-radius: 10px; background: var(--efa-note-bg); box-shadow: var(--efa-note-sh); font-size: 11.5px; line-height: 1.4; color: var(--efa-ink); transform: translateY(8px); }
.sx-efa .efa-note::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: var(--efa-acc); }
.sx-efa .efa-note--err { left: 50%; margin-left: -220px; top: 272px; max-width: 440px; }
.sx-efa .efa-stage[data-dlg="err"] .efa-note--err { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease .25s, transform .5s var(--efa-ease) .25s, visibility 0s; }

/* eticheta rândului când camera pleacă spre dreapta (doar pe telefon) */
.sx-efa .efa-fz { display: none; }

/* ---------- 7. Textul pașilor ---------- */
/* fără JS: lista celor 7 pași, doar cheia și fraza, pe două coloane */
.sx-efa .efa-caps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(28px, 4vw, 56px); }
.sx-efa .efa-cap { margin: 0; min-width: 0; }
.sx-efa:not(.efa-js) .efa-cap-b { display: none; }
.sx-efa .efa-cap-k {
  display: flex; align-items: center; gap: 9px; margin: 0 0 6px; font-family: var(--sx-f-sans); font-size: 13.5px; font-weight: 500; line-height: 1.3;
  color: var(--sx-ink2); letter-spacing: -0.01em; word-spacing: 0;
}
.sx-efa .efa-cap-n { display: grid; place-items: center; flex: 0 0 auto; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0; color: var(--sx-accent-ink); background: var(--sx-accent); }
.sx-efa .efa-mb { width: 22px; height: 20px; border-radius: 4px; }
.sx-efa .efa-mb .efa-i { width: 12px; height: 12px; stroke-width: 1.8; }
.sx-efa .efa-mb--t { width: auto; display: inline-flex; gap: 4px; padding: 0 8px 0 6px; font-family: var(--efa-font); font-size: 11px; font-weight: 600; letter-spacing: 0; }
.sx-efa .efa-mb--t .efa-i { width: 11px; height: 11px; }
.sx-efa .efa-cap-t { margin: 0; font-family: var(--sx-f-sans); font-size: clamp(19px, calc(0.6vw + 12px), 22px); font-weight: 500; line-height: 1.22; letter-spacing: -0.02em; color: var(--sx-ink); text-wrap: balance; }
.sx-efa .efa-cap-b { display: grid; gap: 10px; align-content: start; }
.sx-efa .efa-cap-b > p { margin: 0; font-family: var(--sx-f-sans); font-size: 16px; line-height: 1.55; color: var(--sx-ink2); max-width: 62ch; text-wrap: pretty; }
.sx-efa .efa-cap-b > p.efa-src { font-size: 13px; line-height: 1.5; max-width: none; }
.sx-efa .efa-src a { color: var(--sx-ink); text-underline-offset: 3px; }
.sx-efa .efa-src a:hover { text-decoration-thickness: 2px; }
/* cu JS: un singur pas la vedere, pe loc (stivă), cheia + fraza în stânga, textul în dreapta */
.sx-efa.efa-js .efa-caps { grid-template-columns: minmax(0, 1fr); }
.sx-efa.efa-js .efa-cap {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "k b" "t b"; column-gap: clamp(28px, 5vw, 72px); align-content: start;
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.sx-efa.efa-js .efa-cap.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .32s ease .06s, transform .45s var(--efa-ease) .06s, visibility 0s; }
.sx-efa.efa-js .efa-cap-k { grid-area: k; }
.sx-efa.efa-js .efa-cap-t { grid-area: t; align-self: start; max-width: 22ch; }
.sx-efa.efa-js .efa-cap-b { grid-area: b; }
/* comutatorul de la pasul 3 (răspunsul validatorului) */
.sx-efa .efa-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sx-efa .efa-ctl-q { font-family: var(--sx-f-sans); font-size: 13px; color: var(--sx-ink2); }
.sx-efa .efa-seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 11px; background: var(--sx-panel); box-shadow: inset 0 0 0 1px var(--sx-hair-strong); }
.sx-efa .efa-seg button {
  display: inline-flex; align-items: center; min-height: 34px; padding: 5px 12px; margin: 0; border: 0; border-radius: 8px;
  font-family: var(--sx-f-sans); font-size: 13.5px; font-weight: 500; line-height: 1.2; color: var(--sx-ink2); background: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .15s var(--efa-ease); -webkit-tap-highlight-color: transparent;
}
.sx-efa .efa-seg button:hover { color: var(--sx-ink); }
.sx-efa .efa-seg button:active { transform: scale(.97); }
.sx-efa .efa-seg button[aria-pressed="true"] { background: color-mix(in srgb, var(--sx-ink) 9%, transparent); color: var(--sx-ink); box-shadow: inset 0 0 0 1px var(--sx-hair-strong); }
.sx-efa .efa-seg button:focus-visible { outline: 2px solid var(--sx-focus); outline-offset: 1px; }

/* ---------- 8. Sub figură: facturile primite, cheia, legătura spre Facturare ---------- */
.sx-efa .efa-foot { display: grid; gap: 2px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--sx-hair); font-family: var(--sx-f-sans); font-size: 14px; line-height: 1.5; color: var(--sx-ink2); }
.sx-efa .efa-foot-l { display: block; }
.sx-efa .efa-foot a { color: var(--sx-ink); text-underline-offset: 3px; }
.sx-efa .efa-foot a:hover { text-decoration-thickness: 2px; }
.sx-efa .efa-inv { color: var(--sx-ink3, var(--sx-ink2)); }

/* ---------- 9. Mișcări ---------- */
@keyframes efa-tap { 0% { opacity: .95; transform: scale(.72); } 100% { opacity: 0; transform: scale(1.45); } }
@keyframes efa-push { 0% { transform: scale(1); } 35% { transform: scale(.86); } 100% { transform: scale(1); } }
@keyframes efa-pop { 0% { opacity: 0; transform: scale(.6); } 100% { opacity: 1; transform: none; } }
@keyframes efa-slide { 0% { opacity: 0; transform: translateX(8px); } 100% { opacity: 1; transform: none; } }
@keyframes efa-flash { 0%, 35% { opacity: 1; } 100% { opacity: 0; } }
@keyframes efa-spin { to { transform: rotate(360deg); } }
@keyframes efa-ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes efa-call { 0% { opacity: .9; transform: scale(.98); } 100% { opacity: 0; transform: scale(1.12, 1.45); } }

/* ---------- 10. Ecran îngust: textul pașilor pe o coloană ---------- */
@media (max-width: 900px) {
  .sx-efa.efa-js .efa-cap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "t" "b"; row-gap: 10px; }
  .sx-efa.efa-js .efa-cap-t { max-width: 28ch; }
}

/* ---------- 11. Telefon / tabletă îngustă: vizor cu cameră (data-fit="compact", pus din JS) ---------- */
.sx-efa .efa-stage[data-fit="compact"] .efa-frame { border-radius: 12px; overflow: hidden; background: var(--efa-cv); box-shadow: var(--efa-win-sh); }
.sx-efa .efa-stage[data-fit="compact"] .efa-mtop { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 0; background: var(--efa-bb); color: var(--efa-rail-ink); font-family: var(--efa-font); font-size: 11.5px; }
.sx-efa .efa-mtop .efa-brand { padding-left: 9px; }
.sx-efa .efa-mtop .efa-hex { width: 20px; height: 20px; }
.sx-efa .efa-mtop .efa-tab { height: 26px; }
.sx-efa .efa-mtop .efa-easy { flex: 1 1 auto; min-width: 0; margin-left: auto; }
.sx-efa .efa-stage[data-fit="compact"] .efa-vp { height: 312px; overflow: hidden; }
.sx-efa .efa-stage[data-fit="compact"] .efa-win { border-radius: 0; box-shadow: none; }
.sx-efa .efa-stage[data-fit="compact"] .efa-fz { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 64px; z-index: 3; pointer-events: none; opacity: 0; transform: translateX(-12px); transition: opacity .3s ease, transform .45s var(--efa-ease); }
.sx-efa .efa-stage[data-fit="compact"][data-fz="1"] .efa-fz { opacity: 1; transform: none; }
.sx-efa .efa-fz-c { position: absolute; left: 0; top: 0; width: 64px; transition: transform .75s var(--efa-ease); display: flex; align-items: center; padding: 0 6px 0 9px; font-family: var(--efa-font); font-size: 11px; line-height: 1.1; white-space: nowrap; color: var(--efa-ink); background: var(--efa-sf); box-shadow: inset 0 -1px 0 var(--efa-line), 1px 0 0 var(--efa-line2), 6px 0 10px -6px var(--efa-fz-sh); }
.sx-efa .efa-fz-h { background: var(--efa-sf2); font-size: 10px; font-weight: 600; color: var(--efa-ink2); white-space: normal; }
.sx-efa .efa-fz-l { font-weight: 600; }
.sx-efa .efa-stage[data-lift="1"] .efa-fz-o { color: color-mix(in srgb, var(--efa-ink) 42%, var(--efa-sf)); }
/* ferestrele, în vizor: așezare proprie, scrisul rămâne citibil */
.sx-efa .efa-stage[data-fit="compact"] .efa-ov { font-family: var(--efa-font); font-variant-numeric: tabular-nums; color: var(--efa-ink); }
.sx-efa .efa-stage[data-fit="compact"] .efa-ov :where(p) { margin: 0; }
.sx-efa .efa-stage[data-fit="compact"] .efa-dlg { left: 6px; right: 6px; width: auto; top: 6px; border-radius: 10px; }
.sx-efa .efa-stage[data-fit="compact"] .efa-dlg-h b { font-size: 12px; }
.sx-efa .efa-stage[data-fit="compact"] .efa-dlg-x { top: 7px; right: 8px; width: 16px; height: 16px; }
.sx-efa .efa-stage[data-fit="compact"] .efa-dlg-f { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px 6px; padding: 7px 9px 4px; }
.sx-efa .efa-stage[data-fit="compact"] .efa-f { grid-template-columns: minmax(0, 1fr); row-gap: 2px; grid-column: auto; }
.sx-efa .efa-stage[data-fit="compact"] .efa-f > label { text-align: left; font-size: 9px; }
.sx-efa .efa-stage[data-fit="compact"] .efa-f .efa-bt { display: none; }
.sx-efa .efa-stage[data-fit="compact"] .efa-in { height: 20px; font-size: 10px; padding: 0 5px; }
.sx-efa .efa-stage[data-fit="compact"] :is(.efa-f--data, .efa-f--scad, .efa-f--tip, .efa-f--mon, .efa-f--rata, .efa-f--ttva, .efa-f--nfi, .efa-f--dfi, .efa-f--reg, .efa-f--adr, .efa-f--iban) { display: none; }
.sx-efa .efa-stage[data-fit="compact"] .efa-f--nr { order: 1; }
.sx-efa .efa-stage[data-fit="compact"] .efa-f--ref { order: 2; }
.sx-efa .efa-stage[data-fit="compact"] .efa-f--pdf { order: 3; }
.sx-efa .efa-stage[data-fit="compact"] .efa-f--cl { order: 4; grid-column: span 3; }
.sx-efa .efa-stage[data-fit="compact"] .efa-dlg-t { margin: 4px 9px 0; }
.sx-efa .efa-stage[data-fit="compact"] .efa-dlg-t::after { display: none; }
.sx-efa .efa-stage[data-fit="compact"] .efa-lr--h { display: none; }
.sx-efa .efa-stage[data-fit="compact"] .efa-lr--l { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px 5px; padding: 5px 0 0; }
.sx-efa .efa-stage[data-fit="compact"] .efa-lr--l > .efa-in { height: auto; min-height: 20px; padding: 3px 5px; flex-direction: column; align-items: flex-start; gap: 0; white-space: normal; line-height: 1.2; }
.sx-efa .efa-stage[data-fit="compact"] .efa-lr--l > .efa-in::before { content: attr(data-l); font-size: 8.5px; font-weight: 600; color: var(--efa-ink3); }
.sx-efa .efa-stage[data-fit="compact"] .efa-lr--l > .efa-in.is-r { align-items: flex-end; }
.sx-efa .efa-stage[data-fit="compact"] .efa-l-den, .sx-efa .efa-stage[data-fit="compact"] .efa-l-desc { grid-column: span 6; }
.sx-efa .efa-stage[data-fit="compact"] .efa-l-desc { word-break: break-all; }
.sx-efa .efa-stage[data-fit="compact"] :is(.efa-l-um, .efa-l-qty) { grid-column: span 1; }
.sx-efa .efa-stage[data-fit="compact"] :is(.efa-l-pu, .efa-l-pct, .efa-l-vat) { grid-column: span 2; }
.sx-efa .efa-stage[data-fit="compact"] .efa-l-ext { display: none; }
.sx-efa .efa-stage[data-fit="compact"] .efa-l-cat { grid-column: span 4; }
.sx-efa .efa-stage[data-fit="compact"] .efa-dlg-sum { display: none; }
.sx-efa .efa-stage[data-fit="compact"] .efa-dlg-ft { padding: 6px 9px 7px; margin-top: 6px; }
.sx-efa .efa-stage[data-fit="compact"] :is(.efa-dlg-ft .efa-hold, .efa-dlg-ft .efa-add) { display: none; }
.sx-efa .efa-stage[data-fit="compact"] .efa-ft-tot { display: flex; align-items: baseline; gap: 6px; margin-right: auto; font-size: 10.5px; color: var(--efa-ink2); }
.sx-efa .efa-stage[data-fit="compact"] .efa-ft-tot b { font-size: 12px; color: var(--efa-ink); }
.sx-efa .efa-stage[data-fit="compact"] .efa-err { left: 8px; right: 8px; width: auto; margin-left: 0; top: 96px; }
.sx-efa .efa-stage[data-fit="compact"] .efa-alert { top: 14px; }
.sx-efa .efa-stage[data-fit="compact"] .efa-note { left: 8px; right: 8px; bottom: 8px; max-width: none; font-size: 12px; }
.sx-efa .efa-stage[data-fit="compact"] .efa-note--err { top: auto; bottom: 10px; margin-left: 0; }
.sx-efa .efa-stage[data-fit="compact"] .efa-zip { right: 8px; left: 8px; bottom: 8px; flex-wrap: wrap; row-gap: 4px; }
.sx-efa .efa-stage[data-fit="compact"] .efa-zip-d { flex: 1 0 100%; display: flex; flex-wrap: wrap; column-gap: 14px; margin: 0; padding: 0 0 0 36px; box-shadow: none; }

@media (max-width: 640px) {
  .sx-efa .efa-strip { flex-wrap: wrap; row-gap: 8px; align-items: center; }
  .sx-efa.efa-js .efa-strip { padding-bottom: 42px; }
  .sx-efa .efa-nav { flex: 1 1 100%; gap: 3px; flex-wrap: nowrap; }
  .sx-efa .efa-nb-n { width: 36px; height: 36px; font-size: 14px; }
  .sx-efa .efa-yb { margin-left: 3px; }
  .sx-efa .efa-yb .efa-nb-n { display: none; }
  .sx-efa .efa-yb-b { height: 36px; padding: 0 9px 0 8px; }
  .sx-efa .efa-cnt { position: absolute; left: 2px; bottom: 12px; margin: 0; }
  .sx-efa.efa-js .efa-anaf { position: absolute; right: 0; bottom: 12px; margin: 0 4px 0 0; font-size: 12.5px; }
  .sx-efa .efa-caps { grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
  /* frazele pe telefon: 16 px peste tot (ca restul paginii) */
  .sx-efa .efa-cap-b > p, .sx-efa .efa-cap-b > p.efa-src { font-size: 16px; }
  .sx-efa .efa-seg button { min-height: 44px; padding: 8px 11px; font-size: 16px; }
  .sx-efa .efa-ctl-q { flex: 1 1 100%; font-size: 16px; }
  .sx-efa .efa-foot { font-size: 16px; }
}

/* ---------- 12. Mișcare redusă: stările se schimbă pe loc, fără drum și fără clipiri ---------- */
@media (prefers-reduced-motion: reduce) {
  .sx-efa .efa-stage .efa-cv, .sx-efa .efa-fz, .sx-efa .efa-fz-c, .sx-efa .efa-pop, .sx-efa .efa-zip-d, .sx-efa .efa-cap, .sx-efa .efa-live::before,
  .sx-efa .efa-tr--o, .sx-efa .efa-tr--o::after, .sx-efa .efa-scrim, .sx-efa :is(.efa-tr--h, .efa-tr--f, .efa-flt > *) { transition: none !important; }
  .sx-efa .efa-nb-n::before, .sx-efa .efa-nb-n::after, .sx-efa .efa-nd { transition: none !important; }
  .sx-efa .is-flash, .sx-efa .efa-b.is-press, .sx-efa .efa-b.is-press::after, .sx-efa .efa-yb.is-ready .efa-yb-b::after,
  .sx-efa .efa-okc, .sx-efa .efa-s, .sx-efa .efa-bg, .sx-efa .efa-anaf-n::after { animation: none !important; }
  .sx-efa .efa-trip { display: none; }
}

/* [integrare 19.10] 360 px: cele 7 butoane ale pașilor nu încăpeau pe un rând (pagina se lărgea la 371 px): bulinele 32 px, butonul galben mai îngust */
@media (max-width: 380px) {
  .sx-efa .efa-nb-n { width: 32px; height: 32px; font-size: 13px; }
  .sx-efa .efa-yb-b { height: 32px; padding: 0 7px 0 6px; }
}
