/* CalyProof, task 1.13a. Mobile first, in the house palette.
 *
 * MOBILE FIRST IS LITERAL HERE. Every rule outside a media query is the phone. The only media
 * query widens things for a larger screen, so a phone parses no overrides and there is no width
 * at which the layout is "the desktop one, squeezed". The task is called mobile first and the
 * daily pass is measured on a phone.
 *
 * THE PALETTE IS THE HOUSE ONE AND THE TYPEFACES ARE CALYPROOF'S OWN, deliberately, so the
 * two read as family rather than as the same thing.
 *
 * THE COLOUR RULE, WITH ITS BOUNDARY STATED. Corrected 3 September 2026.
 *
 * NAVY CARRIES WORDS. Every sentence on every screen is navy or ink.
 *
 * GOLD MAY CARRY TEXT ONLY AT 24px, OR AT 18.66px WHEN THE WEIGHT IS 700 OR MORE, AND NEVER
 * OTHERWISE. Anything below that boundary is body text and takes navy.
 *
 * The numbers behind it: #C49A3C on cream is 2.0:1, which is not readable text at any size, it is
 * decoration shaped like letters, so it rules lines and marks the active thing and is never text.
 * #A67C1F on cream is 3.37:1, which clears the 3:1 that WCAG asks of large text and does not clear
 * the 4.5:1 it asks of body text. **Large is not a feeling.** It is 24px, or 18.66px at weight 700
 * or more, and those two numbers are the whole rule.
 *
 * WHY THE BOUNDARY IS WRITTEN OUT NOW. The earlier version of this said "large text" without
 * saying what large meant, and the result was `.card-action` at 1.15rem and weight 600. That is
 * 18.4px, because a rem is the root font size and the root is 16px, and 600 is not 700. So the one
 * place in this product where gold carries words was carrying them below both thresholds, at a
 * ratio that fails, for a month.
 *
 * SIX TESTS WERE WATCHING AND NONE OF THEM COULD HAVE CAUGHT IT, because they read hex values out
 * of this file and counted which selectors used them, and **a size and a weight are not a hex
 * value**. It was found by task 1.13g, the first time a browser rendered the page, which measures
 * every word against the background actually behind it and picks its threshold from the size and
 * weight the browser reports. Those six tests are deleted rather than kept alongside.
 */

:root {
  --ink: #08131f;
  --navy: #0d1e2f;
  --gold: #c49a3c;
  --gold-deep: #a67c1f;
  --cream: #f5f1e8;
  --paper: #fdfcfa;
  --slate: #7a8c9e;

  /* Live, from the calendar drawing's own legend. Added when a structural walk found that the
   * four display states all rendered with the same slate edge, because three of the four had no
   * rule at all. A fill and an edge, never text: #2f7d52 on cream is 4.0:1, which is under the
   * 4.5:1 body text needs and is the same reason the bright gold does not carry words. */
  --live: #2f7d52;

  /* The font files are not bundled yet, so what renders today is the fallback. Named anyway,
   * because the stack is the decision and shipping the files is a separate, dull piece of work
   * that the 1.13a record names as owed. */
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Not smaller than this, ever. A finger is about nine millimetres and the daily pass is a list
   * of things to tap. */
  --tap: 44px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}

main {
  padding: 1rem 1rem 4rem;
  max-width: 44rem;
  margin: 0 auto;
}

h1 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0.5rem 0 1rem;
  color: var(--navy);
}

h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

/* ------------------------------------------------------------------ the shell */

.shell-header {
  background: var(--navy);
  color: var(--cream);
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  border-bottom: 2px solid var(--gold);
}

.brand {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin-right: auto;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--cream);
}

.workspace {
  color: var(--cream);
  font-size: 0.9rem;
  opacity: 0.85;
}

nav {
  display: flex;
  gap: 0.25rem;
  /* WRAPPING, BECAUSE THE FIRST TIME A BROWSER RENDERED THIS PAGE IT WAS 534 PIXELS WIDE.
   *
   * Six navigation links in a row that could not wrap made every screen in the product scroll
   * sideways on a 390 pixel phone, and had done since the navigation existed: five links were
   * already too wide before Settings was added in 1.13f. The header around it has said
   * `flex-wrap: wrap` from the start and this did not, which is the whole bug.
   *
   * It was found by task 1.13g on the first page it rendered. Nothing else could have found it:
   * the stylesheet asserts that every rule outside a media query is the phone, which was true,
   * and being written mobile first is not the same as fitting. */
  flex-wrap: wrap;
}

.nav-link {
  color: var(--cream);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}

.nav-link.current {
  background: var(--ink);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.link-button {
  background: none;
  border: 1px solid var(--slate);
  /* CREAM UNTIL A BROWSER RENDERED IT, WHICH MADE ONE OF THEM INVISIBLE.
   *
   * This is the sign-out button in the navy header, where cream is right, and since 1.13f it is
   * also the Remove button on the member list, where the card behind it is cream: cream on cream,
   * measured at 1:1, which is text nobody can see. Found by task 1.13g on the first render.
   *
   * `inherit` takes the colour of whatever the button is sitting in, which is cream in the header
   * and ink on a card, and is right in both without either place having to know about the other. */
  color: inherit;
  font: inherit;
  min-height: var(--tap);
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
}

/* ------------------------------------------------------------------ the cards */

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.card {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  background: var(--cream);
  border-left: 4px solid var(--slate);
  text-decoration: none;
  color: var(--ink);
  min-height: var(--tap);
}

.card.yours {
  border-left-color: var(--gold);
  background: var(--cream);
}

.card.live {
  border-left-color: var(--slate);
  background: var(--paper);
}

/* THE DEEPENED GOLD IS LARGE TEXT, AND LARGE HAS TWO NUMBERS IN IT.
 *
 * #a67c1f on cream measures 3.37:1, which clears the 3:1 WCAG asks of large text and not the
 * 4.5:1 it asks of body text. So the deep gold is allowed exactly where it is large, and large
 * means **24px, or 18.66px at weight 700 or more**. See the boundary at the top of this file.
 *
 * THIS PARAGRAPH USED TO SAY "1.15rem at 600 weight is 19.6px bold on a phone", and both halves
 * of that were wrong. 1.15rem is 18.4px, because a rem is the root font size and the root is
 * 16px rather than the 17px this file sets on `body`. And 600 is not bold: the guideline's bold
 * is 700. So the sentence read as arithmetic and was arithmetic done twice incorrectly, which is
 * a good deal worse than a guess, because it looks checked.
 *
 * The rule below is 1.25rem at 700 now, which is 20px and bold, and clears the boundary by the
 * same arithmetic that used to be an assumption. It carries the one line on each card that says
 * what to do, and it never carries a sentence: every explanation is navy on cream at 8.9:1. */
.card-action {
  font-family: var(--serif);
  /* 1.15rem AND 600 WAS NOT LARGE TEXT, AND THE WHOLE GOLD ARGUMENT DEPENDS ON IT BEING LARGE.
   *
   * The comment above says #a67c1f measures 3.37:1, which clears WCAG AA for large text at 3:1 and
   * does not clear the 4.5:1 that body text needs. True, and this rule was neither: WCAG's
   * definition of large is 24px, or 18.66px when bold, and 1.15rem at weight 600 is 18.4px and not
   * bold. So the one place in the product where gold carries words was carrying them at a ratio
   * that fails.
   *
   * Nothing could see it. The stylesheet-value tests compared hex values and counted selectors,
   * and a size and a weight are not a hex value. Task 1.13g asked a browser and it fell out on the
   * first page.
   *
   * 1.25rem is 20px and 700 is bold, which is large by the definition, so 3.37:1 is now a pass by
   * the same arithmetic that used to be an assumption. */
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-deep);
}

.card-action.quiet {
  color: var(--navy);
}

.card-text {
  color: var(--ink);
}

.card-why {
  color: var(--navy);
  font-size: 0.92rem;
}

.card-meta {
  color: var(--navy);
  font-size: 0.85rem;
}

.calm {
  color: var(--navy);
}

.error {
  color: var(--ink);
  background: var(--cream);
  border-left: 4px solid var(--gold-deep);
  padding: 0.75rem 1rem;
}

/* ------------------------------------------------------------------ forms */

button {
  font: inherit;
  min-height: var(--tap);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--cream);
}

input {
  font: inherit;
  min-height: var(--tap);
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--slate);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
}

label {
  display: block;
  margin: 1rem 0 0.35rem;
  color: var(--navy);
}

/* A SENTENCE THAT BELONGS TO THE FIELD ABOVE IT, NOT TO THE PAGE.
 *
 * `p` carries a paragraph's own margins, so the first hint written into a form pushed its input a
 * whole line away from its label and left the label floating between two fields. **Seen in the
 * blessed picture rather than reasoned about**, which is what the pictures are for: the markup was
 * correct and the screen was wrong.
 */
.field-hint {
  margin: 0 0 0.5rem;
}

.trash-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  padding: 0.75rem 1rem;
  border-radius: 6px;
}

.row {
  list-style: none;
}

/* ------------------------------------------------------------------ wider screens
 *
 * The only media query, and it only ever widens. A phone never parses these rules.
 */

@media (min-width: 40rem) {
  body {
    font-size: 18px;
  }

  main {
    padding: 2rem 2rem 5rem;
  }

  h1 {
    font-size: 2rem;
  }
}


/* ------------------------------------------------------------------ the approval view
 *
 * THE COLOUR RULE, WITH ITS BOUNDARY. Corrected 2 September, corrected again 3 September.
 *
 * Navy carries words. Every sentence on every screen is navy or ink on cream or paper.
 *
 * Gold may carry text only at 24px, or at 18.66px when the weight is 700 or more, and never
 * otherwise. Below that boundary it is body text and takes navy. #c49a3c measures 2.0:1 and is
 * never text at any size: it rules lines and marks the active thing.
 *
 * The 2 September version of this said "legitimate for large text" without saying what large is,
 * and the rule it was defending was 18.4px at weight 600, which is under both numbers. Stating a
 * threshold without its value is how a rule gets enforced against the wrong thing for a month.
 *
 * WHAT ENFORCES IT NOW is task 1.13g, which renders every page and measures every word against
 * the background actually behind it, choosing the threshold from the size and weight the browser
 * reports. The tests that used to pin colours by place in this file are deleted: pinning the place
 * caught a colour moving to the wrong element, which was real, and could never have caught the
 * element itself being too small, which was also real.
 */

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0.25rem 0 0;
}

.going-out {
  /* When it goes out, on the screen where somebody decides whether to let it. Navy, because it is
   * a sentence. */
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.state-detail {
  margin-top: 0;
}

.preview {
  background: var(--paper);
  border: 1px solid var(--slate);
  border-radius: 6px;
  padding: 1rem;
}

.preview-text {
  margin: 0;
  color: var(--ink);
  white-space: pre-wrap;
}

.preflight {
  margin-top: 1.5rem;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.check {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.9rem;
  background: var(--cream);
  border-radius: 6px;
  border-left: 4px solid var(--slate);
}

.check-badge {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.check-badge.standing {
  color: var(--ink);
  font-weight: 600;
}

.check-detail {
  color: var(--navy);
}

.edit {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.35rem;
}

textarea {
  font: inherit;
  width: 100%;
  min-height: 8rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--slate);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
}

.actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.approve {
  /* IT CARRIES ITS OWN COLOUR, BECAUSE IT IS NOT ALWAYS A BUTTON.
   *
   * `button` sets `color: var(--cream)`, and this rule set a dark background and relied on that.
   * On a `<button>` it works. On an `<a>` nothing sets the colour, so it inherited the page's
   * navy on an ink background: **1.99:1 against the 4.5:1 the contrast floor requires**.
   *
   * It was wrong on exactly two screens, and both are `<a class="approve">`: "Start here" on the
   * page that hands a new owner their token, and "Go to the workspace" on the page an invited
   * person lands on. Task 1.13g's contrast check would have caught it the day it was written, and
   * could not, because no walk over GET routes can reach the body of a POST response. It was found
   * within a minute of task 1.13i bringing those screens into the checks.
   *
   * Same lesson as `a.card-approve` above: a link used as a button has to be a button in every
   * respect, and inheriting one of them from context is how it stops being one somewhere else. */
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  box-shadow: inset 0 -3px 0 var(--gold);
}

a.approve {
  /* AND IT HAS TO BE A BUTTON'S SHAPE, NOT ONLY ITS COLOUR.
   *
   * `.approve` above borrowed its padding, height and lack of underline from `button`, so an `<a>`
   * carrying it was a 26 pixel underlined chip with a dark background. **The tap target check did
   * not object, and was right not to**: it exempts inline links in a sentence, which is WCAG
   * 2.5.8's own exemption, and an anchor with no `display` is inline. The exemption was correct and
   * the rule was wrong.
   *
   * Made a block, it stops being exempt and the 44 pixel floor applies to it like any other
   * control, so the check can see it from now on.
   *
   * This is the third time in this stylesheet: `a.card-approve` in 1.14, and both `<a
   * class="approve">` links here. A link used as a button has to be a button in every respect. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--ink);
  text-decoration: none;
}

.back {
  display: inline-block;
  margin-top: 2rem;
  color: var(--navy);
  min-height: var(--tap);
}


/* ------------------------------------------------------------------ Approve, on the card
 *
 * The button sits below the card rather than inside the link, because a form inside an anchor is
 * not markup a browser agrees about, and because the two are different acts: one opens the post,
 * the other approves it without opening it.
 */

.card-actions {
  margin: 0.4rem 0 0;
}

.card-approve {
  width: 100%;
  /* A LINK USED AS A BUTTON HAS TO BE A BUTTON'S SIZE.
   *
   * This rule was written in 1.13b for a `<button>`, which brings its own padding and cleared the
   * 44 pixel minimum without being asked. Task 1.14 uses the same class on an `<a>` for the "Do
   * this" control on the onboarding steps, and an anchor is 26 pixels tall: text height and
   * nothing else.
   *
   * Caught by 1.13g's tap target check on the first render of the new screen, which is what that
   * task was landed before this one for. */
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.write-a-post {
  /* THE WAY TO START WRITING.
   *
   * On Today rather than on the onboarding checklist, because the checklist is a list of things
   * that get finished and writing is a thing a person does again. Until task 1.16 it lived only
   * there, so once the first post existed the control vanished and there was no way to write a
   * second one at all. */
  display: block;
  margin-bottom: var(--gap, 1rem);
}

.card-approve-form {
  /* THE STEP THAT DOES SOMETHING RATHER THAN GOING SOMEWHERE.
   *
   * Writing the first post makes a slot, so it is a POST, so it is a form. It was an `<a>` until
   * task 1.16, which meant clicking the third step of the onboarding checklist fetched a
   * POST-only route with GET and returned 405 in any browser. Nothing caught it: every test
   * posted to the route directly, and the structural walk renders this screen in the one state
   * where the step is already done and the control is not drawn at all.
   *
   * The form itself must not change the layout the step already has, so it lays out as the
   * anchor did and the button inside it carries the appearance. */
  display: block;
  width: 100%;
}

a.card-approve,
.card-approve-form button.card-approve {
  /* AND IT HAS TO LOOK LIKE ONE.
   *
   * The first version of the onboarding steps drew "Do this" as a bare link: the right size, and
   * the browser default blue with no underline, which reads as text rather than as something to
   * press. On the one screen in the product whose whole job is somebody finding their way with
   * nobody sitting next to them, a control that does not look like a control is the defect.
   *
   * Same as a button, because it does the same thing. */
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--cream);
  padding: 0.5rem 1rem;
}

.clip-note {
  font-style: italic;
}


/* ------------------------------------------------------------------ the calendar and composer
 *
 * Words are navy or ink. Gold rules the marker on the entry the scheduler would take, which is a
 * fill and not a letter.
 */

.legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1rem;
}

.legend-item {
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--cream);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.week {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.day-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 0.4rem;
}

.day-entries {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.entry {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.9rem;
  background: var(--cream);
  border-radius: 6px;
  border-left: 4px solid var(--slate);
  text-decoration: none;
  min-height: var(--tap);
}

/* THE FOUR DISPLAY STATES, EACH WITH AN EDGE, AS THE CALENDAR DRAWING HAS THEM.
 *
 * `app.web._calendar_entry` writes the state on to every entry as a class and has done since
 * 1.13c. Only `yours` had a rule, so draft, scheduled and live were all the default slate and the
 * calendar drew three states identically. Nothing caught it: every test read the state out of the
 * `.entry-state` span, which is words, and the class is the part a person sees at a glance.
 *
 * Found by the structural walk over the screens, which is the first thing here to ask whether a
 * class in the markup exists in the stylesheet. The colours are the drawing's own legend.
 */
.entry.draft {
  border-left-color: var(--slate);
}

.entry.scheduled {
  border-left-color: var(--navy);
}

.entry.yours {
  border-left-color: var(--gold);
}

.entry.live {
  border-left-color: var(--live);
}

.entry-time {
  color: var(--ink);
  font-weight: 600;
}

.entry-slot {
  color: var(--ink);
}

.entry-state {
  color: var(--navy);
  font-size: 0.85rem;
}

.entry-taken {
  color: var(--navy);
  font-size: 0.85rem;
}

.entry-not-taken {
  color: var(--navy);
  font-size: 0.85rem;
}

.inherited {
  background: var(--cream);
  border-radius: 6px;
  padding: 0.9rem 1rem;
  margin: 1rem 0;
}

.rejected-panel {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 0.9rem 1rem;
  margin: 1rem 0;
}

select {
  font: inherit;
  min-height: var(--tap);
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--slate);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
}

/* ------------------------------------------------------------------ containers that had no rule
 *
 * Every class below was already in the markup and defined nowhere, which the structural walk
 * found. They are containers, so the fix is the smallest honest rule for each rather than a
 * redesign: a name in the markup that styles nothing is either a mistake or a decision, and it
 * cannot be told which until somebody writes the rule down.
 */

.day {
  /* A grid column that will not be forced wider by a long slot title. */
  min-width: 0;
}

.day.empty .day-name {
  /* SLATE FOR ONE DAY, AND IT WAS 3.37:1 AGAINST THE PAPER BEHIND IT.
   *
   * Added in 1.13f to make an empty day read as quieter than a full one. Slate is a border and a
   * marker colour in this palette and it had never carried words before; at 16.8px it needs 4.5:1
   * and gives 3.37:1, which is the same number the gold gives and fails for the same reason.
   *
   * The date stays navy. An empty day is already visibly empty, because it says so underneath,
   * and dimming a date until it is hard to read is not a way of saying anything. */
  color: var(--navy);
}

.needs-you {
  margin: 0 0 1.5rem;
}

.needs-you.clear {
  /* Nothing waiting is good news and should not shout. */
  color: var(--navy);
}

.trash-group {
  margin: 0 0 1.5rem;
}

.as-it-appears {
  margin: 0 0 1.5rem;
}

.sign-in {
  display: grid;
  gap: 0.5rem;
  max-width: 24rem;
}

.sign-out {
  /* In the header, beside the navigation, not stacked under it. */
  margin: 0;
}

/* ------------------------------------------------------------------ settings, task 1.13f */

.settings-zone {
  margin: 0 0 2rem;
}

.settings-members {
  margin: 0;
}

.settings-invite {
  /* HOW A SECOND PERSON IS ASKED TO JOIN.
   *
   * Under the list of who is here, because that is where somebody notices a person is missing.
   * Item 5 of the v0.1.0 gate: until it existed the only way to invite anybody was the API, so a
   * product whose whole argument is that a second person approves the first person's work needed
   * one of them to use curl. */
  margin-top: var(--gap, 1rem);
}

.now {
  /* THIS WAS DEEP GOLD FOR ABOUT A MINUTE AND FIVE TESTS REFUSED IT.
   *
   * The argument for gold was that this is the one large thing the section says. The argument
   * against, which wins, is the boundary: gold may carry text only at 24px, or at 18.66px when the
   * weight is 700 or more. This is 1.3rem at weight 400, which is 20.8px and not bold, so it is
   * body text and takes navy.
   *
   * **The 2 September version of this comment said "gold never carries words at any size", which
   * was the right decision reached through a wrong rule.** Gold does carry words, on exactly one
   * rule, above the boundary. Saying it never does made this look like a special case rather than
   * an application of a threshold, and a rule stated wrongly is a rule the next person applies
   * wrongly somewhere else. */
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--navy);
  margin: 0.25rem 0 1rem;
}

.members {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.member {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0.9rem;
  background: var(--cream);
  border-radius: 6px;
  border-left: 4px solid var(--navy);
}

.member.revoked {
  /* Still shown, and visibly no longer here. A list that hides them cannot answer "did that
   * removal actually take". */
  background: var(--paper);
  border-left-color: var(--slate);
}

.member-name {
  color: var(--ink);
  font-weight: 600;
}

.member-email {
  color: var(--navy);
  font-size: 0.9rem;
}

.member-role {
  color: var(--navy);
  font-size: 0.85rem;
}

.member-standing {
  color: var(--navy);
  font-size: 0.85rem;
}

.member-remove {
  margin: 0.3rem 0 0;
}

/* ------------------------------------------------------------------ the upload form, task 1.13h

   The one form in the product that carries a file. It sits under the list rather than above it,
   because the Library is opened to look at what is there far more often than to add to it. */

.upload {
  margin: 2rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--gold);
}

.post-media {
  margin: 0 0 1.5rem;
}

.media-choice {
  display: grid;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
}

/* ------------------------------------------------------------------ onboarding, task 1.14

   Four steps on one card each, and a done one is quieter rather than gone: somebody halfway
   through wants to see what they have already finished, and a list that shrinks as you work is a
   list that stops telling you where you are. */

.step {
  border-left-color: var(--gold);
}

.step.done {
  border-left-color: var(--slate);
  background: var(--paper);
}

.token-once {
  /* The one credential this product ever renders, once. Monospace because it gets copied, and
     bordered because it has to be findable on the page a second after it is read. */
  font-family: ui-monospace, "Cascadia Mono", "Consolas", monospace;
  font-size: 1rem;
  word-break: break-all;
  padding: 0.75rem;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--cream);
  color: var(--ink);
}

.helper-notes { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line, #ccc); }

