/* The Atelier Kit: the chart rooms' shared furniture (stage, corners, folio, slip, legend, Glass, vignettes, index, contents) worn as markup classes; linked after house.css and before the page sheet, so a page keeps layout and the last word. */

:root {
  --slip-w: 22rem;
  --desk-frame-h: 768px;
}

.fog {
  position: fixed;
  inset: -30%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
body.chart-room .fog {
  z-index: 3;
}
.fog.a {
  background: radial-gradient(45% 30% at 30% 60%, rgb(from var(--parchment) r g b / 0.1), transparent 70%);
  animation: fog-drift-a 90s ease-in-out infinite alternate;
}
.fog.b {
  background: radial-gradient(40% 28% at 70% 30%, rgb(from var(--line-tan) r g b / 0.09), transparent 70%);
  animation: fog-drift-b 70s ease-in-out infinite alternate;
}
@keyframes fog-drift-a {
  from {
    transform: translate(-4%, 2%);
  }
  to {
    transform: translate(5%, -3%);
  }
}
@keyframes fog-drift-b {
  from {
    transform: translate(3%, -2%);
  }
  to {
    transform: translate(-5%, 3%);
  }
}

/* Scoped to body.chart-room: home's landfall stage wears the same .stage class. */
html:has(body.chart-room) {
  height: 100%;
  overflow-y: hidden;
}
body.chart-room {
  height: 100%;
  overflow: clip;
}
@media screen {
  html.desk-frame:has(body.chart-room) {
    --desk-lift: max(0px, var(--desk-frame-h) - 100svh);
    height: auto;
    overflow-y: auto;
    background: var(--chart-ink);
  }
  html.desk-frame body.chart-room {
    height: var(--desk-frame-h);
    transition: none;
  }
}
.desk-layer.on > :is(.slip, .legend) {
  pointer-events: auto;
}
body.chart-room .stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
body.chart-room .stage .status {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0.3rem 0.9rem;
  color: var(--parchment);
  background: rgb(from var(--chart-ink) r g b / 0.55);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-paper);
}
body.chart-room .stage .status.fading {
  opacity: 0;
}
body.chart-room .stage .status:empty {
  display: none;
}
body.chart-room .stage noscript .status {
  top: calc(50% + 2.8rem);
  pointer-events: auto;
  max-width: 30rem;
}
body.chart-room .stage .status a {
  color: var(--parchment-bright);
}
.vignette {
  position: fixed;
  left: 0;
  right: 0;
  height: 11rem;
  pointer-events: none;
  z-index: 5;
}
.vignette.top {
  top: 0;
  background: linear-gradient(to bottom, rgb(from var(--chart-ink) r g b / 0.62), transparent);
}
.vignette.bottom {
  bottom: 0;
  background: linear-gradient(to top, rgb(from var(--chart-ink) r g b / 0.62), transparent);
}

.corner {
  position: fixed;
  z-index: 10;
  line-height: normal;
  pointer-events: none;
}
.corner :is(a, button, input, select, label) {
  pointer-events: auto;
}
.corner.tr {
  right: var(--chrome-x);
  top: var(--chrome-y);
  text-align: right;
}
.corner.bl {
  left: var(--chrome-x);
  bottom: var(--chrome-y);
}
.corner.br {
  right: var(--chrome-x);
  bottom: var(--chrome-y);
}
.corner :is(a, button, input, select):focus-visible {
  outline-color: var(--parchment-bright);
}

:root {
  --folio-w: 19rem;
}
.folio-room {
  max-width: var(--folio-cap, var(--folio-w));
}
.folio-room .room-name {
  font-size: 1.32rem;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: var(--parchment-bright);
}
.folio-room .room-tagline {
  font-size: 0.92rem;
  line-height: normal;
  color: var(--parchment);
  margin: 0.1rem 0 0;
}
/* parchment, not line-tan: line-tan reads 4.03:1 on the deep, under the 4.5:1 floor for small text, and ink-faded is darker still. */
.folio-room .dateline {
  margin: 0.55rem 0 0;
  font-variant-caps: small-caps;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--parchment);
}
.folio-room .gloss {
  margin: 0.4rem 0 0;
  font-family: var(--font-flourish, "Iowan Old Style", "Palatino", Georgia, serif);
  font-style: italic;
  font-size: 0.76rem;
  color: var(--parchment);
}
.folio-controls {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin: 0.55rem 0 0;
}
/* 16px floor: a smaller input font makes iOS Safari zoom the page on focus. */
.folio-controls .control {
  width: 7.4rem;
  min-width: 0;
  font-size: 16px;
  color: var(--parchment-bright);
  background: rgb(from var(--chart-ink) r g b / 0.45);
  border: 1px solid var(--line-tan);
  border-radius: 0;
  padding: 0.32rem 0.6rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.folio-controls .control::placeholder {
  color: var(--line-tan);
}
.folio-controls .control:focus-visible {
  outline: 2px solid var(--parchment-bright);
  outline-offset: 1px;
}
.folio-controls select.control {
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  cursor: pointer;
  padding-right: 1.6rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--line-tan) 50%),
    linear-gradient(135deg, var(--line-tan) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 55%,
    calc(100% - 9px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.folio-controls select.control option {
  color: var(--ink-dark);
  background: var(--parchment-panel);
}
.folio-controls .dice {
  width: 2.4rem;
  padding: 0.32rem 0;
  font-size: 1rem;
  line-height: 1;
  color: var(--parchment);
  background: rgb(from var(--chart-ink) r g b / 0.45);
  border: 1px solid var(--line-tan);
  border-radius: 0;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.corner.tr .folio-controls .dice:hover,
.corner.tr .folio-controls .dice:focus-visible {
  background: var(--ink-dark);
  color: var(--parchment-bright);
}
.folio-controls .primary {
  white-space: nowrap;
  font-family: var(--font-display, "Iowan Old Style", "Palatino", Georgia, serif);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--ink-dark);
  background: var(--control-gold);
  border: 1px solid var(--line-tan);
  border-radius: 0;
  padding: 0.32rem 0.9rem;
  transition: background 0.2s ease;
}
.corner.tr .folio-controls .primary:hover,
.corner.tr .folio-controls .primary:focus-visible {
  background: var(--parchment-bright);
  color: var(--ink-dark);
}

.folio {
  max-width: 24rem;
}
.folio p {
  margin: 0;
}
.folio-title {
  font-family: var(--font-display, "Iowan Old Style", "Palatino", Georgia, serif);
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  color: var(--parchment);
}
.folio-sub {
  font-family: var(--font-flourish, "Iowan Old Style", "Palatino", Georgia, serif);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--line-tan);
  margin-top: 0.15rem;
  line-height: 1.4;
}
.folio-coords {
  font-variant-caps: small-caps;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--line-tan);
  margin-top: 0.35rem;
  min-height: 1.2em;
}
.folio-note {
  font-size: 0.86rem;
  color: var(--parchment);
  margin-top: 0.4rem;
  line-height: 1.45;
  max-width: 22rem;
}

.zoomery {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
  transition: right 0.32s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.corner.br.zoomery {
  right: calc(var(--slip-w) + 2rem + 1.4rem);
}
body:has(.slip.folded) .corner.br.zoomery {
  right: var(--chrome-x);
}
.zoom-btn {
  width: 2.2rem;
  height: 2.2rem;
  font-family: var(--font-body, "Iowan Old Style", "Palatino", Georgia, serif);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--parchment);
  background: rgb(from var(--chart-ink) r g b / 0.5);
  border: 1px solid var(--line-tan);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
/* Four classes deep: the house button hover wash is (0,3,1) and outranks a plain .zoom-btn:hover. */
.zoomery.corner .zoom-btn:hover,
.zoomery.corner .zoom-btn:focus-visible {
  background: var(--ink-dark);
  color: var(--parchment-bright);
}
.zoomery .zoom-btn.touch-btn {
  font-family: var(--font-serif-fallback, "Iowan Old Style", "Palatino", Georgia, serif);
  font-size: 1.35rem;
}
.zoomery.corner .zoom-btn[aria-pressed="true"] {
  background: var(--parchment-bright);
  color: var(--ink-dark);
  border-color: var(--parchment);
}
#map-viewport:not(.zoomable) {
  touch-action: manipulation;
}

.legend {
  position: fixed;
  left: calc((100% - var(--slip-w) - 2rem) / 2);
  bottom: var(--chrome-y);
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  transition: left 0.32s cubic-bezier(0.2, 0.7, 0.3, 1);
}
body:has(.slip.folded) .legend {
  left: 50%;
}
/* parchment, not ink-faded: 13px italic reads 2.78:1 on the deep, under the 4.5:1 floor. */
.legend-head {
  font-family: var(--font-flourish, "Iowan Old Style", "Palatino", Georgia, serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--parchment);
  margin: 0 0 0.45rem;
}
.legend-row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* A road out is an <a> and the Explorer's Turn a <button> in the same dress, overwritten property by property; this display makes the hidden attribute inert (an author display beats the UA [hidden] rule), so hide one via style.display. */
.legend-btn {
  display: block;
  appearance: none;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  line-height: 1.45;
  color: inherit;
  background: rgb(from var(--chart-ink) r g b / 0.5);
  border: 1px solid var(--line-tan);
  border-radius: 0;
  padding: 0.4rem 0.9rem 0.35rem;
  text-align: center;
  transition:
    background 0.2s ease,
    transform var(--paper-quick) var(--ease-paper);
}
/* Four classes deep: the house button hover wash is (0,3,1). */
.legend .legend-row .legend-btn:hover,
.legend .legend-row .legend-btn:focus-visible {
  background: var(--ink-dark);
  transform: translateY(var(--raise));
}
.legend .legend-row .legend-btn:focus-visible {
  outline-color: var(--parchment-bright);
}
.legend-btn .verb {
  display: block;
  font-family: var(--font-flourish, "Iowan Old Style", "Palatino", Georgia, serif);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--parchment);
}
.legend-btn .room {
  display: block;
  font-family: var(--font-display, "Iowan Old Style", "Palatino", Georgia, serif);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  color: var(--parchment);
}
.legend-btn.gold {
  background: var(--control-gold);
}
.legend-btn.gold .verb {
  color: var(--ink-brown);
}
.legend-btn.gold .room {
  color: var(--ink-dark);
}
.legend .legend-row .legend-btn.gold:hover,
.legend .legend-row .legend-btn.gold:focus-visible {
  background: var(--parchment-bright);
}
.legend .legend-row .legend-btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
  box-shadow: none;
  background: rgb(from var(--chart-ink) r g b / 0.5);
}
.legend.lean > p:not(:has(select), [role="status"]) {
  display: none;
}

.slip {
  position: fixed;
  z-index: 20;
  right: 2rem;
  top: 9rem;
  width: var(--slip-w);
  max-height: calc(100vh - 11rem);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: var(--parchment-panel);
  color: var(--ink-dark);
  border: 1px solid var(--line-tan);
  outline: 3px double var(--line-faint);
  outline-offset: 6px;
  box-shadow: var(--sheet-shadow);
  transition:
    transform 0.32s cubic-bezier(0.2, 0.7, 0.3, 1),
    opacity 0.32s,
    visibility 0s;
}
.slip.folded {
  transform: translateX(calc(100% + 2.6rem));
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.7, 0.3, 1),
    opacity 0.32s,
    visibility 0s linear 0.32s;
}
.slip-head {
  padding: 1.3rem 1.6rem 0.75rem;
  position: relative;
  flex: none;
}
.slip-body {
  padding: 0 1.6rem 1.3rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
}
.slip-foot {
  flex: none;
  padding: 0.8rem 1.6rem 1rem;
  border-top: 1px solid var(--line-faint);
}
.slip .card-verb {
  font-family: var(--font-flourish, "Iowan Old Style", "Palatino", Georgia, serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-brown);
  margin: 0;
}
.slip .card-title {
  font-family: var(--font-display, "Iowan Old Style", "Palatino", Georgia, serif);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0.1rem 0 0;
}
/* ink-brown, not ink-faded: 13px small caps read 3.93:1 on the panel, under the 4.5:1 floor (the same dress as home's card). */
.slip .card-where {
  font-family: var(--font-body, "Iowan Old Style", "Palatino", Georgia, serif);
  font-variant-caps: small-caps;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--ink-brown);
  border-bottom: 1px solid var(--line-faint);
  padding-bottom: 0.55rem;
  margin: 0.25rem 0 0;
}
.slip .intro {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0.7rem 0 0;
}
.slip .note {
  font-size: 0.82rem;
  color: var(--ink-faded);
  line-height: 1.45;
  margin: 0;
  text-align: left;
}
.slip a {
  color: var(--ink-dark);
}
.slip-fold {
  position: absolute;
  right: 0.5rem;
  top: 0.45rem;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: none;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ink-faded);
  padding: 0.2rem 0.4rem;
}
/* Four classes deep: the house button hover wash is (0,3,1) and outranks a plain .slip-fold:hover. */
.slip .slip-head .slip-fold:hover,
.slip .slip-head .slip-fold:focus-visible {
  color: var(--ink-dark);
  background: none;
}
/* Seated by the translate and rotate properties, not transform: the house button lift in motion.css writes transform and would replace the seat. */
.slip-tab {
  position: fixed;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  rotate: 180deg;
  z-index: 19;
  writing-mode: vertical-rl;
  padding: 0.9rem 0.45rem;
  cursor: pointer;
  appearance: none;
  border-radius: 0;
  font-family: var(--font-display, "Iowan Old Style", "Palatino", Georgia, serif);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--parchment);
  background: rgb(from var(--chart-ink) r g b / 0.5);
  border: 1px solid var(--line-tan);
  border-left: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s 0.2s,
    visibility 0s linear 0.45s;
}
.slip-tab.shown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.25s 0.2s,
    visibility 0s;
}
button.slip-tab.shown:is(:hover, :focus-visible, :active) {
  box-shadow: none;
  background: var(--ink-dark);
  color: var(--parchment-bright);
}

/* The chrome's parchment lettering reads 1.1:1 over chart paper run under it, so the cluster and the chart folio stand on a blurred pool over a floored sheet at rest or in a room with no stage, and the strip does while the Glass is zoomed; none does at rest over a chart fitted clear (`RH9b` in `e2e/suites/runninghead/heads.ts`, `EA4` in `e2e/suites/stage/stage.ts`). */
body:has(#map-viewport.zoomed) .strip::before,
body.stage-under:not(:has(#map-viewport.zoomed)) :is(header.chrome, .corner.bl)::before,
body.chart-room:not(:has(.stage)) :is(header.chrome, .corner.bl)::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: var(--pool-top, -1.3rem) var(--pool-right, -1.6rem) var(--pool-bottom, -1.3rem) var(--pool-left, -1.6rem);
  background: rgb(from var(--chart-ink) r g b / 0.92);
  filter: blur(16px);
}
/* Edge-facing sides run 4rem out, matching home's inset in src/styles/index.css, so the blur's fade lies past the viewport edge and no chart bleeds through at a corner; the Glass carries no pool, its presses stand on their own half-ink fill. */
body.chart-room header.chrome {
  --pool-top: -4rem;
  --pool-left: -4rem;
}
body.chart-room .corner.bl {
  --pool-bottom: -4rem;
  --pool-left: -4rem;
}
body.chart-room .strip {
  --pool-bottom: -4rem;
  --pool-left: -4rem;
  --pool-right: -4rem;
}
body:has(#map-viewport.zoomed) :is(header.chrome, .corner.bl)::before {
  content: "";
  position: absolute;
  inset: -0.7rem -0.9rem -0.8rem;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgb(from var(--chart-ink) r g b / 0.85),
    rgb(from var(--chart-ink) r g b / 0.72)
  );
}
body:has(#map-viewport.zoomed) .corner.bl :is(.folio-sub, .folio-coords) {
  color: var(--parchment);
}

/* The legend row's footing is home's .lf-legend panel (src/styles/index.css: its 0.5rem 1.1rem 0.6rem padding, chart ink 0.85 to 0.72 top to bottom), drawn as a ::before at the padding's insets so the row's box, which the seat and the fit read, never changes (a real padding wrapped the Explorer's roads, `BR2` in `e2e/suites/broadside.ts`). */
body:has(#map-viewport.zoomed) .legend::before,
body.stage-under .legend::before,
body.chart-room:not(:has(.stage)) .legend::before {
  content: "";
  position: absolute;
  inset: -0.5rem -1.1rem -0.6rem;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgb(from var(--chart-ink) r g b / 0.85),
    rgb(from var(--chart-ink) r g b / 0.72)
  );
}
body.stage-under:not(:has(#map-viewport.zoomed)) .legend::before {
  inset: -1.3rem -0.9rem -0.6rem;
  background: rgb(from var(--chart-ink) r g b / 0.92);
  filter: blur(16px);
}
@media screen {
  body.chart-room:has(.stage) {
    contain: layout;
  }
  body:has(#map-viewport.zoomed) .corner.tr::before,
  body.stage-under .corner.tr::before,
  body.chart-room:not(:has(.stage)) .corner.tr::before {
    content: "";
    position: absolute;
    inset: -0.7rem -0.9rem -0.8rem;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgb(from var(--chart-ink) r g b / 0.85),
      rgb(from var(--chart-ink) r g b / 0.72)
    );
  }
  body.stage-under:not(:has(#map-viewport.zoomed)) .corner.tr::before {
    left: -0.35rem;
    background: rgb(from var(--chart-ink) r g b / 0.92);
    filter: blur(16px);
  }
}

body.chart-room .stage {
  animation: sheet-land 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.corner,
.slip,
.legend {
  animation: ink-in 0.5s 0.18s ease-out both;
}

.index {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}
.index > li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line-faint);
  opacity: 0.55;
  transition: opacity 0.2s;
}
.index > li.inked {
  opacity: 1;
}
.index .sec {
  display: block;
  font-family: var(--font-display, "Iowan Old Style", "Palatino", Georgia, serif);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--ink-dark);
  text-decoration: none;
}
.index > li.inked .sec {
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-tan);
}
.index .sec:hover {
  color: var(--ink-press);
}
/* ink-brown, not ink-faded: 11.5px small caps read 3.93:1 on the panel, under the 4.5:1 floor. */
.index .count {
  font-variant-caps: small-caps;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-brown);
  float: right;
}
.index .entries {
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  line-height: 1.45;
}
.index .entries li {
  padding: 0.1rem 0 0.1rem 0.6rem;
  border-left: 2px solid transparent;
}
.index .entries li.now {
  border-left-color: var(--line-tan);
}
.index .entries a {
  color: var(--ink-brown);
  text-decoration: none;
}
.index .entries a:hover {
  color: var(--ink-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.index .terms {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-brown);
}
.index .terms a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.index .terms a:hover {
  color: var(--ink-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.index .terms a:not(.miss) ~ a:not(.miss)::before {
  content: "\00b7";
  margin: 0 0.35em 0 0.1em;
  color: var(--ink-faded);
}
.index .terms a.now {
  color: var(--ink-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--line-tan);
}
.index .terms a.hit {
  color: var(--ink-dark);
  background: var(--parchment-bright);
}
.index .terms a.miss {
  display: none;
}
.index > li.empty {
  display: none;
}

.contents {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
}
.contents li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--line-faint);
  font-size: 0.92rem;
  line-height: 1.4;
}
.contents .cr-num {
  flex: 0 0 2.4rem;
  text-align: right;
  font-family: var(--font-body, "Iowan Old Style", "Palatino", Georgia, serif);
  font-variant-caps: small-caps;
  letter-spacing: 0.06em;
  color: var(--ink-brown);
}
.contents .cr-text {
  flex: 1 1 0;
  min-width: 0;
  color: var(--ink-annals);
}
.contents .cr-text em {
  font-family: var(--font-flourish, "Iowan Old Style", "Palatino", Georgia, serif);
  font-style: italic;
  color: var(--ink-brown);
}
.contents .cr-text .n {
  font-variant-caps: small-caps;
  letter-spacing: 0.06em;
  color: var(--ink-brown);
  font-size: 0.85em;
}

@media print {
  .fog,
  .corner,
  .slip,
  .slip-tab,
  .vignette,
  .legend,
  .zoomery,
  .folio,
  body.chart-room .stage .status,
  body.chart-room .stage .warning {
    display: none !important;
  }
  .corner.folio-room {
    display: block !important;
    position: static;
    text-align: left;
    margin: 0 0 1rem;
    max-width: none !important;
  }
  .folio-room .room-name,
  .folio-room .room-tagline {
    color: var(--ink-dark);
    display: block;
  }
  .folio-room .room-name {
    font-size: 1.32rem;
  }
  .folio-room .dateline,
  .folio-room .gloss,
  .folio-controls {
    display: none;
  }
  html:has(body.chart-room),
  body.chart-room {
    height: auto;
    overflow: visible;
  }
  body.chart-room .stage {
    position: static;
    animation: none;
  }
  body.chart-room main {
    display: flex;
    flex-direction: column;
  }
  body.chart-room .corner.folio-room {
    order: -1;
  }
}
