#stage-view { --st-ink: #171513; --st-border: #c4beb7; color: var(--st-ink); }
.st-board { background: #211f1e; color: #fffaf2; border: 1px solid #35312e; text-align: left; }
.st-board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px clamp(16px,3vw,40px); border-bottom: 1px solid #514b46; }
.st-status,.st-scope,.st-eyebrow { font: 700 .78rem/1.3 var(--sans,sans-serif); text-transform: uppercase; letter-spacing: .09em; }
.st-status { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid #c4bcb3; color: #eee8df; }
.st-status[data-active="true"] { background: var(--gold,#ffb000); border-color: var(--gold,#ffb000); color: #171513; }
.st-scope { color: #ddd3c9; text-align: right; }
.st-board-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); }
.st-current,.st-next { padding: clamp(20px,3vw,42px); }
.st-current { min-height: 168px; }
.st-current:only-child { grid-column: 1 / -1; }
.st-next { border-left: 1px solid #514b46; }
.st-eyebrow { color: #eccca4; margin: 0 0 12px; }
.st-performer { font: 600 clamp(2rem,4.8vw,4rem)/1.05 var(--display,sans-serif); max-width: 19ch; letter-spacing: -.025em; overflow-wrap: anywhere; text-wrap: balance; text-transform: none; color: #fffaf2; }
.st-piece,.st-next-list p,.st-next-empty,.st-position { color: #ded7cd; overflow-wrap: anywhere; }
.st-piece { margin-top: 12px; font: 400 clamp(1rem,1.8vw,1.38rem)/1.4 var(--sans,sans-serif); }
.st-position,.st-board-foot { font-size: .85rem; }
.st-position { margin-top: 18px; }
.st-next-empty { max-width: 32ch; }
.st-next-list { list-style: none; padding: 0; margin: 0; }
.st-next-list li { display: grid; grid-template-columns: 2ch minmax(0,1fr); gap: 14px; }
.st-next-list li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid #514b46; }
.st-seq { font: 600 1.05rem var(--display,sans-serif); color: #eccca4; }
.st-next-list strong { display: block; color: #fffaf2; font-size: 1.13rem; line-height: 1.3; overflow-wrap: anywhere; }
.st-next-list p { font-size: .96rem; margin-top: 4px; }
.st-board-foot { margin: 0; padding: 10px clamp(16px,3vw,40px); border-top: 1px solid #514b46; color: #d7cfc6; }
.st-top-tools { display: flex; justify-content: flex-end; margin-top: 8px; }
.st-button,.st-operator select { min-height: 44px; border: 1px solid #8a837b; border-radius: 0; background: #fffdf9; color: var(--st-ink,#171513); font: 600 .9rem/1.35 var(--sans,sans-serif); padding: 9px 15px; }
.st-button:is(:hover,:focus-visible):enabled { border-color: #211f1e; background: #ebe3d9; }
.st-button:disabled { opacity: .47; cursor: default; }
.st-button.st-primary { background: #211f1e; color: white; border-color: #211f1e; }
.st-button.st-primary:is(:hover,:focus-visible):enabled { background: #493d34; color: white; }
.st-button.st-quiet { min-height: 40px; font-size: .85rem; }
.st-operator { color: var(--st-ink); margin-top: 12px; }
.st-operator summary { width: fit-content; cursor: pointer; font: 700 .92rem/1.4 var(--sans,sans-serif); padding: 9px 0; }
.st-operator-body { border: 1px solid var(--st-border); background: #faf7f1; padding: clamp(14px,2vw,24px); }
.st-setup,.st-actions,.st-confirm,.st-op-heading { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.st-field { display: grid; gap: 5px; font-size: .87rem; font-weight: 700; text-align: left; }
.st-field select { max-width: 100%; }
.st-field select { padding-right: 28px; }
.st-op-heading { align-items: center; justify-content: space-between; margin-bottom: 16px; }
.st-actions { margin-top: 12px; }
.st-confirm { align-items: center; margin-top: 12px; }
.st-feedback { font-size: .92rem; }
.st-feedback:not(:empty) { margin-top: 12px; }
.st-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
dialog.st-dialog { color-scheme: dark; margin: auto; inset: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; padding: clamp(12px,3.8vw,70px); background: #171615; color: #fffaf2; overflow: auto; }
dialog.st-dialog[open] { display: flex; flex-direction: column; justify-content: safe center; align-items: stretch; }
dialog.st-dialog::backdrop { background: #171615; }
.st-dialog > .st-button { align-self: flex-end; margin-bottom: 14px; background: #171615; border-color: #a69c90; color: #fffaf2; }
.st-dialog > .st-button:hover { background: #302c28; color: #fffaf2; }
.st-dialog .st-performer { font-size: clamp(2.6rem,6.8vw,7rem); }
.st-dialog .st-piece { font-size: clamp(1.1rem,2.4vw,2.2rem); }
.st-dialog .st-next-list strong { font-size: clamp(1.3rem,2.8vw,2.7rem); }
.st-dialog .st-next-list p,.st-dialog .st-next-empty { font-size: clamp(1rem,1.8vw,1.6rem); }
@media (max-width: 620px) {
  .st-board-layout { grid-template-columns: 1fr; }
  .st-current { min-height: auto; }
  .st-next { border-left: 0; border-top: 1px solid #514b46; }
  .st-board-top { align-items: start; }
  .st-field { min-width: 0; }
  .st-setup { align-items: stretch; }
}
@media print { .st-top-tools,.st-operator,.st-dialog { display: none !important; } }
.st-button.st-reload { margin-top: 14px; }
.st-top-tools { gap: 8px; flex-wrap: wrap; }
.st-board .st-group { display: block; margin: 0 0 5px; color: #eccca4; font: 700 .76rem/1.4 var(--sans,sans-serif); text-transform: uppercase; letter-spacing: .065em; }
.st-current .performer-credits {
  --credit-label-color: #eccca4;
  --credit-rule-color: #62574e;
  margin: 1.25rem 0 0;
  color: #fffaf2;
}
.st-current .performer-credit { font-size: clamp(1.15rem,1.75vw,1.55rem); }
.st-dialog .st-current:has(.performer-credits) .st-performer { font-size: clamp(2.2rem,4.8vw,4.7rem); }
.st-dialog .performer-credit { font-size: clamp(1.25rem,2.2vw,2.05rem); }
.st-jump { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-top: 16px; }
.st-jump .st-field { min-width: 0; width: min(100%,36rem); }
.st-jump select { width: 100%; text-overflow: ellipsis; }
