:root { --pico-font-size: 95%; }
.bara { border-bottom: 1px solid var(--pico-muted-border-color); margin-bottom: 1rem; }
.bara nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; }
.logo { color: var(--pico-primary); }
.titlu-actiuni { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.titlu-actiuni h2 { margin: 0; }
.titlu-actiuni button { width: auto; margin: 0; }
.antet-flex { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.antet-flex label.comutator { margin: 0; }
@media (min-width: 768px) { .grid.grid-2-1 { grid-template-columns: 2fr 1fr; } }
.luna-plata { margin: 0 0 .75rem; align-items: center; }
.luna-plata input[type=month] { padding: .2rem .5rem; height: auto; width: auto; }
.sumar article.sumar-total { border-left: 4px solid var(--pico-primary); }
.sugestii-firme { list-style: none; padding: 0; margin: 0 0 1rem; max-height: 16rem; overflow-y: auto; border-radius: var(--pico-border-radius); }
.sugestii-firme:empty { display: none; }
.sugestii-firme li { list-style: none; padding: .35rem .6rem; cursor: pointer; border-bottom: 1px solid var(--pico-muted-border-color); }
.sugestii-firme li:hover { background: var(--pico-muted-border-color); }
.anaf-stare { font-size: .85rem; margin: 0 0 .75rem; min-height: 0; }
.anaf-stare:empty { display: none; }
.anaf-stare.ok { color: #2e7d32; }
.anaf-stare.eroare { color: #c62828; }
.titlu-cu-contoare { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.titlu-cu-contoare h2 { margin: 0 .4rem 0 0; }
.contor { font-size: .85rem; font-weight: 600; padding: .2rem .6rem; border-radius: 1rem; color: #fff; white-space: nowrap; }
.contor.activ { background: #2e7d32; }
.contor.inactiv { background: #c62828; }
.contor.total { background: #1565c0; }
.filtre-jurnal { margin-bottom: 1rem; }
.tabel-jurnal td { vertical-align: top; }
.tabel-jurnal tr.nivel-avertisment > td { background-color: rgba(224, 160, 0, .10); }
.tabel-jurnal tr.nivel-eroare > td { background-color: rgba(198, 40, 40, .12); }
.nivel-text { font-weight: 600; }
tr.nivel-eroare .nivel-text { color: #c62828; }
tr.nivel-avertisment .nivel-text { color: #9a6b00; }
.eticheta.cat-date { background: #dbeafe; color: #1e3a8a; }
.eticheta.cat-autentificare { background: #ede9fe; color: #4c1d95; }
.eticheta.cat-extern { background: #dcfce7; color: #14532d; }
.eticheta.cat-eroare { background: #fee2e2; color: #7f1d1d; }
.eticheta.cat-acces { background: #f1f5f9; color: #334155; }
.eticheta.cat-sistem { background: #fef3c7; color: #78350f; }
.jurnal-detalii { font-size: .75rem; max-height: 20rem; overflow: auto; white-space: pre-wrap; word-break: break-word; margin: .25rem 0; }
fieldset.fara-chenar { border: 0; padding: 0; margin: 0; }
.utilizatori-operator { border-top: 1px solid var(--pico-muted-border-color); padding-top: .75rem; }
.utilizatori-operator select.mic { width: auto; display: inline-block; }
.utilizatori-operator input.mic { width: 11rem; display: inline-block; }
.text-pericol { color: #c62828; font-weight: 600; }
button.pericol { background: #c62828; border-color: #c62828; color: #fff; }
button.pericol:hover, button.pericol:focus { background: #a31f1f; border-color: #a31f1f; }
.mesaj { padding: .75rem 1rem; margin-bottom: 1rem; border-left: 4px solid #2e8b57; }
.mesaj.eroare { border-left-color: #c62828; }
.avertisment { padding: .75rem 1rem; border-left: 4px solid #e0a000; background: rgba(224,160,0,.08); margin-bottom: .75rem; }
.avertisment.grav { border-left-color: #c62828; background: rgba(198,40,40,.08); }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sumar { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.sumar article { margin: 0; padding: 1rem; }
.sumar small { color: var(--pico-muted-color); display: block; }
.sumar strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.inline { display: flex; gap: .5rem; align-items: end; flex-wrap: wrap; margin: 0; }
.inline > * { margin-bottom: 0 !important; }
.inline input, .inline select { width: auto; }
form.mic { display: inline; margin: 0; }
button.mic, a.mic, input.mic { padding: .2rem .55rem; font-size: .85rem; margin: 0; width: auto; }
button.link { background: none; border: none; padding: 0; color: var(--pico-primary); width: auto; margin: 0; }
.tabel-scroll { overflow-x: auto; }
tr.rand-activ > td { background-color: rgba(46, 125, 50, .14); }
tr.rand-inactiv > td { background-color: rgba(198, 40, 40, .14); }
tr.grup-uat td { background: var(--pico-card-sectioning-background-color); }
tr.total td { font-weight: 700; border-top: 2px solid var(--pico-muted-border-color); }
.muted { color: var(--pico-muted-color); }
.eticheta { font-size: .75rem; padding: .05rem .4rem; border-radius: .3rem; background: var(--pico-muted-border-color); }
.eticheta.partajat { background: #ffe8a3; color: #6b4e00; }
details.detaliu summary { font-size: .9rem; }
#rezultate-cautare { list-style: none; padding: 0; margin: 0; max-height: 18rem; overflow-y: auto; }
#rezultate-cautare li { list-style: none; padding: .3rem .5rem; cursor: pointer; border-bottom: 1px solid var(--pico-muted-border-color); }
#rezultate-cautare li:hover { background: var(--pico-muted-border-color); }
