.bs-sched-wrap { overflow-x: auto; }
.bs-sched-table { border-collapse: collapse; width: 100%; }
.bs-sched-table td, .bs-sched-table th { border: 1px solid #ddd; padding: 8px; }
/* Het transpix-thema wikkelt elke pagina in .blog-area.pt-120.cart-table en zet
   daar `.cart-table th { color:#156BB3 }` — even specifiek als onze eigen regel,
   maar het thema laadt later, dus won het: blauwe tekst op blauwe achtergrond.
   Vandaar de extra wrapper-specificiteit én !important. */
.bs-sched-wrap .bs-sched-table th { text-align: center;
    background-color: #156BB3 !important; color: #fff !important; }
.bs-sched-table tr:hover { background-color: #ddd; }
.bs-sched-table small { color: #666; }
.bs-sched-empty, .bs-sched-error { padding: 12px; }
.bs-sched-error { border: 1px solid #c00; color: #c00; }

/* De rijen dragen nog wel .bs-sched-row--bs / --ecu, maar zonder kleurverschil:
   voor de bezoeker is de bron irrelevant. Het onderscheid staat in het debug-blok. */

/* Debug-blok (alleen sailing schedules). */
.bs-sched-debug { margin: 16px 0; border: 1px solid #c9c9c9; border-radius: 4px;
    background: #fafafa; padding: 8px 12px; font-size: 13px; }
.bs-sched-debug > summary { cursor: pointer; font-weight: 600; }
.bs-sched-debug-note { color: #777; font-size: 11px; margin: 4px 0 10px; }
.bs-sched-debug-src { border-top: 1px solid #e2e2e2; padding: 8px 0; }
.bs-sched-debug-src h4 { margin: 0 0 6px; font-size: 14px; }
.bs-sched-debug-src h4 small { color: #777; font-weight: 400; margin-left: 6px; }
.bs-sched-badge { display: inline-block; padding: 1px 7px; border-radius: 3px;
    font-size: 11px; font-weight: 700; color: #fff; }
.bs-sched-badge.is-ok  { background: #2e7d32; }
.bs-sched-badge.is-err { background: #c0392b; }
.bs-sched-debug-kv { border-collapse: collapse; margin: 0 0 6px; }
.bs-sched-debug-kv td { border: 0; padding: 2px 10px 2px 0; vertical-align: top; }
.bs-sched-debug-kv td:first-child { color: #777; white-space: nowrap; }
.bs-sched-debug-kv code { word-break: break-all; }
/* Veldendekking: per kolom hoeveel rijen een waarde hebben. Rood = niet geleverd. */
.bs-sched-cov span { display: inline-block; margin: 0 6px 3px 0; padding: 1px 6px;
    border-radius: 3px; font-size: 11px; white-space: nowrap; }
.bs-sched-cov .is-filled { background: #eef4ee; color: #2e7d32; }
.bs-sched-cov .is-nil    { background: #fbeceb; color: #c0392b; font-weight: 600; }

.bs-sched-debug-body summary { cursor: pointer; color: #156BB3; }
.bs-sched-copy { margin: 6px 0 0; padding: 2px 10px; font-size: 11px; cursor: pointer;
    border: 1px solid #c9c9c9; border-radius: 3px; background: #fff; color: #333; }
.bs-sched-copy:hover { background: #f0f0f0; }
.bs-sched-debug-body pre { max-height: 320px; overflow: auto; background: #fff;
    border: 1px solid #e2e2e2; padding: 8px; margin: 6px 0 0; font-size: 12px; }
