/* ═══════════════════════════════════════════════════════════════════════════
   Kelox 2030 · Noapte — pasul 543.
   El (10.10): „implementează în aplicaţie, arată foarte bine; nu pierde nimic
   din ce era, asta e doar interfaţa”; „doar Noapte (şi Luminos), dar să am şi
   paleta de culori cu culori 2030 pentru cine vrea să aleagă”.

   Se încarcă după app.css şi schimbă doar aspectul: culorile (variabilele din
   app.css, inclusiv cele --c-xxxxxx ale pasului 485, care intră şi în stilurile
   scrise din JS), literele, şi forma pieselor. Nicio regulă nu ascunde sau mută
   un buton, un câmp sau o coloană.

   Ordinea: 1 culori (Noapte / fundaluri / Luminos / culorile alese)
            2 litere   3 cadrul (meniu, antet, file de modul)
            4 piese (carduri, butoane, câmpuri, tabele, ferestre)
            5 ecranul de intrare şi alegerea modulului
   Selectorii sunt mai tari decât cei din app.css (html:root…), ca să nu fie
   nevoie de !important decât unde app.css sau JS pun culoarea direct.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Pasul 857 — el (02.11, decizia 35): textele gri (--sub, --n-faint) cu o treaptă mai închise / mai luminoase:
   --sub ≥ 6:1 şi --n-faint ≥ 4,5:1 (AA) pe fundal, carduri şi --bg4, în toate temele. */
/* ── 1 · Culori ─────────────────────────────────────────────────────────── */
html:root{
  color-scheme:dark;
  --bg:#07080b; --bg2:#0b0d12; --bg3:#0e1117; --bg4:#141922; --bg5:#1b2130; --inp:#0b0d12;
  --card-bg:var(--bg3); --card-bg2:var(--bg3);
  --ink-rgb:231,234,242; --brd:#1b2130; --brd2:#283043;
  --cyan:#8fa8ff; --acc-rgb:143,168,255; --acc2:#6f8cff;
  --grn:#2dd4bf; --mag:#c4a7ff; --yel:#f5b342; --pur:#8fa8ff; --ora:#ff9358; --red:#ff6b6b; --blu:#7cb4ff; --indigo:#8fa8ff;
  --txt:#e7eaf2; --txt2:#c3cad8; --txt3:#a3abbd; --sub:#8f97aa; --n-faint:#7a8196; --n-acc-ink:#07080b;
  --grn-rgb:45,212,191; --blu-rgb:124,180,255;   /* pasul 546: nuanţele transparente ale culorilor scrise înainte direct */
  --sale-c:#2dd4bf; --purch-c:#8fa8ff; --stock-c:#7cb4ff; --doc-c:#2dd4bf; --log-c:#f5b342; --acc-c:#f5b342; --pay-c:#c4a7ff;
  --radius:12px; --radius-lg:16px;
  --shadow:0 1px 0 rgba(255,255,255,.02); --shadow-lg:0 30px 80px -20px rgba(0,0,0,.7);
  --n-font:"Hanken Grotesk","Segoe UI",system-ui,sans-serif;
  --n-disp:"Unbounded","Segoe UI",system-ui,sans-serif;
  --n-mono:"Martian Mono","Cascadia Mono",Consolas,monospace;
  /* culorile vii scrise în ecrane, aduse în paleta 2030 (pe Luminos rămân cele închise din app.css) */
  --c-22c55e:#2dd4bf; --c-1d9e75:#2dd4bf; --c-34d399:#2dd4bf; --c-4ade80:#5eead4; --c-10b981:#2dd4bf; --c-39ff88:#5eead4; --c-25d366:#2dd4bf; --c-14b8a6:#2dd4bf;
  --c-06b6d4:#8fa8ff; --c-22d3ee:#8fa8ff; --c-00e5ff:#8fa8ff; --c-38bdf8:#7cb4ff;
  --c-4a9fd4:#7cb4ff; --c-60a5fa:#7cb4ff; --c-63b3ed:#7cb4ff;
  --c-ef4444:#ff6b6b; --c-e24b4a:#ff6b6b; --c-f87171:#ff8a8a; --c-ff3d71:#ff6b81; --c-fca5a5:#ffb3b3;
  --c-f59e0b:#f5b342; --c-fbbf24:#f7c766; --c-ef9f27:#f5b342; --c-eab308:#f5b342; --c-facc15:#f7c766; --c-ffd60a:#f7c766; --c-fde047:#f7c766;
  --c-f97316:#ff9358; --c-e07b39:#ff9358; --c-a78bfa:#c4a7ff; --c-ff2e97:#ff7ab6; --c-94a3b8:#8a93a8;
}
/* fundalurile din paletă, în varianta 2030 (aceleaşi chei ca la pasul 487) */
html:root[data-fundal="grafit"]{--bg:#0c0c0e;--bg2:#101012;--bg3:#151518;--bg4:#1c1c20;--bg5:#25252a;--inp:#101012;--brd:#212126;--brd2:#2d2d34}
html:root[data-fundal="albastru"]{--bg:#060a14;--bg2:#09101d;--bg3:#0d1526;--bg4:#131c31;--bg5:#1a253f;--inp:#09101d;--brd:#18223a;--brd2:#223050}
html:root[data-fundal="verde"]{--bg:#060c0b;--bg2:#0a1210;--bg3:#0e1815;--bg4:#14201c;--bg5:#1b2a25;--inp:#0a1210;--brd:#172521;--brd2:#21342e}
html:root[data-fundal="violet"]{--bg:#0a0812;--bg2:#0f0c1a;--bg3:#140f22;--bg4:#1b152d;--bg5:#231c3a;--inp:#0f0c1a;--brd:#211a35;--brd2:#2d2448}
html:root[data-fundal="roz"]{--bg:#0e080b;--bg2:#140b10;--bg3:#1a0f15;--bg4:#22141c;--bg5:#2c1a24;--inp:#140b10;--brd:#2a1820;--brd2:#3a222d}
html:root[data-fundal="cald"]{--bg:#0d0b09;--bg2:#13110e;--bg3:#191612;--bg4:#201c17;--bg5:#29241e;--inp:#13110e;--brd:#26211b;--brd2:#352e25}
/* Luminos 2030 */
html:root[data-tema="luminos"]{
  color-scheme:light;
  --bg:#f3f4f7; --bg2:#ffffff; --bg3:#ffffff; --bg4:#eef0f5; --bg5:#e3e6ee; --inp:#ffffff; --card-bg:#ffffff; --card-bg2:#ffffff;
  --ink-rgb:15,23,42; --brd:#e2e5ee; --brd2:#d3d8e4;
  --txt:#0d1220; --txt2:#2a3245; --txt3:#3d465b; --sub:#525a6d; --n-faint:#646c7f; --n-acc-ink:#ffffff;
  --grn:#0f766e; --yel:#b45309; --ora:#c2410c; --red:#dc2626; --blu:#2563eb; --mag:#7c3aed; --indigo:#4361ee; --pur:#4361ee;
  --grn-rgb:15,118,110; --blu-rgb:37,99,235;
  --sale-c:#0f766e; --purch-c:#4361ee; --stock-c:#2563eb; --doc-c:#0f766e; --log-c:#b45309; --acc-c:#b45309; --pay-c:#7c3aed;
  --shadow:0 1px 2px rgba(15,23,42,.06); --shadow-lg:0 30px 80px -24px rgba(15,23,42,.25);
}
html:root[data-tema="luminos"]:not([data-accent]){--cyan:#4361ee;--acc-rgb:67,97,238;--acc2:#3049c9}
/* culorile din paletă — 2030: pe Noapte luminoase, pe Luminos închise (contrast ≥ 4.5 pe alb) */
html:root[data-accent="turcoaz"]{--cyan:#2dd4bf;--acc-rgb:45,212,191;--acc2:#14b8a6;--sale-c:#2dd4bf;--doc-c:#2dd4bf}
html:root[data-accent="albastru"]{--cyan:#7cb4ff;--acc-rgb:124,180,255;--acc2:#4f8ff0;--sale-c:#7cb4ff;--doc-c:#7cb4ff}
html:root[data-accent="violet"]{--cyan:#c4a7ff;--acc-rgb:196,167,255;--acc2:#9f7bf0;--sale-c:#c4a7ff;--doc-c:#c4a7ff}
html:root[data-accent="roz"]{--cyan:#ff7ab6;--acc-rgb:255,122,182;--acc2:#e0558f;--sale-c:#ff7ab6;--doc-c:#ff7ab6}
html:root[data-accent="teracota"]{--cyan:#ff8a6b;--acc-rgb:255,138,107;--acc2:#e06a4a;--sale-c:#ff8a6b;--doc-c:#ff8a6b}
html:root[data-accent="auriu"]{--cyan:#f5c66b;--acc-rgb:245,198,107;--acc2:#d9a441;--sale-c:#f5c66b;--doc-c:#f5c66b}
html:root[data-accent="portocaliu"]{--cyan:#ff9358;--acc-rgb:255,147,88;--acc2:#e67536;--sale-c:#ff9358;--doc-c:#ff9358}
html:root[data-accent="rosu"]{--cyan:#ff6b81;--acc-rgb:255,107,129;--acc2:#e04a62;--sale-c:#ff6b81;--doc-c:#ff6b81}
html:root[data-tema="luminos"][data-accent="turcoaz"]{--cyan:#0f766e;--acc-rgb:15,118,110;--acc2:#0b5c56;--sale-c:#0f766e;--doc-c:#0f766e}
html:root[data-tema="luminos"][data-accent="albastru"]{--cyan:#2563eb;--acc-rgb:37,99,235;--acc2:#1d4ed8;--sale-c:#2563eb;--doc-c:#2563eb}
html:root[data-tema="luminos"][data-accent="violet"]{--cyan:#7c3aed;--acc-rgb:124,58,237;--acc2:#6d28d9;--sale-c:#7c3aed;--doc-c:#7c3aed}
html:root[data-tema="luminos"][data-accent="roz"]{--cyan:#be185d;--acc-rgb:190,24,93;--acc2:#9d174d;--sale-c:#be185d;--doc-c:#be185d}
html:root[data-tema="luminos"][data-accent="teracota"]{--cyan:#c2410c;--acc-rgb:194,65,12;--acc2:#9a3412;--sale-c:#c2410c;--doc-c:#c2410c}
html:root[data-tema="luminos"][data-accent="auriu"]{--cyan:#a16207;--acc-rgb:161,98,7;--acc2:#854d0e;--sale-c:#a16207;--doc-c:#a16207}
html:root[data-tema="luminos"][data-accent="portocaliu"]{--cyan:#b45309;--acc-rgb:180,83,9;--acc2:#92400e;--sale-c:#b45309;--doc-c:#b45309}
html:root[data-tema="luminos"][data-accent="rosu"]{--cyan:#be123c;--acc-rgb:190,18,60;--acc2:#9f1239;--sale-c:#be123c;--doc-c:#be123c}

html:root:root body{background:var(--bg);color:var(--txt);font-family:var(--n-font);letter-spacing:0}
::selection{background:rgba(var(--acc-rgb),.3)}   /* pasul 1040: fără „html:root:root ” în faţă — cu el, Chrome calcula stilul selecţiei la fiecare element (lista de clienţi: +0,25 s); aici, după app.css, câştigă oricum */
html:root:root *{scrollbar-width:thin;scrollbar-color:var(--brd2) transparent}

/* ── 2 · Litere ─────────────────────────────────────────────────────────── */
html:root:root input,html:root:root select,html:root:root textarea,html:root:root button{font-family:var(--n-font)}
html:root:root .kpi-val,html:root:root .stat-value{font-family:var(--n-mono);letter-spacing:-.03em;font-weight:500}
html:root:root .kpi-val{font-size:1.2rem}
html:root:root .stat-value{font-size:1.05rem}
html:root:root td,html:root:root .mono,html:root:root .r,html:root:root .nr{font-variant-numeric:tabular-nums}

/* ── 3 · Cadrul ─────────────────────────────────────────────────────────── */
html:root:root .sidebar{background:var(--bg);border-right:1px solid var(--brd)}
html:root:root .sb-brand{border-bottom:1px solid var(--brd);padding:14px 16px 13px;gap:11px}
html:root:root .sb-logo{width:32px;height:32px;border:0;border-radius:9px;background:none}
html:root:root .sb-logo svg{width:32px;height:32px}
html:root:root .sb-brand-name{font-family:var(--n-disp);font-weight:600;font-size:1.02rem;letter-spacing:-.035em;text-transform:lowercase;color:var(--txt)}
html:root:root .sb-brand-sub{font-family:var(--n-mono);font-size:.54rem;letter-spacing:.1em;color:var(--sub);margin-top:3px}
html:root:root .sb-group-hdr{font-family:var(--n-mono);font-size:.56rem;letter-spacing:.06em;color:var(--n-faint)}
html:root:root .sb-item{color:var(--sub);border-radius:9px;margin:1px 8px;padding:7px 10px 7px 12px;font-size:.84rem;font-weight:500}
html:root:root .sb-item:hover{background:var(--bg4);color:var(--txt)}
html:root:root .sb-icon{background:transparent;box-shadow:none}
html:root:root .sb-icon i{color:inherit}
html:root:root .sb-item.active,html:root:root .sb-item.sale-item.active,html:root:root .sb-item.purch-item.active,html:root:root .sb-item.stock-item.active{
  background:rgba(var(--acc-rgb),.12);color:color-mix(in srgb,var(--cyan) 62%,var(--txt));font-weight:600}
html:root:root .sb-item.active::before,html:root:root .sb-item.sale-item.active::before,html:root:root .sb-item.purch-item.active::before,html:root:root .sb-item.stock-item.active::before{
  background:var(--cyan);box-shadow:none;width:2px;left:-8px;top:18%;bottom:18%}
html:root:root .sb-item.active .sb-icon,html:root:root .sb-item.sale-item.active .sb-icon,html:root:root .sb-item.purch-item.active .sb-icon,html:root:root .sb-item.stock-item.active .sb-icon{background:transparent;box-shadow:none}
html:root:root .sb-item.active .sb-icon i,html:root:root .sb-item.sale-item.active .sb-icon i,html:root:root .sb-item.purch-item.active .sb-icon i,html:root:root .sb-item.stock-item.active .sb-icon i{color:var(--cyan)}
html:root:root .sb-item.section-active,html:root:root .sb-item.sb-parent-active{background:transparent;color:var(--txt)}
html:root:root .sb-item.section-active::before,html:root:root .sb-item.sb-parent-active::before{display:none}
html:root:root .sb-item.section-active .sb-label,html:root:root .sb-item.sale-item.section-active .sb-label,html:root:root .sb-item.purch-item.section-active .sb-label,html:root:root .sb-item.stock-item.section-active .sb-label{color:var(--txt)}
html:root:root .sb-item.section-active .sb-icon i,html:root:root .sb-item.sale-item.section-active .sb-icon i,html:root:root .sb-item.purch-item.section-active .sb-icon i,html:root:root .sb-item.stock-item.section-active .sb-icon i{color:var(--cyan)}
html:root:root .sb-footer{border-top:1px solid var(--brd)}
html:root:root .sb-toggle{border-color:var(--brd);border-radius:9px;color:var(--sub)}
html:root:root .sb-toggle:hover{color:var(--txt);border-color:var(--brd2)}

html:root:root .main-wrap{background:var(--bg)}
html:root:root .hdr{background:var(--bg);border-bottom:1px solid var(--brd);height:56px;padding:0 24px}
html:root:root .hdr-bc-seg{font-weight:600;font-size:.88rem;color:var(--sub)}
html:root:root .hdr-bc-seg.active{color:var(--txt)}
html:root:root .btn-hdr,html:root:root .btn-hdr-module{background:var(--bg3);border:1px solid var(--brd);border-radius:9px;color:var(--txt3);padding:.36rem .8rem;font-weight:500;font-family:var(--n-font)}
html:root:root .btn-hdr:hover,html:root:root .btn-hdr-module:hover{border-color:var(--brd2);color:var(--txt);background:var(--bg4)}
html:root:root .btn-bell{border-radius:9px;border-color:var(--brd);background:var(--bg3);color:var(--txt3)}
html:root:root .btn-bell:hover{border-color:var(--brd2);color:var(--txt)}
html:root:root .hdr-avatar{background:linear-gradient(135deg,#8fa8ff,#2dd4bf);color:#07080b;font-weight:700}
html:root:root .aprobari-n,html:root:root .notif-count{font-family:var(--n-mono);font-size:.62rem}

html:root:root #mod-topbar{background:var(--bg);border-bottom:1px solid var(--brd)}
html:root:root .mod-tab{border:0!important;border-radius:999px;padding:6px 13px;font-size:.8rem;font-weight:500;color:var(--sub)!important}
html:root:root .mod-tab:hover{background:var(--bg4);color:var(--txt)!important}
html:root:root .mod-tab.active{background:var(--bg4)!important;color:var(--txt)!important;font-weight:600;box-shadow:inset 0 0 0 1px var(--brd2)}
html:root:root .mod-dot{opacity:1!important}

/* ── 4 · Piese ──────────────────────────────────────────────────────────── */
html:root:root .content{padding:24px 28px;gap:18px}
html:root:root .view.active{gap:18px}
html:root:root .page-title{font-family:var(--n-disp);font-weight:600;font-size:1.05rem;letter-spacing:-.03em;color:var(--txt)!important;text-shadow:none}
html:root:root .page-title i,html:root:root .page-title .ti{color:var(--cyan)}
html:root:root .page-sub{color:var(--sub);font-size:.8rem}

html:root:root .card,html:root:root .dash-section,html:root:root .tbl-wrap,html:root:root .stat-card,html:root:root .kpi,html:root:root .kpi-card,html:root:root .chart-card{
  background:var(--bg3);border:1px solid var(--brd);border-radius:14px;box-shadow:var(--shadow)}
html:root:root .card:hover,html:root:root .kpi:hover,html:root:root .kpi-card:hover,html:root:root .chart-card:hover{border-color:var(--brd2);box-shadow:var(--shadow);transform:none}
html:root:root .kpi::before,html:root:root .kpi-card::before,html:root:root .kpi::after{display:none}
html:root:root .kpi{padding:16px 16px 14px}
html:root:root .kpi-icon{opacity:.35;color:var(--sub)!important}
html:root:root .kpi-lbl,html:root:root .stat-label,html:root:root .card-title,html:root:root .fld label,html:root:root .fld-label{
  font-family:var(--n-mono);font-size:.6rem!important;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:var(--sub)}
html:root:root .kpi-sub{color:var(--sub)}

html:root:root .btn{background:var(--bg4);border:1px solid var(--brd2);color:var(--txt2);border-radius:10px;font-weight:600;font-size:.8rem;box-shadow:none}
html:root:root .btn:hover{background:var(--bg5);color:var(--txt);transform:none}
html:root:root .btn-primary{background:var(--cyan);border-color:var(--cyan);color:var(--n-acc-ink);box-shadow:none}
html:root:root .btn-primary:hover{background:var(--cyan);color:var(--n-acc-ink);filter:brightness(1.1);box-shadow:none}
html:root:root .btn-green{background:var(--grn);border-color:var(--grn);color:var(--n-acc-ink);box-shadow:none}
html:root:root .btn-green:hover{background:var(--grn);color:var(--n-acc-ink);filter:brightness(1.1);box-shadow:none}
html:root:root .btn-ghost{background:transparent;border-color:transparent;color:var(--sub)}
html:root:root .btn-ghost:hover{background:var(--bg4);color:var(--txt);border-color:var(--brd)}
html:root:root .btn-sm{border-radius:8px}
html:root:root .btn-sm:hover{transform:none}

html:root:root .fld input,html:root:root .fld select,html:root:root .fld textarea,html:root:root .inp,html:root:root .ns-inp,html:root:root .pm-inp{
  background:var(--inp);border:1px solid var(--brd2);border-radius:10px;color:var(--txt)}
html:root:root input:focus,html:root:root select:focus,html:root:root textarea:focus{outline:none;border-color:var(--cyan);box-shadow:0 0 0 3px rgba(var(--acc-rgb),.16)}
html:root:root ::placeholder{color:var(--n-faint)}

html:root:root th,html:root:root .content table thead th{font-family:var(--n-mono);font-size:.58rem;font-weight:500;letter-spacing:.03em;color:var(--sub);background:var(--bg3);border-bottom:1px solid var(--brd);box-shadow:0 1px 0 var(--brd)}
html:root:root td{border-bottom:1px solid rgba(var(--ink-rgb),.05)}
html:root:root .content tbody tr:nth-child(even):not(.no-rows){background:transparent}
html:root:root .content tbody tr:hover:not(.no-rows){background:rgba(var(--acc-rgb),.05)}
html:root:root .tbl-hdr{border-bottom:1px solid var(--brd)}
html:root:root .tbl-count{font-family:var(--n-mono);font-size:.66rem;background:var(--bg4);border:1px solid var(--brd)}
html:root:root .badge{border-radius:999px;font-weight:600;font-size:.7rem}

html:root:root .modal-overlay{background:rgba(3,4,6,.74)}
html:root:root .modal{background:var(--bg3);border:1px solid var(--brd2);border-radius:18px;box-shadow:var(--shadow-lg)}
html:root:root .modal-hdr{border-bottom:1px solid var(--brd);padding:16px 20px}
html:root:root .modal-hdr h3{font-family:var(--n-disp);font-weight:600;font-size:.95rem;letter-spacing:-.02em}

html:root:root .ms-bara{background:var(--bg3);border:1px solid var(--brd);border-radius:14px}
html:root:root .ms-grupa{border-radius:999px;color:var(--sub)}
html:root:root .ms-grupa.act{color:color-mix(in srgb,var(--cyan) 62%,var(--txt));background:rgba(var(--acc-rgb),.12);border-color:transparent}
html:root:root .ms-set-cap{font-family:var(--n-mono);font-size:.55rem;letter-spacing:.05em;color:var(--n-faint)}
html:root:root .ms-chip{border-radius:999px;border-color:var(--brd2);background:var(--inp);color:var(--txt3)}
html:root:root .ms-chip:hover{border-color:rgba(var(--acc-rgb),.5);background:var(--bg4)}
html:root:root .ms-chip.act{background:rgba(var(--acc-rgb),.14);border-color:rgba(var(--acc-rgb),.55);color:color-mix(in srgb,var(--cyan) 62%,var(--txt))}
html:root:root .ms-n{font-family:var(--n-mono);font-size:.62rem}
html:root:root .page-sub-badge{background:var(--bg4);border:1px solid var(--brd);color:var(--txt3)}
html:root:root .notif-drawer,html:root:root .aspect-pop{background:var(--bg3);border-color:var(--brd2)}

/* ── 5 · Ecranul de intrare şi alegerea modulului (rămân mereu Noapte, ca la pasul 489) ── */
html:root:root #login-screen{--ink-rgb:231,234,242;--txt:#e7eaf2;--txt2:#c3cad8;--sub:#8f97aa;--bg:#07080b;--bg2:#0b0d12;--inp:#0b0d12;--cyan:#8fa8ff;--acc-rgb:143,168,255;color-scheme:dark;
  background:radial-gradient(900px 600px at 18% 20%,rgba(91,123,255,.20),transparent 60%),radial-gradient(700px 520px at 85% 85%,rgba(45,212,191,.13),transparent 60%),#07080b}
html:root:root .login-bg-grid,html:root:root .login-bg-glow{display:none}
html:root:root .login-brand-logo{width:72px;height:72px;border:0;border-radius:20px;background:none;box-shadow:0 20px 60px -20px rgba(91,123,255,.55);margin-bottom:22px}
html:root:root .login-brand-logo svg{width:72px;height:72px}
html:root:root .login-brand-name{font-family:var(--n-disp);font-weight:600;font-size:3rem;letter-spacing:-.05em;line-height:1;text-transform:lowercase;color:#e7eaf2;margin-bottom:14px}
html:root:root .login-brand-name br{display:none}
html:root:root .login-brand-name strong{display:block;margin-top:10px;font-family:var(--n-mono);font-weight:500;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#7d869b}
html:root:root .login-brand-tag{font-family:var(--n-font);font-size:.95rem;letter-spacing:0;text-transform:none;color:#a3abbd;line-height:1.5}
html:root:root .login-mod{font-weight:500;color:#a3abbd!important}
html:root:root .login-mod .mod-dot{box-shadow:none}
html:root:root .login-brand-version{font-family:var(--n-mono);font-size:.62rem;color:#59627a;letter-spacing:.04em}
html:root:root .login-divider{background:linear-gradient(to bottom,transparent,#1b2130 30%,#1b2130 70%,transparent)}
html:root:root .login-card{background:rgba(14,17,23,.92);border:1px solid #1b2130;border-radius:20px;box-shadow:0 30px 80px -30px rgba(0,0,0,.8)}
html:root:root .lc-title{font-family:var(--n-disp);font-weight:600;letter-spacing:-.03em}
html:root:root .login-field label{font-family:var(--n-mono);font-size:.6rem;letter-spacing:.06em;color:#7d869b}
html:root:root .login-field input,html:root:root .login-field select{background:#0b0d12;border:1px solid #283043;border-radius:12px;color:#e7eaf2}
html:root:root .login-field input:focus,html:root:root .login-field select:focus{border-color:#8fa8ff;background:#0b0d12;box-shadow:0 0 0 3px rgba(143,168,255,.16)}
html:root:root .login-btn{background:linear-gradient(135deg,#5105e5,#7c4dff);color:#fff;border-radius:12px;font-family:var(--n-font);font-weight:700;box-shadow:0 10px 28px -12px rgba(81,5,229,.75)}   /* pasul 1087: mov Kelox (era albastrul Arc) */
html:root:root .login-btn:hover{opacity:1;filter:brightness(1.08)}
html:root:root .lc-secure-dot{background:#2dd4bf!important;box-shadow:0 0 8px #2dd4bf!important}
html:root:root #module-selector{background:radial-gradient(900px 600px at 30% 25%,rgba(124,77,255,.18),transparent 60%),#07080b!important}

/* ── 6 · Pasul 544: „Caută sau sari" şi „+ Nou" în antet ─────────────────── */
html:root:root .btn-cauta{display:inline-flex;align-items:center;gap:9px;min-width:190px;text-align:left;color:var(--sub);background:var(--inp);border:1px solid var(--brd2);border-radius:10px;padding:.42rem .7rem}
html:root:root .btn-cauta .bc-t{flex:1;font-weight:500}
html:root:root .btn-cauta kbd{font-family:var(--n-mono);font-size:.6rem;border:1px solid var(--brd2);border-radius:5px;padding:1px 5px;color:var(--sub)}
html:root:root .btn-cauta:hover{color:var(--txt);border-color:rgba(var(--acc-rgb),.5)}
html:root:root .btn-nou{background:var(--cyan);border-color:var(--cyan);color:var(--n-acc-ink);font-weight:700;border-radius:10px;padding:.42rem .9rem}
html:root:root .btn-nou:hover{background:var(--cyan);color:var(--n-acc-ink);filter:brightness(1.1);border-color:var(--cyan)}
html:root:root #global-search-overlay > div{background:var(--bg3)!important;border-color:var(--brd2)!important;border-radius:18px!important;box-shadow:var(--shadow-lg)!important}
html:root:root #gs-input{font-size:1.05rem!important;color:var(--txt)!important}
html:root:root .gs-grup{font-family:var(--n-mono);font-size:.58rem;letter-spacing:.06em;text-transform:uppercase;color:var(--n-faint);padding:10px 14px 4px}
html:root:root .gs-r{display:flex;align-items:center;gap:12px;padding:9px 12px;margin:2px 6px;border-radius:10px;cursor:pointer}
html:root:root .gs-r:hover{background:var(--bg4)}
html:root:root .gs-r.on{background:rgba(var(--acc-rgb),.13)}
html:root:root .gs-ic{width:30px;height:30px;border-radius:8px;background:var(--bg4);display:grid;place-items:center;color:var(--cyan);flex:none}
html:root:root .gs-ic i{font-size:1rem}
html:root:root .gs-t{flex:1;min-width:0;display:flex;flex-direction:column}
html:root:root .gs-t b{font-size:.9rem;color:var(--txt);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root:root .gs-t small{font-size:.74rem;color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root:root .gs-tip{font-family:var(--n-mono);font-size:.58rem;color:var(--sub);border:1px solid var(--brd2);border-radius:6px;padding:2px 6px}
html:root:root .gs-gol{color:var(--sub);font-size:.85rem;padding:1rem;text-align:center}
html:root:root .gs-gol.mic{font-size:.75rem;padding:.5rem}
html:root:root .salt-nou{position:fixed;z-index:10060;width:320px;max-height:70vh;overflow:auto;background:var(--bg3);border:1px solid var(--brd2);border-radius:16px;box-shadow:var(--shadow-lg);padding:8px;display:none}
html:root:root .salt-nou.deschis{display:block}
html:root:root .sn-grup{font-family:var(--n-mono);font-size:.56rem;letter-spacing:.06em;text-transform:uppercase;color:var(--n-faint);padding:10px 10px 4px}
html:root:root .sn-i{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;color:var(--txt2);font:500 .85rem var(--n-font);padding:7px 10px;border-radius:9px;cursor:pointer;text-align:left}
html:root:root .sn-i:hover{background:rgba(var(--acc-rgb),.12);color:var(--txt)}
html:root:root .sn-ic{width:26px;height:26px;border-radius:7px;background:var(--bg4);display:grid;place-items:center;color:var(--cyan);flex:none}
html:root:root .sn-gol{color:var(--sub);padding:12px;font-size:.85rem}
html:root:root .hdr-breadcrumb{flex:1 1 140px;min-width:140px}
html:root:root .hdr .btn-hdr,html:root:root .hdr .btn-bell,html:root:root #hdr-rates,html:root:root #hdr-rates span{white-space:nowrap}

/* ── 7 · Pasul 545: „Ce contează azi” deasupra dashboardurilor ─────────────── */
html:root:root .azi{display:flex;gap:16px;align-items:flex-start;background:var(--bg3);border:1px solid var(--brd);border-radius:16px;padding:16px 18px}
html:root:root .azi-orb{width:44px;height:44px;border-radius:50%;flex:none;margin-top:2px;
  background:conic-gradient(from 210deg,#7c4dff,#5105e5,#b79cff,#7c4dff);box-shadow:0 0 0 6px rgba(var(--acc-rgb),.08),0 10px 30px -10px rgba(124,77,255,.6)}
html:root:root .azi-c{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
html:root:root .azi-cap{display:flex;align-items:baseline;gap:10px;font-family:var(--n-mono);font-size:.6rem;letter-spacing:.06em;text-transform:uppercase;color:var(--sub)}
html:root:root .azi-cap small{text-transform:none;letter-spacing:0;font-family:var(--n-font);font-size:.75rem;color:var(--n-faint)}
html:root:root .azi-rand{display:flex;align-items:center;gap:12px;background:var(--bg4);border:1px solid var(--brd);border-radius:12px;padding:9px 10px 9px 12px;flex-wrap:wrap}
html:root:root .azi-pastila{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;border-radius:999px;padding:3px 10px;white-space:nowrap}
html:root:root .azi-pastila::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
html:root:root .ton-rau .azi-pastila{color:var(--red);background:rgba(255,107,107,.12)}
html:root:root .ton-atent .azi-pastila{color:var(--yel);background:rgba(245,179,66,.12)}
html:root:root .ton-info .azi-pastila{color:var(--cyan);background:rgba(var(--acc-rgb),.12)}
html:root:root .azi-t{flex:1;min-width:220px;display:flex;flex-direction:column}
html:root:root .azi-t b{font-weight:600;color:var(--txt);font-size:.88rem}
html:root:root .azi-t small{color:var(--sub);font-size:.76rem}
html:root:root .azi-btn{background:var(--bg3);border-radius:999px}
html:root:root .azi-gol{color:var(--grn);font-weight:600;font-size:.86rem;display:flex;align-items:center;gap:8px}

/* ── 8 · Pasul 546: mesajele (toast) cu iconiţele temei, nu cu emoji ─────────── */
html:root:root .toast{display:flex;align-items:flex-start;gap:9px;background:var(--bg3);border-color:var(--brd2);border-radius:12px}
html:root:root .toast .toast-ic{font-size:1rem;line-height:1.2;flex:none}
html:root:root .toast.ok .toast-ic{color:var(--grn)}html:root:root .toast.err .toast-ic{color:var(--red)}html:root:root .toast.info .toast-ic{color:var(--cyan)}html:root:root .toast.warn .toast-ic{color:var(--yel)}

/* ── 9 · Pasul 548: emoji-urile vechi devin iconiţele temei (static/js/iconite.js) ── */
html:root:root .ti.tv-emo{font-size:1.06em;line-height:1;vertical-align:-.13em;display:inline-block}
html:root:root .tv-punct{font-size:.72em;vertical-align:.04em}
html:root:root .tv-p-rosu{color:var(--red)}html:root:root .tv-p-portocaliu{color:var(--ora)}html:root:root .tv-p-galben{color:var(--yel)}
html:root:root .tv-p-verde{color:var(--grn)}html:root:root .tv-p-albastru{color:var(--blu)}html:root:root .tv-p-mov{color:var(--pur)}
html:root:root .tv-p-alb{color:var(--txt)}html:root:root .tv-p-negru{color:var(--sub)}
html:root:root .tv-cc{display:inline-block;font:600 .68em/1.35 var(--n-mono);letter-spacing:.04em;padding:0 .35em;border:1px solid var(--brd2);
  border-radius:4px;color:var(--txt2);vertical-align:.1em}

/* ── 10 · Pasul 551: încărcarea de după intrare — pe Noapte, cu sigla Arc ────── */
html:root:root #app-loader{--ink-rgb:231,234,242;color-scheme:dark;
  background:radial-gradient(800px 520px at 30% 25%,rgba(124,77,255,.18),transparent 60%),radial-gradient(600px 420px at 80% 85%,rgba(81,5,229,.14),transparent 60%),#07080b}
html:root:root .al-box{width:min(88vw,300px)}
html:root:root .al-logo{width:56px;height:56px;margin:0 auto 18px;border:0;border-radius:16px;background:none;
  box-shadow:0 18px 50px -18px rgba(91,123,255,.6);animation:alRespira 2.6s ease-in-out infinite}
html:root:root .al-logo svg{width:56px;height:56px;display:block}
html:root:root .al-punct{animation:alPunct 1.3s ease-in-out infinite;transform-origin:44.9px 47.3px}
@keyframes alRespira{50%{transform:scale(1.04)}}
@keyframes alPunct{50%{opacity:.35;transform:scale(.7)}}
html:root:root .al-brand{font:600 1.5rem/1 var(--n-disp);letter-spacing:-.045em;color:#e7eaf2;margin-bottom:24px;text-transform:lowercase}
html:root:root .al-brand span{font:500 .56rem/1 var(--n-mono);letter-spacing:.24em;color:#7d869b;margin-top:9px}
html:root:root .al-track{height:2px;background:#1b2130}
html:root:root .al-fill{background:linear-gradient(90deg,#7c4dff,#5105e5 55%,#b79cff)}
html:root:root .al-step{font:500 .66rem/1.4 var(--n-mono);letter-spacing:.03em;color:#7d869b;margin-top:13px}
@media (prefers-reduced-motion:reduce){html:root:root .al-logo,html:root:root .al-punct{animation:none}}

/* ── 11 · Pasul 552: cadrul Kelox 2030 — şina de module, tab-urile, antetul ───────
   El (11.10): „fă exact vizualul din machetă”. Meniul vechi (#sidebar) rămâne în pagină,
   nevăzut — e sursa tab-urilor (sina.js). */
html:root:root body.cu-sina{--hdr-h:62px}
html:root:root body.cu-sina #sidebar{position:absolute!important;left:0;top:0;width:240px!important;min-width:0!important;
  visibility:hidden!important;pointer-events:none!important;z-index:-1}
html:root:root .sina{width:68px;flex:none;display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 0 12px;
  background:var(--bg);border-right:1px solid var(--brd);position:relative;z-index:60}
html:root:root .sina-logo{border:0;background:none;padding:0;margin:0 0 14px;cursor:pointer;position:relative;border-radius:10px}
html:root:root .sina-logo svg{width:36px;height:36px;display:block}
html:root:root .sina-mod,html:root:root .sina-jos{display:flex;flex-direction:column;gap:4px;align-items:center}
html:root:root .sina-sp{flex:1}
html:root:root .sina-b{position:relative;width:44px;height:44px;border-radius:11px;border:0!important;background:none!important;color:var(--sub)!important;
  display:grid!important;place-items:center;cursor:pointer;padding:0!important;font-size:0!important;box-shadow:none!important;transition:color .15s,background .15s}
html:root:root .sina-b i{font-size:21px!important;line-height:1;margin:0!important}
html:root:root .sina-b:hover{color:var(--txt)!important;background:var(--bg4)!important}
html:root:root .sina-b.act{color:var(--cyan)!important;background:rgba(var(--acc-rgb),.12)!important}
html:root:root .sina-b.act::before{content:"";position:absolute;left:-12px;top:11px;bottom:11px;width:2px;border-radius:2px;background:var(--cyan)}
html:root:root .sina-b .aprobari-n,html:root:root .sina-b .notif-count{position:absolute;top:4px;right:3px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;
  background:var(--red);color:#fff;font:600 .58rem/16px var(--n-mono);text-align:center}
html:root:root #btn-aprobari.sina-b .aprobari-n{background:var(--yel);color:#07080b}
html:root:root .sina [data-nume]:hover::after{content:attr(data-nume);position:absolute;left:calc(100% + 14px);top:50%;transform:translateY(-50%);white-space:nowrap;
  background:var(--bg3);border:1px solid var(--brd2);color:var(--txt);font:600 .78rem/1 var(--n-font);letter-spacing:0;padding:8px 11px;border-radius:9px;
  box-shadow:var(--shadow-lg);pointer-events:none;z-index:200}
html:root:root .sina-eu{position:relative;border:0;background:none;padding:6px 0 0;cursor:pointer}
html:root:root .sina-av{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#8fa8ff,#2dd4bf);color:#07080b;
  font:700 .74rem/34px var(--n-font);text-align:center;display:inline-block;letter-spacing:.02em}
html:root:root .sina-av.mare{width:40px;height:40px;line-height:40px;font-size:.82rem;flex:none}
html:root:root .sina-punct{position:absolute;right:-1px;top:6px;width:9px;height:9px;border-radius:50%;background:var(--yel);border:2px solid var(--bg)}
html:root:root .sina-pop{position:fixed;left:78px;bottom:14px;width:260px;background:var(--bg3);border:1px solid var(--brd2);border-radius:16px;
  box-shadow:var(--shadow-lg);padding:8px;display:none;z-index:10070}
html:root:root .sina-pop.deschis{display:block}
html:root:root .sp-cap{display:flex;align-items:center;gap:11px;padding:8px 8px 12px;border-bottom:1px solid var(--brd);margin-bottom:6px}
html:root:root .sp-cap b{display:block;font-size:.9rem;color:var(--txt)}html:root:root .sp-cap small{color:var(--sub);font-size:.74rem}
html:root:root .sp-i{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;color:var(--txt2);font:500 .86rem var(--n-font);
  padding:9px 10px;border-radius:9px;cursor:pointer;text-align:left}
html:root:root .sp-i i{font-size:17px;color:var(--sub)}
html:root:root .sp-i:hover{background:rgba(var(--acc-rgb),.12);color:var(--txt)}html:root:root .sp-i:hover i{color:var(--cyan)}
html:root:root .sp-n{margin-left:auto;font:600 .6rem var(--n-mono);background:var(--yel);color:#07080b;border-radius:999px;padding:1px 6px}
html:root:root .sp-sep{height:1px;background:var(--brd);margin:6px 4px}
html:root:root .sp-iesire:hover{background:rgba(255,107,107,.12)}html:root:root .sp-iesire:hover i{color:var(--red)}

/* antetul: doar „Întreabă”, cursul şi „+ Nou” */
html:root:root body.cu-sina .hdr{height:var(--hdr-h);padding:0 24px;gap:12px;background:var(--bg);border-bottom:0}
html:root:root body.cu-sina .hdr-breadcrumb,html:root:root body.cu-sina .hdr .hdr-badge,html:root:root body.cu-sina .hdr-clock,
html:root:root body.cu-sina #btn-reload-data,html:root:root body.cu-sina .hdr-user,html:root:root body.cu-sina #btn-aspect,
html:root:root body.cu-sina #btn-concedii,html:root:root body.cu-sina #mod-topbar{display:none!important}
html:root:root body.cu-sina #btn-global-search{order:1;flex:1 1 380px;max-width:640px;min-width:0;height:42px;border-radius:12px;padding:0 14px;gap:11px;
  background:var(--bg4);border:1px solid var(--brd);color:var(--sub);box-shadow:0 0 40px -12px rgba(var(--acc-rgb),.35)}
html:root:root body.cu-sina #btn-global-search i{color:var(--cyan);font-size:17px}
html:root:root body.cu-sina #btn-global-search .bc-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem}
html:root:root body.cu-sina #btn-global-search:hover{border-color:rgba(var(--acc-rgb),.45);color:var(--txt2)}
html:root:root body.cu-sina #hdr-rates{order:3;margin-left:auto;display:flex!important;gap:6px!important}
html:root:root body.cu-sina #hdr-rates > span:first-child{display:none}
html:root:root body.cu-sina #hdr-rates > span[style*="opacity"]{display:none}
html:root:root body.cu-sina #hdr-rates > span:not(:first-child){font:500 .66rem var(--n-mono)!important;color:var(--txt3)!important;background:var(--bg3);
  border:1px solid var(--brd);border-radius:7px;padding:5px 9px;letter-spacing:.01em}
/* pasul 600: „+ Nou” lângă căutare, mai mic */
html:root:root body.cu-sina #btn-nou{order:2;height:36px;padding:0 12px;border-radius:10px;font-size:.8rem;gap:5px;flex:none}
html:root:root body.cu-sina #btn-nou i{font-size:15px}

/* tab-urile modulului */
html:root:root .taburi{display:flex;align-items:flex-end;gap:18px;padding:0 24px;background:var(--bg);border-bottom:1px solid var(--brd);flex:none;min-height:46px}
html:root:root .tb-mod{font:600 .86rem/1 var(--n-disp);letter-spacing:-.02em;color:var(--txt);white-space:nowrap;padding:0 0 15px}
html:root:root .tb-lista{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;min-width:0;flex:1}
html:root:root .tb-lista::-webkit-scrollbar{display:none}
html:root:root .tb{display:inline-flex;align-items:center;gap:7px;border:0;border-bottom:2px solid transparent;background:none;color:var(--sub);
  font:500 .82rem/1 var(--n-font);padding:9px 11px 13px;white-space:nowrap;cursor:pointer;transition:color .15s,border-color .15s}
html:root:root .tb i{font-size:16px}
html:root:root .tb:hover{color:var(--txt)}
html:root:root .tb.act{color:var(--txt);border-bottom-color:var(--cyan);font-weight:600}
html:root:root .tb.act i{color:var(--cyan)}
html:root:root .tb-n{font:500 .58rem/1.5 var(--n-mono);background:var(--bg4);border:1px solid var(--brd2);border-radius:999px;padding:0 6px;color:var(--txt3)}
html:root:root .tb-chv{font-size:12px!important;opacity:.55;margin-left:-2px}
html:root:root .tb-pop{position:fixed;z-index:10065;min-width:270px;max-width:340px;max-height:72vh;overflow:auto;background:var(--bg3);border:1px solid var(--brd2);
  border-radius:16px;box-shadow:var(--shadow-lg);padding:8px;display:none}
html:root:root .tb-pop.deschis{display:block}
html:root:root .tp-grup{font:500 .56rem var(--n-mono);letter-spacing:.07em;text-transform:uppercase;color:var(--n-faint);padding:12px 10px 5px}
html:root:root .tp-grup:first-child{padding-top:6px}
html:root:root .tp-i{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;color:var(--txt2);font:500 .85rem var(--n-font);
  padding:8px 10px;border-radius:9px;cursor:pointer;text-align:left}
html:root:root .tp-i i{font-size:16px;color:var(--sub);flex:none}
html:root:root .tp-i span{flex:1;min-width:0}
html:root:root .tp-i:hover{background:rgba(var(--acc-rgb),.12);color:var(--txt)}html:root:root .tp-i:hover i{color:var(--cyan)}
html:root:root .tp-i.act{color:var(--cyan)}html:root:root .tp-i.act i{color:var(--cyan)}
html:root:root .tp-sep{height:1px;background:var(--brd);margin:5px 6px}
html:root:root .tp-gol{color:var(--sub);padding:12px;font-size:.85rem}
html:root:root body.cu-sina .content{padding:20px 24px 40px}

@media (max-width:760px){
  html:root:root body.cu-sina #app{flex-direction:column}
  html:root:root .sina{order:2;width:auto;height:58px;flex-direction:row;padding:0 8px;border-right:0;border-top:1px solid var(--brd);overflow-x:auto}
  html:root:root .sina-logo{margin:0 6px 0 0}html:root:root .sina-logo svg{width:30px;height:30px}
  html:root:root .sina-mod,html:root:root .sina-jos{flex-direction:row}
  html:root:root .sina-b.act::before{left:11px;right:11px;top:auto;bottom:-6px;width:auto;height:2px}
  html:root:root .sina [data-nume]:hover::after{display:none}
  html:root:root .sina-pop{left:auto;right:8px;bottom:66px}
  html:root:root .taburi{padding:0 12px;gap:10px}html:root:root .tb-mod{display:none}
  html:root:root body.cu-sina .hdr{padding:0 12px}html:root:root body.cu-sina #hdr-rates{display:none!important}
}
html:root:root .sina .sina-zero{display:none!important}

/* Pasul 599 — el (12.10): Aprobările, clopoţelul şi contul sus în dreapta, în antet, după „+ Nou” */
html:root:root .hdr .hdr-dr{order:4;display:flex;flex-direction:row;align-items:center;gap:8px;margin-left:2px;padding-left:12px;border-left:1px solid var(--brd)}
html:root:root .hdr-dr .sina-b{width:42px;height:42px;border-radius:12px;background:var(--bg3)!important;border:1px solid var(--brd)!important;color:var(--txt3)!important}
html:root:root .hdr-dr .sina-b i{font-size:19px!important}
html:root:root .hdr-dr .sina-b:hover{background:var(--bg4)!important;border-color:rgba(var(--acc-rgb),.45)!important;color:var(--txt)!important}
html:root:root .hdr-dr .sina-b .aprobari-n,html:root:root .hdr-dr .sina-b .notif-count{top:-6px;right:-6px;box-shadow:0 0 0 2px var(--bg)}
html:root:root .hdr-dr .sina-eu{padding:0;margin-left:2px;line-height:0;border-radius:50%}
html:root:root .hdr-dr .sina-av{width:38px;height:38px;line-height:38px;font-size:.76rem;box-shadow:0 0 0 2px var(--bg),0 0 0 3px rgba(var(--acc-rgb),.35);transition:box-shadow .15s}
html:root:root .hdr-dr .sina-eu:hover .sina-av{box-shadow:0 0 0 2px var(--bg),0 0 0 3px var(--cyan)}
html:root:root .hdr-dr .sina-punct{top:-1px;right:-1px}
html:root:root .hdr-dr .sina-zero{display:none!important}
html:root:root .hdr-dr [data-nume]{position:relative}
html:root:root .hdr-dr [data-nume]:hover::after{content:attr(data-nume);position:absolute;top:calc(100% + 10px);right:0;white-space:nowrap;
  background:var(--bg3);border:1px solid var(--brd2);color:var(--txt);font:600 .78rem/1 var(--n-font);letter-spacing:0;padding:8px 11px;border-radius:9px;
  box-shadow:var(--shadow-lg);pointer-events:none;z-index:200}
html:root:root .sina-pop{left:auto;right:16px;bottom:auto;top:calc(var(--hdr-h) + 4px)}
@media (max-width:760px){
  html:root:root .hdr .hdr-dr{padding-left:8px;gap:6px}
  html:root:root .hdr-dr .sina-b{width:38px;height:38px}
  html:root:root .hdr-dr .sina-av{width:34px;height:34px;line-height:34px}
  html:root:root .sina-pop{left:auto;right:8px;bottom:auto;top:calc(var(--hdr-h) + 4px)}
}
html:root:root .tb-lista.strans .tb > i:first-child{display:none}
html:root:root .tb-lista.strans .tb{padding-left:9px;padding-right:9px}
html:root:root .tb-mai{margin-left:auto}

/* ── 12 · Pasul 553: „Acasă” — salutul, cifrele mari, drumul, graficul, lista ─────── */
html:root:root .view.cu-acasa > .page-hdr{align-items:flex-end}
html:root:root .view.cu-acasa > .page-hdr > div:not(.ac-salut):not(.page-actions){display:none}
/* pasul 857 — el (deciziile 22, 38): salutul mic, pe un rând cu data; titlurile mai mici — „Ce contează azi” fără derulare */
html:root:root .ac-salut{flex:1;min-width:0;display:flex;align-items:baseline;flex-wrap:wrap;column-gap:10px;row-gap:2px}
html:root:root .ac-titlu{margin:0;font:600 1.05rem/1.25 var(--n-disp);letter-spacing:-.01em;color:var(--txt);text-wrap:balance}
html:root:root .ac-sub{margin:0;color:var(--sub);font-size:.8rem}
html:root:root .acasa{display:flex;flex-direction:column;gap:14px}
html:root:root .ac-cifre{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
html:root:root .ac-cifre:empty{display:none}
html:root:root .ac-k,html:root:root .ac-panou{background:var(--bg3);border:1px solid var(--brd);border-radius:14px;padding:16px;min-width:0}
html:root:root .ac-k{display:flex;flex-direction:column;gap:2px;transition:border-color .15s}
html:root:root .ac-k.cl{cursor:pointer}html:root:root .ac-k.cl:hover{border-color:var(--brd2)}
html:root:root .ac-et,html:root:root .ac-h{font:500 .62rem/1.3 var(--n-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--sub);margin:0}
html:root:root .ac-h{margin-bottom:12px}
html:root:root .ac-v{font:500 1.42rem/1.15 var(--n-mono);letter-spacing:-.03em;color:var(--txt);margin:8px 0 10px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root:root .ac-v small{font:500 .78rem var(--n-font);color:var(--sub);margin-left:6px;letter-spacing:0}
html:root:root .ac-r{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin-top:auto;min-height:30px}
html:root:root .ac-mic{font-size:.76rem;color:var(--sub);white-space:nowrap}
/* pasul 856: ≈ total EUR mare, sumele pe monede dedesubt; nota o dată pe panou */
html:root:root .ac-aprox{font-size:.8em;color:var(--sub);margin-right:4px}
html:root:root .ac-mon{display:flex;flex-wrap:wrap;gap:2px 12px;margin:-4px 0 8px;font-size:.78rem;color:var(--sub);font-variant-numeric:tabular-nums}
html:root:root .ac-mon b{color:var(--txt);font-weight:600}
html:root:root .ac-mon i{font-style:normal;color:var(--txt3)}
html:root:root .ac-nota{font-size:.74rem;color:var(--sub);margin:-4px 2px 12px}
/* pasul 857 (decizia 19): cardurile şi treptele cu 0 — estompate (gri, fără culoare), rămân pe loc */
html:root:root .ac-k.zero .ac-v,html:root:root .ac-k.zero .ac-mon{color:var(--sub)}
html:root:root .ac-k.zero .ac-pill{color:var(--sub);background:var(--bg4)}
html:root:root .ac-k.zero .ac-spark{opacity:.35;filter:grayscale(1)}
html:root:root .ac-t.zero b{color:var(--sub)}html:root:root .ac-t.zero{opacity:.75}
html:root:root .ac-pill{display:inline-flex;align-items:center;gap:6px;font:500 .62rem/1 var(--n-mono);padding:5px 8px;border-radius:5px;background:var(--bg4);color:var(--txt3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
html:root:root .ac-pill i{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
html:root:root .ac-pill.ok{color:var(--grn);background:rgba(var(--grn-rgb),.12)}
html:root:root .ac-pill.bad{color:var(--red);background:rgba(255,107,107,.12)}
html:root:root .ac-pill.warn{color:var(--yel);background:rgba(245,179,66,.13)}
html:root:root .ac-pill.info{color:var(--cyan);background:rgba(var(--acc-rgb),.12)}
html:root:root .ac-spark{width:92px;height:30px;flex:none}
html:root:root .ac-spark .l{fill:none;stroke:var(--cyan);stroke-width:2}html:root:root .ac-spark .a{fill:rgba(var(--acc-rgb),.14)}html:root:root .ac-spark circle{fill:var(--cyan)}
html:root:root .ac-flux{display:grid;grid-template-columns:repeat(var(--n,8),minmax(0,1fr));gap:6px}
html:root:root .ac-t{padding:12px 10px;border-radius:10px;background:var(--bg4);display:flex;flex-direction:column;gap:4px;min-width:0;border:1px solid transparent}
html:root:root .ac-t.cl{cursor:pointer}html:root:root .ac-t.cl:hover{border-color:var(--brd2)}
html:root:root .ac-t b{font:500 1.15rem/1 var(--n-mono);color:var(--txt)}
html:root:root .ac-t span{font-size:.72rem;color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root:root .ac-bara{height:4px;border-radius:4px;background:var(--brd);overflow:hidden;margin-top:6px}
html:root:root .ac-bara i{display:block;height:100%;background:var(--cyan);border-radius:4px}
html:root:root .ac-t.atentie b{color:var(--yel)}html:root:root .ac-t.atentie .ac-bara i{background:var(--yel)}
html:root:root .ac-doua{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px}
html:root:root .ac-doua.una{grid-template-columns:minmax(0,1fr)}
html:root:root .ac-chart{width:100%;height:190px;display:block}
html:root:root .ac-chart text{fill:var(--sub);font:500 10px var(--n-mono)}html:root:root .ac-chart text.cur{fill:var(--txt)}
html:root:root .ac-chart .gr{stroke:var(--brd)}html:root:root .ac-chart .bar{fill:rgba(var(--acc-rgb),.28)}html:root:root .ac-chart .bar.cur{fill:var(--cyan)}
html:root:root .ac-lista{display:flex;flex-direction:column}
html:root:root .ac-lr{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--brd);min-width:0}
html:root:root .ac-lr:last-child{border-bottom:0}
html:root:root .ac-av{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font:600 .7rem var(--n-font);background:var(--bg4);color:var(--txt2);flex:none;border:1px solid var(--brd)}
html:root:root .ac-lc{flex:1;min-width:0}html:root:root .ac-lc b{display:block;font-weight:600;font-size:.86rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--txt)}
html:root:root .ac-lc small{color:var(--sub);font-size:.74rem}
html:root:root .ac-lv{font:500 .8rem var(--n-mono);white-space:nowrap;color:var(--txt)}html:root:root .ac-lv small{color:var(--sub);font-size:.66rem}
html:root:root .ac-lv.rau{color:var(--red)}
html:root:root .ac-gol{color:var(--sub);font-size:.84rem;padding:18px 0;text-align:center}
html:root:root .ac-detalii{display:flex;align-items:center;gap:12px;margin-top:8px;font:500 .6rem var(--n-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--n-faint)}
html:root:root .ac-detalii::before,html:root:root .ac-detalii::after{content:"";height:1px;background:var(--brd);flex:1}
@media (max-width:1100px){html:root:root .ac-cifre{grid-template-columns:repeat(2,minmax(0,1fr))}html:root:root .ac-flux{grid-template-columns:repeat(4,minmax(0,1fr))}html:root:root .ac-doua{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){html:root:root .ac-cifre{grid-template-columns:minmax(0,1fr)}html:root:root .ac-flux{grid-template-columns:repeat(2,minmax(0,1fr))}html:root:root .ac-titlu{font-size:1rem}}

/* ── 13 · Pasul 554: „Comenzi” pe tablă (tabla.js) ─────────────────────────────── */
html:root:root .kb-tabla{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(205px,1fr);gap:10px;overflow-x:auto;padding:4px 0 14px;align-items:start}
html:root:root .kb-tabla[hidden]{display:none}
html:root:root .kb-col{display:flex;flex-direction:column;gap:8px;min-width:0;background:var(--bg2);border:1px solid var(--brd);border-radius:14px;padding:10px;transition:border-color .15s,background .15s}
html:root:root .kb-col.tinta{border-color:var(--cyan);background:rgba(var(--acc-rgb),.06)}
html:root:root .kb-col header{display:flex;align-items:center;gap:8px;padding:2px 4px}
html:root:root .kb-col header .ac-pill{padding:4px}
html:root:root .kb-col header b{font:600 .84rem var(--n-font);color:var(--txt)}
html:root:root .kb-n{margin-left:auto;font:500 .66rem var(--n-mono);color:var(--sub)}
html:root:root .kb-tot{font:500 .62rem var(--n-mono);color:var(--n-faint);padding:0 4px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root:root .kb-carduri{display:flex;flex-direction:column;gap:8px;max-height:calc(100vh - 290px);overflow-y:auto;padding-right:2px}
html:root:root .kb-card{background:var(--bg3);border:1px solid var(--brd);border-radius:11px;padding:12px;display:flex;flex-direction:column;gap:8px;cursor:grab;transition:border-color .15s,transform .15s}
html:root:root .kb-card:hover{border-color:var(--brd2)}
html:root:root .kb-card.trage{opacity:.45;transform:rotate(-1deg)}
html:root:root .kb-cl{font-weight:600;font-size:.86rem;line-height:1.3;color:var(--txt)}
html:root:root .kb-meta{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:.72rem;color:var(--sub)}
html:root:root .kb-ref{font-family:var(--n-mono);font-size:.64rem;color:var(--txt3)}
html:root:root .kb-st{font-size:.74rem;color:var(--txt3)}
html:root:root .kb-prog{height:4px;border-radius:4px;background:var(--bg5);overflow:hidden}
html:root:root .kb-prog i{display:block;height:100%;background:var(--cyan);border-radius:4px}
html:root:root .kb-jos{display:flex;align-items:center;justify-content:space-between;gap:8px}
html:root:root .kb-val{font:500 .84rem var(--n-mono);font-variant-numeric:tabular-nums;color:var(--txt)}
html:root:root .kb-av{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font:600 .6rem var(--n-font);background:var(--bg4);border:1px solid var(--brd2);color:var(--txt2)}
html:root:root .kb-pas{display:flex}
html:root:root .kb-act{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--brd2);background:var(--bg4);color:var(--txt2);border-radius:8px;padding:6px 8px;font:600 .74rem var(--n-font);cursor:pointer}
html:root:root .kb-act:hover{border-color:var(--cyan);color:var(--txt)}
html:root:root .kb-act.t-verde{background:var(--grn);border-color:var(--grn);color:#07080b}
html:root:root .kb-act.t-rosu{color:var(--red);border-color:rgba(255,107,107,.45)}
html:root:root .kb-act.t-cyan{color:var(--cyan);border-color:rgba(var(--acc-rgb),.45)}
html:root:root .kb-act.t-galben{color:var(--yel);border-color:rgba(245,179,66,.45)}
html:root:root .kb-stare{font-size:.72rem;color:var(--sub)}
html:root:root .kb-gol{color:var(--n-faint);font-size:.78rem;text-align:center;padding:16px 0}
html:root:root .kb-mai{border:1px dashed var(--brd2);background:none;color:var(--sub);border-radius:9px;padding:7px;font:500 .76rem var(--n-font);cursor:pointer}
html:root:root .ac-pill.vio{color:var(--mag);background:rgba(196,167,255,.12)}
html:root:root .kb-sw .os-seg-btn i{font-size:14px;margin-right:2px}

/* ── 14 · Pasul 555: factura / proforma / oferta — hârtia vie şi verificările (hartie.js) ── */
html:root:root #fn-wrap.cu-hartie{max-width:none!important}
html:root:root .fn-doua{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(330px,1fr);gap:18px;align-items:start}
html:root:root .fn-stanga{min-width:0}
html:root:root .fn-dreapta{position:sticky;top:0;display:flex;flex-direction:column;gap:10px;background:var(--bg2);border:1px solid var(--brd);border-radius:16px;padding:14px;min-width:0}
html:root:root .fh-cap{display:flex;align-items:center;gap:10px;font:500 .62rem var(--n-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--sub)}
html:root:root .fh-cap small{text-transform:none;letter-spacing:0;font:500 .74rem var(--n-font);color:var(--n-faint)}
html:root:root .fh-cap2{margin-top:6px;padding-top:10px;border-top:1px solid var(--brd)}
html:root:root .fh-mare{margin-left:auto;border:1px solid var(--brd2);background:var(--bg3);color:var(--sub);border-radius:8px;width:30px;height:30px;display:grid;place-items:center;cursor:pointer}
html:root:root .fh-mare:hover{color:var(--txt);border-color:var(--cyan)}
html:root:root .fh-foaie{position:relative;overflow:hidden;border-radius:6px;background:#fff;box-shadow:0 30px 60px -30px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.04)}
html:root:root #fh-frame{border:0;transform-origin:0 0;background:#fff;display:block;pointer-events:none}
html:root:root .fh-verif{display:flex;flex-direction:column;gap:7px}
html:root:root .fh-v{display:flex;gap:10px;align-items:flex-start;font-size:.82rem;color:var(--txt2);line-height:1.4}
html:root:root .fh-ic{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;flex:none;font:700 .78rem var(--n-mono);background:var(--bg4);color:var(--sub)}
html:root:root .fh-ic i{font-size:14px}
html:root:root .fh-v.ok .fh-ic{background:rgba(var(--grn-rgb),.14);color:var(--grn)}
html:root:root .fh-v.warn .fh-ic{background:rgba(245,179,66,.16);color:var(--yel)}
html:root:root .fh-v.warn{color:var(--txt)}
html:root:root .fh-v.info .fh-ic{background:rgba(var(--acc-rgb),.12);color:var(--cyan)}
@media (max-width:1250px){html:root:root .fn-doua{grid-template-columns:minmax(0,1fr)}html:root:root .fn-dreapta{position:static}}

/* ── 15 · Pasul 556: intrarea ca în macheta Kelox 2030 — sigla mare în stânga, „Intră” în dreapta ── */
html:root:root #login-screen{background:#07080b}
html:root:root .intrare{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;align-items:stretch;
  width:min(1080px,calc(100% - 32px));position:relative;z-index:2;animation:loginFadeUp .55s ease both}
html:root:root .erou{border-radius:16px;padding:40px;min-height:440px;display:flex;flex-direction:column;gap:18px;position:relative;overflow:hidden;color:#fff;
  background:radial-gradient(60% 60% at 80% 20%,rgba(124,77,255,.35),transparent 60%),radial-gradient(50% 60% at 10% 90%,rgba(81,5,229,.22),transparent 60%),#0b0d12;
  border:1px solid #1d2330}
html:root:root .mare-logo{display:flex;align-items:center;gap:18px}
html:root:root .mare-logo svg{width:74px;height:74px;flex:none;filter:drop-shadow(0 18px 40px rgba(124,77,255,.45))}
html:root:root .mare-logo .wm{font:600 2.5rem/1 var(--n-disp);letter-spacing:-.03em;color:#e7eaf2}
html:root:root .erou-tag{font:500 .62rem/1.6 var(--n-mono);letter-spacing:.1em;text-transform:uppercase;color:#8a93a8}
html:root:root .erou .login-modules{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
html:root:root .erou .login-mod{font:500 .7rem var(--n-font);border:1px solid #1d2330;background:rgba(14,17,23,.6);border-radius:999px;padding:4px 10px;display:inline-flex;align-items:center;gap:6px}
html:root:root .erou-jos{font-size:.74rem;color:rgba(255,255,255,.5)}
html:root:root .login-card.intra{display:flex;flex-direction:column;justify-content:center;gap:14px;padding:32px;background:#0e1117;border:1px solid #1d2330;border-radius:16px;box-shadow:none;width:auto;max-width:none}
html:root:root .login-card.intra .lc-title{font:600 1.5rem/1.1 var(--n-disp);letter-spacing:-.02em;color:#e7eaf2}
html:root:root .login-card.intra .lc-sub{color:#8a93a8;font-size:.86rem;margin-top:-6px}
html:root:root .login-card.intra .login-field{margin:0}
html:root:root .login-card.intra .login-field input,html:root:root .login-card.intra .login-field select{padding:14px 16px;border-radius:10px;background:#12161e;border-color:#1d2330;font-size:.95rem}
html:root:root .login-card.intra .login-btn{padding:14px;border-radius:10px;font-size:.95rem}
html:root:root .login-card.intra .lc-footer{display:flex;justify-content:space-between;color:#5b6377;font-size:.74rem;margin-top:2px}
@media (max-width:860px){html:root:root .intrare{grid-template-columns:minmax(0,1fr)}html:root:root .erou{min-height:300px;padding:26px}html:root:root .mare-logo .wm{font-size:2rem}}

/* ── 16a · Pasul 556: baza temelor Bancar / Botanic / Atelier (fosta Clinic) — bleumarin şi turcoaz, conţinut luminos, titluri cu serif ────────
   El (11.10), la temele machetei: „1 şi 2” — Noapte rămâne implicit, Luminos şi culorile rămân, plus Clinic.
   Clinic = Luminos (data-tema="luminos") + data-clinic: aceleaşi piese, alte culori. Literele: serif-ul
   sistemului pentru titluri (nimic de pe internet). */
html:root[data-clinic][data-stil]{
  --bg:#f3f6f7; --bg2:#ffffff; --bg3:#ffffff; --bg4:#eef3f4; --bg5:#e2eaec; --inp:#ffffff; --card-bg:#ffffff; --card-bg2:#ffffff;
  --ink-rgb:12,34,51; --brd:#dde6e9; --brd2:#cbd8dc;
  --txt:#0c2233; --txt2:#1d3a4f; --txt3:#36536a; --sub:#485e6e; --n-faint:#5c707f; --n-acc-ink:#ffffff;
  --grn:#1f9d5c; --yel:#c77a12; --red:#c9413b; --blu:#2a7fc4; --mag:#6f52c9; --grn-rgb:31,157,92; --blu-rgb:42,127,196;
  --n-disp:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif;
  --shadow:0 1px 2px rgba(12,34,51,.05); --shadow-lg:0 12px 28px -20px rgba(12,34,51,.32);
}
html:root[data-clinic][data-stil]:not([data-accent]){--cyan:#0f9d8f;--acc-rgb:15,157,143;--acc2:#0c7a70;--sale-c:#0f9d8f;--doc-c:#0f9d8f}
html:root[data-clinic][data-stil] .sina{background:#0c2a43;border-right:0}
html:root[data-clinic][data-stil] .sina-b{color:#9db6c6!important}
html:root[data-clinic][data-stil] .sina-b:hover{background:rgba(255,255,255,.07)!important;color:#ffffff!important}
html:root[data-clinic][data-stil] .sina-b.act{background:rgba(15,157,143,.24)!important;color:#ffffff!important}
html:root[data-clinic][data-stil] .sina-b.act::before{background:#2fd3c1}
html:root[data-clinic][data-stil] .sina-punct{border-color:#0c2a43}
html:root[data-clinic][data-stil] .ac-titlu,html:root[data-clinic][data-stil] .page-title{font-weight:500;letter-spacing:-.01em}
html:root[data-clinic][data-stil] .ac-titlu{font-size:1.15rem}
html:root[data-clinic][data-stil] .tb-mod{font-size:1.05rem;font-weight:600}
html:root[data-clinic][data-stil] .ac-v{font-family:var(--n-disp);font-weight:600;font-size:1.6rem;letter-spacing:-.01em}
html:root[data-clinic][data-stil] .ac-k,html:root[data-clinic][data-stil] .ac-panou,html:root[data-clinic][data-stil] .azi,html:root[data-clinic][data-stil] .kb-card{box-shadow:var(--shadow-lg)}
html:root[data-clinic][data-stil] .hdr,html:root[data-clinic][data-stil] .taburi{background:var(--bg)}
html:root[data-clinic][data-stil] #btn-global-search{background:#ffffff;box-shadow:0 1px 2px rgba(12,34,51,.05)}

/* ── 16 · Tema Kelox (în locul lui Clinic; cheia rămâne „clinic”, ca cine o avea aleasă s-o primească pe asta) ──
   Ghidul de identitate Kelox: mov Kelox #5105e5 (acţiuni, accente), negru cerneală #09080d (text, bara laterală),
   alb cald #fefaf3 (fundal), lavandă deschis #f1ecfd (suprafeţe secundare), Arial. */
html:root[data-clinic]:not([data-stil]){
  --bg:#fefaf3; --bg2:#ffffff; --bg3:#ffffff; --bg4:#f1ecfd; --bg5:#e7defc; --inp:#ffffff; --card-bg:#ffffff; --card-bg2:#ffffff;
  --ink-rgb:9,8,13; --brd:#ece5d8; --brd2:#ded5c6;
  --txt:#09080d; --txt1:#09080d; --txt2:#2b2834; --txt3:#4b4757; --sub:#4c4859; --n-faint:#5d586f; --n-acc-ink:#ffffff;
  --grn:#1f9d5c; --yel:#b8700f; --red:#c9413b; --blu:#2a6fd4; --mag:#5105e5; --grn-rgb:31,157,92; --blu-rgb:42,111,212; --mag-rgb:81,5,229;
  --n-font:Arial,Helvetica,sans-serif; --n-disp:Arial,Helvetica,sans-serif; --t-font:Arial,Helvetica,sans-serif;
  --shadow:0 1px 2px rgba(9,8,13,.05); --shadow-lg:0 12px 28px -20px rgba(81,5,229,.28);
}
html:root[data-clinic]:not([data-stil]):not([data-accent]){--cyan:#5105e5;--acc-rgb:81,5,229;--acc2:#3e03b4;--sale-c:#5105e5;--doc-c:#5105e5}
html:root[data-clinic]:not([data-stil]) body{font-family:Arial,Helvetica,sans-serif}
html:root[data-clinic]:not([data-stil]) .sina{background:#09080d;border-right:0}
html:root[data-clinic]:not([data-stil]) .sina-b{color:#b7b2c6!important}
html:root[data-clinic]:not([data-stil]) .sina-b:hover{background:rgba(255,255,255,.07)!important;color:#ffffff!important}
html:root[data-clinic]:not([data-stil]) .sina-b.act{background:rgba(81,5,229,.42)!important;color:#ffffff!important}
html:root[data-clinic]:not([data-stil]) .sina-b.act::before{background:#7c4dff}
html:root[data-clinic]:not([data-stil]) .sina-punct{border-color:#09080d}
html:root[data-clinic]:not([data-stil]) .ac-titlu,html:root[data-clinic]:not([data-stil]) .page-title{font-weight:700;letter-spacing:-.01em}
html:root[data-clinic]:not([data-stil]) .ac-titlu{font-size:1.15rem}
html:root[data-clinic]:not([data-stil]) .tb-mod{font-size:1.05rem;font-weight:700}
html:root[data-clinic]:not([data-stil]) .ac-v{font-family:var(--n-disp);font-weight:700;font-size:1.6rem;letter-spacing:-.01em}
html:root[data-clinic]:not([data-stil]) .ac-k,html:root[data-clinic]:not([data-stil]) .ac-panou,html:root[data-clinic]:not([data-stil]) .azi,html:root[data-clinic]:not([data-stil]) .kb-card{box-shadow:var(--shadow-lg)}
html:root[data-clinic]:not([data-stil]) .hdr,html:root[data-clinic]:not([data-stil]) .taburi{background:var(--bg)}
html:root[data-clinic]:not([data-stil]) #btn-global-search{background:#ffffff;box-shadow:0 1px 2px rgba(9,8,13,.05)}
html:root[data-clinic]:not([data-stil]) .btn-primary,html:root[data-clinic]:not([data-stil]) .login-btn{background:#5105e5;border-color:#5105e5;color:#fff}
html:root[data-clinic]:not([data-stil]) .btn-primary:hover,html:root[data-clinic]:not([data-stil]) .login-btn:hover{background:#3e03b4;border-color:#3e03b4}

/* Kelox — siglele: varianta cu numele alb pe fundal închis, cu numele negru pe fundal deschis */
html:root[data-tema="luminos"] .kx-pe-inchis{display:none!important}
html:root:not([data-tema="luminos"]) .kx-pe-deschis{display:none!important}
html:root:root .mare-logo img.tv-sigla{height:86px;width:auto;max-width:100%;display:block;filter:drop-shadow(0 18px 40px rgba(81,5,229,.30))}
html:root:root .al-logo img.kx-semn{width:56px;height:56px;object-fit:contain;display:block;margin:0 auto}
html:root:root .al-nume img{height:40px;width:auto;display:block;margin:0 auto}
html:root:root .ms-sigla img.kx-semn{width:64px;height:64px;object-fit:contain;display:block;margin:0 auto 14px;filter:drop-shadow(0 18px 40px rgba(81,5,229,.35))}
html:root:root .ms-nume img{height:44px;width:auto;display:block;margin:0 auto}
html:root:root .sb-logo img.kx-semn{width:18px;height:18px;object-fit:contain;display:block}

/* ── 17 · Pasul 557: cifrele şi codurile scrise „monospace” / Courier (în JS şi în pagini) → Martian Mono ── */
html:root:root [style*="monospace"],html:root:root [style*="Courier"],html:root:root code,html:root:root kbd,html:root:root samp,html:root:root pre{font-family:var(--n-mono)!important;letter-spacing:-.02em}
html:root:root .ac-detalii[hidden]{display:none}

/* §18 — pasul 566: mesajele din clopoţel pe mai multe rânduri (raportul de dimineaţă) */
html:root:root .ni-msg{white-space:pre-line}

/* §19 — pasul 572: „De făcut acum” pe Acasă — rândul cu butonul pasului următor */
html:root:root .acasa .ac-facut .ac-h small{font:400 .74rem var(--n-font);color:var(--sub);text-transform:none;letter-spacing:0}
html:root:root .acasa .ac-fa{grid-template-columns:minmax(0,1fr) auto auto}
html:root:root .acasa .ac-pas{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid color-mix(in srgb,var(--cyan) 45%,transparent);
  background:color-mix(in srgb,var(--cyan) 12%,transparent);color:var(--cyan);font:600 .78rem var(--n-font);cursor:pointer;white-space:nowrap}
html:root:root .acasa .ac-pas:hover{background:color-mix(in srgb,var(--cyan) 22%,transparent)}
html:root:root .acasa .ac-bloc{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}

/* §20 — pasul 576: orbita Arc în cartonaşul din stânga al intrării (urmaşul radarului).
   Arcul mare se roteşte într-un minut, cel mic invers; punctele fixe sunt paşii circuitului.
   Stă în dreapta cartonaşului, sub text (z-index 0), nu prinde clicuri. */
html:root:root .erou>*{position:relative;z-index:1}
html:root:root .erou>.orbita{position:absolute;z-index:0;right:-64px;top:44%;width:420px;height:420px;margin-top:-210px;pointer-events:none;
  opacity:0;animation:orbApare 1.4s .25s ease forwards}
html:root:root .orbita .o-cerc{stroke:rgba(124,77,255,.10);stroke-width:1}
html:root:root .orbita .o-pct{stroke:rgba(124,77,255,.16);stroke-dasharray:2 7}
html:root:root .orbita .o-statii circle{fill:rgba(241,236,253,.28)}
html:root:root .orbita .o-miez{fill:#b79cff;opacity:.6}
html:root:root .orbita .o-mare,html:root:root .orbita .o-mic{transform-box:view-box;transform-origin:200px 200px}
html:root:root .orbita .o-mare{animation:orbRot 60s linear infinite}
html:root:root .orbita .o-mic{animation:orbRot 90s linear infinite reverse}
@keyframes orbRot{to{transform:rotate(360deg)}}
@keyframes orbApare{to{opacity:1}}
@media (max-width:860px){html:root:root .erou>.orbita{width:300px;height:300px;margin-top:-150px;right:-110px;opacity:.6}}
@media (prefers-reduced-motion:reduce){html:root:root .erou>.orbita{animation:none;opacity:1}html:root:root .orbita .o-mare,html:root:root .orbita .o-mic{animation:none}}
/* Pe ecran îngust intrarea curge de sus în jos şi semnătura vine sub formular (nu peste el) */
@media (max-width:860px){html:root:root #login-screen{height:100vh;height:100dvh;flex-direction:column;justify-content:flex-start;padding:16px 0 22px;overflow-x:hidden;overflow-y:auto}
  html:root:root .login-semnatura{position:static;transform:none;margin:20px 0 18px;flex:none;animation:none}}

/* §21 — pasul 577: „+ Nou” pe modulul în care eşti; celelalte module strânse sub „Din alte module” */
html:root:root .sn-cap{font:500 .62rem/1 var(--n-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--n-faint);padding:10px 10px 6px}
html:root:root .sn-cap b{font-weight:600;color:var(--txt);letter-spacing:.02em}
html:root:root .sn-alte{display:flex;align-items:center;gap:8px;width:100%;margin-top:6px;padding:9px 10px 7px;border:0;border-top:1px solid var(--brd);background:none;
  color:var(--sub);font:500 .78rem var(--n-font);cursor:pointer;text-align:left}
html:root:root .sn-alte:hover{color:var(--txt)}
html:root:root .sn-alte small{margin-left:auto;font:500 .62rem var(--n-mono);color:var(--n-faint)}
html:root:root .sn-alte i{transition:transform .15s}
html:root:root .sn-alte.on i{transform:rotate(180deg)}
html:root:root .sn-alte-l{display:none}
html:root:root .sn-alte.on+.sn-alte-l{display:block}

/* §22 — pasul 578: ecranul blocat în Kelox 2030 — cutia ca „Intră”, arcul siglei rotindu-se în jurul avatarului */
html:root:root #ecran-blocat{background:radial-gradient(700px 520px at 50% 42%,rgba(var(--acc-rgb),.14),transparent 62%),color-mix(in srgb,var(--bg) 93%,transparent);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
html:root:root #ecran-blocat .eb-cutie{width:min(380px,calc(100vw - 32px));padding:28px 28px 22px;background:var(--bg3);border:1px solid var(--brd);border-radius:20px;
  box-shadow:var(--shadow-lg);animation:ebApare .35s ease both}
html:root:root #ecran-blocat .eb-lacat{display:inline-flex;align-items:center;gap:6px;font:500 .6rem/1 var(--n-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--n-faint);margin:0 0 14px}
html:root:root #ecran-blocat .eb-lacat i{font-size:.85rem}
html:root:root #ecran-blocat .eb-orbita{position:relative;width:140px;height:140px;margin:0 auto 10px;display:grid;place-items:center}
html:root:root #ecran-blocat .eb-orb{position:absolute;inset:0;width:140px;height:140px;pointer-events:none}
html:root:root #ecran-blocat .eb-c{stroke:rgba(var(--acc-rgb),.13);stroke-width:1}
html:root:root #ecran-blocat .eb-pct{stroke:rgba(var(--acc-rgb),.22);stroke-dasharray:2 6}
html:root:root #ecran-blocat .eb-statii circle{fill:rgba(var(--ink-rgb),.3)}
html:root:root #ecran-blocat .eb-arc{transform-box:view-box;transform-origin:70px 70px;animation:orbRot 14s linear infinite}
html:root:root #ecran-blocat .eb-avatar{position:relative;width:72px;height:72px;margin:0;font:600 1.35rem/1 var(--n-disp);letter-spacing:-.02em;color:#fff;
  background:linear-gradient(135deg,#7c4dff,#5105e5 55%,#b79cff);box-shadow:0 14px 34px -12px rgba(124,77,255,.7)}
html:root:root #ecran-blocat .eb-nume{font:600 1.1rem/1.2 var(--n-disp);letter-spacing:-.02em;color:var(--txt)}
html:root:root #ecran-blocat .eb-text{font-size:.8rem;color:var(--sub);margin:8px 0 18px}
html:root:root #ecran-blocat form{gap:8px}
html:root:root #ecran-blocat input{padding:12px 14px;border-radius:10px;border:1px solid var(--brd2);background:var(--inp);color:var(--txt);font:500 .92rem var(--n-font)}
html:root:root #ecran-blocat input:focus{outline:none;border-color:var(--cyan);box-shadow:0 0 0 3px rgba(var(--acc-rgb),.18)}
html:root:root #ecran-blocat .eb-buton{padding:12px 16px;border-radius:10px;background:var(--cyan);color:var(--n-acc-ink);font:600 .9rem var(--n-font)}
html:root:root #ecran-blocat .eb-buton:hover{filter:brightness(1.08)}
html:root:root #ecran-blocat .eb-eroare{color:var(--red)}
html:root:root #ecran-blocat .eb-iesire{margin-top:6px;color:var(--sub);text-decoration:none;font:500 .78rem var(--n-font)}
html:root:root #ecran-blocat .eb-iesire:hover{color:var(--txt)}
@keyframes ebApare{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){html:root:root #ecran-blocat .eb-arc,html:root:root #ecran-blocat .eb-cutie{animation:none}}

/* §23 — pasul 579: sigla nouă (logo 8). Pasul 583 — el: „fonturile fă-le cum erau înainte, dar nu şi la logo”:
   literele aplicaţiei sunt iar Unbounded / Hanken Grotesk / Martian Mono; numele KELOX din siglă e desenat (nu scris), deci rămâne. */
/* sigla nouă: intrarea, ecranul de încărcare, alegerea modulului, semnătura */
html:root:root .mare-logo svg.tv-sigla{width:auto;height:86px;max-width:100%;filter:drop-shadow(0 18px 40px rgba(91,123,255,.35))}
html:root:root .al-nume{margin-bottom:24px;line-height:0}
html:root:root .al-nume svg{height:44px;width:auto;display:block;margin:0 auto}
html:root:root .ms-sigla svg{width:64px;height:64px;display:block;margin:0 auto 14px;filter:drop-shadow(0 18px 40px rgba(91,123,255,.4))}
html:root:root .ms-nume{margin-bottom:10px;line-height:0}
html:root:root .ms-nume svg{height:48px;width:auto;display:block;margin:0 auto}
html:root:root .ls-arc{width:11px;height:22px;margin-left:-6px}

/* ── Pasul 601: documentele furnizorului în aspectul nou (df_furnizor.js) ─────────
   El (12.10): „factura de la furnizor … are template vechi”. Furnizor | Document,
   liniile dedesubt, în dreapta Verificări şi fişierul primit. Fără .df2030 grila e
   un simplu bloc — celelalte documente arată ca înainte. */
html:root:root #view-doc-form .df2-grid{display:block}
html:root:root #view-doc-form .df2-dr{display:none}
html:root:root #view-doc-form.df2030{max-width:1500px}
html:root:root #view-doc-form.df2030 > .page-hdr{background:var(--bg2);border:1px solid var(--brd);border-radius:14px;padding:12px 16px;margin:0 0 1rem!important;
  display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html:root:root #view-doc-form.df2030 #doc-form-title{font-size:1.02rem!important;display:flex;align-items:center;gap:8px}
html:root:root #view-doc-form.df2030 .page-hdr .page-sub{font-size:.74rem;margin-top:3px}
html:root:root #view-doc-form.df2030 .page-actions{gap:6px}
html:root:root #view-doc-form.df2030 .page-actions .btn{height:34px;border-radius:9px;font-size:.8rem;padding:0 12px}
html:root:root #view-doc-form.df2030 .df2-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:1rem;align-items:start}
html:root:root #view-doc-form.df2030 .df2-st{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;align-items:start;min-width:0}
html:root:root #view-doc-form.df2030 .df2-st > *{grid-column:1/-1;min-width:0}
html:root:root #view-doc-form.df2030 .df2-st > .df2-furnizor,html:root:root #view-doc-form.df2030 .df2-st > .df2-document{grid-column:auto;align-self:stretch}
html:root:root #view-doc-form.df2030 .form-section{margin:0!important;background:var(--bg2);border:1px solid var(--brd);border-radius:14px;padding:16px 18px}
html:root:root #view-doc-form.df2030 .form-section > h4{font:600 .66rem/1 var(--n-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--sub);
  margin:0 0 14px;padding:0 0 10px;border-bottom:1px solid var(--brd);display:flex;align-items:center;gap:7px}
html:root:root #view-doc-form.df2030 .form-section > h4 i{color:var(--cyan)}
html:root:root #view-doc-form.df2030 .df2-furnizor .grid.g6,html:root:root #view-doc-form.df2030 .df2-document .grid.g6{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.6rem .7rem}
html:root:root #view-doc-form.df2030 .df2-furnizor .grid.g6 > .field,html:root:root #view-doc-form.df2030 .df2-document .grid.g6 > .field{grid-column:span 1!important}
html:root:root #view-doc-form.df2030 .df2-furnizor .grid.g6 > .field.span3,html:root:root #view-doc-form.df2030 .df2-furnizor .grid.g6 > .field.span4,
html:root:root #view-doc-form.df2030 .df2-document .grid.g6 > .field.span3,html:root:root #view-doc-form.df2030 .df2-document .grid.g6 > .field.span4,
html:root:root #view-doc-form.df2030 .df2-document .grid.g6 > #field-df-ref{grid-column:1/-1!important}
html:root:root #view-doc-form.df2030 .df2-linii .doc-totals{border-radius:12px}
/* coloana din dreapta */
html:root:root #view-doc-form.df2030 .df2-dr{display:flex;flex-direction:column;gap:1rem;position:sticky;top:12px}
html:root:root .df2-card{background:var(--bg2);border:1px solid var(--brd);border-radius:14px;padding:14px 16px}
html:root:root .df2-cap{display:flex;align-items:baseline;gap:8px;margin:0 0 10px}
html:root:root .df2-cap b{font:600 .66rem/1 var(--n-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--sub)}
html:root:root .df2-cap small{font-size:.72rem;color:var(--txt3)}
html:root:root .df2-v{display:flex;align-items:flex-start;gap:9px;padding:7px 0;font-size:.82rem;color:var(--txt2);border-bottom:1px solid var(--brd);line-height:1.35}
html:root:root .df2-v:last-child{border-bottom:0}
html:root:root .df2-v i{font-size:16px;flex:none;margin-top:1px}
html:root:root .df2-v.df2-ok i{color:var(--grn)}html:root:root .df2-v.df2-at i{color:var(--yel)}html:root:root .df2-v.df2-rau i{color:var(--red)}
html:root:root .df2-v.df2-rau{color:var(--txt)}
/* pasul 849: produsele facturii citite din fişier — cum s-au găsit */
html:root:root .df2-potr-l{display:flex;flex-direction:column;gap:2px;padding:4px 0 2px}
html:root:root .df2-potr-r{display:flex;align-items:flex-start;gap:8px;font-size:.78rem;color:var(--txt2);line-height:1.35;padding:3px 0}
html:root:root .df2-potr-r i{font-size:14px;flex:none;margin-top:1px;color:var(--grn)}
html:root:root .df2-potr-r small{display:block;color:var(--sub)}
html:root:root .df2-potr-neg i{color:var(--yel)}
html:root:root .df2-potr-b{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
html:root:root .df2-potr-b .btn{font-size:.72rem;padding:2px 8px}
html:root:root .df2-pdf{width:100%;height:520px;border:1px solid var(--brd);border-radius:10px;background:#fff;display:block}
html:root:root .df2-img{width:100%;border:1px solid var(--brd);border-radius:10px;display:block;background:#fff}
html:root:root .df2-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;min-height:220px;
  border:1.5px dashed var(--brd2);border-radius:12px;color:var(--sub);cursor:pointer;padding:18px;transition:border-color .15s,background .15s}
html:root:root .df2-drop i{font-size:30px;color:var(--cyan)}
html:root:root .df2-drop b{color:var(--txt);font-size:.85rem;font-weight:600}
html:root:root .df2-drop span{font-size:.75rem}
html:root:root .df2-drop:hover,html:root:root .df2-drop.peste{border-color:var(--cyan);background:rgba(var(--acc-rgb),.06)}
html:root:root .df2-imp,html:root:root .df2-alt{width:100%;margin-top:8px;justify-content:center;display:flex;align-items:center;gap:6px;cursor:pointer}
html:root:root .df2-not{font-size:.74rem;color:var(--yel);margin-top:6px;display:flex;align-items:center;gap:5px}
html:root:root .df2-ata{display:flex;flex-direction:column;gap:2px;margin-top:8px}
html:root:root .df2-ata a{display:flex;align-items:center;gap:7px;font-size:.78rem;color:var(--txt2);padding:5px 6px;border-radius:7px;text-decoration:none;min-width:0}
html:root:root .df2-ata a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:root:root .df2-ata a:hover{background:var(--bg4);color:var(--txt)}
html:root:root .df2-gol{display:flex;align-items:center;gap:8px;color:var(--sub);font-size:.8rem;padding:12px}
@media (max-width:1200px){
  html:root:root #view-doc-form.df2030 .df2-grid{grid-template-columns:minmax(0,1fr)}
  html:root:root #view-doc-form.df2030 .df2-dr{position:static}
  html:root:root .df2-pdf{height:420px}
}
@media (max-width:860px){
  html:root:root #view-doc-form.df2030 .df2-st{grid-template-columns:minmax(0,1fr)}
  html:root:root #view-doc-form.df2030 .df2-st > .df2-furnizor,html:root:root #view-doc-form.df2030 .df2-st > .df2-document{grid-column:1/-1}
}

/* ── Pasul 602: „Schimbă parola” din Profil ─────────────────────────────────── */
html:root:root .sp-parola{position:fixed;inset:0;z-index:10080;background:rgba(4,6,10,.55);display:none;align-items:flex-start;justify-content:flex-end;padding:calc(var(--hdr-h,62px) + 4px) 16px 16px}
html:root:root .sp-parola.deschis{display:flex}
html:root:root .spp-box{width:340px;max-width:100%;background:var(--bg3);border:1px solid var(--brd2);border-radius:16px;box-shadow:var(--shadow-lg);padding:16px;display:flex;flex-direction:column;gap:10px}
html:root:root .spp-cap{display:flex;align-items:center;gap:9px;padding:0 0 10px;border-bottom:1px solid var(--brd)}
html:root:root .spp-cap i{font-size:18px;color:var(--cyan)}html:root:root .spp-cap b{font-size:.92rem;color:var(--txt)}
html:root:root .spp-box label{display:flex;flex-direction:column;gap:5px;font-size:.74rem;color:var(--sub)}
html:root:root .spp-box input{height:38px;border-radius:9px;border:1px solid var(--brd2);background:var(--bg4);color:var(--txt);padding:0 11px;font-size:.88rem}
html:root:root .spp-box input:focus{outline:none;border-color:var(--cyan)}
html:root:root .spp-reg{font-size:.72rem;color:var(--txt3)}
html:root:root .spp-err{font-size:.8rem;color:var(--red);min-height:1em}
html:root:root .spp-bt{display:flex;gap:8px;justify-content:flex-end}

/* ── Pasul 604: factura pe nedefinit — „Marfa pleacă ulterior” şi panoul de livrări ── */
html:root:root .fn-ulterior{font-size:.8rem;color:var(--txt2);display:flex;align-items:center;gap:.35rem;cursor:pointer;margin-right:.5rem}
html:root:root .fn-ulterior input{width:14px;height:14px;accent-color:var(--cyan);cursor:pointer}
html:root:root .fn-livrari{background:var(--bg2);border:1px solid var(--brd);border-radius:12px;padding:14px 16px;margin:0 0 1rem}
html:root:root .fl-cap{display:flex;align-items:center;gap:8px;margin-bottom:10px}
html:root:root .fl-cap i{color:var(--cyan);font-size:17px}html:root:root .fl-cap b{font-size:.86rem;color:var(--txt)}
html:root:root .fl-st{margin-left:auto;font:600 .7rem var(--n-mono);padding:3px 9px;border-radius:999px;background:rgba(245,179,66,.12);color:var(--yel)}
html:root:root .fl-st.ok{background:rgba(45,212,191,.12);color:var(--grn)}
html:root:root .fl-bara{height:6px;border-radius:99px;background:var(--bg4);overflow:hidden;margin-bottom:8px}
html:root:root .fl-bara i{display:block;height:100%;background:var(--cyan);border-radius:99px}
html:root:root .fl-sume{display:flex;gap:18px;flex-wrap:wrap;font-size:.78rem;color:var(--sub);margin-bottom:10px}
html:root:root .fl-sume b{color:var(--txt);font-variant-numeric:tabular-nums}
html:root:root .fl-avize{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}
html:root:root .fl-av{display:flex;align-items:center;gap:9px;background:var(--bg3);border:1px solid var(--brd);border-radius:9px;padding:7px 10px;color:var(--txt2);cursor:pointer;font-size:.8rem;text-align:left}
html:root:root .fl-av:hover{border-color:rgba(var(--acc-rgb),.45);color:var(--txt)}
html:root:root .fl-av small{color:var(--txt3)}html:root:root .fl-av b{margin-left:auto;font-variant-numeric:tabular-nums}
html:root:root .fl-leaga{display:flex;gap:8px;flex-wrap:wrap}
html:root:root .fl-leaga select{flex:1;min-width:220px;height:34px;border-radius:8px;border:1px solid var(--brd2);background:var(--bg3);color:var(--txt);padding:0 8px}
html:root:root .fl-gol{font-size:.78rem;color:var(--sub);margin-bottom:8px}

/* ── Pasul 605: fila „Aviz” a facturii emise — avizul ei, cum e în registru ── */
html:root:root .fn-aviz-emis{display:flex;align-items:flex-start;gap:9px;margin:0 0 1rem;padding:10px 14px;border-radius:12px;font-size:.82rem;line-height:1.45;
  background:rgba(var(--blu-rgb),.08);border:1px solid rgba(var(--blu-rgb),.30);color:var(--txt2)}
html:root:root .fn-aviz-emis i{font-size:17px;color:var(--cyan);flex:none;margin-top:1px}
html:root:root .fn-aviz-emis b{color:var(--txt)}
html:root:root .fn-aviz-emis a{color:var(--cyan)}

/* ── Pasul 607: „Leagă avizul de factură” din lista avizelor ── */
html:root:root .dh-leaga-rand{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--brd);border-radius:9px;margin-bottom:6px;cursor:pointer;font-size:.82rem}
html:root:root .dh-leaga-rand:hover{border-color:var(--cyan);background:rgba(var(--acc-rgb),.06)}

/* ── Pasul 609: Conta › Documente — butonul „NC” şi nota contabilă ── */
html:root:root .cd-nc{font:600 .68rem/1 var(--n-mono, monospace);padding:4px 8px;border-radius:6px;border:1px solid var(--brd);background:var(--bg2);color:var(--cyan);cursor:pointer}
html:root:root .cd-nc:hover{border-color:var(--cyan);background:rgba(var(--acc-rgb),.08)}
html:root:root .cd-nc-cap{display:flex;align-items:center;gap:8px;margin-bottom:.7rem}
html:root:root .cd-nc-cap i{color:var(--cyan);font-size:1.1rem}
html:root:root .cd-nc-tab tfoot td{padding:.4rem .6rem;border-top:2px solid var(--brd);font-weight:600}
html:root:root .cd-nc-ex{max-width:340px;overflow:hidden;text-overflow:ellipsis}
html:root:root .cd-nc-leg{margin:1rem 0 .4rem;font-size:.8rem;color:var(--txt2);display:flex;align-items:center;gap:6px}
html:root:root .cd-nc-gol{padding:.8rem;color:var(--sub);font-size:.82rem}

/* ── Pasul 610: facturile cu marfă nelivrată (472) în „Venituri şi cheltuieli în avans” ── */
html:root:root .av-fn-cap{margin:1.4rem 0 .5rem;font-size:.86rem;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}

/* ── Pasul 611: fişa de magazie a produsului (din Stocuri) ── */
html:root:root .st-fm{background:none;border:1px solid var(--brd);border-radius:6px;color:var(--cyan);padding:1px 5px;margin-right:6px;cursor:pointer;font-size:.8rem;line-height:1.2;vertical-align:middle}
html:root:root .st-fm:hover{border-color:var(--cyan);background:rgba(var(--acc-rgb),.08)}
html:root:root .fm-modal{width:min(96vw,1040px);max-height:88vh;overflow:auto;padding:1.1rem 1.3rem!important}
html:root:root .fm-cap{display:flex;align-items:center;gap:10px;margin-bottom:.8rem}
html:root:root .fm-cap > i{font-size:1.3rem;color:var(--cyan)}
html:root:root .fm-sub{font-size:.8rem;color:var(--txt2);margin-top:2px}
html:root:root .fm-filtre{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:.8rem}
html:root:root .fm-filtre label{display:flex;flex-direction:column;gap:3px;font-size:.68rem;color:var(--sub);text-transform:uppercase;letter-spacing:.04em}
html:root:root .fm-filtre select,html:root:root .fm-filtre input{font-size:.8rem;padding:5px 8px;border:1px solid var(--brd);border-radius:7px;background:var(--bg2);color:var(--txt)}
html:root:root .fm-sume{display:flex;gap:18px;flex-wrap:wrap;font-size:.8rem;color:var(--txt2);margin-bottom:.6rem}
html:root:root .fm-in{color:var(--grn)}
html:root:root .fm-out{color:var(--ora)}
html:root:root .fm-init td{background:var(--bg3);font-weight:600}
html:root:root .fm-part{max-width:220px;overflow:hidden;text-overflow:ellipsis}
html:root:root .fm-nota{margin-top:.7rem;font-size:.78rem;color:var(--txt2);display:flex;gap:6px;align-items:center}

/* ── Pasul 612: partener nou — „Unde lucrăm cu el” ── */
html:root:root .pn-bife{border-top:.5px solid var(--brd);padding-top:.6rem}
html:root:root .pn-cap{font-size:.72rem;color:var(--txt3);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}
html:root:root .pn-cap span{text-transform:none;letter-spacing:0}
html:root:root .pn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px}
html:root:root .pn-b{display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid var(--brd);border-radius:9px;cursor:pointer;font-size:.8rem;background:var(--bg2)}
html:root:root .pn-b input{margin:0}
html:root:root .pn-b i{color:var(--sub);font-size:1rem}
html:root:root .pn-b span{display:flex;flex-direction:column;line-height:1.2}
html:root:root .pn-b small{font-size:.66rem;color:var(--sub)}
html:root:root .pn-b.on{border-color:var(--cyan);background:rgba(var(--acc-rgb),.08)}
html:root:root .pn-b.on i{color:var(--cyan)}
html:root:root .pn-b:has(input:disabled){opacity:.45;cursor:not-allowed}
html:root:root .pn-module{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:.5rem;font-size:.8rem;color:var(--txt2)}
html:root:root .pn-module label{display:flex;align-items:center;gap:5px;cursor:pointer}
html:root:root .pn-nota{font-size:.72rem;color:var(--sub);margin-top:.4rem;min-height:1em}

/* ── Pasul 615: „Avize emise, nefacturate” în factura nouă (Distribuţie) ── */
html:root:root .fa-avize{margin:0 0 1rem;padding:12px 14px;border:1px solid rgba(var(--blu-rgb),.30);border-radius:12px;background:rgba(var(--blu-rgb),.06)}
html:root:root .fa-cap{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;font-size:.82rem;margin-bottom:.5rem}
html:root:root .fa-cap i{color:var(--cyan)}
html:root:root .fa-cap span{font-size:.74rem;color:var(--sub)}
html:root:root .fa-lista{display:flex;flex-direction:column;gap:5px}
html:root:root .fa-av{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:6px 9px;border:1px solid var(--brd);border-radius:9px;background:var(--bg2);cursor:pointer;font-size:.8rem}
html:root:root .fa-av.on{border-color:var(--cyan);background:rgba(var(--acc-rgb),.08)}
html:root:root .fa-av small{color:var(--sub);font-size:.72rem;flex:1;min-width:200px}

/* ── Pasul 616: modificarea facturii emise ── */
html:root:root .fn-mod616{display:flex;align-items:flex-start;gap:10px;margin:0 0 .7rem;padding:10px 14px;border:1px solid rgba(245,179,66,.45);border-radius:12px;background:rgba(245,179,66,.08);font-size:.8rem;color:var(--txt2)}
html:root:root .fn-mod616>i{color:#f5b342;font-size:1rem;margin-top:2px}
html:root:root .fn-mod616>div{flex:1;min-width:0;line-height:1.45}
html:root:root .fn-mod616 b{color:var(--txt1)}
html:root:root .fn-mod616-ist{margin-top:6px;font-size:.73rem;color:var(--sub)}
html:root:root .fn-mod616-oprit{opacity:.55}
html:root:root .tp-verde{border-color:var(--grn,#2dd4bf);color:var(--grn,#2dd4bf)}
html:root:root .tp-verde:hover{background:var(--grn,#2dd4bf);color:#06201c}
html:root:root .adm-mf616{display:inline-flex;align-items:center;gap:3px;margin-left:6px;padding:.1rem .5rem;border-radius:999px;font-size:.68rem;font-weight:600;background:rgba(245,179,66,.14);color:#f5b342}
html:root:root .adm-mf616-bifa{display:flex;gap:8px;align-items:flex-start;margin:0 0 1rem;font-size:.8rem;cursor:pointer}
html:root:root .adm-mf616-bifa input{margin-top:3px;accent-color:var(--cyan)}
html:root:root .adm-mf616-bifa small{display:block;color:var(--sub);font-size:.72rem;margin-top:2px}

/* ── Pasul 617: registrul de evidenţă fiscală (Contabilitate › D100 / D101) ── */
html:root:root .rf-kpi{flex:1;min-width:160px}
html:root:root .rf-kpi-plata{border-color:rgba(245,179,66,.45)}
html:root:root .rf-kpi-plata .stat-value{color:#f5b342}
html:root:root .rf-termen{font-size:.72rem;color:var(--sub);margin-top:2px}
html:root:root .rf-bara{display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:.6rem}
html:root:root .rf-trim,html:root:root .rf-fis{display:flex;gap:.35rem;flex-wrap:wrap}
html:root:root .rf-trim .btn.on{border-color:var(--cyan);color:var(--cyan);background:rgba(var(--acc-rgb),.10)}
html:root:root .rf-intro{font-size:.78rem;color:var(--sub);margin:0 0 .7rem;max-width:90ch;line-height:1.45}
html:root:root .rf-scroll{overflow-x:auto;border:1px solid var(--brd);border-radius:10px;margin-bottom:1rem}
html:root:root .rf-tab{width:100%;border-collapse:collapse;font-size:.8rem}
html:root:root .rf-tab th{padding:.45rem .6rem;text-align:left;background:var(--bg3);color:var(--sub);font-size:.68rem;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--brd);white-space:nowrap}
html:root:root .rf-tab td{padding:.38rem .6rem;border-bottom:1px solid var(--brd);vertical-align:top}
html:root:root .rf-tab td.n{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
html:root:root .rf-tab td.rf-ned{color:#f5b342;font-weight:600}
html:root:root .rf-cont{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--txt2)}
html:root:root .rf-expl{color:var(--sub);font-size:.74rem;min-width:220px}
html:root:root .rf-grup td{background:rgba(var(--blu-rgb),.08);font-weight:700;font-size:.74rem;text-transform:uppercase;letter-spacing:.05em}
html:root:root .rf-sub td{font-weight:700;background:var(--bg2)}
html:root:root .rf-gol{color:var(--sub);font-style:italic;font-size:.78rem}
html:root:root .rf-scos{opacity:.55;text-decoration:line-through}
html:root:root .rf-h{margin:.4rem 0 .5rem;font-size:.9rem}
html:root:root .rf-calc td.rf-nr{width:3rem;color:var(--sub)}
html:root:root .rf-calc tr.rf-tare td{font-weight:700}
html:root:root .rf-calc tr:last-child td{background:rgba(245,179,66,.08);color:#f5b342}
html:root:root .rf-sect{margin-top:1rem;padding:12px 14px;border:1px solid var(--brd);border-radius:12px;background:var(--bg2)}
html:root:root .rf-sect-cap{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap;margin-bottom:.5rem;font-size:.85rem}
html:root:root .rf-sect-cap span{flex:1;min-width:220px;font-size:.74rem;color:var(--sub)}
html:root:root .rf-sect .rf-scroll{margin-bottom:0}
html:root:root .rf-pills{display:flex;gap:.4rem;flex-wrap:wrap}
html:root:root .rf-pill{padding:.2rem .6rem;border:1px solid var(--brd);border-radius:999px;font-size:.76rem}
html:root:root .rf-cine{font-size:.72rem;color:var(--sub);white-space:nowrap}

/* ── 19 · Pasul 618 — el (13.10), la codurile din Oportunităţi („O-001”, „CG-…”): „nu îmi prea place fontul ăsta,
   parcă era mai bine cum era înainte”. A ales: fontul textului, peste tot. Cifrele, codurile, etichetele şi capetele
   de tabel (tot ce stătea în Martian Mono, de la pasul 557) trec pe Hanken Grotesk, cu cifrele aliniate în coloane.
   Rămân cu lăţime fixă doar codul / XML-ul (code, pre, editorul de şablon). ── */
html:root:root{--n-mono:"Hanken Grotesk","Segoe UI",system-ui,sans-serif}
html:root:root body{font-variant-numeric:tabular-nums}
html:root:root [style*="monospace"],html:root:root [style*="Courier"]{letter-spacing:0}
html:root:root code,html:root:root kbd,html:root:root samp,html:root:root pre,html:root:root .sb2-stg textarea#sb2-html{font-family:"Cascadia Mono",Consolas,ui-monospace,monospace!important;letter-spacing:0}

/* ── 20 · Pasul 619: ţara partenerului, cu denumirea întreagă ── */
html:root:root select#mcl-country-hint.pn-tara-sel{width:190px!important;max-width:45%}

/* ── 21 · Pasul 623: avizele de transport ── */
html:root:root .avt-fond{position:fixed;inset:0;z-index:9100;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:1rem}
html:root:root .avt-box{background:var(--bg2);border:1px solid var(--brd);border-radius:14px;width:min(1100px,96vw);max-height:88vh;overflow:auto;padding:1rem 1.1rem}
html:root:root .avt-form{width:min(680px,96vw)}
html:root:root .avt-cap{display:flex;align-items:baseline;gap:.7rem;flex-wrap:wrap;margin-bottom:.8rem}
html:root:root .avt-cap b{font-size:.95rem}
html:root:root .avt-cap span{flex:1;min-width:200px;font-size:.76rem;color:var(--sub)}
html:root:root .avt-bara{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center;margin-bottom:.7rem}
html:root:root .avt-bara .inp{flex:1;min-width:220px}
html:root:root .avt-bara .btn.on{border-color:var(--cyan);color:var(--cyan)}
html:root:root .avt-scroll{overflow-x:auto;border:1px solid var(--brd);border-radius:10px}
html:root:root .avt-tab{width:100%;border-collapse:collapse;font-size:.8rem}
html:root:root .avt-tab th{text-align:left;padding:.4rem .55rem;background:var(--bg3);color:var(--sub);font-size:.68rem;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
html:root:root .avt-tab td{padding:.4rem .55rem;border-top:1px solid var(--brd);vertical-align:top}
html:root:root .avt-nr{text-align:right;white-space:nowrap}
html:root:root .avt-mic{font-size:.72rem;color:var(--sub)}
html:root:root .avt-act{white-space:nowrap;text-align:right}
html:root:root .avt-act .btn{margin-left:.25rem}
html:root:root .avt-sens{font-size:.7rem;padding:.1rem .45rem;border-radius:999px;border:1px solid var(--brd)}
html:root:root .avt-in{color:var(--cyan)}
html:root:root .avt-out{color:var(--yel,#f5b342)}
html:root:root .avt-inchis{color:var(--grn,#2dd4bf);font-size:.76rem}
html:root:root .avt-atentie{color:var(--yel,#f5b342);font-size:.74rem}
html:root:root .avt-gol{color:var(--sub);font-style:italic;padding:.6rem}
html:root:root .avt-sensuri{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:.8rem}
html:root:root .avt-sensuri label{display:flex;flex-direction:column;gap:2px;padding:.55rem .7rem;border:1px solid var(--brd);border-radius:10px;cursor:pointer;font-size:.82rem}
html:root:root .avt-sensuri small{color:var(--sub);font-size:.72rem}
html:root:root .avt-grila{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
html:root:root .avt-grila label{display:flex;flex-direction:column;gap:3px;font-size:.74rem;color:var(--sub)}
html:root:root .avt-grila .avt-lat{grid-column:1/-1}
html:root:root .avt-jos{display:flex;justify-content:flex-end;gap:.4rem;margin-top:.9rem}
html:root:root .avt-lista-f{display:flex;flex-direction:column;gap:.35rem;margin:.5rem 0;max-height:46vh;overflow:auto}
html:root:root .avt-f{display:flex;align-items:center;gap:.6rem;padding:.45rem .6rem;border:1px solid var(--brd);border-radius:9px;background:var(--bg3);color:var(--txt);text-align:left;cursor:pointer;font-size:.8rem}
html:root:root .avt-f span{color:var(--sub);font-size:.74rem;flex:1}
html:root:root .avt-f .avt-nr{flex:0 0 auto;color:var(--txt)}
html:root:root .avt-doua{display:grid;grid-template-columns:1.3fr 1fr;gap:1rem}
html:root:root .avt-doua h4{margin:0 0 .4rem;font-size:.85rem}
@media (max-width:700px){html:root:root .avt-doua,html:root:root .avt-grila,html:root:root .avt-sensuri{grid-template-columns:1fr}}

/* §25 — centrele de cost (centre_cost.js): lista, notele de completat, picklist-ul de pe linii */
html:root:root .cct-kpi-rau .stat-value{color:#f5b342}
html:root:root .cct-avert{padding:10px 12px;border:1px solid rgba(245,179,66,.35);background:rgba(245,179,66,.07);border-radius:10px;font-size:.8rem;line-height:1.45;margin-bottom:.8rem;max-width:100ch}
html:root:root .cct-sect{margin-bottom:1rem;padding:12px 14px;border:1px solid var(--brd);border-radius:12px;background:var(--bg2)}
html:root:root .cct-sect-cap{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap;margin-bottom:.6rem}
html:root:root .cct-sect-cap span{color:var(--sub);font-size:.74rem;flex:1}
/* pasul 646: câte note sunt de completat, la secţiunea lor (fără carduri sus) */
html:root:root .cct-sect-cap b .cct-n-rau{flex:none;display:inline-block;margin-left:.35rem;padding:0 .45rem;border-radius:999px;font-size:.72rem;font-weight:700;color:#f5b342;background:rgba(245,179,66,.14)}
html:root:root .cct-scroll{overflow-x:auto;border:1px solid var(--brd);border-radius:10px}
html:root:root .cct-tab{width:100%;border-collapse:collapse;font-size:.8rem}
html:root:root .cct-tab th{padding:.45rem .6rem;text-align:left;background:var(--bg3);color:var(--sub);font-size:.68rem;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--brd);white-space:nowrap}
html:root:root .cct-tab td{padding:.38rem .6rem;border-bottom:1px solid var(--brd);vertical-align:middle}
html:root:root .cct-tab td.n{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
html:root:root .cct-cod{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--txt2)}
html:root:root .cct-expl{color:var(--sub);font-size:.74rem;min-width:200px}
html:root:root .cct-camp{white-space:nowrap}
html:root:root .cct-sel{font-size:.76rem;max-width:220px}
html:root:root .cct-sau{color:var(--sub);font-size:.72rem;margin:0 .35rem}
html:root:root .cct-act{white-space:nowrap;text-align:right}
html:root:root .cct-inactiv td{opacity:.55}
html:root:root .cct-gol{color:var(--sub);font-style:italic;font-size:.78rem;margin:.2rem 0}
html:root:root .cct-box{max-width:420px;width:calc(100% - 32px);padding:14px 16px}
html:root:root .cct-cap{display:flex;justify-content:space-between;align-items:center;margin-bottom:.6rem}
html:root:root .cct-corp{display:flex;flex-direction:column;gap:.55rem}
html:root:root .cct-bifa{display:flex;align-items:center;gap:.4rem;font-size:.8rem}
html:root:root .cct-jos{display:flex;justify-content:flex-end;gap:.4rem;margin-top:.3rem}
html:root:root .dl-cont{flex-wrap:wrap;row-gap:4px}
html:root:root .dl-centru{font-size:.74rem;max-width:230px;min-width:150px}
html:root:root .dl-centru.lipsa{border-color:#f5b342}
html:root:root .cct-imp-box{max-width:520px}
html:root:root .cct-imp-l{border:1px solid var(--brd);border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:6px}
html:root:root .cct-imp-cap{display:flex;justify-content:space-between;gap:.6rem;font-size:.8rem}
html:root:root .cct-imp-cap b{font-variant-numeric:tabular-nums}
html:root:root .cct-imp-rr{display:flex;flex-direction:column;gap:4px}
html:root:root .cct-imp-r{display:flex;gap:6px;align-items:center}
html:root:root .cct-imp-r select{flex:1;max-width:none}
html:root:root .cct-imp-s{width:110px;text-align:right;font-variant-numeric:tabular-nums}
html:root:root .cct-imp-l>.btn{align-self:flex-start}
html:root:root .cct-bara{display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:.6rem}
html:root:root .cct-fil,html:root:root .cct-fis{display:flex;gap:.35rem;flex-wrap:wrap}
html:root:root .cct-fil .btn.on{border-color:var(--cyan);color:var(--cyan);background:rgba(var(--acc-rgb),.10)}
html:root:root .cct-intro{font-size:.78rem;color:var(--sub);margin:0 0 .7rem;max-width:110ch;line-height:1.45}
html:root:root .cct-ok{color:var(--grn)}
html:root:root .cct-rau{color:#f5b342;font-weight:600}
html:root:root .cct-rz tbody tr.cct-cl{cursor:pointer}
html:root:root .cct-rz tbody tr.cct-cl:hover td{background:rgba(var(--acc-rgb),.06)}
html:root:root .cct-rz tfoot td{font-weight:700;background:var(--bg3);border-top:1px solid var(--brd);padding:.42rem .6rem}
html:root:root .cct-tab th.n{text-align:right}
html:root:root .cct-cum{border-left:1px solid var(--brd)}
html:root:root .cct-neg{color:#ff8a8a}
html:root:root .cct-fel{display:inline-block;font-size:.66rem;text-transform:uppercase;letter-spacing:.05em;padding:1px 7px;border-radius:999px;border:1px solid var(--brd);color:var(--txt2)}
html:root:root .cct-fel-a{border-color:rgba(var(--acc-rgb),.45);color:var(--cyan)}
html:root:root .cct-fel-n{border-color:rgba(245,179,66,.5);color:#f5b342}
html:root:root .cct-fixe{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:.6rem}
html:root:root .cct-fixe label{display:flex;flex-direction:column;gap:4px;font-size:.78rem;color:var(--sub)}
html:root:root .cct-fixe .cct-sel{max-width:none}
html:root:root .cct-ajutor{font-size:.72rem;color:var(--sub);margin-top:3px;line-height:1.35}
html:root:root .cct-bloc{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin:.2rem 0 .5rem;font-size:.78rem;color:var(--sub)}
html:root:root .cct-tot-doc{font-size:.68rem;color:var(--sub);margin-left:4px}
html:root:root .reg-fel{font-size:.78rem;margin-left:.4rem;max-width:220px}
/* pasul 649: facturile de furnizor fără comandă, cu o comandă deschisă la acelaşi furnizor — de confirmat */
html:root:root .ac-ffpo{margin:0 0 14px;padding:10px 14px;border:1px solid rgba(245,179,66,.35);border-radius:12px;background:rgba(245,179,66,.06)}
html:root:root .ac-ffpo-cap{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:6px;color:var(--txt)}
html:root:root .ac-ffpo-cap span{color:var(--sub);font-size:.74rem}
html:root:root .ac-ffpo-rand{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:5px 0;border-top:1px solid var(--brd);font-size:.82rem}
html:root:root .ac-ffpo-rand a{cursor:pointer;color:var(--cyan)}
html:root:root .ac-ffpo-mic{color:var(--sub);font-size:.72rem}
html:root:root .ac-ffpo-sag{color:var(--sub)}
html:root:root .ac-ffpo-rand select{max-width:100%;font-size:.78rem}
html:root:root .ac-poskip{font-size:.62rem;font-weight:600;padding:1px 7px;border-radius:10px;border:1px dashed var(--brd);color:var(--sub);white-space:nowrap}
html:root:root .df-propus{font-size:.72rem;color:var(--sub);margin-top:4px;line-height:1.35}
html:root:root .df-propus a{cursor:pointer;color:var(--cyan);font-weight:600}
/* pasul 651: registrul fiscal — denumirea sub cont, centralizatorul, nota 691, propunerile de profit reinvestit */
html:root:root .rf-tab .rf-den{font-size:.7rem;color:var(--sub);font-weight:400;line-height:1.25;margin-top:1px}
html:root:root .rf-691{display:flex;justify-content:flex-end;gap:8px;margin:8px 0 4px}
html:root:root .rf-h.rf-h-mic{font-size:.82rem;color:var(--sub);margin-top:14px}
html:root:root .rf-det td{font-size:.78rem}
html:root:root .rf-prop{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:4px 0 8px}
html:root:root .rf-tab .rf-den{white-space:normal;max-width:340px}
/* Pasul 652 — export PDF ANAF pe ecranele declaraţiilor */
html:root:root .dp-panou{margin-top:1.25rem;padding:1rem;border:1px solid var(--border);border-radius:10px;background:var(--surface)}
html:root:root .dp-h{margin:0 0 .4rem;color:var(--txt)}
html:root:root .dp-h.dp-h-mic{font-size:.85rem;color:var(--sub);margin-top:1rem}
html:root:root .dp-nota{color:var(--sub);font-size:.8rem;margin:.2rem 0 .6rem;max-width:80ch}
html:root:root .dp-err{color:var(--red)}
html:root:root .dp-lips{border-left:3px solid var(--red);padding:.4rem .75rem;margin:.5rem 0;font-size:.82rem;color:var(--txt)}
html:root:root .dp-avert{border-left:3px solid var(--yel);padding:.3rem .75rem;margin:.5rem 0;font-size:.8rem;color:var(--sub)}
html:root:root .dp-lips ul,html:root:root .dp-avert ul{margin:.25rem 0 0;padding-left:1.1rem}
html:root:root .dp-tab-w{overflow-x:auto}
html:root:root .dp-tab{width:100%;border-collapse:collapse;font-size:.82rem}
html:root:root .dp-tab th{text-align:left;color:var(--muted);font-size:.7rem;text-transform:uppercase;padding:.4rem .6rem;border-bottom:1px solid var(--border)}
html:root:root .dp-tab td{padding:.35rem .6rem;border-bottom:1px solid var(--border);vertical-align:top}
html:root:root .dp-tab tfoot td{font-weight:700}
html:root:root .dp-tab .dp-n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
html:root:root .dp-tab .dp-c{text-align:center}
html:root:root .dp-mono{font-family:monospace}
html:root:root .dp-sub{color:var(--sub);font-size:.74rem}
html:root:root .dp-gol{text-align:center;color:var(--muted);padding:.75rem}
html:root:root .dp-ok{color:var(--green);font-weight:700}
html:root:root .dp-form{display:flex;flex-wrap:wrap;gap:.6rem;align-items:flex-end;margin:.75rem 0}
html:root:root .dp-form label{display:flex;flex-direction:column;font-size:.74rem;color:var(--sub);gap:.2rem}
html:root:root .dp-form label.dp-bifa{flex-direction:row;align-items:center;gap:.35rem;padding-bottom:.4rem}
html:root:root .dp-form input:not([type=checkbox]){min-width:9rem}
html:root:root .dp-mic{padding:0 .4rem}
html:root:root .dp-fara{border-left:3px solid var(--green);padding:.4rem .75rem;margin:.5rem 0;font-size:.82rem;color:var(--green)}

/* §20 — pasul 654: temele speciale Bancar, Botanic, Atelier (ca în Pricelist PRO) — ca Clinic: meniul colorat,
   conţinutul luminos, fiecare din altă lume. data-clinic + data-stil; fundalul şi culoarea din „Reglaj fin" rămân ale omului. */
/* Bancar — private banking: bleumarin adânc şi auriu, hârtie ivoire, titluri cu serif */
html:root[data-clinic][data-stil="bancar"]{--ink-rgb:26,32,51;--txt:#1a2033;--txt2:#2e3650;--txt3:#4a5270;--sub:#575b6d;--n-faint:#6e6e6d;--grn:#2f7d5b;--grn-rgb:47,125,91;--yel:#a8690c;--red:#b4232f;--blu:#28508f;--blu-rgb:40,80,143;--mag:#6c4a9e;--n-disp:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif;--shadow:0 1px 2px rgba(26,32,51,.06);--shadow-lg:0 14px 30px -20px rgba(26,32,51,.34)}
html:root[data-clinic][data-stil="bancar"]:not([data-fundal]){--bg:#f6f4ee;--bg2:#ffffff;--bg3:#ffffff;--bg4:#efece3;--bg5:#e5e0d3;--inp:#ffffff;--card-bg:#ffffff;--card-bg2:#ffffff;--brd:#e3ddcf;--brd2:#d5cdb9}
html:root[data-clinic][data-stil="bancar"]:not([data-accent]){--cyan:#8c6b1a;--acc-rgb:140,107,26;--acc2:#6f5413;--sale-c:#8c6b1a;--doc-c:#8c6b1a}
html:root[data-clinic][data-stil="bancar"] .sina{background:#14213d}
html:root[data-clinic][data-stil="bancar"] .sina-b{color:#a9b4cc!important}
html:root[data-clinic][data-stil="bancar"] .sina-b.act{background:rgba(212,175,90,.2)!important;color:#ffffff!important}
html:root[data-clinic][data-stil="bancar"] .sina-b.act::before{background:#d4af5a}
html:root[data-clinic][data-stil="bancar"] .sina-punct{border-color:#14213d}
html:root[data-clinic][data-stil="bancar"] #btn-global-search{box-shadow:0 1px 2px rgba(26,32,51,.05)}
/* Botanic — grădină şi laborator verde: verde de pădure, salvie, crem */
html:root[data-clinic][data-stil="botanic"]{--ink-rgb:29,42,31;--txt:#1d2a1f;--txt2:#304233;--txt3:#4a5c4c;--sub:#525f4d;--n-faint:#657160;--grn:#3f7a2e;--grn-rgb:63,122,46;--yel:#a0660a;--red:#b83a2e;--blu:#2f6c8f;--blu-rgb:47,108,143;--mag:#7a4f8c;--shadow:0 1px 2px rgba(29,42,31,.06);--shadow-lg:0 14px 30px -20px rgba(29,42,31,.34)}
html:root[data-clinic][data-stil="botanic"]:not([data-fundal]){--bg:#f3f4ee;--bg2:#ffffff;--bg3:#ffffff;--bg4:#eceee4;--bg5:#e0e4d5;--inp:#ffffff;--card-bg:#ffffff;--card-bg2:#ffffff;--brd:#dfe3d3;--brd2:#cfd5bf}
html:root[data-clinic][data-stil="botanic"]:not([data-accent]){--cyan:#3f7a2e;--acc-rgb:63,122,46;--acc2:#2f5d22;--sale-c:#3f7a2e;--doc-c:#3f7a2e}
html:root[data-clinic][data-stil="botanic"] .sina{background:#1f3a2b}
html:root[data-clinic][data-stil="botanic"] .sina-b{color:#a7bfa9!important}
html:root[data-clinic][data-stil="botanic"] .sina-b.act{background:rgba(159,211,124,.2)!important;color:#ffffff!important}
html:root[data-clinic][data-stil="botanic"] .sina-b.act::before{background:#9fd37c}
html:root[data-clinic][data-stil="botanic"] .sina-punct{border-color:#1f3a2b}
html:root[data-clinic][data-stil="botanic"] #btn-global-search{box-shadow:0 1px 2px rgba(29,42,31,.05)}
/* Atelier — studio de design şi arhitectură: cărbune, portocaliu ars, alb cald */
html:root[data-clinic][data-stil="atelier"]{--ink-rgb:27,26,25;--txt:#1b1a19;--txt2:#34322f;--txt3:#4f4c48;--sub:#5e5b56;--n-faint:#726e69;--grn:#2f7d5b;--grn-rgb:47,125,91;--yel:#a8690c;--red:#c0262d;--blu:#2b5fa8;--blu-rgb:43,95,168;--mag:#7a4aa0;--n-disp:"Unbounded","Hanken Grotesk",system-ui,sans-serif;--shadow:0 1px 2px rgba(27,26,25,.06);--shadow-lg:0 14px 30px -20px rgba(27,26,25,.34)}
html:root[data-clinic][data-stil="atelier"]:not([data-fundal]){--bg:#f5f4f2;--bg2:#ffffff;--bg3:#ffffff;--bg4:#eeece8;--bg5:#e3e0da;--inp:#ffffff;--card-bg:#ffffff;--card-bg2:#ffffff;--brd:#e2dfd9;--brd2:#d3cfc7}
html:root[data-clinic][data-stil="atelier"]:not([data-accent]){--cyan:#c2410c;--acc-rgb:194,65,12;--acc2:#9a3412;--sale-c:#c2410c;--doc-c:#c2410c}
html:root[data-clinic][data-stil="atelier"] .sina{background:#1c1b1a}
html:root[data-clinic][data-stil="atelier"] .sina-b{color:#a8a49d!important}
html:root[data-clinic][data-stil="atelier"] .sina-b.act{background:rgba(255,122,61,.2)!important;color:#ffffff!important}
html:root[data-clinic][data-stil="atelier"] .sina-b.act::before{background:#ff7a3d}
html:root[data-clinic][data-stil="atelier"] .sina-punct{border-color:#1c1b1a}
html:root[data-clinic][data-stil="atelier"] #btn-global-search{box-shadow:0 1px 2px rgba(27,26,25,.05)}
/* fereastra „Aspectul tău": sunetul notificărilor */
html:root:root .ap-sunete{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
html:root:root .ap-sunete.off{opacity:.45;pointer-events:none}
html:root:root .ap-sn{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:9px;border:1px solid var(--brd);background:transparent;color:var(--txt2);font-size:.78rem;cursor:pointer;text-align:left}
html:root:root .ap-sn:hover{border-color:rgba(var(--acc-rgb),.45);color:var(--txt)}
html:root:root .ap-sn i{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--bg4);color:var(--cyan);font-style:normal;font-size:.6rem}
html:root:root .ap-sn.ales{border-color:var(--cyan);background:rgba(var(--acc-rgb),.12);color:var(--cyan);font-weight:600}
html:root:root .ap-sn.ales i{background:var(--cyan);color:var(--bg2)}
html:root:root .ap-vol{display:flex;align-items:center;gap:10px;margin:10px 0 2px;font-size:.75rem;color:var(--sub)}
html:root:root .ap-vol input{flex:1;accent-color:var(--cyan)}
html:root:root .ap-nota{font-size:.7rem;color:var(--sub);margin-top:10px;text-align:center}
/* §21 — pasul 656: „Link pentru agenţi" (ca în Pricelist PRO) */
html:root:root .la-m{position:fixed;inset:0;z-index:10060;display:none;align-items:center;justify-content:center;padding:16px}
html:root:root .la-box{width:520px;max-width:100%;max-height:calc(100vh - 32px);display:flex;flex-direction:column;background:var(--bg2);border:1px solid var(--brd2);border-radius:16px;box-shadow:var(--shadow-lg);color:var(--txt)}
html:root:root .la-cap{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid var(--brd);font-size:1rem}
html:root:root .la-cap i{color:var(--cyan)}
html:root:root .la-corp{padding:16px 20px;overflow:auto;display:flex;flex-direction:column;gap:10px;min-height:0}
html:root:root .la-jos{display:flex;justify-content:flex-end;padding:12px 20px;border-top:1px solid var(--brd)}
html:root:root .la-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--brd);border-radius:12px;cursor:pointer}
html:root:root .la-card b,html:root:root .la-om b{display:block;font-size:.85rem}
html:root:root .la-card small,html:root:root .la-om small{display:block;font-size:.72rem;color:var(--sub)}
html:root:root .la-nota{margin:0;font-size:.78rem;color:var(--sub);line-height:1.45}
html:root:root .la-lips{border-left:3px solid var(--red);padding:.4rem .75rem;font-size:.8rem}
html:root:root .la-link{display:flex;gap:8px}
html:root:root .la-link input{flex:1;min-width:0;padding:9px 12px;border:1px solid var(--brd2);border-radius:10px;background:var(--inp);color:var(--txt);font-size:.85rem}
html:root:root .la-sep{height:1px;background:var(--brd);margin:4px 0}
html:root:root .la-h{display:flex;justify-content:space-between;align-items:baseline;font-size:.85rem}
html:root:root .la-h span{font-size:.75rem;color:var(--sub)}
html:root:root .la-caut{padding:9px 12px;border:1px solid var(--brd2);border-radius:10px;background:var(--inp);color:var(--txt)}
html:root:root .la-lista{display:flex;flex-direction:column;gap:6px;max-height:320px;overflow:auto;padding-right:2px}
html:root:root .la-om{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border:1px solid var(--brd);border-radius:10px}
html:root:root .la-om.mereu{opacity:.65}
html:root:root .la-sw{position:relative;flex:none;cursor:pointer}
html:root:root .la-sw input{position:absolute;opacity:0;pointer-events:none}
html:root:root .la-sw i{display:block;width:38px;height:22px;border-radius:999px;background:var(--bg5);position:relative;transition:background .15s}
html:root:root .la-sw i::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#ffffff;transition:left .15s}
html:root:root .la-sw input:checked + i{background:var(--cyan)}
html:root:root .la-sw input:checked + i::after{left:19px}
html:root:root .la-sw input:disabled + i{cursor:default}
/* §22 — pasul 657: „Dispozitive" (aceeaşi fereastră ca „Link pentru agenţi") */
html:root:root .dv-box{width:640px}
html:root:root .dv-tab{display:flex;gap:6px;flex-wrap:wrap}
html:root:root .dv-tab button{padding:6px 12px;border-radius:999px;border:1px solid var(--brd2);background:transparent;color:var(--txt2);font-size:.78rem;cursor:pointer}
html:root:root .dv-tab button.ales{border-color:var(--cyan);background:rgba(var(--acc-rgb),.12);color:var(--cyan);font-weight:600}
html:root:root .dv-tab small{opacity:.75;margin-left:2px}
html:root:root .dv-lista{max-height:420px}
html:root:root .dv-r{align-items:flex-start}
html:root:root .dv-st{min-width:0}
html:root:root .dv-st small{overflow-wrap:anywhere}
html:root:root .dv-btn{display:flex;gap:6px;flex:none;flex-wrap:wrap;justify-content:flex-end}
html:root:root .dv-incerc{display:inline;color:var(--red);font-size:.72rem}
/* §23 — pasul 661: meniul contului ca în Kelox Trading; fereastra Aspect şi meniul încap în ecran, cu derulare */
html:root:root .aspect-pop{max-height:calc(100vh - 16px)!important;overflow-y:auto!important;overscroll-behavior:contain}
html:root:root .sina-pop{max-height:calc(100vh - 24px);overflow-y:auto;overscroll-behavior:contain}
html:root:root .sp-grup{font-size:.66rem;letter-spacing:.09em;text-transform:uppercase;color:var(--sub);font-weight:600;padding:8px 10px 3px}
html:root:root .sp-rosu{color:var(--red);font-weight:700;margin-left:4px}

/* ── Pasul 662: „Acces şi securitate" — o fereastră cu patru file (Utilizatori, Link, Dispozitive, Încercări de intrare) ── */
html:root:root .as-box{width:760px}
html:root:root .as-file{display:flex;gap:2px;padding:6px 14px 0;border-bottom:1px solid var(--brd);overflow-x:auto;scrollbar-width:none;flex:none}
html:root:root .as-file::-webkit-scrollbar{display:none}
html:root:root .as-f{display:inline-flex;align-items:center;gap:7px;flex:none;padding:9px 12px;border:0;border-bottom:2px solid transparent;border-radius:8px 8px 0 0;background:none;color:var(--txt2);font-size:.82rem;font-weight:600;cursor:pointer;white-space:nowrap}
html:root:root .as-f:hover{color:var(--txt);background:var(--bg3)}
html:root:root .as-f.ales{color:var(--txt);border-bottom-color:var(--cyan)}
html:root:root .as-f i{font-size:1rem}
html:root:root .as-s{display:none}
html:root:root .as-n{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--red);color:#fff;font-size:.68rem;line-height:18px;text-align:center}
html:root:root .as-gazda{display:flex;flex-direction:column;min-height:0;flex:1}
html:root:root .as-in{width:auto;max-width:none;max-height:none;border:0;border-radius:0;box-shadow:none;background:transparent;min-height:0;flex:1}
html:root:root .as-in>.la-cap,html:root:root .as-in>.la-jos{display:none}
html:root:root .as-u{flex-wrap:wrap}
html:root:root .as-pf{flex-basis:100%;display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:8px}
html:root:root .as-pf input{flex:1 1 220px;min-width:0;font-family:var(--n-mono,monospace)}
html:root:root .as-msg{flex-basis:100%;color:var(--red)}
html:root:root .as-sum{padding:10px 12px;border:1px solid var(--brd);border-radius:10px;background:var(--bg3);font-size:.82rem}
html:root:root .as-sum small{display:block;color:var(--txt2);margin-top:3px}
html:root:root .as-k{display:inline-block;padding:1px 8px;border-radius:9px;font-size:.7rem;font-weight:600;margin-right:4px}
html:root:root .as-k.ok{color:var(--grn);background:rgba(52,211,153,.12)}
html:root:root .as-k.r{color:var(--red);background:rgba(248,113,113,.13)}
html:root:root .as-k.y{color:var(--yel);background:rgba(250,204,21,.13)}
html:root:root .as-k.b{color:var(--cyan);background:rgba(var(--acc-rgb),.12)}
html:root:root .as-i.nou{background:rgba(248,113,113,.06)}
html:root:root .as-nou{display:inline-block;padding:0 6px;border-radius:8px;background:var(--red);color:#fff;font-size:.62rem;font-weight:700;vertical-align:1px}
@media (max-width:760px){
  html:root:root .as-file{padding:6px 8px 0;gap:0}
  html:root:root .as-f{padding:9px 8px;gap:5px}
  html:root:root .as-l{display:none}
  html:root:root .as-s{display:inline}
}
/* §26 — pasul 664: Dotările (Salarizare → Dotări, „Dotările mele"): carduri pe oameni, galben sub 30 de zile, roşu sub 7 */
html:root:root .dt-ecran{display:flex;flex-direction:column;gap:14px}
html:root:root .dt-kpi{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
html:root:root .dt-k{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;padding:12px 14px;border:1px solid var(--brd);border-radius:14px;background:var(--bg3);color:var(--txt);cursor:pointer;transition:border-color .15s,transform .15s}
html:root:root .dt-k:hover{border-color:var(--brd2);transform:translateY(-1px)}
html:root:root .dt-k.activ{border-color:var(--cyan);box-shadow:0 0 0 1px var(--cyan) inset}
html:root:root .dt-k i{grid-row:1/3;font-size:1.25rem;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--bg5);color:var(--sub)}
html:root:root .dt-k b{font-size:1.35rem;font-variant-numeric:tabular-nums;line-height:1.1}
html:root:root .dt-k span{font-size:.72rem;color:var(--sub)}
html:root:root .dt-k.galben i{color:var(--yel);background:color-mix(in srgb,var(--yel) 14%,transparent)}
html:root:root .dt-k.rosu i{color:var(--red);background:color-mix(in srgb,var(--red) 14%,transparent)}
html:root:root .dt-k.rosu b{color:var(--red)}
html:root:root .dt-bara{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
html:root:root .dt-caut{display:flex;align-items:center;gap:8px;padding:0 12px;height:34px;border:1px solid var(--brd);border-radius:10px;background:var(--bg2);min-width:240px;flex:0 1 320px}
html:root:root .dt-caut i{color:var(--sub)}
html:root:root .dt-caut input{border:0;background:transparent;color:var(--txt);outline:none;width:100%;font-size:.85rem}
html:root:root .dt-filtre{display:flex;gap:4px;flex-wrap:wrap}
html:root:root .dt-f{border:1px solid var(--brd);background:transparent;color:var(--sub);border-radius:999px;padding:5px 12px;font-size:.78rem;cursor:pointer}
html:root:root .dt-f.activ{background:var(--txt);color:var(--bg);border-color:var(--txt)}
html:root:root .dt-grila{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:12px;align-items:start}
html:root:root .dt-card{position:relative;display:flex;flex-direction:column;border:1px solid var(--brd);border-radius:16px;background:var(--bg3);overflow:hidden}
html:root:root .dt-card::before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:transparent}
html:root:root .dt-card.s-galben::before{background:var(--yel)}
html:root:root .dt-card.s-rosu::before,html:root:root .dt-card.s-expirat::before{background:var(--red)}
html:root:root .dt-om{display:flex;align-items:center;gap:12px;padding:14px 16px 10px}
html:root:root .dt-av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:.85rem;color:#fff;background:linear-gradient(135deg,hsl(var(--h) 55% 48%),hsl(calc(var(--h) + 40) 60% 38%));flex:none}
html:root:root .dt-av.firma{background:var(--bg5);color:var(--sub);font-size:1.1rem}
html:root:root .dt-omt{min-width:0;flex:1}
html:root:root .dt-omt b{display:block;font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root:root .dt-omt small{display:block;font-size:.72rem;color:var(--sub)}
html:root:root .dt-nr{min-width:26px;height:26px;padding:0 8px;border-radius:999px;background:var(--bg5);color:var(--sub);display:grid;place-items:center;font-size:.75rem;font-weight:700;font-variant-numeric:tabular-nums}
html:root:root .dt-pleaca{margin:0 16px 8px;padding:7px 10px;border-radius:10px;font-size:.75rem;color:var(--red);background:color-mix(in srgb,var(--red) 10%,transparent)}
html:root:root .dt-bunuri{display:flex;flex-direction:column;padding:0 8px}
html:root:root .dt-bun{display:flex;align-items:flex-start;gap:10px;padding:9px 8px;border-radius:10px;cursor:pointer}
html:root:root .dt-bun:hover{background:var(--bg4)}
html:root:root .dt-bun.static{cursor:default;border:1px solid var(--brd);margin-bottom:8px}
html:root:root .dt-bun.static:hover{background:transparent}
html:root:root .dt-bun+.dt-bun:not(.static){border-top:1px dashed var(--brd)}
html:root:root .dt-ic{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--bg5);color:var(--cyan);font-size:1.05rem;flex:none}
html:root:root .dt-bun.s-galben .dt-ic{color:var(--yel)}
html:root:root .dt-bun.s-rosu .dt-ic,html:root:root .dt-bun.s-expirat .dt-ic{color:var(--red)}
html:root:root .dt-bt{min-width:0;flex:1}
html:root:root .dt-bt b{display:block;font-size:.86rem;letter-spacing:.01em}
html:root:root .dt-bt small{display:block;font-size:.72rem;color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root:root .dt-ps{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}
html:root:root .dt-p{display:inline-flex;align-items:center;gap:4px;font-size:.68rem;padding:2px 8px;border-radius:999px;color:var(--sub);background:var(--bg5);white-space:nowrap}
html:root:root .dt-p b{font-weight:700}
html:root:root .dt-p.ok{color:var(--grn);background:color-mix(in srgb,var(--grn) 11%,transparent)}
html:root:root .dt-p.galben{color:var(--yel);background:color-mix(in srgb,var(--yel) 14%,transparent)}
html:root:root .dt-p.rosu,html:root:root .dt-p.expirat{color:var(--red);background:color-mix(in srgb,var(--red) 14%,transparent)}
html:root:root .dt-p.expirat{outline:1px solid color-mix(in srgb,var(--red) 50%,transparent)}
html:root:root .dt-p.lipsa{color:var(--yel);background:transparent;outline:1px dashed color-mix(in srgb,var(--yel) 60%,transparent)}
html:root:root .dt-sag{color:var(--sub);opacity:.5;margin-top:8px}
html:root:root .dt-act{display:flex;gap:6px;justify-content:flex-end;padding:8px 12px 12px;margin-top:auto}
html:root:root .dt-gol{color:var(--sub);font-size:.78rem;padding:8px}
html:root:root .dt-gol.mare{padding:30px;text-align:center;font-size:.9rem}
html:root:root .dt-firma{border-style:dashed}
html:root:root .dt-m{position:fixed;inset:0;z-index:10060;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(3,4,6,.6)}
html:root:root .dt-box{width:580px;max-width:100%;max-height:calc(100vh - 32px);display:flex;flex-direction:column;background:var(--bg2);border:1px solid var(--brd2);border-radius:18px;box-shadow:var(--shadow-lg);color:var(--txt)}
html:root:root .dt-box.lat{width:760px}
html:root:root .dt-cap{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--brd)}
html:root:root .dt-cap>i{font-size:1.3rem;color:var(--cyan);width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--bg5)}
html:root:root .dt-cap b{display:block;font-size:1rem}
html:root:root .dt-cap small{display:block;font-size:.75rem;color:var(--sub)}
html:root:root .dt-cap .dt-x{margin-left:auto}
html:root:root .dt-corp{padding:16px 18px;overflow:auto;display:flex;flex-direction:column;gap:12px;min-height:0;overscroll-behavior:contain}
html:root:root .dt-jos{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:12px 18px;border-top:1px solid var(--brd)}
html:root:root .dt-jos.mic{padding:8px 0 0;border:0}
html:root:root .dt-jos .dt-stg{margin-right:auto}
html:root:root .dt-doua{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
html:root:root .dt-aj{display:block;font-size:.7rem;color:var(--sub);margin-top:3px}
html:root:root .dt-feluri{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
html:root:root .dt-fel{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border:1px solid var(--brd);border-radius:12px;background:var(--bg3);color:var(--sub);font-size:.72rem;cursor:pointer}
html:root:root .dt-fel i{font-size:1.25rem}
html:root:root .dt-fel.activ{border-color:var(--cyan);color:var(--txt);box-shadow:0 0 0 1px var(--cyan) inset}
html:root:root .dt-fel.activ i{color:var(--cyan)}
html:root:root .dt-fel:disabled:not(.activ){opacity:.35;cursor:default}
html:root:root .dt-kvs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2px 16px}
html:root:root .dt-kv{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px dashed var(--brd);font-size:.8rem}
html:root:root .dt-kv span{color:var(--sub)}
html:root:root .dt-kv b{text-align:right;word-break:break-word;font-variant-numeric:tabular-nums}
html:root:root .dt-sect{display:flex;flex-direction:column;gap:6px}
html:root:root .dt-sh{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:4px}
html:root:root .dt-sh b{font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;color:var(--sub)}
html:root:root .dt-sh small{font-size:.72rem;color:var(--sub)}
html:root:root .dt-t{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--brd);border-radius:12px;background:var(--bg3)}
html:root:root .dt-t.s-galben{border-color:color-mix(in srgb,var(--yel) 45%,var(--brd))}
html:root:root .dt-t.s-rosu,html:root:root .dt-t.s-expirat{border-color:color-mix(in srgb,var(--red) 55%,var(--brd))}
html:root:root .dt-t.s-lipsa{border-style:dashed}
html:root:root .dt-tt b{display:block;font-size:.85rem}
html:root:root .dt-tt small{display:block;font-size:.72rem;color:var(--sub)}
html:root:root .dt-tv{font-size:.78rem;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:3px}
html:root:root .dt-vechi{grid-column:1/-1;font-size:.72rem;color:var(--sub)}
html:root:root .dt-vechi summary{cursor:pointer}
html:root:root .dt-vechi div{padding:3px 0 0 12px}
html:root:root .dt-li{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;font-size:.8rem;color:var(--txt);text-decoration:none}
html:root:root .dt-li>i:first-child{color:var(--sub);font-size:1.05rem}
html:root:root .dt-li span{flex:1;min-width:0}
html:root:root .dt-li b{display:block;font-weight:600}
html:root:root .dt-li small{display:block;color:var(--sub);font-size:.72rem}
html:root:root .dt-li a{color:var(--cyan)}
html:root:root .dt-link:hover{background:var(--bg4)}
html:root:root .dt-subf{border:1px solid var(--cyan);border-radius:14px;padding:12px 14px;background:color-mix(in srgb,var(--cyan) 5%,var(--bg3));display:flex;flex-direction:column;gap:10px}
html:root:root .dt-alege{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--brd);border-radius:12px;cursor:pointer}
html:root:root .dt-alege:has(.dt-ch:checked){border-color:var(--cyan);background:color-mix(in srgb,var(--cyan) 6%,transparent)}
html:root:root .dt-km{width:110px;height:30px;border:1px solid var(--brd);border-radius:8px;background:var(--bg2);color:var(--txt);padding:0 8px;font-size:.8rem}
@media (max-width:640px){html:root:root .dt-feluri{grid-template-columns:repeat(2,1fr)}html:root:root .dt-t{grid-template-columns:1fr}html:root:root .dt-tv{align-items:flex-start;text-align:left}}
html:root:root .dt-card.dt-mic .dt-om{padding:12px 14px}
html:root:root .dt-card.dt-mic .dt-av{width:34px;height:34px;font-size:.78rem}
/* §27 — pasul 665: linia locurilor sub salut (agenţii de Trading) şi clasamentul de pe panoul Vânzări Trading */
html:root:root{--loc1:#22c55e;--loc2:#3b82f6;--loc3:#eab308;--loc4:#f97316;--loc5:#ef4444;--loc0:color-mix(in srgb,var(--sub) 45%,transparent)}
html:root:root .cl-linie{background-image:var(--cl-g);background-repeat:no-repeat;background-size:100% 4px;background-position:0 100%;padding-bottom:7px;
  -webkit-box-decoration-break:clone;box-decoration-break:clone;animation:clCreste 1.1s cubic-bezier(.2,.7,.2,1)}
@keyframes clCreste{from{background-size:0 5px}}
html:root:root .ac-titlu .cl-linie{background-size:100% 5px;padding-bottom:9px}
html:root:root .cl-lista{display:flex;flex-direction:column;gap:4px}
html:root:root .cl-rand{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:10px 4px;border-bottom:1px dashed var(--brd)}
html:root:root .cl-rand:last-child{border-bottom:0}
html:root:root .cl-nume{font-weight:600;font-size:.92rem;min-width:0}
html:root:root .cl-locuri{display:flex;gap:6px}
html:root:root .cl-loc{display:flex;flex-direction:column;align-items:center;min-width:64px;padding:4px 8px;border-radius:10px;
  background:color-mix(in srgb,var(--c) 14%,transparent);border:1px solid color-mix(in srgb,var(--c) 40%,transparent)}
html:root:root .cl-loc small{font-size:.62rem;color:var(--sub);text-transform:uppercase;letter-spacing:.05em}
html:root:root .cl-loc b{font-size:.95rem;color:var(--c);font-variant-numeric:tabular-nums}

/* §28 — pasul 694: semnătura omului din e-mailuri, în fereastra „Modifică utilizator" şi sub nume, în listă */
html:root:root .adm-sem694{border-top:1px solid var(--brd);margin:0 0 1rem;padding-top:.75rem;display:grid;grid-template-columns:1fr 1fr;gap:.5rem .75rem}
html:root:root .adm-sem694 .fld{margin:0}
html:root:root .adm-sem694-titlu{grid-column:1/-1;font-size:.8rem;font-weight:600;color:var(--txt2)}
html:root:root .adm-sem694-titlu small{font-weight:400;color:var(--sub);font-size:.72rem}
html:root:root .adm-sem694-rand{font-size:.72rem;color:var(--sub);margin-top:2px}

/* §29 — pasul 697: copia backup-ului pe discul extern (Admin › Sistem şi backup) */
html:root:root .adm-disc697{background:var(--bg3);border:1px solid var(--brd);border-radius:10px;padding:1.25rem;display:flex;flex-direction:column;gap:.6rem;min-width:0}
html:root:root .adm-disc697-titlu{color:var(--c-f97316,#f97316);margin:0 0 .3rem}
html:root:root .adm-disc697-stare{font-size:.83rem}
html:root:root .adm-disc697-nota{font-size:.75rem;color:var(--sub);line-height:1.45}
html:root:root .adm-disc697-rau{font-size:.8rem;color:var(--red)}
html:root:root .adm-disc697-ok{font-size:.72rem;font-weight:600;color:var(--grn);border:1px solid var(--grn);border-radius:999px;padding:.1rem .55rem}
html:root:root .adm-disc697-disc{background:var(--bg4);border-radius:6px;padding:.5rem .65rem}
html:root:root .adm-disc697-rand{display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap;font-size:.82rem}
html:root:root .adm-disc697-rand small{display:block;color:var(--sub);font-size:.72rem}
html:root:root .adm-disc697-form{display:flex;flex-direction:column;gap:.45rem;margin-top:.55rem}
html:root:root .adm-disc697-form input{padding:.4rem .6rem;background:var(--inp);border:1px solid var(--brd);border-radius:6px;color:var(--txt)}
html:root:root .adm-disc697-butoane{display:flex;gap:.5rem;flex-wrap:wrap}
/* ── Pasul 1087 — el (11.11, 17:59): „nu se vede frumos, nici animaţia din spate nu mai e la curent cu logoul”.
   Cartonaşul din stânga al intrării e mereu închis la culoare → mereu sigla cu numele alb (pe orice temă);
   sloganul şi orbita în movul Kelox. */
html:root:root .erou .kx-pe-deschis{display:none!important}
html:root:root .erou .kx-pe-inchis{display:block!important}
/* pasul 1088 — el (18:23): la încărcare „nu se vede bine” — încărcarea şi alegerea modulului sunt mereu închise la culoare → sigla albă */
html:root:root #app-loader .kx-pe-deschis,html:root:root #module-selector .kx-pe-deschis{display:none!important}
html:root:root #app-loader .kx-pe-inchis,html:root:root #module-selector .kx-pe-inchis{display:block!important}
html:root:root .erou-slogan{color:#fff}
html:root:root .erou-slogan span{background:linear-gradient(95deg,#f1ecfd 0%,#b79cff 45%,#7c4dff 100%);-webkit-background-clip:text;background-clip:text}
html:root:root .orbita .o-kx{filter:drop-shadow(0 0 10px rgba(124,77,255,.8))}
html:root:root .login-btn:hover{filter:brightness(1.1)}

/* pasul 857 (decizia 34): textele explicative lungi într-un ⓘ lângă titlu */
html:root:root .page-title.cu-info{display:inline-block;vertical-align:middle}
html:root:root .info-i{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:6px;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--sub);font-size:.95rem;line-height:1;cursor:pointer}
html:root:root .info-i:hover,html:root:root .info-i:focus-visible{color:var(--txt);background:var(--bg4)}
html:root:root .info-bula{position:absolute;z-index:9000;padding:9px 12px;border-radius:9px;background:var(--bg2);color:var(--txt2);border:1px solid var(--brd2);box-shadow:0 8px 24px rgba(var(--ink-rgb),.18);font-size:.8rem;line-height:1.45}
/* pasul 858 (decizia 25): clopoţelul — numărul roşu doar pentru „De făcut”; securitatea cu scutul ei; informaţiile
   cu un punct discret (fără număr) */
html:root:root #notif-count{background:var(--red)}
html:root:root #notif-bell{position:relative}
html:root:root #notif-bell.are-securitate::before{content:"";position:absolute;left:-3px;bottom:-3px;width:11px;height:11px;border-radius:3px;background:var(--yel);box-shadow:0 0 0 2px var(--bg);-webkit-mask:none}
html:root:root #notif-bell.are-info::after{content:"";position:absolute;top:-2px;right:-2px;width:8px;height:8px;border-radius:50%;background:var(--sub);box-shadow:0 0 0 2px var(--bg)}
html:root:root .ni-s-facut .ni-nr{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--red);color:var(--n-acc-ink);font-size:.7rem;margin:0 4px}
html:root:root .ni-s-securitate i{color:var(--yel)}
html:root:root .ni-securitate{cursor:pointer}
/* pasul 858 (decizia 14): zona de documente — în bară doar iconiţa (clic = alegi); cea mare apare când tragi un fişier */
html:root:root #dd-zona{flex:0 0 auto;width:36px;max-width:36px;min-width:36px;padding:0;justify-content:center;border-style:solid;border-width:1px}
html:root:root #dd-zona .dd-zona-t{display:none}
/* pasul 860 (decizia 10): pe ecran mic căutarea e doar iconiţa (tab-urile care nu încap intră sub „Mai multe ▾”) */
@media (max-width:1100px){html:root:root #btn-global-search{flex:0 0 auto!important;width:36px;max-width:36px!important;padding:0;justify-content:center}html:root:root #btn-global-search .bc-t,html:root:root #btn-global-search kbd{display:none}}
/* pasul 860 (decizia 11): sub-tab-urile din pagină (nivelul 3) — butoane-pastilă, comutator */
html:root:root :is(.btn.acc-tab,.reg-tab,.adm-tab,.pay-tab,.log-tab:not(table),.cert-tab:not(table),.cir-tab){border-radius:999px;border:1px solid var(--brd);background:var(--bg3);color:var(--txt2);padding:5px 13px;font-size:.8rem;font-weight:500;line-height:1.3;box-shadow:none}
html:root:root :is(.btn.acc-tab,.reg-tab,.adm-tab,.pay-tab,.log-tab:not(table),.cert-tab:not(table),.cir-tab):hover{border-color:var(--brd2);color:var(--txt)}
html:root:root :is(.btn.acc-tab,.reg-tab,.adm-tab,.pay-tab,.log-tab:not(table),.cert-tab:not(table),.cir-tab):is(.active,.act,.on,[aria-selected="true"]){background:rgba(var(--acc-rgb),.14);border-color:rgba(var(--acc-rgb),.45);color:var(--txt);font-weight:600}
/* pasul 861 (decizia 39): „Aprobări” doar din butonul de sus — intrările rămân în meniul-sursă (drepturile pe intrare,
   pasul 830), dar nu mai apar ca tab-uri / în meniu */
#sb-nav #tab-cereri-aprobare,#sb-nav #tab-adm-aprobari,#sb-nav #sb-adm-aprobari-sub,#sb-nav #tab-adm-ctb-aprobari,#sb-nav #sb-adm-ctb-aprobari-sub{display:none!important}
/* pasul 861 (decizia 39): filele panoului „Aprobări” — De aprobat / Istoric */
html:root:root .apr-file{display:flex;gap:6px;padding:4px 2px 10px}
/* pasul 862 (decizia 2): modulul „Rapoarte” — secţiunile, cu cartonaşele rapoartelor */
html:root:root .rap-acasa{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;padding:4px 0 24px}
html:root:root .rap-sect{border:1px solid var(--brd);border-radius:14px;background:var(--bg2);padding:12px}
html:root:root .rap-sect h3{margin:2px 4px 10px;font-size:.86rem;font-weight:600;color:var(--txt);display:flex;align-items:center;gap:6px}
html:root:root .rap-card{display:flex;gap:10px;align-items:flex-start;width:100%;text-align:left;padding:9px 10px;margin:0 0 6px;border:1px solid transparent;border-radius:10px;background:var(--bg4);color:var(--txt2);cursor:pointer}
html:root:root .rap-card:hover{border-color:var(--brd2);color:var(--txt)}
html:root:root .rap-card i{font-size:1.05rem;color:var(--sub);margin-top:1px}
html:root:root .rap-card b{display:block;font-weight:600;font-size:.83rem;color:var(--txt)}
html:root:root .rap-card small{display:block;font-size:.74rem;color:var(--sub);margin-top:2px;line-height:1.35}
/* pasul 863 (decizia 17): „Preţuri & stoc” — comutatorul şi coloana de stoc */
html:root:root .ps-pastile{display:flex;gap:6px;align-items:center;margin:0 10px}
html:root:root .ps-pastile[hidden]{display:none}
html:root:root td.pl-stoc{white-space:nowrap;font-variant-numeric:tabular-nums}
html:root:root .ps-stoc b{color:var(--txt);font-weight:600}
html:root:root .ps-stoc.gol b{color:var(--sub)}
/* pasul 865 (decizia 12): calea reală, clicabilă, sub tab-uri (doar când eşti mai jos de un tab) */
html:root:root .cale-reala{display:flex;align-items:center;flex-wrap:wrap;gap:2px 4px;padding:6px 24px 0;font-size:.78rem;color:var(--sub)}
html:root:root .cale-reala[hidden]{display:none}
html:root:root .cale-p{border:0;background:transparent;padding:2px 4px;border-radius:5px;color:var(--sub);font:inherit;cursor:pointer}
html:root:root button.cale-p:hover{color:var(--txt);background:var(--bg4)}
html:root:root .cale-t{cursor:default}
html:root:root .cale-ac{color:var(--txt);font-weight:600;cursor:default}
html:root:root .cale-s{color:var(--n-faint)}

/* Pasul 870 (decizia 8): loturile în ecranul de Stoc — filtrele (pastile), semnele, meniul de acţiuni pe lot */
html:root:root .st-lf{display:flex;flex-wrap:wrap;gap:6px;padding:10px 2px 12px}
html:root:root .st-lf-b{border-radius:999px;border:1px solid var(--brd);background:var(--bg3);color:var(--txt2);padding:5px 13px;font-size:.8rem;font-weight:500;line-height:1.3;cursor:pointer}
html:root:root .st-lf-b b{font-weight:600;margin-left:3px;color:var(--txt)}
html:root:root .st-lf-b:hover{border-color:var(--brd2);color:var(--txt)}
html:root:root .st-lf-b.act{background:rgba(var(--acc-rgb),.14);border-color:rgba(var(--acc-rgb),.45);color:var(--txt);font-weight:600}
html:root:root .st-lf-b.rau b{color:var(--red)}
html:root:root .st-lf-b.zero{opacity:.55}
html:root:root .badge.st-bl{background:rgba(255,107,107,.12);border-color:rgba(255,107,107,.4);color:var(--red);margin-left:4px}
html:root:root .badge.st-rz{background:var(--bg3);border-color:var(--brd);color:var(--sub);margin-left:4px}
html:root:root .st-lot-m{padding:3px 7px}
html:root:root .st-lot-meniu{position:fixed;z-index:10065;min-width:240px;background:var(--bg3);border:1px solid var(--brd2);border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,.28);padding:5px;display:flex;flex-direction:column}
html:root:root .st-lot-meniu[hidden]{display:none}
html:root:root .st-lot-meniu button{display:flex;align-items:center;gap:8px;background:none;border:0;color:var(--txt);text-align:left;
  padding:8px 10px;border-radius:7px;font-size:.84rem;cursor:pointer}
html:root:root .st-lot-meniu button:hover,html:root:root .st-lot-meniu button:focus-visible{background:rgba(var(--acc-rgb),.12)}

/* Pasul 872 (decizia 26): Oportunităţi (Trading) — „În lucru” + „Vedere” într-o singură listă de stare */
html:root:root .tt-app .tv-sel{border-radius:999px;border:1px solid var(--brd);background:var(--bg3);color:var(--txt);padding:5px 12px;
  font-size:.8rem;min-width:190px;cursor:pointer}
html:root:root .tt-app .tv-sel:hover{border-color:var(--brd2)}

/* Pasul 873 (decizia 37): Admin › Targete — anul întreg, agenţii Trading */
html:root:root .tgt-bara{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}
html:root:root .tgt-an{font-size:1.05rem;min-width:3.2em;text-align:center}
html:root:root .tgt-nota{font-size:.75rem;color:var(--sub)}
html:root:root .tgt-tab-w{overflow-x:auto}
html:root:root .tgt-tab{width:100%;border-collapse:collapse;font-size:.8rem;min-width:980px}
html:root:root .tgt-tab th{padding:6px 4px;color:var(--sub);font-weight:600;font-size:.72rem;text-transform:uppercase;border-bottom:2px solid var(--brd);text-align:right}
html:root:root .tgt-tab th:first-child,html:root:root .tgt-tab td.tgt-ag{text-align:left}
html:root:root .tgt-tab td{padding:6px 4px;border-bottom:1px solid var(--brd);text-align:right;vertical-align:top}
html:root:root .tgt-tab .acum{background:rgba(var(--acc-rgb),.07)}
html:root:root .tgt-ag{font-weight:600;white-space:nowrap}
html:root:root .tgt-in{width:100%;max-width:92px;background:var(--inp,var(--bg3));border:1px solid var(--brd);border-radius:6px;padding:3px 5px;color:var(--txt);text-align:right;font-size:.8rem}
html:root:root .tgt-r{font-size:.72rem;color:var(--sub);margin-top:3px;white-space:nowrap}
html:root:root .tgt-p{font-weight:600}
html:root:root .tgt-p.ok{color:var(--grn)}
html:root:root .tgt-p.atent{color:var(--ora)}
html:root:root .tgt-p.rau{color:var(--red)}
html:root:root .tgt-tot{border-left:1px solid var(--brd);font-weight:600}
html:root:root .tgt-gol{color:var(--sub);padding:1.4rem;text-align:center}

/* Pasul 875 (deciziile 6 şi 32): insigna ANAF se apasă (ce e real / simulat); starea e-Factura pe documente */
html:root:root .hdr-anaf-sim{cursor:pointer}
html:root:root .anaf-sim-pop{position:fixed;z-index:10070;max-width:360px;background:var(--bg3);border:1px solid var(--brd2);border-radius:12px;
  box-shadow:0 12px 32px rgba(0,0,0,.3);padding:12px 14px;font-size:.82rem;color:var(--txt);display:flex;flex-direction:column;gap:8px}
html:root:root .anaf-sim-pop ul{margin:4px 0 0 16px;padding:0}
html:root:root .anaf-sim-pop li{margin:2px 0;color:var(--txt2)}
html:root:root .ef-chip{display:inline-block;font-size:.66rem;padding:1px 7px;border-radius:8px;border:1px solid var(--brd);color:var(--sub);white-space:nowrap}
html:root:root .ef-chip.ef-sim{color:var(--ora);border-color:var(--ora)}
html:root:root .ef-chip.ef-ok{color:var(--grn);border-color:var(--grn)}
html:root:root .ef-chip.ef-rau{color:var(--red);border-color:var(--red)}

/* Pasul 878 (decizia 40): „Încă se încarcă…” după 3 s — jos, nu blochează nimic */
html:root:root .viteza-bara{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:10080;background:var(--bg3);
  border:1px solid var(--brd2);border-radius:999px;padding:8px 16px;font-size:.82rem;color:var(--txt);box-shadow:0 8px 24px rgba(0,0,0,.25)}
html:root:root .viteza-bara[hidden]{display:none}

/* Pasul 879 (decizia 36): fişa clientului = dosar, pe file */
html:root:root .fp-file{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
html:root:root .fp-fila{border-radius:999px;border:1px solid var(--brd);background:var(--bg3);color:var(--txt2);padding:4px 12px;font-size:.78rem;cursor:pointer}
html:root:root .fp-fila.act{background:rgba(var(--acc-rgb),.14);border-color:rgba(var(--acc-rgb),.45);color:var(--txt);font-weight:600}
html:root:root .fp-pan[hidden]{display:none}
html:root:root .fp-gol{color:var(--sub);padding:1rem;text-align:center;font-size:.82rem}
html:root:root .fp-tab{width:100%;border-collapse:collapse;font-size:.8rem}
html:root:root .fp-tab th{text-align:left;color:var(--sub);font-weight:600;font-size:.7rem;text-transform:uppercase;padding:5px 6px;border-bottom:1px solid var(--brd)}
html:root:root .fp-tab td{padding:5px 6px;border-bottom:1px solid var(--brd)}
html:root:root .fp-tab td.nr{text-align:right;white-space:nowrap}
html:root:root .fp-tab tr.fp-rau td{color:var(--red)}
html:root:root .fp-carduri{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
html:root:root .fp-card{flex:1 1 140px;border:1px solid var(--brd);border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:2px}
html:root:root .fp-card b{font-size:1rem}
html:root:root .fp-card span{font-size:.72rem;color:var(--sub)}
html:root:root .fp-card.rau b{color:var(--red)}
html:root:root .fp-rand{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;font-size:.8rem;margin:8px 0}
html:root:root .fp-mic{font-size:.72rem;color:var(--sub)}
html:root:root .fp-sub{font-size:.7rem;text-transform:uppercase;color:var(--sub);font-weight:600;margin-top:8px}
html:root:root .fp-lista{list-style:none;margin:4px 0;padding:0}
html:root:root .fp-lista li{display:flex;gap:8px;align-items:center;padding:4px 0;border-bottom:1px solid var(--brd);font-size:.8rem}
/* pasul 1068: „Firma azi” (patronii) şi blocul Oportunităţi pe Acasă */
html:root:root .ac-firma,html:root:root .ac-opp1068{margin-bottom:14px}
html:root:root .af-grila{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
html:root:root .af-k{display:flex;flex-direction:column;gap:2px;background:var(--bg2);border:1px solid var(--brd);border-radius:12px;padding:12px 14px;min-width:0;min-height:112px}
html:root:root .af-k.cl{cursor:pointer}html:root:root .af-k.cl:hover{border-color:var(--brd2)}
html:root:root .af-k .ac-v{margin:6px 0 6px}
html:root:root .af-cmp{font-size:.76rem;color:var(--sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html:root:root .af-cmp.ok{color:var(--grn)}html:root:root .af-cmp.bad{color:var(--red)}
html:root:root .af-cmp i{font-style:normal;color:var(--sub)}
html:root:root .af-per{text-transform:none;letter-spacing:0;margin-left:8px;color:var(--sub)}
html:root:root .af-sub{font:500 .6rem/1.3 var(--n-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--sub);margin:14px 0 8px}
html:root:root .ac-opp1068 .ac-h{display:flex;align-items:center;gap:8px}
html:root:root .ac-opp1068 .af-tot{margin-left:auto;text-transform:none;letter-spacing:0}
html:root:root .ac-opp1068 .ac-flux{margin-top:12px}
