/* Daylo legal — day-stage cue cards. Unique to this package. */
:root {
  --void: #12151c;
  --spot: #f6efe3;
  --ink: #1c1a16;
  --muted: #5c574c;
  --tick: #c45c2a;
  --line: #d9d0c2;
  --sky: #3a5f7d;
}
* { box-sizing: border-box; }
html { background: var(--void); }
body.stage {
  margin: 0;
  background:
    radial-gradient(80% 40% at 50% 0%, rgba(246, 239, 227, 0.07), transparent 60%),
    var(--void);
  color: var(--ink);
  font-family: "Futura", "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  min-height: 100vh;
}
a { color: var(--sky); }
a:hover { color: var(--tick); }
.proscenium { max-width: 52rem; margin: 0 auto; padding: 1.4rem 1rem 3rem; }
.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.2rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  border-bottom: 2px solid rgba(246, 239, 227, 0.18);
  padding-bottom: 0.7rem;
}
.ticks a {
  color: var(--spot);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
}
.ticks a[aria-current="page"] {
  background: var(--tick);
  color: var(--spot);
}
.cue {
  background: var(--spot);
  color: var(--ink);
  padding: 1.6rem 1.4rem 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0 1.1rem;
}
.ruler {
  border-right: 1px solid var(--line);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 27px,
    var(--line) 27px 28px
  );
  min-height: 100%;
}
.playbill .show {
  margin: 0 0 0.3rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--tick);
}
.playbill h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.2;
  font-weight: 650;
}
.playbill .synopsis, .playbill .premiered { margin: 0 0 0.4rem; color: var(--muted); }
.scene { margin: 1.35rem 0 0; }
.scene h2 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--tick);
}
.scene p { margin: 0 0 0.7rem; line-height: 1.62; }
.aside {
  margin: 0.5rem 0 0.85rem;
  padding: 0.15rem 0 0.15rem 0.85rem;
  border-left: 3px solid var(--sky);
  color: var(--muted);
  line-height: 1.55;
}
.beats { margin: 0.3rem 0 0.8rem; padding: 0; list-style: none; }
.beats li {
  margin: 0 0 0.55rem;
  padding: 0.55rem 0.7rem;
  background: #efe6d6;
}
.beats .cue-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.15rem;
}
.plain-mail { font-weight: 650; letter-spacing: 0.01em; }
.closer {
  margin-top: 1.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.wings { color: var(--spot); padding: 10vh 1.2rem 3rem; max-width: 34rem; margin: 0 auto; }
@media (max-width: 640px) {
  .cue { grid-template-columns: 1.6rem 1fr; padding: 1.2rem 0.95rem 1.6rem; }
}
.house-name {
  margin: 0 0 0.4rem;
  color: var(--spot);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.runsheet {
  width: 100%;
  border-collapse: collapse;
  background: var(--spot);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.runsheet caption { text-align: left; padding: 1.3rem 1.2rem 0.6rem; caption-side: top; }
.runsheet .show { display: block; letter-spacing: .16em; text-transform: uppercase; font-size: .68rem; color: var(--tick); margin-bottom: .3rem; }
.runsheet .headline { display: block; font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.2; font-weight: 650; margin-bottom: .5rem; }
.runsheet .synopsis, .runsheet .premiered { display: block; color: var(--muted); margin: 0 0 .35rem; font-weight: 400; }
.runsheet .act th {
  vertical-align: top;
  width: 28%;
  padding: 0.85rem 0.9rem 0.85rem 1.1rem;
  text-align: left;
  color: var(--tick);
  font-size: 0.95rem;
  font-weight: 650;
  border-top: 1px solid var(--line);
}
.runsheet .act td { padding: 0.85rem 1.1rem 0.85rem 0.4rem; border-top: 1px solid var(--line); }
.runsheet .act p { margin: 0 0 0.65rem; line-height: 1.62; }
.runsheet .beats { margin: 0.2rem 0 0.6rem; }
.runsheet .beats div { margin: 0 0 0.55rem; padding: 0.45rem 0.6rem; background: #efe6d6; }
.runsheet .beats dt { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); margin: 0 0 0.12rem; }
.runsheet .beats dd { margin: 0; }
.cue { display: none; } /* leftover from earlier layout */
ol.cues { margin: 0.2rem 0 0.6rem; padding: 0; list-style: none; }
ol.cues li { margin: 0 0 0.55rem; padding: 0.45rem 0.6rem; background: #efe6d6; }
ol.cues .cue-tag { display: block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky); font-weight: 650; }
ol.acts { list-style: none; margin: 0; padding: 0; }
ol.acts > li.act { display: grid; grid-template-columns: 11rem minmax(0,1fr); gap: 0.7rem 1rem; padding: 0.85rem 0; border-bottom: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent); }
p.act-name { margin: 0; font-family: "Iowan Old Style", Palatino, serif; font-size: 0.95rem; font-weight: 650; color: var(--sky); }
div.act-copy p { margin: 0 0 0.55rem; }
@media (max-width: 640px) { ol.acts > li.act { grid-template-columns: 1fr; } }
header.playbill { margin: 0.8rem 0 0.4rem; padding-bottom: 0.6rem; border-bottom: 3px double var(--night); }
header.playbill .show { margin: 0; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.68rem; color: var(--sky); }
header.playbill .headline { margin: 0.15rem 0 0.3rem; font-family: "Iowan Old Style", Palatino, serif; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; }
header.playbill .synopsis { margin: 0 0 0.4rem; max-width: 42rem; }
