/* [cc 19.10 piese] sx-rapoarte-stb.css · #rapoarte (Bani și rapoarte) cu bucata „statistici” (stb) din sesiunea website-structure readusă:
   cifra lunii (2.209,50 €, profitul celor 3 camioane din Central. Cost/Camion) + teancul de ferestre din program + linia punctată de la frază la rândul exact.
   Ce s-a schimbat față de site-sectiuni/sectiuni/statistici.css: aspectul paginii refăcute (Work Sans, titlu subțire, fraze în vocea textului, fără 600/700 pe titluri),
   3 file doar pe clic (controlul segmentat .sx-seg al site-ului), fără derulare lipită, fără „Easy”, ferestrele rămân luminoase și pe negru (regula site27: gradul ferestrei de pe pagina 1),
   mișcarea doar cu transform / opacity, o dată la intrarea în ecran și la fiecare clic. Mișcare redusă: totul pe loc, fără tranziții. Fără JS: cele 3 unghiuri unul sub altul, în starea finală.
   Înlocuiește sx-rapoarte.css (regulile listei de întrebări de dedesubt sunt copiate aici, la fel). Totul sub .sx-rapoarte.stb-sec; px, scara Fibonacci (3 5 8 13 21 34 55 89). */

/* ---------- 0. Tokeni ---------- */
.sx-rapoarte.stb-sec {
  --rap-pen: hsl(40 13% 23% / .66);
  --stb-ease: cubic-bezier(.16, 1, .3, 1);
  --stb-io: cubic-bezier(.65, 0, .35, 1);
  --stb-gap: clamp(34px, 4.6vw, 55px);
  --stb-wh: 330px;
  --stb-pk1: 13px; --stb-pk2: 24px; --stb-deck-pad: 26px;
  /* fereastra programului (luminoasă în ambele teme; bara de sus închisă, ca în v34) */
  --stb-bb: #1e1d1a; --stb-bb-hi: #2d2b27; --stb-bb-ink: #efebe1; --stb-bb-mute: #a19c91;
  --stb-cv: #f7f6f2; --stb-dot: rgba(29, 39, 51, .085);
  --stb-sf: #ffffff; --stb-line: #e3e1db; --stb-line2: #eeece7;
  --stb-row-alt: rgba(29, 27, 22, .024); --stb-row-head: rgba(29, 27, 22, .05); --stb-col-hl: rgba(26, 116, 162, .075);
  --stb-ink: #1d2733; --stb-ink2: #4f5b68; --stb-ink3: #5f6a78; --stb-lnk: #1a6a98;
  --stb-acc: #1a74a2; --stb-acc-soft: #e7f0f7; --stb-acc-line: rgba(26, 116, 162, .55);
  --stb-ok-soft: rgba(34, 116, 74, .1); --stb-ok-line: rgba(34, 116, 74, .5);
  --stb-navy: #000486;
  --stb-pc-bg: #ffffff; --stb-pc-line: #e5e5e5; --stb-pc-ink: #1f2937; --stb-pc-mute: #475569; --stb-pc-faint: #64748b;
  --stb-pc-grid: rgba(0, 0, 0, .055); --stb-pc-axis: rgba(0, 0, 0, .14);
  --stb-s0: rgba(38, 70, 83, .5); --stb-s0-b: rgba(38, 70, 83, .8);
  --stb-e0: rgba(38, 70, 83, .75); --stb-e0-b: rgb(38, 70, 83);
  --stb-btn-line: #cccccc; --stb-btn-on: #e6e6e6; --stb-cfg: #1f7a6f; --stb-cfg-ink: #ffffff;
  --stb-ot-a: .6; --stb-ot-in: rgba(255, 255, 255, .95);
  --stb-okc: #2f8a4a;
  --stb-backdrop: rgba(17, 22, 28, .46);
  --stb-win-sh: 0 0 0 1px rgba(14, 13, 11, .92), 0 2px 4px rgba(23, 32, 43, .10), 0 14px 28px -10px rgba(23, 32, 43, .22), 0 40px 80px -28px rgba(23, 32, 43, .30);
  --stb-pop-sh: 0 0 0 1px rgba(23, 32, 43, .06), 0 1px 2px rgba(23, 32, 43, .07), 0 12px 26px -12px rgba(23, 32, 43, .26);
  --stb-modal-sh: 0 5px 15px rgba(0, 0, 0, .28), 0 26px 50px -18px rgba(0, 0, 0, .34);
  --stb-new-sh: drop-shadow(0 1px 1px rgba(23, 32, 43, .10)) drop-shadow(0 12px 18px rgba(23, 32, 43, .24));
  /* partea paginii (urmează tema) */
  --stb-wire: #1a74a2; --stb-amb: #b5600a;
  --stb-chip-ink: #8a4b06; --stb-chip-bg: rgba(245, 158, 11, .15);
  --stb-dim: var(--bg, #f1f0ef);
  --stb-grade: none;
}
html[data-theme="dark"] .sx-rapoarte.stb-sec {
  --rap-pen: rgba(232, 228, 217, .62);
  --stb-wire: #6cb6e4; --stb-amb: #f0a95a;
  --stb-chip-ink: #f3b552; --stb-chip-bg: rgba(245, 165, 36, .14);
  --stb-grade: brightness(.92) contrast(1.06);
  --stb-win-sh: 0 0 0 1px rgba(255, 255, 255, .10), 0 2px 6px rgba(0, 0, 0, .5), 0 40px 90px -30px rgba(0, 0, 0, .8);
  --stb-pop-sh: 0 0 0 1px rgba(255, 255, 255, .08), 0 2px 6px rgba(0, 0, 0, .4), 0 22px 44px -18px rgba(0, 0, 0, .8);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .sx-rapoarte.stb-sec {
    --rap-pen: rgba(232, 228, 217, .62);
    --stb-wire: #6cb6e4; --stb-amb: #f0a95a;
    --stb-chip-ink: #f3b552; --stb-chip-bg: rgba(245, 165, 36, .14);
    --stb-grade: brightness(.92) contrast(1.06);
    --stb-win-sh: 0 0 0 1px rgba(255, 255, 255, .10), 0 2px 6px rgba(0, 0, 0, .5), 0 40px 90px -30px rgba(0, 0, 0, .8);
  }
}
.sx-rapoarte.stb-sec .sx-wrap { container: rap / inline-size; }
.sx-rapoarte.stb-sec .sx-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sx-rapoarte.stb-sec .sx-head.sx-rap-head { margin-bottom: 0; }
.sx-rapoarte.stb-sec .stb-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sx-rapoarte.stb-sec .stb-i { display: block; width: 14px; height: 14px; flex: 0 0 auto; }

/* ---------- 1. Scena: cifra în stânga, teancul în dreapta (≥ 1000 px), altfel una sub alta ---------- */
.stb-sec .stb-story { position: relative; margin-top: 34px; }
.stb-sec .stb-pin { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) {
  .stb-sec .stb-story { margin-top: 55px; }
  .stb-sec .stb-pin { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--stb-gap); }
}

/* ---------- 2. Cifra lunii ---------- */
.stb-sec .stb-hero { position: relative; min-width: 0; }
.stb-sec .stb-kick { font: 400 15px/21px var(--ws); letter-spacing: -.005em; color: var(--mute); }
.stb-sec .stb-num {
  margin-top: 8px; font: 300 clamp(56px, 6.1vw, 88px)/.95 var(--ws); letter-spacing: -.045em; color: var(--ink);
  white-space: nowrap; font-variant-numeric: lining-nums proportional-nums;
}
.stb-sec .stb-num-d { font-size: .46em; letter-spacing: -.015em; color: var(--ink2); }
.stb-sec .stb-under { margin-top: 13px; font: 400 16px/22px var(--ws); color: var(--mute); }

/* ---------- 3. Unghiurile: „Pe camion” urcă la camion; cele 3 file = controlul segmentat al site-ului ---------- */
.stb-sec .stb-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 21px; margin-top: 34px; }
.stb-sec .stb-up {
  display: inline-flex; align-items: center; gap: 5px; min-height: 40px; font: 400 15px/20px var(--ws); color: var(--ink2);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line);
}
.stb-sec .stb-up:hover { color: var(--ink); text-decoration-color: currentColor; }
.stb-sec .stb-up:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
.stb-sec .stb-up-i { flex: none; margin-top: -1px; }
.stb-sec .stb-seg { flex: 1 1 260px; max-width: 336px; --h: 34px; }
.stb-sec .stb-seg > button { font: 400 14px/16px var(--ws); }
.stb-sec .stb-seg > button.is-on { font-weight: 500; }
.stb-sec:not(.stb-js) .stb-seg { display: none; }

/* ---------- 4. Fraza fiecărui unghi ---------- */
.stb-sec .stb-caps { display: grid; margin-top: 26px; }
.stb-sec .stb-cap { grid-area: 1 / 1; min-width: 0; display: grid; gap: 8px; align-content: start; }
.stb-sec.stb-js .stb-cap { visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility 0s linear .2s; }
.stb-sec.stb-js .stb-cap.is-on { visibility: visible; opacity: 1; transition: opacity .4s ease .1s, visibility 0s; }
.stb-sec .stb-cap-k { display: none; }
.stb-sec .stb-link { font: 400 15px/21px var(--ws); letter-spacing: -.005em; color: var(--ink2); }
.stb-sec .stb-link b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.stb-sec .stb-line { font: 400 21px/28px var(--ws); letter-spacing: -.018em; color: var(--ink); max-width: 22ch; text-wrap: balance; }
.stb-sec .stb-p { font: 400 16px/24px var(--ws); color: var(--mute); max-width: 42ch; text-wrap: pretty; }
.stb-sec .stb-ev { margin-top: 8px; display: grid; gap: 13px; justify-items: start; }
.stb-sec .stb-ev-n { position: relative; padding-left: 16px; max-width: 40ch; font: 400 15px/21px var(--ws); color: var(--ink2); }
.stb-sec .stb-ev-n::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--stb-amb); }
.stb-sec .stb-ev-n--acc::before { background: var(--stb-wire); }
.stb-sec .stb-ev-k { display: none; margin-left: 5px; padding: 1px 8px; border-radius: 999px; vertical-align: 1px; background: var(--stb-chip-bg); color: var(--stb-chip-ink); font-size: 12.5px; font-weight: 500; line-height: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stb-sec .stb-ev2 { margin-top: 3px; }

/* cardul de pe tablou (Livrare la timp pe client): desenat ca în program, luminos și pe negru */
.stb-sec .stb-fc, .stb-sec .stb-fc * { letter-spacing: 0; word-spacing: 0; }
.stb-sec .stb-fc {
  width: min(320px, 100%); padding: 10px 12px 9px; background: var(--stb-pc-bg); border: 1px solid var(--stb-pc-line); border-radius: 4px;
  box-shadow: var(--stb-pop-sh); color: var(--stb-pc-mute); font-family: var(--ws); font-size: 10.5px; line-height: 1.35; font-variant-numeric: tabular-nums;
  filter: var(--stb-grade);
}
.stb-sec .stb-fc-h { font-size: 11px; font-weight: 600; color: var(--stb-pc-ink); }
.stb-sec .stb-fc-t { margin-top: 1px; text-align: center; font-size: 9.5px; color: var(--stb-pc-faint); }
.stb-sec .stb-ot { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); margin-top: 6px; padding: 36px 0 34px; }
.stb-sec .stb-ot-y, .stb-sec .stb-ot-p { position: relative; height: 78px; }
.stb-sec .stb-ot-y span { position: absolute; right: 4px; top: calc((1 - var(--t) / 100) * 100%); transform: translateY(-50%); font-size: 7.5px; line-height: 1; color: var(--stb-pc-faint); }
.stb-sec .stb-ot-p { display: flex; align-items: flex-end; border-bottom: 1px solid var(--stb-pc-axis); background-image: linear-gradient(var(--stb-pc-grid) 1px, rgba(0, 0, 0, 0) 1px); background-size: 100% 50%; }
.stb-sec .stb-ot-b { position: relative; flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.stb-sec .stb-ot-b em { flex: 0 0 auto; margin-bottom: 2px; font-style: normal; font-size: 7.5px; font-weight: 700; line-height: 1; color: var(--stb-pc-ink); }
.stb-sec .stb-ot-b i { flex: 0 0 auto; display: block; width: 46%; height: calc(var(--v) * 1%); background: rgba(var(--c), var(--stb-ot-a)); box-shadow: inset 0 0 0 1px rgb(var(--c)); transform-origin: 50% 100%; }
.stb-sec .stb-ot-b.is-r { --c: 230, 57, 70; }
.stb-sec .stb-ot-b.is-y { --c: 233, 196, 106; }
.stb-sec .stb-ot-b.is-g { --c: 42, 157, 143; }
.stb-sec .stb-ot-b span { position: absolute; left: 56%; top: calc(100% + 4px); transform-origin: 100% 0; transform: translateX(-100%) rotate(-30deg); font-size: 7px; line-height: 1.1; text-align: right; white-space: nowrap; color: var(--stb-pc-mute); }
.stb-sec .stb-ot-in { position: absolute; z-index: 2; top: 0; right: 0; padding: 3px 7px 4px; border: 1px solid var(--stb-pc-line); border-radius: 3px; background: var(--stb-ot-in); font-size: 7.5px; line-height: 1.45; color: var(--stb-pc-mute); }
.stb-sec .stb-ot-in b { display: block; margin-bottom: 1px; font-weight: 600; color: var(--stb-pc-ink); }
.stb-sec .stb-ot-in p { display: flex; justify-content: space-between; gap: 10px; }
.stb-sec .stb-fc-sum { margin-top: 2px; text-align: center; font-size: 9.5px; font-weight: 600; color: var(--stb-pc-mute); }

/* ---------- 5. Teancul și fereastra programului ---------- */
.stb-sec .stb-deck { position: relative; display: grid; min-width: 0; margin-top: 34px; padding-top: var(--stb-deck-pad); }
@media (min-width: 1000px) { .stb-sec .stb-deck { margin-top: 0; } }
.stb-sec .stb-win, .stb-sec .stb-win * { letter-spacing: 0; word-spacing: 0; }
.stb-sec .stb-win {
  grid-area: 1 / 1; position: relative; z-index: 1; min-width: 0; height: var(--stb-wh);
  border-radius: 12px; background: var(--stb-bb); box-shadow: var(--stb-win-sh); overflow: hidden;
  transform-origin: 50% 0; container: stbwin / inline-size; font-family: var(--ws); filter: var(--stb-grade);
  transition: transform .7s var(--stb-ease);
}
/* [cc 19.10] ferestrele din spate au strat propriu din start (cea din față îl primește la clic, când trece în spate): răspândirea de la intrare și schimbarea filei se fac pe compozitor, fără raster nou la prima mișcare.
   Măsurat într-un Chrome proaspăt: intrare cu rotița 61-78 ms -> 11-28 ms cadrul maxim; schimbarea filei 45-56 ms -> 6-11 ms. */
.stb-sec .stb-win:not([data-k="0"]) { will-change: transform; }
.stb-sec .stb-win::after { content: ""; position: absolute; z-index: 20; inset: 0; border-radius: inherit; pointer-events: none; background: var(--stb-dim); opacity: 0; transition: opacity .5s ease; }
.stb-sec .stb-win[data-k="0"] { z-index: 4; }
.stb-sec .stb-win[data-k="1"] { z-index: 3; transform: translateY(calc(-1 * var(--stb-pk1))) scale(.955); }
.stb-sec .stb-win[data-k="2"] { z-index: 2; transform: translateY(calc(-1 * var(--stb-pk2))) scale(.912); }
.stb-sec .stb-win[data-k="1"]::after { opacity: .32; }
.stb-sec .stb-win[data-k="2"]::after { opacity: .56; }
.stb-sec .stb-inv { grid-column: 1; margin-top: 13px; font: 400 13px/18px var(--ws); color: var(--mute); }

/* bara de sus: sigla, fila paginii, „+” (fără „Easy”) */
.stb-sec .stb-bar { position: absolute; left: 0; right: 0; top: 0; height: 34px; display: flex; align-items: flex-end; padding-right: 10px; color: var(--stb-bb-mute); }
.stb-sec .stb-logo { flex: 0 0 auto; align-self: stretch; width: 42px; display: grid; place-items: center; color: var(--stb-bb-ink); }
.stb-sec .stb-logo .stb-i { width: 18px; height: 18px; }
.stb-sec .stb-tab {
  position: relative; flex: 0 1 auto; min-width: 0; height: 27px; display: inline-flex; align-items: center; gap: 8px;
  margin-left: 6px; padding: 0 10px 0 12px; border-radius: 8px 8px 0 0;
  background: var(--stb-cv); color: var(--stb-ink); font-size: 11.5px; font-weight: 500; white-space: nowrap;
}
.stb-sec .stb-tab::before, .stb-sec .stb-tab::after { content: ""; position: absolute; bottom: 0; width: 8px; height: 8px; }
.stb-sec .stb-tab::before { left: -8px; background: radial-gradient(circle at 0 0, rgba(0, 0, 0, 0) 7.5px, var(--stb-cv) 8px); }
.stb-sec .stb-tab::after { right: -8px; background: radial-gradient(circle at 100% 0, rgba(0, 0, 0, 0) 7.5px, var(--stb-cv) 8px); }
.stb-sec .stb-tab-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.stb-sec .stb-tab-x { width: 10px; height: 10px; opacity: .6; }
.stb-sec .stb-tab--l { display: none; margin-left: 10px; }
.stb-sec .stb-add { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; margin: 0 0 2px 10px; color: var(--stb-bb-mute); }
.stb-sec .stb-add .stb-i { width: 12px; height: 12px; }

/* pânza: puncte la 20 px */
.stb-sec .stb-cv {
  position: absolute; left: 0; right: 0; top: 34px; bottom: 0; overflow: hidden; border-radius: 10px 10px 0 0;
  background-color: var(--stb-cv); background-image: radial-gradient(circle, var(--stb-dot) 1px, rgba(0, 0, 0, 0) 1.3px);
  background-size: 20px 20px; background-position: 10px 10px;
}
.stb-sec .stb-pg { position: absolute; inset: 0; padding: 12px 14px; color: var(--stb-ink2); font-size: 11px; line-height: 1.35; }
.stb-sec .stb-ph { display: flex; align-items: center; gap: 8px; min-height: 26px; margin-bottom: 10px; }
.stb-sec .stb-pt { margin-right: auto; font-size: 13.5px; font-weight: 600; color: var(--stb-ink); white-space: nowrap; }
.stb-sec .stb-sel { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 7px 0 9px; border: 1px solid var(--stb-line); border-radius: 6px; background: var(--stb-sf); color: var(--stb-ink); font-size: 11px; white-space: nowrap; }
.stb-sec .stb-sel .stb-i { width: 11px; height: 11px; color: var(--stb-ink3); }
.stb-sec .stb-flt { display: flex; gap: 6px; }

/* ---------- 6. Tabelele (table-bordered table-striped table-condensed) ---------- */
.stb-sec .stb-tbl { background: var(--stb-sf); border: 1px solid var(--stb-line); border-radius: 8px; overflow: hidden; font-variant-numeric: tabular-nums; }
.stb-sec .stb-th, .stb-sec .stb-tr { display: grid; column-gap: 8px; align-items: center; padding: 0 9px; }
.stb-sec .stb-th { min-height: 28px; padding-block: 5px; background: var(--stb-row-head); border-bottom: 1px solid var(--stb-line); font-size: 10px; font-weight: 700; line-height: 1.2; color: var(--stb-ink); }
.stb-sec .stb-tr { position: relative; height: 23px; font-size: 10.5px; color: var(--stb-ink2); white-space: nowrap; }
.stb-sec .stb-tr:nth-child(even) { background: var(--stb-row-alt); }
.stb-sec .stb-tr + .stb-tr { box-shadow: inset 0 1px 0 var(--stb-line2); }
.stb-sec :is(.stb-th, .stb-tr) > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.stb-sec :is(.stb-th, .stb-tr) > span:not(:first-child) { text-align: right; }
.stb-sec .stb-tr > span:first-child { color: var(--stb-ink); font-weight: 500; }
.stb-sec .stb-tr b { font-weight: 700; color: inherit; }
.stb-sec .stb-lnk { color: var(--stb-lnk); }
.stb-sec .stb-tr.stb-tr--tot { background: var(--stb-row-head); box-shadow: inset 0 1px 0 var(--stb-line); color: var(--stb-ink); font-weight: 700; }
.stb-sec .stb-tr.stb-tr--tot > span:first-child { font-weight: 700; }
.stb-sec .stb-fold { align-self: stretch; display: grid; place-items: center; margin-block: -6px; border-inline: 1px dashed var(--stb-line); color: var(--stb-ink3); font-weight: 400; text-align: center !important; }
/* ținta liniei: un chenar care apare (opacity), nu o culoare care se schimbă */
.stb-sec .stb-tgt, .stb-sec .stb-cargo, .stb-sec .stb-faz-d { position: relative; overflow: visible !important; }
.stb-sec .stb-t2 .stb-tr > .stb-c-s { overflow: visible; }
.stb-sec .stb-tgt::after, .stb-sec .stb-faz-d::after { content: ""; position: absolute; inset: -3px -5px; border-radius: 4px; pointer-events: none; }
.stb-sec .stb-tgt::after { box-shadow: inset 0 0 0 1.5px var(--stb-acc-line); background: rgba(26, 116, 162, .07); }
.stb-sec .stb-faz-d::after { box-shadow: inset 0 0 0 1.5px var(--stb-ok-line); background: var(--stb-ok-soft); }

/* 0 · Raport extins șofer */
.stb-sec .stb-flt .stb-sel--w { padding-right: 7px; }
.stb-sec .stb-sh { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 5px; font-size: 11.5px; font-weight: 700; color: var(--stb-ink); }
.stb-sec .stb-sh span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; font-weight: 500; color: var(--stb-ink3); }
.stb-sec .stb-t1 :is(.stb-th, .stb-tr) { grid-template-columns: minmax(116px, 1.7fr) 56px 42px 52px minmax(70px, 1fr) minmax(66px, 1fr); }
.stb-sec .stb-t1 .stb-th { align-items: end; }
.stb-sec .stb-t1 .stb-th > span { white-space: normal; }
.stb-sec .stb-t1 .stb-tr { height: 27px; }
.stb-sec .stb-t1o { display: none; }
.stb-sec .stb-t1o :is(.stb-th, .stb-tr) { grid-template-columns: 50px minmax(78px, 1.3fr) 12px 50px 40px 46px 60px minmax(70px, 1fr); column-gap: 6px; }
.stb-sec .stb-t1o .stb-th { align-items: end; }
.stb-sec .stb-t1o .stb-th > span { white-space: normal; }
.stb-sec .stb-t1o .stb-tr { height: auto; min-height: 30px; padding-block: 3px; line-height: 1.25; white-space: normal; }
.stb-sec .stb-t1o .stb-tr > span:first-child { white-space: nowrap; }
.stb-sec .stb-t1o :is(.stb-th, .stb-tr) > span:nth-child(2) { text-align: left; }
.stb-sec .stb-tr > span.stb-lnk:first-child { color: var(--stb-lnk); }
.stb-sec .stb-t1o .stb-tr span > i { display: block; font-size: .92em; font-style: italic; color: var(--stb-ink3); }
.stb-sec .stb-t1o .stb-tr.stb-tr--fold { min-height: 0; height: 17px; padding-block: 0; line-height: 1; }
.stb-sec .stb-t1o .stb-tr--fold > span { color: var(--stb-ink3); font-weight: 400; font-style: italic; }
.stb-sec .stb-t1o .stb-tr--fold > span:first-child { color: var(--stb-ink3); font-weight: 400; font-style: normal; letter-spacing: 2px; }
.stb-sec .stb-t1o .stb-tr--tot > span:last-child { font-size: .95em; }
.stb-sec .stb-rl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.stb-sec .stb-rl p { display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 24px; padding: 0 10px; border-radius: 6px; background: var(--stb-row-head); font-size: 10.5px; font-weight: 600; color: var(--stb-ink); white-space: nowrap; }
.stb-sec .stb-rl span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.stb-sec .stb-rl b { font-weight: 700; color: var(--stb-ink); font-variant-numeric: tabular-nums; }
.stb-sec .stb-rl small { margin-left: 5px; font-size: 10px; font-weight: 500; color: var(--stb-ink3); }
.stb-sec .stb-tf :is(.stb-th, .stb-tr) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stb-sec .stb-tf :is(.stb-th, .stb-tr) > span { text-align: right; }
.stb-sec .stb-tf .stb-tr > span:first-child { color: var(--stb-ink2); font-weight: 400; }
.stb-sec .stb-faz-d { justify-self: end; color: var(--stb-ink); font-weight: 700; }

/* 1 · Cifra de Afaceri */
.stb-sec .stb-t2 :is(.stb-th, .stb-tr) { grid-template-columns: minmax(96px, 1.25fr) repeat(4, minmax(72px, 1fr)); column-gap: 6px; }
.stb-sec .stb-t2 .stb-c-s { align-self: stretch; display: flex; align-items: center; justify-content: flex-end; margin-inline: -3px; padding-inline: 3px; background: var(--stb-col-hl); }
.stb-sec .stb-t2 .stb-th > .stb-c-s { margin-block: -5px; padding-block: 5px; }
.stb-sec .stb-navy { color: var(--stb-navy); font-weight: 700; }
.stb-sec .stb-t2 .stb-cargo { color: var(--stb-ink); font-weight: 700; }

/* ---------- 7. Tablou de Bord: panoul, „Evoluție”, fila nouă (clic pe bară, clic pe lună) ---------- */
.stb-sec .stb-pg--db { display: flex; flex-direction: column; }
.stb-sec .stb-cfg { flex: 0 0 auto; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 4px; background: var(--stb-cfg); color: var(--stb-cfg-ink); font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.stb-sec .stb-pc { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 9px 32px 9px 11px; background: var(--stb-pc-bg); border: 1px solid var(--stb-pc-line); border-radius: 4px; color: var(--stb-pc-mute); }
.stb-sec .stb-pc-h { display: flex; align-items: center; gap: 6px; font-size: 11.5px; }
.stb-sec .stb-pc-h b { font-weight: 600; color: var(--stb-pc-ink); white-space: nowrap; }
.stb-sec .stb-pc-info { width: 12px; height: 12px; color: var(--stb-pc-faint); }
.stb-sec .stb-sel.stb-sel--s { margin-left: auto; height: 22px; font-size: 10.5px; border-color: var(--stb-pc-line); background: var(--stb-pc-bg); color: var(--stb-pc-ink); }
.stb-sec .stb-pc-tools { position: absolute; right: 8px; top: 9px; display: grid; gap: 7px; color: var(--stb-pc-faint); }
.stb-sec .stb-pc-tools .stb-i { width: 13px; height: 13px; }
.stb-sec .stb-ch {
  position: relative; flex: 1 1 auto; min-height: 0; margin: 34px 2px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--stb-pc-axis); background-image: linear-gradient(var(--stb-pc-grid) 1px, rgba(0, 0, 0, 0) 1px); background-size: 100% 25%;
}
.stb-sec .stb-cc { position: relative; min-width: 0; }
.stb-sec .stb-cb { position: absolute; left: 24%; right: 24%; bottom: 0; height: var(--h); background: var(--stb-s0); box-shadow: inset 0 0 0 1px var(--stb-s0-b); transform-origin: 50% 100%; }
.stb-sec .stb-cc > b { position: absolute; left: -6px; right: -6px; bottom: calc(var(--h) + 3px); text-align: center; font-size: 9.5px; font-weight: 700; line-height: 1; color: var(--stb-pc-ink); font-variant-numeric: tabular-nums; }
.stb-sec .stb-cx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 5px 2px 0; text-align: center; font-size: 9px; line-height: 1.3; color: var(--stb-pc-mute); }
.stb-sec .stb-cx > span { min-width: 0; white-space: nowrap; }
.stb-sec .stb-cx em { display: block; font-style: normal; font-variant-numeric: tabular-nums; }
.stb-sec .stb-cx em i { font-style: normal; }
.stb-sec .stb-lgd { display: flex; justify-content: center; gap: 12px; margin-top: 6px; font-size: 9.5px; line-height: 1.2; color: var(--stb-pc-mute); }
.stb-sec .stb-lgd span { display: inline-flex; align-items: center; gap: 5px; }
.stb-sec .stb-lgd i { width: 18px; height: 7px; background: var(--stb-s0); box-shadow: inset 0 0 0 1px var(--stb-s0-b); }
.stb-sec .stb-pc-t { margin-top: 6px; text-align: center; font-size: 10.5px; color: var(--stb-pc-mute); }
.stb-sec .stb-pc-i { margin-top: 1px; text-align: center; font-size: 9.5px; color: var(--stb-pc-faint); }

/* bara pe care se apasă: chenarul (inel) + eticheta site-ului „clic pe bară” (adnotare, nu e în program) */
.stb-sec .stb-ring { position: absolute; z-index: 2; left: 16%; right: 16%; bottom: -4px; height: calc(var(--h) + 8px); border: 2px solid var(--stb-acc); border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.stb-sec .stb-hint {
  position: absolute; z-index: 3; left: 50%; bottom: calc(var(--h) + 19px); transform: translateX(-50%); padding: 2px 7px; border-radius: 999px;
  background: var(--stb-acc); color: #fff; font-size: 9.5px; font-weight: 600; line-height: 14px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.stb-sec .stb-hint::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -4px; border: 4px solid rgba(0, 0, 0, 0); border-top-color: var(--stb-acc); }
.stb-sec .stb-hit { display: none; position: absolute; z-index: 5; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, 0); cursor: pointer; border-radius: 5px; -webkit-tap-highlight-color: transparent; }
.stb-sec .stb-hit:focus-visible { outline: 2px solid var(--stb-acc); outline-offset: 2px; }
.stb-sec .stb-cc .stb-hit { left: 8%; right: 8%; top: -24px; bottom: -4px; }
.stb-sec .stb-hit--x { right: 4px; top: 2px; width: 34px; height: 34px; }
.stb-sec .stb-hit--back { left: 48px; top: 6px; width: 118px; height: 28px; }
.stb-sec.stb-js .stb-win--drill[data-d="0"] .stb-hit--go1,
.stb-sec.stb-js .stb-win--drill[data-d="1"] .stb-hit--go2,
.stb-sec.stb-js .stb-win--drill:is([data-d="1"], [data-d="2"]) .stb-hit--x { display: block; }
.stb-sec.stb-js .stb-win--drill[data-d="0"] .stb-go1 .stb-hint,
.stb-sec.stb-js .stb-win--drill[data-d="1"] .stb-go2 .stb-hint { opacity: 1; }
.stb-sec.stb-js .stb-win--drill[data-d="0"] .stb-go1 .stb-ring,
.stb-sec.stb-js .stb-win--drill[data-d="1"] .stb-go2 .stb-ring { opacity: .7; }
/* suma pe care se apasă (Cifra de Afaceri): inelul și eticheta stau pe celulă */
.stb-sec .stb-cargo .stb-ring { left: -6px; right: -6px; top: -4px; bottom: -4px; height: auto; }
.stb-sec .stb-hint.stb-hint--ca { position: static; display: inline-flex; align-items: center; gap: 5px; margin-top: 13px; transform: none; padding: 2px 9px 2px 7px; }
.stb-sec .stb-hint.stb-hint--ca::after { display: none; }
.stb-sec.stb-js .stb-win--drill[data-d="0"] .stb-hint--ca { opacity: 1; }
.stb-sec:not(.stb-js) .stb-hint--ca { display: none; }
.stb-sec .stb-cargo .stb-hit { left: -9px; right: -9px; top: -7px; bottom: -7px; }
@media (hover: hover) {
  .stb-sec .stb-cc .stb-hit:hover ~ .stb-cb, .stb-sec .stb-cc:hover .stb-cb { filter: none; }
  .stb-sec.stb-js .stb-win--db .stb-cc .stb-hit:hover { background: rgba(26, 116, 162, .06); }
}

/* „Evoluție” (modal-lg, dashboard.php:3243-3268) */
.stb-sec .stb-evo-bd { position: absolute; z-index: 4; inset: 0; background: var(--stb-backdrop); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.stb-sec .stb-evo {
  position: absolute; z-index: 5; left: 14px; right: 14px; top: 12px; bottom: 58px; display: flex; flex-direction: column;
  background: var(--stb-pc-bg); border-radius: 6px; box-shadow: var(--stb-modal-sh); color: var(--stb-pc-mute);
  opacity: 0; visibility: hidden; transform: scale(.3); transform-origin: 38% 62%;
  transition: opacity .22s ease, transform .5s var(--stb-ease), visibility 0s linear .5s;
}
.stb-sec .stb-evo-h { position: relative; padding: 7px 34px 7px; text-align: center; border-bottom: 1px solid var(--stb-pc-line); }
.stb-sec .stb-evo-k { font-size: 10px; font-weight: 500; line-height: 1.2; color: var(--stb-acc); }
.stb-sec .stb-evo-t { font-size: 15px; font-weight: 500; line-height: 1.2; color: var(--stb-acc); }
.stb-sec .stb-evo-s { margin-top: 2px; font-size: 10px; color: var(--stb-pc-faint); }
.stb-sec .stb-evo-x { position: absolute; right: 11px; top: 3px; font-size: 24px; line-height: 1; font-weight: 700; color: var(--stb-pc-ink); opacity: .28; }
.stb-sec .stb-evo-b { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 8px 12px 6px; }
.stb-sec .stb-evo-btns { display: flex; justify-content: flex-end; }
.stb-sec .stb-evo-btns span { padding: 3px 8px; font-size: 10px; line-height: 1.4; color: var(--stb-pc-ink); background: var(--stb-pc-bg); border: 1px solid var(--stb-btn-line); }
.stb-sec .stb-evo-btns span:first-child { border-radius: 3px 0 0 3px; }
.stb-sec .stb-evo-btns span + span { border-left: 0; border-radius: 0 3px 3px 0; }
.stb-sec .stb-evo-btns .is-on { background: var(--stb-btn-on); box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); }
.stb-sec .stb-ch.stb-ch--evo { margin-top: 44px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.stb-sec .stb-ch--evo .stb-cb { left: 16%; right: 16%; background: var(--stb-e0); box-shadow: inset 0 0 0 1px var(--stb-e0-b); }
.stb-sec .stb-ch--evo .stb-cc > b { font-size: 8.5px; }
.stb-sec .stb-ch--evo .stb-ring { left: 6%; right: 6%; }
.stb-sec .stb-ch--evo .stb-cc .stb-hit { left: -2px; right: -2px; bottom: -34px; }
.stb-sec .stb-cx.stb-cx--evo { grid-template-columns: repeat(12, minmax(0, 1fr)); font-size: 8.5px; }
.stb-sec .stb-cx--evo .is-hi { font-weight: 700; color: var(--stb-pc-ink); }
.stb-sec .stb-evo .stb-lgd i { background: var(--stb-e0); box-shadow: inset 0 0 0 1px var(--stb-e0-b); }
.stb-sec .stb-evo-f { display: flex; justify-content: flex-end; padding: 6px 12px; border-top: 1px solid var(--stb-pc-line); }
.stb-sec .stb-evo-f span { padding: 3px 10px; font-size: 10.5px; color: var(--stb-pc-ink); border: 1px solid var(--stb-btn-line); border-radius: 3px; }

/* „Lista Facturi” (client.invoice.month.php:900-920): modalul stă în golul de sub tabel și crește din sumă */
.stb-sec .stb-evo.stb-lf { top: auto; bottom: 18px; transform-origin: 72% 0; }
.stb-sec .stb-lf .stb-evo-h { padding: 8px 34px; }
.stb-sec .stb-lf .stb-evo-t { font-size: 13px; }
.stb-sec .stb-lf .stb-evo-b { padding: 10px 12px 10px; }
.stb-sec .stb-tlf :is(.stb-th, .stb-tr) { grid-template-columns: 64px 64px minmax(70px, 1fr) minmax(70px, 1fr) 12px minmax(90px, 1.1fr); column-gap: 6px; }
.stb-sec .stb-tlf :is(.stb-th, .stb-tr) > span:nth-child(-n+4) { text-align: left; }
.stb-sec .stb-tlf .stb-tr > span:last-child { color: var(--stb-ink); font-weight: 600; }
.stb-sec .stb-tlf .stb-tr.stb-tr--fold { height: 18px; }
.stb-sec .stb-tlf .stb-tr--fold > span { color: var(--stb-ink3); font-weight: 400; font-style: italic; }
.stb-sec .stb-tlf .stb-tr--fold > span:first-child { font-style: normal; letter-spacing: 2px; }
.stb-sec .stb-tlf .stb-lf-more { grid-column: 2 / 5; text-align: left !important; }

/* fila nouă ca etichetă (fereastra îngustă și fără JS) */
.stb-sec .stb-new { position: absolute; z-index: 7; right: 14px; bottom: 9px; filter: var(--stb-new-sh); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, transform .5s var(--stb-ease), visibility 0s linear .5s; }
.stb-sec .stb-new-tab { display: inline-flex; align-items: center; gap: 6px; height: 23px; padding: 0 12px 0 9px; border-radius: 8px 8px 0 0; background: var(--stb-sf); color: var(--stb-ink); font-size: 11px; font-weight: 600; }
.stb-sec .stb-new-tab .stb-i { width: 13px; height: 13px; color: var(--stb-acc); }
.stb-sec .stb-new-f { display: flex; flex-wrap: nowrap; gap: 4px; padding: 7px 9px 8px; border-radius: 0 8px 8px 8px; background: var(--stb-sf); }
.stb-sec .stb-new-f span { padding: 2px 7px; border-radius: 999px; background: var(--stb-acc-soft); color: var(--stb-acc); font-size: 10px; font-weight: 600; white-space: nowrap; }

/* fila nouă ca pagină (fereastra lată): Lista Alimentări, deja filtrată (fuel.summary.manager.php:114-143, :228-246) */
.stb-sec .stb-pg--list {
  z-index: 8; visibility: hidden; opacity: 0; transform: translateX(26px);
  background-color: var(--stb-cv); background-image: radial-gradient(circle, var(--stb-dot) 1px, rgba(0, 0, 0, 0) 1.3px); background-size: 20px 20px; background-position: 10px 10px;
  transition: opacity .25s ease, transform .5s var(--stb-ease), visibility 0s linear .5s;
}
.stb-sec .stb-flt--l { flex-wrap: wrap; margin-bottom: 10px; }
.stb-sec .stb-sel--f { border-color: var(--stb-acc-line); box-shadow: 0 0 0 2px var(--stb-col-hl); }
.stb-sec .stb-sel-k { margin-right: -1px; color: var(--stb-ink3); }
.stb-sec .stb-sel .stb-i-l { width: 11px; height: 11px; color: var(--stb-ink3); }
.stb-sec .stb-tl :is(.stb-th, .stb-tr) { grid-template-columns: 56px minmax(56px, .85fr) minmax(70px, 1.2fr) 20px minmax(86px, 1.1fr) 88px 54px 54px; column-gap: 5px; }
.stb-sec .stb-tl :is(.stb-th, .stb-tr) > span { text-align: left; }
.stb-sec .stb-tl :is(.stb-th, .stb-tr) > span:nth-child(n+7) { text-align: right; }
.stb-sec .stb-tl .stb-tr { height: auto; min-height: 30px; padding-block: 3px; font-size: 10.5px; line-height: 1.25; white-space: normal; }
.stb-sec .stb-tl .stb-tr > span:is(:first-child, :nth-child(n+5)) { white-space: nowrap; }
.stb-sec .stb-tl .stb-th { font-size: 9.5px; }
.stb-sec .stb-tl .stb-tr b { color: var(--stb-ink); }
.stb-sec .stb-tl .stb-tr span > i { display: block; font-style: italic; color: var(--stb-ink3); }
.stb-sec .stb-tl .stb-i { display: inline-block; vertical-align: -2px; width: 11px; height: 11px; color: var(--stb-okc); }
.stb-sec .stb-tl .stb-ok { margin-left: 3px; }
.stb-sec .stb-tl .stb-bat { width: 14px; height: 8px; margin-right: 4px; vertical-align: 0; }

/* pașii (data-d pe fereastra tabloului): 1 = „Evoluție” deschisă, 2 = fila nouă */
.stb-sec .stb-win--drill:is([data-d="1"], [data-d="2"]) .stb-evo-bd { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
.stb-sec .stb-win--drill:is([data-d="1"], [data-d="2"]) .stb-evo { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .55s var(--stb-ease), visibility 0s; }
.stb-sec .stb-win--db[data-d="2"] .stb-new { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease .15s, transform .5s var(--stb-ease) .15s, visibility 0s; }
@container stbwin (min-width: 471px) {
  .stb-sec .stb-win--db[data-d="2"] .stb-new { display: none; }
  .stb-sec .stb-win--db[data-d="2"] .stb-tab--l { display: inline-flex; }
  .stb-sec .stb-win--db[data-d="2"] .stb-tab--d { background-color: rgba(0, 0, 0, 0); color: var(--stb-bb-mute); }
  .stb-sec .stb-win--db[data-d="2"] .stb-tab--d::before, .stb-sec .stb-win--db[data-d="2"] .stb-tab--d::after { display: none; }
  .stb-sec .stb-win--db[data-d="2"] .stb-pg--list { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease .1s, transform .55s var(--stb-ease) .1s, visibility 0s; }
  .stb-sec.stb-js .stb-win--db[data-d="2"] .stb-hit--back { display: block; }
  .stb-sec.stb-js .stb-win--db[data-d="2"] .stb-hit--x { display: none; }
}

/* ---------- 8. Mișcarea: o dată la intrarea în ecran (.is-live) și la fiecare clic; doar transform / opacity; .stb-anim = JS + fără mișcare redusă ---------- */
@keyframes stb-row { from { opacity: 0; transform: translateY(5px); } }
@keyframes stb-grow { from { transform: scaleY(0); } }
@keyframes stb-fade { from { opacity: 0; } }
@keyframes stb-pop { from { transform: scale(0); } }
@keyframes stb-pulse { 0% { transform: scale(1); opacity: .7; } 45% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); opacity: .7; } }
@keyframes stb-up { from { opacity: 0; transform: translateY(13px); } }

/* înainte să intre în ecran: rândurile ferestrei din față și barele așteaptă (doar cu .stb-anim; altfel stau pe loc) */
.stb-sec.stb-anim:not(.is-live) .stb-win[data-k="0"] :is(.stb-tr, .stb-rl p),
.stb-sec.stb-anim:not(.is-live) .stb-win[data-k="0"] .stb-cc > b,
.stb-sec.stb-anim:not(.is-live) .stb-num { opacity: 0; }
.stb-sec.stb-anim:not(.is-live) .stb-win[data-k="0"] .stb-pc .stb-cb { transform: scaleY(0); }
.stb-sec.stb-anim:not(.is-live) .stb-win[data-k="1"],
.stb-sec.stb-anim:not(.is-live) .stb-win[data-k="2"] { transform: none; }
.stb-sec.stb-anim:not(.is-live) .stb-win:not([data-k="0"])::after { opacity: 0; }

.stb-sec.stb-anim.stb-intro .stb-num { animation: stb-up .7s var(--stb-ease) both; }
.stb-sec.stb-anim.is-live .stb-win.stb-play[data-k="0"] > .stb-cv > .stb-pg:not(.stb-pg--list) > :is(.stb-tbl, .stb-rl) > :is(.stb-tr, p) { animation: stb-row .5s var(--stb-ease) both; animation-delay: calc(.22s + var(--n, 0) * 40ms); }
.stb-sec.stb-anim.is-live .stb-win.stb-play[data-k="0"] :is(.stb-tgt, .stb-faz-d)::after { animation: stb-fade .5s ease .95s both; }
.stb-sec.stb-anim.is-live .stb-win.stb-play[data-k="0"] .stb-pc .stb-cb { animation: stb-grow .7s var(--stb-ease) both; animation-delay: calc(.3s + var(--n, 0) * 60ms); }
.stb-sec.stb-anim.is-live .stb-win.stb-play[data-k="0"] .stb-pc .stb-cc > b { animation: stb-fade .3s ease both; animation-delay: calc(.7s + var(--n, 0) * 60ms); }
.stb-sec.stb-anim.is-live .stb-win.stb-play[data-k="0"][data-d="0"] .stb-go1 .stb-ring { animation: stb-pulse 1.2s ease-in-out 1.1s 1 both; }
.stb-sec.stb-anim.is-live .stb-win.stb-play[data-k="0"][data-d="0"] :is(.stb-go1 .stb-hint, .stb-hint--ca) { animation: stb-fade .4s ease 1.1s both; }
.stb-sec.stb-anim .stb-win.stb-play[data-d="1"] .stb-evo .stb-cb { animation: stb-grow .6s var(--stb-ease) both; animation-delay: calc(.2s + var(--n, 0) * 30ms); }
.stb-sec.stb-anim .stb-win.stb-play[data-d="1"] .stb-evo .stb-cc > b { animation: stb-fade .3s ease both; animation-delay: calc(.5s + var(--n, 0) * 30ms); }
.stb-sec.stb-anim .stb-win.stb-play[data-d="1"] .stb-go2 .stb-ring { animation: stb-pulse 1.2s ease-in-out .8s 1 both; }
.stb-sec.stb-anim .stb-win.stb-play[data-d="1"] .stb-go2 .stb-hint { animation: stb-fade .4s ease .8s both; }
.stb-sec.stb-anim .stb-win.stb-play[data-d="1"] .stb-tlf .stb-tr { animation: stb-row .45s var(--stb-ease) both; animation-delay: calc(.3s + var(--n, 0) * 50ms); }
.stb-sec.stb-anim .stb-win.stb-play[data-d="2"] .stb-tl .stb-tr { animation: stb-row .45s var(--stb-ease) both; animation-delay: calc(.35s + var(--n, 0) * 50ms); }
.stb-sec.stb-anim.is-live .stb-cap.is-on.stb-play .stb-ot-b i { animation: stb-grow .6s var(--stb-ease) both; animation-delay: calc(.3s + var(--n, 0) * 50ms); }
.stb-sec.stb-anim.is-live .stb-cap.is-on.stb-play .stb-ot-b em { animation: stb-fade .3s ease both; animation-delay: calc(.6s + var(--n, 0) * 50ms); }

.stb-sec.stb-anim .stb-win.stb-play[data-d="2"] .stb-tab--l { animation: stb-fade .35s ease .1s both; }

/* ---------- 9. Linia punctată (vocea site-ului): de la frază la rândul din fereastra din față; se dezvelește cu transform ---------- */
.stb-sec .stb-wires { position: absolute; left: 0; top: 0; z-index: 6; overflow: visible; pointer-events: none; }
.stb-sec .stb-w path { fill: none; stroke: var(--stb-wire); stroke-opacity: .85; stroke-width: 1.5; stroke-dasharray: 5 6; stroke-linecap: round; }
.stb-sec .stb-w circle { fill: var(--stb-wire); stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.stb-sec .stb-w circle.stb-w-s { stroke: none; }
.stb-sec .stb-mr { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); transition: transform .75s var(--stb-io); }
.stb-sec .stb-mr.is-on { transform: none; }
.stb-sec .stb-w.is-drawing circle:not(.stb-w-s) { animation: stb-pop .35s var(--stb-ease) .7s both; }

/* ---------- 10. Întrebările de dedesubt (ca azi, copiate din sx-rapoarte.css) ---------- */
.stb-sec .sx-rap-ask { margin-top: 34px; }
.stb-sec .sx-rap-q { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 55px; }
.stb-sec .sx-rap-q > div { display: flex; flex-wrap: wrap; column-gap: 9px; align-items: baseline; font: 400 16px/22px var(--sx-f-sans); letter-spacing: -.005em; word-spacing: 0; }
.stb-sec .sx-rap-q dt { margin: 0; color: var(--sx-ink2); }
.stb-sec .sx-rap-q dd { margin: 0; font-weight: 400; color: var(--mute); }
.stb-sec .sx-rap-q dd::before { content: "→"; margin-right: 7px; font-weight: 400; color: var(--rap-pen); }
.stb-sec .sx-rap-more { margin: 8px 0 0; font: 400 16px/22px var(--sx-f-sans); letter-spacing: -.012em; word-spacing: 0; color: var(--mute); }
.stb-sec .sx-rap-more .rap-mn { font-weight: 400; color: var(--sx-ink2); white-space: nowrap; }
.stb-sec .sx-rap-more.sx-rap-exp { margin-top: 0; }
.stb-sec .sx-rap-more .rap-ml { font-weight: 500; color: var(--sx-ink2); }
.stb-sec .sx-rap-more .rap-lk { font-weight: 500; color: var(--sx-ink2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.stb-sec .rap-sep { color: var(--rap-pen); }
@container rap (min-width: 760px) {
  .stb-sec .sx-rap-q { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 55px; }
  .stb-sec .sx-rap-q > div { line-height: 21px; }
  .stb-sec .sx-rap-more { margin-top: 8px; line-height: 21px; }
}
@container rap (max-width: 559px) {
  .stb-sec .sx-rap-more .rap-wr { white-space: normal; }
  .stb-sec .sx-rap-ask { margin-top: 34px; }
  .s27 .sx.stb-sec .facts--part { margin-top: 21px; gap: 6px; }
  .s27 .sx.stb-sec .facts--part dt { line-height: 18px; }
  .s27 .sx.stb-sec .facts--part dd { margin-top: 0; line-height: 24px; }
}

/* ---------- 11. Fără JS: cele 3 unghiuri unul sub altul, fiecare cu fereastra lui, în starea finală ---------- */
.stb-sec:not(.stb-js) .stb-pin { display: flex; flex-direction: column; align-items: stretch; }
.stb-sec:not(.stb-js) :is(.stb-hero, .stb-caps, .stb-deck) { display: contents; }
.stb-sec:not(.stb-js) .stb-wires { display: none; }
.stb-sec:not(.stb-js) .stb-kick { order: 0; }
.stb-sec:not(.stb-js) .stb-num { order: 1; }
.stb-sec:not(.stb-js) .stb-under { order: 2; }
.stb-sec:not(.stb-js) .stb-nav { order: 3; margin-top: 13px; }
.stb-sec:not(.stb-js) .stb-cap { max-width: 640px; margin-top: 55px; }
.stb-sec:not(.stb-js) .stb-cap-k { display: block; justify-self: start; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font: 500 14px/20px var(--ws); color: var(--ink); }
.stb-sec:not(.stb-js) .stb-cap[data-a="0"] { order: 10; }
.stb-sec:not(.stb-js) .stb-win[data-w="0"] { order: 11; }
.stb-sec:not(.stb-js) .stb-cap[data-a="1"] { order: 20; }
.stb-sec:not(.stb-js) .stb-win[data-w="1"] { order: 21; }
.stb-sec:not(.stb-js) .stb-cap[data-a="2"] { order: 30; }
.stb-sec:not(.stb-js) .stb-win[data-w="2"] { order: 31; }
.stb-sec:not(.stb-js) .stb-inv { order: 40; }
.stb-sec:not(.stb-js) .stb-win { width: 100%; max-width: 680px; margin-top: 21px; transform: none; }
.stb-sec:not(.stb-js) .stb-win::after { display: none; }
.stb-sec:not(.stb-js) .stb-win[data-w="2"] :is(.stb-evo, .stb-evo-bd, .stb-new),
.stb-sec:not(.stb-js) .stb-win[data-w="1"] :is(.stb-evo, .stb-evo-bd) { opacity: 1; visibility: visible; transform: none; }

/* ---------- 12. Lățimi ---------- */
@media (min-width: 1000px) {
  .sx-rapoarte.stb-sec { --stb-wh: 480px; --stb-pk1: 30px; --stb-pk2: 57px; --stb-deck-pad: 60px; }
  .stb-sec.stb-js .stb-tr { height: 25px; font-size: 11px; }
  .stb-sec.stb-js .stb-th { min-height: 30px; font-size: 10.5px; }
  .stb-sec.stb-js .stb-t1 .stb-tr { height: 30px; }
  .stb-sec.stb-js .stb-t2 .stb-tr { height: 30px; }
  .stb-sec.stb-js .stb-rl p { height: 26px; font-size: 11px; }
  .stb-sec.stb-js .stb-tl .stb-tr { height: auto; min-height: 31px; font-size: 10.5px; }
  .stb-sec.stb-js .stb-tl .stb-th { font-size: 9.5px; }
  .stb-sec.stb-js .stb-t1o .stb-tr { height: auto; min-height: 29px; }
  .stb-sec.stb-js .stb-t1o .stb-tr.stb-tr--fold { min-height: 0; height: 18px; }
}
@container stbwin (min-width: 471px) {
  .stb-sec .stb-t1 { display: none; }
  .stb-sec .stb-t1o { display: block; }
}
@container stbwin (min-width: 560px) {
  .stb-sec .stb-rl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
  .stb-sec .stb-deck { width: 100%; max-width: 640px; }
  .stb-sec .stb-fc { display: none; }
  .stb-sec .stb-ev-k { display: inline-flex; }
}
@media (max-width: 599px) {
  .sx-rapoarte.stb-sec { --stb-wh: 312px; --stb-pk1: 8px; --stb-pk2: 15px; --stb-deck-pad: 17px; }
  .stb-sec .stb-story { margin-top: 21px; }
  .stb-sec .stb-kick { font-size: 14px; line-height: 20px; }
  .stb-sec .stb-num { margin-top: 5px; font-size: 54px; }
  .stb-sec .stb-under { margin-top: 8px; font-size: 16px; line-height: 22px; }
  .stb-sec .stb-nav { margin-top: 13px; gap: 8px 13px; }
  .stb-sec .sx-rap-ask { margin-top: 21px; }
  .stb-sec .stb-seg { flex-basis: 100%; max-width: none; order: -1; }
  .stb-sec.stb-js .stb-up { position: absolute; right: 0; top: -6px; min-height: 32px; font-size: 14px; }
  .stb-sec .stb-caps { margin-top: 13px; }
  .stb-sec .stb-cap { gap: 5px; }
  .stb-sec .stb-link { font-size: 16px; line-height: 22px; }
  .stb-sec .stb-line { font-size: 19px; line-height: 25px; max-width: none; }
  .stb-sec .stb-p { font-size: 16px; line-height: 23px; max-width: none; }
  .stb-sec .stb-ev { margin-top: 2px; gap: 0; }
  .stb-sec .stb-ev-n { max-width: none; font-size: 16px; line-height: 22px; }
  .stb-sec .stb-ev-n::before { top: 7px; }
  .stb-sec .stb-ev-k { font-size: 12px; padding: 0 7px; }
  .stb-sec .stb-deck { margin-top: 13px; }
  .stb-sec .stb-inv { margin-top: 8px; font-size: 16px; line-height: 22px; }
  .stb-sec:not(.stb-js) .stb-cap { margin-top: 34px; }
}

/* ferestrele de lățime medie (1024): coloane mai strânse */
@container stbwin (max-width: 600px) {
  .stb-sec .stb-tl :is(.stb-th, .stb-tr) { grid-template-columns: 48px minmax(52px, .9fr) minmax(64px, 1.3fr) 18px minmax(62px, .9fr) 84px 50px 40px; column-gap: 5px; padding: 0 7px; }
  .stb-sec .stb-tl .stb-tr, .stb-sec.stb-js .stb-tl .stb-tr { font-size: 9px; }
  .stb-sec .stb-tl .stb-th, .stb-sec.stb-js .stb-tl .stb-th { font-size: 8.5px; }
  .stb-sec .stb-t1o :is(.stb-th, .stb-tr) { grid-template-columns: 44px minmax(64px, 1.3fr) 10px 44px 36px 42px 54px minmax(62px, 1fr); column-gap: 5px; padding: 0 7px; }
  .stb-sec .stb-t1o .stb-tr, .stb-sec.stb-js .stb-t1o .stb-tr { font-size: 9.5px; }
  .stb-sec .stb-t1o .stb-th, .stb-sec.stb-js .stb-t1o .stb-th { font-size: 9px; }
  .stb-sec .stb-sel--f { height: 22px; font-size: 10px; padding: 0 6px 0 7px; }
  .stb-sec.stb-js .stb-t2 .stb-tr { font-size: 10px; }
  .stb-sec.stb-js .stb-t2 .stb-th { font-size: 9.5px; }
}

/* ferestrele înguste (telefon): mai puține coloane, scris mai mic, fără „+” */
@container stbwin (max-width: 470px) {
  .stb-sec .stb-bar { height: 30px; padding-right: 8px; }
  .stb-sec .stb-cv { top: 30px; }
  .stb-sec .stb-logo { width: 34px; }
  .stb-sec .stb-logo .stb-i { width: 15px; height: 15px; }
  .stb-sec .stb-tab { height: 24px; margin-left: 4px; padding: 0 8px 0 10px; font-size: 10.5px; }
  .stb-sec .stb-add { display: none; }
  .stb-sec .stb-pg { padding: 9px 10px; font-size: 10px; }
  .stb-sec .stb-pg--list { display: none; }
  .stb-sec .stb-ph { min-height: 22px; margin-bottom: 7px; gap: 6px; }
  .stb-sec .stb-pt { font-size: 12px; }
  .stb-sec .stb-sel { height: 21px; padding: 0 5px 0 7px; font-size: 9.5px; gap: 4px; }
  .stb-sec .stb-sel .stb-i { width: 9px; height: 9px; }
  .stb-sec :is(.stb-th, .stb-tr) { padding: 0 7px; column-gap: 6px; }
  .stb-sec .stb-th { min-height: 22px; padding-block: 3px; font-size: 9px; }
  .stb-sec .stb-tr { height: 18px; font-size: 9.5px; }
  .stb-sec .stb-tbl { border-radius: 6px; }
  .stb-sec :is(.stb-c-z, .stb-c-e, .stb-c-m, .stb-c-a) { display: none; }
  .stb-sec .stb-t1 :is(.stb-th, .stb-tr) { grid-template-columns: minmax(92px, 1.6fr) 50px minmax(64px, 1fr) minmax(50px, .85fr); }
  .stb-sec .stb-t1 .stb-tr { height: 22px; }
  .stb-sec .stb-sh { margin: 8px 0 4px; font-size: 10.5px; }
  .stb-sec .stb-sh span { font-size: 9.5px; }
  .stb-sec .stb-rl { margin-top: 6px; gap: 3px; }
  .stb-sec .stb-rl p { height: 21px; padding: 0 7px; font-size: 9.5px; }
  .stb-sec .stb-rl small { font-size: 9px; margin-left: 3px; }
  .stb-sec .stb-t2 :is(.stb-th, .stb-tr) { grid-template-columns: minmax(92px, 1.3fr) repeat(2, minmax(76px, 1fr)); }
  .stb-sec .stb-t2 .stb-tr { height: 21px; }
  .stb-sec .stb-sel--x, .stb-sec .stb-cfg { display: none; }
  .stb-sec .stb-pc { padding: 7px 22px 7px 8px; }
  .stb-sec .stb-pc-h { font-size: 10px; gap: 4px; }
  .stb-sec .stb-pc-info { width: 10px; height: 10px; }
  .stb-sec .stb-sel.stb-sel--s { height: 19px; font-size: 9px; }
  .stb-sec .stb-pc-tools { right: 5px; top: 7px; gap: 5px; }
  .stb-sec .stb-pc-tools .stb-i { width: 11px; height: 11px; }
  .stb-sec .stb-ch { margin-top: 30px; }
  .stb-sec .stb-cc > b { font-size: 8px; }
  .stb-sec .stb-cx { font-size: 7.5px; margin-top: 4px; }
  .stb-sec .stb-lgd { margin-top: 3px; gap: 9px; font-size: 8px; }
  .stb-sec .stb-lgd i { width: 13px; height: 6px; }
  .stb-sec .stb-pc-t { margin-top: 3px; font-size: 9px; }
  .stb-sec .stb-pc-i { font-size: 8.5px; }
  .stb-sec .stb-hint { font-size: 8.5px; line-height: 13px; padding: 1px 6px; bottom: calc(var(--h) + 15px); }
  .stb-sec .stb-evo { left: 8px; right: 8px; top: 7px; bottom: 50px; transform-origin: 38% 60%; }
  .stb-sec .stb-evo-h { padding: 5px 30px 5px; }
  .stb-sec .stb-evo-k { font-size: 8.5px; }
  .stb-sec .stb-evo-t { font-size: 13px; }
  .stb-sec .stb-evo-s { font-size: 8.5px; }
  .stb-sec .stb-evo-x { font-size: 19px; right: 8px; }
  .stb-sec .stb-evo-b { padding: 6px 8px 4px; }
  .stb-sec .stb-evo-btns span { padding: 2px 6px; font-size: 8.5px; }
  .stb-sec .stb-ch.stb-ch--evo { margin-top: 38px; }
  .stb-sec .stb-ch--evo .stb-cc > b { font-size: 6.5px; left: -4px; right: -4px; }
  .stb-sec .stb-cx.stb-cx--evo { font-size: 7px; }
  .stb-sec .stb-cx--evo em i { display: none; }
  .stb-sec .stb-cx--evo .is-hi em i { display: inline; }
  .stb-sec .stb-cx--evo .is-hi { position: relative; z-index: 1; overflow: visible; }
  .stb-sec .stb-evo .stb-lgd { margin-top: 3px; }
  .stb-sec .stb-evo-f { padding: 5px 8px; }
  .stb-sec .stb-evo-f span { font-size: 9px; padding: 2px 8px; }
  .stb-sec .stb-new { right: 8px; bottom: 6px; }
  .stb-sec .stb-new-tab { height: 20px; padding: 0 10px 0 8px; font-size: 10px; }
  .stb-sec .stb-new-tab .stb-i { width: 11px; height: 11px; }
  .stb-sec .stb-new-f { padding: 5px 7px 6px; gap: 3px; }
  .stb-sec .stb-new-f span { font-size: 9px; padding: 1px 6px; }
  .stb-sec .stb-hit--x { width: 30px; height: 30px; }
  .stb-sec .stb-evo.stb-lf { bottom: 10px; }
  .stb-sec .stb-lf .stb-evo-t { font-size: 11px; }
  .stb-sec .stb-lf .stb-evo-b { padding: 7px 8px 8px; }
  .stb-sec .stb-tlf :is(.stb-th, .stb-tr) { grid-template-columns: 58px 54px minmax(0, 1fr); }
  .stb-sec .stb-tlf :is(.stb-c-d, .stb-c-sc, .stb-fold) { display: none; }
  .stb-sec .stb-tlf .stb-lf-more { grid-column: 2 / 4; }
}

/* mișcare redusă: nimic nu se mișcă singur; clicurile schimbă direct */
@media (prefers-reduced-motion: reduce) {
  .stb-sec *, .stb-sec *::before, .stb-sec *::after { animation: none !important; transition: none !important; }
}
