/* ═══════════ ATELIER — stiluri ═══════════
   Toate clasele sunt prefixate `at-`, ca să nu poată atinge nimic din
   aplicația de consum. Culorile vin din variabilele existente: dacă schimbi
   tema în Elements, se schimbă și aici, fără să dublăm paleta. */

html.at-open, html.at-open body { overflow: hidden; }

.at-root {
  position: fixed; inset: 0; z-index: 9500;
  background: #07080b;
  color: var(--tx, #edeff3);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  display: none; flex-direction: column;
}
.at-root.on { display: flex; }

/* ── bara de sus ── */
.at-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 18px; border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03); flex-wrap: wrap;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
}
.at-brand { display: flex; flex-direction: column; line-height: 1.25; margin-right: 4px; }
.at-brand b { font-size: 15px; font-weight: 600; letter-spacing: .3px; }
.at-brand span { font-size: 10.5px; color: #8b909e; letter-spacing: .4px; }
.at-tabs { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.at-tab {
  font: inherit; font-size: 12.5px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid transparent; background: transparent; color: #a4a9b6; cursor: pointer;
}
.at-tab:hover { color: #edeff3; background: rgba(255,255,255,.05); }
.at-tab.on { background: rgba(201,173,116,.14); border-color: rgba(201,173,116,.4); color: #e8d5a8; }
.at-x {
  font: inherit; font-size: 12px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05);
  color: #edeff3; cursor: pointer; white-space: nowrap;
}
.at-x:hover { background: rgba(255,255,255,.1); }
.at-x.sm { padding: 5px 11px; font-size: 11.5px; }

/* ── corp ── */
.at-body {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 22px 18px calc(60px + env(safe-area-inset-bottom, 0px));
  max-width: 1080px; width: 100%; margin: 0 auto;
}

/* ── carduri ── */
.at-card {
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  background: rgba(255,255,255,.025); margin-bottom: 18px; overflow: hidden;
}
.at-card-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.07); flex-wrap: wrap;
}
.at-k { font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase; color: #c9ad74; font-weight: 600; }
.at-card-b { padding: 16px 18px; }
.at-sec {
  font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: #8b909e;
  margin: 20px 0 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.07);
}

/* ── KPI ── */
.at-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.at-kpi {
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 13px 15px;
  background: rgba(255,255,255,.025); display: flex; flex-direction: column; gap: 3px;
}
.at-kpi .l { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: #8b909e; }
.at-kpi .v { font-size: 26px; font-weight: 300; letter-spacing: -.5px; }
.at-kpi .s { font-size: 11px; color: #a4a9b6; }
@media(max-width: 780px) { .at-kpis { grid-template-columns: repeat(2, 1fr); } }

/* ── tabele ── */
.at-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.at-tbl th {
  text-align: left; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  color: #8b909e; font-weight: 500; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.at-tbl td { padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: top; }
.at-tbl .n, .at-tbl th.n { text-align: right; font-variant-numeric: tabular-nums; }
.at-tbl .n.warn { color: #f0b657; }
.at-tbl td.lang { color: #8b909e; text-transform: uppercase; font-size: 10.5px; width: 34px; letter-spacing: 1px; }
.at-subrow td { padding-top: 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.at-subrow p { font-size: 11.5px; color: #8b909e; margin: 0 0 4px; line-height: 1.55; }
.at-tbl code, .at-note code { font-size: 11.5px; color: #b8c4d4; background: rgba(255,255,255,.06); padding: 1px 5px; border-radius: 4px; }

/* ── bare ── */
.at-bar2 { display: block; width: 100%; min-width: 90px; }
.at-bar2 i { display: block; height: 4px; border-radius: 2px; margin-bottom: 2px; }
.at-bar2 i.b { background: rgba(255,255,255,.22); }
.at-bars { display: flex; flex-direction: column; gap: 7px; }
.at-barrow { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.at-barrow.thin { opacity: .45; }
.at-barrow .l { width: 150px; flex-shrink: 0; color: #cfd4de; }
.at-barrow .t { flex: 1; height: 7px; background: rgba(255,255,255,.06); border-radius: 4px; overflow: hidden; }
.at-barrow .t i { display: block; height: 100%; border-radius: 4px; }
.at-barrow .t i.none { width: 100%; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 4px, transparent 4px 8px); }
.at-barrow .v { width: 38px; text-align: right; font-variant-numeric: tabular-nums; }
.at-barrow .nn { width: 52px; text-align: right; font-size: 11px; color: #8b909e; }
@media(max-width: 560px) { .at-barrow .l { width: 96px; font-size: 11.5px; } }

/* ── pastile, etichete ── */
.at-pill {
  display: inline-block; font-size: 10px; letter-spacing: .8px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  color: #a4a9b6; white-space: nowrap;
}
.at-pill.ok  { border-color: rgba(74,222,128,.4);  color: #7ee0a0; background: rgba(74,222,128,.08); }
.at-pill.warn{ border-color: rgba(240,182,87,.4);  color: #f0b657; background: rgba(240,182,87,.08); }
.at-pill.err { border-color: rgba(248,113,113,.4); color: #f89393; background: rgba(248,113,113,.08); }
.at-pill.dim { opacity: .6; }
.at-pill.a   { border-color: rgba(120,180,240,.4); color: #8fc0f0; background: rgba(120,180,240,.08); }
.at-pill.b   { border-color: rgba(201,173,116,.4); color: #d9be86; background: rgba(201,173,116,.08); }
.at-tag { font-size: 11px; color: #a4a9b6; background: rgba(255,255,255,.05); padding: 2px 8px; border-radius: 6px; }
.at-tag.dim { opacity: .6; }
.at-id { font-size: 10.5px; color: #6c7280; margin-left: auto; font-variant-numeric: tabular-nums; }
.at-g { font-size: 13px; }

/* ── filtre ── */
.at-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; }
.at-search {
  display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 8px 12px;
  background: rgba(0,0,0,.3);
}
.at-search svg { width: 15px; height: 15px; fill: none; stroke: #8b909e; stroke-width: 1.7; flex-shrink: 0; }
.at-search input { flex: 1; background: none; border: 0; color: inherit; font: inherit; font-size: 13px; outline: none; }
.at-sel { display: flex; flex-direction: column; gap: 4px; }
.at-sel > span { font-size: 9.5px; letter-spacing: 1.3px; text-transform: uppercase; color: #8b909e; }
.at-sel select, .at-in {
  font: inherit; font-size: 12.5px; padding: 7px 10px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.3); color: #edeff3; outline: none;
}
.at-sel input[type=number] { width: 74px; }
.at-in { width: 100%; resize: vertical; line-height: 1.5; }
.at-sel select:focus, .at-in:focus { border-color: rgba(201,173,116,.5); }

/* ── butoane ── */
.at-btn {
  font: inherit; font-size: 12.5px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(201,173,116,.45); background: rgba(201,173,116,.14); color: #e8d5a8;
}
.at-btn:hover { background: rgba(201,173,116,.22); }
.at-btn.ghost { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); color: #cfd4de; }
.at-btn.ghost:hover { background: rgba(255,255,255,.09); }
.at-btn.sm { padding: 5px 11px; font-size: 11.5px; }
.at-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; margin: 12px 0; }

/* ── chips ── */
.at-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.at-chip {
  font: inherit; font-size: 12px; padding: 6px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); color: #a4a9b6;
  display: inline-flex; align-items: center; gap: 6px;
}
.at-chip i { font-style: normal; font-size: 10px; opacity: .6; font-variant-numeric: tabular-nums; }
.at-chip:hover { color: #edeff3; border-color: rgba(255,255,255,.28); }
.at-chip.on { background: rgba(201,173,116,.18); border-color: rgba(201,173,116,.5); color: #e8d5a8; }
.at-chip.anc { box-shadow: inset 0 -2px 0 rgba(120,180,240,.5); }
.at-chip.static { cursor: default; }
.at-chip.static:hover { color: #a4a9b6; border-color: rgba(255,255,255,.14); }

/* ── itemi ── */
.at-resh { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: #a4a9b6; margin-bottom: 10px; }
.at-resh b { color: #edeff3; font-size: 15px; font-weight: 500; }
.at-resh .at-btn { margin-left: auto; }
.at-item {
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 11px 14px;
  background: rgba(255,255,255,.02); margin-bottom: 7px; cursor: pointer;
}
.at-item:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); }
.at-item-h { display: flex; align-items: flex-start; gap: 9px; }
.at-item-h .at-t { font-size: 13.5px; line-height: 1.5; }
.at-pol {
  flex-shrink: 0; width: 17px; height: 17px; border-radius: 5px; display: grid; place-items: center;
  font-size: 12px; font-weight: 600; margin-top: 1px;
}
.at-pol.p { background: rgba(74,222,128,.14); color: #7ee0a0; }
.at-pol.m { background: rgba(248,113,113,.14); color: #f89393; }
.at-item-m { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

/* ── modal ── */
.at-modal {
  position: fixed; inset: 0; z-index: 9600; background: rgba(0,0,0,.7);
  display: grid; place-items: center; padding: 20px; overflow-y: auto;
}
.at-mbox {
  background: #0c0e13; border: 1px solid rgba(255,255,255,.14); border-radius: 18px;
  max-width: 720px; width: 100%; max-height: 88vh; display: flex; flex-direction: column;
}
.at-mh {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.at-mb { padding: 18px; overflow-y: auto; }
.at-mtxt { font-size: 16px; line-height: 1.6; margin-bottom: 18px; color: #edeff3; }
.at-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
@media(max-width: 620px) { .at-grid2 { grid-template-columns: 1fr; } }
.at-kv { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.at-kv span { color: #8b909e; }
.at-kv b { font-weight: 500; text-align: right; word-break: break-word; }
.at-evid { display: flex; flex-wrap: wrap; gap: 5px; }
.at-evid span { font-size: 10.5px; padding: 3px 8px; border-radius: 6px; }
.at-evid .y { background: rgba(74,222,128,.1); color: #7ee0a0; }
.at-evid .n { background: rgba(255,255,255,.04); color: #6c7280; }

/* ── note ── */
.at-note {
  border: 1px solid rgba(255,255,255,.1); border-left-width: 3px; border-radius: 10px;
  padding: 11px 14px; font-size: 12.5px; line-height: 1.65; color: #cfd4de; margin: 10px 0;
  background: rgba(255,255,255,.02);
}
.at-note.ok   { border-left-color: #4ade80; }
.at-note.warn { border-left-color: #f0b657; }
.at-note.err  { border-left-color: #f87171; }
.at-note b { color: #edeff3; }
.at-note p { margin: 4px 0 0; }
.at-note ul { margin: 6px 0 0; padding-left: 18px; }
.at-note li { margin-bottom: 4px; }
.at-cap { font-size: 11.5px; color: #8b909e; line-height: 1.6; margin: 8px 0 0; }
.at-cap.dim { opacity: .75; }

/* ── goluri, verificări ── */
.at-gap, .at-check { display: flex; align-items: flex-start; gap: 11px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.at-gap b, .at-check b { font-size: 13px; font-weight: 500; }
.at-gap p, .at-check p { margin: 3px 0 0; font-size: 11.5px; color: #8b909e; line-height: 1.55; }
.at-check .m { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
.at-check.ok .m { background: rgba(74,222,128,.14); color: #7ee0a0; }
.at-check.bad .m { background: rgba(248,113,113,.16); color: #f89393; }
.at-check .at-btn { margin-left: auto; align-self: center; }

/* ── editor ── */
.at-langs { display: flex; flex-direction: column; gap: 7px; margin: 14px 0; }
.at-lrow { display: flex; align-items: flex-start; gap: 9px; }
.at-lrow .lang {
  width: 30px; flex-shrink: 0; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase;
  color: #8b909e; padding-top: 9px;
}

/* ── simulare ── */
.at-prog { height: 3px; background: rgba(255,255,255,.07); border-radius: 2px; overflow: hidden; margin-bottom: 22px; }
.at-prog i { display: block; height: 100%; background: #c9ad74; transition: width .3s; }
.at-simtxt { font-size: 19px; line-height: 1.55; text-align: center; padding: 26px 10px 30px; font-weight: 300; }
.at-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.at-sbtn {
  font: inherit; padding: 15px 6px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); color: #cfd4de;
}
.at-sbtn:hover { background: rgba(201,173,116,.14); border-color: rgba(201,173,116,.4); color: #e8d5a8; }
.at-sbtn b { display: block; font-size: 12px; font-weight: 500; }
@media(max-width: 520px) { .at-sbtn { padding: 12px 3px; } .at-sbtn b { font-size: 10.5px; } .at-simtxt { font-size: 16px; } }

/* ── toasts ── */
.at-toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 9700; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.at-toast {
  background: rgba(20,22,28,.96); border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  padding: 9px 18px; font-size: 12.5px; opacity: 0; transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}
.at-toast.go { opacity: 1; transform: none; }
.at-toast.err { border-color: rgba(248,113,113,.45); color: #f89393; }

/* ═══════════ AMPRENTA — personalizare la nivel de răspuns ═══════════
   Stă în aplicația de consum, nu în Atelier, dar îi ținem stilurile aici
   ca să nu atingem style.css. Clasele sunt prefixate `amp-`. */
.amp-card .card-b { padding-top: 4px; }
.amp-row { margin: 0 0 8px; }
.amp-lead p { font-size: 13px; line-height: 1.7; color: var(--tx2, #a4a9b6); margin: 10px 0 18px; }
.amp-lead b { color: var(--tx, #edeff3); font-weight: 500; }
.amp-sec { margin: 22px 0 10px; }
.amp-sec h4 {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold, #c9ad74); font-weight: 600; margin: 0 0 5px;
}
.amp-cap { font-size: 11.5px; line-height: 1.6; color: var(--tx3, #8b909e); margin: 0 0 4px; }
.amp-it {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 12px; border-radius: 10px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
}
.amp-g { flex-shrink: 0; font-size: 13px; line-height: 1.5; }
.amp-t { flex: 1; font-size: 13px; line-height: 1.55; }
.amp-r { flex-shrink: 0; text-align: right; display: flex; flex-direction: column; gap: 1px; }
.amp-r b { font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.amp-r i { font-style: normal; font-size: 10px; color: var(--tx3, #8b909e); white-space: nowrap; }
.amp-hes .amp-it { border-left: 2px solid rgba(240,182,87,.5); }
.amp-mov .amp-it { border-left: 2px solid rgba(120,180,240,.5); }
.amp-con { padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(248,113,113,.22); background: rgba(248,113,113,.04); }
.amp-con .amp-it { background: none; border: 0; padding: 2px 0; }
.amp-vs { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: #f89393; padding: 4px 0 4px 22px; }
.amp-asym { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.amp-ael { font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.amp-ab { display: flex; align-items: center; gap: 9px; font-size: 11.5px; margin-bottom: 5px; }
.amp-ab span { width: 108px; flex-shrink: 0; color: var(--tx2, #a4a9b6); }
.amp-ab i { display: block; height: 5px; border-radius: 3px; min-width: 2px; }
.amp-ab b { font-weight: 500; font-variant-numeric: tabular-nums; }
@media(max-width: 480px) { .amp-ab span { width: 78px; font-size: 11px; } }

/* ═══════════ PROFIL — citire pe fațete ═══════════ */
.pf-pair { font-size: 13.5px; line-height: 1.75; padding: 14px 16px; border-radius: 12px;
  background: rgba(201,173,116,.07); border: 1px solid rgba(201,173,116,.22); margin-bottom: 18px; }
.pf-cap { display: block; margin-top: 8px; font-size: 11.5px; color: var(--tx3, #8b909e); line-height: 1.6; }
.pf-el { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.pf-el:last-of-type { border-bottom: 0; }
.pf-h { display: flex; align-items: baseline; gap: 9px; margin-bottom: 6px; }
.pf-g { font-size: 14px; }
.pf-n { font-size: 13px; font-weight: 500; }
.pf-v { margin-left: auto; font-size: 15px; font-weight: 300; font-variant-numeric: tabular-nums; }
.pf-el p { font-size: 13px; line-height: 1.75; color: var(--tx2, #a4a9b6); margin: 0; }
.pf-el p b { color: var(--tx, #edeff3); font-weight: 500; }
.pf-ev { display: block; margin-top: 7px; padding-left: 11px; border-left: 2px solid rgba(255,255,255,.18);
  font-size: 12.5px; color: var(--tx3, #8b909e); }
.pf-ev b { color: var(--tx2, #a4a9b6) !important; }
.pf-planwhy { padding: 12px 14px; border-radius: 12px; margin-bottom: var(--sp4);
  background: rgba(201,173,116,.08); border: 1px solid rgba(201,173,116,.24); }
.pf-planwhy > span { display: block; font-size: 10px; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--gold, #c9ad74); margin-bottom: 5px; }
.pf-planwhy p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--tx2, #a4a9b6); }
.pf-planwhy b { color: var(--tx, #edeff3); font-weight: 500; }
#synthBox p { font-size: 13.5px; line-height: 1.8; margin: 0; }
.pf-inline { line-height: 1.75 !important; }
.pf-inline b { color: inherit; font-weight: 600; }
.pf-inline .pf-ev { border-left-color: currentColor; opacity: .8; }
.pf-sign { font-size: 13.5px; line-height: 1.8; padding: 14px 16px; border-radius: 12px;
  margin-bottom: var(--sp4); background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09); }
.pf-sign b { color: var(--tx, #edeff3); font-weight: 500; }

/* ═══════════ TONUL AVERTISMENTELOR ═══════════
   Cardul de calitate folosea galben saturat pe fond întunecat pentru fiecare
   semnal. Pe un test scurt apar patru-cinci deodată, iar ecranul devine un
   perete de alarmă — ceea ce e și urât, și fals ca proporție: „ai răspuns
   repede" nu e o urgență. Trecem pe un accent lateral discret, cu textul
   citibil, și păstrăm culoarea tare numai pentru bara de sus. */
#qualBox .flag, #qualBox .qflag, #qualBox .notice,
#qualBox [class*="warn"], #qualBox .badge {
  background: rgba(255,255,255,.035) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-left: 2px solid rgba(240,182,87,.55) !important;
  color: var(--tx2, #a4a9b6) !important;
  border-radius: 10px;
}
#qualBox b, #qualBox strong { color: var(--tx, #edeff3) !important; }
#qualBox { font-size: 13px; line-height: 1.7; }

/* Fonturile: dacă Google Fonts nu se încarcă — offline, fișier local, rețea
   blocată — familiile cad pe serif de sistem, iar tot ecranul se schimbă.
   Lanțul de rezervă numește explicit fonturi care există pe orice sistem. */
:root {
  --ff-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --ff-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}
body, button, input, select, textarea, .card, .page { font-family: var(--ff-sans); }
.h-xl, .h-lg, .gate-word, .res-n { font-family: var(--ff-serif); }

/* ═══════════════════════════════════════════════════════════════════════
   ECRANUL DE REZULTAT — LIZIBILITATE
   ═══════════════════════════════════════════════════════════════════════
   Problema din captură: densitate. Douăzeci de carduri, fiecare cu antet,
   corp și subtext, toate la 11–13px, lipite unul de altul. Pe telefon
   devine un perete — ochiul nu are unde să se odihnească și nimic nu pare
   mai important decât altceva.

   Trei corecții, toate tipografice. Nu mut nimic, nu ascund nimic: cresc
   textul, deschid spațiul dintre carduri și comprim secțiunea de calitate,
   care ocupa cel mai mult spațiu pentru cel mai puțin conținut.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── corpul textului: de la ~13 la 15px, cu rând mai înalt ── */
#v-result .card-b,
#v-result .card-b p,
#v-result .prose,
#v-result .prose p { font-size: 15px; line-height: 1.78; }
#v-result .pf-el p,
#v-result .pf-pair,
#v-result .pf-sign { font-size: 14.5px; line-height: 1.8; }
#v-result .cap { font-size: 12.5px; line-height: 1.7; }

/* ── aer între carduri și înăuntrul lor ── */
#v-result .stack-v > * { margin-bottom: 20px; }
#v-result .card-b { padding: 18px 20px 20px; }
#v-result .card-h { padding: 15px 20px; }
#v-result .kicker { font-size: 11.5px; letter-spacing: 2px; }

/* ── secțiunea de calitate: cea mai densă, cea mai comprimată ──
   Era o listă de blocuri egale, fiecare cu titlu îngroșat și paragraf. Zece
   semnale arătau ca zece alarme. Acum titlul intră în rând cu textul și
   blocurile se strâng. */
#qualBox > div { padding: 10px 12px !important; margin-bottom: 6px !important; }
#qualBox b, #qualBox strong { display: inline; margin-right: 6px; }
#qualBox p { display: inline; margin: 0; }
#qualBox { font-size: 13.5px; line-height: 1.68; }

/* ── numerele mari: mai puțin dominante ── */
#v-result .metric-v, #v-result .bigrow .v { font-weight: 300; letter-spacing: -.5px; }

/* ── pe telefon: marginile laterale contează mai mult decât orice ── */
@media (max-width: 520px) {
  #v-result .page { padding-left: 16px; padding-right: 16px; }
  #v-result .card-b { padding: 16px 16px 18px; }
  #v-result .card-h { padding: 14px 16px; }
  #v-result .card-b, #v-result .card-b p, #v-result .prose p { font-size: 14.5px; }
  #v-result .stack-v > * { margin-bottom: 16px; }
  .pf-ev { padding-left: 10px; font-size: 13px; }
}

/* ── cardul personalizat: singurul cu accent, fiindcă e primul și e al lui ── */
#pfCard { border-color: rgba(201,173,116,.28); background: rgba(201,173,116,.035); }
#pfCard .pf-el { padding: 15px 0; }
#pfCard .pf-h { margin-bottom: 8px; }
#pfCard .pf-n { font-size: 14px; }
#pfCard .pf-v { font-size: 17px; }
.pf-role { margin-left: 8px; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--gold, #c9ad74); opacity: .85; }
.pf-el .pf-v { margin-left: auto; }

/* ── corelații între fațete ── */
.pf-link { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.pf-link:last-of-type { border-bottom: 0; }
.pf-link-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 9px; }
.pf-link-h span { font-size: 12.5px; }
.pf-link-h .hi, .pf-link-h .lo {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
}
.pf-link-h .hi { background: rgba(201,173,116,.13); border-color: rgba(201,173,116,.35); color: #e8d5a8; }
.pf-link-h .lo { background: rgba(255,255,255,.04); color: var(--tx2, #a4a9b6); }
.pf-link-h i { font-style: normal; font-size: 11px; opacity: .75; font-variant-numeric: tabular-nums; }
.pf-link-h .arrow { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--tx3, #8b909e); }
.pf-link-h .gap { margin-left: auto; font-size: 11px; color: var(--tx3, #8b909e); font-variant-numeric: tabular-nums; }
.pf-link p { margin: 0; font-size: 14px; line-height: 1.78; color: var(--tx2, #a4a9b6); }
.pf-why { margin-top: 8px !important; font-size: 12px !important; color: var(--tx3, #8b909e) !important;
  padding-left: 11px; border-left: 2px solid rgba(255,255,255,.12); }
.pf-why b { color: var(--tx2, #a4a9b6); font-weight: 500; }
@media(max-width: 480px){ .pf-link-h .gap { margin-left: 0; width: 100%; } }

/* ── a doua părere ── */
.pf-conv-h { font-size: 10.5px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--gold, #c9ad74); margin: 18px 0 10px; }
.pf-conv-row { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.pf-conv-row:last-child { border-bottom: 0; }
.pf-conv-t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pf-conv-t span { font-size: 12.5px; }
.pf-conv-t .el, .pf-conv-t .sc { display: inline-flex; align-items: baseline; gap: 6px;
  padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04); }
.pf-conv-t i { font-style: normal; font-size: 11px; opacity: .75; font-variant-numeric: tabular-nums; }
.pf-conv-t .vs { font-size: 10.5px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--tx3, #8b909e); }
.pf-conv-t .gap { margin-left: auto; font-size: 11px; color: #f0b657; font-variant-numeric: tabular-nums; }
.pf-conv-row p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--tx2, #a4a9b6); }
.pf-conv-row.diverge { border-left: 2px solid rgba(240,182,87,.45); padding-left: 12px; }
@media(max-width:480px){ .pf-conv-t .gap { margin-left: 0; width: 100%; } }

/* ── harta pe fațete ── */
.pf-mapwrap { margin: 4px 0 18px; }
.pf-map { display: block; width: 100%; max-width: 340px; margin: 0 auto; overflow: visible; }
.pf-map-grid { fill: none; stroke: rgba(255,255,255,.055); stroke-width: 1; }
.pf-map-arc { fill: none; stroke-width: 2.5; opacity: .5; stroke-linecap: round; }
.pf-map-lab { font-size: 13px; text-anchor: middle; opacity: .85; }
.pf-map-edge { stroke: rgba(255,255,255,.42); stroke-width: 1.6; stroke-linecap: round; }
.pf-map-dot { stroke: rgba(7,8,11,.85); stroke-width: 1.2; }
.pf-map-none { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.2; stroke-dasharray: 2 2; }
.pf-map-gap { stroke: rgba(255,255,255,.12); stroke-width: 1; stroke-dasharray: 3 4; }
.pf-map-chord { fill: none; stroke: rgba(201,173,116,.5); stroke-width: 1.4; stroke-dasharray: 5 4; }

/* ── ruptura din interiorul unui element ──
   Se distinge vizual de perechea declarată: aceeași structură, dar cu o
   linie care spune că amândouă fațetele stau în același element. Fără asta,
   „Reglare peste Legătură" arată identic cu o pereche între elemente și se
   pierde exact informația care contează — că e o singură bucată ruptă. */
.pf-link.split { border-left: 2px solid rgba(201,173,116,.28); padding-left: 13px; }
.pf-link-el {
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--dim, #8a8a8a); margin: -3px 0 8px;
}

/* ── relieful pe cele 29 de fațete ──
   Un rând pe fațetă, cu numele nostru, cel original englezesc (ca să se poată
   verifica în literatură), canalul din hartă și abaterea de la media proprie.
   Abaterea e coloana care contează: nivelul absolut nu spune nimic fără norme. */
.pf-facet-row {
  display: grid; grid-template-columns: 1fr auto 4.5em 2.6em 2.6em;
  align-items: baseline; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 13px;
}
.pf-facet-row:last-of-type { border-bottom: 0; }
.pf-facet-row .nm { color: var(--fg, #eee); }
.pf-facet-row .en { font-size: 11px; color: var(--dim, #7d7d7d); font-style: italic; }
.pf-facet-row .el { font-size: 11px; color: rgba(201,173,116,.75); text-align: right; }
.pf-facet-row .v  { text-align: right; font-variant-numeric: tabular-nums; color: var(--dim, #9a9a9a); }
.pf-facet-row .dv { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: #e8d5a8; }
@media (max-width: 520px) {
  .pf-facet-row { grid-template-columns: 1fr 3em 3em; }
  .pf-facet-row .en, .pf-facet-row .el { display: none; }
}

/* ── matricea convergent–discriminant ── */
.pf-mtmm-row { padding:10px 0 12px; border-bottom:1px solid rgba(255,255,255,.05); }
.pf-mtmm-row:last-of-type { border-bottom:0; }
.pf-mtmm-row.inv { border-left:2px solid rgba(226,120,90,.5); padding-left:13px; }
.pf-mtmm-row.und { border-left:2px solid rgba(255,255,255,.12); padding-left:13px; }
.pf-mtmm-t { display:flex; flex-wrap:wrap; align-items:baseline; gap:7px; margin-bottom:7px; font-size:12.5px; }
.pf-mtmm-t span { display:inline-flex; align-items:baseline; gap:5px; }
.pf-mtmm-t i { font-style:normal; font-variant-numeric:tabular-nums; font-weight:600; }
.pf-mtmm-t .fx { padding:3px 9px; border-radius:999px; background:rgba(201,173,116,.13);
  border:1px solid rgba(201,173,116,.32); color:#e8d5a8; }
.pf-mtmm-t .el { font-size:11px; color:var(--dim,#8a8a8a); }
.pf-mtmm-t .pair { font-size:11.5px; color:var(--dim,#9a9a9a); }
.pf-mtmm-t .pair.ok i { color:#8fce9b; }
.pf-mtmm-t .pair.no i { color:#e2785a; }
.pf-mtmm-row p { font-size:13px; line-height:1.7; margin:0 0 6px; }

/* ── citirea lungă ── */
.pf-lect-s { padding:15px 0 17px; border-bottom:1px solid rgba(255,255,255,.06); }
.pf-lect-s:last-of-type { border-bottom:0; }
.pf-lect-s.flat { opacity:.82; }
.pf-lect-h { display:flex; align-items:baseline; flex-wrap:wrap; gap:9px; margin-bottom:8px; }
.pf-lect-h .el { font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:rgba(201,173,116,.85); }
.pf-lect-h .nm { font-size:16px; font-weight:600; color:var(--fg,#efeae2); letter-spacing:-.01em; }
.pf-lect-h .sp { margin-left:auto; font-size:11px; color:var(--dim,#7f7f7f); font-variant-numeric:tabular-nums; }
.pf-lect-f { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.pf-lect-f span { font-size:11.5px; padding:3px 9px; border-radius:999px;
  border:1px solid rgba(255,255,255,.1); color:var(--dim,#9b9b9b); display:inline-flex; gap:5px; }
.pf-lect-f i { font-style:normal; font-variant-numeric:tabular-nums; font-weight:600; }
.pf-lect-f .hi { background:rgba(201,173,116,.13); border-color:rgba(201,173,116,.34); color:#e8d5a8; }
.pf-lect-f .lo { background:rgba(255,255,255,.03); }
.pf-lect-s p { font-size:13.5px; line-height:1.78; margin:0 0 8px; }
.pf-lect-w, .pf-lect-a { font-size:12.5px !important; color:var(--dim,#9a9a9a); }
.pf-lect-a { border-left:2px solid rgba(201,173,116,.3); padding-left:11px; }
.pf-flat { font-size:12px !important; color:var(--dim,#8a8a8a); font-style:italic; }
.pf-forer { margin-top:var(--sp5); padding-top:var(--sp4); border-top:1px solid rgba(255,255,255,.08); }
.pf-forer-a { font-size:13.5px; line-height:1.75; padding:11px 13px; margin:9px 0;
  border-radius:9px; background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.07); }
.pf-forer summary { cursor:pointer; font-size:12.5px; color:rgba(201,173,116,.9); margin-top:12px; }
.pf-forer details p { font-size:13px; line-height:1.75; margin:10px 0 0; }

/* ── galeria celor șapte fundaluri ── */
.elgal { display:grid; gap:11px; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); }
.elgal-t { margin:0; border:1px solid rgba(255,255,255,.08); border-radius:11px;
  overflow:hidden; background:#111114; }
.elgal-t canvas { display:block; width:100%; height:118px; }
.elgal-t figcaption { padding:9px 11px 11px; border-top:1px solid rgba(255,255,255,.06); }
.elgal-t b { display:block; font-size:13px; font-weight:600; }
.elgal-t span { display:block; font-size:11px; line-height:1.55; color:var(--dim,#8a8a8a); margin-top:3px; }

/* ── stratul meta ── */
.pf-meta-r { padding:14px 0 16px; border-bottom:1px solid rgba(255,255,255,.06); }
.pf-meta-r:last-of-type { border-bottom:0; }
.pf-meta-h { display:flex; align-items:baseline; gap:10px; }
.pf-meta-h .k { font-size:15px; font-weight:600; color:var(--fg,#efeae2); letter-spacing:-.01em; }
.pf-meta-h .v { margin-left:auto; font-size:15px; font-weight:600; color:#e8d5a8;
  font-variant-numeric:tabular-nums; }
.pf-meta-s { font-size:11.5px; color:var(--dim,#8a8a8a); margin:3px 0 9px; }
.pf-meta-r p { font-size:13.5px; line-height:1.78; margin:0 0 8px; }
.pf-meta-n { font-size:12.5px !important; color:var(--dim,#9a9a9a);
  border-left:2px solid rgba(255,255,255,.13); padding-left:11px; }
.pf-meta-item { display:flex; gap:9px; align-items:baseline; padding:7px 0;
  border-bottom:1px solid rgba(255,255,255,.045); font-size:13px; }
.pf-meta-item .g { color:rgba(201,173,116,.8); }
.pf-meta-item .t { flex:1; line-height:1.6; }
.pf-meta-item .n { font-size:11.5px; color:var(--dim,#8a8a8a); font-variant-numeric:tabular-nums; }
.pf-meta-pair { margin:10px 0; padding:11px 13px; border-radius:9px;
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); font-size:13px; line-height:1.65; }
.pf-meta-pair .mid { font-size:11px; text-transform:uppercase; letter-spacing:.07em;
  color:rgba(201,173,116,.8); margin:7px 0; }

/* ── convergența semnalelor ── */
.pf-sint-r { padding:13px 0 15px; border-bottom:1px solid rgba(255,255,255,.06); }
.pf-sint-r:last-of-type { border-bottom:0; }
.pf-sint-r.strong { border-left:2px solid rgba(201,173,116,.55); padding-left:14px; }
.pf-sint-h { display:flex; align-items:baseline; gap:9px; margin-bottom:7px; }
.pf-sint-h .g { color:rgba(201,173,116,.9); font-size:15px; }
.pf-sint-h .t { font-size:15.5px; font-weight:600; color:var(--fg,#efeae2); letter-spacing:-.01em; }
.pf-sint-h .n { margin-left:auto; font-size:11px; color:var(--dim,#8a8a8a);
  border:1px solid rgba(255,255,255,.12); border-radius:999px; padding:2px 8px; }
.pf-sint-r p { font-size:13.5px; line-height:1.8; margin:0; }
.pf-sint-r.strong p { font-size:14px; }

/* ── cele trei domenii ── */
.pf-dom-s { padding:18px 0 20px; border-bottom:1px solid rgba(255,255,255,.07); }
.pf-dom-s:last-of-type { border-bottom:0; }
.pf-dom-h { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin-bottom:9px; }
.pf-dom-h .g { color:rgba(201,173,116,.9); font-size:16px; }
.pf-dom-h .t { font-size:17px; font-weight:600; letter-spacing:-.015em; color:var(--fg,#efeae2); }
.pf-dom-h .f { margin-left:auto; font-size:11px; color:var(--dim,#8a8a8a); font-variant-numeric:tabular-nums; }
.pf-dom-l { font-size:12.5px !important; color:var(--dim,#9a9a9a); margin:0 0 12px !important; line-height:1.7 !important; }
.pf-dom-s p { font-size:13.5px; line-height:1.82; margin:0 0 11px; }
.pf-dom-p { margin-top:14px; padding:13px 15px; border-radius:10px;
  background:rgba(201,173,116,.055); border:1px solid rgba(201,173,116,.22); }
.pf-dom-p .k { font-size:10.5px; letter-spacing:.08em; text-transform:uppercase;
  color:rgba(201,173,116,.95); margin-bottom:6px; }
.pf-dom-p .k.fix { margin-top:12px; color:rgba(255,255,255,.5); }
.pf-dom-p p { font-size:13.5px; margin:0; line-height:1.75; }
.pf-dom-p .cav { font-size:11.5px !important; color:var(--dim,#8a8a8a); margin-top:11px !important;
  line-height:1.65 !important; }


/* ── situațiile, preluate din ramura ELEMENTS_3 ── */
.sit{position:relative;padding:0 0 0 40px;margin-bottom:var(--sp6)}
.sit-w{font-size:12px;letter-spacing:.01em;color:var(--gold);
  line-height:1.5;margin-bottom:7px}
.sit-t{font-size:14.5px;line-height:1.62;color:var(--t1)}
.sit-d{font-size:13px;line-height:1.55;color:var(--t2);margin-top:10px;
  padding:9px 12px;border-radius:var(--r2);
  background:rgba(255,255,255,.028);border:1px solid rgba(255,255,255,.05)}
.sit-a{margin-top:10px;border-left:1px solid rgba(201,173,116,.24);padding-left:11px}
.sit-q{font-size:13px;line-height:1.55;font-style:italic;color:var(--t2);margin-top:7px}
.sit-r{font-size:11px;color:var(--t3);margin-top:5px}
.sit-lv{font-size:10.5px;color:var(--t4);margin-top:6px;line-height:1.5}
.sit-m{display:flex;flex-wrap:wrap;gap:10px;margin-top:9px;
  font-size:10px;letter-spacing:.02em;color:var(--t4)}
.sit-no{font-size:10.5px;color:var(--t4);margin-top:6px;font-style:italic;line-height:1.45}
.sit-quiet{font-size:12.5px;color:var(--t3);line-height:1.6}
/* Starea inițială + cea finală, pe clase diferite. Erau amândouă pe `.sit`,
   deci a doua o anula pe prima instantaneu și tranziția nu rula niciodată.
   Clasa `.on` o pune `revealNet()`, ca la toate celelalte blocuri `.rv`. */
.sit{opacity:0;transform:translateY(10px);
  transition:opacity .62s var(--ez),transform .62s var(--ez)}
.sit.on{opacity:1;transform:none}

/* ── pachete încă neajunse ──
   Vizibile, dar stinse. Ascunse ar face aplicația să pară mai mică. */
.pk-locked{opacity:.42;pointer-events:none;position:relative}
.pk-lock{position:absolute;right:10px;bottom:8px;font-size:10.5px;
  letter-spacing:.05em;text-transform:uppercase;color:rgba(201,173,116,.85)}
