/* The house's messages on the Office, on every page drawn or not yet (7 Nov 2026). said.css is on every surface, so it names
   no face, no ground and no act's shape: it asks, this sheet answers, and no other surface loads it, so they keep their own
   through said.css's fallbacks. designs/_faces.html loads it for the frame, and admin/base_site.html for the admin, where
   faces.css cannot stand: Django's frame draws `.clear` on every page, and faces.css's list would take that for Clearance
   and turn the whole admin. */
body {
  /* A message is a sentence, in Lato at 400 (the Calendar's faces read found them still in Manrope, a week after it was
     struck). Lato loads 400 and 700 only, so a 500 is a 400 and a 600 paints a heavy 700. */
  --said-face: "Lato", "House Rupee", "Segoe UI", system-ui, sans-serif;
  --said-weight: 400;
  /* A Yes and a No are the house's acts (house.css, .hl-act), where they stood 36 in a pill: the serif at 400 and .95rem,
     the 8px corner and a thumb's 44. Yes is the page's one burgundy act; No wears the rule's edge and the ink, so the
     question, its Yes and its No are not three burgundy things in a row. */
  --said-act: "Source Serif 4", "Times New Roman", Times, serif;
  --said-act-height: 44px;
  --said-act-corner: 8px;
  --said-act-size: .95rem;
  --said-act-weight: 400;
  --said-act-edge: var(--rule);
  --said-act-ink: var(--ink);
  /* A stop is ivory with a burgundy edge (Vikrant chose it, 7 Nov 2026): rose on the Office means chosen, the same rose to
     the digit as the tab and the desk you stand on, so a refusal wore the mark for "you are here". */
  --said-stop-ground: var(--surface);
  --said-stop-edge: var(--wine);
  --said-stop-ink: var(--wine);   /* one burgundy with its edge and its cross: the deeper one was for reading on rose */
  /* A refusal has one look, the stop's (Vikrant, 16 Nov 2026: "One look, the server's"): a not done wore ink words and a
     wine dot (Melts' *Tick a melt first.*), where the stops wore wine words and none. It keeps its going, as a slip. */
  --said-no-ink: var(--said-stop-ink);
  --said-no-mark: none;
  --said-no-columns: minmax(0, 1fr) auto;
  --said-no-gap: 12px;
  --said-no-inset: var(--said-stop-inset);
  --said-no-size: .92rem;
  --said-stop-inset: 16px;
  /* A notice in the page reads by its edge alone, as a card does (Vikrant, 16 Nov 2026: "Drop it on a phone"): the lift
     it wore floating over the page shaded the edge of the card below and left a grey band while a slip folded away. No
     notice floats on the Office now, so none wears one. */
  --said-slip-lift: none;
  --said-stop-lift: none;
  /* A slip keeps its hold and its slide, and draws no time left. In a still the band read as a lip on the foot, and moved
     inside the slip as a thread beneath the words; a closed loop has nothing to count down to. */
  --said-clock: none;
  /* Across a counter a slip says its kind by its edge, with no fill: done the house's green, not done the stop's burgundy,
     said for knowing the rule's sand. The dot alone left a done unseen from a metre, and green and walnut one darkness. */
  --said-done-edge: var(--green);
  --said-no-edge: var(--wine);
  /* A sentence that turns a line turns it evenly, so no word stands alone beneath it. A number keeps its word by a
     no-break space, which CSS cannot do, so said.js lays it in the browser on a page that answers --said-long. What it holds
     can outrun a phone in larger type, and a slip hides what runs past it, so a held run may break where nothing else can. */
  --said-wrap: balance;
  --said-long: anywhere;
  /* The dot and the cross grow with the type, as the sentence beside them does: 8 and 18 at the browser's own size. */
  --said-dot: .5rem;
  --said-cross: 1.125rem;
  /* The one green (house.css). board.css sets --fine back to the older one on every page not yet redrawn, so a done slip
     wore two greens on the Office. */
  --said-done: var(--green);
  /* Done is a tick, not a dot (Vikrant, 7 Nov 2026): four blind readers found a done and a no parted by colour alone, which a
     glance across a counter cannot read and a red-green-blind member cannot read at all. Every slip keeps the tick's room,
     so in a stack, which stands one width, its words start on one edge; a not done, drawn as a stop, starts where a stop's do. */
  --said-tick: 1.05rem;
  --said-tick-corner: 0;
  --said-tick-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E");
}

/* The house's notices stand in the work at every width, never over it (Vikrant's choices, 15 Nov 2026: "Notices on a phone
   (Recommended)", and 16 Nov 2026: "Yes, a branch after this (Recommended)", the same rule at every width). On a phone the
   slip in the corner stood over the page's title and its acts, and the stop at the foot over its fields and its list (the
   readers of Melts and New memo); beside the work the stop at the foot stood over New memo's Cancel and Out on a memo at
   1493 in larger type, and over the review's Approve selected and Tick all, until it was closed. So the notices stand in
   the page's flow, at the head of where the reader is (said.js): at the page's head, in its own column before its title;
   before the part a page lands at, or under that part's own head; before the form or row whose act the page's script
   answers. A slip still holds and goes, folding as it goes so the page rises under it rather than jumps; a stop still
   stays until it is closed, and so does a not done, which wears the stop's look ("Stays until closed (Recommended)",
   16 Nov 2026: a wine notice stays until she closes it, a green one folds). Nothing covers an act, a sticky foot's or a
   rail's. */
body {
  --said-place: static;
  --said-warning: stays;     /* said.js keeps no clock for a not done */
  --said-slips-width: auto;
  --said-stop-width: auto;   /* the bar across the stack, now the stack's width, which no scrollbar can outrun */
  --said-gutter: 16px;       /* a page with no title keeps them first in the work: the phone's edge, the bar's (shell.css) */
  /* One room above a notice and below it, wherever it stands, the house's room between batches (Vikrant, 16 Nov 2026,
     "One gap everywhere (Recommended)": "Every notice keeps the house's batch gap above and below, wherever it stands:
     before a part, a row or a button"). A batch's 4 between the last notice and its part left the review's stop 4 over Approve selected, its edge all but
     on the button's, 9 over the memo's chips, and 8 over Custody's card in larger type, wedged 10 under its head (the
     fresh reader, 16 Nov 2026). Under a head the room is measured from its words (said.js). */
  --said-room: var(--between-batches);
  /* One room between notices: 8 between slips, 16 before a stop and 8 between stops read as a slip of the hand, not as two
     groups (the blind reader, 15 Nov 2026). The notices said together are one batch, so the room is the batch's own, 4,
     never the 16 that parts one batch from the next: at 16 a title 16 under them read as one more notice (the fresh
     reader, 16 Nov 2026). In a holder it is every notice's own margin, the first's too, so a slip that folds away leaves
     the one under it where it stood; the grid's gap goes, since a gap stays until the slip has gone. */
  --said-between: var(--in-a-batch);
  --said-slips-gap: 0px;
  /* At the page's head the notices take the page's own room under the bar, and its title keeps its own below them, the
     room every title has (--above-the-title): 16 under the bar and the page's 32 over its title left a stop the bar's, not
     the page's (a blind reader of Send a bill, 16 Nov 2026: 16 under the rule and 38 over the title's words), and a title
     a batch's 16 under them, the room between two notices, read as one more of them (the fresh reader, the same day).
     So the notices stand 4 apart and the title 32 below the last, eight times the room between them. */
  --said-to-the-title: var(--above-the-title);
  --said-stop-shift: none;   /* centred by nothing, so never pulled half off the screen at its arrival or after */
  --said-stop-arrive: slip-in;
  --said-slip-leave: slip-fold;
  /* What only a floating notice asks, the bar it clears, the rail it centres beside, the corner it stands in and how wide
     it floats: in the work there is none of these, so nothing is allowed for. */
  --said-bar: var(--topbar, 76px);
  --said-rail: 0px;
  --said-slips-edge: 16px;
  --said-stop-most: none;
  --said-slip-width: auto;
  --said-slip-side: auto;
  --said-stack-columns: minmax(0, 1fr);   /* a phone's stack across the work, as wide as its holder */
}
/* In a stack that holds a marked slip (a done's tick, a said's dot), every notice's words start where the marked slip's
   do, the mark's room kept in each one's inset: a stop's words stood 24 nearer its edge than a done's above it, two left
   edges in one stack (the fresh reader, 16 Nov 2026). said.js marks the holder while one stands in it, folding too, and
   takes the mark off in the frame the last leaves the page, so a warning left alone starts where a lone one does ("Close
   up as the slip folds (Recommended)", 16 Nov 2026). */
[data-said-marked] { --said-stop-inset: calc(14px + var(--said-tick) + 10px); --said-no-inset: var(--said-stop-inset); }

/* Beside the work a lone notice is as wide as its own words, flush with the page's column, no wider than the stop at the
   foot stood, 720, so a long sentence still turns where it is read: 720 of bar for a sentence of 264 left the cross 400px
   from it (the fresh reader, 16 Nov 2026). In a stack every notice takes the width of the widest, still no wider than 720,
   so its right edge is even, as on a phone (Vikrant, 16 Nov 2026, "One width, the widest's (Recommended)": "In a stack,
   every notice takes the width of the widest one (still at most 720px), so the right edge is even, as on a phone. A
   lone notice keeps its own width"): each its own width, a stack's right edge jagged in four steps (the fresh reader, the same day). The holder's one column is as wide
   as the widest notice in it, and every notice in it stands across that column, whatever the holder's own width: across
   the row whose rule it takes, or a field's cell. A phone keeps the stack across the work. */
@media (min-width: 768px) {
  body {
    --said-stack-width: fit-content;
    --said-stack-most: 720px;
    --said-stack-columns: fit-content(720px);
    --said-slip-width: fit-content;
    --said-slip-side: start;
    --said-stop-width: fit-content;
    --said-stop-most: 100%;
    /* A sentence that turns a line turns it evenly at every width (Vikrant, 16 Nov 2026: "Even lines (Recommended)").
       A box is measured before its lines turn, so even lines left a box as wide as its sentence on one line, a slip a
       third empty (a blind reader, 7 Nov 2026), and pretty, which beside the work filled it, left a 555 line over a 130
       tail (*so press it again*). So the lines stay even, and said.js closes the box on its widest even line (--said-fit). */
    --said-fit: lines;
  }
  [data-said-here] { --said-slip-width: auto; --said-slip-side: stretch; --said-stop-width: auto; }
}
