:root {
  --tl-runtime-ink: #263c42;
  --tl-runtime-surface: #ffffff;
  --tl-runtime-border: #d7e4e3;
  --tl-runtime-accent: #ee7f24;
}

.tl-runtime-notice {
  position: fixed;
  top: 76px;
  right: 18px;
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px 14px;
  color: var(--tl-runtime-ink);
  background: var(--tl-runtime-surface);
  border: 1px solid var(--tl-runtime-border);
  border-left: 4px solid #5e8f84;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(30, 54, 59, .18);
  font-size: 13px;
  line-height: 1.35;
}

.tl-runtime-notice--warning { border-left-color: var(--tl-runtime-accent); }
.tl-runtime-notice--session { border-left-color: #3d7eb3; }
.tl-runtime-notice--error { border-left-color: #b6503f; }

.tl-runtime-notice__action {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  color: #fff;
  background: var(--tl-runtime-accent);
  font: inherit;
  cursor: pointer;
}

.tl-runtime-notice__action:hover { filter: brightness(.95); }
.tl-busy { opacity: .64 !important; cursor: wait !important; }

@media (max-width: 640px) {
  .tl-runtime-notice { top: 12px; right: 12px; left: 12px; max-width: none; }
}

@media print {
  .tl-runtime-notice,
  button,
  [role="button"],
  .wr-compare-pick,
  .wr-actions,
  .ct-actions,
  .ct-toolbar,
  .td-bar,
  nav { display: none !important; }
  .wr-queue-table,
  .wr-queue-table td,
  .wr-queue-table th { color: #111 !important; background: #fff !important; }
  .wr-queue-table { width: 100% !important; min-width: 0 !important; table-layout: auto !important; }
  .wr-queue-table td,
  .wr-queue-table th { white-space: normal !important; overflow: visible !important; max-width: none !important; }
  .wr-queue-table td:first-child { min-width: 150px !important; }
}
