/* PCSUVT · interfața: bleumarinul UVT, lumină albastră și panouri „sticlă” (după modelul ERP ales), conținut pe fond deschis */
/* v0.83.2: Lato 2.015 complet (latofonts.com, OFL 1.1), fișierele originale nemodificate: conține Ă ă Â â Î î Ș ș Ț ț și ghilimelele „ ”. Vechiul subset Google (Lato 1) nu avea diacriticele românești, iar browserul le lua din alt font. */
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/lato-normal.woff2?v=2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/lato-semibold.woff2?v=2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/lato-bold.woff2?v=2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/lato-heavy.woff2?v=2") format("woff2"); }

:root {
  --navy-950: #071428; --navy-900: #0b1d38; --navy-800: #0f2a4a; --navy-700: #163a63; --navy-600: #1f4e85;
  --glow: #3b8cff; --glow-soft: rgba(59,140,255,.35); --cyan: #6cc4ff;
  --bg: #eef2f7; --surface: #ffffff; --ink: #13233a; --muted: #5b6b80; --line: #d8e0ea; --line-soft: #e8edf3;
  --primary: #1f4e85; --primary-ink: #fff;
  --ok: #1e7a46; --ok-bg: #e6f4ec; --warn: #a35f00; --warn-bg: #fff3df; --err: #b3261e; --err-bg: #fdecea; --info: #1f5fa8; --info-bg: #e7f0fb;
  --radius: 12px; --radius-sm: 8px;
  --font: "Lato", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --doc-font: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(15,42,74,.06), 0 4px 14px rgba(15,42,74,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--bg); line-height: 1.5; }
/* v0.83.2: butoanele, câmpurile și listele derulante folosesc și ele fontul platformei (browserul le dă implicit fontul sistemului) */
button, input, select, textarea, optgroup { font-family: inherit; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.55rem; margin: 0 0 .5rem; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; margin: 1.4rem 0 .6rem; font-weight: 700; color: var(--navy-800); }
h3 { font-size: 1rem; margin: 1rem 0 .4rem; font-weight: 700; }
p { margin: .4rem 0 .8rem; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.ico { flex-shrink: 0; vertical-align: -3px; }

/* Bara de sus */
.topbar { display: flex; align-items: center; gap: 1rem; padding: 0 1.2rem; height: 62px; color: #fff; position: sticky; top: 0; z-index: 30;
  background: linear-gradient(100deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%); box-shadow: 0 1px 0 rgba(108,196,255,.35), 0 6px 24px rgba(7,20,40,.25); font-family: var(--font); }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 42px; width: 42px; display: block; filter: drop-shadow(0 0 6px rgba(108,196,255,.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo { font-weight: 700; letter-spacing: .12em; font-size: 1.15rem; }
.brand-sub { font-size: .74rem; opacity: .78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs { flex: 1; font-size: .92rem; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.15); }
.userbox { display: flex; align-items: center; gap: .8rem; font-size: .9rem; flex-shrink: 0; }
.userbox a { color: #fff; }
.yearchip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border: 1px solid rgba(108,196,255,.4); border-radius: 999px; font-size: .82rem; background: rgba(59,140,255,.12); }
.bell { position: relative; display: inline-flex; padding: .3rem; border-radius: 8px; }
.bell:hover { background: rgba(255,255,255,.1); }
.bell-n { position: absolute; top: -3px; right: -5px; background: #ff6b5b; color: #fff; border-radius: 999px; font-size: .68rem; min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; font-weight: 700; }
.username { font-weight: 700; }
.iconbtn { display: inline-flex; padding: .35rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); }
.iconbtn:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 8px; padding: .3rem .45rem; cursor: pointer; }

/* Meniul lateral */
.shell { display: flex; min-height: calc(100vh - 62px); }
.sidebar { width: 272px; flex-shrink: 0; position: sticky; top: 62px; height: calc(100vh - 62px); overflow-y: auto; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%); color: #d9e6f7; font-family: var(--font); }
.sidenav { padding: .7rem 0; flex: 1; }
.navsec { margin: 0 .55rem .15rem; }
.navsec-head { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .62rem .75rem; background: none; border: none; font: inherit; font-size: .94rem; font-weight: 700; color: #e9f1fb; cursor: pointer; text-align: left; border-radius: 10px; }
.navsec-head:hover { background: rgba(255,255,255,.06); }
.navicon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--cyan); background: rgba(59,140,255,.12); border: 1px solid rgba(108,196,255,.22); }
.navsec.open .navicon { background: rgba(59,140,255,.22); box-shadow: 0 0 12px rgba(59,140,255,.35); color: #fff; }
.navlabel { flex: 1; }
.chev { color: #7f95b3; transition: transform .15s; font-size: 1.1rem; }
.navsec.open .chev { transform: rotate(90deg); }
.navitems { list-style: none; margin: 0; padding: .1rem 0 .45rem; display: none; }
.navsec.open .navitems { display: block; }
.navitems a { display: block; padding: .38rem .8rem .38rem 3.05rem; color: #b7c8de; font-size: .89rem; border-radius: 8px; position: relative; }
.navitems a:hover { background: rgba(255,255,255,.05); color: #fff; text-decoration: none; }
.navitems a.active { color: #fff; background: linear-gradient(90deg, rgba(59,140,255,.28), rgba(59,140,255,.06)); font-weight: 700; }
.navitems a.active::before { content: ''; position: absolute; left: 2.2rem; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.sidebar-foot { padding: .9rem 1.1rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; color: #9fb3cf; }
.sidebar-foot b { color: #fff; }

.container { flex: 1; min-width: 0; padding: 1.4rem 1.7rem 2rem; }
.footer { display: flex; justify-content: space-between; padding: 1rem 0 0; margin-top: 2.2rem; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); }

/* Tabloul de bord: banda întunecată cu panouri sticlă */
.hero { position: relative; overflow: hidden; border-radius: 18px; padding: 1.5rem 1.6rem 1.6rem; margin-bottom: 1.4rem; color: #fff;
  background: radial-gradient(900px 320px at 85% -10%, rgba(59,140,255,.45), transparent 60%), radial-gradient(600px 260px at 0% 120%, rgba(108,196,255,.18), transparent 60%), linear-gradient(135deg, var(--navy-950), var(--navy-800)); box-shadow: 0 10px 30px rgba(7,20,40,.25); }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(108,196,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(108,196,255,.06) 1px, transparent 1px); background-size: 34px 34px; pointer-events: none; mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 85%); }
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: 1.6rem; margin: 0; }
.hero .hero-sub { color: #b9cde6; margin: .25rem 0 1.1rem; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.hero-top form select { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(108,196,255,.35); }
.hero-top form select option { color: var(--ink); }
.glass-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .9rem; }
.glass { display: block; border-radius: 14px; padding: .95rem 1rem; color: #fff; text-decoration: none; background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border: 1px solid rgba(108,196,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); transition: transform .12s, box-shadow .12s, border-color .12s; }
a.glass:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(108,196,255,.6); box-shadow: 0 0 22px rgba(59,140,255,.35), inset 0 1px 0 rgba(255,255,255,.1); }
.glass .g-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--cyan); background: rgba(59,140,255,.16); border: 1px solid rgba(108,196,255,.35); box-shadow: 0 0 14px rgba(59,140,255,.3); margin-bottom: .6rem; }
.glass .g-val { font-size: 1.75rem; font-weight: 700; line-height: 1.1; }
.glass .g-lab { font-size: .82rem; color: #b9cde6; margin-top: .15rem; }
.glass .g-sub { font-size: .76rem; color: #8fb0d6; margin-top: .3rem; }
/* v0.36.1: plăcile „glass” puse într-un card alb (previzualizările de import) aveau textul alb pe alb */
.card .glass { color: var(--ink, #0f2742); background: #f6f9fc; border-color: #dfe5ee; box-shadow: none; }
.card .glass .g-lab { color: #5b6b80; }
.card .glass .g-sub { color: #6b7b90; }

/* Tile-uri de module (ca pe coperta modelului) */
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; margin: .4rem 0 1.4rem; }
.module { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1rem 1.05rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .12s, box-shadow .12s, border-color .12s; }
.module:hover { text-decoration: none; transform: translateY(-2px); border-color: #a9c6ea; box-shadow: 0 8px 22px rgba(31,78,133,.15); }
.module .m-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--navy-600), var(--navy-900)); box-shadow: 0 4px 12px rgba(31,78,133,.35), inset 0 1px 0 rgba(255,255,255,.2); }
.module .m-title { font-weight: 700; }
.module .m-sub { font-size: .82rem; color: var(--muted); }
.module .m-count { margin-left: auto; }

/* Pașii următori */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.steps li a { display: flex; gap: .75rem; align-items: center; padding: .75rem .95rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.steps li a:hover { text-decoration: none; border-color: #a9c6ea; }
.steps .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.steps .warn .dot { background: #f0a020; box-shadow: 0 0 0 4px #fff3df; }
.steps .info .dot { background: var(--glow); box-shadow: 0 0 0 4px var(--info-bg); }
.steps .ok .dot { background: #2ea463; box-shadow: 0 0 0 4px var(--ok-bg); }
.steps .go { margin-left: auto; color: var(--primary); font-weight: 700; white-space: nowrap; }

/* Carduri și grile */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; box-shadow: var(--shadow); }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.card.tight { padding: .8rem 1rem; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem 1rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem 1rem; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .7rem 1rem; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.2rem; }
.span2 { grid-column: 1 / -1; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .9rem; margin-bottom: 1.2rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; box-shadow: var(--shadow); }
.stat .label { color: var(--muted); font-size: .8rem; }
.stat .value { font-size: 1.6rem; font-weight: 700; margin-top: .1rem; color: var(--navy-800); }
.stat .sub { color: var(--muted); font-size: .8rem; }
.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.pagehead p { margin: .1rem 0 0; }
.tools { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.toolbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: flex-end; margin: .4rem 0 1rem; padding: .7rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.toolbar label { min-width: 150px; }
.toolbar select, .toolbar input { width: auto; min-width: 150px; }
.explain { background: var(--info-bg); border: 1px solid #c9dcf3; border-left: 4px solid var(--glow); border-radius: var(--radius-sm); padding: .75rem 1rem; margin-bottom: 1rem; font-size: .92rem; color: #1d3c63; }
.explain p { margin: .2rem 0; }

/* Formulare */
label { display: flex; flex-direction: column; gap: .25rem; font-size: .86rem; color: var(--muted); font-weight: 700; }
label > input, label > select, label > textarea { font-weight: 400; }
input[type=text], input[type=search], input[type=email], input[type=password], input[type=number], input[type=date], input[type=url], input[type=file], input:not([type]), select, textarea {
  width: 100%; padding: .5rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: .95rem; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(59,140,255,.2); border-color: var(--glow); }
input[readonly], input:disabled, select:disabled, textarea:disabled { background: #f2f5f9; color: var(--muted); }
textarea { min-height: 72px; resize: vertical; }
label.check { flex-direction: row; align-items: flex-start; gap: .55rem; color: var(--ink); font-weight: 400; margin: .6rem 0; }
label.check input { width: auto; margin-top: .25rem; }
.hint { font-size: .8rem; color: var(--muted); font-weight: 400; }
.req::after { content: ' *'; color: var(--err); }
.actions { display: flex; gap: .6rem; margin-top: 1rem; align-items: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 8px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn:hover { background: var(--info-bg); text-decoration: none; }
.btn-primary { background: linear-gradient(180deg, #2a62a3, var(--primary)); border-color: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(31,78,133,.25); }
.btn-primary:hover { background: var(--navy-700); }
.btn-ok { border-color: var(--ok); color: #fff; background: var(--ok); }
.btn-ok:hover { background: #17633a; }
.btn-danger { border-color: var(--err); color: var(--err); }
.btn-danger:hover { background: var(--err-bg); }
.btn-sm { padding: .3rem .6rem; font-size: .82rem; }
.btn-link { border: none; background: none; padding: 0; color: var(--primary); cursor: pointer; font: inherit; font-weight: 700; }
.inline-form { display: inline; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; margin: .8rem 0; }
.fieldset legend { padding: 0 .4rem; font-weight: 700; color: var(--navy-800); }

/* Tabele */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { padding: .5rem .65rem; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
th { background: #f3f6fa; color: #2b3e58; font-weight: 700; font-size: .82rem; white-space: nowrap; }
tbody tr:hover td { background: #f8fbff; }
tr.total td { font-weight: 700; background: #f3f6fa; }
td.num, th.num { text-align: right; white-space: nowrap; }
.table-wrap table { border: none; }
.empty { padding: 1.4rem; text-align: center; color: var(--muted); }

/* Etichete de stare: aceeași mărime și același font peste tot */
.badge { display: inline-block; padding: .12rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.5; white-space: nowrap; border: 1px solid transparent; }
.badge-neutral { background: #eef2f7; color: #43566f; border-color: #dbe3ed; }
.badge-ok { background: var(--ok-bg); color: var(--ok); border-color: #bfe3cd; }
.badge-warn { background: var(--warn-bg); color: var(--warn); border-color: #f2d6a6; }
.badge-err { background: var(--err-bg); color: var(--err); border-color: #f2c4bf; }
.badge-info { background: var(--info-bg); color: var(--info); border-color: #c5daf3; }

/* Mesaje */
.flash { padding: .75rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; border: 1px solid; font-size: .93rem; }
.flash-success { background: var(--ok-bg); border-color: #bfe3cd; color: #14532d; }
.flash-error { background: var(--err-bg); border-color: #f2c4bf; color: #7a1610; }
.flash-warning { background: var(--warn-bg); border-color: #f2d6a6; color: #6b3d00; }
.flash-info { background: var(--info-bg); border-color: #c5daf3; color: #163c6b; }

/* Grafice SVG */
.chart { width: 100%; height: auto; display: block; }
.chart text { font-family: var(--font); fill: #43566f; font-size: 11px; }
.chart .bar { fill: url(#gbar); }
.chart .bar2 { fill: #9cc6f5; }
.chart .gridline { stroke: #e3e9f1; }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.meter { height: 8px; background: #e6edf5; border-radius: 999px; overflow: hidden; min-width: 80px; }
.meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--glow), var(--cyan)); border-radius: 999px; }

/* Secțiunile PIC */
.secnav { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; }
.secnav a { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .82rem; color: var(--ink); }
.secnav a:hover { border-color: var(--glow); text-decoration: none; }
.secnav a .n { background: var(--navy-800); color: #fff; border-radius: 999px; padding: 0 .4rem; font-size: .74rem; }
.sec { margin-bottom: 1.1rem; }
.sec-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.sec-head h3 { margin: 0; flex: 1; font-size: 1rem; }
.sec-num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--navy-600), var(--navy-900)); font-size: .8rem; font-weight: 700; flex-shrink: 0; }
.statusline { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; padding: .8rem 1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin-bottom: 1rem; }
.statusline .grow { flex: 1; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1rem; border-left: 2px solid #d3e0ef; }
.timeline li { position: relative; padding: .1rem 0 .7rem .6rem; font-size: .9rem; }
.timeline li::before { content: ''; position: absolute; left: -1.43rem; top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 3px #fff; }

/* Pagina de autentificare și paginile publice */
body.public { min-height: 100vh; background: radial-gradient(1000px 500px at 80% -10%, rgba(59,140,255,.45), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-800) 60%, var(--navy-700)); }
html:has(body.public) { background: var(--navy-950); }
.public-glow { position: fixed; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(108,196,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(108,196,255,.05) 1px, transparent 1px); background-size: 40px 40px; }
.public-wrap { position: relative; max-width: 560px; margin: 0 auto; padding: 3rem 1rem 2rem; }
body.public-wide .public-wrap { max-width: 1120px; }
.public-brand { display: flex; align-items: center; gap: 1rem; color: #fff; margin-bottom: 1.6rem; text-decoration: none; }
.public-brand:hover { text-decoration: none; }
.public-brand img { width: 74px; height: 74px; filter: drop-shadow(0 0 10px rgba(108,196,255,.4)); }
.public-uni { display: block; font-size: 1.35rem; font-weight: 700; }
.public-name { display: block; color: #b9cde6; font-size: .95rem; }
.public-wrap > .card { padding: 1.8rem; border: 1px solid rgba(108,196,255,.3); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.public-foot { text-align: center; color: #9fb3cf; font-size: .82rem; margin-top: 1.5rem; }
.public-foot a { color: #cfe0f5; }
.portal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.portal-card { display: flex; gap: .9rem; padding: 1rem; border-radius: 14px; color: #fff; text-decoration: none; background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border: 1px solid rgba(108,196,255,.28); }
.portal-card:hover { text-decoration: none; border-color: rgba(108,196,255,.6); box-shadow: 0 0 22px rgba(59,140,255,.3); }
.portal-card .pc-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; background: rgba(59,140,255,.18); border: 1px solid rgba(108,196,255,.35); flex-shrink: 0; color: var(--cyan); }
.portal-card .pc-name { font-weight: 700; line-height: 1.3; }
.portal-card .pc-dir { font-size: .82rem; color: #b9cde6; margin-top: .3rem; }
.portal-card .pc-stats { font-size: .78rem; color: #8fb0d6; margin-top: .35rem; display: block; }
.portal-card .pc-num { margin-top: .15rem; font-weight: 600; color: #a9c4e4; }
.portal-head h1 { color: #fff; }
.portal-head p { color: #b9cde6; }

/* Documente tipăribile (cerere, PIC, anexe): fontul documentelor */
.doc { font-family: var(--doc-font); font-size: 11pt; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 2rem; box-shadow: var(--shadow); }
.doc p { text-align: justify; text-indent: 1.25cm; margin: 0 0 .5rem; }
.doc p.noindent, .doc .docmeta p { text-indent: 0; }
.doc h1 { text-align: center; font-size: 14pt; margin: .8rem 0 .2rem; }
.doc h2 { font-size: 11.5pt; color: #000; margin: 1rem 0 .4rem; }
.doc table { font-size: 9pt; }
.doc th, .doc td { border: 1px solid #9aa6b5; padding: .25rem .35rem; }
.doc th { background: #eef2f7; color: #000; white-space: normal; text-align: center; }
.doc-head { display: flex; align-items: center; gap: 1rem; border-bottom: 2px solid var(--navy-800); padding-bottom: .6rem; margin-bottom: .8rem; }
.doc-head img { width: 64px; height: 64px; }
.doc-head .dh-text { flex: 1; text-align: center; }
.doc-head .dh-text b { display: block; font-size: 12.5pt; }
.doc-head .dh-text span { display: block; font-size: 10.5pt; }
.doc-aviz { display: flex; justify-content: space-between; gap: 1rem; font-size: 10pt; margin-bottom: .6rem; }
.doc-aviz .box { border: 1px solid #9aa6b5; padding: .4rem .6rem; min-width: 210px; }
.docmeta { display: grid; grid-template-columns: 220px 1fr; gap: .15rem .8rem; font-size: 10.5pt; margin: .6rem 0 1rem; }
.docmeta div:nth-child(odd) { font-weight: 700; }
.doc-sign { display: flex; justify-content: space-between; margin-top: 2rem; font-size: 10.5pt; }
.doc-foot { font-size: 8.5pt; color: #555; border-top: 1px solid #ccc; margin-top: 1rem; padding-top: .3rem; }

.print-only { display: none; }
.app-antet { display: none; }

@media (max-width: 1100px) { .cols2 { grid-template-columns: 1fr; } .grid4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .brand-sub { display: none; } }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .sidebar { position: fixed; left: -290px; top: 62px; z-index: 40; transition: left .2s; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
  body.sidebar-open .sidebar { left: 0; }
  .crumbs, .yearchip { display: none; }
  .container { padding: 1rem; }
  .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
  .username { display: none; }
}

@media print {
  body { background: #fff; font-family: var(--doc-font); font-size: 10pt; }
  .topbar, .sidebar, .noprint, .tools, .toolbar, .actions, .flash, .footer, .secnav, .menu-toggle { display: none !important; }
  /* v0.69.1: forma academică a rapoartelor: fără textele explicative ale paginii */
  .pagehead > div > p.muted, .explain, p.hint, .hint { display: none !important; }
  .btn, details > summary:not(:has(h1, h2, h3)) { display: none !important; }
  .container { padding: 0; }
  .shell { display: block; }
  .card, .doc, .table-wrap, .stat { box-shadow: none; border: none; padding: 0; }
  .print-only { display: block; }
  .app-antet { display: flex; align-items: center; gap: .8rem; border-bottom: 1.5px solid #0f2a4a; padding-bottom: .3rem; margin-bottom: .6rem; }
  .app-antet img { width: 46px; height: 46px; }
  .app-antet .right-logo { margin-left: auto; }
  .app-antet-inst { font-size: 9.5pt; display: flex; flex-direction: column; }
  .doc .doc-head { display: none; }
  body.has-doc .app-antet { display: flex; }
  .hero { background: #fff; color: #000; box-shadow: none; border: 1px solid #ccc; }
  .hero::after { display: none; }
  .glass, .hero h1, .hero .hero-sub { color: #000; }
  table { font-size: 8.5pt; }
  th { background: #eee !important; }
  a { color: #000; }
  @page { size: A4; margin: 14mm 12mm 16mm; }
}

/* v0.2.0: prima pagină a portalului, cu imagine de copertă configurabilă (campus UVT, ICSTM) */
.portal-hero { border-radius: 18px; margin-bottom: 1.4rem; min-height: 280px; display: flex; align-items: flex-end; background: radial-gradient(800px 300px at 80% 0%, rgba(59,140,255,.4), transparent 60%), linear-gradient(135deg, var(--navy-950), var(--navy-700)); background-size: cover; background-position: center; border: 1px solid rgba(108,196,255,.3); box-shadow: 0 20px 50px rgba(0,0,0,.3); overflow: hidden; }
.portal-hero-in { padding: 1.8rem 2rem; color: #fff; }
.portal-hero h1 { color: #fff; font-size: 1.8rem; margin: 0 0 .4rem; }
.portal-hero p { color: #d5e3f5; max-width: 760px; margin: 0 0 1rem; }
.portal-kpis { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: .8rem; }
.portal-kpis span { padding: .4rem .8rem; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(108,196,255,.35); font-size: .9rem; }
.portal-kpis b { font-size: 1.05rem; }
.portal-year { color: #d5e3f5; flex-direction: row; align-items: center; gap: .5rem; }
.portal-year select { width: auto; background: rgba(255,255,255,.1); color: #fff; border-color: rgba(108,196,255,.4); }
.portal-year select option { color: var(--ink); }
.portal-crumb a { color: #cfe0f5; }
body.public .cols2 { margin-bottom: 0; }

/* v0.2.1: butonul Înapoi și selectorul perioadei din bara de sus */
.backbtn { display: inline-flex; align-items: center; gap: .3rem; padding: .32rem .7rem .32rem .5rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: .86rem; font-weight: 700; white-space: nowrap; }
.backbtn:hover { background: rgba(255,255,255,.12); text-decoration: none; color: #fff; }
.periodpick label { flex-direction: row; align-items: center; gap: .45rem; font-weight: 700; }
.periodpick select { width: auto; min-width: 210px; }
.topbar-period label > span { display: none; }
.topbar-period select { background: rgba(59,140,255,.14); color: #fff; border: 1px solid rgba(108,196,255,.45); border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; font-weight: 700; cursor: pointer; min-width: 0; }
.topbar-period select:hover { background: rgba(59,140,255,.25); }
.topbar-period select optgroup, .topbar-period select option { color: var(--ink); background: #fff; font-weight: 400; }
.hero .periodpick label { color: #b9cde6; }
.hero .periodpick select { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(108,196,255,.35); }
.hero .periodpick select option, .hero .periodpick select optgroup { color: var(--ink); background: #fff; }
@media (max-width: 860px) { .backbtn span { display: none; } .backbtn { padding: .35rem; } .topbar-period select { max-width: 150px; } }
@media (max-width: 560px) {
  .topbar .brand-text { display: none; }
  .topbar { gap: .4rem; }
  .topbar-period { margin-left: auto; min-width: 0; }
  .topbar-period label > span { display: none; }
  .topbar-period select { max-width: 132px; font-size: .78rem; padding-left: .55rem; }
}

/* v0.3.0: Conturi pe facultăți */
.factabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.factab { display: inline-flex; flex-direction: column; align-items: center; min-width: 74px; padding: .45rem .7rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--navy-800); text-decoration: none; box-shadow: var(--shadow); }
.factab b { font-size: .86rem; }
.factab span { font-size: .72rem; color: var(--muted); }
.factab:hover { border-color: var(--navy-800); }
.factab.on { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.factab.on span { color: #cfe0f5; }
details.leaders summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; }
details.leaders summary::-webkit-details-marker { display: none; }
details.leaders summary::before { content: '▸'; color: var(--muted); }
details.leaders[open] summary::before { content: '▾'; }
details.leaders .leadform { margin-top: 1rem; }
details.leaders .lbl { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; }
ul.plain { list-style: none; padding: 0; margin: .8rem 0 .4rem; }
ul.plain li { padding: .2rem 0; }
.acctable input.em { width: 100%; min-width: 230px; padding: .35rem .5rem; font-size: .86rem; }
.acctable input.em.sugg { background: #fff7d6; border-color: #e5b400; }
.acctable td { vertical-align: middle; }
.accbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; position: sticky; bottom: 0; background: var(--surface); padding: .7rem 0; border-top: 1px solid var(--line); }
td.pw b, .slip .pw { font-family: Consolas, 'Courier New', monospace; letter-spacing: .04em; }
.slips { display: none; }
.slip { border: 1px dashed #8a97a8; border-radius: 8px; padding: .8rem 1rem; break-inside: avoid; page-break-inside: avoid; }
.slip-h { font-size: .75rem; color: #475569; border-bottom: 1px solid #d5dbe3; padding-bottom: .3rem; margin-bottom: .4rem; }
@media print {
  body.print-slips main.container > *:not(.slips) { display: none !important; }
  body.print-part .pp-hide:not(.app-antet) { display: none !important; }   /* v0.48.9: doar partea aleasă (antetul instituțional rămâne) */
  body.print-slips .slips { display: grid; grid-template-columns: 1fr 1fr; gap: 10mm; }
}
@media print { td .btn, td form .btn { display: none !important; } }

/* v0.3.1: câmpuri editabile în tabel; la tipărire și în Word/Excel apare valoarea ca text */
.pval { display: none; }
.acctable select.ed, .acctable input.ed { width: 100%; min-width: 110px; padding: .3rem .4rem; font-size: .82rem; border-radius: 6px; }
.acctable input.ed.tt { min-width: 70px; max-width: 90px; }
.acctable select.ed.changed, .acctable input.ed.changed, .acctable input.em.changed { border-color: var(--navy-800); background: #eef4fc; }
@media print { .pval { display: inline; } .acctable .ed, .acctable .em { display: none !important; } }
.acctable td:last-child { min-width: 190px; }

/* v0.4.0: Identificatori științifici */
.idtable td { vertical-align: top; }
.idtable .idcell { min-width: 120px; word-break: break-word; }
.idtable .idmatch { min-width: 220px; }
.idtable .idcur { font-weight: 600; }
.idprop { display: flex; gap: .35rem; align-items: flex-start; margin: .2rem 0 0; font-weight: 400; cursor: pointer; background: #eaf6ee; border-radius: 6px; padding: .2rem .35rem; }
.idprop.diff { background: #fff4d6; }
.idprop input { margin-top: .15rem; }
.idalt { margin-top: .3rem; display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--navy-800); text-decoration: underline; cursor: pointer; font: inherit; font-size: .78rem; text-align: left; }
.schin { width: 100%; min-width: 150px; font-size: .78rem; padding: .25rem .4rem; margin-top: .2rem; }

/* v0.4.3: cererea de afiliere ca pe formularul F 353 */
.doc-aviz .aviz-plain { text-align: center; font-size: 10.5pt; line-height: 1.45; }
.aff-sign { margin-top: 3.2rem; display: flex; justify-content: space-between; align-items: flex-start; }
.aff-sign .aff-sign-r { text-align: center; min-width: 45%; }
.doc p.aff-to { text-align: center; text-indent: 0; margin-top: 3.5rem; font-size: 12pt; }
/* v0.4.4: destinatarul cererii stă jos pe pagină, deasupra subsolului, ca pe formularul F 353 */
@media print { .doc p.aff-to { position: fixed; left: 0; right: 0; bottom: 4mm; margin: 0; text-align: center; } }
/* v0.4.5: data și semnătura mai jos pe pagina tipărită (spațiu liber deasupra, cum e pe formularul de hârtie) */
@media print { .aff-sign { margin-top: 6cm; } }
/* v0.5.1: avizele și aprobările nu mai sunt în chenar, pe niciun document (PIC, Anexa 2, cererea de afiliere) */
.doc-aviz .box { border: 0 !important; padding: 0; text-align: center; font-size: 10.5pt; line-height: 1.45; }

/* v0.7.0: Fișa postului */
.vartabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.vartab { flex: 1 1 260px; display: flex; flex-direction: column; padding: .6rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--navy-800); text-decoration: none; box-shadow: var(--shadow); }
.vartab span { font-size: .8rem; color: var(--muted); }
.vartab.on { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.vartab.on span { color: #cfe0f5; }
.stat.stat-warn { border-color: #e5a400; background: #fff8e6; }
.jsore input { width: 80px; }
.jstable td { vertical-align: top; }
.jstable td.num input { width: 72px; text-align: right; }
.jstable tr.jspart td { background: #e8eef7; font-weight: 700; color: var(--navy-800); }
.jstable tr.jsgroup td { font-weight: 600; background: #f5f7fb; }
.jstable tr.jssub td:first-child { padding-left: 1.6rem; color: #384152; }
.jstable .jsitems { margin: .2rem 0 .3rem 1rem; padding: 0; color: var(--muted); }
.jstable input.jsadd { width: 72px; padding: .15rem .3rem; }
@media print { .jstable tr.jspart td { background: #e8eef7 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
/* v0.7.3: tipurile de rezultate direct în „Rezultatele mele” */
.modules-compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }
.modules-compact .module { padding: .7rem .8rem; }
.modules-compact .m-sub { display: none; }
.m-count { display: inline-block; min-width: 1.3rem; padding: 0 .35rem; margin-left: .2rem; border-radius: 999px; background: var(--navy-800); color: #fff; font-size: .72rem; text-align: center; }

/* v0.7.7 autorii UVT */
.authors-info{margin-top:.35rem;line-height:1.5}.authors-info .ok-line{color:var(--ok,#1a7f4b)}.authors-info .warn-line{color:var(--err,#b42318)}
.authors-info .unk-box{margin-top:.5rem;padding:.6rem .7rem;border:1px dashed var(--line,#cbd5e1);border-radius:10px;background:var(--soft,#f8fafc)}.authors-info .unk-row{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin-top:.45rem}.authors-info .unk-row input{width:170px}.authors-info .unk-row select{width:auto}
/* v0.8.0 încadrarea după revistă */
.journal-info .ji{margin:-.3rem 0 .9rem;padding:.6rem .8rem;border-radius:10px;font-size:.88rem;line-height:1.5}.journal-info .ji-warn{background:#fff4e5;border:1px solid #f5b971;color:#7a3e00}.journal-info .ji-ok{background:#ecf8f1;border:1px solid #9fd8b8;color:#145c36}.journal-info .ji-muted{color:var(--muted,#64748b)}.journal-info .btn{margin-left:.4rem}

/* v0.9.2 portalul: fotografia Rectoratului pe toată lățimea, fără cifre */
.portal-hero-photo { min-height: 460px; background-position: center 58%; }
.portal-hero-photo .portal-hero-in { padding: 2.2rem 2.2rem 2rem; }
.portal-hero-photo h1 { font-size: 2rem; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.portal-hero-photo p { text-shadow: 0 1px 8px rgba(0,0,0,.5); margin-bottom: 0; }
@media (max-width: 700px) { .portal-hero-photo { min-height: 480px; background-position: 40% 30%; } .portal-hero-photo h1 { font-size: 1.45rem; } }
.portal-hero-center { min-height: 400px; }
.portal-crumb { margin: 0 0 .7rem; }
.portal-crumb a { color: #b9cde6; }
/* v0.9.6 portalul pe tot ecranul: mai lat și cu text mai mare pe monitoarele mari */
html:has(body.public-wide) { font-size: clamp(16px, 1.05vw, 21px); }
body.public-wide .public-wrap { max-width: min(1680px, 94vw); padding-top: 2.2rem; }
body.public-wide .public-brand img { width: 84px; height: 84px; }
body.public-wide .public-uni { font-size: 1.5rem; }
body.public-wide .portal-hero-photo { min-height: max(460px, 56vh); }
body.public-wide .portal-hero-photo h1 { font-size: 2.4rem; }
body.public-wide .portal-hero-photo p { font-size: 1.12rem; max-width: 980px; }
body.public-wide .portal-grid { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 1.2rem; }
body.public-wide .portal-card { padding: 1.2rem 1.25rem; }
body.public-wide .portal-card .pc-name { font-size: 1.08rem; }
body.public-wide .portal-card .pc-dir { font-size: .9rem; }
body.public-wide .portal-card .pc-stats { font-size: .85rem; }
@media (max-width: 700px) { html:has(body.public-wide) { font-size: 16px; } body.public-wide .portal-grid { grid-template-columns: 1fr; } body.public-wide .portal-hero-photo h1 { font-size: 1.45rem; } }
body.public-wide .portal-crumb { font-size: 1rem; }
.footer a.foot-link { color: var(--primary, #1f4e8c); font-weight: 600; text-decoration: none; }
.footer a.foot-link:hover { text-decoration: underline; }

/* v0.10.3: legătura EERTIS în colțul din dreapta jos al imaginii din portal */
.portal-hero { position: relative; }
.portal-eertis { position: absolute; right: 1.4rem; bottom: 1.3rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.45); color: #fff !important; font-weight: 600; font-size: .95rem; text-decoration: none; backdrop-filter: blur(4px); }
.portal-eertis:hover { background: rgba(255,255,255,.26); }
@media (max-width: 760px) { .portal-hero { flex-direction: column; align-items: stretch; justify-content: flex-end; } .portal-eertis { position: static; align-self: flex-start; margin: 0 2rem 1.4rem; } }
@media (min-width: 761px) { .portal-hero:has(.portal-eertis) .portal-hero-in { padding-right: 16rem; } }
/* v0.11.0: butonul de limbă RO / EN al portalului centrelor */
.public-wrap { position: relative; }
.public-tools { position: absolute; top: 3.3rem; right: 0; display: flex; align-items: center; gap: .6rem; }
.lang-switch { display: flex; border: 1px solid rgba(108,196,255,.45); border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.06); }
.lang-switch a { padding: .35rem .85rem; color: #cfe0f5; font-weight: 700; font-size: .9rem; text-decoration: none; letter-spacing: .03em; }
.lang-switch a.on { background: rgba(108,196,255,.85); color: #071428; }
.lang-switch a:not(.on):hover { background: rgba(255,255,255,.12); }
@media (max-width: 760px) { .public-tools { position: static; justify-content: flex-end; flex-wrap: wrap; margin: -0.8rem 0 1rem auto; } }
.public-login { padding: .4rem 1rem; border-radius: 999px; background: rgba(108,196,255,.85); color: #071428 !important; font-weight: 700; font-size: .9rem; text-decoration: none; border: 1px solid rgba(108,196,255,.9); }
.public-login:hover { background: #8fd3ff; text-decoration: none; }

/* v0.11.8: coloana cu Modifică / Șterge rămâne lipită în dreapta tabelelor late (PIC, Rezultatele mele) */
.table-wrap .act-col { position: sticky; right: 0; z-index: 1; background: #fff; box-shadow: -6px 0 8px -6px rgba(15,42,74,.25); }
.table-wrap thead .act-col { background: #f3f6fa; }
.table-wrap td.act-col { display: table-cell; vertical-align: top; }
.table-wrap td.act-col .btn, .table-wrap td.act-col form { display: block; width: 100%; margin: 0 0 .3rem; text-align: center; }
.table-wrap td.act-col form .btn { margin: 0; }

/* v0.11.9: autorii într-o singură formă */
.authors-bad { margin: .4rem 0; padding: .6rem .8rem; border: 1px solid #e3a3a3; background: #fff4f4; border-radius: 10px; color: #7a1f1f; }
.authors-bad ul { margin: .35rem 0 .45rem 1.1rem; padding: 0; }
.authors-correct { margin: .35rem 0; padding: .4rem .6rem; background: #fff; border: 1px dashed #c98b8b; border-radius: 8px; color: var(--ink); font-weight: 700; }

/* v0.11.11: alegerea revistei / conferinței din liste */
.ac-wrap { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; max-height: 340px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(15,42,74,.18); margin-top: 2px; }
.ac-item { padding: .45rem .7rem; cursor: pointer; border-bottom: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: .1rem; }
.ac-item b { font-weight: 700; color: var(--ink); }
.ac-item span { font-size: .78rem; color: #5b6b80; }
.ac-item:hover, .ac-item.on { background: #eef4fd; }
.ac-empty { padding: .5rem .7rem; color: #5b6b80; font-size: .85rem; }
.ac-note { color: #5b6b80; margin-top: .2rem; }
.ac-note.ok { color: #1d7a46; }

/* v0.11.12: calendarul pentru perioadă (de la ... până la ...) */
.dp-wrap { position: relative; }
.dp-input { cursor: pointer; background-image: linear-gradient(transparent, transparent); }
.dp-pop { position: absolute; left: 0; top: 100%; z-index: 40; margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(15,42,74,.22); padding: .8rem; width: max-content; max-width: calc(100vw - 32px); }
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.dp-nav { border: 1px solid var(--line); background: #fff; border-radius: 999px; width: 34px; height: 34px; font-size: 1.2rem; cursor: pointer; color: var(--navy-800); }
.dp-nav:hover { background: #eef4fd; }
.dp-y { width: auto; padding: .2rem .5rem; }
.dp-months { display: flex; gap: 1.2rem; }
.dp-title { text-align: center; font-weight: 700; margin-bottom: .3rem; text-transform: capitalize; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 36px); gap: 2px; }
.dp-dn { text-align: center; font-size: .75rem; color: #6b7b90; padding: .2rem 0; }
.dp-d { height: 36px; border: none; background: none; border-radius: 8px; cursor: pointer; font: inherit; color: var(--ink); }
.dp-d:hover { background: #eef4fd; }
.dp-d.t { box-shadow: inset 0 0 0 1px #9db7d8; }
.dp-d.in { background: #e3edfb; border-radius: 0; }
.dp-d.s, .dp-d.e { background: var(--navy-700, #1d4f91); color: #fff; font-weight: 700; }
.dp-foot { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; border-top: 1px solid var(--line-soft); padding-top: .55rem; }
.dp-hint { flex: 1; font-weight: 700; color: var(--navy-800); }
@media (max-width: 640px) { .dp-second { display: none; } .dp-grid { grid-template-columns: repeat(7, 34px); } }

/* v0.12.0: lucrarea introdusă deja de un coleg */
.work-box { margin: 0 0 1rem; }
.work-own, .work-other { padding: .7rem .9rem; border-radius: 10px; margin-bottom: .5rem; }
.work-own { background: #fff4f4; border: 1px solid #e3a3a3; color: #7a1f1f; }
.work-other { background: #eef6ff; border: 1px solid #a9c8ee; color: #173a63; }
.work-own .btn, .work-other .btn { margin-left: .4rem; }

/* v0.12.2: pagina publică a cercetătorului */
.member-link { color: var(--navy-800, #173a63); text-decoration: none; border-bottom: 1px dashed rgba(23,58,99,.4); }
.member-link:hover { color: #1d5fbf; border-bottom-style: solid; }
.researcher-head h1 { margin: 0 0 .2rem; font-size: 1.7rem; }
.researcher-head .lead { margin: 0; color: #4a5d78; font-size: 1.05rem; }
.id-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.id-link { display: flex; flex-direction: column; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: #f7faff; text-decoration: none; color: var(--ink); min-width: 210px; }
.id-link span { font-size: .78rem; color: #5b6b80; }
.id-link b { color: #173a63; word-break: break-all; }
.id-link:hover { background: #eaf2fe; border-color: #a9c8ee; text-decoration: none; }

/* v0.12.3: titlul lucrării deschide articolul (DOI, link, WOS, Scopus) */
.work-link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(29,95,191,.35); }
.work-link:hover { color: #1d5fbf; border-bottom-color: #1d5fbf; }

/* v0.12.4: întoarcerea din pagina cercetătorului */
.portal-back { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1rem; }
.btn-back { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem 1.1rem; border-radius: 999px; background: #fff; color: #0f2a4a; font-weight: 700; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.btn-back:hover { background: #eaf2fe; text-decoration: none; color: #0f2a4a; }
.btn-back-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: none; }
.btn-back-light:hover { background: rgba(255,255,255,.22); color: #fff; }
.researcher-tools { float: right; display: flex; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 700px) { .researcher-tools { float: none; margin-bottom: .6rem; } }

/* v0.12.9: anunțuri */
.ann-strip { display: flex; flex-direction: column; gap: .5rem; margin: 0 0 1rem; }
.ann-item { display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: 12px; background: #fff8e6; border: 1px solid #f0d58a; color: #5a4300; text-decoration: none; }
.ann-item:hover { background: #fff1cc; text-decoration: none; color: #5a4300; }
.ann-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #f0b429; color: #fff; padding: .15rem .5rem; border-radius: 999px; }
.ann-more { margin-left: auto; font-weight: 700; white-space: nowrap; }
.announcement-body p { text-align: justify; text-indent: 1.25cm; line-height: 1.55; margin: 0 0 .7rem; }

/* v0.12.11: lucrarea prezentată la conferință și publicată și ca articol */
.pair-note { margin-top: .25rem; font-size: .8rem; color: #7a4b00; background: #fff6e0; border-left: 3px solid #f0b429; padding: .2rem .45rem; border-radius: 4px; }
/* v0.81.0: semnalările în coloana Acțiuni (sub „Verificare sursă”); legătura conferință–articol; dublurile */
.act-col .pair-note { max-width: 12rem; white-space: normal; text-align: left; }
.pair-note.link-note { color: #1f4e85; background: #eaf2fb; border-left-color: #1f4e85; }
.pair-note.ok-note { color: #05603a; background: #ecfdf3; border-left-color: #12b76a; }
.pair-note.ok-note a { color: inherit; }
.pair-note.dup-note { color: #8a1c1f; background: #fdecec; border-left-color: #e5484d; }
.pair-note.dup-note a { color: inherit; font-weight: 600; }
.dup-band { border-left: 4px solid #e5484d; background: #fff8f8; }
.dup-band .dup-item { padding: .55rem 0; border-top: 1px solid #f1d4d4; }
.dup-band .dup-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.dup-band ol { margin: .3rem 0 .4rem 1.1rem; padding: 0; } .dup-band ol li { margin: .2rem 0; }
@media (prefers-color-scheme: dark) { .dup-band { background: transparent; } }
.g-warn { display: inline-block; margin-top: .3rem; color: #ffd27a; font-weight: 600; }
.work-pair { background: #fff6e0; border: 1px solid #f0d58a; color: #5a4300; border-radius: 10px; padding: .6rem .8rem; margin: .4rem 0; }
@media print { .pair-note { background: none; border-left: 2px solid #999; color: #333; } }

/* v0.12.14: butoanele de tipărire și export, mereu împreună */
.print-group { display: inline-flex; flex-wrap: nowrap; gap: .5rem; align-items: center; }
@media (max-width: 520px) { .print-group { flex-wrap: wrap; } }
@media print { .print-group { display: none !important; } }

/* v0.12.15: verificarea punctajului IC2 */
.ic2-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; margin: 1rem 0; }
.ic2-sum .stat { background: #fff; border: 1px solid var(--line, #dfe5ee); border-radius: 12px; padding: .8rem 1rem; }
.ic2-sum .stat-n { font-size: 1.6rem; font-weight: 800; }
label.ic2-only { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: .45rem; font-weight: 600; cursor: pointer; }
label.ic2-only input { width: auto; margin: 0; }

/* v0.13.1: prodecanii cu atribuția lor */
.pd-row { display: flex; gap: .4rem; margin-bottom: .35rem; flex-wrap: wrap; }
.pd-row select { flex: 1 1 14rem; }

/* v0.13.8: pe paginile de lucru, anul universitar folosit când în analize s-a ales un an calendaristic */
.period-hint { font-size: .72rem; color: rgba(255,255,255,.75); white-space: nowrap; margin-left: -.3rem; }
@media (max-width: 900px) { .period-hint { display: none; } }
/* v0.13.10: cercetătorul ales în ierarhia IC2 */
tr.row-sel td { background: #eef5ff; }
/* v0.13.11: rezultatele cu date de corectat, în contul cercetătorului */
.fix-bar { background: #fff8e1; border: 1px solid #f0c36d; border-left: 5px solid #e3a008; border-radius: 10px; padding: .7rem 1rem; margin: 0 0 1rem; }
.fix-bar .fix-head { display: flex; flex-direction: column; gap: .2rem; }
.fix-bar details { margin-top: .4rem; }
.fix-bar summary { cursor: pointer; color: #8a5a00; font-weight: 600; }
.fix-bar .fix-list { width: 100%; margin-top: .4rem; }
.fix-bar .fix-list td { padding: .35rem .5rem; border-top: 1px solid #f3dfae; vertical-align: top; }
/* v0.13.12: explicațiile sunt pentru ecran; documentul tipărit spune pentru cine a fost generat */
.doc-for { display: none; }
@media print {
  .explain, .explain-note { display: none !important; }
  .doc-for { display: block; border: 1px solid #0f2a4a; border-radius: 4px; padding: .3rem .6rem; margin: 0 0 .7rem; font-size: 9.5pt; }
}
/* v0.13.13: alegerea structurii în IC2, sus, sub titlu */
.ic2-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; background: #fff; border: 1px solid var(--line, #dfe5ee); border-radius: 10px; padding: .55rem .9rem; margin: 0 0 1rem; }
.ic2-filters-t { font-weight: 700; color: #0f2a4a; margin-right: .3rem; }
.ic2-filters label { font-weight: 600; }

/* v0.16.0: mesajul avertizărilor (doar directorul ICSTM) */
.al-toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 9999; max-width: 380px; background: #fff; border: 1px solid #d6dbe4; border-left: 4px solid #e0a100; border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.18); padding: .8rem 1rem; font-size: .9rem; }
.al-toast > div:first-of-type { margin: .3rem 0 .5rem; }
@media print { .al-toast { display: none !important; } }
/* v0.16.1: lista din clopoțel (directorul ICSTM) */
.al-panel { position: fixed; z-index: 9998; width: 400px; max-width: calc(100vw - 16px); max-height: calc(100vh - 80px); overflow: auto; background: #fff; color: #1d2433; border: 1px solid #d6dbe4; border-radius: 12px; box-shadow: 0 12px 36px rgba(0,0,0,.2); font-size: .88rem; }
.al-panel .al-head { display: flex; justify-content: space-between; align-items: center; padding: .7rem .9rem; border-bottom: 1px solid #eef0f4; }
.al-panel .al-list { max-height: 340px; overflow: auto; }
.al-panel .al-item { display: block; padding: .55rem .9rem; border-bottom: 1px solid #f1f3f6; color: inherit; text-decoration: none; }
.al-panel .al-item:hover { background: #f5f7fb; }
.al-panel .al-item.unread { background: #fff6e5; }
.al-panel .al-item small { display: block; color: #6b7385; margin-top: .15rem; }
.al-panel .al-foot { padding: .5rem .9rem; font-size: .82rem; border-bottom: 1px solid #eef0f4; }
.al-panel .al-dev { padding: .7rem .9rem; background: #f8f9fc; }
.al-panel .al-dev .actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.al-panel p { margin: .3rem 0 .5rem; }
@media print { .al-panel { display: none !important; } }
/* v0.17.1: Agentul PCSUVT, în formă de conversație */
.agent-btn { display: inline-flex; align-items: center; gap: .35rem; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .3rem .8rem; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.agent-btn:hover { background: rgba(255,255,255,.22); }
.ag-panel { position: fixed; top: 12px; right: 12px; bottom: 12px; width: 420px; max-width: calc(100vw - 24px); z-index: 9990; background: #f4f6fa; color: #1d2433; border-radius: 16px; box-shadow: 0 18px 50px rgba(10,25,55,.28); display: flex; flex-direction: column; overflow: hidden; font-size: .9rem; }
.ag-head { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; background: linear-gradient(135deg, #16325c, #24508f); color: #fff; }
.ag-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.ag-hd { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ag-sub { font-size: .76rem; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-x { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: .85; }
.ag-x:hover { opacity: 1; }
.ag-tabs { display: flex; background: #fff; border-bottom: 1px solid #e3e7ee; }
.ag-tabs button { flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; padding: .6rem .4rem; font: inherit; font-weight: 600; color: #5b6476; cursor: pointer; }
.ag-tabs button.on { color: #16325c; border-bottom-color: #24508f; }
.ag-cnt:not(:empty) { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: #e0a100; color: #fff; font-size: .72rem; line-height: 18px; margin-left: .2rem; }
.ag-chat, .ag-checkpane { flex: 1; overflow: auto; }
.ag-chat[hidden], .ag-checkpane[hidden], .ag-input[hidden] { display: none !important; }
.ag-thread { display: flex; flex-direction: column; gap: .55rem; padding: 1rem; }
.ag-msg { max-width: 92%; padding: .6rem .8rem; border-radius: 14px; line-height: 1.45; }
.ag-msg p { margin: 0 0 .45rem; } .ag-msg p:last-child { margin-bottom: 0; }
.ag-msg.bot { background: #fff; border: 1px solid #e3e7ee; border-top-left-radius: 4px; align-self: flex-start; }
.ag-msg.me { background: #24508f; color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.ag-lead { font-weight: 700; color: #16325c; }
.ag-steps { margin: .2rem 0 .6rem 1.1rem; padding: 0; } .ag-steps li { margin: .2rem 0; }
.ag-sec { margin: .75rem 0 .3rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #7a8295; font-weight: 700; }
.ag-row { display: block; padding: .45rem .6rem; border-radius: 10px; background: #f4f6fa; margin: .25rem 0; color: inherit; text-decoration: none; }
.ag-row:hover { background: #e9eef7; }
.ag-row b { display: block; font-weight: 600; } .ag-row span { font-size: .78rem; color: #6b7385; }
.ag-more { display: block; width: 100%; text-align: left; background: #f4f6fa; border: 0; border-radius: 10px; padding: .45rem .6rem; margin: .25rem 0; font: inherit; cursor: pointer; }
.ag-more::before { content: '›'; display: inline-block; width: 1em; transition: transform .15s; } .ag-more.open::before { transform: rotate(90deg); }
.ag-morebody { padding: .2rem .4rem .4rem; }
.ag-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
.ag-chip { border: 1px solid #cfd8e8; background: #f2f6fd; color: #24508f; border-radius: 999px; padding: .22rem .65rem; font: inherit; font-size: .8rem; cursor: pointer; }
.ag-chip:hover { background: #e3ecfa; }
.ag-btn { display: inline-flex; align-items: center; gap: .25rem; border: 1px solid #cfd8e8; background: #fff; color: #24508f; border-radius: 8px; padding: .3rem .65rem; font: inherit; font-size: .82rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.ag-btn.primary { background: #24508f; color: #fff; border-color: #24508f; }
.ag-btn:hover { filter: brightness(1.05); }
.ag-input { display: flex; gap: .4rem; padding: .7rem; background: #fff; border-top: 1px solid #e3e7ee; }
.ag-input input { flex: 1; border: 1px solid #d6dbe4; border-radius: 999px; padding: .55rem .9rem; font: inherit; }
.ag-input input:focus { outline: 2px solid #9db8e6; border-color: #9db8e6; }
.ag-send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #24508f; color: #fff; font-size: 1rem; cursor: pointer; }
.ag-typing { display: inline-flex; gap: 3px; } .ag-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa3b5; animation: agdot 1s infinite; } .ag-typing i:nth-child(2) { animation-delay: .15s; } .ag-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes agdot { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.ag-list { padding: .8rem 1rem 1.2rem; }
.ag-sum { background: #fff; border: 1px solid #e3e7ee; border-radius: 12px; padding: .6rem .8rem; margin-bottom: .6rem; }
.ag-link { background: none; border: 0; color: #24508f; font: inherit; font-weight: 600; cursor: pointer; padding: 0; margin-left: .3rem; }
.ag-mod { background: #fff; border: 1px solid #e3e7ee; border-radius: 12px; margin: .5rem 0; overflow: hidden; }
.ag-mod > summary { padding: .6rem .8rem; font-weight: 700; cursor: pointer; list-style: none; display: flex; align-items: center; gap: .4rem; }
.ag-mod > summary::-webkit-details-marker { display: none; }
.ag-pill { background: #e0a100; color: #fff; border-radius: 999px; font-size: .72rem; padding: 0 .45rem; line-height: 18px; } .ag-pill.ok { background: #2e9a5a; }
.ag-f { display: flex; gap: .55rem; padding: .6rem .8rem; border-top: 1px solid #f0f2f6; }
.ag-ic { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: #e8ecf3; color: #5b6476; margin-top: .05rem; }
.ag-warn .ag-ic { background: #fff1cc; color: #a06d00; } .ag-todo .ag-ic { background: #e3ecfa; color: #24508f; } .ag-ok .ag-ic { background: #e2f5ea; color: #1f7a45; } .ag-info .ag-ic { font-style: italic; font-family: Georgia, serif; }
.ag-ft { font-weight: 600; } .ag-fd { font-size: .82rem; color: #5b6476; margin: .15rem 0 .35rem; }
.ag-fa { display: flex; flex-wrap: wrap; gap: .3rem; } .ag-fa:empty { display: none; }
.ag-done { font-size: .82rem; color: #1a7f37; } .ag-wait { color: #7a8295; }
@media (max-width: 700px) { .agent-btn span { display: none; } .ag-panel { top: 0; right: 0; bottom: 0; max-width: 100vw; width: 100vw; border-radius: 0; } }
@media print { .ag-panel, .agent-btn { display: none !important; } }
.ag-panel[hidden], .al-panel[hidden] { display: none !important; }
.ag-prop { display: flex; align-items: center; gap: .5rem; justify-content: space-between; background: #eef4ff; border: 1px dashed #9db8e6; border-radius: 10px; padding: .45rem .6rem; margin: .2rem 0 .4rem; font-size: .82rem; }
.ag-prop .ag-btn { flex-shrink: 0; }
/* v0.17.2: caseta de întrebare sus, răspunsurile dedesubt */
.ag-input { border-top: 0; border-bottom: 1px solid #e3e7ee; }
.ag-ex { display: flex; flex-direction: column; gap: .55rem; padding-bottom: .7rem; border-bottom: 1px dashed #d6dbe4; }
.ag-ex + .ag-ex, .ag-ex + .ag-msg { margin-top: .2rem; }
.ag-msg.bot:has(.ag-lead), .ag-ex .ag-msg.bot { max-width: 100%; }
/* v0.18.0: Informările mele */
.notif-list { display: flex; flex-direction: column; gap: .45rem; }
.notif { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid #e3e7ee; border-radius: 10px; padding: .65rem .9rem; }
.notif.new { background: #fff6e5; border-color: #f0d49a; }
.notif-t { flex: 1; }
/* v0.19.0: ghidul pas cu pas */
.ag-tour { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left; background: linear-gradient(135deg, #1f7a45, #2e9a5a); color: #fff; border: 0; border-radius: 12px; padding: .6rem .8rem; margin-bottom: .6rem; cursor: pointer; font: inherit; }
.ag-tour > span:first-child { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; flex-shrink: 0; }
.ag-tour b { display: block; } .ag-tour small { display: block; opacity: .9; font-size: .8rem; }
.ag-tour.alt { background: #e9f6ee; color: #1f5f3a; } .ag-tour.alt > span:first-child { background: #cfeedd; }
.tour-spot { position: fixed; z-index: 9994; border-radius: 10px; box-shadow: 0 0 0 4px #ffb703, 0 0 0 9999px rgba(12,24,48,.48); pointer-events: none; transition: all .2s ease; }
.tour-box { position: fixed; z-index: 9995; width: 360px; max-width: calc(100vw - 24px); background: #fff; color: #1d2433; border-radius: 14px; box-shadow: 0 16px 44px rgba(0,0,0,.3); padding: .8rem .95rem .85rem; font-size: .9rem; line-height: 1.45; }
.tour-box.tour-center { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); }
.tour-arrow { position: absolute; top: -9px; width: 18px; height: 18px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.tour-box.above .tour-arrow { top: auto; bottom: -9px; }
.tour-top { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; color: #6b7385; margin-bottom: .3rem; }
.tour-x { background: none; border: 0; font-size: 1.3rem; line-height: 1; cursor: pointer; color: #6b7385; }
.tour-t { display: block; font-size: 1rem; color: #16325c; margin-bottom: .2rem; }
.tour-box p { margin: .2rem 0 .5rem; }
.tour-ex { background: #fff8e6; border: 1px dashed #e0b44a; border-radius: 8px; padding: .4rem .55rem; font-size: .85rem; margin-bottom: .5rem; }
.tour-ex > span { font-weight: 700; color: #8a5a00; }
.tour-fill { display: inline-block; margin-top: .3rem; background: #fff; border: 1px solid #e0b44a; color: #8a5a00; border-radius: 6px; padding: .1rem .45rem; font: inherit; font-size: .78rem; cursor: pointer; }
.tour-miss { font-size: .8rem; color: #8a5a00; }
.tour-nav { display: flex; align-items: center; gap: .4rem; justify-content: space-between; flex-wrap: wrap; }
.tour-nav button { border: 1px solid #cfd8e8; background: #fff; color: #24508f; border-radius: 8px; padding: .32rem .7rem; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.tour-nav button:disabled { opacity: .4; cursor: default; }
.tour-nav .tour-next { background: #24508f; color: #fff; border-color: #24508f; margin-left: auto; }
.tour-hint { font-size: .78rem; color: #1f7a45; font-weight: 600; }
/* v0.26.1: butonul ghidului în capul paginii, ca un buton obișnuit */
.tour-launch { position: relative; display: inline-flex; gap: .5rem; align-self: flex-end; }
.tour-launch.tour-inline { display: flex; margin: 0 0 .9rem; }
.tour-lbtn { background: #1f7a45; color: #fff; border: 1px solid #1f7a45; border-radius: 10px; padding: .5rem .9rem; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.tour-lbtn:hover { background: #18663a; }
.tour-mbtn { display: inline-flex; align-items: center; background: #fff; color: #1f7a45; border: 1px solid #1f7a45; border-radius: 10px; padding: .5rem .9rem; font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tour-mbtn:hover { background: #eaf6ef; }
.tour-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 9980; background: #fff; border: 1px solid var(--line, #dde3ea); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: .35rem; min-width: 300px; }
.tour-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: .45rem .6rem; border-radius: 8px; font: inherit; cursor: pointer; color: inherit; }
.tour-menu button:hover { background: #eef4ff; }
@media print { .tour-spot, .tour-box, .tour-launch, .tour-mbtn { display: none !important; } }
/* v0.21.0: Lucrări comune */
.share-item { border: 1px solid #e3e7ee; border-left: 4px solid #3d7be0; border-radius: 10px; padding: .65rem .85rem; margin: .5rem 0; background: #f8faff; }
.share-title { font-weight: 700; margin: .2rem 0; }

/* v0.23.5: Volum (Număr) în două căsuțe */
.vol-pair { display: flex; align-items: center; gap: .35rem; }
.vol-pair input { flex: 1 1 0; min-width: 0; }
.vol-pair b { color: #5a6475; font-weight: 600; }

/* v0.24.3: „Nu m-a ajutat” sub răspunsul Agentului */
.ag-fb { margin-top:.6rem; text-align:right; } .ag-nohelp { border:0; background:none; color:#6b7686; font-size:.78rem; text-decoration:underline; cursor:pointer; padding:0; } .ag-fbdone { color:#2a7a3b; font-size:.78rem; }
/* v0.24.4: panoul Agentului rămâne lângă pagină când se urmează pașii */
@media (min-width: 1100px) { body.ag-docked { padding-right: 444px; } body.ag-docked .ag-panel { box-shadow: 0 10px 30px rgba(10,25,55,.22); } }
.ag-new, .ag-min { background: none; border: 0; color: #fff; font-size: 1.15rem; line-height: 1; cursor: pointer; opacity: .8; padding: 0 .15rem; }
.ag-new:hover, .ag-min:hover { opacity: 1; }
.ag-pillbar { position: fixed; right: 16px; bottom: 16px; z-index: 9990; display: flex; align-items: center; gap: .5rem; padding: .4rem .9rem .4rem .4rem; border: 0; border-radius: 999px; background: linear-gradient(135deg, #16325c, #24508f); color: #fff; font: inherit; font-weight: 600; box-shadow: 0 10px 28px rgba(10,25,55,.3); cursor: pointer; }
.ag-pillbar .ag-avatar { width: 30px; height: 30px; font-size: .85rem; }
.ag-pillbar[hidden] { display: none !important; }
.ag-f.ag-here { outline: 2px solid #e0a100; background: #fff8e6; border-radius: 10px; }
.ag-herelbl { font-size: .8rem; font-weight: 700; color: #9a6b00; }
.ag-seen { font-size: .74rem; color: #2f7a3d; margin-left: .45rem; }
.ag-seen::before { content: "✓ "; }
.ag-tip { margin: .6rem .8rem 0; padding: .5rem .7rem; background: #eef4ff; border: 1px solid #c9d8f2; border-radius: 10px; font-size: .82rem; }
@media print { .ag-pillbar { display: none !important; } body.ag-docked { padding-right: 0 !important; } }

/* v0.24.9: detaliile celeilalte raportări (prezentare la conferință / articol în volum) */
.work-pair .wp-item { margin-top:.5rem; padding:.45rem .6rem; background:#fff; border:1px solid #f0d49a; border-radius:8px; font-size:.86rem; }
.work-pair .wp-h { font-weight:700; margin-bottom:.15rem; } .work-pair .wp-l { color:#6b5a2a; } .work-pair .wp-item .btn { margin-top:.3rem; }
/* v0.24.11: profilul cercetătorului cu fotografie */
.prof-top { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: flex-start; margin-bottom: .6rem; }
.prof-photo { width: 190px; display: flex; flex-direction: column; gap: .4rem; }
.prof-photo img, .prof-ph-empty { width: 170px; height: 200px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #f3f6fa; }
.prof-ph-empty { display: grid; place-items: center; color: #8592a6; font-size: .85rem; }
.researcher-top { display: flex; gap: 1.4rem; align-items: flex-start; flex-wrap: wrap; }
.researcher-top .r-photo { width: 150px; height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.researcher-bio { margin: .7rem 0 0; line-height: 1.55; text-align: justify; }

/* v0.33.0: câmpul de corectat (din „De corectat”) */
.field-fix { outline: 3px solid #f59e0b; outline-offset: 4px; border-radius: 6px; background: #fffbeb; animation: fixpulse 1.6s ease-in-out 3; }
.field-fix > span:first-child::after { content: "  ← de completat"; color: #b45309; font-weight: 700; }
.field-fix.field-fixed { outline-color: #16a34a; background: #f0fdf4; animation: none; }
.field-fix.field-fixed > span:first-child::after { content: "  ✓"; color: #15803d; }
@keyframes fixpulse { 0%,100% { outline-color: #f59e0b; } 50% { outline-color: #fcd34d; } }
/* v0.46.0: clasamentul colegilor */
.sortlink { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.sortlink.on { color: var(--navy-800); border-bottom: 0; }
tr.row-top td { background: #fffbea; }
@media print { .sortlink { border: 0; } }
/* v0.46.1: Indicatori cercetare: placa adaugă, cifra deschide cele încărcate */
.ind-mod { gap: .35rem; }
.ind-mod .ind-add { display: flex; flex-direction: column; gap: .5rem; color: inherit; text-decoration: none; width: 100%; }
.ind-mod .ind-add:hover { text-decoration: none; }
.ind-mod .ind-see { margin-left: 0; padding: .1rem .55rem; font-size: .76rem; text-decoration: none; }
.ind-mod .ind-see:hover { background: var(--navy-600); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; gap: .35rem; align-items: center; padding: .25rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: #f6f9fc; color: var(--ink); text-decoration: none; font-size: .86rem; }
.chip:hover { border-color: #a9c6ea; text-decoration: none; }
.chip b { color: var(--navy-800); }
[id^="ind-"] { scroll-margin-top: 80px; }
/* v0.57.5: Revistă / Conferință: ISSN și eISSN ascunse la conferință până le cereți */
form label[hidden], .grid3 > [hidden] { display: none !important; }
.issn-tog { display: flex; align-items: flex-end; }
.issn-tog .btn { white-space: normal; text-align: left; }
/* v0.58.0: pagina de bun venit (adresa principală, fără cont) */
.welcome-hero { min-height: max(400px, 46vh); }
.welcome-kicker { font-size: 1.35rem; letter-spacing: .14em; text-transform: uppercase; color: #a9d4ff !important; margin: 0 0 .2rem !important; }
body.public .portal-hero h1.welcome-acr { font-size: 3.4rem; letter-spacing: .08em; margin: 0 0 .3rem; line-height: 1.05; }
.welcome-name { font-size: 1.85rem; line-height: 1.35; color: #fff !important; margin: 0 0 .9rem !important; }
.welcome-name b { color: var(--cyan); font-size: 1.15em; }
.welcome-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.welcome-door { display: flex; gap: 1.1rem; padding: 1.4rem 1.5rem; border-radius: 16px; color: #fff; text-decoration: none; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); border: 1px solid rgba(108,196,255,.32); transition: border-color .15s, box-shadow .15s, transform .15s; }
.welcome-door:hover { text-decoration: none; border-color: rgba(108,196,255,.7); box-shadow: 0 0 26px rgba(59,140,255,.35); transform: translateY(-2px); }
.welcome-door .wd-ico { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; font-size: 1.7rem; flex-shrink: 0; background: rgba(59,140,255,.18); border: 1px solid rgba(108,196,255,.35); }
.welcome-door .wd-body { display: flex; flex-direction: column; gap: .35rem; }
.welcome-door .wd-title { font-weight: 700; font-size: 1.25rem; }
.welcome-door .wd-text { color: #c6d8ee; line-height: 1.45; }
.welcome-door .wd-go { margin-top: .3rem; font-weight: 700; color: var(--cyan); }
.welcome-door.wd-login { background: linear-gradient(160deg, rgba(59,140,255,.30), rgba(59,140,255,.08)); }
.welcome-more { text-align: center; margin: 1.2rem 0 0; }
.welcome-more a { color: #a9c4e4; }
@media (max-width: 760px) { .welcome-doors { grid-template-columns: 1fr; } body.public .portal-hero h1.welcome-acr { font-size: 2.5rem; } .welcome-name { font-size: 1.3rem; } .welcome-kicker { font-size: 1.1rem; } }
/* v0.59.3: pe pagina de bun venit, numele platformei și „Bine ați venit la” mai mari (mai specific decât .portal-hero-photo p) */
body.public-wide .portal-hero .welcome-kicker { font-size: 1.4rem; }
body.public-wide .portal-hero .welcome-name { font-size: 1.95rem; line-height: 1.35; max-width: none; }
@media (max-width: 760px) { body.public-wide .portal-hero .welcome-kicker { font-size: 1.1rem; } body.public-wide .portal-hero .welcome-name { font-size: 1.3rem; } }

/* v0.61.5: cererea de afiliere ca formularul oficial F 353. 2012.Ed.4 (Times New Roman 12, fără antet cu sigle) */
.f353-info { display: grid; gap: .3rem; }
.f353 { background: #fff; color: #000; font-family: "Times New Roman", "Liberation Serif", Tinos, serif; font-size: 12pt; line-height: 1.5; max-width: 170mm; margin: 0 auto; padding: 18mm 0 10mm; }
.f353 p { margin: 0; }
.f353 .f353-univ { text-transform: none; }
.f353 .f353-title { text-align: center; font-weight: 700; margin: 34mm 0 16mm; letter-spacing: .05em; }
.f353 .f353-text { text-align: justify; text-indent: 12.5mm; }
.f353 .f353-sign { display: flex; justify-content: space-between; margin-top: 27mm; padding: 0 33mm 0 12.5mm; }
.f353 .f353-sign > div { display: flex; flex-direction: column; gap: .3rem; }
.f353 .f353-date { margin-left: -4mm; }
.f353 .f353-to { text-align: center; margin-top: 52mm; }
@media print { .f353 { max-width: none; padding: 0; } .f353 .f353-to { position: fixed; left: 0; right: 0; bottom: 47mm; margin: 0; } }
/* v0.70.0: Informările mele: „De făcut” / „Informări”, filtrele, contorul */
.nt-tabs { margin-bottom: .4rem; }
.nt-tabs a { display: inline-flex; gap: .4rem; align-items: center; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; }
.nt-tabs a.on { background: var(--navy-800, #13325b); border-color: var(--navy-800, #13325b); color: #fff; }
.nt-tabs a b { background: rgba(0,0,0,.08); border-radius: 999px; padding: 0 .5rem; }
.nt-tabs a.on b { background: rgba(255,255,255,.22); }
.nt-explain { margin: 0 0 .7rem; }
.nt-filters { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; margin-bottom: .7rem; }
.chip.on { background: #e3eefb; border-color: #8fb3e0; font-weight: 600; }
.nt-period { display: flex; gap: .6rem; align-items: center; }
.nt-cnt { background: #e3eefb; color: #13325b; font-weight: 700; }
.notif.done { opacity: .65; }
.notif.done .nt-text { text-decoration: line-through; }
.nt-pager { display: flex; gap: .8rem; align-items: center; justify-content: center; margin: .8rem 0; }
.nt-period select { width: auto; }
.nt-period label { display: inline-flex; gap: .3rem; align-items: center; white-space: nowrap; }
/* v0.70.6: câmpurile obligatorii necompletate */
.field-missing { outline: 2px solid var(--err, #dc2626); outline-offset: 4px; border-radius: 6px; background: #fef2f2; }
.field-missing > span:first-child { color: var(--err, #dc2626); }
.field-missing > span:first-child::after { content: "  ← obligatoriu"; color: var(--err, #dc2626); font-weight: 700; }
.field-missing input, .field-missing select, .field-missing textarea { border-color: var(--err, #dc2626); }
.req-box ul { margin: .35rem 0 0 1.1rem; }
.req-box a { color: inherit; text-decoration: underline; }
.a-edit-box .unk-row input { min-width: 9rem; }
@media print { .req-box { display: none; } }
/* v0.71.0: nota metodologică de la sfârșitul rapoartelor */
.method-note { margin: 1.4rem 0 .5rem; padding: .8rem 1rem; border-top: 2px solid var(--line, #d0d7e2); font-size: .85rem; color: #374151; background: #f8fafc; border-radius: 0 0 8px 8px; }
.method-note h3 { font-size: .95rem; margin: 0 0 .35rem; }
.method-note ul { margin: 0 0 .3rem 1.1rem; padding: 0; }
.method-note li { margin-bottom: .25rem; text-align: justify; }
@media print { .method-note { background: none; break-inside: avoid; font-size: 9.5pt; } }
/* v0.71.1: căutarea în pagină */
.pgsearch-btn { display: inline-flex; align-items: center; gap: .35rem; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .3rem .8rem; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.pgsearch-btn:hover { background: rgba(255,255,255,.22); }
.public-tools .pgsearch-btn { background: rgba(255,255,255,.14); }
.pgsearch { position: fixed; top: 70px; right: 18px; z-index: 950; display: none; align-items: center; gap: .35rem; background: #fff; border: 1px solid #c7d2e3; border-radius: 12px; box-shadow: 0 10px 30px rgba(15,35,70,.22); padding: .4rem .5rem; width: min(460px, calc(100vw - 24px)); }
.pgsearch.on { display: flex; flex-direction: column; align-items: stretch; }
/* v0.92.0: cele două file (în pagină / în toată platforma) și sugestiile căutării în platformă */
.pgsearch .pgs-row { display: flex; align-items: center; gap: .35rem; }
.pgsearch .pgs-tabs { display: flex; gap: .3rem; margin-bottom: .35rem; }
.pgsearch .pgs-tabs .pgs-tab { width: auto; height: auto; padding: .25rem .65rem; font-size: .8rem; font-weight: 700; border-radius: 999px; color: #334155; }
.pgsearch .pgs-tabs .pgs-tab.on { background: #1e3a8a; border-color: #1e3a8a; color: #fff; }
.pgsearch.all .pgs-prev, .pgsearch.all .pgs-next { display: none; }
.pgsearch.on { width: min(560px, calc(100vw - 24px)); }
.gs-drop { margin-top: .4rem; max-height: min(62vh, 560px); overflow: auto; border-top: 1px solid #e2e8f0; padding-top: .3rem; }
.gs-g { margin-bottom: .35rem; }
.gs-gl { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #64748b; padding: .25rem .4rem; }
.gs-gl span { font-weight: 600; color: #94a3b8; }
.gs-it { display: block; padding: .35rem .5rem; border-radius: 8px; color: #0f172a; text-decoration: none; }
.gs-it b { display: block; font-weight: 600; font-size: .9rem; line-height: 1.25; }
.gs-it span { display: block; font-size: .78rem; color: #64748b; line-height: 1.25; }
.gs-it:hover, .gs-it.on { background: #eef2ff; }
.gs-more { display: inline-block; font-size: .78rem; padding: .1rem .5rem; }
.gs-all { display: block; text-align: center; font-weight: 700; padding: .45rem; border-top: 1px solid #e2e8f0; margin-top: .2rem; }
.gs-empty { font-size: .85rem; color: #64748b; padding: .4rem .5rem; }
.pgsearch input { flex: 1; min-width: 0; border: 1px solid #d6dde8; border-radius: 8px; padding: .4rem .55rem; font: inherit; }
.pgsearch.none input { border-color: #f59e0b; background: #fffbeb; }
.pgsearch button { border: 1px solid #d6dde8; background: #f8fafc; border-radius: 8px; width: 2rem; height: 2rem; cursor: pointer; font-size: 1rem; line-height: 1; }
.pgsearch button:hover { background: #eef2f7; }
.pgsearch .pgs-n { white-space: nowrap; color: #475569; min-width: 4.2rem; text-align: right; }
mark.pg-hit { background: #fde68a; color: inherit; padding: 0 1px; border-radius: 2px; }
mark.pg-hit.pg-cur { background: #f59e0b; color: #111; box-shadow: 0 0 0 2px #f59e0b; }
tr.pgs-hide { display: none; }
@media (max-width: 700px) { .pgsearch-btn span { display: none; } .pgsearch { top: 60px; right: 12px; } }
@media print { .pgsearch, .pgsearch-btn { display: none !important; } mark.pg-hit { background: none; box-shadow: none; } }
/* v0.71.3: Rezultatele mele: cardul unui tip cu rezultate duce la lista lor; „+ Adaugă” separat */
.module-wrap { position: relative; display: flex; }
.module-wrap > .module { flex: 1; }
.module .m-see { font-size: .8rem; color: var(--navy-700, #1f4e85); font-weight: 600; }
.module-has { border-color: #a9c6ea; }
.m-add { position: absolute; top: .55rem; right: .55rem; display: inline-flex; align-items: center; gap: .2rem; padding: .2rem .5rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .76rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.m-add:hover { background: #eef4fb; border-color: #a9c6ea; text-decoration: none; }
.card.sec { scroll-margin-top: 80px; }
.card.sec:target { box-shadow: 0 0 0 3px #a9c6ea, var(--shadow); animation: secflash 1.6s ease-out; }
@keyframes secflash { from { background: #eef4fb; } to { background: var(--surface); } }
/* v0.71.7: câmpurile proiectului care țin de implementare, inactive la proiectul doar depus */
label.won-only .won-note { display: none; }
label.won-only.won-off { opacity: .55; }
label.won-only.won-off .won-note { display: block; color: #b54708; }
label.won-only.won-off input, label.won-only.won-off select { background: #f2f4f7; cursor: not-allowed; }

/* v0.75.6: grupurile pliabile din meniul Administrare și pagina instrumentelor pe categorii */
.navgrp details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .4rem; padding: .38rem .8rem .38rem 3.05rem; color: #dbe6f4; font-size: .89rem; font-weight: 600; border-radius: 8px; position: relative; }
.navgrp details > summary::-webkit-details-marker { display: none; }
.navgrp details > summary::before { content: '›'; position: absolute; left: 2.15rem; transition: transform .15s; color: #8fa6c4; }
.navgrp details[open] > summary::before { transform: rotate(90deg); }
.navgrp details > summary:hover { background: rgba(255,255,255,.05); color: #fff; }
.navgrp-n { margin-left: auto; font-size: .72rem; font-weight: 700; color: #8fa6c4; background: rgba(255,255,255,.07); border-radius: 999px; padding: 0 .45rem; }
.navgrp ul { list-style: none; margin: 0; padding: 0 0 .25rem; }
.navgrp ul a { padding-left: 3.7rem; font-size: .86rem; }
.navgrp ul a.active::before { left: 2.85rem; }
.at-search { display: flex; gap: .6rem; align-items: center; margin: .2rem 0 1rem; }
.at-search input { flex: 1; max-width: 640px; font-size: 1rem; padding: .7rem .95rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.at-cat { margin: 1.3rem 0 .4rem; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.at-cat h2 { margin: 0; font-size: 1.08rem; }
.at-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: .8rem; }
.at-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .45rem; padding: 1rem .8rem .9rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .12s, box-shadow .12s, border-color .12s; }
.at-card:hover { text-decoration: none; transform: translateY(-2px); border-color: #a9c6ea; box-shadow: 0 8px 22px rgba(31,78,133,.15); }
.at-ini { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .02em; box-shadow: 0 4px 12px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.25); }
.at-t { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.at-d { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.at-star { position: absolute; top: .35rem; right: .4rem; border: 0; background: none; cursor: pointer; font-size: 1.05rem; color: #c3ccd8; padding: .2rem; line-height: 1; }
.at-star.on { color: #f5a524; }
.at-star:hover { color: #f5a524; }
.at-n { position: absolute; top: .45rem; left: .5rem; }
.at-empty { display: none; }
/* v0.76.0: modulele de analiză (Rețeaua de colaborare și următoarele) */
.ins-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1000px) { .ins-2 { grid-template-columns: 1fr; } }
/* v0.76.1: tabelele cu căutare și ordonare (data-tf) */
.tf-bar { display: flex; gap: .7rem; align-items: center; margin: .3rem 0 .5rem; }
.tf-bar input { flex: 0 1 380px; padding: .45rem .7rem; border-radius: 9px; border: 1px solid var(--line); }
th.tf-asc::after { content: ' ▲'; font-size: .7em; } th.tf-desc::after { content: ' ▼'; font-size: .7em; }
.net-box { width: 100%; }
.net-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-top: .4rem; }
.net-legend i { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; margin-right: .3rem; vertical-align: -1px; }
.net-legend label { display: inline-flex; align-items: center; gap: .4rem; margin: 0; font-weight: 400; }
.net-legend label input { width: 4.5em; padding: .2rem .4rem; }
/* v0.76.3: lucrările comune cu un coautor (clic pe cerc sau pe numărul din tabel) */
.net-panel { margin-top: .8rem; padding: .8rem 1rem; border: 1px solid #c7d7ee; background: #f5f9ff; border-radius: 12px; }
.net-panel-head { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: .4rem; }
.net-works { margin: .3rem 0 0 1.2rem; padding: 0; } .net-works li { margin: .3rem 0; line-height: 1.35; }
button.linkish { background: none; border: 0; padding: 0; color: var(--navy-600, #1f4e85); text-decoration: underline; cursor: pointer; font: inherit; }
.navgrp-n.navgrp-todo { color: #fff; background: #e5484d; }
/* v0.79.4: în meniu, doar insigna roșie = lucru de făcut; insigna grupului duce la pagina cu lucrul */
.navitems .navgrp summary a.navgrp-todo { display: inline-block; padding: 0 .4rem; min-width: 1.25rem; text-align: center; line-height: 1.35; color: #fff; border-radius: 999px; }
.navitems .navgrp summary a.navgrp-todo:hover { background: #ff6369; text-decoration: none; }
.nav-todo { display: inline-block; margin-left: .35rem; min-width: 1.25rem; text-align: center; font-size: .72rem; font-weight: 700; line-height: 1.35; color: #fff; background: #e5484d; border-radius: 999px; padding: 0 .4rem; vertical-align: 1px; }
.navsec-head .nav-todo { margin-left: auto; margin-right: .2rem; }
.navsec-head .nav-todo + .chev { margin-left: 0; }

/* v0.81.1: ochiul de lângă parolă și avertizarea Caps Lock */
.pw-wrap { position: relative; display: block; }
.pw-wrap > input { width: 100%; padding-right: 2.6rem; box-sizing: border-box; }
.pw-eye { position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: .3rem; cursor: pointer; color: #5b6b7f; line-height: 0; border-radius: 6px; }
.pw-eye:hover, .pw-eye:focus-visible { color: #1f4e85; background: rgba(31,78,133,.08); outline: none; }
.pw-eye[aria-pressed="true"] { color: #1f4e85; }
.pw-caps { display: block; margin-top: .3rem; font-size: .8rem; color: #8a5a00; }
.pw-caps[hidden] { display: none; }

/* v0.82.0: butonul „Carte” (raportul detaliat, regula book_reports) */
.btn-book { background: #f3f0ff; border-color: #c9b8ff; color: #4b2a9a; }
.btn-book:hover { background: #e9e2ff; color: #3a1d80; }
/* v0.85.0: bife pe un rând (axele, câmpurile cu mai multe alegeri, vizibilitatea în căutare, categoriile câmpurilor) */
label.chk-inline { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: .35rem; margin: .15rem 1.1rem .15rem 0; font-weight: 400; }
label.chk-inline input { width: auto; margin: 0; }

/* v0.86.1: modul întunecat (cererea beneficiarului: „pentru cei care nu suportă lumina, dar cu scris care să se vadă”).
   Bara de sus și meniul sunt deja închise la culoare; conținutul paginii se întoarce (alb → aproape negru, scrisul închis → deschis),
   iar pozele și cartușul albastru se întorc înapoi, ca să rămână cum sunt. Doar pe ecran: la tipărire și în PDF, pagina e mereu albă. */
@media screen {
  html[data-theme="dark"] body { background: #17191d; }
  html[data-theme="dark"] .container,
  html[data-theme="dark"] .ag-panel, html[data-theme="dark"] .ag-pillbar, html[data-theme="dark"] .al-toast, html[data-theme="dark"] .al-panel,
  html[data-theme="dark"] .tour-box, html[data-theme="dark"] .pgsearch { filter: invert(.9) hue-rotate(180deg); }
  html[data-theme="dark"] .container img, html[data-theme="dark"] .container video, html[data-theme="dark"] .container picture,
  html[data-theme="dark"] .container .hero, html[data-theme="dark"] .container .keep-colors,
  html[data-theme="dark"] .ag-panel img, html[data-theme="dark"] .tour-box img { filter: invert(1) hue-rotate(180deg); }
  html[data-theme="dark"] .container .hero img { filter: none; }
  html[data-theme="dark"] .card, html[data-theme="dark"] .module { box-shadow: none; }
}
.theme-btn { background: transparent; border: 1px solid rgba(255,255,255,.28); color: #fff; border-radius: 8px; height: 34px; min-width: 34px; padding: 0 .55rem; cursor: pointer; font-size: 1rem; line-height: 1; }
.theme-btn:hover { background: rgba(255,255,255,.12); }

/* v0.91.3: câmpurile fișei proiectului care apar după etapă (în grila formularului) */
.stage-wrap { display: contents; }
.stage-wrap[hidden], .card[data-stage-min][hidden] { display: none !important; }

/* v0.94.0: indicatorii bibliometrici (pagina publică a cercetătorului și a unităților) */
.biblio-t { width: 100%; border-collapse: collapse; table-layout: fixed; }
.biblio-t th { background: var(--navy-900); color: #fff; font-weight: 700; text-align: center; padding: .85rem .5rem; border: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.biblio-t th { white-space: normal; overflow-wrap: normal; line-height: 1.25; vertical-align: middle; }   /* v0.101.0: antetele lungi trec pe două rânduri, nu se suprapun */
.biblio-sub { display: block; font-size: .76rem; font-weight: 600; opacity: .8; margin-top: .15rem; }
.biblio-t td { text-align: center; font-weight: 700; font-size: 1.25rem; padding: .9rem .5rem; border: 1px solid var(--line, #e3e8ef); background: #f7f9fc; color: var(--navy-900); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .biblio-t td { background: transparent; color: inherit; } }
:root[data-theme="dark"] .biblio-t td { background: transparent; color: inherit; }
@media (max-width: 640px) { .biblio-t { table-layout: auto; min-width: 560px; } .biblio-t th { font-size: .78rem; padding: .5rem .25rem; } .biblio-t td { font-size: 1rem; } }

/* v0.95.0: documentele platformei (fișa de activitate) și verificarea lor */
.doc-kv { width: 100%; border-collapse: collapse; margin: .4rem 0 .8rem; }
.doc-kv th { text-align: left; width: 34%; font-weight: 600; padding: .25rem .5rem .25rem 0; vertical-align: top; color: var(--muted, #5b6b80); }
.doc-kv td { padding: .25rem 0; }
.doc-tbl { width: 100%; border-collapse: collapse; margin: .3rem 0 .6rem; font-size: .92em; }
.doc-tbl th, .doc-tbl td { border: 1px solid #c9d3e0; padding: .25rem .45rem; text-align: left; }
.doc-tbl .num { text-align: right; }
.doc-activity h3 { font-size: 11pt; margin: .9rem 0 .25rem; }
.doc-list { margin: .2rem 0 .5rem 1.2rem; padding: 0; }
.doc-score { font-size: 1.25em; }
.doc-bar { display: inline-block; width: 160px; height: 9px; background: #e3e9f1; border-radius: 5px; vertical-align: middle; overflow: hidden; margin-left: .5rem; }
.doc-bar span { display: block; height: 100%; background: #1f7a4d; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.doc-verify { display: flex; gap: 1rem; align-items: center; margin-top: 1.2rem; padding-top: .7rem; border-top: 1px solid #c9d3e0; }
.doc-qr { width: 112px; height: 112px; flex: 0 0 112px; background: #fff; }
.doc-qr svg { width: 100%; height: 100%; display: block; }
.doc-code { letter-spacing: .06em; font-family: ui-monospace, Menlo, Consolas, monospace; }
.verify-card { max-width: 760px; margin: 0 auto; }
.verify-card .toolbar input[type=text] { min-width: 16rem; text-transform: uppercase; letter-spacing: .05em; }
@media print { .doc-activity h3 { break-after: avoid; } .doc-verify { break-inside: avoid; } }
/* v0.95.3: documentul anulat (pe ecran și la tipărire) */
.doc-annulled { border: 2px solid #b42318; color: #b42318; background: #fef3f2; padding: .6rem .9rem; border-radius: 8px; margin: .6rem 0 1rem; }
@media print { .doc-annulled { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* v0.98.0: formularul pe pași, câmpurile care lipsesc din fișa de prezentare */
.gap-mark{color:#b42318}
label:has(> .gap-mark) :is(input,textarea,select){border:2px solid #b42318}
.card:has(h2 .gap-mark) input[name=research_fields]{border:2px solid #b42318}

/* v0.99.2 (beneficiarul, 15.11.2026: harta campusului UVT, cu denumirile clădirilor, „în fundal, nu jos”): fundalul paginii de autentificare și al primei
   pagini. Imaginea stă sub culoarea platformei, ca formularul și textul să rămână ușor de citit. */
body.public-campus { background: linear-gradient(180deg, rgba(8,22,44,.74), rgba(12,34,66,.82)), url("campus/harta-campus-uvt.webp") center / cover no-repeat fixed, var(--navy-900, #0e2340); }



/* v0.101.0: vizualizarea tip calendar (luna, felurile colorate, fotografiile oamenilor) */
.cal { margin-bottom: 1.2rem; }
.cal-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; }
.cal-title { margin: 0 .3rem; font-size: 1.5rem; font-weight: 800; min-width: 11ch; text-align: center; }
.cal-sp { flex: 1; }
.cal-months { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; }
.cal-months a { font-size: .8rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
.cal-months a b { color: var(--brand, #1f4e85); }
.cal-months a.on { background: #1f4e85; color: #fff; border-color: #1f4e85; }
.cal-months a.on b { color: #fff; }
.cal-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1rem; align-items: start; }
.cal-side { display: flex; flex-direction: column; gap: .8rem; }
.cal-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; box-shadow: var(--shadow); }
.cal-box-t { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #1f4e85; margin-bottom: .5rem; }
.cal-leg { display: flex; align-items: center; gap: .5rem; font-size: .88rem; padding: .18rem 0; }
.cal-dot { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.cal-person { display: flex; gap: .55rem; align-items: center; padding: .35rem 0; border-top: 1px solid var(--line-soft); font-size: .86rem; line-height: 1.25; }
.cal-person:first-of-type { border-top: 0; }
.cal-av { border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; box-sizing: border-box; }
.cal-ini { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.cal-grid-wrap { position: relative; }
.cal-empty { margin: 0 0 .6rem; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed; margin: -6px; }
.cal-grid th { background: #13294b; color: #fff; font-size: .8rem; font-weight: 800; padding: .45rem; border-radius: 999px; text-align: center; }
.cal-grid td { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; vertical-align: top; height: 108px; padding: .35rem; }
.cal-grid td.cal-out { background: transparent; border: 0; }
.cal-grid td.cal-today { border: 2px solid #1f4e85; }
.cal-d { font-weight: 800; font-size: .95rem; color: var(--ink); margin-bottom: .25rem; }
.cal-dw { display: none; font-weight: 700; color: var(--muted); font-size: .8rem; }
.cal-card { display: flex; flex-direction: column; gap: .15rem; background: var(--c); color: #fff; border-radius: 8px; padding: .35rem .45rem; margin-bottom: .3rem; text-decoration: none; font-size: .78rem; line-height: 1.25; }
.cal-card:hover { filter: brightness(1.08); color: #fff; }
.cal-card.cal-cont { opacity: .78; }
.cal-avs { display: flex; align-items: center; }
.cal-avs .cal-av + .cal-av { margin-left: -7px; }
.cal-more { font-size: .72rem; font-weight: 800; margin-left: .25rem; }
.cal-time { font-weight: 800; font-size: .72rem; opacity: .95; }
.cal-t { font-weight: 700; overflow-wrap: anywhere; }
.cal-sub { font-size: .72rem; opacity: .92; }
.cal-flag { display: inline-block; background: rgba(255,255,255,.25); border-radius: 999px; padding: 0 .4rem; font-weight: 800; }
.cal-plus { font-size: .76rem; font-weight: 700; }
@media (max-width: 900px) {
  .cal-body { grid-template-columns: 1fr; }
  .cal-grid, .cal-grid tbody, .cal-grid tr, .cal-grid td { display: block; width: auto; margin: 0; }
  .cal-grid thead, .cal-grid td.cal-out, .cal-grid td:not(.cal-has) { display: none; }
  .cal-grid td { height: auto; margin-bottom: .5rem; }
  .cal-dw { display: inline; }
}
@media print { .cal-body { grid-template-columns: 1fr; } .cal-side { display: none; } .cal-grid td { height: auto; } }
html[data-theme="dark"] .cal-grid td { background: #1f2329; border-color: #2d333b; }
html[data-theme="dark"] .cal-av { border-color: #1f2329; }
/* v0.101.7: formularul unei activități deschis chiar sub ea, în listă */
.ind-edit-row > td{background:#f3f7fd;padding:.75rem;border-left:4px solid #2e6bd3}
.ind-edit-row .card{box-shadow:none;margin-bottom:.5rem}
.ind-edit-row .ind-del,.ind-del{margin-top:.75rem}
.ind-undo{border-left:5px solid #f79009}
[data-theme="dark"] .ind-edit-row > td{background:#16233a}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .ind-edit-row > td{background:#16233a}}
.ind-link{white-space:nowrap;font-weight:600}
/* v0.101.10: datele rezultatului pe pagina finanțării */
.fund-about{border-left:5px solid #2e6bd3}
.fund-dl{display:grid;grid-template-columns:minmax(10rem,16rem) 1fr;gap:.35rem 1rem;margin:0}
.fund-dl dt{color:var(--muted,#667085);font-size:.9rem}
.fund-dl dd{margin:0;overflow-wrap:anywhere}
@media (max-width:640px){.fund-dl{grid-template-columns:1fr}.fund-dl dd{margin-bottom:.4rem}}
.authors-info .unk-row input.u-inst{width:min(28rem,100%)}
/* v0.101.13: autorul care a plătit */
.fund-payers{display:flex;flex-wrap:wrap;gap:.25rem 1rem;align-items:center}
.fund-payers .check{margin:0;white-space:nowrap}
.ind-props{border-left:5px solid #12b76a}
