* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #eef1f5;
  color: #111827;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img[src*="pusty.gif"] {
  display: none;
}

.tabtytul {
  width: 100%;
  background: #1a56db;
  border: none;
}

.tytul {
  height: auto !important;
  padding: 24px 20px !important;
  color: #ffffff !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  background: none !important;
  border: none !important;
  text-align: center !important;
  letter-spacing: -0.01em;
}

.tytulnapis {
  display: inline !important;
  filter: none !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}

.logo {
  display: none;
}

.ng {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0 6px 0 !important;
  color: #374151 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: none !important;
  border: none !important;
}

.ng::before {
  content: "";
  flex-shrink: 0;
  width: 3px;
  height: 16px;
  background: #1a56db;
  border-radius: 2px;
}

.tabela {
  background: transparent !important;
  border: none !important;
}

.tabela td {
  padding: 3px 3px !important;
  font-size: 14px !important;
}

.tabela a {
  display: inline-block;
  padding: 6px 14px;
  background: #f9fafb;
  color: #1f2937 !important;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  border: 1px solid #e5e7eb;
  white-space: nowrap;
  transition: all 0.12s;
  margin: 2px 0;
}

.tabela a:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1a56db !important;
}

table[style*="margin-top"] {
  max-width: 1100px;
  margin: 20px auto !important;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  padding: 0 20px;
}

table[style*="margin-top"] > tbody > tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

table[style*="margin-top"] > tbody > tr > td {
  display: table-cell;
  vertical-align: top;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

table[style*="margin-top"] > tbody > tr > td:first-child {
  width: 140px;
  min-width: 140px;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 20px 24px 20px 0;
}

table[style*="margin-top"] .tabela {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

table[style*="margin-top"] .tabela tr {
  display: inline;
}

table[style*="margin-top"] .tabela td {
  display: inline;
  padding: 2px !important;
}

a:link {
  color: #2563eb !important;
}

a:visited {
  color: #6b7280 !important;
}

a:hover {
  color: #1a56db !important;
  text-decoration: underline !important;
}

@media (max-width: 768px) {
  .tytul {
    padding: 18px 16px !important;
    font-size: 22px !important;
  }

  table[style*="margin-top"] {
    padding: 0 8px;
    margin: 8px auto !important;
    border-spacing: 0 8px;
  }

  table[style*="margin-top"] > tbody > tr > td {
    padding: 14px 16px;
    border-radius: 8px;
  }

  table[style*="margin-top"] > tbody > tr > td:first-child {
    width: 100px;
    min-width: 100px;
    padding: 14px 12px 14px 0;
  }

  .ng {
    font-size: 12px !important;
  }

  .tabela a {
    font-size: 13px;
    padding: 5px 10px;
  }

  .tabela td {
    font-size: 13px !important;
  }
}

@media print {
  .tabtytul {
    display: none !important;
  }

  table[style*="margin-top"] > tbody > tr > td {
    box-shadow: none;
    border: 1px solid #d1d5db;
    border-radius: 0;
    padding: 12px;
  }

  table[style*="margin-top"] {
    margin: 0 auto !important;
  }
}
