* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 15px/1.45 system-ui, sans-serif; background: #14161a; color: #e8e8e8; }
#login { display: flex; min-height: 100vh; align-items: center; justify-content: center; }
#loginForm { display: flex; flex-direction: column; gap: 10px; width: min(320px, 90vw); }
#loginForm h1 { font-size: 20px; text-align: center; }
input, button { font: inherit; padding: 9px 12px; border-radius: 8px; border: 1px solid #3a3f47; background: #1d2026; color: inherit; }
button { cursor: pointer; background: #2b6cb0; border-color: #2b6cb0; }
.chyba { color: #ff7b7b; min-height: 1em; margin: 0; }
header { display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: #1d2026; position: sticky; top: 0; z-index: 5; flex-wrap: wrap; }
#titulek { font-weight: 700; }
nav { display: flex; gap: 4px; flex: 1; }
nav a { color: #aab2bd; text-decoration: none; padding: 6px 12px; border-radius: 8px; }
nav a.aktivni { background: #2b6cb0; color: #fff; }
main { padding: 16px; }
section.mistnost { margin-bottom: 18px; }
section.mistnost h2 { font-size: 16px; margin: 0 0 8px; }
.chipy { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #1d2026; border: 1px solid #3a3f47; cursor: pointer; }
.chip .tecka { width: 10px; height: 10px; border-radius: 50%; background: #666; }
#detail { position: fixed; inset: auto 0 0 0; max-height: 70vh; overflow: auto; background: #1d2026; border-top: 2px solid #2b6cb0; padding: 16px; z-index: 10; }
#detail h2 { margin-top: 0; }
#detail .zavrit { float: right; background: transparent; border-color: #3a3f47; }
#detail ul { padding-left: 18px; }
#detail a { color: #7db4e8; }
.listy { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; }
.listy a { color: #aab2bd; text-decoration: none; padding: 5px 10px; border-radius: 8px; background: #1d2026; }
.listy a.aktivni { background: #2b6cb0; color: #fff; }
#platno { border: 1px solid #3a3f47; border-radius: 8px; background: #0f1114; height: calc(100vh - 170px); }
#platno svg { width: 100%; height: 100%; display: block; touch-action: none; }
.sloupce { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.sloupce h3 { font-size: 14px; color: #aab2bd; }
.polozka { padding: 8px 10px; border: 1px solid #3a3f47; border-radius: 8px; margin-bottom: 6px; cursor: pointer; background: #1d2026; }
.polozka.stred { border-color: #2b6cb0; background: #223047; }
#hledat { width: 100%; margin-bottom: 10px; }
@media (max-width: 700px) { .sloupce { grid-template-columns: 1fr; } }
details.mistnost { margin-top: 24px; }
details.mistnost summary { cursor: pointer; color: #aab2bd; margin-bottom: 8px; }
