/* Asempera Hub · stilurile cochiliei: literele, pornirea, intrarea, cadrul (bara laterală, bara de sus cu căutarea și
   clopoțelul, bara de jos pe telefon) și componentele comune (butoane, câmpuri, cartele, tabele, mesaje, ferestre).
   Așezarea e cea din macheta aprobată (macheta Opus v2). Culorile stau NUMAI în `tema.css`, ca variabile.
   Niciun text sub 16 px: tot ce e scris folosește cel puțin 1rem, iar rem-ul crește pe ecranele mari.
   Stilurile unui modul stau în dosarul lui. */
:root {
  --r: 12px;
  --r-s: 8px;
  --lat: 16rem;
  --sus: 4rem;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --s-sus: env(safe-area-inset-top, 0px);
  --s-jos: env(safe-area-inset-bottom, 0px);
}
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
@media (min-width: 1900px) { html { font-size: 17px; } }
@media (min-width: 2300px) { html { font-size: 18px; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.5; text-rendering: optimizeLegibility; overflow-x: hidden; overflow-x: clip; min-height: 100vh; min-height: 100dvh; }
button, input, select, textarea { font: inherit; color: inherit; }
/* niciun text sub 16 px, nici în `small` (browserul îl micșorează implicit) */
small { font-size: 1rem; }
a { color: var(--teal-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--teal-selectie); color: var(--ink); }
.ascuns { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sub { color: var(--ink-2); }
.slab { color: var(--ink-3); }
.ic { width: 1.25rem; height: 1.25rem; flex: none; vertical-align: -0.2em; }

/* ——— pornirea ——— */
.pornire { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; }
.pornire-logo { width: 13rem; height: auto; color: var(--alb); }
.pornire-nota, .pornire-ajutor { position: absolute; left: 1rem; right: 1rem; top: calc(50% + 3rem); margin: 0 auto; max-width: 24rem; text-align: center; color: var(--ink-2); }
.pornire-ajutor { visibility: hidden; animation: pornire-ajutor 1ms linear 30s forwards; }
.pornire-ajutor p { margin: 0 0 1rem; }
.cu-paza .pornire-ajutor { display: none; }
@keyframes pornire-ajutor { to { visibility: visible; } }
.pornire-cazut h1 { margin-bottom: .5rem; }

/* ——— intrarea, parola nouă, codul ——— */
.poarta { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: calc(1.5rem + var(--s-sus)) 1rem calc(1.5rem + var(--s-jos)); background: var(--bg); }
.poarta-cutie { width: 100%; max-width: 27rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--umbra); padding: 2rem 1.75rem; }
.poarta-logo { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.75rem; color: var(--alb); }
.poarta-logo svg { height: 1.5rem; width: auto; }
.poarta-logo span { font-weight: 600; color: var(--ink-3); padding-left: .75rem; border-left: 1px solid var(--line-2); line-height: 1.2; }
.poarta h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: .4rem; }
.poarta .sub { margin-bottom: 1.25rem; }
.poarta form { display: grid; gap: 1rem; }
.pasi-p { display: flex; gap: .4rem; margin-bottom: 1rem; }
.pasi-p span { height: 4px; flex: 1; border-radius: 2px; background: var(--surface-3); }
.pasi-p span.on { background: var(--teal); }
.camp { display: grid; gap: .35rem; }
.camp > span, .camp > label, .camp > .eticheta { font-weight: 600; color: var(--ink-2); }
.camp input, .camp select, .camp textarea { width: 100%; min-height: 2.75rem; border: 1px solid var(--chenar-camp); border-radius: 9px; background: var(--camp); padding: .55rem .8rem; outline: none; }
.camp textarea { min-height: 6rem; resize: vertical; }
.camp input:focus, .camp select:focus, .camp textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-umbra); }
.camp ::placeholder { color: var(--ink-3); opacity: 1; }
.camp small, .camp .ajutor { color: var(--ink-3); }
select option { background: var(--raised); color: var(--ink); }
.parola-camp { position: relative; }
.camp .parola-camp input { padding-right: 3.25rem; }
.parola-camp input::-ms-reveal, .parola-camp input::-ms-clear { display: none; }
.ochi { position: absolute; top: 0; right: 0; width: 3rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 0; border-radius: 0 9px 9px 0; color: var(--ink-2); cursor: pointer; }
.ochi:hover { color: var(--ink); }
.ochi[aria-pressed="true"] { color: var(--teal-ink); }
.ochi:disabled { opacity: .55; cursor: default; }
.regula-parola { display: flex; gap: .6rem; align-items: flex-start; background: var(--blue-soft); color: var(--ink); border: 1px solid var(--blue-line); border-radius: 10px; padding: .6rem .8rem; }
.regula-parola .ic { color: var(--blue-ink); margin-top: .15rem; }
.bife-parola { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; color: var(--ink-3); }
.bife-parola li { display: flex; align-items: center; gap: .5rem; }
.bife-parola li.on { color: var(--teal-ink); }
.cod-input { font-family: var(--mono); font-size: 1.5rem !important; letter-spacing: .35em; text-align: center; }
.qr { display: flex; justify-content: center; background: var(--hartie); border-radius: 12px; padding: .75rem; width: 13rem; margin: .25rem auto 1rem; }
.qr img { width: 11.5rem; height: 11.5rem; display: block; }
.secret { display: block; font-family: var(--mono); font-size: 1rem; background: var(--camp); border: 1px solid var(--line-2); border-radius: 9px; padding: .6rem .8rem; word-break: break-all; text-align: center; letter-spacing: .06em; }
.lista-pasi { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--ink-2); }
.lista-pasi li { margin: .25rem 0; }
.poarta-alt { margin-top: .75rem; }
.poarta-cum { display: grid; gap: .2rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .85rem; margin-bottom: .7rem; color: var(--ink-2); }
.poarta-cum b { color: var(--ink); }
.cod-pe-telefon { margin: .25rem 0 1rem; }
.cheie-cfg { margin-bottom: 1rem; display: grid; gap: .35rem; }
.cheie-cfg .eticheta { font-weight: 600; color: var(--ink-2); }
.cheie-rand { display: flex; gap: .5rem; align-items: stretch; }
.cheie-rand .secret { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; user-select: all; -webkit-user-select: all; }
.cheie-cfg small { color: var(--ink-3); }

/* ——— butoanele ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; }
.btn:hover { background: var(--surface-3); border-color: var(--chenar-camp); text-decoration: none; }
.btn.prim { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.btn.prim:hover { background: var(--teal-2); border-color: var(--teal-2); }
.btn.fant { border-color: transparent; background: transparent; color: var(--teal-ink); }
.btn.fant:hover { background: var(--teal-soft); }
.btn.pericol { color: var(--red-ink); border-color: var(--red-line); }
.btn.pericol:hover { background: var(--red-soft); }
.btn.mic { min-height: 2.5rem; padding: 0 .8rem; }
.btn.plin { width: 100%; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; }
.actiuni { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }

/* ——— mesajele ——— */
.mesaj { border-radius: 10px; padding: .65rem .85rem; margin-bottom: 1rem; border: 1px solid var(--line); }
.mesaj.err { background: var(--red-soft); border-color: var(--red-line); color: var(--ink); }
.mesaj.ok { background: var(--teal-soft); border-color: var(--teal-soft-2); color: var(--ink); }
.mesaj.info { background: var(--blue-soft); border-color: var(--blue-line); color: var(--ink); }
.nota { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.nota .ic { color: var(--ink-3); margin-top: .15rem; }
.nota.info { background: var(--blue-soft); border-color: var(--blue-line); color: var(--ink); }
.nota.info .ic { color: var(--blue-ink); }
.nota.atent { background: var(--amber-soft); border-color: var(--amber-line); color: var(--ink); }
.nota.atent .ic { color: var(--amber-ink); }
.toast-loc { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 90; display: grid; gap: .5rem; width: max-content; max-width: min(40rem, calc(100vw - 2rem)); }
.toast { background: var(--raised); color: var(--ink); border: 1px solid var(--teal-soft-2); padding: .8rem 1.1rem; border-radius: 12px; box-shadow: var(--umbra-l); display: flex; gap: .7rem; align-items: center; }
.toast .ic { color: var(--teal-ink); }
.toast.err { border-color: var(--red-line); background: var(--red-soft); }
.toast-inchide { margin-left: auto; border: 0; background: none; color: var(--ink-2); font-size: 1.25rem; cursor: pointer; min-width: 2.25rem; min-height: 2.25rem; border-radius: 8px; }
.toast-inchide:hover { background: var(--trecere); color: var(--ink); }

/* ——— cadrul: bara laterală, bara de sus, pagina, bara de jos ——— */
.cochilie { display: grid; grid-template-columns: var(--lat) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.lat { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: var(--bg-0); color: var(--ink-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 30; }
.lat-logo { height: var(--sus); flex: none; display: flex; align-items: center; gap: .75rem; padding: 0 1.25rem; color: var(--alb); border-bottom: 1px solid var(--line); }
.lat-logo:hover { text-decoration: none; }
.lat-logo .logo-full { height: 1.45rem; width: auto; }
.lat-logo .logo-icon { display: none; height: 1.9rem; width: auto; }
.lat-logo .hub { font-weight: 600; color: var(--ink-3); padding-left: .7rem; border-left: 1px solid var(--line-2); line-height: 1.2; }
.lat nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; padding: .4rem .75rem .75rem; }
.lat-grup { margin-top: .7rem; }
.lat-grup:first-child { margin-top: .4rem; }
.lat-sec { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: .5rem; border: 0; background: none; font-weight: 600; color: var(--ink-3); padding: .25rem .75rem; border-radius: 8px; cursor: pointer; text-align: left; }
.lat-sec:hover { color: var(--ink); background: var(--trecere); }
.lat-sec .ic { width: 1.1rem; height: 1.1rem; transition: transform .12s; }
.lat-grup.strans .lat-sec .ic { transform: rotate(-90deg); }
.lat-grup.strans .lat-randuri { display: none; }
.lat-grup.strans.are-on .lat-sec { color: var(--teal-ink); }
.lat-item { display: flex; align-items: center; gap: .8rem; padding: .45rem .75rem; margin: 2px 0; border-radius: 8px; color: var(--ink-2); font-weight: 500; text-decoration: none; position: relative; min-height: 2.6rem; }
.lat-item > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lat-item:hover { background: var(--trecere); color: var(--ink); text-decoration: none; }
.lat-item.on, .lat-item.on:hover { background: var(--teal-activ); color: var(--ink); }
.lat-item.on::before { content: ""; position: absolute; left: -.75rem; top: .45rem; bottom: .45rem; width: 4px; border-radius: 0 3px 3px 0; background: var(--teal); }
.lat-item .ic { color: var(--ink-3); }
.lat-item:hover .ic { color: var(--ink); }
.lat-item.on .ic { color: var(--teal-ink); }
.lat-jos { flex: none; padding: .8rem 1rem .9rem; border-top: 1px solid var(--line); display: grid; gap: .7rem; }
.lat-cont { display: flex; align-items: center; gap: .75rem; min-width: 0; color: var(--ink); border-radius: 10px; padding: .3rem; margin: -.3rem; }
.lat-cont:hover { background: var(--trecere); text-decoration: none; }
.lat-cont.on { background: var(--teal-activ); }
.lat-cont > div { min-width: 0; }
.lat-cont b { display: block; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lat-cont span.rol { display: block; color: var(--ink-3); white-space: nowrap; }

.zona { min-width: 0; display: flex; flex-direction: column; }
.sus { position: sticky; top: 0; z-index: 25; height: var(--sus); background: var(--sus-fond); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 1rem; padding: 0 1.5rem 0 2rem; }
.sus .logo-mobil { display: none; }
.sus-titlu { display: none; font-weight: 650; font-size: 1.125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cauta { position: relative; flex: 1 1 26rem; max-width: 36rem; min-width: 12rem; }
.cauta > .ic { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.cauta input { width: 100%; height: 2.6rem; border: 1px solid var(--chenar-camp); background: var(--surface); border-radius: 10px; padding: 0 4.6rem 0 2.6rem; outline: none; }
.cauta input::placeholder { color: var(--ink-3); opacity: 1; }
.cauta input:focus { border-color: var(--teal); background: var(--surface-2); box-shadow: 0 0 0 3px var(--teal-umbra); }
.cauta kbd { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); font-family: var(--font); font-size: 1rem; color: var(--ink-3); border: 1px solid var(--line-2); background: var(--surface-3); border-radius: 6px; padding: 0 .4rem; line-height: 1.5; pointer-events: none; }
.cauta-rez { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--raised); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--umbra-l); padding: .4rem; max-height: 70vh; overflow: auto; z-index: 40; }
.cauta-rez h4 { font-size: 1rem; color: var(--ink-3); font-weight: 600; margin: .5rem .6rem .2rem; }
.cauta-rez a { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; border-radius: 8px; color: var(--ink); }
.cauta-rez a .ic { color: var(--ink-3); }
.cauta-rez a:hover, .cauta-rez a.sel { background: var(--teal-soft); text-decoration: none; }
.cauta-rez .gol-c { padding: .8rem; color: var(--ink-3); }
.sus-dr { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.icbtn { position: relative; width: 2.75rem; height: 2.75rem; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--ink-2); cursor: pointer; }
.icbtn:hover { background: var(--surface-3); color: var(--ink); text-decoration: none; }
.icbtn[aria-expanded="true"] { background: var(--surface-3); color: var(--ink); }
.bulina { position: absolute; top: -.3rem; right: -.45rem; min-width: 1.5rem; height: 1.5rem; padding: 0 .3rem; border-radius: 999px; background: var(--red-badge); color: var(--alb); font-weight: 700; font-size: 1rem; line-height: calc(1.5rem - 4px); border: 2px solid var(--bg); text-align: center; }
.sus .cine { display: none; border-radius: 50%; }
.panou-not { position: fixed; z-index: 65; top: calc(var(--sus) - .25rem); right: 1.5rem; width: min(28rem, calc(100vw - 2rem)); background: var(--raised); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--umbra-l); overflow: hidden; display: flex; flex-direction: column; max-height: calc(100dvh - var(--sus) - 1rem); }
.panou-not .pn-cap { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .35rem .5rem .35rem 1.15rem; border-bottom: 1px solid var(--line); }
.panou-not h3 { font-size: 1.1rem; }
.panou-not .pn-corp { overflow-y: auto; min-height: 0; }
.panou-not .pn-jos { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; padding: .6rem .75rem; border-top: 1px solid var(--line); }
.gol-n { padding: 1.25rem 1.15rem; color: var(--ink-2); display: flex; gap: .7rem; align-items: center; }
.gol-n .ic { color: var(--ink-3); }
/* rândurile notificărilor: în panou și pe pagina „Notificări” */
.notif-zi { font-weight: 650; color: var(--ink-2); padding: .65rem 1.15rem .25rem; }
.lista-notif { list-style: none; margin: 0; padding: 0; }
.notif { display: flex; align-items: flex-start; gap: .75rem; padding: .7rem 1.15rem; color: var(--ink); text-decoration: none; cursor: pointer; border-top: 1px solid var(--line); }
.lista-notif li:first-child .notif { border-top: 0; }
.notif:hover { background: var(--trecere); text-decoration: none; }
.notif .ico { color: var(--ink-3); padding-top: .15rem; }
.notif.noua .ico { color: var(--teal-ink); }
.notif-tx { display: grid; gap: .1rem; min-width: 0; flex: 1; }
.notif-sus { display: flex; gap: .6rem; align-items: baseline; justify-content: space-between; }
.notif-sus small { color: var(--ink-3); font-size: 1rem; }
.notif-text { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.notif.noua .notif-text { color: var(--ink); }
.notif-punct { width: .65rem; height: .65rem; border-radius: 50%; background: var(--teal); flex: none; margin-top: .55rem; }
.notif-pagina { padding: 0; overflow: hidden; }
/* „Notificări pe telefon” */
.comut { display: flex; gap: .75rem; align-items: flex-start; padding: .55rem 0; cursor: pointer; }
.comut input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--teal); flex: none; }
.comut span { display: grid; gap: .1rem; }
.comut small { color: var(--ink-3); font-size: 1rem; }
.push-pref fieldset { border: 0; padding: 0; margin: 1rem 0 0; }
.push-pref legend { font-weight: 650; color: var(--ink-2); padding: 0; margin-bottom: .35rem; }
.push-pref .campuri { display: flex; gap: 1rem; flex-wrap: wrap; }
.push-pref .camp { min-width: 9rem; }
.push-pref .ore-ajutor { display: block; color: var(--ink-3); font-size: 1rem; margin-top: .5rem; }
.push-pref .actiuni, .push-aparat .actiuni { margin-top: 1rem; }
.push-stare { color: var(--ink-2); }
.inapoi { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink-2); margin-bottom: .35rem; }

.pagina { padding: 1.75rem 2rem 4rem; width: 100%; max-width: 156rem; }
.pag-cap { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.pag-cap h1 { font-size: 1.85rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.pag-cap .sub { margin-top: .35rem; max-width: 60rem; }
.pag-act { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.ajutor { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: var(--ink-3); }
.ajutor:hover { color: var(--teal-ink); background: var(--trecere); }
.tab-jos { display: none; }

/* benzile de sus: „Vezi ca”, o parte neîncărcată, versiunea nouă */
.banda { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .7rem 2rem; border-bottom: 1px solid var(--line); }
.banda > span { flex: 1 1 18rem; min-width: 0; }
.banda .ic { flex: none; }
.banda-vezi { background: var(--violet-soft); border-color: var(--violet-line); }
.banda-vezi .ic { color: var(--violet-ink); }
.banda-incarcare { background: var(--amber-soft); border-color: var(--amber-line); }
.banda-incarcare .ic { color: var(--amber-ink); }
.sus-versiune:empty { display: none; }
body.vezi-ca [data-nc="da"] { opacity: .5; cursor: not-allowed; }

/* ——— cartele, tabele, cipuri, avatare, gol ——— */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--umbra); min-width: 0; }
.card-cap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); min-height: 3.6rem; flex-wrap: wrap; }
.card-cap h2 { font-size: 1.15rem; font-weight: 650; display: flex; align-items: center; gap: .6rem; }
.card-corp { padding: 1rem 1.25rem; }
.grila-carduri { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.tile { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .25rem 1rem; align-items: start; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--umbra); color: var(--ink); text-decoration: none; }
.tile:hover { border-color: var(--teal-soft-2); background: var(--surface-2); text-decoration: none; }
.tile .ico { grid-row: 1 / 3; width: 2.75rem; height: 2.75rem; border-radius: 10px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-ink); }
.tile h3 { font-size: 1.1rem; font-weight: 650; }
.tile p { color: var(--ink-2); }
.tabel-cutie { overflow-x: auto; }
.tabel { width: 100%; border-collapse: separate; border-spacing: 0; }
.tabel th { text-align: left; font-weight: 600; color: var(--ink-3); padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.tabel td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tabel tr:last-child td { border-bottom: 0; }
.tabel th:first-child, .tabel td:first-child { padding-left: 1.25rem; }
.tabel th:last-child, .tabel td:last-child { padding-right: 1.25rem; }
.tabel tbody tr.link { cursor: pointer; }
.tabel tbody tr.link:hover td { background: var(--surface-2); }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .05rem .65rem; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-weight: 600; white-space: nowrap; line-height: 1.6; border: 1px solid transparent; }
.chip.ok, .chip.activ { background: var(--teal-soft); color: var(--teal-ink); }
.chip.atent, .chip.curand { background: var(--amber-soft); color: var(--amber-ink); }
.chip.rau { background: var(--red-soft); color: var(--red-ink); }
.chip.info { background: var(--blue-soft); color: var(--blue-ink); }
.chip.sensibil { background: var(--violet-soft); color: var(--violet-ink); }
.chip.neutru, .chip.gri { background: var(--surface-3); color: var(--ink-3); }
.chip.contur { background: transparent; border-color: var(--line-2); color: var(--ink-2); }
.av { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 650; font-size: 1rem; color: var(--alb); background-color: var(--av-1); background-position: center; background-repeat: no-repeat; background-size: cover; flex: none; white-space: nowrap; overflow: hidden; }
.av.cu-poza { color: transparent; }
.av.mare { width: 2.75rem; height: 2.75rem; font-size: 1.1rem; }
.av.xl { width: 5rem; height: 5rem; font-size: 1.6rem; }
.gol { display: grid; justify-items: center; text-align: center; gap: .5rem; padding: 2.5rem 1.5rem; color: var(--ink-2); }
.gol .ico, .gol > .ic { color: var(--ink-3); }
.gol .ico .ic { width: 2.25rem; height: 2.25rem; }
.gol b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: .25rem; }
.gol .actiuni { justify-content: center; margin-top: .75rem; }
.seg { display: inline-flex; background: var(--surface-3); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: .38rem .8rem; border-radius: 8px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; min-height: 2.25rem; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--line-2); color: var(--ink); }
.sectiune { font-size: 1.2rem; font-weight: 650; margin: 2rem 0 .9rem; display: flex; align-items: center; gap: .6rem; }

.av.c1 { background-color: var(--av-1); } .av.c2 { background-color: var(--av-2); } .av.c3 { background-color: var(--av-3); }
.av.c4 { background-color: var(--av-4); } .av.c5 { background-color: var(--av-5); } .av.c6 { background-color: var(--av-6); }
.hi { font-size: 1.85rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.sec { font-size: 1.2rem; font-weight: 650; margin: 1.75rem 0 .8rem; color: var(--ink); }
.panou { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.25rem; margin-bottom: 1rem; }
.panou h2 { font-size: 1.15rem; margin-bottom: .6rem; }
.panou.tinta { border-color: var(--teal); }
.panou ul { margin: .5rem 0 0; padding-left: 1.25rem; color: var(--ink-2); }

/* ——— cifrele sensibile (`H.sensibil`) și „Mod prezentare” ——— */
.sensibil { display: inline-flex; align-items: center; min-height: 2rem; min-width: 3rem; padding: 0 .55rem; border-radius: 7px; border: 1px dashed var(--violet-line); background: var(--violet-soft); color: var(--violet-ink); font-weight: 650; font-variant-numeric: tabular-nums; cursor: pointer; letter-spacing: .08em; }
.sensibil.descoperit { letter-spacing: 0; border-style: solid; color: var(--ink); }
.sensibil.refuzat { border-color: var(--amber-line); color: var(--amber-ink); }
.mod-prezentare .sensibil { cursor: not-allowed; }
.icbtn.prezentare.on { background: var(--violet-soft); color: var(--violet-ink); border-color: var(--violet-line); }

/* ——— banda versiunii noi și „Ce e nou” ——— */
.versiune-bloc { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; padding: 1rem 2rem; background: var(--teal-soft); border-bottom: 1px solid var(--teal-soft-2); }
.versiune-bloc.discret { padding: .6rem 2rem; align-items: center; }
.vb-t { flex: 1 1 22rem; min-width: 0; display: grid; gap: .35rem; }
.vb-t ul { margin: .2rem 0 0; padding-left: 1.25rem; color: var(--ink-2); }
.rv-cap { display: flex; gap: .75rem; flex-wrap: wrap; align-items: baseline; }
.rv-cap span, .vb-tema { color: var(--ink-3); }
.vb-act { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
@media (max-width: 760px) { .versiune-bloc, .versiune-bloc.discret { padding: .8rem 1rem; } .vb-act { width: 100%; } .vb-act .btn { flex: 1; } }

/* ——— ferestrele (dialogurile) ——— */
.voal { position: fixed; inset: 0; background: var(--voal); z-index: 70; display: grid; place-items: center; padding: 1.5rem; }
/* titlul și butoanele stau mereu în ecran; numai corpul se derulează, când nu încape (telefonul mic, 360×640) */
.fereastra { width: min(40rem, 100%); max-height: calc(100vh - 3rem); max-height: calc(100dvh - 3rem); overflow: hidden; background: var(--raised); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--umbra-l); display: flex; flex-direction: column; }
.fereastra > .fer-cap, .fereastra > .fer-jos { flex: none; }
.fereastra > .fer-corp { flex: 1 1 auto; min-height: 0; overflow: auto; }
.fer-cap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.fer-cap h2 { font-size: 1.25rem; font-weight: 700; }
.fer-corp { padding: 1.25rem 1.4rem; display: grid; gap: 1rem; align-content: start; }
.fer-jos { padding: 1rem 1.4rem; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: .6rem; flex-wrap: wrap; background: var(--surface); border-radius: 0 0 16px 16px; }

/* ——— lățimi intermediare: bara laterală numai cu iconițe ——— */
@media (max-width: 1099px) and (min-width: 761px) {
  :root { --lat: 4.75rem; }
  .lat-logo { justify-content: center; padding: 0; }
  .lat-logo .logo-full, .lat-logo .hub { display: none; }
  .lat-logo .logo-icon { display: block; }
  .lat-sec { display: none; }
  .lat-grup.strans .lat-randuri { display: block; }
  .lat-item { justify-content: center; padding: .7rem 0; }
  .lat-item > span { display: none; }
  .lat-item .ic { width: 1.5rem; height: 1.5rem; }
  .lat-jos { padding: .75rem .5rem; justify-items: center; }
  .lat-cont > div { display: none; }
}
@media (max-width: 1399px) {
  .cauta kbd { display: none; }
  .cauta input { padding-right: .8rem; }
}

/* ——— telefonul: bara de sus scurtă, bara de jos ——— */
@media (max-width: 760px) {
  :root { --sus: 3.75rem; }
  .cochilie { display: block; }
  .lat { display: none; }
  .sus { padding: var(--s-sus) .5rem 0 1rem; height: calc(var(--sus) + var(--s-sus)); gap: .25rem; }
  .sus .logo-mobil { display: inline-flex; color: var(--alb); }
  .sus .logo-mobil svg { height: 1.75rem; width: auto; }
  .sus-titlu { display: block; flex: 1; min-width: 0; padding-left: .5rem; }
  .cauta { display: none; }
  .sus .cine { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; }
  .sus .cine.on .av { box-shadow: 0 0 0 2px var(--teal); }
  .banda { padding: .7rem 1rem; }
  .pagina { padding: 1rem 1rem calc(6.5rem + var(--s-jos)); }
  .pag-cap { margin-bottom: 1rem; align-items: flex-start; }
  .pag-cap h1 { font-size: 1.5rem; }
  .pag-act { width: 100%; }
  .tab-jos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: fixed; left: 0; right: 0; bottom: var(--vv-jos, 0px); z-index: 50; background: var(--bg-0); border-top: 1px solid var(--line); padding: .35rem .25rem calc(.35rem + var(--s-jos)); box-shadow: var(--umbra-l); }
  .tab-jos a { display: grid; justify-items: center; gap: .1rem; padding: .3rem 0; color: var(--ink-3); font-weight: 600; text-decoration: none; position: relative; min-width: 0; min-height: 3.25rem; }
  .tab-jos a > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 .15rem; }
  .tab-jos a:hover { text-decoration: none; }
  .tab-jos .ic { width: 1.5rem; height: 1.5rem; }
  .tab-jos .on { color: var(--ink); }
  .tab-jos .on .ic { color: var(--teal-ink); }
  .tab-jos .on::before { content: ""; position: absolute; top: -.36rem; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--teal); }
  .voal { padding: 0; place-items: end stretch; }
  .fereastra { width: 100%; border-radius: 16px 16px 0 0; align-self: end; max-height: 92vh; max-height: 92dvh; }
  .fer-cap, .fer-corp { padding-left: 1rem; padding-right: 1rem; }
  .fer-jos { border-radius: 0; padding: 1rem 1rem calc(1rem + var(--s-jos)); }
  .fer-jos .btn { flex: 1 1 auto; }
  .panou-not { right: .5rem; left: .5rem; width: auto; top: calc(var(--sus) + var(--s-sus) + .25rem); }
  .toast-loc { bottom: calc(5.5rem + var(--s-jos)); left: 1rem; right: 1rem; transform: none; width: auto; max-width: none; }
  .poarta-cutie { padding: 1.5rem 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
