/* =====================================================================
   Paper and Ink · essays/the-tool-that-manages-everything-can-erase-everything.css
   "The Tool That Manages Everything Can Erase Everything": 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 admin access review sheet listing console actions, what one admin can do and what should need a second approver (Figure 1).
   Gold = what one admin can do; blue = what one admin should do alone; row labels are ink. */

/* ---- 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 admin access review sheet ------------------------------ */
/* clip sideways overflow so a stamp's starting scale can never widen the page on a phone */
.permfig { overflow-x: clip; overflow-clip-margin: 14px; padding-top: 6px; }
.perm {
  position: relative; width: min(100%, 620px); background: var(--noise), var(--sheet); padding: 1.2rem 1.3rem 1.4rem; transform: rotate(-.6deg);
  font-family: var(--mono); font-size: .76rem; line-height: 1.5; border-top: 6px solid var(--graphite);
  animation: fade .6s ease .1s both;
}
.perm .ph { font-family: var(--sans); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; margin: 0; opacity: .8; }
.perm .pn { font-size: .68rem; opacity: .75; margin: .1rem 0 .8rem; }
.perm .prow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: .8rem; padding: .3rem 0; border-bottom: 1px solid color-mix(in srgb, var(--slip-ink) 22%, transparent); }
.perm .phead { font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; }
.perm .once { color: var(--slip-once); }
.perm .life { color: var(--slip-life); }
.perm .prow:not(.phead) .once { animation: fade .5s ease .6s both; }
.perm .prow:not(.phead) .life { animation: fade .5s ease 1.6s both; }
.perm .pstamps { display: flex; justify-content: flex-end; gap: 1.4rem; margin-top: .9rem; }
.perm .stamp.s1 { color: var(--slip-once); transform: rotate(-6deg); animation-delay: 1.1s; }
.perm .stamp.s2 { color: var(--slip-life); transform: rotate(5deg); animation-delay: 2.2s; }

/* Phone mode: the sheet loses its tilt and its columns tighten; the action label takes its own line above the two answers. */
@media (max-width: 560px) {
  .perm { padding: 1rem .9rem 1.1rem; font-size: .7rem; transform: none; }
  .perm .prow { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .2rem .7rem; }
  .perm .prow > span:first-child { grid-column: 1 / -1; }
  .perm .phead > span:first-child { display: none; }
}
