@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --pri-brand: #0f4c5c;
  --pri-brand-soft: #e8f4f3;
  --pri-accent: #0f766e;
  --pri-accent-light: #14b8a6;
  --pri-text: #0f172a;
  --pri-muted: #64748b;
  --pri-border: #e2e8f0;
  --pri-surface: #fff;
  --pri-bg: #f1f5f9;
  --pri-err: #b91c1c;
  --pri-ok: #166534;
  --pri-warn: #b45309;
  --pri-radius: 16px;
  --pri-shadow: 0 4px 24px rgba(15, 76, 92, 0.06);
  --pri-progress-h: 52px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--pri-text);
  background:
    radial-gradient(1200px 400px at 10% -5%, rgba(20, 184, 166, 0.12), transparent 55%),
    radial-gradient(900px 320px at 90% 0%, rgba(15, 76, 92, 0.08), transparent 50%),
    linear-gradient(180deg, #ecfdf5 0%, var(--pri-bg) 280px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.pri-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px 56px;
}

.pri-top {
  margin-bottom: 8px;
}

.pri-hero {
  padding: 8px 4px 16px;
}

.pri-hero-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pri-accent);
}

.pri-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 4.2vw, 2rem);
  color: var(--pri-brand);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pri-hero-lead {
  margin: 0;
  color: var(--pri-muted);
  font-size: 15px;
  max-width: 54rem;
}

.pri-progress {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 4px 12px;
  margin: 0 -4px 6px;
  scrollbar-width: thin;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.97) 70%, rgba(241, 245, 249, 0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pri-progress-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--pri-border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--pri-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.pri-progress-link:hover {
  border-color: rgba(15, 118, 110, 0.35);
  color: var(--pri-brand);
}

.pri-progress-link.is-active {
  border-color: rgba(15, 76, 92, 0.35);
  background: #fff;
  color: var(--pri-brand);
  box-shadow: 0 2px 10px rgba(15, 76, 92, 0.1);
}

.pri-progress-n {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  background: #e2e8f0;
  color: #475569;
}

/* Aktivní krok = aktuální sekce (ne hotovo) — tmavší značka, ne zelená „OK“. */
.pri-progress-link.is-active .pri-progress-n {
  background: var(--pri-brand);
  color: #fff;
}

.pri-progress-link.is-complete {
  border-color: rgba(22, 163, 74, 0.4);
  color: #166534;
}

.pri-progress-link.is-complete .pri-progress-n {
  background: #16a34a;
  color: #fff;
  font-size: 0;
}

.pri-progress-link.is-complete .pri-progress-n::after {
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.pri-section {
  scroll-margin-top: calc(var(--pri-progress-h) + 24px);
}

.pri-section.is-inview {
  border-color: rgba(15, 118, 110, 0.22);
  box-shadow: 0 8px 32px rgba(15, 76, 92, 0.08);
}

.pri-card {
  background: var(--pri-surface);
  border: 1px solid var(--pri-border);
  border-radius: var(--pri-radius);
  padding: 22px 22px 20px;
  margin: 16px 0;
  box-shadow: var(--pri-shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pri-card.pri-section {
  position: relative;
  padding-right: 52px;
}

.pri-section-ok {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  box-shadow: 0 2px 8px rgba(22, 101, 52, 0.12);
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  pointer-events: none;
}

.pri-section-ok svg {
  width: 16px;
  height: 16px;
  display: block;
}

.pri-section.is-complete {
  border-color: rgba(22, 163, 74, 0.38);
  box-shadow: 0 6px 22px rgba(22, 163, 74, 0.08);
}

.pri-section.is-complete .pri-section-ok {
  opacity: 1;
  transform: scale(1);
}

.pri-card h2 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  color: var(--pri-brand);
  font-weight: 800;
  letter-spacing: -0.02em;
  padding-right: 8px;
}

.pri-subhead {
  margin: 14px 0 6px;
  font-size: 0.95rem;
  color: #334155;
  font-weight: 700;
}

.pri-card .pri-lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--pri-muted);
}

.pri-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pri-col { flex: 1; min-width: 200px; }
.pri-col--sm { max-width: 140px; }

label.pri-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #334155;
}

.pri-label--req::after,
.pri-field-label.pri-label--req::after {
  content: " *";
  color: #b45309;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pri-req-legend {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--pri-muted);
}

.pri-req-legend span {
  color: #b45309;
  font-weight: 800;
}

input, select, textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:hover, select:hover, textarea:hover {
  border-color: #94a3b8;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--pri-accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
}

input:focus-visible, select:focus-visible, textarea:focus-visible,
.pri-btn:focus-visible, .pri-progress-link:focus-visible {
  outline: 2px solid var(--pri-accent);
  outline-offset: 2px;
}

textarea { min-height: 80px; resize: vertical; }

.pri-person-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pri-person-card {
  border: 1px solid var(--pri-border);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pri-person-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.pri-field--full {
  grid-column: 1 / -1;
}

.pri-field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #334155;
}

.pri-person-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.pri-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pri-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pri-muted);
  padding: 8px 6px;
  border-bottom: 1px solid var(--pri-border);
}

.pri-table td {
  padding: 6px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}

.pri-table input, .pri-table select {
  font-size: 14px;
  padding: 8px 10px;
}

.pri-btn {
  padding: 12px 20px;
  border-radius: 12px;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
}

.pri-btn:active {
  transform: translateY(1px);
}

.pri-btn--primary {
  background: linear-gradient(135deg, var(--pri-brand), var(--pri-accent));
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.28);
}

.pri-btn--primary:hover {
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.35);
}

.pri-btn--ghost {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: var(--pri-text);
}

.pri-btn--ghost:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.pri-btn--sm {
  padding: 6px 12px;
  font-size: 13px;
}

.pri-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.pri-msg--err {
  color: var(--pri-err);
  font-size: 14px;
  margin-top: 12px;
  white-space: pre-wrap;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.pri-msg--ok {
  color: var(--pri-ok);
  font-size: 14px;
  margin-top: 12px;
  white-space: pre-wrap;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.pri-msg--err:empty,
.pri-msg--ok:empty,
.pri-msg--err[hidden],
.pri-msg--ok[hidden] {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.pri-deep-banner {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  font-size: 14px;
  line-height: 1.45;
}
.pri-deep-banner-warn {
  display: inline-block;
  margin-top: 6px;
  color: #9a3412;
  font-weight: 700;
}
.pri-datum-col.is-locked-turnus input[type="date"] {
  background: #f1f5f9;
  color: #334155;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.92;
}

.pri-gdpr {
  margin-top: 14px;
  padding: 14px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  font-size: 14px;
}

.pri-gdpr label, .pri-check-row label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 400;
}

.pri-gdpr input, .pri-check-row input { width: auto; margin-top: 3px; flex-shrink: 0; }

.pri-bundle {
  margin-top: 12px;
  padding: 14px;
  background: var(--pri-brand-soft);
  border-radius: 10px;
  border: 1px solid rgba(26, 122, 117, 0.25);
}

.pri-pref-term {
  margin-top: 18px;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
  border: 1px solid #fde68a;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.pri-pref-term-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.pri-pref-term-lead {
  margin: 0 0 12px;
  font-size: 13px;
  max-width: 70ch;
}
.pri-pref-term-fields select {
  width: 100%;
  max-width: 520px;
}
.pri-pref-term option.is-obsazeno {
  font-weight: 600;
}

.pri-escort {
  background: linear-gradient(145deg, #f8fffe, #fff);
  border-color: rgba(26, 122, 117, 0.35);
}

.pri-escort-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pri-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pri-badge--zp { background: #dcfce7; color: #166534; }
.pri-badge--self { background: #fef3c7; color: #92400e; }
.pri-badge--mix { background: #e0e7ff; color: #3730a3; }
.pri-badge--wait { background: #f1f5f9; color: #475569; }

.pri-escort-text { font-size: 14px; margin: 0 0 10px; }
.pri-escort-segments { font-size: 13px; color: var(--pri-muted); margin: 0; padding-left: 18px; }

.pri-vzp-box {
  margin-top: 14px;
  padding: 14px 16px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
}

.pri-vzp-box h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #92400e;
}

.pri-vzp-box .pri-disclaimer {
  font-size: 13px;
  color: #78350f;
  margin: 10px 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  border-left: 3px solid #f59e0b;
}

.pri-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
}

.pri-radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.pri-radio-group input { width: auto; }

.pri-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 50;
  padding: 20px;
}

.pri-dialog {
  max-width: 560px;
  margin: 8vh auto;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
  border: 1px solid var(--pri-border);
}

.pri-submit-card {
  border-color: rgba(15, 118, 110, 0.25);
  background: linear-gradient(180deg, #fff 0%, #f0fdfa 120%);
}

.pri-row-datumy {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(130px, 0.55fr) minmax(130px, 0.55fr);
  gap: 14px;
  align-items: end;
}

@media (max-width: 720px) {
  .pri-row-datumy {
    grid-template-columns: 1fr;
  }
  .pri-progress-t {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.pri-muted { color: var(--pri-muted); font-size: 13px; }

@media (max-width: 640px) {
  .pri-person-grid {
    grid-template-columns: 1fr;
  }
  .pri-col { min-width: 100%; }
  .pri-col--sm { max-width: none; }
}

@media (max-width: 640px) {
  .pri-table thead { display: none; }
  .pri-table tr { display: block; margin-bottom: 12px; border: 1px solid var(--pri-border); border-radius: 10px; padding: 8px; }
  .pri-table td { display: block; border: 0; padding: 4px 0; }
  .pri-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--pri-muted);
    margin-bottom: 2px;
  }
}

/* Komerční pobyt — zjednodušený formulář (platí i při dynamickém přepnutí přes data-typ) */
.pri-wrap[data-typ="komerce"] #sec-deti,
.pri-wrap[data-typ="komerce"] #sec-doprovod,
.pri-wrap[data-typ="komerce"] #ostatni-block-kidno,
.pri-wrap[data-typ="komerce"] #ostatni-block-kidu3,
.pri-wrap[data-typ="komerce"] #pri-ostatni-subhead,
.pri-wrap[data-typ="komerce"] #pri-ostatni-submuted,
.pri-wrap[data-typ="komerce"] #pri-step-deti,
.pri-wrap[data-typ="komerce"] #pri-step-doprovod,
.pri-wrap[data-typ="komerce"] .pri-progress-link[data-section="sec-deti"],
.pri-wrap[data-typ="komerce"] .pri-progress-link[data-section="sec-doprovod"] {
  display: none !important;
}

/* Dovýběr — rozpad ZP kredit / samoplátce podle délky pobytu */
.pri-wrap:not([data-typ="dovyber"]) #dovyberUcetBox {
  display: none !important;
}

/* Komerce — průvodce kroky; data od–do skrytá (jen z kalendáře) */
.pri-wrap[data-typ="komerce"] #optBundleBox {
  display: none !important;
}

.pri-wrap[data-typ="komerce"] .pri-datum-col--form {
  display: none !important;
}

.pri-wrap[data-typ="komerce"] .pri-col-term {
  flex: 1 1 100%;
  max-width: 100%;
}

.pri-komerce-flow {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: var(--pri-brand-soft);
  border: 1px solid #c5e8e6;
  border-radius: var(--pri-radius);
}

.pri-komerce-flow-lead {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pri-brand);
}

.pri-komerce-flow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pri-komerce-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid transparent;
  transition: border-color 0.15s, background 0.15s;
}

.pri-komerce-flow-step--current {
  border-color: var(--pri-accent);
  background: #fff;
  box-shadow: var(--pri-shadow);
}

.pri-komerce-flow-step--done {
  opacity: 0.85;
}

.pri-komerce-flow-step--done .pri-komerce-flow-num {
  background: var(--pri-ok);
}

.pri-komerce-flow-step--pending {
  opacity: 0.55;
}

.pri-komerce-flow-num {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pri-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.pri-komerce-flow-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.35;
}

.pri-komerce-flow-body strong {
  color: var(--pri-text);
}

.pri-komerce-field-prefix {
  color: var(--pri-brand);
  font-weight: 700;
}

.pri-komerce-pobyt {
  margin: 12px 0 4px;
  padding: 14px 16px;
  background: #fff;
  border: 2px solid var(--pri-accent);
  border-radius: var(--pri-radius);
}

.pri-komerce-pobyt-label {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pri-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pri-komerce-pobyt-text {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pri-brand);
}

.pri-komerce-pobyt-note {
  margin: 6px 0 0;
  font-size: 12px;
}

.pri-komerce-casy {
  margin-top: 12px;
}

.pri-komerce-casy .pri-label {
  font-size: 13px;
}

.pri-komerce-cena {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--pri-border);
  position: relative;
  z-index: 1;
  clear: both;
  overflow: visible;
}

.pri-komerce-cena-panel {
  margin-top: 12px;
  padding: 14px;
  background: var(--pri-brand-soft);
  border: 1px solid #c5e0dc;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.pri-komerce-cena-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pri-brand);
}

.pri-komerce-cena-lead {
  margin: 0 0 12px;
  font-size: 13px;
}

.pri-komerce-cena-inputs {
  margin-bottom: 8px;
}

.pri-komerce-cena-result {
  margin-top: 4px;
  position: relative;
  z-index: 0;
}

.pri-komerce-cena-lines {
  margin: 0 0 12px;
  padding: 0 0 0 1.1em;
  font-size: 14px;
  color: var(--pri-text);
  position: relative;
  z-index: 0;
}

.pri-komerce-cena-lines li {
  margin: 3px 0;
}

.pri-komerce-cena-total {
  margin: 0 0 10px;
  padding: 10px 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pri-brand);
  background: #fff;
  border: 1px solid #c5e0dc;
  border-radius: 10px;
  line-height: 1.35;
  position: relative;
  z-index: 0;
}

.pri-komerce-cena-strava-note {
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
}

.pri-komerce-cena-strava-note a {
  color: var(--pri-brand);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.pri-komerce-cena-strava-note a:hover {
  text-decoration: underline;
}

.pri-wrap[data-typ="komerce"] .pri-input--komerce-datum,
.pri-wrap[data-typ="komerce"] .pri-input--komerce-datum:disabled {
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
  cursor: not-allowed;
  opacity: 1;
}

.pri-komerce-kal {
  margin-top: 8px;
  margin-bottom: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--pri-border);
}

.pri-komerce-kal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 13px;
  color: var(--pri-muted);
  margin: 8px 0 12px;
}

.pri-komerce-kal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pri-kal-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.pri-kal-swatch--volny { background: #22c55e; }
.pri-kal-swatch--komerce { background: #f97316; }
.pri-kal-swatch--turnus { background: #ef4444; }
.pri-kal-swatch--sel { background: #3b82f6; }

.pri-komerce-kal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}

.pri-komerce-kal-cell {
  border: 1px solid var(--pri-border);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  font-size: 12px;
  line-height: 1.25;
  min-height: 52px;
  user-select: none;
  transition: box-shadow 0.12s, transform 0.12s;
}

.pri-komerce-kal-cell strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.pri-komerce-kal-cell small {
  display: block;
  color: var(--pri-muted);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pri-komerce-kal-cell--volny {
  background: #ecfdf5;
  border-color: #86efac;
  cursor: pointer;
}

.pri-komerce-kal-cell--volny:hover {
  box-shadow: 0 0 0 2px #22c55e55;
}

.pri-komerce-kal-cell--komerce {
  background: #fff7ed;
  border-color: #fdba74;
  cursor: not-allowed;
}

.pri-komerce-kal-cell--turnus {
  background: #fef2f2;
  border-color: #fca5a5;
  cursor: not-allowed;
}

.pri-komerce-kal-cell--anchor {
  box-shadow: 0 0 0 2px #0f172a;
}

.pri-komerce-kal-cell--sel {
  background: #dbeafe;
  border-color: #60a5fa;
  cursor: pointer;
}

@media (max-width: 640px) {
  .pri-komerce-kal-grid {
    grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
    gap: 6px;
  }
}
