/* ============================================================================
   mds-gsn.css · bara laterală a site-ului (lotul 179). Se încarcă doar pe
   paginile care o au (toate, în afară de pagina de activ).

   ⚠ MĂRIMILE SUNT ALE BAREI PAGINII DE ACTIV (mds-asset.css:15-49), copiate
     valoare cu valoare, ca cele două bare să arate identic: 260px lățime,
     elemente de 12,5px, grupuri de 10,5px cu majuscule, căutarea de 13px.
   ⚠ Pe telefon (sub 993px, unde tema trece pe antetul mobil) bara nu apare.
   ============================================================================ */

/* Pe desktop, bara înlocuiește antetul de sus, ca pe pagina de activ. */
@media (min-width:993px){
  .mds-gsn-page .mds-header--desktop{ display:none; }
}

.mds-gl{ display:flex; align-items:flex-start; }
.mds-gl > .mds-main{ flex:1 1 auto; min-width:0; }

.mds-gsn{
  position:sticky; top:0; align-self:flex-start;
  width:260px; flex:0 0 260px; height:100vh; box-sizing:border-box;
  display:flex; flex-direction:column; gap:var(--mds-3);
  padding:var(--mds-4) var(--mds-3);
  background:var(--mds-bg); border-right:1px solid var(--mds-line);
}
.mds-gsn .mds-sn__top{ display:flex; align-items:center; gap:2px; }
.mds-gsn .mds-sn__logo{ margin-right:auto; padding-left:8px; font-weight:700; font-size:17px; letter-spacing:-.02em; color:var(--mds-tx); text-decoration:none; }
.mds-gsn .mds-sn__logo b{ color:var(--mdsx-orange, #f06c00); }
.mds-gsn .mds-sn__menu{ color:var(--mds-tx-2); }
.mds-gsn .mds-sn__search{
  display:flex; align-items:center; gap:var(--mds-2);
  width:100%; padding:9px var(--mds-3); cursor:text;
  background:var(--mds-card); border:1px solid var(--mds-line);
  border-radius:var(--mds-r-el); color:var(--mds-tx-3); font:inherit; font-size:13px; text-align:left;
}
.mds-gsn .mds-sn__search:hover{ border-color:var(--mds-line-2); }
.mds-gsn .mds-sn__search kbd{ margin-left:auto; padding:2px 6px; border-radius:5px; background:var(--mds-selected); color:var(--mds-tx-3); font:600 11px/1.2 inherit; }
.mds-gsn .mds-sn__nav{ display:flex; flex-direction:column; gap:2px; overflow-y:auto; flex:1; margin:var(--mds-1) 0; scrollbar-width:none; }
.mds-gsn .mds-sn__nav::-webkit-scrollbar{ display:none; }
.mds-gsn .mds-sn__group{ font-size:10.5px; font-weight:500; letter-spacing:.05em; text-transform:uppercase; color:var(--mds-tx); padding:var(--mds-3) var(--mds-3) var(--mds-1); }
.mds-gsn .mds-sn__group a{ color:inherit; text-decoration:none; }
.mds-gsn .mds-sn__item{
  display:flex; align-items:center; justify-content:space-between; gap:var(--mds-2);
  padding:8px var(--mds-3); border-radius:var(--mds-r-sm);
  color:var(--mds-tx-2); font-size:12.5px; text-decoration:none; cursor:pointer;
  min-height:34px;
}
.mds-gsn .mds-sn__item:hover{ background:var(--mds-card); color:var(--mds-tx); }
.mds-gsn .mds-sn__item.active{ color:var(--mds-tx); font-weight:500; background:var(--mds-selected); }
.mds-gsn .mds-sn__foot{ display:flex; flex-direction:column; gap:var(--mds-2); padding-top:var(--mds-2); border-top:1px solid var(--mds-line); }
.mds-gsn .mds-sn__foot .mds-btn{ height:32px; font-size:12.5px; font-weight:400; }

/* legătura: iconiță + text în stânga, insignă sau variație în dreapta */
.mds-gsn__l{ display:flex; align-items:center; gap:10px; min-width:0; }
.mds-gsn__l > span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mds-gsn__i{ flex:none; opacity:.75; }
.mds-gsn__b{ min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:var(--mds-selected); color:var(--mds-tx); font-size:10.5px; font-weight:700; line-height:18px; font-style:normal; text-align:center; }
.mds-gsn__v{ flex:none; font-style:normal; font-weight:600; font-size:12px; font-variant-numeric:tabular-nums; color:var(--mds-tx-2); }
.mds-gsn__v--up{ color:var(--mds-pos, #00ba7c); }
.mds-gsn__v--dn{ color:var(--mds-neg, #f4212e); }
.mds-gsn__wl{ min-height:30px; padding-top:6px; padding-bottom:6px; }

@media (max-width:992px){
  .mds-gsn{ display:none; }
  .mds-gl{ display:block; }
}

/* Screenerul: pe toată lățimea din dreapta barei (tabelul are multe coloane). */
.mds-gsn-page .mds-container--lat{ max-width:none; padding-left:40px; padding-right:40px; }
.mds-gsn-page .mds-container--lat .mdsx__in{ max-width:none; }
@media (max-width:992px){ .mds-gsn-page .mds-container--lat{ padding-left:20px; padding-right:20px; } }

/* Subsolul în coloana paginii: aceeași margine ca secțiunile (40px pe desktop). */
.mds-gl .mds-main > .mds-footer .mds-container{ box-sizing:border-box; padding-left:40px; padding-right:40px; }
@media (max-width:992px){ .mds-gl .mds-main > .mds-footer .mds-container{ padding-left:20px; padding-right:20px; } }

/* Coloanele de active și blocul cu sigla, despărțite ca pe pagina de activ (mds-asset.css:55). */
.mds-gl .mds-main > .mds-footer .mds-footer__top{ margin-top:var(--mds-6); }

/* Pe desktop, coloana din dreapta barei are aceeași margine peste tot (40px): eroul, secțiunile
   și subsolul încep pe aceeași linie verticală (înainte eroul avea 20px, secțiunile 0). */
@media (min-width:993px){
  .mds-gsn-page .mds-main > .mds-container,
  .mds-gsn-page .mds-main .mds-hero__in{ box-sizing:border-box; padding-left:40px; padding-right:40px; }
  /* Paginile fără erou (screenerul) nu mai au antetul deasupra: le dăm aerul de sus al paginii de activ. */
  .mds-gsn-page .mds-main > .mds-container--lat:first-child{ padding-top:var(--mds-5); }
  /* Pe lățimea întreagă, introducerea screenerului nu se mai întinde pe un singur rând de 1500px. */
  .mds-gsn-page .mds-container--lat .xgh__l{ max-width:880px; }
}
