/* ═══════════════════════════════════════════════════════════════════════
   MAXIS — varianta de telefon

   Tot ce e aici stă sub 768px. Pe desktop nu se schimbă nimic, deci
   paginile pot fi reparate pe mobil fără teama că se strică la birou.

   Trei idei ţin totul:
   1. Listele devin carduri. Un tabel cu 15 coloane nu încape pe 400px;
      înghesuit, ajunge o literă pe rând. Fiecare rând devine un card cu
      perechi etichetă — valoare, etichetele luate din capul tabelului
      (mobil.js le pune). Filtrele stau într-un panou care se deschide.
   2. Rapoartele rămân tabele, derulate în cadrul lor. Cifrele pe coloane
      se compară pe orizontală; ca şi carduri n-ar mai spune nimic.
   3. Nimic nu împinge pagina lateral. Ce e prea lat derulează în cutia
      lui, nu toată pagina.
   ═══════════════════════════════════════════════════════════════════════ */

/* aceleaşi culori ca app.css — modulele EBITDA şi ToDo nu-l încarcă */
:root {
  --ec-primary: #0B2F66; --ec-primary-700: #071A36; --ec-primary-soft: #eef3fb;
  --ec-g50: #fafbfc; --ec-g100: #f4f6f8; --ec-g200: #e6e8ec; --ec-g300: #d4d8de;
  --ec-g500: #6b7280; --ec-g700: #374151; --ec-g900: #111827;
  --ec-nav-h: 52px;
  --ec-m-bara-jos: 58px;
  --ec-m-safe-jos: env(safe-area-inset-bottom, 0px);
  --ec-m-raza: 12px;
}

/* bara de jos, meniul de telefon şi uneltele listelor nu există pe desktop */
.ec-m-jos, .ec-m-meniu-extra, .ec-m-unelte, .ec-m-maimult-td, .ec-m-sus { display: none; }

@media (max-width: 767.98px) {

  html { -webkit-text-size-adjust: 100%; }
  body { -webkit-tap-highlight-color: rgba(11,47,102,.08); background: #f4f6fa; }

  /* ── nimic nu împinge pagina lateral ─────────────────────────────── */
  .page-body { overflow-x: clip; margin-top: 0 !important;
               padding-bottom: calc(var(--ec-m-bara-jos) + var(--ec-m-safe-jos) + 16px); }
  .page-body > .container-fluid { padding-left: 12px !important; padding-right: 12px !important; }
  img, canvas, svg { max-width: 100%; }

  /* ── bara de sus: Acasă · Căutare · Calendar · Notificări · Meniu ──
     Comenzile fixe, folosite din când în când. Cele de zi cu zi stau jos,
     unde ajunge degetul mare. Profilul e în Meniu. */
  header.navbar { position: sticky; top: 0; z-index: 1035; min-height: 52px;
                  padding-top: env(safe-area-inset-top, 0px); padding-bottom: 0;
                  box-shadow: 0 1px 0 rgba(15,23,42,.06); transition: transform .22s ease; }
  header.navbar > .container-fluid { flex-wrap: nowrap; gap: 0; min-height: 52px;
                                     padding-left: 4px !important; padding-right: 4px !important; }
  .ec-m-sus { display: inline-flex; align-items: center; justify-content: center;
              width: 44px; height: 44px; color: var(--ec-g700); border-radius: 10px; flex: none; }
  .ec-m-sus svg { width: 23px; height: 23px; stroke-width: 1.8; }
  .ec-m-sus:active { background: var(--ec-g100); }
  header.navbar .ec-m-acasa { order: 0; }
  header.navbar .navbar-brand { display: none !important; }
  header.navbar > .container-fluid > .navbar-nav.flex-row { order: 2; gap: 0; flex-wrap: nowrap;
                                                            margin-left: auto; align-items: center; }
  header.navbar .navbar-toggler { order: 3; width: 44px; height: 44px; border: 0; padding: 0;
                                  margin: 0; box-shadow: none !important; }
  header.navbar > .container-fluid > .navbar-nav.flex-row .ec-limba,
  header.navbar > .container-fluid > .navbar-nav.flex-row a[href="/ghid"],
  header.navbar .ec-m-profil { display: none !important; }
  header.navbar .me-2 { margin-right: 0 !important; }
  #tk-clopot { margin-right: 0 !important; }
  #tk-buton { width: 44px; height: 44px; padding: 0 !important; display: flex !important;
              align-items: center; justify-content: center; color: var(--ec-g700); }
  #tk-buton .ec-m-clopot { width: 23px; height: 23px; stroke-width: 1.8; }
  #tk-bulina { top: 5px !important; right: 3px !important; }
  .ec-intreb-buton { width: 44px !important; height: 44px !important; color: var(--ec-g700); }
  .ec-intreb-buton svg { width: 22px; height: 22px; }

  /* la derulare în jos barele se retrag; la derulare în sus revin (mobil.js) */
  html.ec-m-retrase header.navbar { transform: translateY(-100%); }
  html.ec-m-retrase .ec-m-jos { transform: translateY(100%); }

  /* căutarea în cuvinte: doar lupa în bară, panoul pe toată lăţimea */
  .ec-intreb-buton { width: 38px; height: 38px; padding: 0; justify-content: center;
                     border-color: transparent; background: transparent; }
  .ec-intreb-buton span { display: none; }
  .ec-intreb-panou { position: fixed; left: 8px; right: 8px; width: auto !important;
                     top: calc(var(--ec-nav-h) + 6px); max-height: calc(100dvh - var(--ec-nav-h) - 24px);
                     overflow-y: auto; border-radius: var(--ec-m-raza); }
  .ec-intreb-cap input { font-size: 16px; padding: 13px 14px; }

  /* meniurile derulante din bară: foaie pe lăţimea ecranului, nu balon */
  header.navbar .navbar-nav.flex-row .dropdown-menu {
    position: fixed !important; inset: auto 8px auto 8px !important;
    top: calc(var(--ec-nav-h) + 6px) !important; transform: none !important;
    width: auto !important; max-height: 70dvh; overflow-y: auto;
    border-radius: var(--ec-m-raza) !important; box-shadow: 0 16px 40px rgba(15,23,42,.18);
  }

  /* meniul principal: ecran întreg sub bară, nu listă care împinge pagina */
  #topmenu.navbar-collapse { position: fixed; left: 0; right: 0;
    top: var(--ec-nav-h); bottom: 0; z-index: 1034;
    background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 6px 0 calc(var(--ec-m-bara-jos) + var(--ec-m-safe-jos) + 12px);
    border-top: 1px solid var(--ec-g200); }
  #topmenu.collapsing { transition: height .2s ease; }
  #topmenu .navbar-nav { margin: 0 !important; padding: 0 8px; }
  #topmenu .nav-item { border-bottom: 1px solid var(--ec-g100); }
  #topmenu .nav-link { min-height: 50px; padding: 0 12px !important; font-size: 15.5px;
                       font-weight: 600; color: var(--ec-g900); display: flex; align-items: center; }
  /* săgeata Tabler e un colţ rotit la -45°; deschisă, se întoarce în sus (135°) */
  #topmenu .dropdown-toggle::after { margin-left: auto; transition: transform .15s; }
  #topmenu .dropdown-toggle.show::after { transform: rotate(135deg); }
  #topmenu .dropdown-menu { position: static !important; transform: none !important;
    border: 0; box-shadow: none; margin: 0 0 8px; padding: 0 0 0 8px; background: transparent; }
  #topmenu .dropdown-item { min-height: 44px; display: flex; align-items: center;
    padding: 0 12px; font-size: 15px; color: var(--ec-g700); border-radius: 8px;
    white-space: normal; }
  #topmenu .dropdown-item:active { background: var(--ec-primary-soft); }
  #topmenu .dropdown-divider { margin: 4px 12px; }
  #topmenu .ec-in-lucru { font-size: 14px; }

  .ec-m-meniu-extra { display: block; padding: 14px 20px 4px; }
  .ec-m-meniu-extra .ec-m-rand { display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap; margin-bottom: 12px; }
  .ec-m-meniu-extra .ec-limba { display: inline-flex !important; margin: 0; }
  .ec-m-meniu-extra .ec-limba a { padding: 7px 14px; font-size: 13px; }
  .ec-m-meniu-extra .ec-m-leg { display: inline-flex; align-items: center; height: 36px;
    padding: 0 14px; border: 1px solid var(--ec-g200); border-radius: 8px;
    color: var(--ec-g700); text-decoration: none; font-size: 14px; background: #fff; }

  /* ── bara de jos, ca la o aplicaţie ──────────────────────────────── */
  .ec-m-jos { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1036;
    height: calc(var(--ec-m-bara-jos) + var(--ec-m-safe-jos));
    padding-bottom: var(--ec-m-safe-jos);
    background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-top: 1px solid var(--ec-g200); transition: transform .22s ease; }
  .ec-m-jos a, .ec-m-jos button { flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px; border: 0; background: none;
    color: #7b8494; text-decoration: none; font-size: 10.5px; font-weight: 600;
    letter-spacing: .01em; padding: 0; min-width: 0; }
  .ec-m-jos svg { width: 23px; height: 23px; stroke-width: 1.8; }
  .ec-m-jos .on { color: var(--ec-primary); }
  .ec-m-jos .on svg { stroke-width: 2.2; }
  .ec-m-jos span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* ── butonul Înapoi: mic, nu un rând întreg ──────────────────────── */
  #ec-back-btn { height: 30px; min-height: 30px; padding: 0 10px !important; font-size: 13px !important;
                 border-color: transparent; background: transparent; color: var(--ec-primary);
                 margin-left: -6px; }
  .page-body > .container-fluid > .mb-2:first-child { margin-bottom: 2px !important; }

  /* ── antete de pagină ────────────────────────────────────────────── */
  .ec-antet-lista { flex-direction: column; align-items: stretch; gap: 10px; padding: 4px 0 8px; }
  .ec-antet-lista .ec-antet-titlu { flex-wrap: wrap; row-gap: 2px; }
  .ec-antet-lista .ec-antet-titlu .page-title,
  .ec-head h1, .dash-header h1, .page-title { font-size: 22px !important; font-weight: 700; }
  .ec-antet-lista .ec-antet-taburi { order: 2; text-align: left; }
  .ec-antet-lista .ec-antet-actiuni { margin-left: 0; order: 3; }
  .ec-head { gap: 10px; margin-bottom: 12px; }
  .ec-head .ec-spacer { display: none; }
  .ec-head > div:first-child { flex-basis: 100%; }
  .dash-header { flex-direction: column; align-items: stretch !important; gap: 10px; }
  .dash-header > div:last-child { flex-wrap: wrap; gap: 10px 14px !important; }
  .page-header { margin-bottom: 12px !important; }
  .page-header .row { row-gap: 10px; }
  .page-header .col-auto.ms-auto { margin-left: 0 !important; width: 100%; }
  .rp-header-compact { flex-direction: column; align-items: stretch; gap: 4px; }

  /* acţiunile din antet: un rând, butonul principal + „Mai mult" (mobil.js) */
  .ec-m-bara { display: flex; align-items: center; gap: 8px; width: 100%; }
  .ec-m-bara > .btn, .ec-m-bara > .ec-btn, .ec-m-bara > a { height: 40px; min-height: 40px;
    padding: 0 16px; font-size: 14px; border-radius: 10px !important; }
  .ec-m-bara > .btn-primary, .ec-m-bara > .ec-btn-primary { flex: 1; justify-content: center; }
  .ec-m-mai { position: relative; }
  .ec-m-mai > summary { list-style: none; height: 40px; min-width: 40px; padding: 0 14px;
    display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ec-g300);
    border-radius: 10px; background: #fff; font-size: 14px; font-weight: 600;
    color: var(--ec-g700); cursor: pointer; user-select: none; }
  .ec-m-mai > summary::-webkit-details-marker { display: none; }
  .ec-m-mai[open] > summary { background: var(--ec-g100); }
  .ec-m-mai-lista { position: absolute; right: 0; top: 46px; z-index: 1030; min-width: 240px;
    max-width: calc(100vw - 24px); background: #fff; border: 1px solid var(--ec-g200);
    border-radius: var(--ec-m-raza); box-shadow: 0 16px 40px rgba(15,23,42,.18); padding: 6px; }
  .ec-m-mai-lista > *, .ec-m-mai-lista form > .btn, .ec-m-mai-lista form > .ec-btn,
  .ec-m-mai-lista form > button { display: flex !important; width: 100%; min-height: 44px;
    height: auto !important; align-items: center; justify-content: flex-start !important;
    padding: 8px 12px !important; margin: 0 !important; border: 0 !important;
    background: none !important; color: var(--ec-g900) !important; font-size: 14.5px !important;
    font-weight: 500; text-align: left; border-radius: 8px !important; box-shadow: none !important;
    text-decoration: none; white-space: normal; }
  .ec-m-mai-lista > form { padding: 0 !important; min-height: 0; }
  .ec-m-mai-lista > *:active, .ec-m-mai-lista form > *:active { background: var(--ec-g100) !important; }

  /* ── taburi şi cipuri: un rând care derulează, nu un zid ─────────── */
  .ec-seg, .ec-file, .subnav, .ec-verif, .alerts-strip, .td-file, .nav-tabs, .nav-pills,
  .tva-switch, .ec-m-derulant {
    display: flex !important; flex-wrap: nowrap !important; overflow-x: auto;
    overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    max-width: 100%; scroll-snap-type: x proximity;
    /* centrat, un rând care depăşeşte nu mai poate fi derulat spre stânga */
    justify-content: flex-start !important; }
  .ec-seg::-webkit-scrollbar, .ec-file::-webkit-scrollbar, .subnav::-webkit-scrollbar,
  .ec-verif::-webkit-scrollbar, .alerts-strip::-webkit-scrollbar, .nav-tabs::-webkit-scrollbar,
  .ec-m-derulant::-webkit-scrollbar { display: none; }
  .ec-seg > *, .ec-file > *, .subnav > *, .ec-verif > *, .alerts-strip > *,
  .nav-tabs > *, .nav-pills > *, .ec-m-derulant > * { flex: none; white-space: nowrap; scroll-snap-align: start; }
  .ec-seg { width: 100%; height: 38px !important; }
  .ec-seg a { height: 38px !important; padding: 0 14px !important; font-size: 13.5px; }
  .text-center > .ec-seg { margin: 0 auto; }
  .alerts-strip { padding: 8px; gap: 6px; }
  .ec-verif { gap: 6px; padding-bottom: 2px; }
  .ec-vchip { height: 34px !important; padding: 0 13px !important; font-size: 13px; }

  /* ── indicatori ──────────────────────────────────────────────────── */
  .ec-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ec-stat { padding: 10px 12px; border-radius: 10px; }
  .ec-stat .v { font-size: 18px; }
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .kpi-card { padding: 12px 12px 12px 15px !important; border-radius: 10px !important; min-width: 0; }
  .kpi-card .kpi-label { font-size: 10px !important; padding-right: 34px; }
  .kpi-card .d-eur, .kpi-card .kpi-value { font-size: 18px !important; word-break: break-word; }
  .kpi-card .kpi-sub, .kpi-card .d-ron { font-size: 11px !important; }
  .cmc-tr .nm, .cmc-thead .nm { text-align: left; }
  .dash-card h3 { flex-wrap: wrap; gap: 6px; line-height: 1.35; }
  .days-progress { white-space: nowrap; margin-left: 0 !important; }
  .zone-c, .zone-e, .zone-f { grid-template-columns: minmax(0, 1fr) !important; }
  .dash-card, .cmc, .ec-card { border-radius: 10px !important; min-width: 0; }
  .card { border-radius: 10px; }
  .row-cards { --tblr-gutter-y: .5rem; }

  /* ── tabele de raport: derulează în cutia lor ────────────────────── */
  .ec-m-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%;
                 overscroll-behavior-x: contain; }
  .ec-m-scroll > table { margin-bottom: 0; }
  .table-responsive { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  /* coloanele lipite pe dreapta ar acoperi tot ecranul; pe telefon rămâne doar prima */
  .rp-sticky-r1, .rp-sticky-r2, .rp-sticky-r3, .rp-sticky-r4 { position: static !important;
    min-width: 0 !important; box-shadow: none !important; }
  .rp-sticky-l1 { min-width: 128px !important; max-width: 150px !important;
                  white-space: normal !important; }
  .lb-perf-table, .aging-matrix { min-width: 560px; }

  /* ── listele ca şi carduri (mobil.js pune .ec-m-carduri) ─────────── */
  .ec-m-cadru { border: 0 !important; background: transparent !important;
                box-shadow: none !important; overflow: visible !important; }
  .ec-m-cadru > .card-body { padding: 0 !important; }
  table.ec-m-carduri { display: block; width: 100% !important; min-width: 0 !important;
    table-layout: auto !important; border: 0 !important; background: transparent !important;
    margin: 0 !important; font-size: 14px; }
  table.ec-m-carduri colgroup, table.ec-m-carduri > thead > tr:not(.ec-m-filtre),
  table.ec-m-carduri > tfoot { display: none !important; }
  table.ec-m-carduri > thead { display: block; }
  table.ec-m-carduri > tbody { display: flex; flex-direction: column; gap: 8px; }
  table.ec-m-carduri > tbody > tr { display: flex; flex-direction: column; position: relative; background: #fff;
    border: 1px solid var(--ec-g200); border-radius: var(--ec-m-raza);
    padding: 11px 14px 9px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
  table.ec-m-carduri > tbody > tr:active { background: var(--ec-g50); }
  /* eticheta pluteşte la stânga, conţinutul curge aliniat la dreapta: o celulă cu
     mai multe bucăţi (sumă + „fără TVA", insignă + text) rămâne grupată */
  table.ec-m-carduri > tbody > tr > td { display: block; width: auto !important; max-width: none !important;
    min-width: 0 !important; height: auto !important; padding: 4px 0 !important;
    border: 0 !important; background: transparent !important; text-align: right !important;
    white-space: normal !important; overflow: visible !important; font-size: 13.5px;
    color: var(--ec-g900); position: static !important; box-shadow: none !important; }
  table.ec-m-carduri > tbody > tr > td::after { content: ""; display: table; clear: both; }
  table.ec-m-carduri > tbody > tr > td::before { content: attr(data-m-et); float: left;
    max-width: 46%; margin-right: 12px; text-align: left; color: var(--ec-g500); font-size: 12.5px;
    font-weight: 500; line-height: 1.35; }
  table.ec-m-carduri > tbody > tr > td > * { min-width: 0; }
  table.ec-m-carduri > tbody > tr > td .ec-val small { display: block; }
  /* titlul cardului: fără etichetă, mai mare, pe primul rând */
  table.ec-m-carduri > tbody > tr > td.ec-m-titlu { display: block; text-align: left !important;
    order: -1; font-size: 16px; font-weight: 700; padding: 0 34px 6px 0 !important; margin-bottom: 4px;
    border-bottom: 1px solid var(--ec-g100) !important; line-height: 1.3; }
  table.ec-m-carduri > tbody > tr > td.ec-m-titlu::before { content: none; }
  table.ec-m-carduri > tbody > tr > td.ec-m-titlu * { font-size: inherit; }
  table.ec-m-carduri > tbody > tr > td.ec-m-gol,
  table.ec-m-carduri > tbody > tr > td.ec-m-extra { display: none; }
  table.ec-m-carduri > tbody > tr.ec-m-deschis > td.ec-m-extra { display: block; }
  table.ec-m-carduri > tbody > tr > td.ec-m-maimult-td { order: 50; }
  table.ec-m-carduri > tbody > tr > td.ec-m-actiuni { order: 60; }
  /* titlul are dedesubt o linie; fără titlu, bifa are nevoie de loc pe primul rând */
  table.ec-m-carduri > tbody > tr:not(:has(> .ec-m-titlu)) > td:not(.ec-m-bifa):first-of-type { padding-right: 40px !important; }
  table.ec-m-carduri > tbody > tr > td.ec-m-plin { display: block; text-align: center !important;
    padding: 24px 8px !important; color: var(--ec-g500); }
  table.ec-m-carduri > tbody > tr > td.ec-m-plin::before { content: none; }
  /* bifa de selecţie: colţul din dreapta sus, cu zonă mare de atingere */
  table.ec-m-carduri > tbody > tr > td.ec-m-bifa { position: absolute !important; top: 4px; right: 4px;
    width: 40px !important; height: 40px !important; padding: 0 !important;
    display: flex; align-items: center; justify-content: center; z-index: 2; }
  table.ec-m-carduri > tbody > tr > td.ec-m-bifa::before { content: none; }
  table.ec-m-carduri > tbody > tr > td.ec-m-bifa input { width: 20px; height: 20px; margin: 0; }
  /* acţiunile de pe rând (1-2 iconiţe): sus, lângă bifă, nu un rând întreg */
  table.ec-m-carduri > tbody > tr > td.ec-m-actiuni { position: absolute !important; top: 6px;
    right: 6px; padding: 0 !important; display: flex; gap: 4px; z-index: 2; }
  table.ec-m-carduri > tbody > tr:has(> .ec-m-bifa) > td.ec-m-actiuni { right: 46px; }
  table.ec-m-carduri > tbody > tr:has(> .ec-m-actiuni) > td.ec-m-titlu { padding-right: 52px !important; }
  table.ec-m-carduri > tbody > tr:has(> .ec-m-actiuni):has(> .ec-m-bifa) > td.ec-m-titlu { padding-right: 92px !important; }
  table.ec-m-carduri > tbody > tr > td.ec-m-actiuni::before { content: none; }
  table.ec-m-carduri > tbody > tr > td.ec-m-actiuni.ec-m-actiuni-rand { position: static !important;
    justify-content: flex-end; flex-wrap: wrap; padding-top: 8px !important; margin-top: 4px;
    border-top: 1px solid var(--ec-g100) !important; }
  table.ec-m-carduri > tbody > tr:has(> .ec-m-actiuni-rand) > td.ec-m-titlu,
  table.ec-m-carduri > tbody > tr:has(> .ec-m-actiuni-rand):has(> .ec-m-bifa) > td.ec-m-titlu { padding-right: 34px !important; }
  table.ec-m-carduri > tbody > tr > td.ec-m-actiuni .btn { min-height: 36px; height: 36px; }
  table.ec-m-carduri > tbody > tr > td.ec-m-actiuni .btn-icon { width: 36px; }
  table.ec-m-carduri > tbody > tr > td.ec-m-maimult-td { display: block; padding: 0 !important; }
  table.ec-m-carduri > tbody > tr > td.ec-m-maimult-td::before { content: none; }
  .ec-m-mai-mult { display: block; width: 100%; margin-top: 4px; padding: 6px 0 2px;
    border: 0; border-top: 1px dashed var(--ec-g200); background: none;
    color: var(--ec-primary); font-size: 13px; font-weight: 600; text-align: center; }
  table.ec-m-carduri .badge, table.ec-m-carduri .ec-status { white-space: nowrap; }
  table.ec-m-carduri tr.ec-rand-salvat { border-color: #00B3A4 !important; background: #EEF9F8 !important; }
  table.ec-m-carduri tr.ec-rand-salvat > td { background: transparent !important; box-shadow: none !important; }

  /* rândurile de grup/subtotal dintr-o listă rămân benzi, nu carduri */
  table.ec-m-carduri > tbody > tr.ec-m-banda { background: transparent; border: 0; box-shadow: none;
    padding: 12px 4px 0; }
  table.ec-m-carduri > tbody > tr.ec-m-banda > td { display: block; text-align: left !important;
    font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
    color: var(--ec-g500); padding: 0 !important; }
  table.ec-m-carduri > tbody > tr.ec-m-banda > td::before { content: none; }

  /* ── filtre: panou care se deschide ──────────────────────────────── */
  .ec-m-unelte { display: flex; gap: 8px; align-items: center; margin: 4px 0 10px; }
  .ec-m-unelte .ec-m-filtre-btn { height: 40px; padding: 0 14px; display: inline-flex;
    align-items: center; gap: 8px; border: 1px solid var(--ec-g300); border-radius: 10px;
    background: #fff; font-size: 14px; font-weight: 600; color: var(--ec-g700); }
  .ec-m-unelte .ec-m-filtre-btn b { display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
    background: var(--ec-primary); color: #fff; font-size: 11.5px; }
  .ec-m-unelte .ec-m-filtre-btn[aria-expanded="true"] { background: var(--ec-primary-soft);
    border-color: var(--ec-primary); color: var(--ec-primary-700); }
  .ec-m-unelte .ec-m-sort { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--ec-g300);
    border-radius: 10px; padding: 0 32px 0 12px; font-size: 16px !important; color: var(--ec-g700);
    -webkit-appearance: none; appearance: none; text-overflow: ellipsis;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center; }
  .ec-m-unelte .ec-m-nr { margin-left: auto; font-size: 12.5px; color: var(--ec-g500); white-space: nowrap; }

  table.ec-m-carduri > thead > tr.ec-m-filtre { display: none; }
  table.ec-m-carduri.ec-m-filtre-deschise > thead > tr.ec-m-filtre {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 12px;
    padding: 14px; background: #fff; border: 1px solid var(--ec-primary);
    border-radius: var(--ec-m-raza); box-shadow: 0 6px 18px rgba(11,47,102,.10); }
  table.ec-m-carduri > thead > tr.ec-m-filtre > * { display: block; position: static !important;
    width: 100% !important; padding: 0 !important; border: 0 !important; background: transparent !important;
    box-shadow: none !important; text-align: left !important; }
  table.ec-m-carduri > thead > tr.ec-m-filtre > *::before { content: attr(data-m-et); display: block;
    font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
    color: var(--ec-g500); margin-bottom: 4px; }
  table.ec-m-carduri > thead > tr.ec-m-filtre > *::after { content: none !important; }
  table.ec-m-carduri > thead > tr.ec-m-filtre > .ec-m-gol { display: none; }
  table.ec-m-carduri > thead > tr.ec-m-filtre .form-control, table.ec-m-carduri > thead > tr.ec-m-filtre .form-select,
  table.ec-m-carduri > thead > tr.ec-m-filtre .ec-input, table.ec-m-carduri > thead > tr.ec-m-filtre .ec-select,
  table.ec-m-carduri > thead > tr.ec-m-filtre input:not([type=checkbox]), table.ec-m-carduri > thead > tr.ec-m-filtre select {
    width: 100% !important; min-height: 42px; height: auto; font-size: 16px !important; }
  table.ec-m-carduri > thead > tr.ec-m-filtre .ts-control { min-height: 42px !important; font-size: 15px !important; }
  /* butoanele de acţiune în masă din rândul de filtre rămân la vedere */
  table.ec-m-carduri > thead > tr.ec-m-filtre > .ec-m-masa { display: block !important; }
  table.ec-m-carduri:not(.ec-m-filtre-deschise) > thead > tr.ec-m-filtre:has(> .ec-m-masa) {
    display: block; margin-bottom: 8px; }
  table.ec-m-carduri:not(.ec-m-filtre-deschise) > thead > tr.ec-m-filtre > :not(.ec-m-masa) { display: none; }
  table.ec-m-carduri > thead > tr.ec-m-filtre > .ec-m-masa::before { content: none; }
  table.ec-m-carduri > thead > tr.ec-m-filtre > .ec-m-masa .btn { min-height: 38px; font-size: 13.5px !important; }
  table.ec-m-carduri > thead > tr.ec-m-filtre > .ec-m-masa > div { flex-wrap: wrap; gap: 6px !important; }

  /* ── formulare ───────────────────────────────────────────────────── */
  /* 16px: sub atât, iPhone mărește pagina la atingerea câmpului */
  .form-control, .form-select, .ec-input, .ec-select, textarea,
  input[type=text], input[type=number], input[type=date], input[type=email],
  input[type=search], input[type=month], input[type=tel], input[type=password] {
    font-size: 16px !important; }
  .form-control, .form-select, .ec-input, .ec-select { min-height: 42px; }
  .form-control-sm, .form-select-sm { min-height: 38px; }
  .ec-alegere .ta-cutie { min-height: 42px; }
  .ec-alegere .ta-input { font-size: 16px; }
  .ts-control { min-height: 42px !important; }
  .ts-control input { font-size: 16px !important; }
  .ec-form-body { padding: 12px; }
  .ec-form-section { border-radius: 10px; }
  .card-body { padding: 12px; }
  .card-header { padding: 10px 12px; }
  .ec-actions, .ec-m-lipit-jos { position: sticky; bottom: calc(var(--ec-m-bara-jos) + var(--ec-m-safe-jos));
    margin-left: -12px; margin-right: -12px; padding: 10px 12px; gap: 8px; z-index: 1020;
    box-shadow: 0 -6px 16px rgba(15,23,42,.06); flex-wrap: wrap; }
  .ec-actions .btn, .ec-actions .ec-btn { height: 44px !important; flex: 1; font-size: 15px; }
  .btn-list { gap: 8px; }
  /* câmpuri puse pe lăţime fixă în linie, care altfel depăşesc ecranul */
  input[style*="width: 1"], input[style*="width:1"], select[style*="width: 1"], select[style*="width:1"],
  input[style*="width: 2"], input[style*="width:2"], select[style*="width: 2"], select[style*="width:2"] {
    max-width: 100%; }

  /* ── ferestre modale: tot ecranul ────────────────────────────────── */
  .modal-dialog { margin: 0 !important; max-width: none !important; width: 100% !important;
                  min-height: 100%; }
  .modal-content { min-height: 100dvh; border: 0 !important; border-radius: 0 !important; }
  .modal-header { position: sticky; top: 0; z-index: 5; background: #fff;
                  padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
  .modal-footer { position: sticky; bottom: 0; background: #fff;
                  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .modal-footer .btn { min-height: 44px; }
  .ec-dublu-fundal { padding: 0; align-items: flex-end; }
  .ec-dublu { border-radius: 16px 16px 0 0; max-height: 90dvh; overflow-y: auto; }

  /* ── diverse ─────────────────────────────────────────────────────── */
  .ec-selectie { position: sticky; top: calc(var(--ec-nav-h) + 4px); z-index: 25;
                 box-shadow: 0 6px 16px rgba(15,23,42,.08); }
  .ec-selectie .ec-sel-actiuni { margin-left: 0; width: 100%; }
  .ec-toolbar { gap: 8px; }
  .ec-toolbar .ec-search { min-width: 0; width: 100%; }
  .pagination { flex-wrap: wrap; justify-content: center; }
  .page-link { min-width: 38px; min-height: 38px; display: flex; align-items: center; justify-content: center; }
  .dropdown-menu { max-width: calc(100vw - 16px); }
  h2, .h2 { font-size: 20px; }
  h3, .h3 { font-size: 17px; }
  .ec-salvat, .ec-reia, .alert { border-radius: 10px; }
  .rp-chart-sm, .rp-chart-md { max-height: 220px; }
  .ec-m-ascuns { display: none !important; }
}

/* ── modulul EBITDA (bază proprie, fără Tabler) ─────────────────────── */
@media (max-width: 767.98px) {
  .ec-ebitda .nav { padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 12px;
                    position: sticky; top: 0; z-index: 40; }
  .ec-ebitda .container { padding: 12px; }
  .ec-ebitda h1 { font-size: 21px; }
  .ec-ebitda .subnav { gap: 6px; margin-bottom: 12px; }
  .ec-ebitda .subnav > span { display: none; }
  .ec-ebitda .subnav a { padding: 9px 14px; font-size: 13.5px; }
  .ec-ebitda .toolbar { gap: 12px; padding: 12px; }
  .ec-ebitda .fgroup { width: 100%; }
  .ec-ebitda .fgroup .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ec-ebitda .fgroup .chips a { flex: none; }
  .ec-ebitda input[type=search] { min-width: 0; width: 100%; }
  .ec-ebitda .spacer { display: none; }
  .ec-ebitda .cta { height: 42px; display: inline-flex; align-items: center; }
  .ec-ebitda .tbl-wrap { margin: 0 -12px; padding: 0 12px; }
}

/* ── foile care se deschid din bara de jos (ToDo; oriunde e nevoie) ─── */
.td-m-antet, .ec-m-foaie, .ec-m-fundal, .td-m-sageata, .td-m-filtre-btn, .td-m-meta, .ec-m-meta, .ec-m-btn-txt { display: none; }

@media (max-width: 767.98px) {
  .ec-m-fundal { display: block; position: fixed; inset: 0; z-index: 1037; background: rgba(15,23,42,.35);
                 opacity: 0; pointer-events: none; transition: opacity .18s; }
  .ec-m-fundal.on { opacity: 1; pointer-events: auto; }
  .ec-m-foaie { display: block; position: fixed; left: 0; right: 0; z-index: 1038;
    bottom: calc(var(--ec-m-bara-jos) + var(--ec-m-safe-jos));
    max-height: 72dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: #fff; color: #111827; border-radius: 16px 16px 0 0; padding: 8px 12px 14px;
    box-shadow: 0 -12px 32px rgba(15,23,42,.18);
    transform: translateY(calc(100% + var(--ec-m-bara-jos) + 20px)); transition: transform .22s ease;
    visibility: hidden; }
  .ec-m-foaie.on { transform: translateY(0); visibility: visible; }
  .ec-m-foaie::before { content: ""; display: block; width: 38px; height: 4px; border-radius: 2px;
                        background: var(--ec-g300); margin: 0 auto 8px; }
  .ec-m-foaie-cap { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
                    color: var(--ec-g500); padding: 6px 8px 8px; display: flex; align-items: center; gap: 10px; }
  .ec-m-foaie-rand { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px;
    padding: 0 10px; border: 0; background: none; border-radius: 10px; text-align: left;
    color: #111827; text-decoration: none; font-family: inherit; font-size: 15.5px;
    font-weight: 500; line-height: 1.25; }
  .ec-m-foaie-rand:active, .ec-m-foaie-rand.on { background: var(--ec-primary-soft); color: var(--ec-primary-700); }
  .ec-m-foaie-rand .bulina { width: 10px; height: 10px; border-radius: 3px; flex: none; }
  .ec-m-foaie-rand em { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 700;
    color: var(--ec-g500); background: var(--ec-g100); border-radius: 10px; padding: 1px 8px; }
  .ec-m-foaie-rand small, .td-m-eu small { display: block; font-size: 12px; color: var(--ec-g500); font-weight: 400; }
  .td-m-eu { text-transform: none; letter-spacing: 0; font-size: 15px; color: #111827; }
  .ec-m-jos button.deschis { color: var(--ec-primary); }

  /* ── ToDo pe telefon ─────────────────────────────────────────────── */
  body.td { display: block; padding-bottom: calc(var(--ec-m-bara-jos) + var(--ec-m-safe-jos) + 16px); }
  .td .td-side { display: none !important; }
  .td-m-antet { display: flex; align-items: center; gap: 0; position: sticky; top: 0; z-index: 1035;
    min-height: 52px; padding: env(safe-area-inset-top, 0px) 4px 0;
    background: var(--td-suprafata, #fff); border-bottom: 1px solid var(--td-linie, #e6e8ec);
    transition: transform .22s ease; }
  .td-m-antet .ec-m-sus { color: var(--td-text, #374151); border: 0; background: none; padding: 0;
                          box-shadow: none; }
  body.td { overflow-x: clip; }
  .td .td-panouri { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
  .td .td-panou-rand { display: flex; gap: 10px; min-width: 0; }
  .td .td-panou-rand .td-link-task { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .td .td-panou-rand .td-mic { flex: none; }
  .td-m-antet-titlu { flex: 1; font-size: 17px; padding-left: 2px; color: var(--td-text, #111827); }
  .td-m-clopot { position: relative; }
  .td-m-clopot b { position: absolute; top: 6px; right: 5px; min-width: 17px; height: 17px; padding: 0 4px;
    border-radius: 9px; background: #dc2626; color: #fff; font-size: 10.5px; line-height: 17px; text-align: center; }
  html.ec-m-retrase .td-m-antet { transform: translateY(-100%); }
  /* sub bară: doar tab-urile, un rând care derulează; căutarea apare din lupă */
  .td .td-top { position: sticky; top: 52px; z-index: 1030; height: auto; padding: 6px 8px;
    gap: 6px; flex-wrap: wrap; background: var(--td-suprafata, #fff); transition: top .22s ease; }
  html.ec-m-retrase .td .td-top { top: 0; }
  .td .td-top > #td-nou, .td .td-top-clopot, .td .td-top-eu { display: none !important; }
  .td .td-top-mijloc { flex: 1 1 100%; min-width: 0; order: 1; }
  .td .td-taburi { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .td .td-taburi::-webkit-scrollbar { display: none; }
  .td .td-tab { flex: none; white-space: nowrap; }
  .td .td-cautare { display: none; order: 0; flex: 1 1 100%; }
  body.td-m-cautare .td .td-cautare, body.td.td-m-cautare .td-cautare { display: flex; }
  .td .td-cautare kbd { display: none; }
  .td .td-cautare input { font-size: 16px; }
  .td .td-corp { padding: 12px; }
  .td .td-fab { display: none !important; }
  .td-m-jos .td-m-nou { color: var(--ec-primary); }
  .td-m-jos .td-m-nou i { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
    margin-top: -2px; border-radius: 50%; background: var(--ec-primary); color: #fff;
    font-size: 24px; font-weight: 400; line-height: 1; font-style: normal;
    box-shadow: 0 3px 10px rgba(11,47,102,.35); }
  #td-f-rap-corp .td-kpi-rand { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
  #td-f-rap-corp .td-kpi { padding: 10px 12px; }
  .td-m-filtre-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px;
    margin-bottom: 8px; border: 1px solid var(--td-linie, #d4d8de); border-radius: 10px;
    background: var(--td-suprafata, #fff); color: var(--td-text, #374151); font-family: inherit;
    font-size: 14px; font-weight: 600; }
  .td-m-filtre-btn b { color: var(--ec-primary); }
  .td-filtre:not(.td-m-on) { display: none; }
  .td-filtre .td-filtre-rand { flex-wrap: wrap; gap: 8px; }
  .td-filtre .td-filtre-rand > * { flex: 1 1 100%; min-height: 42px; font-size: 16px; }

  /* task-urile: acelaşi card ca listele din ERP (alb, ramă fină, colţuri 12px).
     Restrânse la titlu + un rând cu prioritatea, cine şi termenul; săgeata
     deschide restul. Prioritatea: bară subţire în interior; doar urgentele şi
     cele ridicate primesc şi o nuanţă slabă, ca să iasă în evidenţă. */
  .td .td-card:has(> table.td-m-colaps) { background: transparent; border: 0; box-shadow: none;
                                            padding: 0; overflow: visible !important; }
  table.td-m-colaps.ec-m-carduri > tbody > tr:not(.ec-m-banda):not(.td-grup) {
    padding: 11px 44px 11px 18px; background: var(--td-suprafata, #fff) !important;
    border: 1px solid var(--td-linie, #e6e8ec); border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04); }
  table.td-m-colaps.ec-m-carduri > tbody > tr:not(.td-grup)::before { content: ""; position: absolute;
    left: 7px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--td-p, #94a3b8); }
  table.td-m-colaps.ec-m-carduri > tbody > tr[data-p="urgenta"],
  table.td-m-colaps.ec-m-carduri > tbody > tr[data-p="ridicata"] {
    background: linear-gradient(90deg, color-mix(in srgb, var(--td-p) 7%, var(--td-suprafata, #fff)) 0%,
                                       var(--td-suprafata, #fff) 45%) !important; }
  /* grupul („Întârziate", „Fără termen") rămâne titlu de secţiune */
  table.td-m-colaps.ec-m-carduri > tbody > tr.td-grup { background: transparent !important; border: 0;
    box-shadow: none; padding: 12px 2px 0; }
  table.td-m-colaps.ec-m-carduri > tbody > tr.td-grup > td { display: block !important; padding: 0 !important;
    background: transparent !important; text-align: left !important; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em; color: var(--td-text-slab, #6b7280); }
  table.td-m-colaps.ec-m-carduri > tbody > tr.td-grup > td::before { content: none; }
  table.td-m-colaps.ec-m-carduri > tbody > tr.td-grup--rosu > td { color: var(--td-rosu, #dc2626); }
  table.td-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-titlu { border-bottom: 0 !important; margin: 0;
    padding: 0 !important; font-size: 15px; font-weight: 600; line-height: 1.3; }
  table.td-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-titlu .td-link-task { color: var(--td-text, #111827);
    text-decoration: none; }
  table.td-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-titlu > .td-mic { display: none; }
  /* un singur rând: prioritate, termen, apoi cine — numele lung se taie, nu rupe rândul */
  .td-m-meta { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin-top: 5px;
    font-size: 12.5px; font-weight: 500; color: var(--td-text-slab, #6b7280); white-space: nowrap; min-width: 0; }
  .td-m-meta i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
  .td-m-meta span { flex: none; }
  .td-m-meta span::before { content: "·"; margin-right: 6px; color: var(--td-g400, #9ca3af); }
  .td-m-meta span.td-m-cine { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; order: 3; }
  .td-m-meta .td-m-intarziat { color: var(--td-rosu, #dc2626); font-weight: 600; }
  table.td-m-colaps.ec-m-carduri > tbody > tr:not(.td-m-deschis):not(.td-grup) > td:not(.ec-m-titlu),
  table.td-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-maimult-td { display: none !important; }
  table.td-m-colaps.ec-m-carduri > tbody > tr.td-m-deschis > td.ec-m-extra { display: block; }
  table.td-m-colaps.ec-m-carduri > tbody > tr.td-m-deschis > td.ec-m-titlu {
    border-bottom: 1px solid var(--td-linie, #eef0f3) !important; padding-bottom: 10px !important; margin-bottom: 6px; }
  /* în card deschis, prioritatea şi alocatul apar deja în rândul de sub titlu */
  table.td-m-colaps.ec-m-carduri > tbody > tr > td:nth-child(3),
  table.td-m-colaps.ec-m-carduri > tbody > tr > td:nth-child(5) { display: none !important; }

  /* acţiunile de pe pagina task-ului: grilă cu butoane egale, cea principală
     pe toată lăţimea sus, ştergerea discret jos */
  .td .td-fapte-actiuni { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  /* formularele au display:inline scris în pagină; fără !important grila nu le vede butoanele */
  .td .td-fapte-actiuni > form { display: contents !important; }
  .td .td-fapte-actiuni .td-btn { width: 100%; height: 44px; justify-content: center; border-radius: 10px;
    font-size: 14.5px; font-weight: 600; white-space: nowrap; padding: 0 10px; }
  .td .td-fapte-actiuni .td-btn--primar { grid-column: 1 / -1; order: -1; }
  .td .td-fapte-actiuni .td-btn--pericol { grid-column: 1 / -1; order: 9; background: transparent;
    border-color: transparent; height: 40px; }
  .td .td-btn--mic { min-height: 36px; }
  /* pagina task-ului: titlul apărea de două ori (în ramuri, întreg, şi în antet, tăiat);
     ramurile păstrează doar drumul înapoi, titlul se rupe pe rânduri */
  .td .td-ramuri .acum, .td .td-ramuri .sep:has(+ .acum) { display: none; }
  .td .td-titlu-rand { flex-wrap: wrap; align-items: flex-start; gap: 6px 10px; }
  .td .td-titlu-rand .td-titlu-pagina { white-space: normal; overflow: visible; text-overflow: clip;
                                        font-size: 20px; line-height: 1.25; flex: 1 1 100%; }
  .td-m-sageata { display: block; position: absolute; top: 4px; right: 4px; width: 40px; height: 40px;
    border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
  .td-m-sageata::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
    margin: -7px 0 0 -5px; border-right: 2px solid var(--td-text-slab, #6b7280);
    border-bottom: 2px solid var(--td-text-slab, #6b7280); transform: rotate(45deg); transition: transform .15s; }
  table.td-m-colaps tr.td-m-deschis .td-m-sageata::after { transform: rotate(-135deg); margin-top: -2px; }
}

/* ── antetul rapoartelor: titlul pe un rând, explicaţia pe două ──────
   Explicaţia rămâne întreagă în pagină; pe telefon se arată două rânduri,
   iar o atingere o deschide (mobil.js). Comutatorul TVA trece dedesubt. */
@media (max-width: 767.98px) {
  div.d-flex:has(> div > .page-title + .rp-descriere) { flex-direction: column; align-items: stretch !important;
    gap: 10px; }
  div.d-flex > div > .page-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rp-descriere { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 13px !important; line-height: 1.4 !important; margin-top: 4px; cursor: pointer; position: relative; }
  .rp-descriere.ec-m-deschis { -webkit-line-clamp: unset; display: block; }
  .rp-header-compact .rp-descriere { flex: 1 1 100%; }
  .tva-toggle { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
  .tva-toggle .btn { height: 40px; border-radius: 10px !important; font-size: 14px; margin: 0 !important; }
}

/* ── liste restrânse şi căutare în listă (generice, mobil.js) ─────────
   <table class="ec-m-colaps">: cardul arată doar titlul, săgeata deschide
   restul (ca task-urile din ToDo). <table data-m-cauta="…">: câmp de căutare. */
@media (max-width: 767.98px) {
  table.ec-m-colaps.ec-m-carduri > tbody > tr { padding: 12px 48px 12px 14px; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-titlu { border-bottom: 0 !important; margin: 0;
    padding: 0 !important; font-size: 15.5px; line-height: 1.3; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-titlu .badge { font-size: 10.5px; padding: 2px 7px;
    vertical-align: 2px; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr:not(.ec-m-deschis) > td:not(.ec-m-titlu):not(.ec-m-sageata-td):not(.ec-m-bifa) {
    display: none !important; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr.ec-m-deschis > td.ec-m-titlu {
    border-bottom: 1px solid var(--ec-g100) !important; padding-bottom: 10px !important; margin-bottom: 6px; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-sageata-td { position: absolute !important; top: 4px;
    right: 4px; width: 40px; height: 40px; padding: 0 !important; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-sageata-td::before { content: none; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-sageata-td .td-m-sageata { top: 0; right: 0; }
  table.ec-m-colaps tr.ec-m-deschis .td-m-sageata::after { transform: rotate(-135deg); margin-top: -2px; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-actiuni.ec-m-actiuni-rand { gap: 8px; }
  /* butoanele cardului deschis: egale, pe toată lăţimea cardului (şi sub săgeată) */
  table.ec-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-actiuni.ec-m-actiuni-rand { display: grid !important;
    grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; padding-top: 10px !important;
    margin-right: -34px; justify-content: stretch; }
  /* pseudo-elementul de „clearfix" al celulei ar deveni o a patra coloană goală */
  table.ec-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-actiuni.ec-m-actiuni-rand::after { content: none; }
  /* patru butoane nu încap pe un rând fără să li se taie textul: două rânduri de câte două */
  table.ec-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-actiuni.ec-m-actiuni-rand:has(> :nth-child(4)) {
    grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  table.ec-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-actiuni form { display: contents !important; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-actiuni .btn { width: 100%; height: 40px; min-height: 40px;
    border-radius: 10px; font-size: 13.5px; padding: 0 6px; white-space: nowrap; margin: 0 !important;
    overflow: hidden; text-overflow: ellipsis; justify-content: center; }
  /* ca la task-uri: sub nume, pe un rând, scadenţa · suma · starea; bifa lângă săgeată */
  table.ec-m-carduri > tbody > tr > td.ec-m-titlu .ec-m-meta,
  table.ec-m-carduri > tbody > tr > td.ec-m-titlu .ec-m-meta * { font-size: 12.5px; }
  .ec-m-meta { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin-top: 4px;
    font-weight: 500; color: var(--ec-g500); line-height: 1.4; white-space: nowrap; min-width: 0; }
  .ec-m-meta span { flex: none; }
  /* starea se vede din banda colorată; aici doar scadenţa şi suma */
  .ec-m-meta span + span::before { content: "·"; margin-right: 6px; color: #9ca3af; }
  .ec-m-meta .ec-m-suma { color: var(--ec-g900); font-weight: 700; white-space: nowrap; }
  .ec-m-meta .ec-m-st-rosu { color: #dc2626; font-weight: 600; }
  .ec-m-meta .ec-m-st-portocaliu { color: #b45309; font-weight: 600; }
  .ec-m-meta .ec-m-st-verde { color: #007F74; font-weight: 600; }
  .ec-m-meta .ec-m-st-albastru { color: #0B2F66; font-weight: 600; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr:has(> .ec-m-sageata-td) > td.ec-m-bifa { right: 44px; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr:has(> .ec-m-bifa):has(> .ec-m-sageata-td) { padding-right: 88px; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr > td.ec-m-titlu > a { font-size: 15px; }
  /* banda de stare, ca prioritatea la task-uri */
  table.ec-m-colaps.ec-m-carduri > tbody > tr[data-m-accent] { padding-left: 18px; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr[data-m-accent]::before { content: ""; position: absolute;
    left: 7px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--ec-m-acc, #94a3b8); }
  tr[data-m-accent="rosu"] { --ec-m-acc: #dc2626; }
  tr[data-m-accent="portocaliu"] { --ec-m-acc: #f59f00; }
  tr[data-m-accent="albastru"] { --ec-m-acc: #0B2F66; }
  tr[data-m-accent="verde"] { --ec-m-acc: #00B3A4; }
  table.ec-m-colaps.ec-m-carduri > tbody > tr[data-m-accent="rosu"] {
    background: linear-gradient(90deg, #fdf1f1 0%, #fff 45%) !important; }
  .ec-m-btn-txt { display: inline; margin-left: 6px; }
  table.ec-m-carduri > tbody > tr.ec-m-filtrat { display: none !important; }
  .ec-m-unelte { flex-wrap: wrap; }
  .ec-m-cauta { flex: 1 1 100%; height: 44px; padding: 0 12px 0 40px; font-size: 16px; border-radius: 10px;
    border: 1px solid var(--ec-g300); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='M21 21l-6-6'/%3E%3C/svg%3E") no-repeat 12px center; }
  .ec-m-cauta:focus { outline: 0; border-color: var(--ec-primary); box-shadow: 0 0 0 3px var(--ec-primary-soft); }
  .ec-m-cauta-gol { text-align: center; color: var(--ec-g500); padding: 20px; font-size: 14px; }
  /* antet de pagină: titlul pe rândul lui, acţiunile dedesubt */
  .page-header.d-flex { flex-wrap: wrap; gap: 10px; align-items: stretch !important; }
  .page-header.d-flex > .page-title { flex: 1 1 100%; margin: 0; display: block; text-align: left !important; }
  .page-header.d-flex > .btn-list, .page-header.d-flex > .ec-m-bara { flex: 1 1 100%; display: block; width: 100%; margin: 0; }
  .page-header .btn-list > .ec-m-bara { width: 100%; margin: 0; }
}

/* ── formularele ToDo pe telefon: un singur fel de câmp ──────────────
   Şablon, departament, prioritate, termen, durată, paşi: aceeaşi înălţime
   (44px), aceeaşi ramă, aceleaşi colţuri. Fereastra ocupă tot ecranul, cu
   titlul sus şi butoanele lipite jos. */
@media (max-width: 767.98px) {
  .td .td-modal { z-index: 1100 !important; align-items: stretch !important; }
  .td .td-modal > .td-card { width: 100% !important; max-height: none !important; height: 100dvh;
    border-radius: 0 !important; border: 0; padding: 0 16px !important; overflow-x: hidden !important;
    overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .td .td-modal > .td-card > div:first-child { position: sticky; top: 0; z-index: 5; margin: 0 -16px 12px !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; align-items: center !important;
    background: var(--td-suprafata, #fff); border-bottom: 1px solid var(--td-linie, #e6e8ec); }
  .td .td-modal > .td-card > div:first-child h3 { font-size: 17px !important; }
  .td .td-modal > .td-card > div:first-child .td-btn { width: 40px; height: 40px; border-radius: 10px;
    justify-content: center; font-size: 16px; }

  .td .td-camp { margin-bottom: 16px; min-width: 0; }
  .td .td-camp--sablon { padding-bottom: 16px; }
  .td .td-grid2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .td .td-eticheta { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
    color: var(--td-text-slab, #6b7280); margin-bottom: 6px; }
  .td .td-input, .td .td-select, .td .td-textarea, .td .ta-cutie {
    width: 100%; max-width: none; min-height: 44px; height: 44px; padding: 0 12px; font-size: 16px;
    border: 1px solid var(--td-linie-tare, #d4d8de); border-radius: 10px;
    background-color: var(--td-suprafata, #fff); color: var(--td-text, #111827); box-sizing: border-box; }
  .td .td-textarea { height: auto; min-height: 110px; padding: 10px 12px; line-height: 1.45; }
  .td .ta-cutie { height: auto; padding: 5px 8px; }
  .td .ta-input { font-size: 16px; min-width: 0; }
  .td .td-select { -webkit-appearance: none; appearance: none; padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; }
  .td .td-input:focus, .td .td-select:focus, .td .td-textarea:focus, .td .ta-cutie:focus-within {
    border-color: var(--td-primar, #0B2F66); box-shadow: 0 0 0 3px var(--td-primar-slab, #eef3fb); outline: 0; }
  /* durata: număr + unitate, jumătate-jumătate (lăţimile erau scrise în pagină) */
  .td #n-est, .td #n-unit { width: auto !important; flex: 1 1 0; min-width: 0; }

  /* prioritate şi termen: butoane egale, în grilă, cu aceeaşi ramă ca un câmp */
  .td #n-prio, .td #n-termen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .td .td-cip { display: flex; align-items: center; justify-content: center; height: 40px; padding: 0 4px;
    border-radius: 10px; border-color: var(--td-linie-tare, #d4d8de); font-size: 14px; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--td-suprafata, #fff); }
  .td #n-termen .td-cip[data-exact] { grid-column: span 2; }
  .td #n-termen-val { margin-top: 8px !important; }

  /* Paşi / Check-list / Sub-taskuri / Documente: titlu, explicaţie, apoi uneltele pe toată lăţimea */
  .td .td-sectiune { padding-top: 16px; margin-bottom: 16px; }
  .td .td-sectiune-cap { flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 10px;
    font-size: 15px; font-weight: 600; }
  .td .td-sectiune-cap > span:first-child .td-mic { display: block; font-size: 12.5px; font-weight: 400;
    color: var(--td-text-slab, #6b7280); margin-top: 2px; }
  .td .td-sectiune-unelte { display: flex; gap: 8px; width: 100%; }
  .td .td-sectiune-unelte .td-select--mic { flex: 1; min-width: 0; max-width: none; height: 44px; font-size: 16px; }
  .td .td-sectiune-cap .td-btn { height: 44px; border-radius: 10px; padding: 0 14px; font-size: 14.5px;
    font-weight: 600; justify-content: center; }
  .td .td-sectiune-cap > .td-btn, .td .td-sectiune-unelte > label.td-btn { width: 100%; }
  .td .td-rand-pas { gap: 8px; margin-bottom: 8px; }
  .td .td-pas-nr { width: 44px; flex: none; text-align: left; font-size: 12.5px; white-space: nowrap; }
  .td .td-rand-pas .td-btn, .td .td-rand-sub .td-btn { width: 44px; height: 44px; flex: none;
    justify-content: center; border-radius: 10px; }
  .td .td-rand-sub { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px;
    padding: 10px; border: 1px solid var(--td-linie, #e6e8ec); border-radius: 12px; margin-bottom: 10px; }
  .td .td-rand-sub [name=sub_titlu] { grid-column: 1 / 3; }
  .td .td-rand-sub [name=sub_dest] { grid-column: 1 / -1; grid-row: 2; }
  .td .td-rand-sub [name=sub_est] { grid-row: 3; }
  .td .td-rand-sub [name=sub_unit] { grid-row: 3; }
  .td .td-rand-sub .td-btn { grid-column: 3; grid-row: 1; }
  .td .td-bifa { font-size: 15px; min-height: 44px; }
  .td .td-bifa input { width: 20px; height: 20px; }

  /* butoanele ferestrei: lipite jos, egale */
  .td .td-modal-subsol { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 8px;
    margin: 16px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--td-suprafata, #fff); border-top: 1px solid var(--td-linie, #e6e8ec); }
  .td .td-modal-subsol .td-btn { flex: 1; height: 48px; justify-content: center; border-radius: 10px;
    font-size: 15.5px; font-weight: 600; }
}

/* ── calendarul pe telefon ────────────────────────────────────────────
   Grila de 7 coloane nu are loc pentru text pe 375px: rămâne o lună
   compactă (ziua + câte evenimente are), iar evenimentele se citesc în
   lista de zile de dedesubt (mobil.js o construieşte din grilă). */
.ec-m-agenda { display: none; }
@media (max-width: 767.98px) {
  .cal-tabs { display: flex !important; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
              gap: 4px; padding: 4px !important; }
  .cal-tabs::-webkit-scrollbar { display: none; }
  .cal-tabs a { flex: none !important; padding: 8px 14px !important; font-size: 13.5px !important;
                white-space: nowrap; border-radius: 8px; }
  .cal-tabs a .subhint { display: none !important; }
  .cal-header { flex-direction: column; align-items: stretch !important; gap: 12px; padding: 12px !important; }
  .cal-title { font-size: 19px !important; line-height: 1.25; }
  .cal-nav { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) 44px minmax(0, 1.3fr); gap: 8px; }
  .cal-nav a { display: flex !important; align-items: center; justify-content: center; height: 42px;
    padding: 0 10px !important; margin: 0 !important; border-radius: 10px !important; font-size: 14.5px !important;
    font-weight: 600; white-space: nowrap; text-decoration: none; }
  .cal-nav a.cal-prev span, .cal-nav a.cal-next span { display: none; }
  .cal-nav a.cal-prev, .cal-nav a.cal-next { font-size: 18px !important; }
  .cal-nav .cal-prev { order: 1; } .cal-nav .today-btn { order: 2; } .cal-nav .cal-next { order: 3; }
  .cal-nav .cal-add-btn { order: 4; }
  .cal-summary { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .cal-sum-card { border-radius: 10px !important; padding: 10px 12px !important; min-width: 0; }
  .cal-sum-card .lbl { font-size: 10.5px !important; }
  .cal-sum-card .val { font-size: 20px !important; }
  .cal-grid { gap: 3px !important; }
  .cal-head { font-size: 11px !important; padding: 4px 0 !important; text-align: center; }
  .cal-cell { min-height: 46px !important; height: auto !important; padding: 4px !important; cursor: pointer;
              border-radius: 8px; overflow: hidden; }
  .cal-cell > :not(.cal-day-num) { display: none !important; }
  .cal-day-num { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px !important; }
  .cal-day-count { font-size: 11px !important; font-weight: 700; min-width: 18px; text-align: center; }
  .cal-cell.ec-m-ales { outline: 2px solid var(--ec-primary); outline-offset: -2px; }
  .ec-m-agenda { display: block; margin-top: 12px; }
  .ec-m-agenda-zi { background: #fff; border: 1px solid var(--ec-g200); border-radius: 12px;
                    padding: 10px 12px; margin-bottom: 8px; scroll-margin-top: 70px; }
  .ec-m-agenda-zi h4 { font-size: 13px; font-weight: 700; margin: 0 0 6px; color: var(--ec-g700); }
  .ec-m-agenda-zi.azi h4 { color: var(--ec-primary); }
  .ec-m-agenda-zi > :not(h4) { display: block; max-width: 100%; white-space: normal !important;
    overflow: visible !important; text-overflow: clip !important; margin-bottom: 4px; }
  .ec-m-agenda-zi .cal-event, .ec-m-agenda-zi a, .ec-m-agenda-zi .cal-grup { font-size: 14px !important;
    line-height: 1.35 !important; padding: 8px 10px !important; border-radius: 8px !important; height: auto !important; }
  .ec-m-agenda-zi .ev-label { font-size: 12.5px !important; font-weight: 700; margin-right: 4px; }
  .ec-m-agenda-zi h4 { font-size: 14px !important; }
  .ec-m-agenda-gol { color: var(--ec-g500); font-size: 14px; text-align: center; padding: 16px; }
  .cal-legend { flex-wrap: wrap; gap: 8px 14px; }
}

/* telefon în lat / tabletă mică: listele încap deja în două coloane */
@media (min-width: 560px) and (max-width: 767.98px) {
  table.ec-m-carduri > tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  table.ec-m-carduri > tbody > tr.ec-m-banda,
  table.ec-m-carduri > tbody > tr:has(> td.ec-m-plin) { grid-column: 1 / -1; }
}

/* ── pornită de pe ecranul principal, fără bara browserului ─────────── */
@media (display-mode: standalone) {
  body { overscroll-behavior-y: none; }
  /* fără bara browserului, textul selectat din greşeală la apăsare lungă e zgomot */
  .ec-m-jos, header.navbar { -webkit-user-select: none; user-select: none; }
}

/* ── tipărire: nimic din ce e de telefon ─────────────────────────────── */
@media print {
  .ec-m-jos, .ec-m-unelte, .ec-m-meniu-extra { display: none !important; }
}

/* ── bara de perioadă (Venituri / Cheltuieli) pe telefon: câte un grup pe rând,
   eticheta la stânga, butoanele într-un singur rând care se derulează ── */
@media (max-width: 767.98px) {
  .ec-perioada { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px !important;
    border-radius: 12px !important; }
  .ec-per-grup { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center; gap: 6px; }
  .ec-per-grup.ec-per-preset, .ec-per-grup:has(> .ec-per-butoane) { grid-template-columns: 74px minmax(0, 1fr); }
  .ec-per-et { font-size: 13px; margin: 0; }
  .ec-per-butoane { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px;
    -webkit-overflow-scrolling: touch; margin-right: -12px; padding-right: 12px; }
  .ec-per-butoane::-webkit-scrollbar { display: none; }
  .ec-per-butoane .btn { flex: none; height: 36px; border-radius: 18px; padding: 0 14px; font-size: 13.5px; }
  .ec-per-grup input[type=date] { width: 100%; min-width: 0; height: 40px; font-size: 14px; padding: 0 8px;
    border-radius: 10px; }
  .ec-per-sageata { margin: 0; }
  .ec-per-info { margin: 0; padding-top: 8px; border-top: 1px solid var(--ec-g100, #f1f3f5);
    font-size: 12px; line-height: 1.45; }
}

/* ── fereastra „Detalii factură" (Venituri / Cheltuieli) ── */
.ec-view-rezumat { display: none; }
@media (max-width: 767.98px) {
  #viewModal .modal-dialog { margin: 0; max-width: none; width: 100%; height: 100%; min-height: 100%; }
  #viewModal .modal-content { height: 100%; border: 0; border-radius: 0; }
  #viewModal .modal-header { padding: 12px 16px; }
  #viewModal .modal-body { padding: 12px 14px 20px; background: #f4f6fa; }
  #viewModal .modal-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  #viewModal .modal-footer > * { margin: 0 !important; width: 100%; min-height: 44px; justify-content: center; }
  #viewModal .modal-footer > .ec-btn-primary:not(.d-none) { grid-column: 1 / -1; }
  #viewModal .modal-footer > [data-bs-dismiss] { grid-column: 1 / -1; }
  /* rezumatul de sus */
  .ec-view-rezumat { display: block; background: #fff; border: 1px solid var(--ec-g100, #eef0f3);
    border-radius: 14px; padding: 14px 16px 12px 20px; margin-bottom: 12px; position: relative; }
  .ec-view-rezumat::before { content: ""; position: absolute; left: 8px; top: 14px; bottom: 14px; width: 3px;
    border-radius: 3px; background: #0B2F66; }
  .ec-view-rezumat.r-rosu::before { background: #dc2626; }
  .ec-view-rezumat.r-ok::before { background: #00B3A4; }
  .ec-vr-partener { font-size: 14px; font-weight: 600; color: #374151; }
  .ec-vr-suma { font-size: 26px; font-weight: 800; color: #0B2F66; line-height: 1.2; margin: 2px 0 6px; }
  .ec-vr-suma small { font-size: 14px; font-weight: 600; color: #6b7280; }
  .ec-vr-linie { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #6b7280; }
  .ec-vr-grila { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 12px;
    padding-top: 10px; border-top: 1px solid var(--ec-g100, #eef0f3); }
  .ec-vr-grila span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .03em;
    color: #6b7280; }
  .ec-vr-grila b { display: block; font-size: 14px; font-weight: 600; color: #111827; overflow-wrap: anywhere; }
  /* restul: secţiuni albe, datele câte două pe rând */
  .ec-view-modal > .row { background: #fff; border-radius: 12px; margin: 0 0 12px !important;
    padding: 10px 6px; --bs-gutter-y: 10px; }
  .ec-view-modal > .row > .col-md-3, .ec-view-modal > .row > .col-md-4 { flex: 0 0 50%; max-width: 50%; }
  .ec-view-modal > .row > .col-md-6 { flex: 0 0 100%; max-width: 100%; }
  .ec-view-modal > .row .bg-light { background: transparent !important; padding: 0 !important; }
  .ec-view-modal h6 { margin-top: 14px !important; }
  .ec-view-modal table.ec-m-carduri > tbody > tr { background: #fff; }
  .ec-view-modal table tfoot tr { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px;
    background: #fff; border-radius: 12px; padding: 10px 14px; margin-top: 8px; }
  .ec-view-modal table tfoot td { border: 0 !important; padding: 0 !important; background: transparent !important; }
  .ec-view-modal .ec-copiaza { min-width: 32px; min-height: 32px; }
}
@media (max-width: 767.98px) {
  /* exporturile: un rând ordonat, butoane egale, nu două iconiţe lipite în dreapta */
  .ec-toolbar { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-bottom: 8px; }
  .ec-toolbar > .ms-auto { margin-left: 0 !important; display: grid !important;
    grid-template-columns: 1fr 1fr; gap: 8px !important; }
  .ec-toolbar > .ms-auto > .btn { height: 40px; border-radius: 10px; justify-content: center; font-size: 14px; }
}
