/* The I/O bay (homepage only): a desk nook in the wall unit with a personal computer of the late 1980s on it, a
   sticky note on the back wall, and the index card, which comes down over the screen when asked for. The computer
   is two pieces, as the IBM 5150 was: a monitor (a cream case, the tube set back in a darker well, a slim chin with
   its name plate) on a short ribbed neck, standing on a wide, low system unit (the plate and model name, moulded
   vent slots, two floppy drives side by side in a dark bay, the pilot lamp, POWER and the rocker switch). Drawn from
   photos of the IBM 5150, a Macintosh SE, DEC VT220 and VT320, an Apple IIc and a Wyse 60. Light comes from above.
   Sizes are rem (16px at normal size). The bay is one size in every state: the sticky note, the card and the
   status line are out of flow, and the glass has a fixed height. */

.rb-desk {
  --pc-case: oklch(80% 0.034 88);
  --pc-case-hi: oklch(87% 0.03 90);
  --pc-case-lo: oklch(69% 0.04 82);
  --pc-case-deep: oklch(52% 0.04 75);
  --pc-groove: oklch(55% 0.04 78);
  --pc-print: oklch(38% 0.03 75);
  --pc-amber: oklch(81% 0.155 76);
  --pc-ink: oklch(31% 0.09 262);
  --pc-coral: oklch(65% 0.19 30);
  --pc-drive: oklch(21% 0.006 70);
  /* The vent slots repeat every 10 design pixels, each slot 4 wide; rounded where the browser can, so they stay
     even when the page scales. */
  --pc-vent-step: 0.625rem;
  /* The desk top: how deep its top face shows and how thick its front edge is. */
  --pc-desk-face: 1.625rem;
  --pc-desk-edge: 1.125rem;
  /* The front edge's height, rounded where the browser can, so its one-pixel highlight lands on a whole pixel when
     the page scales. */
  --pc-desk-rim: var(--pc-desk-edge);
  position: relative;
  display: grid;
  justify-items: center;
}
@supports (width: round(1.2px, 1px)) {
  /* The rim rounds to whole pixels by the one-pixel snap token (a step of 1px wherever the root size is under 24px). */
  .rb-desk { --pc-vent-step: round(0.625rem, 1px); --pc-desk-rim: round(var(--pc-desk-edge), var(--rb-snap-1)); }
}

/* ---------- The nook ----------
   The bay's recess is its back wall: the unit's own walnut, in shade under the top rail and toward the sides,
   with the desk top across the bottom. The card slides in from above and is clipped at the recess's edge. */
#rb-store #access .rb-bay__recess {
  position: relative; overflow: hidden; padding: 1.75rem 0 0;
  background:
    var(--wood-grain) 3.75rem 1.875rem / 56.25rem 20.625rem,
    linear-gradient(oklch(17% 0.03 50), oklch(23% 0.04 54) 45%, oklch(27% 0.046 56));
  box-shadow:
    inset 0 1.75rem 2.25rem -0.75rem oklch(0% 0 0 / 0.85),
    inset 1.5rem 0 2rem -1.25rem oklch(0% 0 0 / 0.6),
    inset -1.5rem 0 2rem -1.25rem oklch(0% 0 0 / 0.6);
}

/* The desk top: a lighter walnut board, its top face running back to the wall and its rounded front edge
   catching the light along one whole pixel at its top. It spans the rows under the computer, so whatever lies on
   it in flow (the sticky note on a phone, the card without JavaScript) lies on its top face, with the front edge
   always at the bottom. */
.rb-desk__top {
  grid-area: 2 / 1 / span 3 / auto; justify-self: stretch; position: relative; z-index: 0;
  min-height: calc(var(--pc-desk-face) + var(--pc-desk-edge));
  background:
    var(--wood-grain) 11rem 4rem / 75rem 8rem,
    linear-gradient(to top,
      oklch(21% 0.035 52) 0,
      oklch(33% 0.055 56) calc(var(--pc-desk-rim) * 0.55),
      oklch(46% 0.07 60) calc(var(--pc-desk-rim) - var(--rb-snap-1)),
      oklch(66% 0.07 66) 0 var(--pc-desk-rim),
      oklch(52% 0.072 62) 0,
      oklch(43% 0.066 59) calc(var(--pc-desk-rim) + 1rem),
      oklch(30% 0.05 54));
  box-shadow: inset 0 var(--rb-snap-1) 0 oklch(0% 0 0 / 0.45);
}
/* Where the wall meets the desk, the corner is darker. */
.rb-desk__top::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 3rem; pointer-events: none;
  background: linear-gradient(transparent, oklch(0% 0 0 / 0.3));
}

/* ---------- The computer ---------- */
.rb-pc { grid-area: 1 / 1; position: relative; z-index: 1; display: grid; justify-items: center; justify-self: stretch; margin-bottom: -0.875rem; }

/* ---------- The monitor ---------- */
.rb-pc__case {
  position: relative; z-index: 2; width: 37rem; padding: 1.125rem 1rem 0; border-radius: 0.75rem 0.75rem 0.4375rem 0.4375rem;
  background: linear-gradient(var(--pc-case-hi), var(--pc-case) 12%, var(--pc-case) 82%, var(--pc-case-lo));
  box-shadow:
    inset 0 0.0625rem 0 oklch(100% 0 0 / 0.6),
    inset 0.25rem 0 0.3125rem -0.1875rem oklch(100% 0 0 / 0.4),
    inset -0.25rem 0 0.375rem -0.1875rem oklch(0% 0 0 / 0.22),
    inset 0 -0.1875rem 0.25rem -0.125rem oklch(0% 0 0 / 0.25),
    0 1.125rem 1.25rem -0.625rem oklch(0% 0 0 / 0.6),
    0 1.5rem 3rem -0.5rem oklch(0% 0 0 / 0.45);
}
/* The parting line where the front bezel meets the case shell, just inside the edge. */
.rb-pc__case::before {
  content: ""; position: absolute; inset: 0.3125rem; pointer-events: none;
  border: var(--rb-snap-1) solid oklch(62% 0.04 80 / 0.55); border-radius: 0.5rem 0.5rem 0.25rem 0.25rem;
  box-shadow: inset 0 var(--rb-snap-1) 0 oklch(100% 0 0 / 0.35);
}
/* The bezel: the screen sits back in a darker well, lit from above. */
.rb-pc__well {
  padding: 0.75rem 0.75rem 0.875rem; border-radius: 0.6875rem;
  background: linear-gradient(oklch(58% 0.04 78), oklch(69% 0.04 83) 26%, oklch(78% 0.035 88));
  box-shadow: inset 0 0.25rem 0.5rem oklch(0% 0 0 / 0.5), inset 0 -0.0625rem 0 oklch(100% 0 0 / 0.45), 0 0.0625rem 0 oklch(100% 0 0 / 0.45);
}
/* The tube. Lit (starting, on, failed) it is near-black with an amber phosphor; off it is dark grey-green
   glass with the room's reflection on it and nothing on it. */
.rb-pc__glass {
  --pc-cols: 72;
  --pc-rows: 22;
  position: relative; height: 26.25rem; overflow: hidden;
  display: grid; place-content: center;
  padding: 1.125rem 0.75rem 1.25rem; border-radius: 1.75rem / 2rem;
  background:
    radial-gradient(90% 60% at 22% 6%, oklch(60% 0.02 85 / 0.17), transparent 60%),
    radial-gradient(120% 120% at 50% 50%, oklch(15% 0.02 70), oklch(8% 0.012 60) 80%);
  box-shadow: inset 0 0 0 0.125rem oklch(0% 0 0), inset 0 0 2.875rem 0.875rem oklch(0% 0 0 / 0.85), 0 0 0 0.0625rem oklch(45% 0.03 80 / 0.7);
  color: var(--pc-amber);
  text-shadow: 0 0 0.4375rem oklch(78% 0.16 70 / 0.55);
}
.rb-desk[data-power="off"] .rb-pc__glass {
  background: radial-gradient(90% 60% at 22% 6%, oklch(60% 0.02 85 / 0.22), transparent 60%), oklch(11% 0.014 110);
}
/* Scanlines over everything on the tube: two pixels clear, one dark. */
.rb-pc__glass::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 var(--rb-snap-2), oklch(0% 0 0 / 0.22) var(--rb-snap-2) calc(var(--rb-snap-1) * 3));
}
/* The terminal's area: exactly the grid's cells of Share Tech Mono (0.54em wide, 1.3 lines tall). */
.rb-pc__screen {
  width: calc(var(--pc-cols) * 0.54em); height: calc(var(--pc-rows) * 1.3em);
  font: 400 0.8125rem / 1.3 "Share Tech Mono", ui-monospace, monospace; letter-spacing: 0;
}
/* Plain lines on the glass while it starts or after a failure, in the terminal's type, a blank line between. */
#access .rb-pc__message { margin: 0 0 1.3em; }

/* ---------- The terminal (machine.js and terminal.js) ----------
   xterm.js draws into a layer over the screen area, so its own size never moves the glass. Its stylesheet is
   linked before this one on the first Power press; these rules take its place where both apply. */
.rb-pc__screen { position: relative; min-width: 0; min-height: 0; }
/* xterm sets its rows in whole pixels, so the grid can come out a little shorter than the area: it stands in the
   middle, the spare split above and below. */
.rb-pc__term { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; }
#access .rb-pc__term .xterm-viewport { background-color: transparent; overflow: hidden; }
#access .rb-pc__term .xterm-scrollable-element > .scrollbar { display: none; }
/* The screen-reader copy of the text is transparent; it must not carry the tube's glow. */
#access .rb-pc__term :is(.xterm-accessibility, .xterm-accessibility *, .xterm-helpers, .xterm-helpers *) { text-shadow: none; }
/* 16px or more, so iOS does not zoom the page when the on-screen keyboard comes up. */
#access .rb-pc__term .xterm-helper-textarea { font-size: 1rem !important; }
.rb-pc__help { position: absolute; width: 0.0625rem; height: 0.0625rem; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The monitor's chin: a slim band under the bezel with the name plate at the right. No controls. */
.rb-pc__chin { position: relative; height: 2.25rem; margin: 0 -1rem; }
.rb-pc__plate {
  padding: 0.3125rem 0.4375rem 0.3125rem 0.5625rem; border-radius: 0.0625rem;
  font: 400 0.5625rem / 1 var(--rb-ext); letter-spacing: 0.22em; color: oklch(92% 0.01 90);
  background: oklch(34% 0.012 70);
  box-shadow: inset 0 0 0 0.0625rem oklch(100% 0 0 / 0.12), 0 0.0625rem 0 oklch(100% 0 0 / 0.3);
}
.rb-pc__chin .rb-pc__plate { position: absolute; right: 1.625rem; bottom: 0.625rem; }

/* The neck: a short ribbed tilt-and-swivel stand, in the monitor's shadow, its foot on the unit's top. */
.rb-pc__neck {
  position: relative; z-index: 1; width: 18rem; height: 1.125rem; margin-bottom: -0.3125rem;
  border-radius: 0 0 0.25rem 0.25rem;
  background:
    linear-gradient(oklch(0% 0 0 / 0.5), oklch(0% 0 0 / 0.12) 70%, oklch(100% 0 0 / 0.1)),
    repeating-linear-gradient(to right, var(--pc-case-lo) 0 calc(var(--rb-snap-7) - var(--rb-snap-2)), var(--pc-case-deep) calc(var(--rb-snap-7) - var(--rb-snap-2)) var(--rb-snap-7));
  box-shadow: 0 0.3125rem 0.5rem -0.125rem oklch(0% 0 0 / 0.45);
}

/* ---------- The system unit ----------
   A wide, low box. Its top is a lit band behind the rounded front edge; across the front, a parting line where the
   front panel meets the cover. Left to right on the panel: the plate and model name over the vent slots, the drive
   bay with two drives, and Power. */
.rb-pc__unit {
  position: relative; z-index: 0; box-sizing: border-box; width: min(60rem, 100% - 2rem); height: 8.25rem;
  display: grid; grid-template-columns: auto minmax(auto, 1fr) minmax(0, 29.5rem) auto; grid-template-rows: auto 1fr;
  column-gap: 2.25rem; align-items: start; padding: 1.5rem 2rem 1.3125rem;
  border-radius: 0.3125rem 0.3125rem 0.25rem 0.25rem;
  background: linear-gradient(var(--pc-case-hi) 0, var(--pc-case-hi) 0.25rem, oklch(84% 0.03 89) 0.4375rem, var(--pc-case) 1rem, var(--pc-case) 70%, var(--pc-case-lo));
  box-shadow:
    inset 0 0.0625rem 0 oklch(100% 0 0 / 0.65),
    inset 0.25rem 0 0.3125rem -0.1875rem oklch(100% 0 0 / 0.4),
    inset -0.25rem 0 0.375rem -0.1875rem oklch(0% 0 0 / 0.22),
    inset 0 -0.25rem 0.3125rem -0.1875rem oklch(0% 0 0 / 0.3),
    0 0.5rem 0.5rem -0.25rem oklch(0% 0 0 / 0.85),
    0 0.25rem 1.25rem 0 oklch(0% 0 0 / 0.4),
    0 -0.5rem 2.5rem 0 oklch(0% 0 0 / 0.25);
}
.rb-pc__unit::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0.5625rem; pointer-events: none;
  border-top: var(--rb-snap-2) solid var(--pc-groove); box-shadow: 0 var(--rb-snap-1) 0 oklch(100% 0 0 / 0.4);
}
.rb-pc__unit .rb-pc__plate { grid-area: 1 / 1; align-self: center; justify-self: start; }
.rb-pc__model {
  grid-area: 1 / 2; align-self: center; margin-left: -1.5rem;
  font: italic 500 0.6875rem / 1 var(--rb-sans); letter-spacing: 0.04em; color: var(--pc-print); white-space: nowrap;
}
/* The vent slots, moulded into the panel: dark inside, their lower ends catching the light. */
.rb-pc__vents {
  grid-area: 2 / 1 / auto / span 2; align-self: end; justify-self: start;
  width: min(13.5rem, 100%); height: 2.375rem; margin-bottom: 0.125rem;
  background: linear-gradient(oklch(20% 0.014 70), oklch(29% 0.02 74) 45%, oklch(42% 0.03 78) 75%, oklch(74% 0.035 86) 90%, oklch(66% 0.035 84));
  -webkit-mask:
    repeating-linear-gradient(to right, #000 0 calc(var(--rb-snap-1) * 4), transparent calc(var(--rb-snap-1) * 4) var(--pc-vent-step)),
    linear-gradient(transparent, #000 0.1875rem, #000 calc(100% - 0.1875rem), transparent);
  -webkit-mask-composite: source-in;
  mask:
    repeating-linear-gradient(to right, #000 0 calc(var(--rb-snap-1) * 4), transparent calc(var(--rb-snap-1) * 4) var(--pc-vent-step)),
    linear-gradient(transparent, #000 0.1875rem, #000 calc(100% - 0.1875rem), transparent);
  mask-composite: intersect;
}
/* The drive bay: an opening in the panel, its top lip shading the drives, its lower edge lit. */
.rb-pc__drives {
  /* Where the drives stand in the bay, and where each drive's busy light is on its faceplate (from the lower left). */
  --pc-bay-pad: 0.3125rem;
  --pc-led-x: 0.75rem;
  --pc-led-y: 0.625rem;
  grid-area: 1 / 3 / span 2 / auto; align-self: stretch; margin-top: -0.0625rem; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.3125rem; padding: var(--pc-bay-pad);
  border-radius: 0.1875rem; background: oklch(15% 0.006 70);
  box-shadow:
    inset 0 0.25rem 0.375rem oklch(0% 0 0 / 0.75),
    0 -0.0625rem 0 0.0625rem oklch(64% 0.04 80),
    0 0.0625rem 0 0.0625rem oklch(87% 0.028 89);
}
/* A half-height floppy drive: a black faceplate with the disk slot, the door lever hanging closed across it, and
   the busy light at the lower left (dark). */
.rb-pc__drive {
  position: relative; border-radius: 0.125rem;
  background:
    linear-gradient(oklch(26% 0.05 28), oklch(19% 0.04 28)) var(--pc-led-x) calc(100% - var(--pc-led-y)) / 0.5rem 0.25rem no-repeat,
    linear-gradient(oklch(27% 0.006 70), var(--pc-drive) 45%, oklch(17% 0.006 70));
  box-shadow: inset 0 var(--rb-snap-1) 0 oklch(100% 0 0 / 0.1), inset 0 calc(var(--rb-snap-1) * -1) 0 oklch(0% 0 0 / 0.6);
}
.rb-pc__drive::before {
  content: ""; position: absolute; left: 1rem; right: 1rem; top: 36%; height: 0.375rem; border-radius: 0.125rem;
  background: oklch(6% 0 0);
  box-shadow: inset 0 0.125rem 0.125rem oklch(0% 0 0), 0 var(--rb-snap-1) 0 oklch(100% 0 0 / 0.12);
}
.rb-pc__drive::after {
  content: ""; position: absolute; left: 50%; top: calc(36% - 0.25rem); width: 1.875rem; height: 2rem; translate: -50% 0;
  border-radius: 0.125rem 0.125rem 0.375rem 0.375rem;
  background:
    linear-gradient(oklch(58% 0.01 80), oklch(52% 0.01 80)) 50% 0.875rem / 1.125rem 0.5rem no-repeat,
    linear-gradient(oklch(33% 0.006 70), oklch(25% 0.006 70) 55%, oklch(20% 0.006 70));
  box-shadow: inset 0 var(--rb-snap-1) 0 oklch(100% 0 0 / 0.16), inset 0 calc(var(--rb-snap-1) * -1) 0 oklch(0% 0 0 / 0.5), 0 0.1875rem 0.3125rem oklch(0% 0 0 / 0.75);
}

/* The first drive's busy light, lit while Linux downloads and starts: a red LED over the dark one, flickering
   unevenly with the drive's work. Always there and out of flow, so lighting it changes no size. */
.rb-pc__drives::after {
  content: ""; position: absolute; pointer-events: none;
  left: calc(var(--pc-bay-pad) + var(--pc-led-x)); bottom: calc(var(--pc-bay-pad) + var(--pc-led-y));
  width: 0.5rem; height: 0.25rem; border-radius: 0.0625rem;
  background: linear-gradient(oklch(78% 0.17 32), oklch(62% 0.22 28));
  box-shadow: 0 0 0.375rem 0.0625rem oklch(62% 0.22 28 / 0.75);
  opacity: 0;
}
.rb-desk[data-power="starting"] .rb-pc__drives::after { opacity: 1; animation: rb-pc-busy 1.7s step-end infinite; }
@keyframes rb-pc-busy {
  0% { opacity: 1; }
  9% { opacity: 0.35; }
  13% { opacity: 1; }
  31% { opacity: 0.5; }
  34% { opacity: 1; }
  52% { opacity: 0.3; }
  58% { opacity: 1; }
  61% { opacity: 0.45; }
  64% { opacity: 1; }
  83% { opacity: 0.4; }
  88% { opacity: 1; }
}

/* Power: the pilot lamp and POWER over the rocker switch. */
#access button.rb-pc__power {
  grid-area: 1 / 4 / span 2 / auto; align-self: center;
  display: grid; grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 0.625rem 0.4375rem;
  padding: 0.25rem; margin: -0.25rem;
  border: 0; background: none; cursor: pointer;
  font: 500 0.53125rem / 1 var(--rb-ext); letter-spacing: 0.16em; text-transform: uppercase; color: var(--pc-print);
}
#access button.rb-pc__power:focus-visible { outline: 0.125rem solid var(--pc-coral); outline-offset: 0.125rem; }
/* The rocker switch in its bezel, rocked to its I side while the machine is starting or on. */
#access button.rb-pc__power::after {
  content: ""; grid-column: 1 / -1; justify-self: center; width: 2.25rem; height: 1.375rem; border-radius: 0.125rem;
  background: linear-gradient(oklch(12% 0.01 60) 0 48%, oklch(27% 0.01 60) 52%);
  box-shadow: 0 0 0 0.1875rem oklch(32% 0.015 70), 0 0 0 0.25rem oklch(58% 0.035 78), inset 0 0.0625rem 0 oklch(100% 0 0 / 0.14);
}
#access .rb-desk:is([data-power="starting"], [data-power="on"]) .rb-pc__power::after {
  background: linear-gradient(oklch(27% 0.01 60) 0 48%, oklch(12% 0.01 60) 52%);
}
/* The pilot lamp: lit while the machine is starting or on, dark when off or failed. */
.rb-pc__lamp { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: oklch(32% 0.05 30); }
.rb-desk:is([data-power="starting"], [data-power="on"]) .rb-pc__lamp { background: oklch(68% 0.2 30); box-shadow: 0 0 0.4375rem oklch(68% 0.2 30); }

/* The status line is for screen readers; the glass shows the state. */
.rb-pc__status { position: absolute; width: 0.0625rem; height: 0.0625rem; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- The sticky note ----------
   On a phone it lies on the desk top in front of the computer, its lines in two columns; from 861px it is stuck to
   the back wall, left of the monitor. */
.rb-sticky {
  grid-area: 3 / 1; position: relative; z-index: 2; align-self: start; justify-self: center;
  display: grid; grid-template-columns: auto auto; justify-items: start; gap: 0.25rem 1rem;
  margin: 1.5rem 0 calc(var(--pc-desk-edge) + 1rem); padding: 0.875rem 1rem 0.75rem; rotate: -1.2deg;
  background: linear-gradient(178deg, oklch(86% 0.13 97) 0 0.875rem, oklch(91% 0.135 99) 1.375rem, oklch(89% 0.14 98));
  box-shadow: 0 0.0625rem 0 oklch(100% 0 0 / 0.3) inset, 0.125rem 0.625rem 0.75rem -0.375rem oklch(0% 0 0 / 0.75), 0 0.0625rem 0.125rem oklch(0% 0 0 / 0.4);
  border-bottom-right-radius: 0.875rem 0.3125rem;
  color: var(--pc-ink); font: 500 1.25rem / 1.08 "Caveat", cursive;
}
.rb-sticky small { display: block; grid-column: 1 / -1; margin-bottom: 0.0625rem; font-size: 1rem; opacity: 0.8; }
#access .rb-sticky a { color: inherit; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 0.0625rem; text-underline-offset: 0.1875rem; }
#access .rb-sticky a:hover { color: oklch(45% 0.17 30); }

/* ---------- The index card ----------
   Away, it is above the desk, turned, and hidden from the tab order and screen readers. Out, it lies over
   the middle of the monitor. It slides on transform properties only. */
.rb-card {
  position: absolute; z-index: 5; left: 50%; top: 3.625rem; width: 23.25rem;
  translate: -50% -40rem; rotate: -5deg; visibility: hidden;
  transition: translate 420ms cubic-bezier(0.2, 0.85, 0.25, 1), rotate 420ms cubic-bezier(0.2, 0.85, 0.25, 1), visibility 0s linear 420ms;
}
.rb-desk[data-card="out"] .rb-card { translate: -50% 0; rotate: -1.2deg; visibility: visible; transition-delay: 0s; }
#access .rb-card .rb-jcard {
  margin: 0; transform: none;
  box-shadow: 0 0.0625rem 0 oklch(100% 0 0 / 0.25) inset, 0 1.625rem 1.875rem -0.875rem oklch(0% 0 0 / 0.95), 0 0.1875rem 0.3125rem oklch(0% 0 0 / 0.6);
}
.rb-card .rb-jcard__head { flex-wrap: nowrap; gap: 0.75rem; white-space: nowrap; }
.rb-card .rb-jcard__foot { min-height: 1.4rem; }
.rb-card textarea { resize: none; }
.rb-card__book { font-size: 0.875rem; color: var(--rb-paper-ink); text-underline-offset: 0.1875rem; }
/* The Close tab on the card's top edge, like the tab on a card file's guide card. */
#access button.rb-card__close {
  position: absolute; right: 1.125rem; top: -1.5625rem; height: 1.625rem; padding: 0 0.75rem 0 0.625rem;
  border: 0; border-radius: 0.3125rem 0.3125rem 0 0; cursor: pointer;
  background: oklch(86% 0.045 82); color: oklch(40% 0.14 30);
  font: 600 0.625rem / 1.625rem var(--rb-sans); letter-spacing: 0.14em; text-transform: uppercase;
  box-shadow: inset 0 0.0625rem 0 oklch(100% 0 0 / 0.5), inset 0 -0.1875rem 0.1875rem -0.125rem oklch(0% 0 0 / 0.18);
}
#access button.rb-card__close:hover { background: var(--pc-coral); color: oklch(100% 0 0); }
/* The Send tab on its bottom edge, the pair of the Close tab, in the card's coral. */
#access button.rb-card__send {
  position: absolute; right: 1.125rem; bottom: -1.8125rem; height: 1.875rem; margin: 0; padding: 0 1rem 0 1.125rem;
  border: 0; border-radius: 0 0 0.375rem 0.375rem; cursor: pointer;
  background: oklch(62% 0.19 30); color: oklch(98% 0.01 90);
  font: 600 0.6875rem / 1.875rem var(--rb-sans); letter-spacing: 0.16em; text-transform: uppercase;
  box-shadow: inset 0 0.1875rem 0.1875rem -0.125rem oklch(0% 0 0 / 0.3), inset 0 -0.0625rem 0 oklch(0% 0 0 / 0.25), 0 0.5rem 0.5rem -0.3125rem oklch(0% 0 0 / 0.8);
}
#access button.rb-card__send:hover { background: oklch(55% 0.19 30); }
/* While a note is on its way the tab cannot be pressed again, and does not answer the pointer. */
#access button.rb-card__send[aria-disabled="true"] { cursor: default; background: oklch(62% 0.19 30); }

@media (prefers-reduced-motion: reduce) {
  .rb-card { transition: none; }
  /* The busy light holds steady: the lit rule's selector, so this one wins by coming later. */
  .rb-desk[data-power="starting"] .rb-pc__drives::after { animation: none; }
}

/* ---------- 861px and wider: the monitor on the system unit, spanning the nook, the sticky note on the wall ----------
   From 861 to 1100px: glass 536×420 holding the 72 by 22 grid at 0.8125rem, monitor 592 wide. The monitor stands
   centred on the desk, or far enough right to leave the sticky note its place on the wall left of it (on a window
   under about 970px, and from 1101px under about 1300px). The neck and the card are centred on the monitor from the
   same figure. */
@media (min-width: 861px) {
  .rb-desk {
    --pc-monitor-w: 37rem;
    --pc-neck-w: 18rem;
    --pc-note-room: 8.25rem;
    --pc-monitor-x: max(50% - var(--pc-monitor-w) / 2, var(--pc-note-room));
    --pc-desk-face: 2.5rem;
    --pc-desk-edge: 1.25rem;
  }
  .rb-pc__case { justify-self: start; width: var(--pc-monitor-w); margin-left: var(--pc-monitor-x); }
  .rb-pc__neck { justify-self: start; width: var(--pc-neck-w); margin-left: calc(var(--pc-monitor-x) + (var(--pc-monitor-w) - var(--pc-neck-w)) / 2); }
  /* On the wall, left of the monitor, at the height of the screen's upper half. */
  .rb-sticky {
    grid-area: auto; position: absolute; left: 0.625rem; top: 9.5rem; z-index: 2; margin: 0;
    width: 7rem; box-sizing: border-box; grid-template-columns: auto; gap: 0.1875rem;
    padding: 0.8125rem 0.5rem 0.6875rem 0.75rem; rotate: -2.5deg; font-size: 1.125rem;
  }
  .rb-sticky small { font-size: 0.875rem; }
  /* Centred on the monitor (its left edge plus half its width), over the glass. */
  .rb-card { left: calc(var(--pc-monitor-x) + var(--pc-monitor-w) / 2); top: 6.375rem; }
}

/* ---------- 1101px and wider ----------
   At a 1440px window: glass 720×512 holding the 90 by 26 grid at 0.875rem, monitor 792 wide, system unit
   960×132. Above 1440×900 the page scales as one piece, so these stay the same in rem. */
@media (min-width: 1101px) {
  .rb-desk { --pc-monitor-w: 49.5rem; --pc-neck-w: 20rem; --pc-note-room: 9.25rem; }
  .rb-pc__case { padding: 1.25rem 1.375rem 0; }
  .rb-pc__well { padding: 0.875rem 0.875rem 1rem; }
  .rb-pc__glass { --pc-cols: 90; --pc-rows: 26; height: 32rem; padding: 0; }
  .rb-pc__screen { font-size: 0.875rem; }
  .rb-pc__chin { height: 2.5rem; margin: 0 -1.375rem; }
  .rb-pc__chin .rb-pc__plate { right: 1.75rem; bottom: 0.75rem; }
  .rb-sticky {
    left: 0.875rem; width: 7.5rem;
    padding: 0.875rem 0.625rem 0.75rem 0.8125rem; font-size: 1.1875rem;
  }
  .rb-sticky small { font-size: 0.9375rem; }
  .rb-card { top: 10.25rem; }
}

/* ---------- Phones: the monitor fills the desk's width, the system unit is a slim strip under it with the plate,
   one drive and Power, the sticky note lies on the desk top in two columns, and the card comes down over the
   top. On a wider window (a tablet, a phone on its side) the monitor stops growing wider at 34rem and its tube
   keeps the desktop tube's proportions, so it never becomes a letterbox; the strip, the note and the card stop
   with it. ---------- */
@media (max-width: 860px) {
  /* One column exactly the desk's width, so the parts' widths are measured from it and nothing widens it. */
  .rb-desk { grid-template-columns: minmax(0, 1fr); justify-items: stretch; --pc-desk-face: 1rem; --pc-desk-edge: 0.75rem; }
  #rb-store #access .rb-bay__recess { padding: 1rem 0 0; }
  .rb-pc { grid-template-columns: minmax(0, 1fr); justify-items: stretch; margin-bottom: -0.5rem; }
  .rb-pc__case { justify-self: center; width: min(100% - 1.75rem, 34rem); padding: 0.875rem 0.875rem 0; border-radius: 0.625rem 0.625rem 0.25rem 0.25rem; }
  .rb-pc__case::before { inset: 0.1875rem; }
  .rb-pc__well { padding: 0.5625rem 0.5625rem 0.625rem; border-radius: 0.5rem; }
  .rb-pc__glass {
    width: 100%; height: auto; aspect-ratio: 45 / 32; min-height: 14.5rem; max-height: 22rem;
    padding: 0.625rem 0.75rem 0.75rem; border-radius: 1rem / 1.125rem; place-content: stretch;
  }
  /* On a phone the grid follows the glass instead of a fixed one. */
  .rb-pc__screen { width: auto; height: auto; font-size: 0.6875rem; }
  .rb-pc__chin { height: 1.75rem; margin: 0 -0.875rem; }
  .rb-pc__chin .rb-pc__plate { display: none; }
  .rb-pc__neck { justify-self: center; width: 9rem; height: 0.75rem; }
  .rb-pc__unit {
    justify-self: center; width: min(100% - 1rem, 36rem); height: 3.5rem; padding: 0.875rem 0.875rem 0.625rem;
    grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: 1fr; column-gap: 0.75rem; align-items: center;
  }
  .rb-pc__unit::before { top: 0.375rem; }
  .rb-pc__unit .rb-pc__plate { grid-area: 1 / 1; font-size: 0.46875rem; }
  .rb-pc__model, .rb-pc__vents { display: none; }
  .rb-pc__drives { --pc-bay-pad: 0.1875rem; --pc-led-x: 0.625rem; --pc-led-y: 0.25rem; grid-area: 1 / 2; align-self: stretch; justify-self: end; width: min(8rem, 100%); grid-template-columns: 1fr; }
  .rb-pc__drive:nth-child(2) { display: none; }
  .rb-pc__drive::before { left: 0.5rem; right: 0.5rem; height: 0.25rem; }
  .rb-pc__drive::after { width: 0.75rem; height: 1.125rem; top: calc(36% - 0.25rem); }
  #access button.rb-pc__power { grid-area: 1 / 3; grid-template-columns: auto auto auto; gap: 0.375rem; }
  #access button.rb-pc__power::after { grid-column: auto; width: 1.625rem; height: 0.9375rem; box-shadow: 0 0 0 0.125rem oklch(32% 0.015 70), inset 0 0.0625rem 0 oklch(100% 0 0 / 0.14); }
  .rb-sticky {
    justify-self: center; box-sizing: border-box; width: min(100% - 1.5rem, 22rem); rotate: -0.8deg;
    margin: 1.1rem 0 calc(var(--pc-desk-edge) + 0.75rem); padding: 0.875rem 1rem 0.75rem;
    grid-template-columns: 1fr 1fr; gap: 0.5rem 0.75rem; font-size: 1.375rem;
  }
  .rb-sticky small { margin-bottom: -0.1875rem; }
  /* The card is a size container, so its two printed headings can shrink to stay on one line. */
  .rb-card { width: min(100% - 1.25rem, 23.25rem); top: 1.875rem; rotate: -4deg; container-type: inline-size; }
  .rb-desk[data-card="out"] .rb-card { rotate: -0.8deg; }
  .rb-card .rb-jcard { min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .rb-card .rb-jcard__head { gap: 0.5rem; }
  .rb-card .rb-jcard__head .rb-ext { font-size: min(0.56rem, (100cqi - 3.25rem) / 25.5); letter-spacing: 0.1em; }
  .rb-card :is(.rb-field, .rb-field input, .rb-field textarea) { min-width: 0; max-width: 100%; }
}

/* ---------- Without JavaScript ----------
   The computer is drawn switched off and its switch is a picture: the button is rendered disabled, looking
   just as it does enabled, until desk.js enables it. The card lies on the desk top under the computer, in the
   page's flow, with no Close tab, and posts as an ordinary form. */
#access button.rb-pc__power:disabled { cursor: default; }
html:not(.rb-js) .rb-desk .rb-card {
  grid-area: 4 / 1; position: relative; z-index: 2; left: auto; top: auto; width: min(23.25rem, 100%);
  margin: 1.5rem 0 calc(var(--pc-desk-edge) + 3rem);
  translate: none; rotate: -0.7deg; visibility: visible; transition: none;
}
html:not(.rb-js) .rb-card__close { display: none; }
@media (min-width: 861px) {
  html:not(.rb-js) .rb-desk .rb-card { grid-area: 3 / 1; margin-top: 2.25rem; }
}
@media (max-width: 860px) {
  html:not(.rb-js) .rb-desk .rb-card { justify-self: center; width: min(100% - 1.5rem, 23.25rem); margin: 1.25rem 0 calc(var(--pc-desk-edge) + 2.5rem); rotate: none; }
}
