/* =====================================================================
   Paper and Ink · essays/five-hours-without-the-platform.css
   "Five Hours Without the Platform": the figure only this dispatch uses.
   Loaded after the shared stylesheets; everything shared lives in css/.
   ===================================================================== */

/* Layout: one 64ch reading column on grained paper; one paper object breaks out to 860px:
   an invented operating sheet (Figure 1) with a gold provider column, a blue practice column,
   four task rows and a switch between normal access and platform unavailable.
   Gold = provider recovery; blue = practice continuity; graphite = descriptive status.
   Every rule below is scoped under .ops so none of it can restyle the generated Read next block. */

/* ---- footnote markers -------------------------------------------------- */
sup.ref { font-family: var(--sans); font-size: .62em; line-height: 0; margin-left: 1px; }
sup.ref a { text-decoration: none; color: var(--life); padding: 0 1px; }
sup.ref a:hover { text-decoration: underline; }
.sources li:target { color: var(--ink); background: var(--life-soft); }

/* ---- Figure 1: the operating sheet -------------------------------------- */
.ops { max-width: 820px; padding: 1.3rem 1.4rem 1.2rem; background: var(--noise), var(--sheet); transform: rotate(-.35deg); }
.ops .oh { margin: 0 0 .8rem; font-family: var(--sans); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--graphite); }

/* the switch: two underlined text choices */
.ops .sw { border: 0; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem; }
.ops .sw legend { float: left; margin-right: .4rem; padding: 0; font-family: var(--sans); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--graphite); }
.ops .sw label { position: relative; cursor: pointer; font-family: var(--sans); font-size: .85rem; color: var(--graphite); }
.ops .sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ops .sw span { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.ops .sw input:checked + span { color: var(--slip-ink); font-weight: 600; text-decoration-style: solid; }
.ops .sw input:focus-visible + span { outline: 2px solid var(--slip-life); outline-offset: 3px; }

/* the two question columns: slips of paper clipped to the sheet */
.ops .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.4rem; align-items: stretch; }
.ops .col { padding: .85rem .95rem .7rem; background: var(--noise), var(--slip); box-shadow: 0 1px 1px var(--shadow); border: 2px solid transparent; }
.ops .col.once { transform: rotate(-.6deg); color: var(--slip-once); }
.ops .col.life { transform: rotate(.5deg); color: var(--slip-life); }
.ops .ck { margin: 0; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.ops .cq { margin: .3rem 0 .5rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.3; }
.ops .cs { margin: 0; font-family: var(--mono); font-size: .76rem; line-height: 1.55; color: var(--graphite); min-height: 3.1em; }
.ops .stamp { display: table; margin: .7rem auto .2rem; }
.ops .st1 { transform: rotate(-5deg); animation-delay: .7s; }
.ops .st2 { transform: rotate(4deg); animation-delay: 1.3s; }
/* in downtime mode the practice column carries a hand-inked blue ring: it is the one in use */
.ops.down .col.life { border-color: var(--slip-life); border-radius: 12px 16px 10px 18px; }

/* the task rows: a ruled list on the sheet */
.ops .rows { list-style: none; margin: 1.1rem 0 0; padding: 0; counter-reset: task; }
.ops .rows li { counter-increment: task; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) minmax(0, 1.2fr); gap: .3rem 1.1rem; padding: .7rem 0; border-top: 1px dashed var(--graphite); }
.ops .rows li:last-child { border-bottom: 1px dashed var(--graphite); }
.ops .task { margin: 0; font-family: var(--serif); font-size: 1.02rem; line-height: 1.35; color: var(--slip-ink); }
.ops .task::before { content: counter(task) ". "; font-family: var(--mono); font-size: .78rem; color: var(--graphite); }
.ops .how, .ops .lim { margin: 0; font-family: var(--mono); font-size: .76rem; line-height: 1.55; }
.ops .how { color: var(--slip-ink); }
.ops.down .how { color: var(--slip-life); }
.ops .lim { color: var(--graphite); }
.ops .lab { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--graphite); }
.ops .stop { margin: .9rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--slip-life); }
.ops .stop b { font-style: normal; font-weight: 600; }
.ops + .narr { margin-top: 1.2rem; }

/* Phone mode: the two columns and each task row stack, labels grow to stay readable, and the tilts flatten. */
@media (max-width: 560px) {
  .ops { padding: 1rem .85rem .9rem; transform: none; }
  .ops .oh, .ops .sw legend, .ops .lab { font-size: .7rem; }
  .ops .sw legend { float: none; width: 100%; margin: 0 0 .2rem; }
  .ops .cols { grid-template-columns: minmax(0, 1fr); }
  .ops .col.once { transform: rotate(-.3deg); }
  .ops .col.life { transform: rotate(.3deg); }
  .ops .cs { min-height: 0; }
  .ops .rows li { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
}
