/* Holo 2.0 — platforma avocaților (AVOREP). Design neutru, după Sedis (D5).
   Tokenii de culoare, raze, umbre și fonturi sunt copiați din
   Proiecte IT/Diverse/non Bono/Sediu.ro/css/style.css (:root, 26.09.2026). Fără nimic Bono. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@700;800&display=swap');
:root {
  --c-white: #FFFFFF; --c-surface: #F3F6FA; --c-surface-2: #E9EEF5;
  --c-ink: #0A1F38; --c-text: #1F2D44; --c-fog: #5B6777; --c-mist: #8B95A3;
  --c-rule: #DDE3EC; --c-rule-strong: #C9D2DE; --c-rule-soft: #EAEFF5;
  --c-gold: #9A6E1F; --c-gold-deep: #7E5915; --c-gold-soft: #FBF5E8; --c-navy-deep: #061527;
  --c-focus: rgba(154,110,31,0.35);
  --f-display: 'Manrope','Inter',system-ui,sans-serif;
  --c-success: #15803D; --c-error: #B91C1C;
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px;
  --sh-card: 0 1px 2px rgba(0,0,0,0.04);
  --sh-pop: 0 8px 30px rgba(0,0,0,0.12),0 1px 3px rgba(0,0,0,0.06);
  /* tinte locale pentru stări, derivate din culorile Sedis de mai sus */
  --c-success-bg: #EAF6EE; --c-error-bg: #FBECEC; --c-warn: #9A6E1F; --c-warn-bg: #FBF5E8; --c-info-bg: #EAF0F8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; font-feature-settings: 'cv11','ss01','ss03','tnum'; background: var(--c-surface); color: var(--c-ink); line-height: 1.5; font-size: 14px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

/* antet */
.h-top { background: var(--c-white); border-bottom: 1px solid var(--c-rule); position: sticky; top: 0; z-index: 20; }
.h-top-in { max-width: 1320px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 28px; }
.h-logo { font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.h-logo span { color: var(--c-gold); }
.h-nav { display: flex; gap: 4px; flex: 1; }
.h-nav a { text-decoration: none; padding: 8px 12px; border-radius: var(--r-md); color: var(--c-fog); font-weight: 500; white-space: nowrap; }
.h-nav a:hover { background: var(--c-surface); color: var(--c-ink); }
.h-nav a.on { background: var(--c-surface-2); color: var(--c-ink); }
.h-nav .n { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: var(--c-ink); color: #fff; font-size: 11px; text-align: center; line-height: 18px; }
.h-who { display: flex; align-items: center; gap: 10px; color: var(--c-fog); font-size: 13px; }
.h-main { max-width: 1320px; margin: 0 auto; padding: 28px 24px 64px; }

/* tipografie */
h1.h-h1 { font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; }
h2.h-h2 { font-family: var(--f-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.h-sub { color: var(--c-fog); margin-top: 4px; }
.h-muted { color: var(--c-fog); }
.h-small { font-size: 12px; color: var(--c-fog); }
.h-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }

/* card, grilă */
.h-card { background: var(--c-white); border: 1px solid var(--c-rule); border-radius: var(--r-lg); box-shadow: var(--sh-card); padding: 20px; margin-bottom: 16px; }
.h-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.h-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.h-kpi { background: var(--c-white); border: 1px solid var(--c-rule); border-radius: var(--r-lg); padding: 16px; }
.h-kpi .l { font-size: 12px; color: var(--c-fog); }
.h-kpi .v { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.h-kpi .s { font-size: 12px; color: var(--c-mist); margin-top: 2px; }
.h-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 24px; }
.h-dl dt { font-size: 12px; color: var(--c-fog); }
.h-dl dd { margin-top: 2px; }

/* butoane — după .btn din Sedis */
.h-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 13px; text-decoration: none; background: none; white-space: nowrap; }
.h-btn.primary { background: var(--c-ink); color: var(--c-white); box-shadow: 0 1px 2px rgba(10,31,56,0.2); }
.h-btn.primary:hover { background: var(--c-navy-deep); }
.h-btn.gold { background: var(--c-gold); color: var(--c-white); }
.h-btn.gold:hover { background: var(--c-gold-deep); }
.h-btn.outline { border-color: var(--c-rule-strong); background: var(--c-white); box-shadow: var(--sh-card); }
.h-btn.outline:hover { background: var(--c-surface); }
.h-btn.ghost { color: var(--c-fog); }
.h-btn.ghost:hover { background: var(--c-surface); color: var(--c-ink); }
.h-btn.xs { min-height: 28px; padding: 0 10px; font-size: 12px; }
.h-btn:disabled { opacity: .45; cursor: not-allowed; }
.h-btn:focus-visible, .h-input:focus, .h-select:focus { outline: none; box-shadow: 0 0 0 3px var(--c-focus); }
.h-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.h-ic { width: 16px; height: 16px; flex-shrink: 0; }

/* etichete de stare */
.h-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: var(--r-sm); background: var(--c-surface); border: 1px solid var(--c-rule); white-space: nowrap; }
.h-badge.ok { background: var(--c-success-bg); border-color: transparent; color: var(--c-success); }
.h-badge.err { background: var(--c-error-bg); border-color: transparent; color: var(--c-error); }
.h-badge.warn { background: var(--c-warn-bg); border-color: transparent; color: var(--c-gold-deep); }
.h-badge.info { background: var(--c-info-bg); border-color: transparent; color: var(--c-ink); }
.h-badge.dark { background: var(--c-ink); color: #fff; border-color: transparent; }

/* tabel — după .tbl-wrap din Sedis */
.h-tbl-wrap { overflow-x: auto; border: 1px solid var(--c-rule); border-radius: var(--r-lg); background: var(--c-white); box-shadow: var(--sh-card); }
table.h-tbl { width: 100%; border-collapse: collapse; }
.h-tbl th { text-align: left; font-size: 12px; font-weight: 500; color: var(--c-fog); padding: 10px 12px; border-bottom: 1px solid var(--c-rule); background: var(--c-surface); white-space: nowrap; }
.h-tbl td { padding: 10px 12px; border-bottom: 1px solid var(--c-rule-soft); vertical-align: top; }
.h-tbl tr:last-child td { border-bottom: 0; }
.h-tbl tr.go { cursor: pointer; }
.h-tbl tr.go:hover td { background: var(--c-surface); }
.h-tbl .num { text-align: right; font-variant-numeric: tabular-nums; }

/* formular */
.h-field { display: grid; gap: 6px; }
.h-label { font-size: 12px; font-weight: 500; color: var(--c-text); }
.h-input, .h-select { height: 36px; border: 1px solid var(--c-rule-strong); border-radius: var(--r-md); background: var(--c-white); padding: 0 10px; min-width: 0; }
textarea.h-input { height: auto; min-height: 72px; padding: 8px 10px; resize: vertical; }
.h-filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.h-filters .h-field { min-width: 160px; }
.h-filters .h-field.grow { flex: 1 1 240px; }

/* tab-uri */
.h-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--c-rule); margin: 20px 0 16px; overflow-x: auto; }
.h-tabs button { border: 0; background: none; padding: 10px 12px; cursor: pointer; color: var(--c-fog); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.h-tabs button.on { color: var(--c-ink); border-bottom-color: var(--c-gold); }

/* alerte */
.h-alert { display: flex; gap: 10px; align-items: flex-start; border-radius: var(--r-md); padding: 12px 14px; background: var(--c-info-bg); margin-bottom: 14px; }
.h-alert.warn { background: var(--c-warn-bg); }
.h-alert.err { background: var(--c-error-bg); }

/* parcurs */
.h-steps { display: grid; gap: 0; }
.h-step { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--c-rule-soft); align-items: start; }
.h-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; background: var(--c-rule-strong); }
.h-dot.done { background: var(--c-success); }
.h-dot.now { background: var(--c-gold); box-shadow: 0 0 0 4px var(--c-gold-soft); }

/* fereastră modală */
.h-scrim { position: fixed; inset: 0; background: rgba(10,31,56,0.35); display: grid; place-items: center; z-index: 50; }
.h-modal { background: var(--c-white); border-radius: var(--r-lg); box-shadow: var(--sh-pop); padding: 24px; width: min(520px, 92vw); }
.h-modal h2 { font-family: var(--f-display); font-weight: 800; font-size: 20px; margin-bottom: 8px; }
.h-modal .h-btns { justify-content: flex-end; margin-top: 18px; }

/* notificări */
.h-toasts { position: fixed; bottom: 20px; right: 20px; display: grid; gap: 8px; z-index: 60; }
.h-toast { background: var(--c-ink); color: #fff; padding: 10px 14px; border-radius: var(--r-md); box-shadow: var(--sh-pop); max-width: 360px; }
.h-toast.err { background: var(--c-error); }

.h-bar { height: 8px; border-radius: 4px; background: var(--c-ink); min-width: 2px; }
.h-link { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.h-sep { border: 0; border-top: 1px solid var(--c-rule); margin: 16px 0; }

/* Donna — pagina dosarului (holo/donna-dosar.js), după pagina de dosar din Holo v1 (analiza/holo-v1-capturi, 12.10.2026; D144).
   Culorile neutre ale Holo v1 sunt locale paginii, ca să nu schimbe restul prototipului. */
.dn-top { max-width: none; padding: 0 32px; height: 74px; gap: 16px; }
.dn-logo { font-family: Georgia, 'Times New Roman', serif; font-size: 19px; font-weight: 600; text-decoration: none; color: #18181B; }
.dn-proto { font-size: 12px; color: #A1A1AA; flex: 1; }
.dn-nav { display: flex; gap: 6px; }
.dn-nav a { text-decoration: none; padding: 10px 14px; border-radius: 8px; color: #71717A; font-weight: 500; }
.dn-nav a.on { background: #F4F4F5; color: #18181B; }
.dn-user { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.dn-uav { width: 36px; height: 36px; border-radius: 50%; background: #2B3441; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.dn-user select { border: 0; background: none; font-weight: 600; color: #18181B; cursor: pointer; max-width: 260px; }
.dn-page { --z-b: #E4E4E7; --z-bg: #F4F4F5; --z-t: #18181B; --z-m: #71717A; --z-ok: #15803D; --z-ok-bg: #F0FDF4; --z-err: #DC2626; --z-err-bg: #FEF2F2; --z-wait: #EAB308;
  background: #fff; border: 1px solid var(--z-b); border-radius: 12px; padding: 24px; color: var(--z-t); margin: -12px -8px 0; font-size: 15px; }
.dn-head { border: 1px solid var(--z-b); border-radius: 12px; padding: 20px; display: grid; grid-template-columns: auto auto minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.dn-back { width: 34px; height: 34px; border-radius: 50%; background: var(--z-bg); display: grid; place-items: center; color: var(--z-t); }
.dn-av { width: 44px; height: 56px; border-radius: 6px; background: #2B3441; color: #fff; display: grid; place-items: center; font-size: 16px; }
.dn-name { font-size: 19px; font-weight: 500; letter-spacing: .01em; }
.dn-firm { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.dn-firm .wait { color: var(--z-wait); display: flex; } .dn-firm .ok { color: var(--z-ok); display: flex; }
.dn-contact { display: flex; flex-direction: column; gap: 6px; }
.dn-contact span { display: flex; align-items: center; gap: 10px; }
.dn-contact .h-ic { color: var(--z-m); }
.dn-hbtns { display: flex; gap: 8px; }
.dn-alert { margin-top: 20px; background: var(--z-err-bg); color: var(--z-err); border: 1px solid #FECACA; border-radius: 8px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.dn-cols { display: grid; grid-template-columns: 550px minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
@media (max-width: 1000px) { .dn-cols { grid-template-columns: 1fr; } .dn-head { grid-template-columns: auto auto 1fr; } }
.dn-left { display: flex; flex-direction: column; gap: 20px; }
.dn-stage { border: 1px solid var(--z-b); border-radius: 16px; padding: 18px 20px 14px; }
.dn-stage-head { width: 100%; position: relative; background: none; border: 0; cursor: pointer; padding: 2px 0 14px; }
.dn-stage-head h2 { font-size: 19px; font-weight: 500; text-align: center; }
.dn-chev { position: absolute; right: 0; top: 2px; transition: transform .15s; }
.dn-chev.open { transform: rotate(-90deg); }
.dn-box + .dn-box { margin-top: 16px; }
.dn-stage-head:disabled { cursor: default; color: inherit; }
.dn-box { background: var(--z-bg); border: 1px solid var(--z-b); border-radius: 12px; padding: 14px 18px; display: flex; flex-direction: column; }
.dn-box.err { background: var(--z-err-bg); border-color: #FECACA; }
.dn-box-top { display: flex; align-items: center; gap: 8px; }
.dn-box-l { flex: 1; font-weight: 500; }
.dn-sic { display: inline-flex; color: var(--z-m); flex: none; }
.dn-sic .h-ic { width: 20px; height: 20px; }
.dn-sic.ok { color: var(--z-ok); } .dn-sic.err { color: var(--z-err); } .dn-sic.wait { color: var(--z-wait); }
.dn-chip { font-size: 12px; padding: 5px 9px; border-radius: 6px; background: #fff; border: 1px solid var(--z-b); color: var(--z-t); white-space: nowrap; }
.dn-chip.ok { background: var(--z-ok-bg); border-color: var(--z-ok-bg); color: var(--z-ok); }
.dn-ex { color: var(--z-m); font-size: 13px; margin-top: 10px; }
.dn-field { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--z-b); padding: 12px 0 2px; margin-top: 12px; }
.dn-field span { color: var(--z-m); font-size: 14px; }
.dn-field b { font-weight: 400; }
.dn-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.dn-add { display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; padding: 14px 0 2px; color: var(--z-t); font-size: 13px; }
.dn-stadii { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.dn-st { display: flex; gap: 10px; }
.dn-st b { font-weight: 500; }
.dn-st.off { color: var(--z-m); }
.dn-hist { list-style: none; margin-top: 6px; border-left: 2px solid var(--z-b); padding-left: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.dn-docs { background: #FAFAFA; border: 1px solid var(--z-b); border-radius: 16px; overflow: hidden; }
.dn-docs-head, .dn-doc { display: grid; grid-template-columns: 24px minmax(0, 1fr) 220px 260px; gap: 10px; align-items: center; }
.dn-docs-head { grid-template-columns: minmax(0, 1fr) 220px 260px; background: var(--z-bg); padding: 18px 20px; }
.dn-docs-head h2 { font-size: 19px; font-weight: 500; }
.dn-docs-head span { font-size: 19px; text-align: center; }
.dn-docs-body { padding: 4px 8px 12px; }
.dn-docs-act { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 10px 0 0; }
.dn-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font-size: 13px; color: var(--z-t); }
.dn-docs-grp { font-size: 13px; color: var(--z-m); margin: 16px 6px 8px; }
.dn-doc { background: #fff; border: 1px solid var(--z-b); border-radius: 8px; padding: 12px 14px; margin-bottom: 2px; }
.dn-doc.off { background: #FAFAFA; border-style: dashed; color: var(--z-m); }
.dn-doc-c { display: flex; gap: 8px; justify-content: center; }
.dn-neg { font-size: 13px; color: var(--z-m); }
.dn-docs .h-btn.xs { background: #fff; }
.dn-docs .h-btn.red { color: var(--z-err); border-color: var(--z-err); }
.dn-docs .h-btn:disabled { opacity: .45; }
.dn-docs-foot { display: flex; align-items: center; gap: 10px; margin: 16px 6px 0; }
.dn-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.h-modal.wide { width: min(860px, 94vw); max-height: 86vh; overflow: auto; }
.dn-ev > div { display: grid; grid-template-columns: 110px 170px minmax(0, 1fr) 140px; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--c-rule-soft); }
.dn-demo { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.h-main:has(.dn-page) { max-width: none; padding: 16px 14px 48px; }
.h-main:has(.dn-page) .dn-page { margin: 0; }
/* cardul „Dosar primit de la Bono”, pe toată lățimea, ca în Holo (analiza/holo-v1-capturi/11, 13) */
.dn-primit { border: 1px solid var(--z-b); border-radius: 16px; overflow: hidden; margin-top: 20px; }
.dn-primit-h { background: var(--z-bg); padding: 18px 24px; font-size: 19px; font-weight: 500; }
.dn-primit-b { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.dn-starec b { font-weight: 500; }
.dn-mut { color: var(--z-m); }
.dn-pasi { display: flex; flex-direction: column; gap: 12px; }
.dn-pasi > b { font-weight: 600; }
.dn-pas { display: flex; align-items: center; gap: 12px; }
.dn-pas > span:nth-child(2) { flex: 1; }
.dn-acts-col { display: flex; flex-direction: column; gap: 10px; margin-left: 36px; }
.dn-act { border: 1px solid var(--z-b); border-radius: 8px; padding: 12px 16px; display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.dn-act.err { background: var(--z-err-bg); border-color: #FECACA; color: var(--z-err); }
.dn-fisa-tog { display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; padding: 0; font-size: 15px; color: var(--z-t); }
.dn-fisa { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 24px; border: 1px solid var(--z-b); border-radius: 12px; padding: 16px 20px; }
.dn-fisa-t { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--z-m); margin-top: 6px; }
.dn-fisa .dn-field { margin-top: 8px; padding-top: 8px; }
.dn-desemnat { display: flex; align-items: flex-end; gap: 12px; border-top: 1px solid var(--z-b); padding-top: 16px; flex-wrap: wrap; }
.dn-desemnat > div { flex: 1; min-width: 260px; }
.dn-desemnat .h-select { width: 220px; }
.dn-refuz { background: var(--z-err-bg); color: var(--z-err); border: 1px solid #FECACA; border-radius: 8px; padding: 12px 16px; }
.dn-docs-nota { font-size: 13px; color: var(--z-m); margin: -4px 6px 8px; }
