/* MAKO — aplikacja ekip. Jasno i kontrastowo: telefon używany na zewnątrz, w słońcu, często w rękawicach.
   Cele dotykowe ≥ 48 px. Czerwień zarezerwowana dla braków (makieta 07.2026). */
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat.woff2") format("woff2"); font-weight: 400 700;
  font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-ext.woff2") format("woff2"); font-weight: 400 700;
  font-display: swap; unicode-range: U+0100-02BA, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB; }
:root { --limonka: #8FCC25; --czern: #131313; --tlo: #fcfcfc; --przygaszony: #555; --zly: #b42318; --uwaga: #b45309; --dobry: #1a7f4b; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Montserrat", system-ui, sans-serif; background: var(--tlo); color: #000; font-size: 18px; }
.belka { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--czern); color: #fff;
  padding-top: max(10px, env(safe-area-inset-top)); }
.logo { height: 28px; }
#kto { font-weight: 600; font-size: 16px; }
main { padding: 16px; max-width: 640px; margin: 0 auto; padding-bottom: 96px; }
h1 { font-size: 24px; margin: 8px 0; } h2 { font-size: 20px; margin: 20px 0 8px; }
p.instrukcja { background: #f1f7e6; border-left: 5px solid var(--limonka); padding: 10px 12px; margin: 8px 0 16px; }
.karta { background: #fff; border-radius: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.08); padding: 14px; margin-bottom: 14px; }
button, a.przycisk { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px;
  font: inherit; font-weight: 700; border: 0; border-radius: 12px; background: var(--limonka); color: #000; cursor: pointer;
  text-decoration: none; margin: 8px 0; padding: 8px 12px; }
button.wtorny, a.przycisk.wtorny { background: #fff; border: 2px solid var(--czern); }
button.duzy { min-height: 72px; font-size: 22px; }
button:disabled { opacity: .45; }
.rzad { display: flex; gap: 8px; } .rzad > * { flex: 1; }
.info { color: var(--przygaszony); font-size: 15px; }
.pozycja { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 4px; border-bottom: 1px solid #eee; font-size: 17px; }
.pozycja input[type=checkbox] { width: 30px; height: 30px; accent-color: var(--dobry); flex: none; }
.pozycja.obowiazkowa .tekst::after { content: " *"; color: var(--zly); font-weight: 700; }
.zdjecia-pozycji { display: flex; gap: 8px; margin: 4px 0 8px 42px; flex-wrap: wrap; }
.zdjecia-pozycji button { width: auto; min-height: 48px; font-size: 16px; }
.stany { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.stany button { min-height: 52px; font-size: 15px; background: #fff; border: 2px solid #ccc; }
.stany button.wybrany { background: var(--limonka); border-color: var(--limonka); }
textarea, input[type=time], input[type=text], input[inputmode=numeric] { width: 100%; font: inherit; font-size: 20px; padding: 12px;
  border: 2px solid #999; border-radius: 10px; }
input.kod { font-size: 32px; letter-spacing: 8px; text-align: center; }
.braki { color: var(--zly); font-weight: 600; }
.ostrzezenie { background: #fff4e5; border-left: 5px solid var(--uwaga); padding: 10px 12px; }
.zrobione { color: var(--dobry); font-weight: 700; }
.kolejka { position: sticky; top: 0; z-index: 5; background: #fff4e5; padding: 8px 16px; font-size: 15px; font-weight: 600; }
.komunikat { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 14px;
  border-radius: 12px; background: var(--czern); color: #fff; font-weight: 600; z-index: 10; }
.komunikat.blad { background: var(--zly); }
.wczytuje { text-align: center; color: var(--przygaszony); margin-top: 40px; }
