:root {
    --primary: var(--evo-blue-600, #0058D2);
    --primary-700: var(--evo-blue-700, #0046A8);
    --primary-50: var(--evo-blue-50, #F1F6FD);
    --primary-100: var(--evo-blue-100, #E8F0FB);
    --success: var(--evo-green-600, #039855);
    --success-100: var(--evo-green-100, #E6F5EE);
    --warning: var(--evo-apricot-500, #F79009);
    --warning-100: #FEF0C7;
    --ink: #101828;
    --muted: #667085;
    --line: #E4E7EC;
    --bg: #F7F8FA;
    --card: #FFFFFF;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.5;
}
a { color: var(--primary); text-decoration: none; }
h1, h2, h3 { margin: 0 0 .4em; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: 26px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

/* ---- boot loader ---- */
.boot { position: fixed; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 18px; background: var(--bg); }
.boot-brand { font-size: 30px; font-weight: 700; color: var(--primary); letter-spacing: -.02em; }
.boot-spinner { width: 34px; height: 34px; border: 3px solid var(--primary-100);
    border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- topbar ---- */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--card); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: 1180px; margin: 0 auto; height: 58px; display: flex; align-items: center;
    gap: 22px; padding: 0 22px; }
.brand { font-weight: 700; font-size: 19px; color: var(--primary); cursor: pointer; letter-spacing: -.02em; }
.topnav { display: flex; gap: 4px; }
.topnav a { padding: 7px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.topnav a:hover { background: var(--primary-50); color: var(--ink); }
.topnav a.active { background: var(--primary-100); color: var(--primary-700); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.org-chip { font-size: 12px; background: var(--primary-50); color: var(--primary-700);
    padding: 4px 10px; border-radius: 20px; font-weight: 600; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--primary);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.uname { font-size: 13px; }

.appmain { max-width: 1180px; margin: 0 auto; padding: 26px 22px 60px; }

/* ---- buttons ---- */
.btn { border: 1px solid var(--primary); background: var(--primary); color: #fff; font-weight: 600;
    height: 40px; padding: 0 16px; border-radius: 9px; cursor: pointer; font-size: 14px; transition: .12s;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box;
    white-space: nowrap; }
.btn:hover { background: var(--primary-700); border-color: var(--primary-700); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--bg); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn.danger { background: #D92D20; border-color: #D92D20; }
.btn.danger:hover { background: #B42318; border-color: #B42318; }

/* ---- cards / grid ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat .num { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.stat .lbl { color: var(--muted); font-size: 13px; margin-top: 2px; }

.row { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* clickable card */
.card.link { cursor: pointer; transition: .12s; }
.card.link:hover { border-color: var(--evo-blue-300, #99BCED); box-shadow: 0 4px 12px rgba(16,24,40,.08); }

/* ---- badges / chips ---- */
.chip { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 16px;
    font-size: 12px; font-weight: 600; background: var(--bg); color: var(--muted); }
.chip.blue { background: var(--primary-50); color: var(--primary-700); }
.chip-x { margin-left: 6px; border: none; background: none; padding: 0; cursor: pointer;
    color: inherit; opacity: .55; font-size: 12px; line-height: 1; }
.chip-x:hover { opacity: 1; color: var(--danger, #D92D20); }
.chip.green { background: var(--success-100); color: var(--success); }
.chip.amber { background: var(--warning-100); color: #B54708; }
.row-expired td { opacity: .6; }
.chip.gray { background: #F2F4F7; color: #475467; }
.badge-role { font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }

/* ---- progress bar ---- */
.bar { height: 8px; border-radius: 6px; background: #EAECF0; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--success); }

/* ---- tables ---- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px;
    text-transform: uppercase; letter-spacing: .03em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
.tablewrap { overflow-x: auto; }

/* ---- forms ---- */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
input[type=text], input[type=password], input[type=email], select, textarea {
    width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px;
    font-size: 14px; font-family: inherit; background: #fff; color: var(--ink); box-sizing: border-box; }
input[type=text], input[type=password], input[type=email], select { height: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100); }

/* select stilizat: săgeată custom + hover */
select {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    padding-right: 34px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 11px center; background-size: 12px;
    transition: border-color .12s, box-shadow .12s; }
select:hover { border-color: var(--evo-blue-300, #99BCED); }
select option { color: var(--ink); }
.err { background: #FEF3F2; color: #B42318; padding: 9px 12px; border-radius: 8px;
    font-size: 13px; margin-bottom: 12px; }
.ok-note { background: var(--success-100); color: var(--success); padding: 9px 12px;
    border-radius: 8px; font-size: 13px; margin-bottom: 12px; }
.actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

/* ---- modal ---- */
.modal-overlay { position: fixed; inset: 0; background: rgba(16,24,40,.45);
    display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal-card { position: relative; background: #fff; border-radius: 14px; padding: 24px;
    width: 100%; box-shadow: 0 20px 40px rgba(16,24,40,.2); max-height: 90vh; overflow-y: auto; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border: none;
    background: var(--bg); border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--muted);
    display: flex; align-items: center; justify-content: center; }
.modal-x:hover { background: #EAECF0; color: var(--ink); }
.modal-title { padding-right: 34px; }

/* ---- drawer (istoric) ---- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(16,24,40,.4); z-index: 110; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: 440px; max-width: 92vw;
    background: #fff; box-shadow: -10px 0 30px rgba(16,24,40,.15); z-index: 111;
    display: flex; flex-direction: column; }
.drawer-head { padding: 18px 20px; border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; }
.drawer-body { padding: 16px 20px; overflow-y: auto; }
.timeline { display: flex; flex-direction: column; gap: 14px; }
.tl-item { border-left: 2px solid var(--line); padding: 0 0 4px 14px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: -6px; top: 3px; width: 10px; height: 10px;
    border-radius: 50%; background: var(--primary); }
.tl-old { text-decoration: line-through; color: var(--muted); }
.tl-new { color: var(--ink); font-weight: 500; }

.empty { text-align: center; color: var(--muted); padding: 50px 20px; }

/* ---- landing / login ---- */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
    background: linear-gradient(135deg, var(--primary-50), #fff); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px;
    width: 100%; max-width: 400px; box-shadow: var(--shadow); }
.auth-brand { font-size: 30px; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 4px; }
.auth-sub { text-align: center; color: var(--muted); margin-bottom: 22px; }
.link-btn { background: none; border: none; color: var(--primary); cursor: pointer; font-size: 13px; padding: 0; }

.spinner-sm { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5);
    border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }

/* ---- landing ---- */
.landing { min-height: 100vh; }
.lnav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.85);
    backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.lnav-inner { max-width: 1080px; margin: 0 auto; height: 62px; display: flex; align-items: center;
    padding: 0 22px; gap: 20px; }
.lnav .brand { font-size: 22px; }
.lnav-links { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.lnav-links a { color: var(--muted); font-weight: 500; }
.lnav-links a:hover { color: var(--ink); }

/* hero cu gradient subtil + glow decorativ */
.hero { position: relative; overflow: hidden; text-align: center; padding: 96px 22px 72px;
    background: linear-gradient(180deg, var(--primary-50) 0%, #fff 78%); }
.hero > * { position: relative; z-index: 1; }
.hero-glow { position: absolute; z-index: 0; top: -160px; left: 50%; transform: translateX(-50%);
    width: 680px; height: 680px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0,88,210,.16), rgba(0,88,210,0));
    pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; margin-bottom: 22px;
    background: #fff; border: 1px solid var(--primary-200, #CCDEF6); border-radius: 30px;
    font-size: 13px; font-weight: 600; color: var(--primary-700); box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.hero h1 { font-size: 50px; line-height: 1.08; letter-spacing: -.035em; margin: 0 auto 20px;
    max-width: 780px; font-weight: 800; }
.hero h1 .grad { background: linear-gradient(120deg, var(--primary) 0%, var(--evo-blue-400, #669BE4) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 19px; color: var(--muted); margin: 0 auto 32px; max-width: 640px; line-height: 1.5; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px;
    margin-top: 34px; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero-trust .dot { opacity: .4; }
@media (max-width: 640px) { .hero { padding: 64px 20px 52px; } .hero h1 { font-size: 34px; } .hero p { font-size: 17px; } }

.lsection { padding: 72px 22px; max-width: 1080px; margin: 0 auto; }
.lsection.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    max-width: none; }
.lsection.alt > .inner { max-width: 1080px; margin: 0 auto; }
.lsection h2 { text-align: center; font-size: 32px; letter-spacing: -.02em; margin-bottom: 8px; }
.lsection .sub { text-align: center; color: var(--muted); margin-bottom: 40px; font-size: 16px; }
.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16,24,40,.09);
    border-color: var(--primary-200, #CCDEF6); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-50);
    display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.feature .ico.blue { background: var(--primary-100); }
.feature .ico.amber { background: var(--evo-apricot-100, #FEEFC6); }
.feature .ico.green { background: var(--evo-green-100, #E6F5EE); }
.feature h3 { margin-bottom: 6px; font-size: 17px; }
.feature p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.55; }
.plat-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.plat { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; padding: 14px 22px; font-weight: 700; font-size: 16px;
    box-shadow: 0 1px 2px rgba(16,24,40,.05); transition: transform .14s ease, box-shadow .14s ease; }
.plat:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16,24,40,.08); }
.plat .plat-ico { font-size: 22px; }
.plat .plat-tech { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg);
    border-radius: 20px; padding: 3px 10px; }
/* CTA final */
.lcta { text-align: center; padding: 76px 22px; max-width: 640px; margin: 0 auto; }
.lcta h2 { font-size: 30px; letter-spacing: -.02em; margin-bottom: 8px; }
.lcta p { color: var(--muted); margin-bottom: 26px; font-size: 16px; }
.lfooter { text-align: center; color: var(--muted); padding: 40px 22px; font-size: 13px; border-top: 1px solid var(--line); }

/* ---- pagina proiect ---- */
.proj-head { margin-bottom: 20px; }
.proj-head-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.proj-title h1 { margin: 0 0 4px; }
.proj-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); }
.tab { border: none; background: none; padding: 10px 16px; cursor: pointer; font-weight: 600;
    color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 14px; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    flex-wrap: wrap; margin-bottom: 16px; }

/* tabel chei aerisit + inputuri stilizate */
table.keys th { background: var(--card); }
table.keys th:first-child { min-width: 200px; }
table.keys th.loc-col { min-width: 200px; }        /* coloanele de limbă nu se mai strâng */
table.keys td { padding: 6px 8px; }
.keys .cell input { min-width: 160px; }
.keys .key-name { font-weight: 600; }
.keys .cell { position: relative; }
.keys .cell input { width: 100%; border: 1px solid transparent; background: transparent;
    border-radius: 7px; padding: 8px 9px; font-size: 14px; transition: .1s; }
.keys .cell input:hover:not(:disabled) { border-color: var(--line); background: #fff; }
.keys .cell input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-100); }
.keys .cell input:disabled { color: var(--ink); }
.keys .cell.missing input { background: #FFFBFA; }
.keys .cell.missing input:hover:not(:disabled) { background: #fff; }
.keys .ai-dot { position: absolute; top: 3px; right: 5px; font-size: 9px; color: var(--warning);
    font-weight: 700; letter-spacing: .02em; pointer-events: none; }
.icon-btn { border: 1px solid var(--line); background: #fff; width: 32px; height: 32px; border-radius: 8px;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.icon-btn:hover { background: var(--bg); border-color: var(--evo-blue-300, #99BCED); }
.settings-card h3 { margin-bottom: 4px; }
.settings-card .hint { color: var(--muted); font-size: 13px; margin-bottom: 12px; }

/* toolbar chei (Traduceri) */
.tbar { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    flex-wrap: wrap; margin-bottom: 16px; }
.tbar-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tbar .btn { height: 40px; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px; }
.tbar select { height: 40px; }
.search-wrap { position: relative; }
.search-wrap input { padding-left: 34px; width: 280px; height: 40px; }
.search-wrap .mag { position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--muted); pointer-events: none; font-size: 14px; }
.toggle-pill { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; height: 40px;
    border: 1px solid var(--line); border-radius: 20px; cursor: pointer; font-size: 13px;
    user-select: none; background: #fff; white-space: nowrap; }
.toggle-pill:hover { border-color: var(--evo-blue-300, #99BCED); }
.toggle-pill.on { background: var(--primary-50); border-color: var(--evo-blue-300, #99BCED);
    color: var(--primary-700); font-weight: 600; }
.toggle-pill input { display: none; }
.vsep { width: 1px; align-self: stretch; background: var(--line); margin: 2px 4px; }
/* Export „segmentat”: select lipit de buton */
.seg { display: inline-flex; }
.seg > select { border-radius: 8px 0 0 8px; width: auto; background-color: var(--bg); font-weight: 600; }
.seg > .btn { border-radius: 0 8px 8px 0; border-left: none; }
.import-lbl { margin: 0; cursor: pointer; }
.import-loc { width: auto !important; }
/* export/import mutate jos, sub tabel */
.io-footer { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 12px; }
.io-row { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.io-block { display: flex; flex-direction: column; gap: 7px; }
.io-block .io-label { font-size: 12px; color: var(--muted); font-weight: 600;
    text-transform: uppercase; letter-spacing: .03em; }

/* paginare tabel chei */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.pager-ctrls { display: flex; align-items: center; gap: 8px; }
.page-size { width: auto !important; height: 34px !important; padding: 0 30px 0 10px !important; }
.pager .icon-btn { width: 34px; height: 34px; font-size: 16px; }
.pager .icon-btn:disabled { opacity: .45; cursor: default; }

/* analitică dashboard: blocuri per organizație + tabel compact de tokeni */
.org-block { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.org-block + .org-block { margin-top: 0; }
table.mini { width: 100%; border-collapse: collapse; margin-top: 4px; font-size: 13px; }
table.mini th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .03em;
    color: var(--muted); font-weight: 600; padding: 4px 8px; border-bottom: 1px solid var(--line); }
table.mini td { padding: 5px 8px; border-bottom: 1px solid var(--bg); }
table.mini tr:last-child td { border-bottom: none; }
table.mini tr.zero td { color: var(--muted); }

/* progres pe proiecte (dashboard): bară albastră în lucru, verde la 100% */
.prog-row { padding: 8px 10px; margin: 0 -10px; border-radius: 8px; transition: background .12s; }
.prog-row:hover { background: var(--primary-50); }
.prog-row .bar > span { background: var(--primary); }
.prog-row .bar.done > span { background: var(--success); }

/* banner de eroare Blazor: ASCUNS implicit; Blazor îl face display:block DOAR la o excepție netratată */
#blazor-error-ui {
    display: none;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000;
    padding: 13px 48px 13px 20px;
    background: var(--evo-apricot-100, #FEEFC6);
    color: var(--evo-apricot-700, #B54708);
    border-top: 1px solid var(--evo-apricot-300, #FEC84B);
    box-shadow: 0 -2px 12px rgba(16,24,40,.14);
    font-size: 14px; font-weight: 500;
}
#blazor-error-ui .reload { color: inherit; text-decoration: underline; font-weight: 700; margin-left: 8px; }
#blazor-error-ui .dismiss { position: absolute; right: 16px; top: 11px; cursor: pointer; font-size: 16px; opacity: .8; }
#blazor-error-ui .dismiss:hover { opacity: 1; }

/* carduri proiecte (dashboard translator) */
.proj-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-top: 12px; }
.proj-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; cursor: pointer;
    box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s, border-color .12s; }
.proj-card:hover { border-color: var(--evo-blue-300, #99BCED); box-shadow: 0 6px 16px rgba(16,24,40,.08); transform: translateY(-2px); }
.proj-card .pc-name { font-weight: 700; font-size: 15px; }

/* pagina de integrare: blocuri de cod + pași */
.step-h { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.codeblock { position: relative; }
.codeblock pre { background: #0F172A; color: #E2E8F0; border-radius: 10px; padding: 14px 16px;
    overflow-x: auto; font-size: 13px; line-height: 1.5; margin: 0; }
.codeblock pre code { font-family: ui-monospace, "SF Mono", Menlo, monospace; white-space: pre; }
.cb-copy { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 7px;
    border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #E2E8F0;
    cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.cb-copy:hover { background: rgba(255,255,255,.18); }

/* card call-to-action „conectează aplicația" pe dashboard */
.connect-card { display: flex; align-items: center; gap: 14px; }
.connect-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-100);
    display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.connect-arrow { margin-left: auto; font-size: 22px; color: var(--muted); }
.stat.link { cursor: pointer; transition: transform .12s, box-shadow .12s, border-color .12s; }
.stat.link:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16,24,40,.08); border-color: var(--evo-blue-300, #99BCED); }

/* reordonare coloane limbi în tabelul de traduceri */
.loc-head { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.loc-move { border: none; background: transparent; color: var(--muted); cursor: pointer;
    font-size: 10px; padding: 2px 4px; border-radius: 4px; line-height: 1; }
.loc-move:hover:not(:disabled) { background: var(--primary-50); color: var(--primary); }
.loc-move:disabled { opacity: .25; cursor: default; }

/* real-time: prezență „X editează" + flash la schimbare live */
.cell.peer-editing input { border-color: var(--warning); box-shadow: 0 0 0 2px var(--warning-100); }
.peer-badge { display: inline-block; margin-top: 3px; font-size: 11px; font-weight: 600;
    background: var(--warning-100); color: #B54708; padding: 1px 8px; border-radius: 10px; white-space: nowrap; }
.flash-badge { display: inline-block; margin-top: 3px; font-size: 11px; font-weight: 600;
    background: var(--success-100); color: var(--success); padding: 1px 8px; border-radius: 10px;
    white-space: nowrap; animation: flashfade 4s ease-out forwards; }
@keyframes flashfade { 0%,70% { opacity: 1; } 100% { opacity: 0; } }

/* roster prezență: cine e acum pe pagina proiectului */
.presence-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 2px; }
.presence-bar .chip.green { display: inline-flex; align-items: center; gap: 6px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success);
    box-shadow: 0 0 0 0 var(--success); animation: livepulse 1.8s ease-out infinite; }
@keyframes livepulse {
    0% { box-shadow: 0 0 0 0 rgba(18,183,106,.5); }
    70% { box-shadow: 0 0 0 5px rgba(18,183,106,0); }
    100% { box-shadow: 0 0 0 0 rgba(18,183,106,0); }
}
