/* A document: lit paper on the desk, set as the Charter is. Prints as it looks (File › Print › Save as PDF). */
.sheet { --rule: #16181A; position: relative; max-width: 820px; margin: 0 auto; background: var(--sheet); color: var(--ink); padding: 34px 58px 30px; font-family: var(--serif);
  font-size: 1.02rem; line-height: 1.45; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: sheet-in 420ms var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(14px) rotate(-.3deg); } }
.sheet .mark { text-align: center; color: #8E1B1B; font: 700 .72rem/1 var(--sans); letter-spacing: .08em; padding-bottom: 12px; border-bottom: 2px solid var(--rule); }
.sheet .mark.foot { border-bottom: 0; border-top: 2px solid var(--rule); padding: 12px 0 4px; margin-top: 34px; }
.sheet .copy { text-align: center; font: 500 .62rem/1.6 var(--sans); letter-spacing: .08em; color: #555; text-transform: uppercase; }
.sheet .dept { text-align: center; margin: 18px 0 0; font: 700 .9rem/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.sheet .dept small { display: block; font-weight: 500; letter-spacing: .12em; font-size: .72rem; }
.sheet .dept b { display: block; letter-spacing: .16em; font-size: .78rem; padding-bottom: 10px; border-bottom: 3px double var(--rule); }
.sheet .crest { display: block; width: 104px; height: 104px; margin: 18px auto 10px; }
.sheet .kind { text-align: center; font: 500 .74rem/1 var(--sans); letter-spacing: .16em; color: #555; text-transform: uppercase; margin-top: 6px; }
.sheet h1 { text-align: center; font: 700 1.7rem/1.15 var(--serif); text-transform: uppercase; margin: 10px 0 4px; }
.sheet .subtitle { text-align: center; font-style: italic; font-size: 1.1rem; color: #333; margin-bottom: 18px; }
.sheet table { width: 100%; border-collapse: collapse; margin: 10px 0 14px; }
.sheet td, .sheet th { border: 1px solid var(--rule); padding: 6px 9px; vertical-align: top; text-align: left; }
.sheet table.fields td:first-child { width: 32%; background: #DFDFDA; font-weight: 700; font-size: .92rem; }
.sheet th { background: #2A2C2E; color: #F2F2EE; font: 700 .72rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.sheet h2 { font: 700 1.02rem/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; margin: 26px 0 8px; padding-bottom: 5px; border-bottom: 1px solid var(--rule); display: flex; align-items: baseline; gap: 10px; }
.sheet p { margin: 0 0 10px; text-align: justify; hyphens: auto; }
.sheet ul { margin: 0 0 10px 22px; padding: 0; } .sheet li { margin-bottom: 4px; }
.sheet blockquote { margin: 10px 0 12px 22px; font-style: italic; } .sheet blockquote cite { display: block; font-style: normal; font: 500 .7rem/1.6 var(--sans); letter-spacing: .08em; color: #555; text-transform: uppercase; }
.sheet .bar { display: inline-block; height: .95em; background: #000; vertical-align: -.12em; border-radius: 0; margin: 0 2px; }
.sheet .bar + .why { font: 500 .6rem/1 var(--sans); color: #666; margin: 0 4px 0 1px; }
.sheet .redacted { display: grid; gap: 7px; margin: 6px 0 14px; } .sheet .redacted i { display: block; height: .95em; background: #000; }
.sheet .lift { animation: lift-bar 900ms var(--ease); } @keyframes lift-bar { from { background: #000; color: transparent; } to { background: transparent; } }
.sheet .end { text-align: center; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; margin-top: 30px; }
.sheet .fiction { text-align: center; font-size: .72rem; font-style: italic; color: #666; margin-top: 6px; }
/* the host's markings */
.sheet .hostbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -8px -30px 16px; padding: 8px 10px; background: #D4D4CF; font-family: var(--sans); }
.sheet .hb { font: 600 .62rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 4px 7px; border: 1px solid #777; color: #333; background: transparent; cursor: pointer; white-space: nowrap; }
.sheet .hb:hover { background: #fff; } .sheet .hb.held { border-color: #8E1B1B; color: #8E1B1B; } .sheet .hb.rel { border-color: #2E6B3E; color: #2E6B3E; }
.sheet .held-part { background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(142, 27, 27, .07) 9px 18px); outline: 1px dashed rgba(142, 27, 27, .35); outline-offset: 3px; }
.sheet .blk { position: relative; } .sheet .blk > .margin { position: absolute; right: -54px; top: 0; display: grid; gap: 2px; opacity: .3; } .sheet .blk:hover > .margin { opacity: 1; }
.sheet td .hb { padding: 2px 5px; margin-left: 6px; opacity: .45; } .sheet tr:hover td .hb { opacity: 1; }
.sheet .span-held { background: rgba(142, 27, 27, .14); border-bottom: 1px solid #8E1B1B; }
.asbar { max-width: 820px; margin: 0 auto 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

@media (max-width: 760px) { .sheet { padding: 22px 18px; font-size: .96rem; } .sheet table.fields td:first-child { width: 40%; } .sheet .hostbar { margin: -4px -8px 12px; } .sheet .blk > .margin { right: -14px; top: -18px; grid-auto-flow: column; } }

@media print {
  @page { size: A4; margin: 16mm 14mm; }
  html, body { height: auto !important; overflow: visible !important; background: #fff !important; }
  body > *:not(#app), .banner, .bar, .copyline, .tabs, .subnav, .person, .asbar, .hostbar, .hb, .back, .writer .top { display: none !important; }
  #app, .stage, .view, .archive, .reader, .sheet-scroll, .hub, .writer, .writer .page { display: block !important; position: static !important; height: auto !important; overflow: visible !important; background: #fff !important; padding: 0 !important; }
  .view[hidden] { display: none !important; }
  .sheet { box-shadow: none; max-width: none; padding: 0; background: #fff; animation: none; font-size: 11pt; }
  .sheet h2 { break-after: avoid; } .sheet table, .sheet blockquote { break-inside: avoid; }
  .sheet .held-part { background: none; outline: 0; }
  .writer .page > div { max-width: none; color: #000; } .writer input.title, .writer textarea, .writer .read { color: #000; }
}
