.board-filter[hidden] {display:none}
.room-board-link {
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-width:0;
  padding:0;
  border:0;
  border-radius:3px;
  background:transparent;
  color:var(--green-dark,#106b58);
  text-align:left;
  font:inherit;
  font-weight:650;
  overflow-wrap:anywhere;
}
.room-board-link:hover {text-decoration:underline}
.room-board-link svg {width:12px;height:12px;flex:none}

.compound-board {
  --compound-line:#dce8e3;
  --compound-minor-tick:#f0f5f2;
  --compound-hour-tick:#e0e9e5;
  --compound-day-boundary:#c3d8cf;
  --compound-surface:#fff;
  --compound-tint:#f5f9f7;
  --compound-ink:#183a32;
  --compound-muted:#526c63;
  --compound-host:#126c57;
  --compound-host-ink:#fff;
  --compound-assistant:#dbeaf3;
  --compound-assistant-ink:#214c61;
  --compound-label-width:132px;
  color:var(--compound-ink);
  min-width:0;
  border-top:1px solid var(--compound-line);
}
.compound-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 14px;
  padding:13px 16px;
}
.compound-header h2 {margin:0 0 3px;font-size:16px}
.compound-header p {margin:0;color:var(--compound-muted);font-size:12px}
.compound-actions {display:flex;gap:7px;flex-wrap:wrap}
.compound-actions button {white-space:nowrap}
.compound-date-jumps button {font-variant-numeric:tabular-nums}
.compound-scroll {
  overflow-x:auto;
  container-type:inline-size;
  scrollbar-width:thin;
  scrollbar-color:#bfd4c9 transparent;
}
.compound-table {
  width:100%;
  min-width:calc(var(--compound-label-width) + var(--compound-timeline-hours) * 29px);
  margin:0;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
  text-align:left;
  background:var(--compound-surface);
}
.compound-label-col {width:var(--compound-label-width)}
.compound-table th,.compound-table td {padding:0;vertical-align:middle}
.compound-table thead {background:var(--compound-tint);color:var(--compound-muted)}
.compound-table thead th {border-top:1px solid var(--compound-line);font-weight:500}
.compound-table .compound-person {
  position:sticky;
  left:0;
  z-index:2;
  padding:5px 12px;
  border-right:1px solid var(--compound-line);
  background:var(--compound-surface);
  color:var(--compound-ink);
  font-size:12px;
  overflow-wrap:anywhere;
}
.compound-table thead .compound-person,.compound-table .compound-group .compound-person {background:var(--compound-tint);color:var(--compound-muted)}
.compound-person strong {display:block;font-size:13px}
.compound-person small {display:block;color:var(--compound-muted);font-size:11px;font-weight:400}
.compound-group th,.compound-group td {height:29px;background:var(--compound-tint);border-top:1px solid var(--compound-line)}
.compound-group .compound-person small {display:inline}
.compound-day-labels {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-bottom:1px solid var(--compound-line);
  color:var(--compound-ink);
  font-size:12px;
  font-variant-numeric:tabular-nums;
}
.compound-day-labels span {padding:5px 8px;font-weight:600}
.compound-day-labels span+span {border-left:1px solid var(--compound-day-boundary)}
.compound-axis {position:relative;height:32px;font-size:11px;font-variant-numeric:tabular-nums}
.compound-tick {position:absolute;top:8px;transform:translateX(-50%);white-space:nowrap}
.compound-tick:first-child {left:6px!important;transform:none}
.compound-tick:last-child {transform:translateX(-100%);padding-right:6px}
.compound-axis-boundary,.compound-axis-midnight {color:var(--compound-ink);font-weight:600}
.compound-axis-boundary {top:0;height:100%;transform:none;padding:8px 0 0 6px;border-left:1px solid var(--compound-day-boundary)}
.compound-lane th,.compound-lane td {border-top:1px solid var(--compound-line)}
.compound-track {
  position:relative;
  height:53px;
  background:
    linear-gradient(to right,transparent calc(50% - 1px),var(--compound-day-boundary) calc(50% - 1px) calc(50% + 1px),transparent calc(50% + 1px)),
    repeating-linear-gradient(to right,var(--compound-hour-tick) 0 1px,transparent 1px calc(100% / var(--compound-timeline-hours))),
    repeating-linear-gradient(to right,var(--compound-minor-tick) 0 1px,transparent 1px calc(100% / (var(--compound-timeline-hours) * 2)));
}
.compound-hosts .compound-track {height:69px}
.compound-track + .compound-track {border-top:1px dashed var(--compound-line)}
.compound-track .compound-shift {
  position:absolute;
  inset-block:7px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:2px;
  padding:2px 6px;
  border:0;
  border-radius:6px;
  background:var(--compound-assistant);
  color:var(--compound-assistant-ink);
  font-size:12px;
  font-variant-numeric:tabular-nums;
  text-align:left;
  overflow:hidden;
  user-select:none;
  touch-action:pan-y;
}
.compound-hosts .compound-track .compound-shift {background:var(--compound-host);color:var(--compound-host-ink)}
.compound-shift strong,.compound-shift span {max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
button.compound-shift {cursor:grab}
.compound-shift.compound-dragging {cursor:grabbing;z-index:1;box-shadow:0 0 0 2px var(--compound-host);transition:none}
.compound-shift:focus-visible,.room-board-link:focus-visible {outline:2px solid var(--compound-host);outline-offset:1px}
.compound-notes-row td {background:var(--compound-tint)}
.compound-notes {
  position:sticky;
  left:0;
  width:100%;
  width:min(100%,100cqw);
  display:grid;
  gap:5px;
  margin:0;
  padding:6px 12px 8px calc(var(--compound-label-width) + 10px);
}
.compound-notes div {display:flex;align-items:baseline;flex-wrap:wrap;gap:1px 8px;min-width:0}
.compound-notes dt {font-size:11px;color:var(--compound-muted);font-weight:600}
.compound-notes dd {min-width:0;max-width:100%;margin:0;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.compound-empty td {
  position:sticky;
  left:0;
  padding:14px 12px;
  color:var(--compound-muted);
  font-size:12px;
}
.compound-help {
  display:flex;
  flex-wrap:wrap;
  gap:4px 12px;
  margin:0;
  padding:7px 12px;
  border-top:1px solid var(--compound-line);
  color:var(--compound-muted);
  font-size:11px;
}
.compound-help:empty {display:none}
@media (max-width:600px) {
  .compound-board {--compound-label-width:104px}
  .compound-header,.compound-table .compound-person {padding-inline:9px}
  .compound-actions button {padding-inline:7px;font-size:12px}
  .compound-notes {padding-inline:10px}
}
@media (pointer:coarse) {
  .compound-track {height:59px}
  .compound-actions button {min-height:44px}
}
@media print {
  .compound-header .compound-actions,.compound-help {display:none!important}
  .compound-scroll {overflow:visible}
  .compound-table {min-width:0}
  .compound-table thead {display:table-header-group}
  .compound-table .compound-person,.compound-notes {position:static}
  .compound-notes {width:100%}
  .compound-lane,.compound-notes div {break-inside:avoid}
  .compound-track,.compound-shift {print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
