/* Podstawa: zmienne, typografia, przyciski, nagłówek serwisu, tabele */
:root {
  --atrament: #15232b;
  --atrament-jasny: #4a5b65;
  --tlo: #f1f3f4;
  --karta: #ffffff;
  --linia: #cfd7db;
  --morski: #0c5f69;
  --morski-ciemny: #08454d;
  --bursztyn: #e0a43a;
  --alarm: #a3261c;
  --pismo-tekst: Charter, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --pismo-ui: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth }
body {
  margin: 0;
  background: var(--tlo);
  color: var(--atrament);
  font-family: var(--pismo-ui);
  font-size: 1rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block }
h1, h2, h3 { line-height: 1.22; margin: 0 0 .6em; text-wrap: balance }
p, ul, ol, dl { margin: 0 0 1em }
a { color: var(--morski); text-underline-offset: .15em }
a:hover { color: var(--morski-ciemny) }
:focus-visible { outline: 3px solid var(--bursztyn); outline-offset: 2px }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: #e6ebed; padding: .05em .3em; border-radius: 3px }

.strona { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1rem }
.strona-waska { max-width: 700px }

.tylko-czytnik {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.przejdz-do-tresci {
  position: absolute; left: .5rem; top: -4rem; z-index: 100;
  background: var(--atrament); color: #fff; padding: .6rem 1rem; border-radius: 4px;
}
.przejdz-do-tresci:focus { top: .5rem }

.glowa-serwisu { background: var(--karta); border-bottom: 1px solid var(--linia) }
.glowa-wiersz { display: flex; align-items: center; min-height: 54px }
.znak-serwisu {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--atrament); text-decoration: none; font-weight: 700; letter-spacing: .01em;
}
.znak-serwisu:hover { color: var(--morski) }

.przycisk {
  display: inline-block; font: inherit; font-weight: 600; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  padding: .8rem 1.25rem; border-radius: 6px;
  border: 2px solid var(--atrament); background: transparent; color: var(--atrament);
  min-height: 46px;
}
.przycisk:hover { background: #e3e8ea; color: var(--atrament) }
.przycisk-glowny { background: var(--morski); border-color: var(--morski); color: #fff }
.przycisk-glowny:hover { background: var(--morski-ciemny); border-color: var(--morski-ciemny); color: #fff }
.przycisk-szeroki { display: block; width: 100% }
.przycisk[disabled] { opacity: .65; cursor: progress }

.tabela-przewijana { overflow-x: auto; max-width: 100%; margin: 0 0 1.2em }
table { border-collapse: collapse; width: 100%; background: var(--karta) }
th, td { text-align: left; vertical-align: top; padding: .65rem .8rem; border-bottom: 1px solid var(--linia) }
caption { text-align: left; font-weight: 600; padding: 0 0 .5rem }

.do-uzupelnienia { background: #ffe08a; color: #3b2d00; padding: .05em .3em; border-radius: 3px }
