/* Kolory z domyślnego motywu Blendera. Czcionka pikselowa: rozmiary tylko co 8 px. */
@font-face { font-family: Pixel; src: url(pixel.woff) format('woff'); font-display: block; }
:root {
  --tlo: #181818; --panel: #303030; --lista: #282828; --btn: #545454; --widok: #3d3d3d;
  --tekst: #e6e6e6; --cichy: #a6a6a6; --nieb: #4772b3; --pom: #ff8f0d; --zol: #ffbe33; --klip: #55759a;
}
* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
body { background: var(--tlo); color: var(--tekst); font: 16px/24px Pixel, system-ui, sans-serif; -webkit-font-smoothing: none; }
h1, h2 { font-weight: 400; }
button, input { font: inherit; color: inherit; border: 0; border-radius: 4px; }
button { background: var(--btn); min-height: 40px; min-width: 40px; padding: 0 16px; cursor: pointer; }
button:hover { background: #656565; }
button:disabled { opacity: .4; cursor: default; }
button svg { width: 16px; height: 16px; fill: currentColor; display: block; margin: auto; shape-rendering: crispEdges; }
button:has(> svg:only-child) { padding: 0; }
.glowny { background: var(--nieb); color: #fff; }
.glowny:hover { background: #5680c1; }
:focus-visible { outline: 2px solid #8fbaff; outline-offset: 2px; }

header { display: flex; align-items: flex-end; gap: 40px; padding: 8px 16px 0; height: 56px; }
h1 { font-size: 24px; line-height: 48px; display: flex; align-items: center; gap: 12px; color: #fff; text-shadow: 3px 3px #3f3f3f; }
h1 { min-width: 0; }
h1 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 3px; }
h1 span:empty { display: none; }
h1 img { height: 24px; flex: none; }
h1 img:not([src="/ikona.svg"]) { height: 32px; max-width: 160px; object-fit: contain; }
header nav { flex: none; }
.zakladki { display: flex; gap: 4px; }
.zakladki button { padding: 8px 20px; border-radius: 6px 6px 0 0; color: var(--cichy); background: none; }
.zakladki button:hover { color: #fff; }
.zakladki button[aria-current] { background: var(--panel); color: #fff; }
.zakladki button:focus-visible { outline-offset: -2px; }
