/* V1 ataskaitos CSS — spalvos paimtos iš originalios PDF pixel sampling'u
   (PIL getcolors + pymupdf span colors).
   Žr. reference_brand_assets.md
*/
:root {
  /* ProBankConvert paletė — tamsus teal-navy + aukso akcentas + neutralūs
     pilkšvi atspalviai. Bendra su https://probankconvert.com brandu. */
  --v1-sand:        #EBEAE2;  /* šviesus smėlinis fonas (istorinis, mažai liečiamas) */
  --v1-sand-dim:    #D9D4C7;  /* tamsesnis smėlinis — headers */
  --v1-cream:       #f5f0e4;  /* kreminė (buvo gelsva) — VISO stulpelių akcentas */
  --v1-navy:        #1b4a5a;  /* pagrindinė — tamsus teal-navy (PBC primary) */
  --v1-navy-dk:     #143d4a;  /* tamsesnis hover'iams */
  --v1-navy-lt:     #2a6070;  /* šviesesnis navy gradientams */
  --v1-navy-tint:   #e8f0f3;  /* labai šviesus navy fonas */
  --v1-gold:        #c4a96a;  /* auksas — CTA akcentai */
  --v1-gold-dk:     #b89b5c;  /* aukso hover */
  --v1-gold-lt:     #f5f0e4;  /* aukso kreminė */
  --v1-red:         #FF0000;  /* neigiamos sumos */
  --v1-zero-gray:   #BFBFBF;  /* 0 € pablankintas */
  --v1-text-dim:    #69727d;  /* PBC text-light */
  --v1-ink:         #32373c;  /* PBC text */
  --v1-cell:        #FFFFFF;
  --v1-border:      #e2e8f0;  /* PBC border */
  /* Atgalinis suderinamumas — senos --v1-orange* reikšmės pakartoja paletę */
  --v1-orange:      #1b4a5a;  /* buvo oranžinė — dabar navy */
  --v1-orange-lt:   #c4a96a;  /* buvo šviesi oranžinė — dabar auksas */
  --v1-orange-dk:   #143d4a;  /* buvo tamsi oranžinė — dabar tamsus navy */
  --v1-orange-bright: #c4a96a; /* dabar auksas */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Arial, "Arial MT", Helvetica, sans-serif;
  color: var(--v1-ink);
  background: var(--v1-sand);
  font-size: 13px;
  line-height: 1.35;
}

/* ─── Top bar ────────────────────────────────── */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--v1-border);
  padding: 0 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  height: 82px;
  max-width: 1700px;
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; padding: .3rem 0; }
.brand-logo {
  height: 58px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.08));
}
.company-meta {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .78rem;
  color: var(--v1-text-dim);
  margin-right: auto;
  padding-left: 1.5rem;
  border-left: 2px solid var(--v1-sand-dim);
  line-height: 1.3;
}
.company-meta .cm-line { display: flex; align-items: center; gap: .45rem; }
.company-meta .cm-ico {
  color: var(--v1-orange);
  font-size: .82rem;
  width: 14px;
  display: inline-flex;
  justify-content: center;
}
.company-meta a { color: var(--v1-text-dim); text-decoration: none; }
.company-meta a:hover { color: var(--v1-orange-dk); text-decoration: underline; }
.topbar-right { display: flex; gap: 1.2rem; align-items: center; }
.user { font-size: .82rem; color: var(--v1-text-dim); }
.inline { display: inline; }
.link {
  background: none;
  border: none;
  color: var(--v1-text-dim);
  cursor: pointer;
  padding: 0;
  font-size: .82rem;
}
.link:hover { color: var(--v1-orange-dk); text-decoration: underline; }

main { padding: 1.2rem 1.5rem 3rem; }
.container { max-width: 1700px; margin: 0 auto; }

/* ─── Login ─────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--v1-border);
  padding: 1.5rem;
}
.login-card {
  max-width: 380px;
  margin: 4rem auto;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  border-top: 3px solid var(--v1-gold);
}
.login-card h1 { margin-top: 0; font-size: 1.3rem; color: var(--v1-ink); font-weight: bold; }
.login-card label {
  display: block;
  margin: 1rem 0;
  font-size: .82rem;
  color: var(--v1-text-dim);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.login-card input {
  width: 100%;
  padding: .55rem .7rem;
  border: 1px solid var(--v1-border);
  margin-top: .3rem;
  font-size: .95rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--v1-ink);
  font-family: inherit;
}
.btn-primary {
  width: 100%;
  background: var(--v1-navy);
  color: #fff;
  border: none;
  padding: .6rem;
  font-size: .95rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: .5rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-family: inherit;
  box-shadow: 0 2px 6px rgba(27, 74, 90, .18);
  transition: background .15s ease, transform .1s ease, box-shadow .1s ease;
}
.btn-primary:hover {
  background: var(--v1-navy-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(27, 74, 90, .25);
}
.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: .6rem;
  margin-bottom: 1rem;
  font-size: .88rem;
}

/* ─── Home ──────────────────────────────────── */
.company-list { list-style: none; padding: 0; margin: 1rem 0; }
.company-list li {
  background: #fff;
  border: 1px solid var(--v1-border);
  border-left: 3px solid var(--v1-orange);
  margin-bottom: .5rem;
}
.company-list a {
  display: block;
  padding: 1rem;
  color: var(--v1-ink);
  text-decoration: none;
  font-weight: bold;
}
.company-list a:hover { background: var(--v1-cream); color: var(--v1-orange-dk); }

/* ─── Report layout ─────────────────────────── */
.report-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  max-width: 1700px;
  margin: 0 auto;
}
@media (max-width: 980px) { .report-layout { grid-template-columns: 1fr; } }

/* ─── Sidebar ───────────────────────────────── */
.sidebar {
  align-self: flex-start;
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: none;
  border: none;
}
.sidebar > .sidebar-title,
.sidebar > .filters-body {
  background: #fff;
  border: 1px solid var(--v1-border);
}
.sidebar > .sidebar-title { border-bottom: none; }
.sidebar > .filters-body { border-top: none; margin-top: -1rem; padding-top: 1rem; }

/* ─── Trūkstamų dokumentų kortelė (V1 bronze card) ─── */
.missing-docs-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  width: 100%;
  padding: 1.6rem 1rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--v1-navy-lt) 0%, var(--v1-navy) 60%, var(--v1-navy-dk) 100%);
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  font-weight: bold;
  letter-spacing: 1.2px;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(27, 74, 90, .22), inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .12s ease, box-shadow .12s ease;
}
.missing-docs-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(27, 74, 90, .32), inset 0 1px 0 rgba(255,255,255,.2);
}
.missing-docs-card:active { transform: translateY(0); }
.missing-docs-card .mdc-title { text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.missing-docs-card .mdc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 .5rem;
  background: var(--v1-gold);
  color: var(--v1-navy-dk);
  border-radius: 14px;
  font-size: .82rem;
  font-weight: bold;
  letter-spacing: 0;
  margin-top: .3rem;
}

/* ─── Modal ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-top: 3px solid var(--v1-orange);
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--v1-sand);
}
.modal-header h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--v1-ink);
  font-weight: bold;
}
.modal-body { padding: 1.2rem; }
.modal-body p { margin: 0; }
.sidebar-title {
  background: var(--v1-sand-dim);
  color: var(--v1-ink);
  font-size: .72rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: .7rem 1rem;
}
.filters-body { padding: 1rem; }
.filter-block {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--v1-sand);
}
.filter-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-label {
  display: block;
  font-size: .7rem;
  color: var(--v1-navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  margin-bottom: .5rem;
}
.sidebar select {
  width: 100%;
  padding: .4rem .5rem;
  border: 1px solid var(--v1-border);
  background: #fff;
  font-size: .85rem;
  color: var(--v1-ink);
  font-family: inherit;
}
.dim-list { list-style: none; padding: 0; margin: 0; max-height: 420px; overflow-y: auto; }
.dim-list li { padding: .2rem 0; font-size: .82rem; }
.dim-list label {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  color: var(--v1-ink);
}
.dim-list input[type="checkbox"] {
  accent-color: var(--v1-orange);
  width: 14px;
  height: 14px;
}
.dim-empty { color: var(--v1-text-dim); font-size: .82rem; font-style: italic; }
.clear-link {
  display: inline-block;
  margin-top: .6rem;
  color: var(--v1-orange-dk);
  font-size: .75rem;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.clear-link:hover { text-decoration: underline; }

/* ─── Ataskaitos antraštės juosta (V1 spec) ─── */
.report-main { min-width: 0; }

.v1-header {
  background: var(--v1-sand);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 1.4rem;
  border-bottom: 2px solid #fff;
}
.v1-header-left { }
.v1-header .company {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--v1-text-dim);
  margin-bottom: .2rem;
  font-weight: bold;
}
.v1-header h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: -.2px;
  color: var(--v1-ink);
  line-height: 1;
}
.v1-header .year {
  font-size: 4.2rem;
  font-weight: bold;
  color: var(--v1-navy);
  line-height: .85;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}

.v1-subtitle {
  text-align: center;
  color: var(--v1-navy);
  font-size: .82rem;
  font-weight: bold;
  padding: .65rem 0;
  background: var(--v1-sand);
  letter-spacing: .2px;
}

.last-extracted {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .45rem .9rem;
  background: var(--v1-navy-tint);
  font-size: .78rem;
  color: var(--v1-navy-dk);
  border-top: 1px solid rgba(27, 74, 90, .08);
}
.last-extracted .le-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #39b54a;
  box-shadow: 0 0 0 3px rgba(57, 181, 74, .2);
}
.last-extracted .le-text { font-weight: 600; }
.last-extracted .le-when {
  color: var(--v1-text-dim);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  opacity: .8;
}
.last-extracted.stale { color: var(--v1-gold-dk); }
.last-extracted.stale .le-dot {
  background: var(--v1-gold);
  box-shadow: 0 0 0 3px rgba(196, 169, 106, .25);
}
.last-extracted.old { color: #7A1F1F; background: #fbecec; }
.last-extracted.old .le-dot {
  background: #c9302c;
  box-shadow: 0 0 0 3px rgba(201,48,44,.22);
}

/* ─── Matrica — V1 spec ─────────────────────── */
.matrix-wrap {
  background: var(--v1-sand);
  overflow: auto;
  padding: 0 0 2px 0;
}

table.matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 2px;
  background: var(--v1-sand);
  font-size: .82rem;
  min-width: 1100px;
  font-variant-numeric: tabular-nums;
}
table.matrix th,
table.matrix td {
  padding: .32rem .5rem;
  text-align: right;
  white-space: nowrap;
  background: var(--v1-cell);
  border: none;
}

/* Kairė etikėtų kolonėlė — V1 turi smėlinį foną */
table.matrix th.row-label,
table.matrix td.row-label {
  text-align: left;
  position: sticky;
  left: 2px;
  z-index: 1;
  min-width: 260px;
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: bold;
  color: var(--v1-ink);
  background: var(--v1-sand);
}

/* Mėnesių antraštės — tamsesnis oranžinis, kompaktiška juosta */
table.matrix thead th {
  background: var(--v1-orange);
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .9px;
  font-size: .72rem;
  padding: .35rem .5rem;
}
table.matrix thead th.row-label {
  background: var(--v1-orange);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
table.matrix thead th.total {
  background: var(--v1-orange-lt);
}

/* Detail lentelės (sąskaitomis) antraštė — sand-dim vietoj oranžinės */
table.matrix:not(.summary) thead th {
  background: var(--v1-sand-dim);
  color: var(--v1-ink);
}
table.matrix:not(.summary) thead th.row-label {
  background: var(--v1-sand-dim);
  color: var(--v1-ink);
}
table.matrix:not(.summary) thead th.total {
  background: var(--v1-cream);
  color: var(--v1-ink);
}

/* Sumų celės — V1 neigiami visada bold, 0 celėse pilkas "0 €" */
table.matrix td.num { color: var(--v1-ink); font-weight: normal; }
table.matrix td.num.neg { color: var(--v1-red); font-weight: bold; }
table.matrix td.num.zero { color: var(--v1-zero-gray); }

/* VISO stulpelis — pastelinis oranžinis */
table.matrix td.total {
  background: var(--v1-cream);
  font-weight: bold;
  color: var(--v1-ink);
}

/* Grupių eilutės (Pajamos, Sąnaudos) — didelės did. raidės */
table.matrix tr.group-row td {
  background: var(--v1-sand);
  color: var(--v1-ink);
  font-weight: bold;
  padding: .5rem .6rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .78rem;
  border-bottom: 2px solid var(--v1-orange);
}

/* Pelno eilutė — baltas fonas, bold, VISO celė oranžinė */
table.matrix tr.profit td {
  background: var(--v1-cell);
  color: var(--v1-ink);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: .82rem;
  padding: .55rem .6rem;
  border-top: 1px solid var(--v1-border);
}
table.matrix tr.profit td.row-label { background: var(--v1-cell); }
table.matrix tr.profit td.num.neg { color: var(--v1-red); }
table.matrix tr.profit td.total {
  background: var(--v1-orange-lt);
  color: #fff;
  font-weight: bold;
}

/* Subtotals (Iš viso pajamų / sąnaudų) */
table.matrix tr.subtotal td {
  font-weight: bold;
  background: var(--v1-cell);
  text-transform: uppercase;
  letter-spacing: .4px;
  font-size: .76rem;
  border-top: 1px solid var(--v1-border);
}
table.matrix tr.subtotal td.total { background: var(--v1-cream); }

/* Drill-down linkai */
table.matrix a {
  color: var(--v1-ink);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}
table.matrix a:hover {
  color: var(--v1-orange-dk);
  border-bottom-color: var(--v1-orange);
}

/* ─── Summary lentelė (V1 viršutinis blokas) ─── */
table.matrix.summary {
  margin-bottom: 1.2rem;
  min-width: 1100px;
}
table.matrix.summary tbody tr.sum-row td {
  background: var(--v1-cell);
  font-weight: bold;
  font-size: .85rem;
  padding: .55rem .6rem;
}
table.matrix.summary tbody tr.sum-row td.row-label {
  background: var(--v1-sand);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: bold;
  color: var(--v1-ink);
}
table.matrix.summary tbody tr.sum-row td.num.zero { color: var(--v1-zero-gray); font-weight: normal; }
table.matrix.summary tbody tr.sum-row td.num.neg { color: var(--v1-red); font-weight: bold; }
table.matrix.summary tbody tr.sum-row td.total { background: var(--v1-cream); }
table.matrix.summary tbody tr.sum-row.profit td.total { background: var(--v1-orange-lt); color: #fff; }
table.matrix.summary tbody tr.sum-row.pelningumas td { color: var(--v1-text-dim); font-weight: normal; }
table.matrix.summary tbody tr.sum-row.pelningumas td.row-label { color: var(--v1-ink); font-weight: bold; }
table.matrix.summary tbody tr.sum-row.pelningumas td.pct.empty { color: var(--v1-zero-gray); }
table.matrix.summary tbody tr.sum-row.sandelis td { background: var(--v1-sand); font-weight: normal; color: var(--v1-text-dim); font-size: .8rem; }
table.matrix.summary tbody tr.sum-row.sandelis td.row-label { color: var(--v1-ink); font-weight: bold; background: var(--v1-sand-dim); }
table.matrix.summary tbody tr.sum-row.sandelis td.total { background: var(--v1-sand-dim); color: var(--v1-ink); font-weight: bold; }

.detail-wrap { margin-top: .5rem; }

/* ─── Charts row (V1 grafikai) ─── */
.charts-row {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1fr;
  gap: .6rem;
  margin: 0 0 1rem 0;
  height: 260px;
}
.chart-card, .pie-card {
  background: var(--v1-cell);
  border: 1px solid var(--v1-border);
  padding: .5rem .7rem .7rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.chart-title {
  font-size: .7rem;
  font-weight: bold;
  letter-spacing: .8px;
  color: var(--v1-navy);
  text-transform: uppercase;
  margin-bottom: .4rem;
  flex-shrink: 0;
}
.chart-card .chart-canvas-wrap {
  flex: 1;
  position: relative;
  min-height: 0;
}

.kpi-stack {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-width: 0;
  min-height: 0;
}
.kpi-stack .kpi-card {
  flex: 1;
  padding: 0;
}
.kpi-stack .kpi-card .kpi-value { font-size: 1.35rem; }

.kpi-card {
  background: #fff;
  color: var(--v1-ink);
  padding: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid var(--v1-border);
  border-radius: 6px;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 1px 3px rgba(27, 74, 90, .06);
}
.kpi-card .kpi-value.muted-v { color: var(--v1-gold-dk); font-size: 1.2rem; }
.kpi-label {
  background: var(--v1-navy);
  color: #fff;
  font-size: .72rem;
  font-weight: bold;
  letter-spacing: .9px;
  text-transform: uppercase;
  padding: .45rem .5rem;
  line-height: 1.2;
}
.kpi-value {
  background: #fff;
  color: var(--v1-navy-dk);
  font-size: 1.55rem;
  font-weight: bold;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.5px;
  padding: .7rem .5rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kpi-value.neg {
  color: var(--v1-red);
}
.kpi-sub {
  background: var(--v1-gold);
  color: var(--v1-navy-dk);
  font-size: .72rem;
  font-weight: bold;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: .45rem .4rem;
  line-height: 1.2;
}

@media (max-width: 1200px) {
  .charts-row { grid-template-columns: 1fr; }
}

/* ─── Drill-down ─────────────────────────────── */
.drill-panel { margin-top: 1rem; }
.drill-content {
  background: #fff;
  border: 1px solid var(--v1-border);
  border-top: 3px solid var(--v1-orange);
  padding: 1rem 1.2rem 1.2rem;
}
.drill-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: .6rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--v1-sand);
}
.drill-header h3 {
  margin: 0;
  font-size: .95rem;
  color: var(--v1-ink);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: bold;
}
.drill-period { font-weight: normal; color: var(--v1-text-dim); margin-left: .4rem; text-transform: none; letter-spacing: normal; }
.btn-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--v1-text-dim);
  cursor: pointer;
  line-height: 1;
  padding: 0 .3rem;
}
.btn-close:hover { color: var(--v1-ink); }

table.drill-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
table.drill-table th, table.drill-table td {
  padding: .4rem .6rem;
  border-bottom: 1px solid var(--v1-sand);
  text-align: left;
}
table.drill-table th {
  background: var(--v1-sand-dim);
  color: var(--v1-ink);
  font-weight: bold;
  font-size: .72rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: .35rem .6rem;
}
table.drill-table td.num { text-align: right; font-weight: normal; }
table.drill-table td.num.neg { color: var(--v1-red); }
table.drill-table tbody tr:hover td { background: var(--v1-cream); }
.muted { color: var(--v1-text-dim); font-style: italic; }

/* ─── Atskaitingų asmens skolos statusas ─── */
.accountable-card {
  border: 1px solid var(--v1-border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(27, 74, 90, .06);
}
.accountable-card .ac-title {
  background: var(--v1-navy);
  color: #fff;
  font-weight: bold;
  font-size: .72rem;
  letter-spacing: .9px;
  text-transform: uppercase;
  text-align: center;
  padding: .45rem .5rem;
  line-height: 1.2;
}
.accountable-card .ac-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  flex: 1;
  min-height: 72px;
}
.accountable-card .ac-amount {
  background: #fff;
  color: var(--v1-navy-dk);
  font-weight: bold;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem;
  text-align: center;
}
.accountable-card .ac-label {
  background: var(--v1-gold);
  color: var(--v1-navy-dk);
  font-weight: bold;
  font-size: .78rem;
  letter-spacing: .4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem .4rem;
  text-align: center;
  line-height: 1.2;
}

/* ─── Footer ─── */
.sitefoot {
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--v1-navy) 0%, var(--v1-navy-lt) 100%);
  color: #fff;
  border-top: 1px solid rgba(0,0,0,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.sitefoot-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: .75rem 1.25rem;
  text-align: center;
  font-size: .78rem;
  font-weight: bold;
  letter-spacing: .6px;
}

/* ═══════════════════════════════════════════════════════════════
   Paywall (free tier) — užrakintos sekcijos
   ═══════════════════════════════════════════════════════════════ */

.paywall-section {
  position: relative;
  isolation: isolate;
}
.paywall-section > *:not(.paywall-lock) {
  filter: blur(6px) saturate(.7);
  pointer-events: none;
  user-select: none;
}
.paywall-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(27, 74, 90, .28) 0%,
    rgba(27, 74, 90, .12) 100%);
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
}

.paywall-lock {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.4rem;
  border: 2px solid var(--v1-gold);
  border-radius: 999px;
  background: #fff;
  color: var(--v1-navy-dk);
  font-family: 'Arial', sans-serif;
  font-size: .95rem;
  font-weight: bold;
  letter-spacing: .8px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 8px 24px rgba(20, 61, 74, .25),
    0 2px 6px rgba(20, 61, 74, .15);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.paywall-lock:hover {
  background: var(--v1-gold);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.04);
  box-shadow:
    0 12px 32px rgba(20, 61, 74, .35),
    0 3px 8px rgba(20, 61, 74, .2);
}
.plock-icon { font-size: 1.1rem; line-height: 1; }
.plock-label { line-height: 1; }

/* Paywall modalas */
.paywall-modal-box {
  max-width: 520px;
  width: 100%;
}
.paywall-modal-box .modal-body p { margin: 0 0 1rem 0; line-height: 1.5; }
.paywall-benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem 0;
}
.paywall-benefits li {
  padding: .5rem 0;
  border-bottom: 1px solid var(--v1-border);
  font-size: .92rem;
  color: var(--v1-ink);
}
.paywall-benefits li:last-child { border-bottom: none; }
.paywall-price-box {
  text-align: center;
  padding: 1.25rem;
  background: var(--v1-navy-tint);
  border-radius: 8px;
  border: 1px solid var(--v1-gold);
}
.pw-price {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--v1-navy-dk);
  letter-spacing: -.5px;
}
.pw-price span {
  font-size: 1rem;
  font-weight: normal;
  color: var(--v1-text-dim);
}
.pw-contact {
  margin-top: .9rem;
  font-size: .92rem;
  color: var(--v1-ink);
}
.pw-contact a {
  color: var(--v1-navy);
  font-weight: bold;
  text-decoration: underline;
}
.pw-contact a:hover { color: var(--v1-navy-dk); }
