/* Program bohoslužby a tímový režim */

#program {
  margin: 0 0 0 auto; inset: 0 0 0 auto;
  width: min(460px, 100vw); height: 100vh; height: 100dvh; max-width: none; max-height: none;
  border-left: 1px solid var(--line);
  box-shadow: -16px 0 48px rgba(0, 0, 0, .22);
}
#program[open] { display: flex; flex-direction: column; animation: slide-in .24s ease-out; }
@keyframes slide-in { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }
.prog-empty { margin: 20px 0 0; padding: 18px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: .95rem; }
.prog-empty b { color: var(--ink); }
.prog-list { list-style: none; margin: 14px 0 0; padding: 0; counter-reset: n; }
.prog-list li { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-bottom: 1px solid var(--line); counter-increment: n; }
.prog-list li::before {
  content: counter(n); flex: none; width: 28px; height: 28px; margin-right: 4px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-size: .8rem; font-weight: 700; line-height: 28px; text-align: center;
}
.p-title {
  flex: 1; min-width: 0; padding: 10px 8px;
  border: 0; border-radius: 8px; background: transparent;
  font-size: 1rem; font-weight: 600; line-height: 1.35; text-align: left; cursor: pointer;
}
.p-title:hover { background: var(--accent-soft); color: var(--accent); }
.p-key { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); background: color-mix(in srgb, var(--chord) 14%, transparent); color: var(--chord); font-size: .78rem; font-weight: 700; }
.p-tools { display: flex; flex: none; }
.p-tools .icon-btn { width: 38px; height: 38px; border-radius: 10px; }

.team { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.team h3 { margin: 0 0 8px; font-size: 1rem; }
.team .stat { font-size: .9rem; }
.team-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.team-btns .btn { min-height: 42px; font-size: .88rem; }
