:root { --pico-font-size: 100%; }
body > header, body > main, body > footer { padding-top: 1rem; }
.brand { font-weight: 700; text-decoration: none; }
.flash { padding: .75rem 1rem; border-radius: .5rem; margin-bottom: 1rem; }
.flash.success { background: #e6f4ea; color: #1e4620; }
.flash.error { background: #fdecea; color: #611a15; }
.flash.info { background: #e8f0fe; color: #174ea6; }
@media (prefers-color-scheme: dark) {
  .flash.success { background: #1e3a24; color: #cfe9d5; }
  .flash.error { background: #4a1d1a; color: #f6d5d1; }
  .flash.info { background: #1c2b4a; color: #d2e3fc; }
}
.badge { display: inline-block; padding: .1rem .5rem; border-radius: 1rem; font-size: .85em; }
.badge.fuggoben { background: #fff4d6; color: #6b4e00; }
.badge.aktiv { background: #e6f4ea; color: #1e4620; }
.badge.felfuggesztve { background: #fdecea; color: #611a15; }
.inline-form { display: inline; }
.inline-form button { width: auto; margin: 0; }
.muted { color: var(--pico-muted-color); }
.danger { --pico-background-color: #b3261e; --pico-border-color: #b3261e; }
table td form { margin: 0; }
.type-desc { font-size: .875em; padding-left: 2rem; display: inline-block; }
.badge.proba { background: #ece6ff; color: #3b2a7a; }
.badge.surgos { background: #fdecea; color: #611a15; }
tr.urgent td:first-child { border-left: 4px solid #b3261e; }
tr.status-elutasitva, tr.status-teljesitve { opacity: .65; }
.filters { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filters a[aria-current] { font-weight: 700; text-decoration: none; }
ul.compact { margin: 0; padding-left: 1.1rem; }
ul.compact li { list-style: disc; margin: 0; }
.meter-wrap { position: sticky; top: 0; background: var(--pico-background-color); padding: .5rem 0; z-index: 1; }
.meter-wrap progress { margin-bottom: 0; }
.meter-wrap .over { color: #b3261e; font-weight: 700; }
.checklist li.done::marker { content: "✓  "; color: #1e7a34; }
.call-log { max-height: 50vh; overflow-y: auto; font-size: .95em; }
.call-log p { margin: .25rem 0; }
.call-log .who { font-weight: 700; }
.call-log .sys { color: var(--pico-muted-color); font-style: italic; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
.transcript { white-space: pre-wrap; }
table.requests td { vertical-align: top; }
@media (max-width: 700px) { table.requests thead { display: none; } table.requests td { display: block; } }
body > header nav { flex-wrap: wrap; }
body > header nav ul { flex-wrap: wrap; }
body > header nav [role=button], body > header nav button { white-space: nowrap; }
@media (max-width: 700px) {
  body > header nav ul li { padding: .25rem .4rem; }
  body > header nav ul:last-child { margin-left: 0; }
}
.qr svg { max-width: 260px; height: auto; background: #fff; }
article p small code { word-break: break-all; }
