/* R-174, screens: the shared folding shell, then each device in its own look. */
/* frames: a device that brings its own body (the phones, Mira's interface,
   the saved page) stands in the column with no window shadow round it */
.app-calc > .app-frame,
.app-emi > .app-frame,
.app-fleet > .app-frame,
.app-saved > .app-frame,
.app-phone-page > .app-frame {
  display: flex;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}
/* the size setting leaves the phones alone: a phone always keeps its real proportions */
/* phones: real proportions, the screen scrolls when it is full */
.phone {
  width: min(100%, 20rem);
  aspect-ratio: 9 / 19.5;
  display: flex;
  flex-direction: column;
  border: 10px solid #0b0b0c;
  border-radius: 2.2rem;
  background: #101114;
  /* the screen's colour stops at the inside of the bezel, so no light edge shows
     round the rounded corners */
  background-clip: padding-box;
  color: #f1f1f3;
  font-family: var(--sans);
  overflow: hidden;
}
.ph-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.1rem;
  font: 600 0.72rem/1 var(--sans);
}
.ph-icons {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}
.ph-sig {
  width: 0.9rem;
  height: 0.6rem;
  background: linear-gradient(to right, currentColor 0 18%, transparent 18% 27%, currentColor 27% 45%, transparent 45% 54%, currentColor 54% 72%, transparent 72% 81%, currentColor 81%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.ph-bat {
  width: 1.2rem;
  height: 0.55rem;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  background: linear-gradient(to right, currentColor 0 62%, transparent 62%);
  background-clip: content-box;
  padding: 1px;
}
/* the calculator in exchange mode */
.cx {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem;
  overflow: auto;
}
.cx-modes {
  display: flex;
  gap: 0.25rem;
  padding: 0.2rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: #1c1d22;
  font-size: 0.72rem;
}
.cx-modes span {
  flex: 1;
  text-align: center;
  padding: 0.3rem 0;
  border-radius: 999px;
  color: #9a9ba3;
}
.cx-modes .on {
  background: #f39a3d;
  color: #1a1206;
  font-weight: 600;
}
.cx-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.6rem 0.2rem;
  border-bottom: 1px solid #26272d;
}
.cx-cur {
  display: flex;
  flex-direction: column;
  font-size: 0.7rem;
  color: #9a9ba3;
}
.cx-cur b {
  font-size: 0.95rem;
  color: #f1f1f3;
}
.cx-amt {
  font: 300 2rem/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.cx-to .cx-amt {
  color: #f39a3d;
}
.cx-caret {
  display: inline-block;
  width: 2px;
  height: 1.6rem;
  margin-left: 2px;
  vertical-align: -0.15rem;
  background: #f39a3d;
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
/* the swap button sits on the rule under the CAD row, centered on it */
.cx-from {
  position: relative;
}
.cx-swap {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #26272d;
  color: #f39a3d;
  font-size: 0.9rem;
}
.cx-rate {
  margin-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  font: 500 0.72rem/1.4 var(--mono);
  color: #c6c7ce;
}
.cx-upd {
  font-size: 0.66rem;
  color: #7c7d85;
}
.cx-keys {
  margin-top: auto;
  padding-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}
.cx-keys span {
  display: grid;
  place-items: center;
  aspect-ratio: 1.35;
  border-radius: 0.9rem;
  background: #1f2025;
  font-size: 1.05rem;
}
.cx-keys .ic {
  width: 1.1rem;
  height: 1.1rem;
}
.cx-swap .ic {
  width: 0.9rem;
  height: 0.9rem;
}
.cx-keys .k-op {
  background: #2c2d33;
  color: #f39a3d;
}
.cx-keys .k-wide {
  grid-column: span 2;
  aspect-ratio: auto;
}
.cx-keys .k-eq {
  background: #f39a3d;
  color: #1a1206;
}
/* the Transport Canada monitor on Owen's laptop */
.tcm {
  width: 100%;
  background: #f6f7f9;
  color: #1f2a37;
  font: 400 0.82rem/1.45 var(--sans);
  overflow: hidden;
}
.tcm-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0.7rem;
  background: #26374a;
  color: #fff;
}
.tcm-dots {
  display: flex;
  gap: 0.3rem;
}
.tcm-dots i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #5c6f84;
}
.tcm-title {
  font-weight: 600;
}
.tcm-site {
  display: flex;
  gap: 0.9rem;
  margin-left: auto;
  font-size: 0.74rem;
  color: #c7d2de;
}
.tcm-tabs {
  display: flex;
  border-bottom: 1px solid #d4d9e0;
  background: #fff;
}
.tcm-tabs span {
  padding: 0.45rem 0.9rem;
  color: #5a6776;
  border-bottom: 3px solid transparent;
}
.tcm-tabs .on {
  color: #26374a;
  font-weight: 600;
  border-bottom-color: #af3c43;
}
.tcm-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.74rem;
}
.tcm-filter span {
  padding: 0.1rem 0.5rem;
  border: 1px solid #c9ced6;
  border-radius: 999px;
  background: #fff;
}
.tcm-live {
  margin-left: auto;
  color: #1d7a3a;
  border-color: #9fd0ae !important;
}
.tcm-live::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #1d7a3a;
}
.tcm-tw {
  overflow-x: auto;
}
.tcm-t {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}
.tcm-t th {
  text-align: left;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #5a6776;
  background: #eceff3;
  border-block: 1px solid #d4d9e0;
}
.tcm-t td {
  padding: 0.35rem 0.7rem;
  vertical-align: top;
  border-bottom: 1px solid #e3e7ec;
  background: #fff;
}
.lg-t {
  font: 500 0.76rem/1.6 var(--mono);
  color: #5a6776;
  white-space: nowrap;
}
.lg-d {
  display: block;
  font-size: 0.74rem;
  color: #5a6776;
}
/* the tag sits on the first line of its row, centered on it */
.lg-tag {
  display: inline-block;
  vertical-align: top;
  margin-top: 0.05rem;
  min-width: 2.8rem;
  padding: 0 0.35rem;
  border-radius: 3px;
  font: 600 0.68rem/1.6 var(--mono);
  text-align: center;
  background: #e3e7ec;
  color: #26374a;
}
.lg-det {
  background: #dbe8f6;
  color: #1c4f82;
}
.lg-adv {
  background: #e4f1e7;
  color: #1d6a35;
}
.lg-plan,
.lg-evt {
  background: #efe7f7;
  color: #5b3a85;
}
.tcm-t tr.lg-warn td {
  background: #fff6e5;
}
.tcm-t tr.lg-warn td:first-child {
  box-shadow: inset 3px 0 0 #d18a12;
}
.tcm-t tr.lg-flag td {
  background: #f8f4fc;
}
.tcm-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.76rem;
  color: #5a6776;
  background: #eceff3;
}
.tcm-foot b {
  color: #1f2a37;
}
/* a saved page on the same laptop, in Dutch, with the English under each line */
.sv {
  width: min(100%, 34rem);
  border: 1px solid #d7d2c6;
  border-radius: 6px;
  background: #fffdf8;
  color: #23211c;
  font: 400 0.9rem/1.45 var(--sans);
  overflow: hidden;
}
.sv-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.8rem;
  background: #efebe1;
  border-bottom: 1px solid #d7d2c6;
  font-size: 0.78rem;
  color: #5e5a50;
}
.sv-back {
  width: 0.9rem;
  height: 0.9rem;
}
.sv-body {
  padding: 1.1rem;
}
.sv-k {
  font: 600 0.7rem/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c0392b;
}
.sv-k .tr-line {
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sv-h {
  margin: 0.2rem 0 0.8rem;
  font: 700 1.35rem/1.2 var(--serif);
}
.sv-h .tr-line {
  font-family: var(--sans);
  font-size: 0.6em;
  margin-top: 0.1rem;
}
.sv-big {
  font: 800 2.4rem/1 var(--serif);
  color: #c0392b;
}
.sv-unit {
  margin-top: 0.2rem;
  font: 500 0.88rem/1.3 var(--sans);
}
.sv-facts {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.sv-facts li {
  padding: 0.45rem 0 0.45rem 0.9rem;
  border-top: 1px solid #ebe5d8;
  position: relative;
}
.sv-facts li:last-child {
  border-bottom: 1px solid #ebe5d8;
}
.sv-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.35rem;
  height: 0.35rem;
  background: #c0392b;
}
/* Mira's interface: a notice laid over what she sees, no device around it */
.hud {
  width: min(100%, 30rem);
  padding: 0.9rem 1rem;
  border: 1px solid #d79a2b;
  border-left-width: 4px;
  background: rgba(32, 22, 6, 0.92);
  color: #f6dfb0;
  font: 400 0.8rem/1.5 var(--mono);
}
:root[data-theme="light"] .hud {
  background: #2a1d08;
}
.hud-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  margin-bottom: 0.6rem;
}
.hud-mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 2px solid #f0a72f;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    background: #f0a72f;
  }
}
.hud-logo {
  width: 1rem;
  height: 1rem;
  color: #f0a72f;
}
.hud-src {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0a72f;
}
.hud-to {
  margin-left: auto;
  color: #c9a86d;
}
.hud-kv {
  margin: 0;
}
.hud-kv > div {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.15rem 0;
}
.hud-kv dt {
  color: #b38c4b;
}
.hud-kv dd {
  margin: 0;
}
.hud-miss dd {
  color: #ffb4a0;
}
.hud-bat {
  display: inline-block;
  width: 2.2rem;
  height: 0.7rem;
  margin-right: 0.5rem;
  vertical-align: -0.05rem;
  border: 1px solid #c9a86d;
  padding: 1px;
}
.hud-bat i {
  display: block;
  height: 100%;
  background: #f0a72f;
}
.hud-act {
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #6e5126;
  font-weight: 600;
  color: #ffd27a;
}
.hud-dev {
  color: #ffb4a0;
}
/* the EM Indexer, a light measuring app */
.phone-light {
  background: #f4f6f8;
  color: #17202a;
}
.em {
  flex: 1;
  padding: 0.5rem 0.9rem;
  overflow: auto;
  font-size: 0.78rem;
}
.em-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.7rem;
}
.em-top b {
  font-size: 1.05rem;
}
.em-top span {
  font-size: 0.68rem;
  color: #5d6b78;
}
.em-gauge {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.em-ring {
  flex: none;
  width: 4.2rem;
  height: 4.2rem;
  position: relative;
}
.em-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#1f7a8c calc(var(--v) * 360deg), #dde3e8 0);
  -webkit-mask: radial-gradient(circle, transparent 1.45rem, #000 1.5rem);
  mask: radial-gradient(circle, transparent 1.45rem, #000 1.5rem);
}
.em-ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 700 1rem var(--sans);
}
.em-gauge {
  position: relative;
}
.em-gauge .em-ring + .em-gt {
  min-width: 0;
}
.em-gt {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.em-gt span {
  color: #5d6b78;
}
.em-ref {
  font-size: 0.66rem;
}
.em-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}
.em-src {
  padding: 0.5rem 0;
  border-bottom: 1px solid #dde3e8;
}
.em-src:first-child {
  border-top: 1px solid #dde3e8;
}
.em-l {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
}
.em-l span {
  color: #5d6b78;
  text-align: right;
  font-size: 0.7rem;
}
.em-bars {
  margin: 0.3rem 0 0.2rem;
  display: grid;
  gap: 2px;
}
.em-bars span {
  display: block;
  height: 0.32rem;
  border-radius: 2px;
}
.em-out,
.k-out {
  background: #b7c3cc;
}
.em-in,
.k-in {
  background: #1f7a8c;
}
.em-v {
  display: flex;
  justify-content: space-between;
  font: 500 0.68rem/1.3 var(--mono);
  color: #5d6b78;
}
.em-v b {
  color: #17202a;
}
.em-key {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  font-size: 0.66rem;
  color: #5d6b78;
}
.em-key i {
  width: 0.8rem;
  height: 0.32rem;
  border-radius: 2px;
}
.em-key .k-in {
  margin-left: 0.6rem;
}
.em-dir {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.7rem;
  padding: 0.6rem;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.em-dir div {
  display: flex;
  flex-direction: column;
}
.em-dir span {
  color: #5d6b78;
}
.em-c {
  fill: none;
  stroke: #dde3e8;
  stroke-width: 2;
}
.em-w {
  fill: #e0773a;
  opacity: 0.8;
}
.em-dir text {
  font: 600 8px var(--sans);
  fill: #5d6b78;
}
.em-rec {
  margin-top: 0.7rem;
  text-align: center;
  font-size: 0.72rem;
  color: #5d6b78;
}
@media (prefers-reduced-motion: reduce) {
  .cx-caret,
  .hud-mark {
    animation: none;
  }
  .app-cap::before {
    transition: none;
  }
}
/* translations inside the saved page take the page's own grey */
.sv .tr-line {
  color: #6b665b;
}
/* the last child of every block in a screen has no bottom margin */
.app-frame :is(p,
ul,
ol,
dl,
h4):last-child {
  margin-bottom: 0;
}
/* Stop blinking: the caret and the notice light hold still */
.no-motion .cx-caret,
.no-motion .hud-mark {
  animation: none;
}
/* Albert's laptop: GNOME's top bar over a window */
.gn {
  width: 100%;
  background: #241f31;
  font: 400 0.8rem/1.45 var(--sans);
  overflow: hidden;
}
.gn-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.25rem 0.4rem;
  background: #1d1d1d;
  color: #fff;
  font: 600 0.72rem/1.3 var(--sans);
}
/* the workspace indicator: a long pill for the current workspace, a dot for the next */
.gn-ws {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: max-content;
  padding: 0.3rem 0.45rem;
  border-radius: 999px;
  background: #3a3a3a;
}
.gn-ws i {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 999px;
  background: #9a9a9a;
}
.gn-ws i.on {
  width: 1.1rem;
  background: #fff;
}
.gn-clock {
  display: flex;
  gap: 0.9rem;
}
.gn-sys {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #3a3a3a;
}
.gn-sys .ic {
  width: 0.8rem;
  height: 0.8rem;
}
/* ModBench, the modding application: a dark code editor */
.mb {
  background: #1e1f22;
  color: #d6d6d6;
}
.mb-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0.8rem;
  background: #2b2d30;
  border-bottom: 1px solid #393b40;
}
.mb-ic {
  width: 1rem;
  height: 1rem;
  align-self: center;
}
.mb-app {
  font-weight: 600;
  color: #fff;
}
.mb-proj {
  color: #9da0a8;
}
.mb-ver {
  margin-left: auto;
  font: 500 0.7rem/1.3 var(--mono);
  color: #9da0a8;
}
.mb-main {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
}
.mb-tree {
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  border-right: 1px solid #393b40;
  font-size: 0.74rem;
}
.mb-tree li {
  padding: 0.1rem 0.8rem;
}
.mb-dir {
  color: #9da0a8;
}
.mb-file {
  padding-left: 1.6rem !important;
}
.mb-file.on {
  background: #2e436e;
  color: #fff;
}
.mb-tab {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-bottom: 2px solid #3574f0;
  font-size: 0.74rem;
  color: #fff;
}
.cd {
  margin: 0;
  padding: 0.5rem 0;
  max-height: 26rem;
  overflow: auto;
  counter-reset: ln;
  list-style: none;
  font: 400 0.76rem/1.55 var(--mono);
  border-top: 1px solid #393b40;
}
.cd li {
  counter-increment: ln;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
}
.cd li::before {
  content: counter(ln);
  padding-right: 0.9rem;
  text-align: right;
  color: #5d6068;
}
.cd-l {
  white-space: pre;
}
.lu-k {
  color: #cf8e6d;
}
.lu-s {
  color: #6aab73;
}
.lu-n {
  color: #2aacb8;
}
.lu-c {
  color: #7a7e85;
  font-style: italic;
}
.lu-const {
  color: #c77dbb;
}
.mb-status {
  display: flex;
  gap: 1.2rem;
  padding: 0.25rem 0.8rem;
  background: #2b2d30;
  border-top: 1px solid #393b40;
  font-size: 0.7rem;
  color: #9da0a8;
}
@media (max-width: 599px) {
  .mb-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .mb-tree {
    display: none;
  }
}
/* LibreWolf in its dark theme: a black tab strip, the active tab outlined in cyan,
   the toolbar with zoom and the address bar, as on the reader's own screen */
.lw {
  background: #141416;
  color: #fbfbfe;
}
.lw-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.5rem;
  background: #000;
}
.lw-tab .lw-x {
  margin-left: auto;
  color: #c0c0c6;
}
.lw-tab {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  max-width: 17rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid #00ddff;
  border-radius: 0.35rem;
  background: #1c1b22;
  font-size: 0.74rem;
}
.lw-tt {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lw-tool {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.3rem 0.6rem;
  background: #1c1b22;
  border-bottom: 1px solid #2b2a33;
  color: #c0c0c6;
  font-size: 0.74rem;
}
.lw-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.lw-zoom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.5rem;
  border-inline: 1px solid #3a3944;
}
.lw-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.6rem;
  border-radius: 0.35rem;
  background: #000;
  color: #fbfbfe;
}
.lw-url span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lw-fav {
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
}
.lw-url .ic-lock {
  width: 0.8rem;
  height: 0.8rem;
  color: #c0c0c6;
}
.lw-x {
  width: 0.75rem;
  height: 0.75rem;
}
.lw-new,
.lw-menu,
.lw-nav .ic,
.lw-zoom .ic {
  width: 0.9rem;
  height: 0.9rem;
}
.lw-menu {
  margin-left: auto;
}
/* DuckDuckGo in its dark theme */
.dd {
  padding: 0.9rem 1.1rem;
  background: #1c1c1c;
  color: #eee;
}
.dd-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.dd-logo {
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
}
.dd-q {
  flex: 1;
  max-width: 36rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #333;
  font-size: 0.84rem;
}
.dd-q .ic {
  width: 0.95rem;
  height: 0.95rem;
  color: #aaa;
}
.dd-tabs {
  display: flex;
  gap: 1rem;
  margin-top: 0.7rem;
  padding-left: 2.7rem;
  border-bottom: 1px solid #333;
  font-size: 0.78rem;
  color: #ccc;
}
.dd-tabs span {
  padding-bottom: 0.35rem;
}
.dd-tabs .on {
  color: #7295f6;
  font-weight: 600;
  border-bottom: 2px solid #7295f6;
}
.dd-filt {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding: 0.6rem 0 0 2.7rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #ccc;
}
.dd-priv {
  color: #3dbb62;
}
.dd-tog {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
/* the region switch is off: a grey track with the knob on the left */
.dd-sw {
  position: relative;
  width: 1.6rem;
  height: 0.9rem;
  border-radius: 999px;
  background: #555;
}
.dd-sw::before {
  content: "";
  position: absolute;
  top: 0.1rem;
  left: 0.1rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #fff;
}
.dd-res {
  margin: 0;
  padding: 0 0 0 2.7rem;
  list-style: none;
  max-width: 40rem;
}
.dd-res li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-block: 0.8rem;
}
.dd-site {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
}
.dd-site > span {
  display: flex;
  flex-direction: column;
}
.dd-site b {
  font-weight: 400;
  color: #eee;
}
.dd-site span span {
  color: #bbb;
}
.dd-site .lw-fav {
  width: 1.4rem;
  height: 1.4rem;
}
.dd-filt > span {
  display: flex;
  align-items: center;
}
.dd-t {
  font-size: 1.02rem;
  color: #8ab4f8;
}
.dd-s {
  font-size: 0.8rem;
  color: #ddd;
}
/* the openunits.org wiki article */
/* the wiki keeps its own light theme inside the dark browser */
.ow {
  max-height: 34rem;
  overflow: auto;
  padding: 1rem 1.3rem;
  background: #fff;
  color: #202122;
  font: 400 0.86rem/1.55 var(--sans);
}
.ow-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.72rem;
  color: #666;
}
.ow-site {
  font-weight: 700;
  color: #2a5db0;
}
.ow-ed {
  margin-left: auto;
}
.ow-h1 {
  margin: 0.8rem 0 0.5rem;
  font: 400 1.5rem/1.25 var(--serif);
  border-bottom: 1px solid #a2a9b1;
  padding-bottom: 0.2rem;
}
.ow h5 {
  margin: 1.1rem 0 0.3rem;
  font: 600 1.02rem/1.3 var(--sans);
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 0.15rem;
}
.ow h6 {
  margin: 0.8rem 0 0.2rem;
  font: 600 0.88rem/1.3 var(--sans);
}
.ow p,
.ow ul,
.ow ol {
  margin: 0 0 0.6rem;
}
.ow ul,
.ow ol {
  padding-left: 1.3rem;
}
.ow li + li {
  margin-top: 0.25rem;
}
.ow code {
  padding: 0 0.25rem;
  border-radius: 3px;
  background: #f1f2f4;
  font: 500 0.8em var(--mono);
}
.ow-warn {
  padding: 0.6rem 0.8rem 0.6rem 1.8rem;
  border: 1px solid #f0c36d;
  border-left-width: 4px;
  background: #fef6e7;
}
.ow-cmd {
  display: flex;
  flex-direction: column;
  margin: 0.4rem 0 0.6rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #e1e3e6;
  border-radius: 4px;
  background: #f8f9fa;
  overflow-x: auto;
}
.ow .ow-cmd code {
  padding: 0;
  background: none;
  white-space: pre;
}
.ow-t {
  width: 100%;
  margin: 0.4rem 0 0.6rem;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.ow-t th,
.ow-t td {
  padding: 0.3rem 0.5rem;
  border: 1px solid #c8ccd1;
  text-align: left;
  vertical-align: top;
}
.ow-t th {
  background: #eaecf0;
}
.ow-links {
  color: #2a5db0;
}
/* GNOME's window buttons: three round buttons of one size, each glyph drawn in CSS */
.gn-btns {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}
.gn-b {
  position: relative;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: #3a3a3a;
  color: #fff;
}
.gn-b::before,
.gn-b::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
}
.gn-min::before {
  width: 0.55rem;
  height: 0;
  border-top: 1.5px solid currentColor;
  transform: translate(-50%, -50%);
}
.gn-max::before {
  width: 0.5rem;
  height: 0.5rem;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.gn-close::before,
.gn-close::after {
  width: 0.6rem;
  height: 0;
  border-top: 1.5px solid currentColor;
}
.gn-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.gn-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.mb-head .gn-btns {
  align-self: center;
  margin-left: 0.8rem;
}
/* Sizes: fit to content. Windows that scroll inside (the editor, the article, the terminal)
   grow to their whole content, as the phones do */
.fit-size .cd,
.fit-size .ow,
.fit-size .tm-body {
  max-height: none;
}
/* GNOME Console: a dark terminal under a header bar, with tabs when there are two */
.tm {
  background: #1e1e1e;
  color: #deddda;
}
.tm-head {
  display: flex;
  align-items: center;
  padding: 0.35rem 0.6rem;
  background: #2e2e32;
  border-bottom: 1px solid #1b1b1d;
}
.tm-title {
  flex: 1;
  text-align: center;
  font-weight: 600;
  font-size: 0.78rem;
  color: #fff;
}
.tm-head .gn-btns {
  margin-left: 0;
}
.tm-tabs {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.5rem;
  background: #2a2a2e;
  font-size: 0.72rem;
}
.tm-tab {
  flex: 1;
  padding: 0.25rem 0.6rem;
  border-radius: 0.35rem;
  text-align: center;
  color: #9a9996;
}
.tm-tab.on {
  background: #3d3d42;
  color: #fff;
}
.tm-tabs .ic {
  width: 0.85rem;
  height: 0.85rem;
  color: #c0bfbc;
}
.tm-body {
  max-height: 26rem;
  overflow: auto;
  padding: 0.6rem 0.8rem;
  font: 400 0.76rem/1.5 var(--mono);
}
.tm-l {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* a line with aligned columns keeps its width and scrolls with the terminal, so a
   header and its rows stay in line on a narrow screen */
.tm-l.tm-nw {
  white-space: pre;
  overflow-wrap: normal;
}
.tm-p {
  color: #33d17a;
  font-weight: 600;
}
.tm-unit {
  color: #f6d32d;
}
.tm-d {
  color: #62a0ea;
  font-weight: 600;
}
.tm-cur {
  display: inline-block;
  width: 0.5rem;
  height: 1em;
  vertical-align: -0.15em;
  background: #deddda;
  animation: caret 1s steps(1) infinite;
}
.no-motion .tm-cur {
  animation: none;
}
/* Disk Usage Analyzer in GNOME's own design: a header bar over a boxed list with rounded rows */
.bb {
  background: #fafafb;
  color: #2e3436;
}
.bb-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  background: #ebebed;
  border-bottom: 1px solid #d5d5d9;
}
.bb-title {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 0.82rem;
}
.bb-btn {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.4rem;
}
.bb-btn .ic {
  width: 0.9rem;
  height: 0.9rem;
}
.bb-head .gn-btns {
  margin-left: 0.3rem;
}
.bb-head .gn-b {
  background: #dadadc;
  color: #2e3436;
}
.bb-main {
  display: flex;
  justify-content: center;
  padding: 1.6rem 1rem;
}
.bb-list {
  width: min(100%, 32rem);
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.1);
}
.bb-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
}
.bb-row + .bb-row {
  border-top: 1px solid #ebebed;
}
.bb-ic {
  width: 2rem;
  height: 2rem;
}
.bb-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}
.bb-t b {
  font-size: 0.86rem;
}
.bb-t span {
  color: #6e6e73;
}
.bb-bar {
  display: block;
  height: 0.35rem;
  margin-top: 0.3rem;
  border-radius: 999px;
  background: #e0e0e3;
  overflow: hidden;
}
.bb-bar i {
  display: block;
  height: 100%;
  background: #3584e4;
}
.bb-size {
  font-size: 0.78rem;
  color: #6e6e73;
  white-space: nowrap;
}
.bb-go {
  width: 0.8rem;
  height: 0.8rem;
  color: #9a9996;
}
/* Albert's phone browser: the address bar over the page, which scrolls */
.mb-phone {
  background: #fff;
  color: #1d1d1f;
}
/* the status bar takes the page's own white, so it blends in with the browser */
.mb-phone .ph-bar {
  background: #fff;
  color: #1d1d1f;
}
.mp-url {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0.6rem 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #e6e6ea;
  font-size: 0.7rem;
}
.mp-url span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-url .ic {
  width: 0.75rem;
  height: 0.75rem;
  color: #5e5c64;
}
.mp-page {
  flex: 1;
  overflow: auto;
  font-size: 0.8rem;
  line-height: 1.5;
}
/* the wiki inside the phone scrolls with the page */
.ow.ow-m {
  max-height: none;
  padding: 0.8rem 0.9rem;
  font-size: 0.8rem;
}
.ow-m .ow-h1 {
  font-size: 1.2rem;
}
.ow-m .ow-ed {
  margin-left: 0;
}
/* Cygurna Mycteria's newsroom */
.cmn {
  padding: 0.9rem 1rem;
}
.cmn-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #0f6b62;
}
.cmn-logo {
  width: 1.4rem;
  height: 1.4rem;
  color: #0f6b62;
}
.cmn-head > span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.cmn-head .ic {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  color: #3d4847;
}
.cmn-head .cmn-s {
  margin-left: auto;
}
.cmn-head span span {
  font-size: 0.68rem;
  color: #5e6b6a;
}
.cmn-kicker {
  margin-top: 0.8rem;
  font: 600 0.66rem/1.3 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f6b62;
}
.cmn-h {
  margin: 0.2rem 0 0.3rem;
  font: 700 1.1rem/1.25 var(--sans);
}
.cmn-date {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 0.7rem;
  font-size: 0.7rem;
  color: #5e6b6a;
}
.cmn p + p {
  margin-top: 0.5rem;
}
.cmn-q {
  margin: 0.5rem 0;
  padding: 0.5rem 0.7rem;
  border-left: 3px solid #0f6b62;
  background: #eef6f5;
  font-style: italic;
}
.cmn-contact {
  color: #5e6b6a;
}
.cmn-discuss {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.7rem;
  border: 1px solid #c7dedb;
  border-radius: 0.4rem;
}
.cmn-link {
  color: #0f6b62;
  font-weight: 600;
  text-decoration: underline;
}
.cmn-host {
  font-size: 0.68rem;
  color: #5e6b6a;
}
.cmn-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
  margin-top: 1rem;
  padding-top: 0.6rem;
  border-top: 1px solid #e3e8e7;
  font-size: 0.66rem;
  color: #5e6b6a;
}
/* the Cygurna Community forum, a Discourse site */
.dc {
  padding: 0.7rem 0.8rem;
  background: #fff;
}
/* the site header stays at the top of the page while it scrolls, as on Discourse's mobile layout */
.dc-site {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: -0.7rem -0.8rem 0;
  padding: 0.6rem 0.8rem;
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
}
/* further down a topic the header carries the topic title */
.dc-tt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  line-height: 1.3;
}
.dc-tt b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dc-tt .dc-badge {
  font-size: 0.64rem;
  color: #646464;
}
/* the progress button at the bottom: where the reader is in the topic */
.dc-prog {
  position: sticky;
  bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: max-content;
  margin: 0.4rem 0 0 auto;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px #e1e1e1, 0 2px 6px rgba(0, 0, 0, 0.12);
  font-size: 0.7rem;
  color: #222;
}
.dc-prog .ic {
  width: 0.7rem;
  height: 0.7rem;
  transform: rotate(-90deg);
}
.dc-site .ic {
  width: 1rem;
  height: 1rem;
  color: #0f6b62;
}
.dc-site .dc-s {
  margin-left: auto;
}
.dc-site .ic-menu,
.dc-site .dc-s {
  color: #646464;
}
.dc-title {
  margin: 0.6rem 0 0.3rem;
  font: 600 1rem/1.3 var(--sans);
}
.dc-cat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  color: #646464;
}
.dc-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.dc-badge::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  background: #0f6b62;
}
.dc-topic + .dc-post {
  border-top: 0;
}
.dc-post {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.6rem;
  padding-block: 0.7rem;
  border-top: 1px solid #e9e9e9;
}
.dc-post:last-of-type {
  padding-bottom: 0;
}
.dc-av {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  text-align: center;
}
.dc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.5rem;
  font-size: 0.74rem;
}
.dc-staff {
  padding: 0 0.35rem;
  border-radius: 3px;
  background: #e1f0ee;
  color: #0f6b62;
  font-size: 0.64rem;
  font-weight: 600;
}
.dc-date {
  margin-left: auto;
  color: #919191;
  font-size: 0.68rem;
}
.dc-body p + p {
  margin-top: 0.4rem;
}
.dc-body .tr-line {
  color: #6b6b6b;
}
.dc-acts {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: #919191;
}
.dc-like {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.dc-like .ic {
  width: 0.8rem;
  height: 0.8rem;
}
/* the meme: four panels, each a drawing with its caption */
.meme {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin: 0.5rem 0 0;
  background: #222;
  border: 2px solid #222;
}
.meme-p {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.4rem;
  background: #fff;
  text-align: center;
}
.meme-p .icc {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}
.meme-p figcaption {
  margin-top: 0.3rem;
  font: 800 0.62rem/1.25 var(--sans);
  text-transform: uppercase;
}
.meme-stork {
  width: 60%;
  height: auto;
  aspect-ratio: 1;
  color: #0f6b62;
}
.meme-red {
  background: #b3261e;
  color: #f2d36b;
}
.meme-row {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.3rem;
}
.meme-row .icc {
  width: 1.4rem;
  height: 1.4rem;
  aspect-ratio: 1;
}
.meme-prev {
  font-size: 0.56rem;
  font-style: italic;
  color: #6b6b6b;
}
/* Wikipedia's mobile site */
.wp {
  padding: 0.6rem 0.9rem;
  font-family: var(--sans);
}
.wp-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #c8ccd1;
}
.wp-head b {
  flex: 1;
  font: 400 1rem/1 var(--serif);
  letter-spacing: 0.04em;
}
.wp-head .ic {
  width: 0.95rem;
  height: 0.95rem;
  color: #54595d;
}
.wp-h {
  margin: 0.7rem 0 0.1rem;
  font: 400 1.4rem/1.2 var(--serif);
}
.wp-sub {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #eaecf0;
  font-size: 0.7rem;
  color: #3366cc;
}
.wp-sub .on {
  color: #202122;
}
.wp ul {
  margin: 0.5rem 0;
  padding-left: 1.1rem;
}
.wp li + li {
  margin-top: 0.25rem;
}
.wp-more {
  font-size: 0.72rem;
  color: #54595d;
}
.wp-more span {
  color: #3366cc;
}
/* Circuit Ledger, a technology magazine */
.cl {
  padding: 0.8rem 0.9rem;
}
.cl-mast {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.4rem;
  border-bottom: 3px solid #111;
}
.cl-mast b {
  font: 800 1rem/1 var(--serif);
}
.cl-mast span {
  font: 600 0.62rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b3261e;
}
.cl-h {
  margin: 0.7rem 0 0.3rem;
  font: 800 1.35rem/1.15 var(--serif);
}
.cl-st {
  font: italic 400 0.86rem/1.4 var(--serif);
  color: #444;
}
.cl-date {
  margin: 0.4rem 0 0.7rem;
  font-size: 0.68rem;
  color: #777;
}
.cl h5 {
  margin: 0.8rem 0 0.2rem;
  font: 700 0.86rem/1.3 var(--sans);
}
.cl p + p {
  margin-top: 0.5rem;
}
.cl ul {
  margin: 0.4rem 0;
  padding-left: 1.1rem;
}
.cl li + li {
  margin-top: 0.3rem;
}
/* GNOME apps follow the system style: dark with the dark theme, light with the light theme.
   The shell's top bar stays dark in both, as in GNOME */
.bb {
  background: #222226;
  color: #fff;
}
.bb-head {
  background: #2e2e32;
  border-bottom-color: #1b1b1d;
}
.bb-head .gn-b {
  background: #3a3a3e;
  color: #fff;
}
.bb-list {
  background: #36363a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.bb-row + .bb-row {
  border-top-color: #2b2b2f;
}
.bb-t span,
.bb-size {
  color: #c0bfbc;
}
.bb-bar {
  background: #4a4a4f;
}
:root[data-theme="light"] .bb {
  background: #fafafb;
  color: #2e3436;
}
:root[data-theme="light"] .bb-head {
  background: #ebebed;
  border-bottom-color: #d5d5d9;
}
:root[data-theme="light"] .bb-head .gn-b {
  background: #dadadc;
  color: #2e3436;
}
:root[data-theme="light"] .bb-list {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.1);
}
:root[data-theme="light"] .bb-row + .bb-row {
  border-top-color: #ebebed;
}
:root[data-theme="light"] .bb-t span,
:root[data-theme="light"] .bb-size {
  color: #6e6e73;
}
:root[data-theme="light"] .bb-bar {
  background: #e0e0e3;
}
:root[data-theme="light"] .tm {
  background: #fff;
  color: #241f31;
}
:root[data-theme="light"] .tm-head {
  background: #ebebed;
  border-bottom-color: #d5d5d9;
}
:root[data-theme="light"] .tm-title {
  color: #241f31;
}
:root[data-theme="light"] .tm-head .gn-b {
  background: #dadadc;
  color: #241f31;
}
:root[data-theme="light"] .tm-tabs {
  background: #e3e3e6;
}
:root[data-theme="light"] .tm-tab {
  color: #5e5c64;
}
:root[data-theme="light"] .tm-tab.on {
  background: #fff;
  color: #241f31;
}
:root[data-theme="light"] .tm-tabs .ic {
  color: #5e5c64;
}
:root[data-theme="light"] .tm-p {
  color: #26a269;
}
:root[data-theme="light"] .tm-unit {
  color: #c64600;
}
:root[data-theme="light"] .tm-d {
  color: #1a5fb4;
}
:root[data-theme="light"] .tm-cur {
  background: #241f31;
}
/* LibreWolf and DuckDuckGo follow the system style too */
:root[data-theme="light"] .lw {
  background: #f9f9fb;
  color: #15141a;
}
:root[data-theme="light"] .lw-tabs {
  background: #f0f0f4;
}
:root[data-theme="light"] .lw-tab {
  background: #fff;
  border-color: #0061e0;
}
:root[data-theme="light"] .lw-tab .lw-x,
:root[data-theme="light"] .lw-tool {
  color: #5b5b66;
}
:root[data-theme="light"] .lw-new {
  color: #15141a;
}
:root[data-theme="light"] .lw .gn-b {
  background: #e0e0e6;
  color: #15141a;
}
:root[data-theme="light"] .lw-tool {
  background: #f9f9fb;
  border-bottom-color: #e0e0e6;
}
:root[data-theme="light"] .lw-zoom {
  border-inline-color: #d7d7db;
}
:root[data-theme="light"] .lw-url {
  background: #f0f0f4;
  color: #15141a;
}
:root[data-theme="light"] .lw-url .ic-lock {
  color: #5b5b66;
}
:root[data-theme="light"] .dd {
  background: #fff;
  color: #222;
}
:root[data-theme="light"] .dd-q {
  background: #f2f2f2;
}
:root[data-theme="light"] .dd-tabs {
  border-bottom-color: #e5e5e5;
  color: #555;
}
:root[data-theme="light"] .dd-tabs .on {
  color: #3969ef;
  border-bottom-color: #3969ef;
}
:root[data-theme="light"] .dd-filt {
  color: #555;
}
:root[data-theme="light"] .dd-priv {
  color: #2d8a4e;
}
:root[data-theme="light"] .dd-sw {
  background: #ccc;
}
:root[data-theme="light"] .dd-site b {
  color: #222;
}
:root[data-theme="light"] .dd-site span span {
  color: #666;
}
:root[data-theme="light"] .dd-t {
  color: #1a0dab;
}
:root[data-theme="light"] .dd-s {
  color: #494949;
}
/* the poster on the shop door: printed paper under laminate, held by tape */
.app-poster > .app-frame,
.app-core > .app-frame,
.app-labels > .app-frame,
.app-booklet > .app-frame {
  display: flex;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}
.pst {
  position: relative;
  width: min(100%, 50rem);
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 40%), #fbf8f1;
  color: #1d1b17;
  font: 400 0.84rem/1.45 var(--sans);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.pst::before,
.pst::after {
  content: "";
  position: absolute;
  top: -0.5rem;
  width: 3.5rem;
  height: 1.1rem;
  background: rgba(240, 232, 200, 0.75);
}
.pst::before {
  left: 1.2rem;
  transform: rotate(-4deg);
}
.pst::after {
  right: 1.2rem;
  transform: rotate(5deg);
}
.pst-head {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.8rem;
  background: #b3261e;
  color: #fff;
}
.pst-head b {
  font: 800 1.05rem/1.2 var(--sans);
  letter-spacing: 0.06em;
}
.pst-head span {
  font-size: 0.82rem;
}
.pst-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}
@media (max-width: 599px) {
  .pst-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}
.pst-box {
  padding: 0.7rem;
  border: 2px solid #1d1b17;
}
.pst-box h4 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.4rem;
  font: 800 0.9rem/1.2 var(--sans);
  text-transform: uppercase;
}
.pst-box .icc {
  width: 1.1rem;
  height: 1.1rem;
}
.pst-sub {
  margin-bottom: 0.4rem;
  font-size: 0.74rem;
  font-style: italic;
}
.pst-box ul {
  margin: 0;
  padding-left: 1.1rem;
}
.pst-box li + li {
  margin-top: 0.2rem;
}
.pst-worst {
  margin-top: 0.5rem;
  font-weight: 700;
  color: #b3261e;
}
.pst-foot {
  margin-top: 0.8rem;
  text-align: center;
  font-weight: 600;
}
/* the base of the core: a circle of spun steel with two plates riveted inside it; the plates sit in
   the square that fits inside the circle, and their type scales with the circle's width */
/* the size button: zoomed fits the base to the page, real size draws it 15 cm across */
.app-core > .app-frame {
  position: relative;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
}
/* the size button sits in the top right corner, beside the circle, not on a row of its own */
.core-size {
  position: absolute;
  top: var(--s);
  right: 0;
  z-index: 1;
  background: var(--bg);
}
@media (max-width: 599px) {
  .core-size {
    top: 0;
    padding: 0.2rem 0.45rem;
    font-size: 0.7rem;
  }
}
.core.core-real {
  flex: none;
  max-width: none;
}
/* the calibration: a box the size of a bank card, and buttons to match it */
.core-cal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--ink-2);
  text-align: center;
}
.core-card {
  display: grid;
  place-items: center;
  border: 2px dashed var(--ink-2);
  border-radius: 3mm;
  font: 500 0.75rem var(--mono);
  color: var(--mute);
}
.core-cal-btns {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.core-cal-btns output {
  min-width: 8rem;
  font: 500 0.75rem var(--mono);
}
.core {
  box-sizing: border-box;
  width: min(100%, 52rem);
  height: auto;
  aspect-ratio: 1 / 1;
  container-type: inline-size;
  min-height: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(255, 255, 255, 0.12) 0 1px, rgba(0, 0, 0, 0.05) 1px 3px),
    radial-gradient(circle, #c3c7cb 0 55%, #a4a9ae 100%);
  color: #1c1e20;
  font: 400 0.8rem/1.35 var(--sans);
  box-shadow: inset 0 0 0 0.4rem #8c9196, inset 0 0 0 0.52rem #6f757b, 0 2px 8px rgba(0, 0, 0, 0.35);
}
/* the square that fits inside the circle: 70.7 percent of its width */
.core-in {
  width: 70.7%;
}
.core-id {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em 0.9em;
  margin: 0 0 0.7em;
  font: 700 clamp(0.5rem, 1.6cqi, 0.82rem)/1.3 var(--mono);
  letter-spacing: 0.06em;
}
.core-id b {
  margin-right: auto;
}
.core-plates {
  font-size: clamp(0.5rem, 1.75cqi, 0.88rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6em;
}
.core-plate {
  position: relative;
  padding: 0.6em 0.7em;
  border: 2px solid #1c1e20;
  border-radius: 3px;
  background: #f4d23c;
}
/* a rivet in each top corner */
.core-plate::before,
.core-plate::after {
  content: "";
  position: absolute;
  top: 0.3em;
  width: 0.35em;
  height: 0.35em;
  border-radius: 50%;
  background: #8c9196;
}
.core-plate::before {
  left: 0.3em;
}
.core-plate::after {
  right: 0.3em;
}
.core-plate h4 {
  display: flex;
  align-items: center;
  gap: 0.35em;
  margin: 0 0 0.35em;
  font: 800 1em/1.2 var(--sans);
}
.core-plate .ic {
  width: 1.3em;
  height: 1.3em;
}
.core-plate ul {
  margin: 0;
  padding-left: 1em;
}
/* five labels on the counter, each made like its part */
/* the labels in a grid: the two larger ones side by side on the first row, the three smaller ones
   on the second; on a narrow screen, one column */
.lbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
  width: 100%;
  font: 400 0.78rem/1.45 var(--sans);
}
.lb {
  position: relative;
  padding: 0.7rem 0.8rem;
}
.lb-mag,
.lb-smoke {
  grid-column: span 3;
}
.lb-cap,
.lb-laser,
.lb-ink {
  grid-column: span 2;
}
@media (max-width: 699px) {
  .lbs {
    grid-template-columns: minmax(0, 1fr);
  }
  .lb-mag,
  .lb-smoke,
  .lb-cap,
  .lb-laser,
  .lb-ink {
    grid-column: auto;
  }
}
.lb p + p {
  margin-top: 0.35rem;
}
.lb-name {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.9rem;
  font: 600 0.7rem/1.3 var(--mono);
}
.lb-w {
  display: flex;
  gap: 0.45rem;
}
.lb-w .icc,
.lb-w .ic {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
}
/* the magnetron: a silver foil sticker */
.lb-mag {
  border-radius: 3px;
  background: linear-gradient(120deg, #e6e8ea, #c4c8cc 50%, #e9ebed);
  color: #1c1e20;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
/* the smoke alarm: white plastic, text moulded and printed in grey */
.lb-smoke {
  border-radius: 1rem;
  background: #f7f7f4;
  color: #3a3a38;
  box-shadow: inset 0 0 0 2px #e2e2dc, 0 1px 3px rgba(0, 0, 0, 0.35);
}
/* the flash capacitor: black heat-shrink sleeve, white print */
.lb-cap {
  border-radius: 1.4rem;
  background: linear-gradient(180deg, #2b2b2b, #111 60%, #2b2b2b);
  color: #f2f2f2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
/* the laser module: the yellow and black label laser products carry */
.lb-laser {
  padding: 0.6rem 0.8rem 0.75rem;
  background: #f6c42b;
  color: #111;
  box-shadow: inset 0 0 0 0.25rem #f6c42b, inset 0 0 0 calc(0.25rem + 2px) #111;
}
.lb-laser {
  display: flex;
  flex-direction: column;
}
.lb-laser > .lb-name {
  margin-top: auto;
  padding-top: 0.5rem;
}
.lb-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: -0.15rem -0.35rem 0.5rem;
  padding: 0.3rem 0.5rem;
  background: #111;
  color: #f6c42b;
  font-size: 0.86rem;
}
.lb-head .icc {
  width: 1.3rem;
  height: 1.3rem;
}
/* the ink cartridge: a printed paper label beside its gold chip */
.lb-ink {
  padding-right: 3rem;
  border-radius: 2px;
  background: #fff;
  color: #222;
  border-left: 0.5rem solid #1f1f1f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.lb-chip {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 1.6rem;
  height: 1.2rem;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #d4a536 0 3px, #b7871f 3px 4px);
  outline: 2px solid #c0392b;
  outline-offset: 3px;
}
/* the booklet page: thin paper, serif type, a running head and a page number */
.bk {
  width: min(100%, 26rem);
  padding: 1.2rem 1.4rem;
  background: #fdfcf9;
  color: #1d1d1b;
  font: 400 0.86rem/1.5 var(--serif);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35), 6px 0 0 -2px #ecebe6, 6px 0 2px -1px rgba(0, 0, 0, 0.2);
}
.bk-run {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #c9c7c0;
  font: 500 0.66rem/1.3 var(--sans);
  color: #6a6862;
}
.bk-sec {
  margin-left: auto;
}
.bk-run .ic {
  width: 0.9rem;
  height: 0.9rem;
}
.bk-h {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.8rem 0 0.5rem;
  font: 800 0.9rem/1.3 var(--sans);
}
.bk-h .icc {
  width: 1.3rem;
  height: 1.3rem;
}
.bk ul {
  margin: 0;
  padding-left: 1.1rem;
}
.bk li + li {
  margin-top: 0.4rem;
}
.bk-n {
  margin-top: 1rem;
  text-align: center;
  font: 500 0.7rem/1 var(--sans);
  color: #6a6862;
}
/* Desktop view for phone screens: one toggle for every phone, at every width; it widens the
   phone to the page and lets its screen grow to its content */
.app-frame:has(> .phone) {
  position: relative;
  flex-direction: column;
  align-items: center;
}
/* below 600 px the button sits above the phone, in the flow; from 600 px, beside it */
.phone-view {
  display: flex;
  align-self: flex-end;
  margin-bottom: var(--xs);
}
@media (min-width: 600px) {
  .phone-view {
    position: absolute;
    top: calc(var(--s) - 0.2rem);
    right: 0;
    z-index: 1;
    margin: 0;
    background: var(--bg);
  }
  .phone.phone-wide {
    margin-top: 3rem;
  }
}
.phone.phone-wide {
  width: 100%;
  aspect-ratio: auto;
  border-width: 6px;
  border-radius: 1rem;
}
.phone.phone-wide .ph-body {
  overflow: visible;
}
.phone.phone-wide .mp-page {
  flex: none;
}
.phone.phone-wide .cx-keys {
  max-width: 24rem;
  width: 100%;
  align-self: center;
}
/* a step of the unlock article, folded under the screen where Albert follows it */
.ref {
  margin-block: var(--xs) var(--s);
  border: 1px solid var(--rule);
}
.ref-cap {
  padding: 0.4rem 0.7rem;
  font: 500 0.76rem/1.3 var(--mono);
  color: var(--mute);
  cursor: pointer;
}
.ref[open] > .ref-cap {
  border-bottom: 1px solid var(--rule);
}
.ref-body.ow {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: none;
}
.ref-body.ow > * {
  margin-block: 0;
}
/* the WAN module's label: a small white sticker on a green card */
.mlb {
  width: min(100%, 20rem);
  padding: 0.8rem 0.9rem;
  border-radius: 4px;
  background: #f7f7f2;
  color: #1d1d1b;
  font: 400 0.76rem/1.45 var(--sans);
  box-shadow: 0 0 0 0.6rem #2f6b3a, 0 2px 8px rgba(0, 0, 0, 0.4);
  margin: 0.6rem;
}
.mlb-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem 0.5rem;
  padding-bottom: 0.3rem;
  margin-bottom: 0.3rem;
  border-bottom: 1px solid #c9c9c0;
}
.mlb-brand .ic {
  width: 1rem;
  height: 1rem;
}
.mlb-id {
  font: 500 0.72rem/1.4 var(--mono);
}
.mlb-w {
  margin-top: 0.3rem;
  font-weight: 700;
}
.app-modem > .app-frame {
  display: flex;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}
/* a page inside LibreWolf on the laptop: scrolls inside the window */
.lw-page {
  max-height: 34rem;
  overflow: auto;
  background: #fff;
  color: #1d1d1f;
  font-size: 0.84rem;
  line-height: 1.5;
}
.fit-size .lw-page {
  max-height: none;
}
.dc.dc-wide {
  padding: 0.8rem 1.2rem;
}
.dc-wide .dc-site {
  margin: -0.8rem -1.2rem 0;
  padding: 0.6rem 1.2rem;
}
.ow.ow-page {
  max-height: none;
}
.cmn.cmn-page {
  padding: 1rem 1.3rem;
}
.cmn-page h5 {
  margin: 1rem 0 0.3rem;
  font: 700 0.9rem/1.3 var(--sans);
}
.cmn-page ul,
.cmn-page ol {
  margin: 0.3rem 0;
  padding-left: 1.2rem;
}
.cmn-page li + li {
  margin-top: 0.25rem;
}
/* the openunits forum: the same Discourse layout, in the wiki's blue */
.ou-site .icc {
  width: 1rem;
  height: 1rem;
}
.ou-badge::before {
  background: #2a5db0 !important;
}
.dc-sol {
  padding: 0 0.35rem;
  border-radius: 3px;
  background: #e3f4e5;
  color: #2e7d32;
  font-size: 0.64rem;
  font-weight: 600;
}
.dc-body code {
  padding: 0 0.2rem;
  border-radius: 3px;
  background: #f1f2f4;
  font: 500 0.85em var(--mono);
}
.dc-cmd {
  display: flex;
  flex-direction: column;
  margin: 0.4rem 0;
  padding: 0.5rem 0.6rem;
  border-radius: 4px;
  background: #f6f7f8;
  border: 1px solid #e1e3e6;
  overflow-x: auto;
}
.dc-body .dc-cmd code {
  padding: 0;
  background: none;
  white-space: pre;
}
.dc-body ol {
  margin: 0.4rem 0;
  padding-left: 1.3rem;
}
.dc-body li + li {
  margin-top: 0.25rem;
}
/* the rant's screenshots: small grey windows with captions, in order */
.dc-body ol.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0;
  list-style: none;
  counter-reset: shot;
}
.shots li {
  counter-increment: shot;
  margin: 0 !important;
  font-size: 0.66rem;
  line-height: 1.3;
}
/* a screenshot from the capture card: the I series service desktop, its top bar
   and the one window on it, scaled with the thumbnail (container units) */
.shot {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 10;
  margin-bottom: 0.25rem;
  overflow: hidden;
  border-radius: 2px;
  background: #1f3f8f;
  color: #1d2733;
  font-family: var(--sans);
}
.shot-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6cqi 3cqi;
  background: #142c66;
  color: #dfe6f5;
  font-size: 4.6cqi;
  line-height: 1.2;
}
.shot-bar > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 1.5cqi;
}
.shot-bar .ic {
  width: 4.6cqi;
  height: 4.6cqi;
}
.shot-win {
  display: flex;
  flex-direction: column;
  gap: 1.8cqi;
  margin: auto 8cqi;
  padding: 3cqi 4cqi;
  border-radius: 1.5cqi;
  background: #f3f4f6;
  box-shadow: 0 1cqi 3cqi rgb(0 0 0 / 0.35);
}
.shot-t {
  font-size: 5.6cqi;
  font-weight: 600;
  line-height: 1.2;
}
.shot-x {
  font-size: 4.4cqi;
  line-height: 1.35;
  color: #3a4554;
}
.shot-box {
  display: inline-block;
  width: 3.6cqi;
  height: 3.6cqi;
  margin-right: 1cqi;
  vertical-align: -0.4cqi;
  border-radius: 0.6cqi;
  background: #2f5bd0;
}
.shot-bs {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.6cqi;
}
.shot-c {
  margin-right: auto;
  font-size: 4.4cqi;
  line-height: 1.3;
}
.shot-b {
  padding: 0.8cqi 2.6cqi;
  border: 1px solid #b9c0cc;
  border-radius: 1cqi;
  background: #fff;
  font-size: 4.4cqi;
  line-height: 1.3;
}
.shot-b.on {
  outline: 0.6cqi solid #2f5bd0;
  outline-offset: 0.4cqi;
}
.shot-b.off {
  color: #9aa3ad;
}
.shot-cap::before {
  content: counter(shot) ". ";
  font-weight: 700;
}
/* ---- chapter 7: Calder's slides on the auditorium projector ----
   a 16:9 slide in the department's light template, whatever the reader's theme,
   since it is what the projector shows. Every slide has the same band on top,
   in its topic's accent (--ac), the same paddings and the same footer; the lettering grows with the slide
   (container units) */
.app-slide > .app-frame,
.app-video > .app-frame {
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}
.sl {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 9;
  max-width: none;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 4px;
  /* the band is painted in the slide's own background, so no light edge shows at the
     rounded corners: 1.6% of the width is 2.8444% of a 16:9 height */
  background: linear-gradient(var(--ac) 0 2.8444%, #fbfbf9 0);
  color: #1d2733;
  font-family: var(--sans);
}
.sl-navy {
  --ac: #1f3a5f;
}
.sl-teal {
  --ac: #1c6e74;
}
.sl-maroon {
  --ac: #8c2f39;
}
.sl-green {
  --ac: #2f6b3a;
}
.sl-purple {
  --ac: #6a4c93;
}
.sl-amber {
  --ac: #9a5b12;
}
.sl-indigo {
  --ac: #3b4a9a;
}
.sl-plum {
  --ac: #7a3f74;
}
.sl-red {
  --ac: #b3362f;
}
.sl::before {
  content: "";
  flex: none;
  height: 1.6cqi;
}
/* like LibreOffice Impress, the text box shrinks to fit the slide while the
   title keeps the same size on every slide: js/r174/core.js lowers --fit until
   the text (.sl-in) fits inside the body's padding, so a slide never scrolls
   and its text never reaches the edge */
.sl-body {
  --fit: 1;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 4cqi 6cqi;
}
.sl-t {
  display: flex;
  align-items: center;
  gap: 1.6cqi;
  margin: 0 0 3cqi;
  font-size: 4.4cqi;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ac);
}
.sl-l {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: calc(2.6cqi * var(--fit));
  line-height: 1.45;
}
.sl-l li {
  position: relative;
  margin: 0 0 calc(1.2cqi * var(--fit));
  padding-left: 3cqi;
}
.sl-l li:last-child {
  margin-bottom: 0;
}
.sl-l li::before {
  content: "";
  position: absolute;
  left: 0.4cqi;
  top: 0.6em;
  width: 1cqi;
  height: 1cqi;
  border-radius: 50%;
  background: var(--ac);
}
.sl-l li.sl-pro::before,
.sl-l li.sl-con::before {
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-weight: 700;
}
.sl-l li.sl-pro::before {
  content: "+";
  color: #1d7a45;
}
.sl-l li.sl-con::before {
  content: "\2212";
  color: #b3362f;
}
.sl-l b {
  font-weight: 600;
}
.sl-foot {
  display: flex;
  gap: 3cqi;
  padding: 1.2cqi 6cqi;
  border-top: 1px solid #dde1e7;
  font-size: 1.6cqi;
  color: #5b6675;
}
.sl-foot span:last-child {
  margin-left: auto;
}
/* the title slide: the same frame, its text centered in the height */
.sl-first .sl-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sl-in > :last-child {
  margin-bottom: 0;
}
.sl-first .sl-t {
  margin-bottom: 2cqi;
  font-size: 6cqi;
}
.sl-sub {
  margin: 0 0 calc(1cqi * var(--fit));
  font-size: calc(3cqi * var(--fit));
  color: #3a4a5e;
}
/* the classifier's instruction, shown as it is written: all capitals and long,
   in a mono face, under a title in the red of a warning */
.sl-warn .sl-t .icc {
  flex: none;
  width: 4.4cqi;
  height: 4.4cqi;
}
.sl-wtext {
  font: 500 calc(1.8cqi * var(--fit))/1.5 var(--mono);
  letter-spacing: 0.02em;
}
.sl-wtext p {
  margin: 0 0 calc(1.4cqi * var(--fit));
}
.sl-wtext p:last-child {
  margin-bottom: 0;
}
/* ---- chapter 7: the documentary, paused on its last frame, captions on,
   with its transcript under the video, beside it (from 44rem of width), or
   alone; the switch in the transcript's header is shown by js/r174/core.js. The transcript's
   text keeps its size in every layout ---- */
.vp-wrap {
  container-type: inline-size;
}
.vp-tools {
  display: inline-flex;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid #3a3f48;
  border-radius: 4px;
}
.vp-tools[hidden] {
  display: none;
}
.vp-lay {
  padding: 0.15rem 0.55rem;
  border: 0;
  border-left: 1px solid #3a3f48;
  background: transparent;
  color: #b9c2cc;
  font: 500 0.75rem var(--sans);
  cursor: pointer;
}
.vp-lay:first-child {
  border-left: 0;
}
.vp-lay[aria-pressed="true"] {
  background: #e6e8eb;
  color: #111317;
}
@container (max-width: 44rem) {
  .vp-lay-side {
    display: none;
  }
  .vp[data-layout="beside"] {
    display: block;
  }
  .vp-wrap:has(.vp[data-layout="beside"]) .vp-lay[data-lay="below"] {
    background: #e6e8eb;
    color: #111317;
  }
}
.vp {
  max-width: 48rem;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 6px;
  background: #111317;
  color: #e6e8eb;
  font-family: var(--sans);
}
.vp-frame {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 50% 40%, #2a2f38, #07080a 70%);
  text-align: center;
}
.vp-card {
  margin: 0;
  font-family: var(--serif);
  font-size: 5cqi;
  letter-spacing: 0.04em;
}
.vp-maker {
  margin: 1.2cqi 0 0;
  font-size: 1.8cqi;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa3ad;
}
.vp-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.8rem;
  background: #1b1e24;
  font: 500 0.72rem var(--mono);
}
.vp-bar .ic {
  width: 0.9rem;
  height: 0.9rem;
}
.vp-prog {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #e04f45;
}
.vp-cc {
  padding: 0 0.3rem;
  border: 1px solid #e6e8eb;
  border-radius: 2px;
  font-size: 0.62rem;
}
.vp-trans {
  max-height: 26rem;
  overflow-y: auto;
  border-top: 1px solid #262a31;
}
/* beside: the video and its bar on the left, the transcript on the right as
   tall as they are, scrolling */
@container (min-width: 44.01rem) {
  .vp[data-layout="beside"] {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 1fr);
    grid-template-rows: auto auto;
    max-width: none;
  }
  .vp[data-layout="beside"] .vp-frame,
  .vp[data-layout="beside"] .vp-bar {
    grid-column: 1;
  }
  .vp[data-layout="beside"] .vp-trans {
    grid-column: 2;
    grid-row: 1 / span 2;
    height: 0;
    min-height: 100%;
    max-height: none;
    border-top: 0;
    border-left: 1px solid #262a31;
  }
}
/* transcript only: the player is folded away, and the whole transcript shows */
.vp[data-layout="only"] .vp-frame,
.vp[data-layout="only"] .vp-bar {
  display: none;
}
.vp[data-layout="only"] .vp-trans {
  max-height: none;
  border-top: 0;
}
.vp-th {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.6rem 0.9rem;
  background: #111317;
  border-bottom: 1px solid #262a31;
  font-size: 0.8rem;
  font-weight: 600;
}
.vp-row {
  display: flex;
  gap: 0.7rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  line-height: 1.45;
}
.vp-ts {
  flex: none;
  height: fit-content;
  padding: 0.05rem 0.35rem;
  border-radius: 3px;
  background: #262a31;
  font: 500 0.78rem/1.5 var(--mono);
  color: #b9c2cc;
}
.vp-tx p {
  margin: 0;
}
.vp-who {
  font-size: 0.8rem;
  font-weight: 600;
  color: #9aa3ad;
}
.vp-tx .tr-line {
  color: #9aa3ad;
}
/* chapters 8 to 10: a page without a favicon */
.dd-nofav {
  display: inline-block;
  border-radius: 50%;
  background: #5f6368;
}
.gh-fav {
  background: center / contain no-repeat url("../../icons/github-cat.svg");
}
/* the neocities page of an I-931: a dark background and white text in a fixed width */
.lw-page .nc,
.wd > .nc {
  padding: 1.2rem;
  background: #111;
  color: #eee;
  font: 400 0.82rem/1.65 var(--mono);
}
.nc > * {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}
.nc a {
  color: #8ab4f8;
  text-decoration: underline;
}
.nc-site {
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed #555;
}
.nc-site b {
  margin-right: 0.6rem;
}
.nc-h1 {
  margin-top: 0;
  margin-bottom: 0.2rem;
  color: #9fe870;
  font: 600 1.1rem/1.4 var(--mono);
}
.nc-date {
  margin-bottom: 1rem;
  color: #aaa;
}
.nc h5 {
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  color: #9fe870;
  font: 600 0.9rem/1.4 var(--mono);
}
.nc p,
.nc ul {
  margin-bottom: 0.7rem;
}
.nc ul {
  padding-left: 1.4rem;
}
.nc li + li {
  margin-top: 0.3rem;
}
.nc-foot {
  margin-top: 1.2rem;
  padding-top: 0.6rem;
  border-top: 1px dashed #555;
  color: #aaa;
}
/* the archived developer docs on GitHub, in its dark theme like the browser */
.lw-page .gh {
  padding: 1rem 1.2rem;
  background: #0d1117;
  color: #e6edf3;
  font: 400 0.86rem/1.5 var(--sans);
}
.gh a {
  color: #4493f8;
}
.gh-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}
.gh-lbl {
  padding: 0.05rem 0.5rem;
  border: 1px solid #9e6a03;
  border-radius: 2rem;
  color: #d29922;
  font-size: 0.72rem;
}
.gh-arch {
  margin-bottom: 0.8rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid #9e6a03;
  border-radius: 6px;
  background: rgba(187, 128, 9, 0.15);
}
.gh-path {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
.gh-commit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid #30363d;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: #151b23;
  font-size: 0.8rem;
}
.gh-commit span {
  margin-left: auto;
  color: #9198a1;
}
.gh-md {
  padding: 1rem 1.2rem;
  border: 1px solid #30363d;
  border-radius: 0 0 6px 6px;
}
.gh-md h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #3d444d;
  font: 600 1.4rem/1.25 var(--sans);
}
.gh-md h5 {
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid #3d444d;
  font: 600 1.05rem/1.3 var(--sans);
}
.gh-md p,
.gh-md ul {
  margin-bottom: 0.6rem;
}
.gh-md ul {
  padding-left: 1.4rem;
}
.gh-md code {
  padding: 0 0.3rem;
  border-radius: 6px;
  background: rgba(101, 108, 118, 0.2);
  font: 400 0.82em var(--mono);
}
.gh-code {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 6px;
  background: #151b23;
  overflow-x: auto;
}
.gh-md .gh-code code {
  padding: 0;
  background: none;
  white-space: pre;
}
/* GitHub's code search in the archived docs: the query, the count, and one box per file
   with the matching line and its number */
.gh-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid #3d444d;
  border-radius: 6px;
  background: #151b23;
}
.gh-search .ic {
  width: 0.9rem;
  height: 0.9rem;
  color: #9198a1;
}
.gh-search code {
  font: 400 0.82rem var(--mono);
}
.gh-count {
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.gh-res {
  border: 1px solid #30363d;
  border-radius: 6px;
  overflow: hidden;
}
.gh-res + .gh-res {
  margin-top: 0.6rem;
}
.gh-rpath {
  padding: 0.45rem 0.8rem;
  border-bottom: 1px solid #30363d;
  background: #151b23;
  color: #4493f8;
  font-size: 0.84rem;
}
.gh-snip {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  font: 400 0.78rem/1.5 var(--mono);
}
.gh-ln {
  padding: 0.3rem 0.6rem 0.3rem 0;
  color: #9198a1;
  text-align: right;
}
.gh-snip > span:last-child {
  padding: 0.3rem 0.8rem 0.3rem 0;
}
.gh mark {
  border-radius: 2px;
  background: rgba(187, 128, 9, 0.4);
  color: inherit;
}
/* tables in the archived docs */
.gh-t {
  width: 100%;
  margin-bottom: 0.6rem;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.gh-t th,
.gh-t td {
  padding: 0.3rem 0.6rem;
  border: 1px solid #3d444d;
  text-align: left;
  vertical-align: top;
}
.gh-t th {
  background: #151b23;
}
.gh-t tbody tr:nth-child(2n) {
  background: #151b23;
}
/* a wiki page's maintainers, under its title */
.ow-by {
  color: #54595d;
  font-size: 0.78rem;
  font-style: italic;
}
/* the openunits forum: a user's profile summary */
.dc-user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
}
.dc-av.dc-av-big {
  width: 3.6rem;
  height: 3.6rem;
  font-size: 1.4rem;
}
.dc-user .dc-title {
  margin: 0;
}
.dc-tl {
  font-size: 0.74rem;
  color: #646464;
}
.dc-user-meta {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: #919191;
}
.dc-h {
  margin: 1rem 0 0.4rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid #e9e9e9;
  font: 600 0.82rem/1.3 var(--sans);
}
.dc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.5rem;
  margin: 0;
}
.dc-stats div {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  padding: 0.4rem;
  border-radius: 4px;
  background: #f6f7f8;
}
.dc-stats dt {
  font-size: 0.66rem;
  color: #646464;
  text-align: center;
}
.dc-stats dd {
  margin: 0;
  font: 600 1rem/1.2 var(--sans);
}
.dc-list,
.dc-req {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.76rem;
}
.dc-list li,
.dc-req li {
  display: flex;
  gap: 0.6rem;
  padding: 0.25rem 0;
}
.dc-list li > span:last-child,
.dc-req li > span:last-child {
  margin-left: auto;
  white-space: nowrap;
}
.dc-req .ok > span:last-child {
  color: #2e7d32;
}
.dc-req .no > span:last-child {
  color: #c62828;
}
.dc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.dc-badges span {
  padding: 0.1rem 0.5rem;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  font-size: 0.68rem;
}
/* the composer for a new topic, with the draft in its preview */
.dc-compose {
  margin-top: 0.8rem;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
}
.dc-compose-h {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid #e9e9e9;
  background: #f6f7f8;
  font-size: 0.76rem;
}
.dc-compose-title {
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid #e9e9e9;
  font: 600 0.9rem/1.3 var(--sans);
}
.dc-compose-body {
  padding: 0.6rem 0.7rem;
  font-size: 0.8rem;
}
.dc-compose-body h5,
.dc-body h5 {
  margin: 0 0 0.4rem;
  font: 600 0.92rem/1.3 var(--sans);
}
.dc-compose-body h6,
.dc-body h6 {
  margin: 0.6rem 0 0.2rem;
  font: 600 0.8rem/1.3 var(--sans);
}
.dc-compose-body p + p {
  margin-top: 0.4rem;
}
.dc-compose-body code {
  padding: 0 0.2rem;
  border-radius: 3px;
  background: #f1f2f4;
  font: 500 0.85em var(--mono);
}
.dc-compose-acts {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0.7rem;
  border-top: 1px solid #e9e9e9;
  font-size: 0.74rem;
  color: #646464;
}
.dc-btn {
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  background: #2a5db0;
  color: #fff;
  font-weight: 600;
}
/* booklet pages with paragraphs as well as lists */
.bk-p + .bk-p,
.bk-p + ul,
.bk ul + .bk-p {
  margin-top: 0.5rem;
}
/* the volunteers' laptop: dwm with its default colours, and st in the one window */
.dwm {
  background: #000;
  color: #ddd;
  font: 400 0.78rem/1.45 var(--mono);
}
.dwm-bar {
  display: flex;
  align-items: stretch;
  background: #222;
  color: #bbb;
  font: 400 0.72rem/1.6 var(--mono);
  white-space: nowrap;
  overflow: hidden;
}
.dwm-tags {
  display: flex;
}
.dwm-tags i {
  position: relative;
  padding: 0 0.45rem;
  font-style: normal;
}
.dwm-tags i.on {
  background: #005577;
  color: #eee;
}
.dwm-lt {
  padding: 0 0.6rem;
}
.dwm-title {
  flex: 1;
  min-width: 0;
  padding: 0 0.6rem;
  overflow: hidden;
  background: #005577;
  color: #eee;
  text-overflow: ellipsis;
}
.dwm-status {
  padding: 0 0.6rem;
}
.dwm-st {
  background: #000;
  color: #ddd;
}
.dwm-st .tm-body {
  padding: 0.4rem 0.5rem;
}
.dwm-st .tm-p {
  color: #ddd;
  font-weight: 400;
}
.dwm-st .tm-d {
  color: #ddd;
}
/* Cygurna's support site and its knowledge base, on a phone */
.kb {
  background: #f7f8fa;
  color: #1d2430;
  font: 400 0.8rem/1.45 var(--sans);
}
.kb-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  background: #fff;
  border-bottom: 1px solid #e3e6eb;
}
.kb-head > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  line-height: 1.15;
}
.kb-head > span span {
  color: #6b7380;
  font-size: 0.7rem;
}
.kb-logo {
  width: 1.4rem;
  height: 1.4rem;
}
.kb-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0 0;
  color: #6b7380;
  font-size: 0.68rem;
}
.kb-crumb .ic {
  width: 0.75rem;
  height: 0.75rem;
}
.kb-crumb span:last-child {
  color: #1d2430;
}
.kb-h {
  margin: 0.3rem 0.7rem 0.2rem;
  font: 600 1.02rem/1.25 var(--sans);
}
.kb-meta {
  margin: 0 0.7rem 0.5rem;
  color: #6b7380;
  font-size: 0.68rem;
}
.kb h5 {
  margin: 0.7rem 0.7rem 0.2rem;
  font: 600 0.84rem/1.3 var(--sans);
}
.kb > p {
  margin: 0 0.7rem 0.4rem;
}
.kb > p:last-child {
  margin-bottom: 1.2rem;
}
/* the last margin stays inside the page's own background, and a short page fills the
   screen down to the bezel, so no dark strip shows below an article */
.kb {
  display: flow-root;
}
.mp-page:has(> .kb) {
  background: #f7f8fa;
}
.kb-adv {
  margin: 0.5rem 0.7rem;
  padding: 0.5rem 0.6rem 0.45rem;
  border: 1px solid #d7dbe2;
  border-radius: 4px;
  background: #fff;
  font-size: 0.72rem;
}
.kb-fields {
  display: grid;
  gap: 0.35rem;
  margin: 0.4rem 0 0.35rem;
}
.kb-field {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.4rem;
}
.kb-lbl {
  color: #6b7380;
}
.kb-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 1.6rem;
  padding: 0.15rem 0.45rem;
  border: 1px solid #c3c9d3;
  border-radius: 3px;
  background: #fbfcfd;
  color: #1d2430;
}
.kb-input .ic {
  width: 0.8rem;
  height: 0.8rem;
  color: #6b7380;
}
.kb-count {
  color: #6b7380;
}
.kb-res {
  margin: 0.45rem 0.7rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid #e3e6eb;
  border-radius: 4px;
  background: #fff;
}
.kb-res h5 {
  margin: 0 0 0.15rem;
}
.kb-n {
  color: #2a5db0;
}
.kb-cat {
  color: #6b7380;
  font-size: 0.68rem;
}
.kb-more {
  padding: 0.3rem 0 0.8rem;
  text-align: center;
}
/* the padding above keeps the space below the button, so the last paragraph's margin goes */
.kb > .kb-more:last-child {
  margin-bottom: 0;
}
.kb-more span {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 4px;
  background: #2a5db0;
  color: #fff;
  font-weight: 600;
}
.cmn-sign {
  margin-top: 0.5rem;
}
/* the blog half charged */
.lw-page .hc {
  padding: 1.2rem 1.4rem;
  background: #fafaf7;
  color: #222;
  font: 400 0.88rem/1.6 var(--sans);
}
.hc > * {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.hc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #222;
}
.hc-head b {
  font: 800 1.15rem/1 var(--sans);
}
.hc-head span {
  color: #666;
  font-size: 0.78rem;
}
.hc-h1 {
  margin-top: 0;
  margin-bottom: 0.2rem;
  font: 700 1.5rem/1.25 var(--serif);
}
.hc-date {
  margin-bottom: 0.9rem;
  color: #777;
  font-size: 0.78rem;
}
.hc h5 {
  margin-top: 1.1rem;
  margin-bottom: 0.3rem;
  font: 700 1rem/1.3 var(--sans);
}
.hc p,
.hc ul {
  margin-bottom: 0.65rem;
}
.hc ul {
  padding-left: 1.3rem;
}
.hc li + li {
  margin-top: 0.25rem;
}
.hc code {
  padding: 0 0.25rem;
  border-radius: 3px;
  background: #ececea;
  font: 500 0.82em var(--mono);
}
/* Lucretia's notebook and the back of the grocery flyer, paper on the table */
.app-notebook > .app-frame,
.app-flyer > .app-frame {
  display: flex;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}
.nb {
  position: relative;
  width: min(100%, 36rem);
  padding: 1.6rem 1.4rem;
  background-color: #fbf8ee;
  background-image:
    linear-gradient(to right, transparent 1rem, #e3a1a1 1rem, #e3a1a1 calc(1rem + 1px), transparent calc(1rem + 1px)),
    repeating-linear-gradient(to bottom, transparent 0, transparent calc(1.6rem - 1px), #c6d4e6 calc(1.6rem - 1px), #c6d4e6 1.6rem);
  color: #34343c;
  font: 400 1.22rem/1.6rem "Gochi Hand", var(--serif);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.nb sub {
  font-size: 0.7em;
  line-height: 0;
}
.nb p,
.nb h4 {
  margin: 0;
}
.nb-pg {
  position: absolute;
  top: 0;
  right: 1.4rem;
  color: #6a6a72;
  font-size: 0.8rem;
}
.nb-h {
  font: 400 1.25rem/1.6rem "Gochi Hand", var(--serif);
}
.nb-mol {
  display: block;
  width: 20rem;
  max-width: 100%;
  height: 12rem;
  margin: 0.4rem 0;
  color: #34343c;
}
.nb-bonds line {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.nb-atoms text {
  fill: currentColor;
  font: 400 24px "Gochi Hand", var(--serif);
  text-anchor: middle;
}
.nb-t {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: #fbf8ee;
  font-size: 1rem;
  line-height: calc(1.6rem - 1px);
}
.nb-t th,
.nb-t td {
  padding: 0 0.45rem;
  border: 1px solid #55555e;
  text-align: left;
  vertical-align: top;
}
.nb-t th {
  font-weight: 400;
}
.nb-marc {
  font: 400 1.05rem/1.6rem "Patrick Hand", var(--sans);
  letter-spacing: 0.4em;
}
.nb-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem;
  gap: 1rem;
  width: min(100%, 44rem);
}
.nb-main {
  min-width: 0;
}
/* Marc's notes in the margin, on the same ruling as the page */
.nb-side {
  padding-top: 3.2rem;
  font: 400 0.95rem/1.6rem "Patrick Hand", var(--sans);
}
.nb-sk {
  display: block;
  width: 3rem;
  height: 3.2rem;
}
.nb-sk path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
@media (max-width: 40rem) {
  .nb-two {
    grid-template-columns: minmax(0, 1fr);
  }
  .nb-side {
    padding-top: 0;
  }
}
.fly {
  width: min(100%, 26rem);
  padding: 1.2rem 1.4rem;
  background: #f1efe7;
  color: #23272e;
  font: 400 0.84rem/1.5 var(--sans);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.fly-print {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 0.8rem;
  color: #c6c1b2;
  font: 800 0.95rem/1.3 var(--sans);
  transform: scaleX(-1);
}
.fly-hand {
  font: 400 1rem/1.5 "Patrick Hand", var(--sans);
}
.fly-hand p,
.fly-hand ul {
  margin: 0 0 0.4rem;
}
.fly-hand ul {
  padding-left: 1.1rem;
}
/* a laptop screen keeps 16:9 with Sizes: fixed (GNOME on Albert's laptop, dwm on the
   volunteers'); the window fills it and its content scrolls inside */
body:not(.fit-size) .gn,
body:not(.fit-size) .dwm {
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 9;
}
body:not(.fit-size) .gn > :not(.gn-bar),
body:not(.fit-size) .dwm > .tm {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
body:not(.fit-size) .gn .tm-body,
body:not(.fit-size) .gn .lw-page,
body:not(.fit-size) .gn .cd,
body:not(.fit-size) .dwm .tm-body {
  flex: 1;
  min-height: 0;
  max-height: none;
}
body:not(.fit-size) .gn .lw-page .ow {
  max-height: none;
}
/* the second volunteer's phone: a boxy body with narrow bezels, a 20:9 screen and a
   status bar of its own, the clock on the left and the battery as a number */
.phone.phone-jolla {
  width: min(100%, 19rem);
  aspect-ratio: 9 / 20;
  border-width: 7px;
  border-radius: 0.9rem;
}
.sf-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0.8rem 0.25rem;
  background: #101114;
  color: #f1f1f3;
  font: 300 0.72rem/1 var(--sans);
  letter-spacing: 0.02em;
}
.mb-phone .ph-bar.sf-bar {
  background: #101114;
  color: #f1f1f3;
}
.sf-time {
  font-weight: 600;
}
.sf-icons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sf-net {
  width: 0.7rem;
  height: 0.5rem;
  border-radius: 0.7rem 0.7rem 0 0;
  border: 2px solid currentColor;
  border-bottom: 0;
}
.sf-bat {
  font-weight: 600;
}
.phone-jolla .mp-url {
  margin-top: 0.4rem;
  border-radius: 0.3rem;
}
/* on the boxy phone the browser is dark around the page, the colour of its status bar,
   so the rounded corners of the screen show no light edge */
.phone.phone-jolla,
.mb-phone.phone-jolla {
  background: #101114;
}
.phone-jolla .mp-url {
  background: #2a2b30;
  color: #f1f1f3;
}
/* the desktop view widens the boxy phone too, after its own size above */
.phone.phone-jolla.phone-wide {
  width: 100%;
  aspect-ratio: auto;
  border-width: 6px;
  border-radius: 1rem;
}
/* Lefebvre's laptop: a grey top panel with the applications menu, the window list and the
   clock, over a window with a light title bar and Firefox in its light theme */
.xf {
  width: 100%;
  background: #3c3c3c;
  font: 400 0.8rem/1.45 var(--sans);
  overflow: hidden;
}
.xf-panel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.2rem 0.5rem;
  background: #2b2b2b;
  color: #eee;
  font-size: 0.72rem;
}
.xf-apps {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}
.xf-apps .icc {
  width: 0.95rem;
  height: 0.95rem;
}
.xf-task {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.xf-task span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.xf-task .ic,
.xf-title .ic {
  width: 0.8rem;
  height: 0.8rem;
}
.xf-task {
  min-width: 0;
  max-width: 16rem;
  padding: 0.1rem 0.5rem;
  border-radius: 2px;
  background: #4a4a4a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.xf-tray {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  white-space: nowrap;
}
.xf-tray .ic {
  width: 0.8rem;
  height: 0.8rem;
}
.xf-win {
  display: flex;
  flex-direction: column;
  margin: 0.4rem;
  border: 1px solid #9a9a9a;
  background: #fff;
}
.xf-title {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0.2rem 0.5rem;
  background: linear-gradient(#ececec, #dcdcdc);
  border-bottom: 1px solid #b8b8b8;
  color: #3c3c3c;
  font: 600 0.72rem/1.3 var(--sans);
}
.xf-title > span:not(.xf-btns) {
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.xf-btns {
  display: flex;
  gap: 0.45rem;
  margin-left: 0.6rem;
}
.xf-btns i {
  position: relative;
  width: 0.7rem;
  height: 0.7rem;
}
.xf-btns i::before,
.xf-btns i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.xf-min::before {
  width: 0.6rem;
  border-top: 1.5px solid #3c3c3c;
  margin-top: 0.2rem;
}
.xf-max::before {
  width: 0.5rem;
  height: 0.5rem;
  border: 1.5px solid #3c3c3c;
}
.xf-close::before,
.xf-close::after {
  width: 0.7rem;
  border-top: 1.5px solid #3c3c3c;
}
.xf-btns .xf-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.xf-btns .xf-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.ff-tabs {
  display: flex;
  align-items: flex-end;
  gap: 0.2rem;
  padding: 0.3rem 0.4rem 0;
  background: #f0f0f4;
  overflow: hidden;
}
.ff-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 1 12rem;
  min-width: 2.2rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.35rem 0.35rem 0 0;
  color: #15141a;
  font-size: 0.72rem;
}
.ff-tab.on {
  background: #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
}
.ff-tab span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ff-tab .ic-close {
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  margin-left: auto;
}
.ff-new {
  flex: none;
  width: 0.85rem;
  height: 0.85rem;
  margin: 0 0.3rem 0.4rem;
  color: #5b5b66;
}
.ff-tool {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.3rem 0.6rem;
  background: #fff;
  border-bottom: 1px solid #d7d7db;
  color: #5b5b66;
  font-size: 0.74rem;
}
.ff-tool .ic {
  width: 0.85rem;
  height: 0.85rem;
}
.ff-url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.6rem;
  border-radius: 0.3rem;
  background: #f0f0f4;
  color: #15141a;
}
.ff-url span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ff-url .ic-lock {
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
}
.ff-tool .ic-menu {
  margin-left: auto;
}
.ff-page {
  max-height: 34rem;
  overflow: auto;
  background: #fff;
  color: #1d1d1f;
  font-size: 0.84rem;
  line-height: 1.5;
}
.fit-size .ff-page,
.fit-size .ff-page .ow {
  max-height: none;
}
.ff-page .ow {
  max-height: none;
}
body:not(.fit-size) .xf {
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 9;
}
body:not(.fit-size) .xf-win {
  flex: 1;
  min-height: 0;
}
body:not(.fit-size) .xf .ff-page {
  flex: 1;
  min-height: 0;
  max-height: none;
}
/* the openunits wiki: a plain list of mirrored articles and the volunteers' note below one */
.ow-list {
  list-style: none;
  padding-left: 0 !important;
  columns: 2 18rem;
  column-gap: 1.5rem;
}
.ow-list li {
  break-inside: avoid;
  color: #2a5db0;
}
.ow-list li + li {
  margin-top: 0.15rem;
}
.ow-src {
  font-size: 0.76rem;
  color: #54595d;
}
.ow-note {
  margin-top: 1rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid #a3d3ff;
  border-left-width: 4px;
  background: #eaf3ff;
}
.ow-note h5 {
  margin-top: 0 !important;
  border-bottom: 0 !important;
}
/* Cygurna Mycteria's website: white, a thin header with the stork, rounded cards */
.cy {
  background: #fff;
  color: #1d2430;
  font: 400 0.84rem/1.5 var(--sans);
}
.cy-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.1rem;
  padding: 0.6rem 1.2rem;
  border-bottom: 1px solid #e3e6eb;
}
.cy-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
}
.cy-logo .ic {
  width: 1.2rem;
  height: 1.2rem;
}
.cy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #3b4452;
}
.cy-act {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
  color: #3b4452;
}
.cy-act .ic {
  width: 0.9rem;
  height: 0.9rem;
}
.cy-body {
  padding: 1rem 1.2rem 1.2rem;
}
.cy-hero {
  margin: -1rem -1.2rem 1rem;
  padding: 1.6rem 1.2rem;
  background: linear-gradient(120deg, #eef3f8, #dfe9f3);
}
.cy h4 {
  margin: 0 0 0.3rem;
  font: 600 1.45rem/1.2 var(--sans);
}
.cy h5 {
  margin: 1rem 0 0.3rem;
  font: 600 1rem/1.3 var(--sans);
}
.cy p {
  margin: 0 0 0.5rem;
}
.cy-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.cy-btn {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: #1f4e8c;
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
}
.cy-btn.alt {
  background: #fff;
  color: #1f4e8c;
  box-shadow: inset 0 0 0 1px #1f4e8c;
}
.cy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.6rem;
  margin: 0.4rem 0 0.6rem;
}
.cy-card {
  padding: 0.6rem 0.7rem;
  border: 1px solid #e3e6eb;
  border-radius: 0.5rem;
}
.cy-card b {
  display: block;
}
.cy-card span {
  color: #5b6573;
  font-size: 0.78rem;
}
.cy-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.6rem 0 0.2rem;
}
.cy-input {
  min-width: 12rem;
  height: 1.8rem;
  border: 1px solid #b9c0ca;
  border-radius: 0.35rem;
}
.cy-small {
  font-size: 0.74rem;
  color: #5b6573;
}
.cy-search {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.cy-search span:first-child {
  flex: 1;
  padding: 0.25rem 0.6rem;
  border: 1px solid #b9c0ca;
  border-radius: 0.35rem;
}
.cy-res {
  padding: 0.6rem 0;
  border-top: 1px solid #e3e6eb;
}
.cy-res b {
  color: #1f4e8c;
}
.cy-tag {
  margin-left: 0.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #eef1f5;
  color: #5b6573;
  font-size: 0.7rem;
}
.cy-members {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.15rem 1rem;
  margin: 0.2rem 0 0.6rem;
}
.cy-members dt {
  font: 600 0.8rem/1.5 var(--mono);
}
.cy-members dd {
  margin: 0;
}
.cy-foot {
  padding: 0.8rem 1.2rem;
  border-top: 1px solid #e3e6eb;
  background: #f6f7f9;
  color: #5b6573;
  font-size: 0.74rem;
}
.cy-foot ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  margin: 0.3rem 0;
  padding: 0;
  list-style: none;
}
/* GoTo Search: a white results page with a yellow mark */
.gs {
  padding: 0.8rem 1.2rem 1rem;
  background: #fff;
  color: #202124;
  font: 400 0.84rem/1.5 var(--sans);
}
.gs-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.gs-logo {
  font: 800 1.15rem/1 var(--sans);
  color: #1d1d1f;
}
.gs-logo b {
  color: #e0a100;
  font-weight: inherit;
}
.gs-box {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 30rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid #dadce0;
  border-radius: 999px;
}
.gs-box span {
  flex: 1;
}
.gs-box .ic {
  width: 0.9rem;
  height: 0.9rem;
  color: #5f6368;
}
.gs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0.6rem 0 0.4rem;
  padding: 0 0 0.3rem;
  list-style: none;
  border-bottom: 1px solid #e8eaed;
  color: #5f6368;
  font-size: 0.78rem;
}
.gs-tabs .on {
  color: #1d1d1f;
  box-shadow: 0 0.35rem 0 -0.2rem #e0a100;
}
.gs-res {
  margin: 0.8rem 0 0;
}
.gs-crumb {
  color: #4d5156;
  font-size: 0.74rem;
}
.gs-crumb b {
  color: #202124;
  font-weight: 500;
}
.gs-res h5 {
  margin: 0.1rem 0;
  font: 400 1rem/1.3 var(--sans);
  color: #1a0dab;
}
.gs-res p {
  margin: 0;
  color: #4d5156;
}
.gs-arch {
  margin-top: 1rem;
  padding: 0.5rem 0.7rem;
  border-radius: 0.4rem;
  background: #fff7e0;
  color: #5f4b00;
}
/* the Wayback Machine's toolbar over an archived page */
.wb {
  background: #fff;
}
.wb-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 1rem;
  padding: 0.4rem 0.8rem;
  background: #f5f5f5;
  border-bottom: 2px solid #222;
  color: #222;
  font: 400 0.72rem/1.4 var(--sans);
}
.wb-logo {
  font: 800 0.8rem/1 var(--sans);
  letter-spacing: 0.02em;
}
.wb-logo span {
  color: #b2251b;
}
.wb-url {
  flex: 1;
  min-width: 8rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0.1rem 0.5rem;
  border: 1px solid #ccc;
  background: #fff;
  font-family: var(--mono);
}
.wb-date {
  margin-left: auto;
  padding: 0.1rem 0.5rem;
  background: #222;
  color: #fff;
  font-weight: 700;
}
/* cygurna.net in 2010 and 2012: a narrow page in a serif font on grey */
.cg10 {
  padding: 1rem;
  background: #d9dcd4;
  color: #222;
  font: 400 0.86rem/1.5 Georgia, var(--serif);
}
.cg10-in {
  max-width: 36rem;
  margin: 0 auto;
  padding: 0.8rem 1.1rem;
  background: #fff;
  border: 1px solid #9aa292;
}
.cg10-name {
  margin: 0;
  font: 700 1.3rem/1.2 Georgia, var(--serif);
  letter-spacing: 0.12em;
  color: #3e5a2e;
}
.cg10-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.9rem;
  margin: 0.3rem 0 0.8rem;
  padding: 0 0 0.4rem;
  list-style: none;
  border-bottom: 1px solid #9aa292;
  font-size: 0.78rem;
  color: #2d4fa0;
  text-decoration: underline;
}
.cg10 h4 {
  margin: 0 0 0.5rem;
  font: 700 1.1rem/1.3 Georgia, var(--serif);
}
.cg10 h5 {
  margin: 0.8rem 0 0.2rem;
  font: 700 0.92rem/1.3 Georgia, var(--serif);
}
.cg10 p,
.cg10 ol {
  margin: 0 0 0.5rem;
}
.cg10 ol {
  padding-left: 1.3rem;
}
.cg10 a,
.cg10-link {
  color: #2d4fa0;
  text-decoration: underline;
}
.cg10-sign {
  font-style: italic;
  color: #555;
}
/* cygurna.net from 2018: a cleaner page with a dark band at the top */
.cg10.cg18 {
  background: #eef0ee;
  font-family: var(--sans);
}
.cg18 .cg10-in {
  border: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.cg18 .cg10-name,
.cg18 h4,
.cg18 h5 {
  font-family: var(--sans);
}
.cg18 .cg10-menu {
  text-decoration: none;
}
/* a plain text file, as the browser shows it */
.txt {
  padding: 0.8rem 1rem;
  background: #fff;
  color: #111;
  font: 400 0.78rem/1.5 var(--mono);
}
.txt-l {
  white-space: pre-wrap;
}
/* Rui Lopes's blog: a narrow column of text with a monospace name at the top */
.bl {
  padding: 1rem 1.3rem;
  background: #fffdf8;
  color: #2a2a2a;
  font: 400 0.88rem/1.6 var(--serif);
}
.bl-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.6rem;
  margin-bottom: 1rem;
  font: 400 0.78rem/1.4 var(--mono);
  color: #666;
}
.bl-head b {
  color: #2a2a2a;
}
.bl h4 {
  margin: 0;
  font: 700 1.3rem/1.25 var(--serif);
}
.bl-date {
  margin: 0.2rem 0 0.8rem;
  font: 400 0.76rem/1.4 var(--mono);
  color: #777;
}
.bl p {
  margin: 0 0 0.7rem;
}
.bl-com {
  padding: 0.6rem 0;
  border-top: 1px solid #e6e1d6;
  font-family: var(--sans);
  font-size: 0.82rem;
}
.bl-com b {
  font-family: var(--mono);
}
.bl-com span {
  color: #777;
  font-size: 0.74rem;
}
.bl-com p {
  margin: 0.2rem 0 0;
}
.bl-com:last-child {
  padding-bottom: 0;
}
/* The Mail Archive: a thread of messages with their headers */
.ma {
  padding: 0.8rem 1.1rem;
  background: #fff;
  color: #222;
  font: 400 0.82rem/1.5 var(--sans);
}
.ma-top {
  margin-bottom: 0.6rem;
  padding: 0.3rem 0.6rem;
  background: #e8eef7;
  font-size: 0.76rem;
}
.ma-msg {
  padding: 0.6rem 0;
  border-top: 1px solid #ddd;
}
.ma-msg:last-child {
  padding-bottom: 0;
}
.ma-hdr {
  margin: 0 0 0.3rem;
  font: 400 0.74rem/1.5 var(--mono);
  color: #555;
}
.ma-hdr b {
  color: #222;
}
.ma-msg p:not(.ma-hdr) {
  margin: 0;
}
/* the Delaware Division of Corporations: a government table on a blue band */
.de {
  background: #fff;
  color: #222;
  font: 400 0.8rem/1.5 Arial, var(--sans);
}
.de-band {
  padding: 0.5rem 1rem;
  background: #1f3c6e;
  color: #fff;
  font-weight: 700;
}
.de-body {
  padding: 0.8rem 1rem;
}
.de-body > h5:first-child {
  margin-top: 0;
}
.de h5 {
  margin: 0.6rem 0 0.3rem;
  padding: 0.2rem 0.5rem;
  background: #dfe6f1;
  font-size: 0.82rem;
}
.de-t {
  border-collapse: collapse;
}
.de-t th {
  padding: 0.15rem 1rem 0.15rem 0.5rem;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: top;
}
.de-t td {
  padding: 0.15rem 0.5rem;
}
/* Firefox's PDF viewer: a dark toolbar over a grey backdrop and one white page */
.pdf {
  background: #38383d;
}
.pdf-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.3rem 0.8rem;
  background: #2a2a2e;
  color: #f9f9fa;
  font-size: 0.74rem;
}
.pdf-page {
  max-width: 34rem;
  margin: 0.8rem auto;
  padding: 1.2rem 1.4rem;
  background: #fff;
  color: #1d2430;
  font: 400 0.82rem/1.5 var(--sans);
}
.pdf-page h4 {
  margin: 0 0 0.6rem;
  font: 600 1.05rem/1.3 var(--sans);
  color: #1f4e8c;
}
.pdf-tree,
.pdf-tree ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pdf-tree {
  margin-bottom: 0.7rem;
}
.pdf-tree ul {
  margin-left: 0.6rem;
}
.pdf-tree ul li {
  position: relative;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 1px solid #9aa7b8;
}
.pdf-tree ul li:last-child {
  border-left-color: transparent;
}
.pdf-tree ul li::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  width: 0.75rem;
  height: 0.95rem;
  border-left: 1px solid #9aa7b8;
  border-bottom: 1px solid #9aa7b8;
}
/* Marc's page on GeoCities, kept by a mirror: a tiled background and Times */
.geo {
  padding: 1rem;
  background-color: #000033;
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 18px 18px;
  color: #ffff99;
  font: 400 0.9rem/1.45 "Times New Roman", Times, serif;
  text-align: center;
}
.geo h4 {
  margin: 0 0 0.2rem;
  font: 700 1.5rem/1.2 "Times New Roman", Times, serif;
  color: #ff6633;
}
.geo p,
.geo ul {
  margin: 0 0 0.7rem;
}
.geo ul {
  display: inline-block;
  padding-left: 1.2rem;
  text-align: left;
}
.geo h5 {
  margin: 0.8rem 0 0.3rem;
  color: #66ff66;
  font: 700 1.05rem/1.3 "Times New Roman", Times, serif;
}
.geo-link {
  color: #66ccff;
  text-decoration: underline;
}
.geo-count {
  display: inline-block;
  padding: 0 0.3rem;
  background: #000;
  color: #33ff33;
  font: 700 0.9rem/1.3 var(--mono);
  letter-spacing: 0.15em;
}
.geo-small {
  font-size: 0.74rem;
  color: #cccccc;
}
.fv-i {
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
}
/* the icons on the sites of Lefebvre's laptop: in the bars of the archive, the list, the
   register, the blog and the PDF viewer, and the little pictures on the GeoCities page */
.wb-logo,
.ma-top,
.de-band,
.bl-head,
.pdf-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.wb-logo .icc,
.ma-top .icc,
.de-band .icc,
.bl-head .icc,
.pdf-bar .icc {
  width: 1rem;
  height: 1rem;
}
.ma-top {
  flex-wrap: wrap;
  column-gap: 0.8rem;
}
.ma-top span {
  font-family: var(--mono);
  color: #444;
}
.ma-thread {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.8rem;
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
}
.ma-thread span {
  color: #666;
  font-size: 0.76rem;
}
.geo-ic {
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
}
.geo-uc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.geo-flip {
  transform: scaleX(-1);
}
/* the Cygurna site's home page: the sections below the series in cards, a note with room
   above it, and the footer's links on the same line as the association's sentence */
.cy-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 0.7rem;
}
.cy-wide {
  grid-column: 1 / -1;
}
.cy-panel.cy-hero {
  margin: 0;
  padding: 1.3rem 1.1rem;
  background: linear-gradient(120deg, #eef3f8, #dfe9f3);
}
.cy-panel {
  padding: 0.8rem 0.9rem;
  border: 1px solid #e3e6eb;
  border-radius: 0.6rem;
  background: #fafbfc;
}
.cy-panel {
  display: flex;
  flex-direction: column;
}
.cy-panel h5 {
  margin-top: 0;
}
/* the buttons sit at the bottom of every card on the home page */
.cy-panel > .cy-btns {
  margin-top: auto;
  padding-top: 0.6rem;
}
.cy-note {
  margin-top: 0.8rem !important;
}
.cy-foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 1.5rem;
}
.cy-foot-row p {
  margin: 0;
}
.cy-foot-row ul {
  margin: 0 0 0 auto;
}
/* the Port Ellery Courier: newsprint, a masthead line, a section label, a headline, a deck
   and the body in columns, with statements set off in full */
.np {
  width: 100%;
  padding: 0.9rem 1.1rem 1rem;
  background: #f4f1e8;
  color: #1c1b18;
  font: 400 0.92rem/1.5 var(--serif);
}
.np-mast {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  margin: 0 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #1c1b18;
  font: 600 0.7rem/1.3 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.np-mast span:first-child {
  font: 700 0.85rem/1.2 var(--serif);
  text-transform: none;
  letter-spacing: 0;
}
.np-mast span:last-child {
  margin-left: auto;
}
.np-sec {
  margin: 0;
  font: 700 0.68rem/1.3 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a1f1f;
}
.np-h {
  margin: 0.2rem 0 0.3rem;
  font: 700 1.35rem/1.2 var(--serif);
}
.np-deck {
  margin: 0 0 0.7rem;
  font: italic 400 1rem/1.4 var(--serif);
  color: #44423c;
}
.np-body {
  columns: 2 16rem;
  column-gap: 1.4rem;
  column-rule: 1px solid #d2cdbf;
}
.np-body p {
  margin: 0 0 0.6rem;
  text-align: justify;
  hyphens: auto;
}
.np-q {
  margin: 0 0 0.6rem;
  padding: 0.1rem 0 0.1rem 0.7rem;
  border-left: 2px solid #7a1f1f;
}
.np-q p {
  font-style: italic;
}
/* a page with several stories: the stories are stacked in the page's columns and each is
   read down its column; the first takes the large headline, the others a smaller one */
.np-cols {
  columns: 2 16rem;
  column-gap: 1.4rem;
  column-rule: 1px solid #d2cdbf;
}
.np-cols .np-h,
.np-cols .np-h2,
.np-cols .np-deck {
  break-after: avoid;
}
.np-text p {
  margin: 0 0 0.6rem;
  text-align: justify;
  hyphens: auto;
}
.np-art + .np-art {
  margin-top: 0.5rem;
}
.np-h2 {
  margin: 0 0 0.3rem;
  font: 700 1.02rem/1.25 var(--serif);
}
/* the brief page: short items in columns, each ending on the page that has the full story */
.np-briefs {
  columns: 2 16rem;
  column-gap: 1.4rem;
  column-rule: 1px solid #d2cdbf;
  margin-top: 0.4rem;
}
.np-brief {
  break-inside: avoid;
  margin: 0 0 0.4rem;
}
.np-bh {
  margin: 0 0 0.15rem;
  font: 700 1.02rem/1.25 var(--serif);
}
.np-brief p {
  margin: 0;
  text-align: justify;
  hyphens: auto;
}
.np-ref {
  font-style: italic;
  color: #7a1f1f;
}
/* a printout in A5 pages, laid side by side and wrapping on narrow screens */
.bk-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}
.bk.bk-a5 {
  display: flex;
  flex-direction: column;
  width: min(100%, 22rem);
  aspect-ratio: 148 / 210;
  padding: 0.9rem 1.05rem;
  font-size: 0.71rem;
  line-height: 1.36;
}
.bk-a5 .bk-n {
  margin-top: auto;
  padding-top: 0.5rem;
}
.bk-print {
  font-family: var(--sans);
}
.bk-t {
  margin: 0.8rem 0 0.5rem;
  font: 700 1rem/1.3 var(--sans);
}
.bk-s {
  margin: 0.7rem 0 0.4rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid #c9c7c0;
  font: 700 0.86rem/1.3 var(--sans);
}
.bk-print p {
  margin: 0.5rem 0 0;
}
.bk ul ul {
  margin-top: 0.3rem;
}
.bk-print code {
  font: 400 0.74rem/1.4 var(--mono);
}

/* part 2: a page shown on its own, with only its address above it */
.wd {
  background: #fff;
}
.wd-url {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: #e9ecef;
  border-bottom: 1px solid #d5d9de;
  color: #3a4048;
  font: 400 0.74rem/1.3 var(--mono);
  overflow-wrap: anywhere;
}
.wd > .dc {
  padding: 0.8rem 1rem 0.6rem;
  color: #222;
  font: 400 0.86rem/1.5 var(--sans);
}
/* Cygurna's release notes: one block per version, newest first */
.cy-rel {
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  border-top: 1px solid #e3e7ec;
}
.cy-rel h5 {
  margin: 0 0 0.3rem;
}
.cy-rel ul {
  margin: 0;
  padding-left: 1.1rem;
}
.cy-rel li {
  margin-bottom: 0.3rem;
}
/* LEGISinfo: a bill's page, with its facts, stages and summary */
.lg {
  background: #fff;
  color: #1f2328;
  font: 400 0.84rem/1.5 var(--sans);
}
.lg-band {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.5rem 1rem;
  background: #7a1f2b;
  color: #fff;
}
.lg-band b {
  font: 700 1rem/1.2 var(--sans);
}
.lg-band span {
  font-size: 0.76rem;
  opacity: 0.85;
}
.lg-body {
  padding: 0.9rem 1.1rem 1rem;
}
.lg-kicker {
  margin: 0;
  color: #5b6168;
  font-size: 0.76rem;
}
.lg h4 {
  margin: 0.1rem 0 0;
  font: 700 1.5rem/1.2 var(--sans);
}
.lg-title {
  margin: 0 0 0.6rem;
  font-size: 0.98rem;
}
.lg h5 {
  margin: 1rem 0 0.35rem;
  font: 600 0.95rem/1.3 var(--sans);
}
.lg p {
  margin: 0 0 0.5rem;
}
.lg-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.2rem 1rem;
  margin: 0;
}
.lg-facts dt {
  color: #5b6168;
}
.lg-facts dd {
  margin: 0;
}
.lg-stages {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.lg-stages th,
.lg-stages td {
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid #e1e4e8;
  text-align: left;
}
.lg-stages th {
  background: #f3f4f6;
  font-weight: 600;
}
.lg-list {
  margin: 0;
  padding-left: 1.1rem;
}
.lg-small {
  color: #5b6168;
  font-size: 0.76rem;
}
/* the recycler's certificate: a printed form with a table of the units */
.pp {
  padding: 1rem 1.2rem 1.1rem;
  background: #fdfdfb;
  color: #1f2124;
  font: 400 0.84rem/1.5 var(--sans);
}
.pp-org {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.2rem 1rem;
  margin: 0 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #1f2124;
  font-size: 0.76rem;
}
.pp-org b {
  font-size: 0.9rem;
}
.pp h4 {
  margin: 0 0 0.5rem;
  font: 700 1.2rem/1.3 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pp-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.15rem 1rem;
  margin: 0 0 0.7rem;
}
.pp-facts dt {
  color: #5b5f66;
}
.pp-facts dd {
  margin: 0;
}
.pp-table {
  width: 100%;
  margin-bottom: 0.7rem;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.pp-table th,
.pp-table td {
  padding: 0.2rem 0.5rem;
  border: 1px solid #cfd2d6;
  text-align: left;
}
.pp-table th {
  background: #eef0f2;
}
.pp p {
  margin: 0 0 0.5rem;
}
.pp-sig {
  margin-top: 0.8rem !important;
  font-style: italic;
  color: #5b5f66;
}
/* an email shown on its own: the headers, then the message */
.em {
  padding: 0.9rem 1.1rem 1rem;
  background: #fff;
  color: #202124;
  font: 400 0.86rem/1.55 var(--sans);
}
.em-hdr {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.1rem 0.9rem;
  margin: 0 0 0.7rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e0e3e7;
  font-size: 0.8rem;
}
.em-hdr dt {
  color: #5f6368;
}
.em-hdr dd {
  margin: 0;
}
.em-body p {
  margin: 0 0 0.6rem;
}
/* the paper sign taped inside the shop window, in marker */
.app-sign > .app-frame {
  display: flex;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}
.sg {
  width: min(100%, 30rem);
  padding: 1.2rem 1.4rem;
  background: #fffef6;
  color: #1c2a6b;
  font: 400 1.15rem/1.45 "Patrick Hand", var(--sans);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transform: rotate(-0.6deg);
}
.sg p {
  margin: 0 0 0.5rem;
}
.sg-h {
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-align: center;
}
.sg-sig {
  margin: 0.8rem 0 0 !important;
  text-align: right;
}
/* Lucretia's letter, on a page of her notebook paper */
.nb-letter p + p {
  margin-top: 0;
}
.nb-date {
  text-align: right;
}
.nb-sign {
  text-align: right;
}
/* part 2: Albert's terminal at work, shown on its own */
.app-term > .app-frame > .tm .tm-head {
  justify-content: flex-start;
}
/* a page of Albert's journal, a dotted notebook he keeps in the workbench drawer, in his hand */
.ix {
  width: min(100%, 34rem);
  padding: 1.125rem 1.5rem 1.5rem;
  background-color: #fbfaf6;
  background-image: radial-gradient(circle, #d6dae1 0.7px, transparent 1px);
  background-size: 0.75rem 0.75rem;
  background-position: 0.375rem 0.375rem;
  color: #2b3550;
  font: 400 1.15rem/1.5rem "Patrick Hand", var(--sans);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.ix p {
  margin: 0;
}
.ix-date,
.ix-sign {
  text-align: right;
}
