@charset "utf-8";
/* Paleta: doar alb, verde inchis, verde neon (restul sunt variante transparente ale verdelui inchis). */
:root {
  --w: #ffffff; --g: #0b3d2e; --n: #39ff88;
  --g-72: rgba(11, 61, 46, .72); --g-60: rgba(11, 61, 46, .6); --g-14: rgba(11, 61, 46, .14); --g-08: rgba(11, 61, 46, .08);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* fara web fonts: CSP permite doar 'self' */
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--w); color: var(--g); font: 16px/1.5 var(--font); font-variant-numeric: tabular-nums; }
h1, h2, h3, p { margin: 0; }
.muted { color: var(--g-72); }
.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--g); outline-offset: 2px; }
.dark :focus-visible, .tabs-dark :focus-visible { outline-color: var(--n); }

/* mesaje */
#msg { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 30; width: min(560px, calc(100% - 24px)); padding: 14px 18px; border-radius: 16px; font-weight: 700; }
#msg { cursor: pointer; }
#msg:empty { display: none; }
#msg.ok { background: var(--n); color: var(--g); }
#msg.bad { background: var(--g); color: var(--w); border: 2px solid var(--n); }

/* butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--g); border-radius: 999px; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
.btn-primary { background: var(--g); color: var(--w); }
.btn-primary svg { color: var(--n); }
.btn-outline { background: var(--w); color: var(--g); }
.btn-lg { min-height: 52px; font-size: 16px; }

/* autentificare */
.auth { min-height: calc(100vh - 56px); display: flex; flex-wrap: wrap; }
.auth-brand { flex: 1 1 480px; min-width: 0; background: var(--g); color: var(--w); padding: 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.auth-brand h1 { font-size: 56px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; }
.auth-brand h1 span { color: var(--n); }
.auth-brand p { margin-top: 24px; max-width: 460px; font-size: 19px; color: rgba(255, 255, 255, .88); }
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; font-weight: 600; }
.points li { display: flex; align-items: center; gap: 14px; }
.tick { width: 32px; height: 32px; flex: none; border-radius: 999px; background: var(--n); color: var(--g); display: flex; align-items: center; justify-content: center; }
.auth-form { flex: 1 1 480px; min-width: 0; padding: 56px 40px; display: flex; align-items: center; justify-content: center; }
.auth-form form { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.auth-form h2 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; font-size: 14px; }
.field label .muted { font-weight: 500; }
input[type="email"], input[type="password"], input[type="search"], input[type="month"], input[type="date"], input:not([type]), input[inputmode] {
  min-height: 52px; padding: 0 16px; border: 1.5px solid var(--g-60); border-radius: 14px; background: var(--w); color: var(--g); font: inherit; }
.stack { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }

/* acord GDPR */
#consent { width: min(760px, calc(100% - 32px)); }
.consent-text { max-height: 46vh; overflow-y: auto; padding: 4px 16px 12px; border: 1.5px solid var(--g-60); border-radius: 14px; font-size: 14px; display: flex; flex-direction: column; gap: 10px; }
.consent-text h3 { font-size: 16px; font-weight: 800; margin: 10px 0 0; }
.consent-text h4 { font-size: 14px; font-weight: 800; margin: 6px 0 0; }
.consent-text ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.consent-text p { margin: 0; }
dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow-y: auto; padding: 28px; border: 0; border-radius: 24px; background: var(--w); color: var(--g); }
dialog::backdrop { background: rgba(11, 61, 46, .72); }
dialog form { display: flex; flex-direction: column; gap: 16px; }
dialog h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.consent-points { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.consent-points a { color: var(--g); font-weight: 700; }
.check { display: flex; width: fit-content; max-width: 100%; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 600; color: var(--g); cursor: pointer; } /* fit-content: altfel eticheta ocupa tot randul/celula din grila si un click oriunde langa ea bifeaza */
.check input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--g); }
.doc { max-width: 760px; margin: 0 auto; padding: 32px 24px 56px; display: flex; flex-direction: column; gap: 16px; }
.doc h1 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.doc h2 { font-size: 20px; font-weight: 800; margin-top: 12px; }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* antet + navigare */
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.pick { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
select { min-height: 52px; padding: 0 16px; border: 1.5px solid var(--g-60); border-radius: 14px; background: var(--w); color: var(--g); font: inherit; }
.shifts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.shifts li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border: 1px solid var(--line, #e3e6ea); border-radius: 8px; }
.auth-form-inline { display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
.account { margin-top: 28px; }
.account .actions { margin-top: 12px; }
.prefs { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
#cookies { position: fixed; z-index: 20; left: 12px; right: 12px; bottom: 12px; max-width: 760px; margin: 0 auto; padding: 16px 20px; border-radius: 20px; background: var(--g); color: var(--w); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }
#cookies[hidden] { display: none; }
#cookies p { flex: 1 1 320px; margin: 0; }
#cookies a { color: var(--n); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 56px; padding: 14px 40px; border-top: 1px solid var(--g-14); font-size: 14px; color: var(--g-72); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: inherit; }
button.brand { background: none; border: 0; padding: 0; color: inherit; font-family: inherit; cursor: pointer; }
.logo { width: 40px; height: 40px; border-radius: 12px; background: var(--g); color: var(--n); display: flex; align-items: center; justify-content: center; }
.logo-n { width: 44px; height: 44px; border-radius: 14px; background: var(--n); color: var(--g); }
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 20px 40px; border-bottom: 1px solid var(--g-14); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 440px; min-width: 0; }
.tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--g); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.tab svg { display: none; }
.tab-group { position: relative; display: inline-flex; }
.tab-menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; min-width: 210px; display: flex; flex-direction: column; gap: 2px; padding: 6px; background: var(--w); border: 1.5px solid var(--g-14); border-radius: 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.tab-menu[hidden] { display: none; }
.menu-item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: transparent; color: var(--g); font: inherit; font-weight: 700; font-size: 15px; text-align: left; cursor: pointer; }
.menu-item svg { flex: none; width: 20px; height: 20px; }
.menu-item:hover { background: var(--g-08); }
.menu-item[aria-current="page"] { background: var(--g); color: var(--w); }
.tab:hover { background: var(--g-08); }
.tab[aria-current="page"] { background: var(--g); color: var(--w); }
.user { display: flex; align-items: center; gap: 16px; }

.content { max-width: 1200px; margin: 0 auto; padding: 32px 40px 56px; }
.page { display: flex; flex-direction: column; gap: 24px; }
.head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.head h1 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.month input { min-height: 44px; border-radius: 12px; font-weight: 700; }

/* etichete */
.chip { display: inline-block; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; background: var(--g); color: var(--w); }
.chip-n { background: var(--n); color: var(--g); }
.chip-up { font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }

/* rezumat */
.hero { background: var(--g); color: var(--w); border-radius: 28px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; }
.hero > div { flex: 1 1 340px; min-width: 0; }
.hero .big { margin-top: 20px; font-weight: 800; font-size: 76px; line-height: 1; letter-spacing: -.03em; color: var(--n); overflow-wrap: anywhere; }
.hero .big small { font-size: 28px; font-weight: 700; color: var(--w); }
.hero .sub { margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, .88); }
.hero .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .88); }
.hero .row b { font-size: 22px; color: var(--w); }
.hero .bar { background: rgba(255, 255, 255, .18); }
.hero .bar i { background: var(--n); }
.hero .cap { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .88); }
.bar { height: 10px; border-radius: 999px; background: var(--g-14); overflow: hidden; }
.bar i { display: block; width: var(--v, 0%); height: 100%; border-radius: 999px; background: var(--g); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.kpi { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 24px; border: 1.5px solid var(--g-14); border-radius: 24px; color: inherit; text-decoration: none; }
.kpi .label { font-size: 15px; font-weight: 600; color: var(--g-72); }
.kpi .value { font-weight: 800; font-size: 30px; letter-spacing: -.02em; }
.kpi .value small { font-size: 18px; font-weight: 600; color: var(--g-72); }
.kpi .chip { align-self: flex-start; }
.kpi.accent { background: var(--n); border-color: var(--n); }
.kpi.accent .label, .kpi.accent .value small { color: var(--g); }
.kpi .more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; }

/* tabele */
.table-wrap { border: 1.5px solid var(--g-14); border-radius: 24px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { background: var(--g); color: var(--w); padding: 14px 16px; text-align: left; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
td { padding: 14px 16px; border-top: 1px solid var(--g-14); white-space: nowrap; }
tbody tr:first-child td { border-top: 0; }
.num { text-align: right; }
.cell-strong { font-weight: 800; }
button.link { background: none; border: 0; padding: 0; font-family: inherit; font-size: inherit; cursor: pointer; text-align: left; }
.link { display: inline-flex; align-items: center; min-height: 32px; color: var(--g); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.partner b { display: block; max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
.partner small { color: var(--g-72); }
input.switch { appearance: none; -webkit-appearance: none; position: relative; width: 52px; height: 32px; margin: 0; border: 2px solid var(--g); border-radius: 999px; background: var(--w); cursor: pointer; }
input.switch::before { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 999px; background: var(--g); transition: left .15s; }
input.switch:checked { background: var(--n); }
input.switch:checked::before { left: 22px; }

/* filtre */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.seg { display: inline-flex; padding: 4px; border: 1.5px solid var(--g-14); border-radius: 999px; }
.seg button { min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--g); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--g); color: var(--w); }
.search { flex: 1 1 260px; max-width: 420px; }
.search input { width: 100%; min-height: 48px; }

/* reconciliere */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat { display: flex; flex-direction: column; padding: 24px; border: 1.5px solid var(--g-14); border-radius: 24px; }
.stat b { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-weight: 700; }
.stat.n { background: var(--n); border-color: var(--n); }
.stat.g { background: var(--g); border-color: var(--g); color: var(--w); }
.section h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.section h2 small { font-size: 16px; font-weight: 600; color: var(--g-72); }
details > summary { cursor: pointer; font-weight: 800; font-size: 20px; min-height: 44px; display: flex; align-items: center; }
details[open] > summary { margin-bottom: 12px; }
.cert-guide > summary { font-size: 15px; font-weight: 700; }
.cert-guide ol { margin: 0 0 12px; padding-left: 22px; }
.cert-guide li { margin-bottom: 6px; }

/* anomalii */
.banner { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 24px; background: var(--n); color: var(--g); font-weight: 700; font-size: 17px; }
.banner .ico { width: 44px; height: 44px; flex: none; border-radius: 999px; background: var(--g); color: var(--n); display: flex; align-items: center; justify-content: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 24px; border: 1.5px solid var(--g-14); border-radius: 24px; }
.card .top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 18px; font-weight: 800; }
.card.urgent { background: var(--g); border-color: var(--g); color: var(--w); }
.card.urgent .chip { background: var(--n); color: var(--g); }
.checks { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.checks li { display: flex; align-items: center; gap: 8px; }
.panel { border: 1.5px solid var(--g-14); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.panel h2 { font-size: 18px; font-weight: 800; }

/* ecrane scunde (laptop): panoul din stanga trebuie sa incapa cu tot cu subsol, fara scroll */
@media (min-width: 721px) and (max-height: 900px) {
  .auth-brand { padding: 32px 56px; gap: 24px; }
  .auth-brand h1 { font-size: 44px; }
  .auth-brand p { margin-top: 14px; font-size: 17px; }
  .points { gap: 10px; }
}

/* administrare personal */
.block { display: block; }
.rota { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.rota-day { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px; border: 1.5px solid var(--g-14); border-radius: 20px; }
.rota-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.rota-shift { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border: 1.5px solid var(--g-14); border-radius: 16px; }
.rota-shift.open { background: var(--g); border-color: var(--g); color: var(--w); }
.rota-shift.open .btn-primary { background: var(--n); border-color: var(--n); color: var(--g); }
.rota-who { font-weight: 800; }
.rota-shift .btn { min-height: 36px; padding: 0 14px; font-size: 14px; }
.cands { display: flex; flex-direction: column; gap: 10px; }
.cand { padding: 10px 12px; border: 1.5px solid var(--g-14); border-radius: 14px; }
.cand input:disabled + span { opacity: .55; }
.load { display: flex; flex-direction: column; gap: 6px; min-width: 90px; }
.state { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }

/* program de functionare */
.prog { display: flex; flex-direction: column; gap: 8px; }
.prog-row { display: grid; grid-template-columns: minmax(150px, 1.4fr) repeat(4, minmax(90px, 1fr)); gap: 10px; align-items: center; }
.prog-head { font-size: 13px; font-weight: 700; color: var(--g-72); }
.prog-row input[type="time"], .prog-row select { min-height: 44px; padding: 0 10px; }
.rota-shift.open .chip { background: var(--n); color: var(--g); }
.plain { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }

/* mobil: bara de navigare jos, tabelele devin carduri */
@media (max-width: 720px) {
  body { padding-bottom: 92px; }
  .site-footer { padding: 14px 16px; }
  .auth { flex-direction: column; flex-wrap: nowrap; background: var(--g); }
  .auth-brand { flex: none; padding: 36px 28px 28px; gap: 20px; }
  .auth-brand h1 { font-size: 34px; }
  .auth-brand p, .points { display: none; }
  .auth-form { flex: 1; align-items: flex-start; padding: 28px 24px; background: var(--w); border-radius: 32px 32px 0 0; }
  .auth-form h2 { font-size: 24px; }
  .auth-form form { gap: 14px; }

  .top { padding: 12px 16px; gap: 8px; justify-content: space-between; }
  .brand { font-size: 18px; }
  .logo { width: 36px; height: 36px; border-radius: 11px; }
  .user #who { display: none; }
  .tabs { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; flex: none; flex-wrap: nowrap; gap: 4px; padding: 8px 12px 14px; background: var(--g); color: var(--w); }
  .tab-group { flex: 1; min-width: 0; display: flex; position: static; }
  .tab-menu { top: auto; bottom: calc(100% + 8px); left: 12px; right: 12px; min-width: 0; }
  .tab { flex: 1; min-width: 0; min-height: 56px; flex-direction: column; justify-content: center; gap: 2px; padding: 0; border-radius: 16px; color: var(--w); font-size: 12px; }
  .tab svg { display: block; }
  .tab:hover { background: rgba(255, 255, 255, .12); }
  .tab[aria-current="page"] { background: var(--n); color: var(--g); font-weight: 800; }
  .tabs :focus-visible { outline-color: var(--n); }

  .content { padding: 16px 16px 24px; }
  .page { gap: 16px; }
  .head h1 { font-size: 26px; }
  .hero { padding: 22px; border-radius: 24px; gap: 20px; }
  .hero .big { font-size: 46px; margin-top: 14px; }
  .hero .big small { font-size: 20px; }
  .hero .sub { margin-top: 10px; font-size: 14px; }
  .hero .row b { font-size: 18px; }
  .kpis, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .kpi { padding: 16px; border-radius: 20px; }
  .kpi .value { font-size: 22px; }
  .kpi .label { font-size: 13px; }
  .stat { padding: 12px 16px; border-radius: 18px; }
  .stat b { font-size: 28px; }
  .seg { display: flex; width: 100%; }
  .seg button { flex: 1; padding: 0 8px; }
  .search { max-width: none; flex-basis: 100%; }
  .prog-head { display: none; }
  .prog-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; border: 1.5px solid var(--g-14); border-radius: 16px; }
  .prog-row > :first-child { grid-column: 1 / -1; }

  .table-wrap { border: 0; border-radius: 0; overflow: visible; }
  table, tbody, tr, td { display: block; }
  thead { display: none; }
  tr { margin-bottom: 10px; padding: 12px 16px; border: 1.5px solid var(--g-14); border-radius: 20px; }
  td, tbody tr:first-child td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0; border: 0; text-align: right; white-space: normal; }
  td::before { content: attr(data-label); flex: none; font-weight: 700; font-size: 13px; color: var(--g-72); text-align: left; }
  .partner b { max-width: none; }
  .card { padding: 14px 16px; border-radius: 20px; gap: 6px; }
  .banner { padding: 14px 16px; border-radius: 20px; font-size: 14px; }
}

/* emitere facturi */
.env-banner { padding: 12px 20px; border: 2px solid var(--g); border-radius: 16px; font-weight: 700; }
.env-banner.test { background: var(--n); }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.fld select { min-height: 52px; }
.line { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr auto; gap: 8px; align-items: end; padding: 12px 0; border-top: 1.5px solid var(--g-14); }
.line .fld { min-width: 0; }
textarea { min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--g-60); border-radius: 14px; background: var(--w); color: var(--g); font: inherit; resize: vertical; }
.line.stage { grid-template-columns: 2fr 1fr 3fr auto; }
.line.bom { grid-template-columns: 3fr 1fr 1fr 2fr auto; }
.logo-box { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.logo-preview { max-width: 220px; max-height: 90px; object-fit: contain; padding: 8px; border: 1.5px solid var(--g-14); border-radius: 12px; background: #fff; }
.err { margin-top: 6px; padding-left: 12px; border-left: 4px solid var(--g); white-space: pre-line; font-size: 14px; }
.acts { display: flex; flex-wrap: wrap; gap: 4px 16px; }
@media (max-width: 760px) { .line, .line.stage, .line.bom { grid-template-columns: 1fr 1fr; } .line .fld:first-child { grid-column: 1 / -1; } }
.chart-box { margin: 8px 0 20px; }
.chart { display: block; width: 100%; max-width: 760px; height: auto; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--g-72); }
.legend i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 4px; vertical-align: -1px; border: 1px solid var(--g-14); }
.paid-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.paid-date { width: 150px; min-height: 36px; padding: 4px 8px; border: 1.5px solid var(--g-14); border-radius: 10px; font-size: 14px; color: var(--g); background: var(--w); }
.paid-date[hidden] { display: none; }
.paid-cell small[hidden] { display: none; }
.alloc-list { display: flex; flex-direction: column; gap: 8px; max-height: 44vh; overflow-y: auto; }
.alloc-row { display: grid; grid-template-columns: auto 1fr auto 120px; align-items: center; gap: 4px 12px; padding: 8px 4px; border-bottom: 1px solid var(--g-14); font-size: 15px; }
.alloc-row .paid-date { width: 100%; text-align: right; }
@media (max-width: 560px) { .alloc-row { grid-template-columns: auto 1fr; } .alloc-row .num { grid-column: 2; } .alloc-row .paid-date { grid-column: 2; } }
.acc-firm { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.acc-firm h2 { margin: 0; }
.acc-firm .table-wrap { align-self: stretch; }
.acc-bar label { font-weight: 700; }
.acc-bar select { min-height: 44px; padding: 0 14px; } /* aceeasi inaltime cu butoanele de langa */
.acc-foot { padding-top: 20px; border-top: 1.5px solid var(--g-14); }
