:root { --nieb: #1a73e8; --ziel: #1e8e3e; --czer: #d93025; --fiol: #8e24aa; --szary: #5f6368; --tlo: #f1f4f9; --karta: #ffffff; --tekst: #202124; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: var(--tlo); color: var(--tekst); }
.ekran { display: none; max-width: 980px; margin: 0 auto; padding: 16px; }
.ekran.wid { display: block; }
h1 { font-size: 28px; margin: 8px 0 4px; }
h2 { font-size: 20px; margin: 4px 0 10px; }
p.opis { color: var(--szary); margin: 0 0 14px; }
.karta { background: var(--karta); border-radius: 12px; padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.12); margin-bottom: 14px; }
button { font: inherit; border: 0; border-radius: 10px; padding: 12px 20px; cursor: pointer; background: var(--nieb); color: #fff; font-weight: bold; }
button.jasny { background: #e8eaed; color: var(--tekst); }
button.czer { background: var(--czer); }
button:disabled { opacity: .45; cursor: default; }
input[type=text], input[type=password], input[type=number] { font: inherit; font-size: 20px; padding: 10px; border: 2px solid #ccc; border-radius: 8px; width: 100%; max-width: 360px; }
.pasek { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.postep { font-size: 18px; font-weight: bold; color: var(--szary); }
.ramka { position: relative; background: #000; border-radius: 12px; overflow: hidden; height: 58vh; min-height: 260px; cursor: zoom-in; }
.ramka img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.ramka.zoom { cursor: zoom-out; }
.podp { color: var(--szary); font-size: 13px; margin: 6px 0 0; }
.odp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.odp button { font-size: 24px; padding: 22px 10px; }
.odp .bP { background: var(--ziel); } .odp .bA { background: var(--fiol); }
.znaki { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.znaki button { background: #e8eaed; color: var(--tekst); font-weight: normal; padding: 8px 12px; font-size: 15px; }
.znaki button.wyb { background: var(--nieb); color: #fff; }
.werdykt { font-size: 26px; font-weight: bold; margin: 6px 0; }
.ok { color: var(--ziel); } .zle { color: var(--czer); }
.wynik { font-size: 64px; font-weight: bold; text-align: center; margin: 10px 0; }
table { width: 100%; border-collapse: collapse; }
td, th { padding: 8px; border-bottom: 1px solid #e0e0e0; text-align: left; vertical-align: top; }
.lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.el { background: #fff; border-radius: 10px; padding: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.el img { width: 100%; height: 130px; object-fit: cover; border-radius: 6px; background: #ddd; }
.el select, .el input { width: 100%; font: inherit; padding: 6px; margin-top: 6px; font-size: 14px; }
.pp { display: flex; gap: 6px; margin-top: 6px; }
.pp button { flex: 1; padding: 8px; font-size: 14px; }
.pp .wyb.P { background: var(--ziel); } .pp .wyb.A { background: var(--fiol); }
.pp button:not(.wyb) { background: #e8eaed; color: var(--tekst); }
.male { display: flex; gap: 6px; margin-top: 6px; }
.male button { padding: 6px 10px; font-size: 13px; background: #e8eaed; color: var(--tekst); font-weight: normal; }
.uwaga { color: var(--czer); font-weight: bold; }
.kod { font-size: 48px; font-weight: bold; letter-spacing: 6px; color: var(--nieb); }
.belka { height: 14px; background: #e8eaed; border-radius: 7px; overflow: hidden; }
.belka div { height: 100%; background: var(--czer); }
.miniatura { width: 120px; height: 80px; object-fit: cover; border-radius: 6px; }
@media (max-width: 600px) { .odp button { font-size: 18px; padding: 16px 6px; } .wynik { font-size: 48px; } .kod { font-size: 36px; } }
