/* Completări Project Radar peste stilul Lead Radar (radar.css) */
:root {
  --accent: #2557d6;
  --accent-soft: #e8eefc;
  --e-nou: #2557d6;
  --e-deanalizat: #7a8699;
  --e-interesant: #d39a00;
  --e-contactat: #13998e;
  --e-oferta: #8a4ce0;
  --e-depus: #2f6fe4;
  --e-castigat: #1a8a4c;
  --e-fara_interes: #b5bcc7;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --accent: #6d93ff; --accent-soft: #18233d; }
}
:root[data-theme="dark"] { --accent: #6d93ff; --accent-soft: #18233d; }

.grad { background: linear-gradient(90deg, #c9d7fb, #2557d6, #0f2f86); }
.scanare { display: flex; align-items: center; gap: 8px; margin: 0 14px 10px; padding: 8px 10px; border-radius: 10px; background: var(--soft); font-size: 12.5px; color: var(--muted); }
.scanare > span { flex: 1; min-width: 0; }
.scanare b { color: var(--text); }
.scanare .progres { height: 4px; border-radius: 2px; background: var(--gri-soft); margin-top: 4px; overflow: hidden; }
.scanare .progres i { display: block; height: 100%; background: var(--accent); transition: width .4s; }
.alte-surse { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 14px 8px; font-size: 12.5px; color: var(--muted); }
.alte-surse a { color: var(--accent); font-weight: 600; text-decoration: none; }
.alte-surse a:hover { text-decoration: underline; }
.lista .den { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lista .val { color: var(--text); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lista .urgent { color: var(--bad); font-weight: 700; }
.lista .eval { color: var(--muted); font-style: italic; }
.lista .pnrr, .et.pnrr { display: inline-block; background: #003399; color: #ffcc00; font-weight: 700; font-size: 10.5px; letter-spacing: .04em; padding: 1px 5px; border-radius: 4px; vertical-align: 1px; }
.lista .ai { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 11px; padding: 1px 6px; border-radius: 6px; }
.contur-rosu { border: 2px solid var(--bad); }
.contur-mov { border: 2px solid #7b3fe4; }
.surse { margin: 0 14px 10px; display: flex; }
.surse button { flex: 1; }
.lista .proiect { display: inline-block; background: #efe7fd; color: #6a2fd4; font-weight: 700; font-size: 10.5px; padding: 1px 5px; border-radius: 4px; vertical-align: 1px; }
.progres-bara { height: 6px; border-radius: 3px; background: var(--gri-soft); overflow: hidden; }
.progres-bara i { display: block; height: 100%; background: #7b3fe4; }
.contur-verde { border: 2px solid var(--ok); }
.et.urgent { background: #fde8e8; color: var(--bad); }
.descriere { white-space: pre-wrap; word-break: break-word; font-size: 13.5px; background: var(--soft); border-radius: 10px; padding: 10px; max-height: 260px; overflow: auto; }
.card-termen { display: grid; gap: 8px; }
.card-termen .mare-txt { font: 700 22px/1.1 var(--font-titlu); font-variant-numeric: tabular-nums; }
.card-termen .rapid { margin-top: 0; flex-wrap: wrap; }
.card-termen .btn { flex: 1; }

.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
.docs li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: var(--soft); }
.docs li a { color: var(--accent); text-decoration: none; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docs li span.n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.docs li .sub { white-space: nowrap; }
.docs li button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 14px; }
.drop { margin-top: 8px; border: 2px dashed var(--line); border-radius: 12px; padding: 14px; text-align: center; font-size: 13px; color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.peste { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.drop b { color: var(--accent); }

.ai-card { border: 1px solid var(--accent); }
.ai-card h3 { margin: 0 0 6px; font: 700 15px var(--font-titlu); display: flex; align-items: center; gap: 8px; }
.ai-card .verdict { font-weight: 600; margin: 4px 0 8px; }
.ai-sectiune { margin-top: 10px; }
.ai-sectiune h4 { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ai-sectiune ul { margin: 0; padding-left: 18px; font-size: 13.5px; display: grid; gap: 3px; }
.ai-sectiune table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ai-sectiune td { padding: 3px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ai-sectiune td:last-child { white-space: nowrap; font-weight: 600; text-align: right; }
.ai-lucru { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.ai-lucru::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: roteste .8s linear infinite; flex: none; }
@keyframes roteste { to { transform: rotate(360deg); } }
.colaborare { margin: 0; padding-left: 18px; font-size: 13.5px; display: grid; gap: 4px; }

.profil-panou textarea { min-height: 220px; }
.profil-panou .sfat { font-size: 12.5px; color: var(--muted); background: var(--soft); border-radius: 10px; padding: 8px 10px; margin: 8px 0; }
.btn-profil { white-space: nowrap; }
.triere-rand { display: flex; gap: 8px; align-items: center; margin: 0 14px 8px; }
.triere-rand .btn { flex: 1; }
.triere-rand .sub { font-size: 12px; }
