/* =====================================================================
   GENERATED FILE -- DO NOT EDIT.

   Built from _source/assets/flowchartsinteractive.css by _dev/generate/theme-assets.mjs. Edit the
   snapshot (or re-sync it from the original) and regenerate; a hand edit
   here fails the gate at commit rather than surviving to contradict its
   source.

     node _dev/sync-static-source.mjs people-skills-development      pull the original in
     node _dev/generate/theme-assets.mjs people-skills-development   rebuild this file

   The file below is the static site's stylesheet verbatim, comments and
   all.

   NOTHING WORDPRESS-SPECIFIC GOES IN THIS FILE. Adapter rules that map
   block markup onto these components live in native-adapters.css, which
   is hand-written and loads after this one. Keeping them apart is what
   lets this copy stay diffable against the original.
   ===================================================================== */

/* =====================================================================
   FLOWCHARTS, INTERACTIVE
   The three drawings from flowcharts.html, each carrying a picker.

   Sections A to D are the drawings, lifted from flowcharts.html
   unchanged except where the picker forced a change; those places are
   commented where they occur. Section E is the picker itself: the node
   is the select control on all three drawings, and there are three
   different ways of showing what has been selected.

   flowchart-shared.css underneath supplies the tokens, the family
   colours, the course rows, the buttons and the tooltip.
   ===================================================================== */

/* =====================================================================
   A. The page
   A masthead line and three drawings under it. The page carries no
   menu, no banner and no footer: the way off it is the button in the
   top right, which is the site's own .x-btn rather than a new one.
   ===================================================================== */
.fc-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px clamp(20px, 3vw, 40px);
  padding-bottom: clamp(16px, 2vw, 24px);
  border-bottom: 2px solid var(--ink, #3a3a3a);
}
.fc-kicker {
  margin: 0;
  font: 11px/1.6 var(--f-mono, ui-monospace, Menlo, monospace);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #6f6f74);
}
.fc-top h1 {
  margin: 6px 0 0;
  font-family: var(--f-disp, 'Roboto Condensed', sans-serif);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink, #3a3a3a);
}
/* The label the menu carries, said once here so the page agrees with the
   link that reached it. */
.fc-demo {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--f-mono, ui-monospace, Menlo, monospace);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, #6f6f74);
  vertical-align: middle;
}

/* Each drawing gets a band of the page to itself, ruled off from the one
   above it. The rule is what stops two drawings reading as one. */
.fc-item { padding-top: clamp(44px, 5.5vw, 82px); }
.fc-item + .fc-item {
  margin-top: clamp(44px, 5.5vw, 82px);
  border-top: 1px solid var(--line, #e8e8e8);
}
.fc-end { padding: clamp(48px, 6vw, 90px) 0 clamp(30px, 4vw, 54px); }

@media (max-width: 620px) {
  .fc-top { align-items: flex-start; }
}

/* ---------------------------------------------------------------------
   Chevron: the interlocking band
   ------------------------------------------------------------------ */
.pf-band-scroll {
  margin: clamp(26px, 3.4vw, 46px) 0 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.pf-band {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(186px, 1fr);
  min-width: 100%;
  --notch: clamp(20px, 2vw, 30px);
}

/* --- a chevron -------------------------------------------------------
   The point of one sits in the notch of the next, which is what the
   negative margin is for: without it they would sit side by side with a
   wedge of page showing between them and the interlock would be gone.
   -------------------------------------------------------------------- */
/* The chevron is a box holding two controls, where in flowcharts.html it
   was itself the control. The clip-path, the tint and the interlock stay
   on the box; the whole face of it is .pf-chev-pick, which selects, and
   a small Read control rides on top of that in one corner.

   THE PADDING MOVED OFF THE BOX AND ON TO THE BUTTON, which is the one
   detail that makes this work. A band of dead border around a control
   the reader has been told they can click anywhere on is exactly the
   miss that makes them think the thing is broken. */
.pf-chev {
  position: relative;
  margin-right: calc(-1 * var(--notch));
  min-height: clamp(178px, 16.5vw, 218px);
  display: flex;
  flex-direction: column;
  background: var(--c);
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%, var(--notch) 50%);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.pf-chev-pick {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  flex: 1;
  width: 100%;
  padding: 15px calc(var(--notch) + 16px) 18px calc(var(--notch) + 18px);
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.pf-chev-body { display: flex; flex-direction: column; gap: 9px; }
/* The first has no notch cut out of its back and the last no point on
   its front, so the band has a square start and a square finish rather
   than looking like it has been sawn off a longer one. */
.pf-chev:first-child { clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%); }
.pf-chev:last-child  { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--notch) 50%); margin-right: 0; }
.pf-chev:first-child:last-child { clip-path: none; }
.pf-chev:first-child .pf-chev-pick { padding-left: 20px; }
.pf-chev:last-child  .pf-chev-pick { padding-right: 20px; }

/* The tint IS the state. Untouched is a wash, the route so far is a
   half tint, a selected stage is heavier still and the open stage is
   solid. Nothing else marks it, which is why there is no progress bar
   bolted underneath.

   Selected sits between lit and open on purpose: clicking the face of a
   chevron has to change the face of it, or the reader is left looking
   for what their click did. */
.pf-chev::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pf-paper);
  opacity: 0.88;
  transition: opacity 0.24s ease;
}
.pf-chev:hover::before { opacity: 0.72; }
.pf-chev.is-lit::before { opacity: 0.7; }
.pf-chev.is-picked::before { opacity: 0.5; }
.pf-chev.is-on::before  { opacity: 0; }
/* The outline is inset because a clip-path cuts an outset one off along
   the diagonal, leaving a ring with two corners missing. */
.pf-chev-pick:focus-visible { outline: 3px solid var(--pf-field); outline-offset: -3px; }

.pf-chev > * { position: relative; z-index: 1; }
.pf-chev-no {
  font-family: var(--pf-disp);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--c);
  opacity: 0.5;
  transition: color 0.24s ease, opacity 0.24s ease;
}
.pf-chev-title {
  font-family: var(--pf-disp);
  font-weight: 700;
  font-size: clamp(13.5px, 1.25vw, 16.5px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--pf-ink);
  text-wrap: balance;
  transition: color 0.24s ease;
}
.pf-chev-n { padding-right: 68px; font: 10px/1.5 var(--pf-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--pf-muted); transition: color 0.24s ease; }
.pf-chev.is-on .pf-chev-no { color: #fff; opacity: 0.62; }
.pf-chev.is-on .pf-chev-title { color: #fff; }
.pf-chev.is-on .pf-chev-n { color: rgba(255, 255, 255, 0.78); }

/* Stacked: the chevrons point down instead of right. Same interlock,
   turned ninety degrees, so the band does not become six rectangles the
   moment it stops fitting. */
@media (max-width: 860px) {
  .pf-band-scroll { overflow: visible; }
  .pf-band {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    --notch: 20px;
  }
  .pf-chev {
    margin-right: 0;
    margin-bottom: calc(-1 * var(--notch));
    min-height: 0;
    clip-path: polygon(0 0, 50% var(--notch), 100% 0, 100% calc(100% - var(--notch)), 50% 100%, 0 calc(100% - var(--notch)));
  }
  .pf-chev-pick { padding: calc(var(--notch) + 12px) 20px calc(var(--notch) + 16px); }
  .pf-chev:first-child { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), 50% 100%, 0 calc(100% - var(--notch))); }
  .pf-chev:last-child { clip-path: polygon(0 0, 50% var(--notch), 100% 0, 100% 100%, 0 100%); margin-bottom: 0; }
  .pf-chev:first-child .pf-chev-pick { padding-top: 20px; padding-left: 20px; }
  .pf-chev:last-child .pf-chev-pick { padding-bottom: 20px; padding-right: 20px; }
  .pf-chev-no { font-size: 30px; }
}

/* --- what is read underneath ------------------------------------------ */
.pf-out { position: relative; margin: clamp(22px, 2.6vw, 34px) 0 0; }
.pf-out[hidden] { display: none; }
.pf-out::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: var(--nib-x, 50%);
  margin-left: -12px;
  border: 12px solid transparent;
  border-bottom-color: var(--c);
}
.pf-out-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(22px, 3vw, 50px);
  padding: clamp(24px, 2.8vw, 40px) clamp(20px, 2.4vw, 34px);
  background: var(--pf-plate);
  border-top: 3px solid var(--c);
  animation: pf-in 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes pf-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 940px) { .pf-out-in { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.pf-out-no { font: 700 12px/1 var(--pf-mono); letter-spacing: 0.16em; color: var(--c); }
.pf-out h3 { margin: 12px 0 0; font-family: var(--pf-disp); font-weight: 700; font-size: clamp(22px, 2.4vw, 31px); line-height: 1.08; letter-spacing: -0.018em; color: var(--pf-ink); text-wrap: balance; }
.pf-out-sub { margin: 8px 0 18px; font-family: var(--pf-disp); font-size: 17px; line-height: 1.3; color: var(--pf-muted); }
.pf-out .pf-note { background: var(--pf-paper); }
.pf-hint { margin: clamp(16px, 2vw, 22px) 0 0; font: 11px/1.6 var(--pf-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pf-muted); }

/* ---------------------------------------------------------------------
   Donut: one ring, five parts
   ------------------------------------------------------------------ */
/* Taller and wider than in flowcharts.html by exactly the tick strip the
   labels gained. The ring is placed off the measured label box, so a
   label that grew and a host that did not would close the hole up. */
.pf-donut { height: clamp(690px, 64vw, 830px); margin: clamp(24px, 3vw, 40px) 0 0; }
.pf-ring-stage { --node: clamp(166px, 16.5vw, 202px); z-index: 4; }

/* --- the ring ---------------------------------------------------------- */
/* pointer-events is re-enabled here because .pf-ring-art turns it off
   for the whole svg. Without this the segment is decoration and only
   the label beside it is clickable, which is not what the redundant
   pointer path below expects. */
.pf-seg {
  fill: var(--c);
  fill-opacity: 0.13;
  stroke: var(--c);
  stroke-width: 1.5;
  cursor: pointer;
  pointer-events: auto;
  transition: fill-opacity 0.2s ease, stroke-width 0.2s ease;
}
.pf-seg:hover { fill-opacity: 0.3; }
.pf-seg.is-on { fill-opacity: 1; stroke-width: 2.5; }
.pf-seg-no {
  font: 700 13px/1 var(--pf-mono);
  letter-spacing: 0.1em;
  fill: var(--c);
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
  transition: fill 0.2s ease;
}
.pf-seg-no.is-on { fill: #fff; }
.pf-lead { stroke: var(--pf-line-2); stroke-width: 1.5; transition: stroke 0.2s ease; }
.pf-lead.is-on { stroke: var(--c); stroke-width: 2.5; }

/* --- a label ----------------------------------------------------------- */
/* The label is the select control, whole. The Read control is a
   separate, deliberately smaller thing under it, because reading about a
   part and putting it on a list are different intentions. */
.pf-tag {
  display: block;
  width: 100%;
  padding: 9px 11px 11px;
  background: var(--pf-paper);
  border: 1px solid var(--pf-line-2);
  border-bottom: 3px solid var(--c);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.pf-tag:hover { box-shadow: 0 10px 26px rgba(6, 20, 40, 0.14); transform: translateY(-2px); }
.pf-tag:focus-visible { outline: 2px solid var(--pf-field); outline-offset: 3px; }
.pf-tag[aria-pressed="true"] { border-color: var(--c); box-shadow: 0 0 0 2px var(--c) inset, 0 10px 26px rgba(6, 20, 40, 0.14); }
.pf-tag-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pf-tag-no { font: 700 10px/1 var(--pf-mono); letter-spacing: 0.16em; color: var(--c); }
.pf-tag-title {
  display: block;
  margin-top: 7px;
  font-family: var(--pf-disp);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.14;
  letter-spacing: -0.008em;
  color: var(--pf-ink);
  text-wrap: balance;
}
.pf-tag:hover .pf-tag-title, .pf-tag[aria-pressed="true"] .pf-tag-title { color: var(--c); }
.pf-tag-n { display: block; margin-top: 6px; font: 10.5px/1.6 var(--pf-mono); letter-spacing: 0.05em; color: var(--pf-muted); }

/* --- the hole ---------------------------------------------------------
   Smaller than D3a's middle, because a donut's hole is what is left
   after the band and not a panel you get to size. So it reads a
   compact version and everything longer goes under the ring. That is
   the trade the form makes and it is worth being honest about.
   -------------------------------------------------------------------- */
.pf-centre {
  z-index: 2;
  border-radius: 50%;
  aspect-ratio: 1;
  max-height: none;
  display: grid;
  align-content: center;
  /* Padding is tight and the type is small because the usable width of
     a circle is not its diameter: a line set near the top or the bottom
     of one has very little room. The hole says which part you are in
     and nothing more; the reading is under the ring. */
  padding: clamp(14px, 1.6vw, 24px);
  background: var(--pf-plate);
  border: 0;
  border-top: 0;
  overflow: hidden;
}
.pf-centre h3 { font-size: clamp(15px, 1.4vw, 19px); }
.pf-centre-sub { margin-bottom: 0; font-size: 12px; }
.pf-centre-idle { font-size: 12.5px; }
.pf-ring-host.is-flat .pf-centre { border-radius: 0; aspect-ratio: auto; }


/* ---------------------------------------------------------------------
   Schematic: plates and wires
   ------------------------------------------------------------------ */

/* The drawing grid. Two gradients at two scales, the finer one faint,
   so the board reads as squared paper without any of it competing with
   a wire. It is a background, not a graphic: nothing is aligned to it. */
.pf-board {
  position: relative;
  margin: clamp(26px, 3.4vw, 46px) 0 0;
  padding: clamp(26px, 3.2vw, 46px) clamp(18px, 2.4vw, 34px);
  background-color: var(--pf-paper);
  background-image:
    linear-gradient(to right, rgba(16, 88, 170, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 88, 170, 0.07) 1px, transparent 1px),
    linear-gradient(to right, rgba(16, 88, 170, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 88, 170, 0.16) 1px, transparent 1px);
  background-size: 22px 22px, 22px 22px, 110px 110px, 110px 110px;
  border: 1px solid var(--pf-line-2);
}

/* The corner stamp, the way a real drawing carries one. It is the only
   place the sheet says what it is. */
.pf-stamp {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 0;
  border-top: 1px solid var(--pf-line-2);
  border-left: 1px solid var(--pf-line-2);
  background: var(--pf-paper);
}
.pf-stamp span {
  padding: 8px 13px;
  font: 10px/1.4 var(--pf-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pf-muted);
}
.pf-stamp span + span { border-left: 1px solid var(--pf-line-2); }
.pf-stamp b { color: var(--pf-field); font-weight: 700; }
@media (max-width: 700px) { .pf-stamp { display: none; } }

/* --- the rack -------------------------------------------------------
   Three across, wrapping. The wires do not care how many columns there
   are: pfElbowPoints picks a side-to-side route when the next plate is
   clear to the right and a top-to-bottom one when the row has wrapped,
   off the rendered positions, so the same markup routes correctly at
   three columns, two and one.
   -------------------------------------------------------------------- */
.pf-rack {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(46px, 5vw, 78px) clamp(56px, 6vw, 104px);
}
@media (max-width: 1080px) { .pf-rack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .pf-rack { grid-template-columns: minmax(0, 1fr); gap: 54px; } }

/* The plate is a box, not a control. Its header is the control.

   The obvious version wraps the whole plate in a <button> and it is not
   allowed: the body carries links and a course list, and a link inside
   a button is invalid markup that browsers resolve differently and
   screen readers announce as one enormous control. The box holds the
   header button and the body side by side instead. */
.pf-plate {
  position: relative;
  width: 100%;
  padding: 17px 16px 16px;
  background: var(--pf-paper);
  border: 1.5px solid var(--pf-ink);
  border-left: 5px solid var(--c);
  text-align: left;
  box-shadow: 4px 4px 0 rgba(16, 88, 170, 0.08);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.pf-cell:hover .pf-plate { border-color: var(--c); box-shadow: 6px 6px 0 var(--c); transform: translate(-2px, -2px); }
.pf-cell.is-on .pf-plate { border-color: var(--c); box-shadow: 6px 6px 0 var(--c); }
.pf-cell.is-picked .pf-plate { border-color: var(--c); box-shadow: 0 0 0 2px var(--c) inset, 6px 6px 0 var(--c); }

/* The header of the plate is the select control now, and it covers the
   whole width of the plate rather than only the words in it. */
.pf-plate-pick {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.pf-plate-pick:focus-visible { outline: 2px solid var(--pf-field); outline-offset: 4px; }

/* The numeral rides in a tab on the plate's shoulder, where a drawing
   puts a part number. */
.pf-tab {
  position: absolute;
  top: -1.5px;
  right: -1.5px;
  padding: 4px 9px 5px;
  background: var(--c);
  color: #fff;
  font: 700 10.5px/1 var(--pf-mono);
  letter-spacing: 0.16em;
}
/* The part-number tab now shares the top line with the select caption
   rather than with the title, so the title gets its full width back. */
.pf-plate-title {
  display: block;
  font-family: var(--pf-disp);
  font-weight: 700;
  font-size: clamp(15.5px, 1.5vw, 19px);
  line-height: 1.13;
  letter-spacing: -0.014em;
  color: var(--pf-ink);
  text-wrap: balance;
}
.pf-cell:hover .pf-plate-title, .pf-cell.is-on .pf-plate-title, .pf-cell.is-picked .pf-plate-title { color: var(--c); }
.pf-plate-sub { display: block; margin-top: 7px; font-size: 12.5px; line-height: 1.42; color: var(--pf-muted); text-wrap: pretty; }

/* The terminal marks: a small square on the face the wire leaves and
   the face it arrives at. They are what makes a plate look wired rather
   than merely near a line. */
.pf-pin { position: absolute; width: 9px; height: 9px; background: var(--pf-paper); border: 1.5px solid var(--pf-line-2); transition: border-color 0.2s ease, background 0.2s ease; }
.pf-pin-in  { left: -5.5px; top: 22px; }
.pf-pin-out { right: -5.5px; bottom: 22px; }
.pf-cell.is-lit .pf-pin { border-color: var(--c); }
.pf-cell.is-on .pf-pin { background: var(--c); border-color: var(--c); }

.pf-legend-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: clamp(20px, 2.4vw, 30px) 0 0;
  font: 11px/1.6 var(--pf-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pf-muted);
}
.pf-legend-key b { display: inline-flex; align-items: center; gap: 7px; font-weight: 400; }
.pf-legend-key i { width: 12px; height: 12px; border: 1.5px solid var(--pf-line-2); font-style: normal; }
.pf-legend-key i.k-on { background: var(--pf-field); border-color: var(--pf-field); }
.pf-legend-key i.k-wire { width: 22px; height: 0; border: 0; border-top: 2px solid var(--pf-line-2); }
.pf-legend-key i.k-lit { width: 22px; height: 0; border: 0; border-top: 3px solid var(--pf-field); }


/* =====================================================================
   E. The picker
   The node is the control, three ways of showing what has been selected.

   THE WHOLE NODE SELECTS, which is the arrangement the archived basket
   prototype settled on: clicking a chevron, a label or a plate anywhere
   on its face puts it on the list, and a separate, deliberately smaller
   Read control opens it. Two controls per stage on purpose. One control
   doing both jobs gives you the version where every attempt to read
   something adds it to the list, and a reader who has opened four
   stages to see what they are ends up holding four they never chose.

   The select box is identical on all three drawings so the mechanic
   reads as one mechanic. What differs is where the selections collect,
   because the three drawings are three different shapes and a chip
   strip under a circle is a strip under a circle rather than part of
   it:

     chevron     a strip of chips under the band, running the same way
     donut       the hole in the middle, which becomes the selection
     schematic   a parts list, the way a real drawing carries one

   Nothing is totalled anywhere. The published durations run in hours,
   in ranges, as "TBD" and as blanks, and a sum of those is a number
   nobody published. Courses are counted because courses can be counted.
   ===================================================================== */

/* --- the select box --------------------------------------------------- */
/* Not a control of its own: it sits inside the node's own button and
   reports that button's state. State is legible without colour, an
   empty square being off and a filled square with a check being on. */
.pf-box {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  background: var(--pf-paper);
  border: 2px solid var(--pf-line-2);
  transition: background 0.16s ease, border-color 0.16s ease;
}
.pf-box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  width: 4px;
  height: 9px;
  border: solid var(--tick-mark, #fff);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg) scale(0);
  transition: transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);
}
[aria-pressed="true"] .pf-box { background: var(--c); border-color: var(--c); }
[aria-pressed="true"] .pf-box::after { transform: rotate(42deg) scale(1); }

/* The caption beside the box. It says what clicking the node does,
   which a bare checkbox on a node you are meant to click anywhere on
   does not. */
.pf-cap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 9.5px/1.4 var(--pf-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pf-muted);
  transition: color 0.16s ease;
}
[aria-pressed="true"] .pf-cap { color: var(--c); }

/* The second control. Deliberately small and deliberately not the node:
   reading about a stage and putting it on a list are different
   intentions, and the smaller of the two controls should be the one
   that only changes what is on screen. */
.fc-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 3px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font: 700 10px/1 var(--pf-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pf-field);
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.fc-read::after { content: '\2192'; }
.fc-read:hover { border-bottom-color: var(--pf-accent); }
.fc-read:focus-visible { outline: 2px solid var(--pf-field); outline-offset: 2px; }

/* A select toggle that is a real button in its own right, used only
   where there is no node to click: the hole in the middle of the donut
   while it is showing one part. */
.fc-tick {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 12px 0 0;
  background: none;
  border: 0;
  font: 700 9.5px/1.4 var(--pf-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pf-muted);
  cursor: pointer;
  transition: color 0.16s ease;
}
.fc-tick:hover { color: var(--pf-ink); }
.fc-tick:hover .pf-box { border-color: var(--c); }
.fc-tick[aria-pressed="true"] { color: var(--c); }
.fc-tick:focus-visible { outline: 2px solid var(--pf-field); outline-offset: -2px; }

/* --- the remove control, shared by all three lists ---------------- */
.pf-x {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--pf-line-2);
  color: var(--pf-muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.pf-x:hover { border-color: var(--pf-ink); color: var(--pf-ink); }
.pf-x:focus-visible { outline: 2px solid var(--pf-field); outline-offset: 2px; }

/* The line that says what is not being added up. It appears once per
   list and it is not an aside. */
.pf-honest {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--pf-muted);
  text-wrap: pretty;
}


/* ---------------------------------------------------------------------
   Chevron: the face selects, Read sits in the corner
   ------------------------------------------------------------------ */
.pf-chev-pick > .pf-cap { align-self: flex-start; }
/* On a label the caption is small enough to ride the top line with the
   part number, which is where the archived basket prototype had it. */
.pf-tag .pf-cap { font-size: 9px; letter-spacing: 0.12em; gap: 7px; }

/* Read rides on top of the pick button in the one corner of a chevron
   that is square on both axes: bottom left of the point. */
.pf-chev-read {
  position: absolute;
  z-index: 3;
  right: calc(var(--notch) + 10px);
  bottom: 8px;
}
.pf-chev:last-child .pf-chev-read { right: 14px; }

/* Against the solid tint of an open chevron the caption, the box and
   Read all have to invert or they disappear into it. */
.pf-chev.is-on .pf-cap { color: rgba(255, 255, 255, 0.88); }
.pf-chev.is-on .pf-box { background: transparent; border-color: rgba(255, 255, 255, 0.88); }
.pf-chev.is-on [aria-pressed="true"] .pf-box { background: #fff; border-color: #fff; --tick-mark: var(--c); }
.pf-chev.is-on .pf-chev-read { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.45); }
.pf-chev.is-on .pf-chev-read:hover { border-bottom-color: #fff; }

/* Stacked, the chevron points down and the bottom corner is inside the
   notch, so Read moves to the top right instead. */
@media (max-width: 860px) {
  .pf-chev-read, .pf-chev:last-child .pf-chev-read {
    top: calc(var(--notch) + 8px);
    right: 18px;
    bottom: auto;
  }
  .pf-chev:first-child .pf-chev-read { top: 12px; }
  .pf-chev-n { padding-right: 0; }
}

.pf-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: clamp(20px, 2.4vw, 30px) 0 0;
  padding: 12px clamp(14px, 1.8vw, 20px);
  background: var(--pf-plate);
  border-left: 4px solid var(--pf-field);
}
.pf-strip-count {
  font: 700 11.5px/1.6 var(--pf-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pf-field);
}
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 0 0 11px;
  background: var(--pf-paper);
  border: 1px solid var(--pf-line-2);
  border-left: 3px solid var(--c);
  font-size: 13px;
  line-height: 1.3;
  color: var(--pf-ink);
}
.pf-chip .pf-x { border: 0; }
.pf-strip-none { flex: 1 1 22ch; font-size: 13px; line-height: 1.55; color: var(--pf-muted); text-wrap: pretty; }
.pf-strip .pf-acts { margin: 0 0 0 auto; }
.pf-strip .pf-act { min-height: 40px; padding: 0 15px; font-size: 11.5px; }
.pf-strip .pf-honest { flex: 1 1 100%; }


/* ---------------------------------------------------------------------
   Donut: the hole becomes the selection

   The hole is small and it is not a panel you get to size: it is what
   the band left. So it holds the compact form of the selection, five
   numbered squares and a count, and the reading still goes under the
   ring. Ticking a square here and ticking the square on a label are the
   same control in two places, which is fine; what is not fine is a
   control that both reads and picks.
   ------------------------------------------------------------------ */
.pf-tag-read { margin-top: 1px; padding-left: 11px; }
.pf-ring-stage.is-on .pf-tag-read { color: var(--c); border-bottom-color: var(--c); }

.pf-nums {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.pf-num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--pf-paper);
  border: 1.5px solid var(--pf-line-2);
  font: 700 11.5px/1 var(--pf-mono);
  letter-spacing: 0.08em;
  color: var(--pf-muted);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.pf-num:hover { border-color: var(--c); color: var(--c); }
.pf-num:focus-visible { outline: 2px solid var(--pf-field); outline-offset: 2px; }
/* Filled is on and outlined is off, and the count line beside them says
   the same thing in words, so the fill is never the only carrier. */
.pf-num[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }

.pf-centre-count {
  margin: 12px 0 0;
  font: 700 11px/1.5 var(--pf-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pf-muted);
}
.pf-centre-count b { color: var(--pf-field); font-weight: 700; }
.pf-centre .fc-tick { justify-content: center; width: 100%; padding: 0; margin-top: 8px; }

/* The arc a chosen part wears on the outside of the band. The ring
   itself carries the selection, which is the one thing a ring can do
   that a row cannot. */
.pf-pickarc { fill: var(--c); pointer-events: none; }

/* The action line under the ring. It carries only the two things that
   will not fit in a circle: the sentence about totals and the way to
   send the selection to Peter. */
.pf-ringbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: clamp(18px, 2.2vw, 26px) 0 0;
  padding: 12px clamp(14px, 1.8vw, 20px);
  background: var(--pf-plate);
  border-left: 4px solid var(--pf-field);
}
.pf-ringbar .pf-honest { flex: 1 1 32ch; }
.pf-ringbar .pf-acts { margin: 0 0 0 auto; }
.pf-ringbar .pf-act { min-height: 40px; padding: 0 15px; font-size: 11.5px; }


/* ---------------------------------------------------------------------
   Schematic: a parts list, the way a drawing carries one
   ------------------------------------------------------------------ */
.pf-plate-pick .pf-cap { margin-bottom: 10px; padding-right: 46px; }
.pf-plate-foot { margin-top: 12px; padding-top: 3px; border-top: 1px dashed var(--pf-line-2); }
.pf-cell.is-on .pf-plate-read { color: var(--c); border-bottom-color: var(--c); }

/* This one opens the box over the board rather than a panel under the
   plate, so its arrow leaves instead of pointing along. */
.pf-plate-read::after { content: '\2197'; transition: transform 0.2s ease; }
.pf-plate-read:hover::after { transform: translate(2px, -2px); }

.pf-bom {
  margin: clamp(20px, 2.4vw, 30px) 0 0;
  background: var(--pf-paper);
  border: 1.5px solid var(--pf-ink);
  box-shadow: 4px 4px 0 rgba(16, 88, 170, 0.08);
}
.pf-bom-h {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 12px clamp(14px, 1.8vw, 20px);
  background: var(--pf-plate);
  border-bottom: 1.5px solid var(--pf-ink);
}
.pf-bom-h b { font: 700 11px/1.6 var(--pf-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--pf-ink); }
.pf-bom-h span { font: 11px/1.6 var(--pf-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--pf-muted); }
.pf-bom table { width: 100%; border-collapse: collapse; }
.pf-bom th {
  padding: 9px clamp(12px, 1.6vw, 18px);
  font: 700 9.5px/1.5 var(--pf-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: left;
  color: var(--pf-muted);
  border-bottom: 1px solid var(--pf-line-2);
  white-space: nowrap;
}
.pf-bom td {
  padding: 10px clamp(12px, 1.6vw, 18px);
  border-bottom: 1px solid var(--pf-line);
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.45;
  color: var(--pf-ink);
  text-wrap: pretty;
}
.pf-bom tbody tr:last-child td { border-bottom: 0; }
.pf-bom .pf-bom-no {
  border-left: 4px solid var(--c);
  font: 700 11px/1.6 var(--pf-mono);
  letter-spacing: 0.12em;
  color: var(--c);
  white-space: nowrap;
}
.pf-bom .pf-bom-n { font: 11.5px/1.6 var(--pf-mono); letter-spacing: 0.05em; color: var(--pf-muted); white-space: nowrap; }
.pf-bom .pf-bom-x { width: 1%; padding: 4px 8px; text-align: right; }
.pf-bom-empty { padding: 16px clamp(14px, 1.8vw, 20px); font-size: 14px; line-height: 1.55; color: var(--pf-muted); text-wrap: pretty; }
.pf-bom-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 14px clamp(14px, 1.8vw, 20px);
  border-top: 1.5px solid var(--pf-ink);
  background: var(--pf-plate);
}
.pf-bom-foot .pf-honest { flex: 1 1 34ch; }
.pf-bom-foot .pf-acts { margin: 0 0 0 auto; }
.pf-bom-foot .pf-act { min-height: 40px; padding: 0 15px; font-size: 11.5px; }

/* A four column table in a phone's width is four words a line. The rows
   become blocks instead, which is the same information in the order the
   header would have given it. */
@media (max-width: 640px) {
  .pf-bom table, .pf-bom tbody, .pf-bom tr, .pf-bom td { display: block; width: 100%; }
  .pf-bom thead { display: none; }
  .pf-bom tbody tr {
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid var(--pf-line);
    border-left: 4px solid var(--c);
  }
  .pf-bom tbody tr:last-child { border-bottom: 0; }
  .pf-bom td { padding: 2px clamp(12px, 1.6vw, 18px); border-bottom: 0; }
  .pf-bom .pf-bom-no { border-left: 0; }
  .pf-bom .pf-bom-x { position: absolute; top: 8px; right: 6px; width: auto; padding: 0; }
  .pf-bom .pf-bom-title { padding-right: 56px; }
}

/* The key gains the one mark the drawing gained. It is a shape and not a
   colour, so it survives being printed in grey. */
.pf-legend-key i.k-sel { position: relative; }
.pf-legend-key i.k-sel::after {
  content: '';
  position: absolute;
  left: 2.5px;
  top: -0.5px;
  width: 3px;
  height: 7px;
  border: solid var(--pf-field);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* The heading on a reading that has been pushed out from under a ring.
   It was an inline style in flowcharts.html and is a class here because
   two drawings now set it. */
.pf-outside-h {
  margin: 8px 0 14px;
  font-family: var(--pf-disp);
  font-weight: 700;
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--pf-ink);
  text-wrap: balance;
}
