/* Public presentation of Orchestrator's real rundown. Font files and semantic
   colours match the workspace; all demo state is temporary. */
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/orchestrator/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono Variable";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/orchestrator/jetbrains-mono-latin-wght-normal.woff2")
    format("woff2");
}
.ws-themed {
  --c-content-on-light: 20 34 60;
  --c-content-on-dark: 237 243 252;
  --c-muted-on-light: 64 84 118;
  --c-subtle-on-light: 73 97 124;
  --c-muted-on-dark: 185 206 234;
  --c-subtle-on-dark: 148 174 207;
  --c-accent-blue: 0 123 255;
  --c-app: 12 19 29;
  --c-surface: 16 27 39;
  --c-raised: 28 43 61;
  --c-inset: 12 21 32;
  --c-content: var(--c-content-on-dark);
  --c-muted: var(--c-muted-on-dark);
  --c-subtle: var(--c-subtle-on-dark);
  --c-faint: 75 85 99;
  --c-raised-hover: 40 57 78;
  --c-line: 39 64 91;
  --c-line-strong: 63 98 135;
  --c-block-target: 32 68 109;
  --c-status-info: 159 199 255;
  --c-status-success: 74 222 128;
  --c-status-warning: 251 191 36;
  --c-status-danger: 255 133 144;
  --ws-row: #0e1b28;
  --ws-block: #1c3147;
  --ws-block-target: #20446d;
  --ws-live: #163d32;
  --ws-selected: #1e3a53;
  --ws-mono: "JetBrains Mono Variable", monospace;
  font-family: "Inter Variable", sans-serif;
  color: rgb(var(--c-content));
  color-scheme: dark;
  font-size: 14px;
  line-height: 1.5;
}
.ws-themed[data-theme="light"] {
  --c-app: 238 241 245;
  --c-surface: 255 255 255;
  --c-raised: 244 246 249;
  --c-inset: 233 237 242;
  --c-content: var(--c-content-on-light);
  --c-muted: var(--c-muted-on-light);
  --c-subtle: var(--c-subtle-on-light);
  --c-faint: 148 163 184;
  --c-line: 228 234 242;
  --c-line-strong: 209 220 232;
  --c-raised-hover: 225 232 241;
  --c-status-info: 30 64 175;
  --c-status-success: 22 101 52;
  --c-status-warning: 146 64 14;
  --c-status-danger: 200 12 33;
  --ws-row: #fff;
  --ws-block: #eaf1fe;
  --ws-block-target: #e4edff;
  --ws-live: #dff3e8;
  --ws-selected: #e5eefb;
  color-scheme: light;
}
.ws-themed *,
.ws-themed *::before,
.ws-themed *::after {
  box-sizing: border-box;
}
.ws-themed :is(button, input, select, textarea) {
  font-family: inherit;
  font-size: inherit;
}
.ws-themed :is(button, a) {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.ws-themed button {
  border: 0;
  cursor: pointer;
  color: inherit;
  background: transparent;
}
.ws-themed button:disabled {
  cursor: default;
  opacity: 0.45;
}
.ws-themed :is(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid rgb(var(--c-status-info));
  outline-offset: -2px;
}
.ws-themed svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ws-themed [hidden] {
  display: none !important;
}
.workspace-demo {
  border: 1px solid rgb(var(--c-line-strong));
  border-radius: 10px;
  overflow: clip;
  background: rgb(var(--c-app));
  text-align: left;
  box-shadow:
    0 24px 80px #18283d1c,
    0 2px 8px #18283d0e;
}
.ws-symbols {
  position: absolute;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden;
}
.ws-demo-strip {
  min-height: 40px;
  padding: 4px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: rgb(var(--c-app));
  border-bottom: 1px solid rgb(var(--c-line));
  font-size: 12px;
}
.ws-demo-strip > span {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.ws-demo-strip strong {
  font-weight: 650;
}
.ws-demo-strip .ws-product-mark {
  width: 14px;
  height: 19px;
  color: #007bff;
  stroke: none;
}
.ws-demo-badge {
  font-size: 10px;
  color: rgb(var(--c-muted));
  border-left: 1px solid rgb(var(--c-line-strong));
  padding-left: 10px;
}
.ws-button,
.ws-icon-button,
.ws-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px !important;
  font-weight: 550;
  white-space: nowrap;
}
.ws-icon-button {
  width: 36px;
  padding: 7px;
  flex-shrink: 0;
}
.ws-themed .ws-button:hover,
.ws-themed .ws-icon-button:hover,
.ws-themed .ws-menu-button:hover {
  background: rgb(var(--c-raised-hover));
}
.ws-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 12px;
  background: rgb(var(--c-surface));
  border-bottom: 1px solid rgb(var(--c-line));
}
.workspace-demo[data-theme="dark"] .ws-topbar {
  background: #141f2c;
}
.ws-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ws-overview {
  color: rgb(var(--c-muted));
  padding-left: 0;
  text-decoration: none;
}
.ws-event {
  min-width: 0;
}
.ws-event > button {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-align: left;
  overflow-wrap: anywhere;
  padding: 0;
}
.ws-event > button svg {
  width: 12px;
  height: 12px;
  color: rgb(var(--c-subtle));
}
.ws-event p {
  display: flex;
  gap: 13px;
  font-size: 12px;
  margin: 2px 0 0;
  color: rgb(var(--c-muted));
}
.ws-account-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-size: 12px;
}
.ws-memory-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgb(var(--c-muted));
}
.ws-memory-status svg {
  width: 14px;
  height: 14px;
}
.ws-role {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 32px;
  padding: 3px 8px;
  border: 1px solid rgb(var(--c-line-strong));
  border-radius: 6px;
  font-size: 11px;
}
.ws-role > span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: white;
  background: #d83885;
  font-weight: 700;
}
.ws-show-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  grid-column: 1/-1;
  grid-row: 2;
  padding: 3px 0;
}
.ws-wall-clock,
.ws-cue-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 96px;
}
.ws-wall-clock {
  padding-right: 14px;
  border-right: 1px solid rgb(var(--c-line));
}
.ws-wall-clock > span,
.ws-cue-clock > span,
.ws-start-time > span {
  font-size: 11px;
  font-weight: 500;
  color: rgb(var(--c-subtle));
}
.ws-wall-clock > time {
  font-family: var(--ws-mono);
  font-size: 18px;
  font-weight: 650;
}
.ws-cue-clock strong {
  font-family: var(--ws-mono);
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.25;
}
.ws-cue-clock small {
  font-size: 11px;
  margin-top: 2px;
  max-width: 180px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.ws-themed .ws-start-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 14px;
  border-left: 1px solid rgb(var(--c-line));
  border-right: 1px solid rgb(var(--c-line));
  min-height: 40px;
}
.ws-start-time strong {
  font-family: var(--ws-mono);
  font-size: 13px;
  font-weight: 500;
  color: rgb(var(--c-status-info));
}
.ws-go-live {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: #0f8046 !important;
  color: #fff !important;
  border-radius: 7px;
  font-weight: 700;
  white-space: nowrap;
}
.ws-go-live svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.ws-go-live:hover {
  background: #116739 !important;
}
.ws-go-live[data-running="true"] {
  background: rgb(var(--c-raised)) !important;
  border: 1px solid rgb(var(--c-line-strong));
  color: rgb(var(--c-status-danger)) !important;
}
.ws-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 12px;
  padding: 5px 12px;
  background: rgb(var(--c-surface));
  border-bottom: 1px solid rgb(var(--c-line));
  min-height: 61px;
}
.ws-menus,
.ws-shortcuts,
.ws-toolbar-end {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ws-menus {
  border-right: 1px solid rgb(var(--c-line));
  padding-right: 11px;
}
.ws-menu-button {
  font-size: 13px !important;
  font-weight: 650;
}
.ws-menu-button svg,
.ws-button > svg:last-child:not(:first-child) {
  width: 12px;
  height: 12px;
}
.ws-workflow-label {
  font-size: 12px;
  font-weight: 550;
  color: rgb(var(--c-subtle));
  padding-inline: 2px 6px;
}
.ws-shortcuts .ws-button {
  font-size: 13px !important;
}
.ws-themed .ws-add-cue {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #176cf8;
  color: white;
  min-height: 40px;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
  margin-inline: 5px 8px;
}
.ws-add-cue:hover {
  background: #0a58df;
}
.ws-toolbar-end {
  margin-left: auto;
}
.ws-auto-control {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 550;
  color: rgb(var(--c-muted));
}
.ws-themed input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #176cf8;
}
.ws-block-nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-bottom: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
  overflow: auto;
}
.ws-block-nav > span:first-child {
  display: flex;
  gap: 7px;
  font-size: 12px;
  color: rgb(var(--c-subtle));
  white-space: nowrap;
  flex-shrink: 0;
}
.ws-block-nav > button {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-height: 62px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  flex-shrink: 0;
}
.ws-block-nav > button strong {
  font-size: 12px;
  font-weight: 650;
}
.ws-block-nav > button > span {
  font-size: 12px;
  color: rgb(var(--c-subtle));
  white-space: nowrap;
}
.ws-block-nav b {
  font-family: var(--ws-mono);
  font-weight: 550;
  color: rgb(var(--c-content));
}
.ws-block-nav em {
  font-style: normal;
  margin-left: 7px;
}
.ws-block-nav > button[aria-current="location"] {
  background: #1c3150;
  border-bottom-color: #2895ff;
}
.workspace-demo[data-theme="light"]
  .ws-block-nav
  > button[aria-current="location"] {
  background: #eaf1fe;
}
.ws-block-nav .ws-grid-hint {
  margin-left: auto;
  font-size: 11px;
  color: rgb(var(--c-subtle));
  white-space: nowrap;
}
.ws-grid-shell {
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ws-grid-viewport {
  height: 456px;
  overflow: auto;
  background: rgb(var(--c-app));
  scrollbar-width: thin;
  scrollbar-color: rgb(var(--c-subtle)) rgb(var(--c-app));
}
.ws-rundown {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.5;
}
.ws-rundown th {
  text-align: left;
  height: 48px;
  font-weight: 650;
  font-size: 13px;
  background: rgb(var(--c-raised));
  color: rgb(var(--c-muted));
  border-bottom: 1px solid rgb(var(--c-line-strong));
  border-right: 1px solid rgb(var(--c-line));
  padding: 6px 8px;
  position: sticky;
  top: 0;
  z-index: 5;
}
.ws-rundown th > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}
.ws-rundown th svg {
  width: 11px;
  height: 11px;
  opacity: 0.7;
}
.ws-rundown td {
  position: relative;
  border-bottom: 1px solid rgb(var(--c-line));
  border-right: 1px solid rgb(var(--c-line) / 0.55);
  padding: 9px 8px;
  background: var(--ws-row);
  vertical-align: top;
  height: 83px;
  overflow-wrap: anywhere;
}
.ws-rundown td:first-child,
.ws-rundown th:first-child {
  position: sticky;
  left: 0;
  z-index: 4;
  text-align: center;
  padding-inline: 5px;
}
.ws-rundown td:nth-child(2),
.ws-rundown th:nth-child(2) {
  position: sticky;
  left: 48px;
  z-index: 4;
  text-align: center;
  color: rgb(var(--c-muted));
}
.ws-rundown th:first-child,
.ws-rundown th:nth-child(2) {
  z-index: 7;
}
.ws-rundown td.ws-status,
.ws-rundown td.ws-number {
  vertical-align: middle;
  font-size: 12px;
  font-weight: 600;
}
.ws-rundown .ws-timing-cell {
  font-family: var(--ws-mono);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  color: rgb(var(--c-muted));
}
.ws-rundown .ws-timing-cell > button {
  width: 100%;
  min-height: 32px;
  font-family: var(--ws-mono);
  font-weight: 600;
  font-size: 14px;
  padding: 3px;
  border-radius: 2px;
}
.ws-rundown .ws-timing-cell > button:hover {
  background: rgb(var(--c-content) / 0.06);
}
.ws-cell-button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  line-height: 1.5;
  min-height: 24px;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.ws-cell-button:hover {
  box-shadow: inset 0 0 0 1px rgb(var(--c-status-info) / 0.45);
}
.ws-cell-button.ws-segment {
  font-weight: 600;
  padding-left: 14px;
}
.ws-cell-button.ws-pa {
  font-size: 16px;
  font-weight: 450;
  white-space: pre-wrap;
}
.ws-cell-button .ws-resolved-variable {
  color: rgb(var(--c-status-info));
}
.ws-call-button {
  width: 32px;
  height: 32px;
  padding: 7px !important;
  border: 1px solid rgb(var(--c-line-strong)) !important;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--c-muted)) !important;
  font-size: 10px !important;
}
.ws-call-button svg {
  width: 14px;
  height: 14px;
}
.ws-call-button:hover {
  background: rgb(var(--c-raised));
}
.ws-rundown .is-current td {
  background: var(--ws-live);
}
.ws-rundown .is-current td:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #4ade80;
}
.ws-rundown .is-current .ws-call-button {
  border-color: #4ade80 !important;
  color: #4ade80 !important;
  padding-inline: 2px !important;
}
.workspace-demo[data-theme="light"] .is-current .ws-call-button {
  color: #166534 !important;
  border-color: #166534 !important;
}
.ws-rundown .is-done .ws-number {
  color: rgb(var(--c-status-success));
}
.ws-rundown .ws-info-row td {
  height: 44px;
  vertical-align: middle;
  font-weight: 600;
}
.ws-rundown .ws-info-row .ws-status {
  font-size: 10px;
}
.ws-rundown .ws-block-row td {
  height: 68px;
  background: var(--ws-block);
  vertical-align: middle;
  border-bottom-color: rgb(var(--c-line-strong));
}
.ws-rundown .ws-block-row td:first-child::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #007bff;
}
.ws-block-title {
  display: block;
  padding-left: 5px;
  font-size: 16px;
  font-weight: 700;
}
.ws-block-note {
  margin: 3px 0 0;
  font-size: 12px;
  color: rgb(var(--c-muted));
  padding-left: 5px;
}
.ws-rundown .ws-target-cell {
  background: var(--ws-block-target) !important;
}
.ws-target-cell small {
  display: block;
  font-family: "Inter Variable", sans-serif;
  text-transform: uppercase;
  font-size: 11px;
  color: rgb(var(--c-status-info));
}
.ws-block-footer td {
  height: 32px;
  padding: 6px 8px;
  background: rgb(var(--c-app));
  font-size: 12px;
  color: rgb(var(--c-muted));
}
.ws-block-footer p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}
.ws-block-footer b {
  font-family: var(--ws-mono);
  color: rgb(var(--c-content));
}
.ws-cell-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 5px;
}
.ws-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #20334a;
  border-radius: 3px;
  min-width: 64px;
  min-height: 23px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 650;
}
.workspace-demo[data-theme="light"] .ws-tag {
  background: #f2f4f5;
}
.ws-tag i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #45bee3;
  border-radius: 50%;
  flex-shrink: 0;
}
.ws-tag[data-kind="video"] i {
  background: #aa8be8;
}
.ws-tag[data-kind="notes"] i {
  background: #eda766;
}
.ws-column-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 4px 12px;
  background: rgb(var(--c-surface));
  border-top: 1px solid rgb(var(--c-status-info) / 0.4);
  font-size: 12px;
  color: rgb(var(--c-muted));
}
.ws-column-nav > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ws-column-count {
  border-right: 1px solid rgb(var(--c-line));
  padding-right: 12px;
  margin-right: 4px;
}
.ws-themed .ws-column-nav :is(select, button) {
  min-height: 36px;
  border: 1px solid rgb(var(--c-line-strong));
  background: rgb(var(--c-surface));
  border-radius: 6px;
  color: rgb(var(--c-content));
}
.ws-column-nav select {
  width: 176px;
  padding: 4px 8px;
  font-size: 13px !important;
}
.ws-live-controls {
  background: #0c131d;
  color: #edf3fc;
  border-top: 1px solid #27405b;
}
.ws-live-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px;
}
.ws-live-title {
  flex: 1 1 140px;
  min-width: 0;
}
.ws-live-title > p:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #b9ceea;
}
.ws-live-title b {
  padding: 1px 5px;
  border-radius: 3px;
  background: #2563eb;
  color: white;
}
.ws-live-title h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.ws-live-clock {
  text-align: center;
}
.ws-live-clock > span {
  display: block;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b9ceea;
}
.ws-live-clock > strong {
  font-family: var(--ws-mono);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.ws-live-clock strong.is-overtime {
  color: #ff8590;
}
.ws-live-clock strong.is-held {
  color: #fbbf24;
}
.ws-transport {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ws-themed .ws-transport button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid #3f6287;
  border-radius: 11px;
  min-height: 64px;
  min-width: 60px;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #b9ceea;
  background: #1c2b3d;
}
.ws-transport button svg {
  width: 20px;
  height: 20px;
}
.ws-transport .ws-next-control {
  min-width: 80px;
  background: #16a34a;
  border-color: #22c55e;
  color: white;
}
.ws-transport .ws-follow-control[aria-pressed="true"] {
  background: #2354b9;
  border-color: #3b82f6;
  color: white;
}
.ws-transport button[aria-pressed="true"]#pause-cue {
  background: #f59e0b;
  border-color: #fbbf24;
  color: #0c131d;
}
.ws-transport .ws-stop-control {
  background: #441c25;
  border-color: #68222d;
  color: #fecaca;
}
.ws-transport button:not(:disabled):hover {
  filter: brightness(1.2);
}
.ws-live-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  border-top: 1px solid #ffffff1a;
  padding: 7px 12px;
  font-size: 11px;
  color: #b9ceea;
}
.ws-live-details > span:first-child {
  text-transform: uppercase;
  font-weight: 650;
}
.ws-live-details > span:nth-child(2),
.ws-live-details b:last-child {
  font-family: var(--ws-mono);
}
.ws-live-details b {
  color: #edf3fc;
  font-weight: 600;
}
.ws-demo-status {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-top: 1px solid rgb(var(--c-line));
  font-size: 11px;
  color: rgb(var(--c-subtle));
  background: rgb(var(--c-surface));
}
.ws-demo-status > span:last-child {
  text-align: right;
}
.ws-no-script {
  font-size: 13px;
  padding: 12px;
}
.ws-popover {
  margin: 0;
  position: fixed;
  inset: auto;
  width: 290px;
  max-width: calc(100vw - 24px);
  max-height: min(560px, calc(100dvh - 24px));
  overflow: auto;
  background: rgb(var(--c-surface));
  border: 1px solid rgb(var(--c-line-strong));
  border-radius: 7px;
  padding: 12px;
  box-shadow: 0 16px 48px #0004;
}
.ws-popover h4 {
  font-size: 13px;
  margin: 0 0 10px;
  font-weight: 650;
}
.ws-popover > button,
.ws-popover > div > button {
  display: block;
  text-align: left;
  width: 100%;
  padding: 9px;
  min-height: 40px;
  border-radius: 5px;
  font-size: 13px;
}
.ws-popover > button:hover,
.ws-popover > div > button:hover {
  background: rgb(var(--c-raised-hover));
}
.ws-popover p {
  font-size: 12px;
  color: rgb(var(--c-muted));
  margin: 10px 0 2px;
  line-height: 1.6;
}
.ws-popover :is(label, .ws-check) {
  display: block;
  font-size: 13px;
  margin-block: 10px;
}
.ws-popover .ws-check {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ws-popover :is(input:not([type="checkbox"]), select) {
  min-height: 36px;
  width: 100%;
  display: block;
  background: rgb(var(--c-inset));
  border: 1px solid rgb(var(--c-line-strong));
  padding: 6px 8px;
  border-radius: 5px;
  margin-top: 5px;
  color: rgb(var(--c-content));
}
.ws-theme-options {
  display: flex;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgb(var(--c-line));
}
.ws-theme-options button {
  flex: 1;
  border: 1px solid rgb(var(--c-line-strong));
  border-radius: 5px;
  padding: 8px;
  font-size: 12px;
}
.ws-theme-options [aria-pressed="true"],
#tag-filters [aria-pressed="true"] {
  background: rgb(var(--c-raised));
  box-shadow: inset 0 0 0 1px rgb(var(--c-status-info));
}
.ws-themed .ws-primary {
  background: #176cf8;
  color: white;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 13px;
  min-height: 38px;
  font-weight: 650;
}
.ws-primary:hover {
  background: #0755dd;
}
.ws-duration-fields {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.ws-duration-fields label {
  min-width: 0;
  flex: 1;
  margin-bottom: 0;
}
.ws-duration-fields input {
  font-family: var(--ws-mono) !important;
  font-size: 18px !important;
  text-align: center;
}
.ws-duration-fields > b {
  padding-bottom: 8px;
  font-family: var(--ws-mono);
}
.ws-editor-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.ws-editor-actions > button {
  padding: 8px 12px;
  font-size: 12px;
}
.workspace-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  padding: 24px;
  border: 1px solid rgb(var(--c-line-strong));
  border-radius: 12px;
  background: rgb(var(--c-surface));
  box-shadow: 0 24px 80px #0006;
  overflow: auto;
  text-align: left;
}
.workspace-dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(3px);
}
.ws-dialog-heading,
.workspace-dialog .dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.ws-dialog-heading p,
.workspace-dialog .workspace-label {
  font-size: 12px;
  color: rgb(var(--c-subtle));
  margin: 0 0 4px;
}
.ws-dialog-heading h2,
.workspace-dialog .dialog-heading h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}
.ws-dialog-description,
.workspace-dialog .dialog-description {
  color: rgb(var(--c-muted));
  font-size: 13px;
  margin: 15px 0 20px;
  line-height: 1.6;
}
.workspace-dialog label {
  display: block;
  font-size: 13px;
  font-weight: 550;
  color: rgb(var(--c-content));
}
.workspace-dialog label > span {
  font-weight: 400;
  font-size: 11px;
  color: rgb(var(--c-subtle));
  margin-left: 7px;
}
.workspace-dialog :is(input, textarea, select) {
  display: block;
  width: 100%;
  min-height: 40px;
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 10px;
  margin-top: 6px;
  background: rgb(var(--c-inset));
  color: rgb(var(--c-content));
  border: 1px solid rgb(var(--c-line-strong));
  border-radius: 6px;
}
.workspace-dialog textarea {
  resize: vertical;
}
.workspace-dialog code {
  color: rgb(var(--c-status-info));
  font-family: var(--ws-mono);
  font-size: 11px;
  margin-top: 5px;
}
.ws-editor-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.ws-wide {
  grid-column: 1/-1;
}
.ws-variable-tokens {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: -8px;
}
.ws-variable-tokens button {
  padding: 5px 9px;
  min-height: 32px;
  border-radius: 4px;
  border: 1px solid rgb(var(--c-line-strong));
  color: rgb(var(--c-status-info));
  font-family: var(--ws-mono);
  font-size: 11px;
}
.ws-dialog-footer,
.workspace-dialog .dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  border-top: 1px solid rgb(var(--c-line));
  padding-top: 14px;
}
.ws-dialog-footer span,
.workspace-dialog .dialog-footer > span {
  font-size: 12px;
  color: rgb(var(--c-subtle));
}
.workspace-dialog .add-variable-form {
  border-top-color: rgb(var(--c-line));
}
.workspace-dialog .add-variable-form :is(h3, p) {
  font-size: 13px;
}
.workspace-dialog .add-variable-form p {
  color: rgb(var(--c-muted));
}
.workspace-dialog .button {
  background: #176cf8;
  color: #fff;
  font-size: 13px;
  border-radius: 6px;
}
.workspace-dialog .variable-feedback {
  color: rgb(var(--c-status-info));
  font-size: 12px;
}
.workspace-dialog .variable-feedback.is-error {
  color: rgb(var(--c-status-danger));
}
.ws-tag-library {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.ws-tag-library button {
  padding: 8px 12px;
  min-height: 36px;
  border: 1px solid rgb(var(--c-line-strong));
  border-radius: 5px;
  font-size: 12px;
}
.ws-tag-library button[aria-pressed="true"] {
  color: rgb(var(--c-status-info));
  border-color: rgb(var(--c-status-info));
  background: rgb(var(--c-raised));
}
.ws-tag-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 24px;
}
.ws-tag-form label {
  flex: 1;
}
#tag-feedback {
  min-height: 20px;
  margin-top: 12px;
  font-size: 12px;
  color: rgb(var(--c-muted));
}
.ws-big-timer {
  width: min(660px, calc(100% - 32px));
  text-align: center;
}
.ws-big-timer > strong {
  font-size: clamp(54px, 14vw, 100px);
  font-family: var(--ws-mono);
  letter-spacing: -0.05em;
  font-weight: 800;
  display: block;
  margin: 12px 0;
}
.ws-big-timer > p {
  margin: 16px 0;
  color: rgb(var(--c-muted));
  font-size: 14px;
}
.workspace-demo.is-expanded {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  border: 0;
  border-radius: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}
.workspace-demo.is-expanded > :not(.ws-grid-shell) {
  flex-shrink: 0;
}
.workspace-demo.is-expanded .ws-grid-shell {
  flex: 1;
  overflow: hidden;
}
.workspace-demo.is-expanded .ws-grid-viewport {
  height: auto;
  flex: 1;
  min-height: 0;
}
.workspace-demo[data-spacing="compact"] .ws-rundown td {
  padding-block: 6px;
  height: 62px;
}
.workspace-demo[data-spacing="spacious"] .ws-rundown td {
  padding-block: 15px;
  height: 102px;
}
@media (min-width: 1280px) {
  .ws-topbar {
    grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1fr);
  }
  .ws-show-timer {
    grid-column: 2;
    grid-row: 1;
  }
  .ws-account-status {
    grid-column: 3;
    grid-row: 1;
  }
  .ws-live-main {
    flex-wrap: nowrap;
  }
}
@media (max-width: 1000px) {
  .ws-toolbar-end {
    margin-left: 0;
  }
  .ws-live-clock > strong {
    font-size: 38px;
  }
  .ws-transport {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }
}
@media (max-width: 639px) {
  .ws-demo-strip {
    min-height: 40px;
    padding-inline: 8px;
  }
  .ws-demo-badge {
    display: none;
  }
  .ws-topbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    gap: 9px;
  }
  .ws-overview span,
  .ws-role,
  .ws-wall-clock {
    display: none;
  }
  .ws-identity {
    gap: 4px;
  }
  .ws-event > button {
    font-size: 16px;
  }
  .ws-event p {
    font-size: 11px;
  }
  .ws-account-status {
    position: absolute;
    right: 8px;
    top: 44px;
  }
  .workspace-demo {
    position: relative;
  }
  .ws-memory-status {
    display: none;
  }
  .ws-identity {
    padding-right: 40px;
  }
  .ws-show-timer {
    padding-top: 8px;
    border-top: 1px solid rgb(var(--c-line));
    gap: 12px;
  }
  .ws-start-time {
    padding-inline: 12px !important;
  }
  .ws-cue-clock {
    min-width: 85px;
  }
  .ws-cue-clock small {
    max-width: 96px;
    font-size: 10px;
  }
  .ws-go-live {
    margin-left: auto;
    min-height: 42px;
    padding-inline: 12px;
    font-size: 13px !important;
  }
  .ws-toolbar {
    padding: 3px 8px;
    gap: 2px 5px;
  }
  .ws-menus {
    padding-right: 0;
    border: 0;
  }
  .ws-shortcuts {
    gap: 0;
    width: 100%;
    order: 3;
    overflow: auto;
  }
  .ws-shortcuts .ws-button {
    font-size: 12px !important;
  }
  .ws-workflow-label {
    display: none;
  }
  .ws-toolbar-end {
    flex-wrap: wrap;
    margin-left: auto;
    gap: 0;
  }
  .ws-toolbar-end > .ws-button {
    font-size: 11px !important;
    padding-inline: 5px;
  }
  .ws-auto-control {
    padding-inline: 5px;
    font-size: 11px;
  }
  .ws-block-nav {
    padding-inline: 8px;
    gap: 7px;
  }
  .ws-block-nav > span:first-child {
    font-size: 0;
    gap: 0;
  }
  .ws-block-nav .ws-grid-hint {
    display: none;
  }
  .ws-block-nav > button {
    padding-inline: 5px;
  }
  .ws-grid-viewport {
    height: 378px;
  }
  .ws-column-nav {
    padding-inline: 8px;
    gap: 8px;
  }
  .ws-column-count {
    display: none;
  }
  #rundown-total {
    font-size: 11px;
    white-space: nowrap;
  }
  .ws-column-nav select {
    width: 128px;
    font-size: 11px !important;
  }
  .ws-column-nav .ws-icon-button {
    width: 32px;
  }
  .ws-column-nav > div {
    gap: 5px;
  }
  .ws-live-title h4 {
    font-size: 17px;
  }
  .ws-live-clock > strong {
    font-size: 34px;
  }
  .ws-transport {
    gap: 6px;
  }
  .ws-themed .ws-transport button {
    min-width: 50px;
    min-height: 56px;
    padding: 8px;
    font-size: 10px;
    border-radius: 8px;
  }
  .ws-transport .ws-next-control {
    min-width: 64px;
  }
  .ws-demo-status {
    display: block;
    padding: 7px 8px;
  }
  .ws-demo-status > span {
    display: block;
    font-size: 10px;
  }
  .ws-demo-status > span:last-child {
    text-align: left;
    margin-top: 3px;
  }
  .workspace-dialog {
    padding: 20px;
  }
  .ws-editor-fields {
    grid-template-columns: 1fr;
  }
  .ws-wide {
    grid-column: 1;
  }
  .workspace-dialog .team-fields {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .workspace-dialog .add-variable-form > div {
    grid-template-columns: 1fr;
  }
  .ws-tag-form {
    flex-wrap: wrap;
  }
  .ws-tag-form label {
    flex-basis: 100%;
  }
  .workspace-demo.is-expanded .ws-grid-viewport {
    min-height: 100px;
  }
  .workspace-demo.is-expanded .ws-live-controls {
    max-height: 35dvh;
    overflow-y: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ws-themed *,
  .ws-themed *::before,
  .ws-themed *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.ws-inline-editor {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 5px;
  margin: -3px 0 0;
  resize: vertical;
  border: 1px solid rgb(var(--c-status-info));
  background: var(--ws-row);
  color: rgb(var(--c-content));
  border-radius: 0;
  font-family: inherit;
  line-height: 1.5;
  box-shadow: 0 0 0 1px rgb(var(--c-status-info));
  font-size: 14px;
}
[data-column="script"] .ws-inline-editor {
  font-size: 16px;
}
[data-column="title"] .ws-inline-editor {
  font-weight: 600;
}
/* A native modal supplies keyboard containment and puts the expanded surface
   above animated marketing ancestors without changing its reading size. */
.ws-expanded-shell {
  position: fixed;
  inset: 0;
  padding: 0;
  margin: 0;
  border: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  overflow: hidden;
}
.ws-expanded-shell::backdrop {
  background: #0c131d;
}
.ws-expanded-shell .workspace-demo.is-expanded {
  position: relative;
}
.ws-header-button {
  width: 100%;
  min-height: 32px;
  padding: 0;
  text-align: left;
  font-size: 13px !important;
  font-weight: 650;
}
.ws-header-button > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.ws-header-button:hover {
  color: rgb(var(--c-content));
}
.demo-wrap {
  width: min(1680px, calc(100% - 72px));
}
@media (max-width: 760px) {
  .demo-wrap {
    width: calc(100% - 28px);
  }
}
.ws-themed .ws-transport .ws-next-control {
  background: #16a34a;
  border-color: #22c55e;
  color: #fff;
}
.ws-themed .ws-transport .ws-stop-control {
  background: #441c25;
  border-color: #68222d;
  color: #fecaca;
}
.ws-live-controls[data-state="hold"] {
  background: #451a03;
}
.ws-live-controls[data-state="overrun"] {
  background: #450a0a;
}
.ws-live-controls[data-state="near"] {
  background: #422006;
}
.ws-live-controls[data-state="hold"] .ws-live-title b {
  background: #f59e0b;
  color: #000;
}
.ws-live-controls[data-state="overrun"] .ws-live-title b {
  background: #dc2626;
}
.ws-block-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 5px !important;
  color: rgb(var(--c-status-info)) !important;
  border-radius: 4px;
}
.ws-block-toggle:hover {
  background: rgb(var(--c-content) / 0.1);
}
