/* The frame (tools/synthflow-type/frame.py): what every page type shares. A section's text starts where its head's
   lead starts (Section head's columns: 560, 80, then the lead), and a surface runs the container's width. */
:root { --fr-left: calc(var(--space-9) * 6 - var(--space-4)); --fr-gap: calc(var(--space-8) + var(--space-4)); }   /* Section head's own columns: 560 and 80 */
.fr-flow { display: grid; grid-template-columns: minmax(0, var(--fr-left)) minmax(0, 1fr); column-gap: var(--fr-gap); row-gap: var(--space-7); align-items: start; }
.fr-flow > * { grid-column: 1 / -1; min-width: 0; margin: 0; }
.fr-flow > .fr-title { grid-column: 1; text-wrap: balance; overflow-wrap: break-word; scroll-margin-top: var(--space-8); }
.fr-flow > :is(.fr-text, .fr-fold, .post-steps) { grid-column: 2; }
/* A section's text: Body in secondary ink, its first paragraph the lead (Lead, primary ink) where it follows the title */
.fr-text.prose { max-width: none; font: var(--t-body); letter-spacing: 0; }
/* Running text stands in the primary ink, in an article's text and in a part's (the kit's Prose sets it in the
   secondary). Grey is for a cell's text, a caption and a note. */
main .prose { color: var(--ink-primary); }
main .prose :is(figcaption, .prose-note) { color: var(--ink-secondary); }
.fr-title + .fr-text > p:first-child, .fr-lead, .section-head > .fr-words > .fr-lead { color: var(--ink-primary); font: var(--t-lead); letter-spacing: var(--t-lead-tracking); text-wrap: pretty; }
/* A head's words: the lead, and the words past it under it in Body */
.fr-words { display: grid; gap: var(--space-3); min-width: 0; }
.fr-text.prose > h3 { margin-top: var(--space-6); font: var(--t-card-title); letter-spacing: var(--t-card-title-tracking); }
.fr-text.prose > h3:first-child { margin-top: 0; }
/* Points inside a section's text (a head and a line each): the head a label over its line, not a heading */
.fr-text.prose .text-points { display: grid; gap: var(--space-3); margin-top: var(--space-3); padding: 0; list-style: none; }
.fr-text.prose .text-points > li, .fr-text.prose .text-points > li + li { margin: 0; padding: 0; }
.fr-text.prose .text-points .text-point-head { margin: 0; color: var(--ink-primary); font: var(--t-label); letter-spacing: 0; }
.fr-text.prose .text-points > li > p + p { margin-top: var(--space-1); }
/* The reveal control (.fr-fold-word): the one look of every "More", "Show more" and "Show N more" on a page: a plus
   and the word in the accent ink, with no edge. What it opens is a `details` (.fr-fold) or a list that a script folds. Once the words show, the control leaves the picture and stays in the
   page: while the keyboard is on it, it stays in sight, so focus stays where the reader pressed. */
.fr-fold > summary { list-style: none; }
.fr-fold > summary::-webkit-details-marker { display: none; }
.fr-fold-word { position: relative; display: inline-flex; align-items: center; gap: var(--space-2); min-block-size: var(--control-s, 32px); padding: 0; border: 0; border-radius: var(--radius-xs);
  background: none; color: var(--ink-accent); font: var(--t-label); letter-spacing: 0; text-align: start; text-decoration: none; cursor: pointer; }
.fr-fold-word::before { content: ""; flex: none; width: var(--icon-xs); height: var(--icon-xs);
  background: linear-gradient(currentColor, currentColor) center / 100% var(--line-drawn) no-repeat, linear-gradient(currentColor, currentColor) center / var(--line-drawn) 100% no-repeat; }
.fr-fold-word:hover { color: var(--accent-strong); }
.fr-fold-word[hidden] { display: none; }
.fr-fold[open] > summary:not(:focus-visible) {
  position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* No automatic hyphen in a heading, a table's cell, a card's or a tile's title, a label, a cover or a button: the
   system's rule for a long word holds in running text alone, in German too. A table's cell never hyphenates: on a
   phone its row is a block at the page's width, which holds any word. A German heading or title hyphenates in one
   case alone: on a phone, a compound too long for a line of its own there (a headline's word of eighteen letters or
   more, any other heading's of twenty-two: Telekommunikations-anbieter, never Schaden-meldung), so no compound
   leaves its box and none that fits is broken. At every width a heading's or a title's word that is longer than its
   whole line breaks there and stays in its box (anywhere: a box that sizes itself by its words, a card's title in
   its grid, takes its place's width and not its longest word's); a cell keeps its words whole, so no column is
   pressed under a word that fits. A name stays whole in every place, in its genitive too (Synthflows). The site's own
   rule for its old kit's pages (German cells and headings hyphenate from ten letters on) weighs an id, so these
   rules weigh one too (:not(#_)): on a drawn page they hold. */
html:root:root :is(h1, h2, h3, h4, h5, h6, th, td, caption, summary, label, button, figcaption, dt, .btn, .tag, .status, .link, .tabs-tab, .breadcrumb, .cv, .cv-words,
  [class*="-title"], [class*="-name"], [class*="-label"], .t-display, .t-title, .t-panel, .t-headline, .t-card-title, .t-name, .t-figure-l, .t-figure-m, .t-figure-s,
  .t-label, .t-label-s, .t-label-l, .t-label-xl, .t-label-strong, .t-caption):not(#_) { -webkit-hyphens: manual; hyphens: manual; }
html:root:root :is(h1, h2, h3, h4, h5, h6, [class*="-title"], .t-display, .t-title, .t-panel, .t-headline, .t-card-title):lang(de) { overflow-wrap: anywhere; }
html:root:root :is(th, td) { overflow-wrap: break-word; }   /* in every language: a word wider than its column stays in it (Massachusetts) */
@media (max-width: 599px) {
  html:root:root :is(h2, h3, h4, h5, h6, [class*="-title"], .t-title, .t-panel, .t-headline, .t-card-title):lang(de):not(#_) {
    -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 22 10 10; -webkit-hyphenate-limit-before: 10; -webkit-hyphenate-limit-after: 10; }
  html:root:root :is(h1, .t-display):lang(de):not(#_) { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 18 9 9; -webkit-hyphenate-limit-before: 9; -webkit-hyphenate-limit-after: 9; }
}
/* A word longer than its whole line, at any width: the page's script (WORDS) finds it and names its length, and it
   alone takes a hyphen at a syllable; with no script it breaks where the line ends, so nothing leaves its box */
html:root:root [data-breaks]:not(#_):not(#_) { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: var(--breaks, 12) 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; }
@media (max-width: 599px) { html:root:lang(de) { hyphenate-limit-chars: 12 5 5; } }
/* Safari reads no length of a word, only the letters before and after a break: six after one keep "Synthflow" and
   "Synthflows" whole in running text and in a cell, where the system's four let "Synth-flow" through */
html:root:lang(de), html:root:lang(de) * { -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 6; }
.fr-flow > .fr-fold { margin-top: calc(var(--space-5) - var(--space-7)); }   /* under its text, a paragraph's step away */
/* On paper nothing opens what waits: a fold's words stand in sight there, and its word leaves */
@media print {
  .fr-fold::details-content { content-visibility: visible; display: block; block-size: auto; }
  .fr-fold > summary { display: none; }
}
.fr-fold > .fr-text > :first-child { margin-top: 0; }
/* The first screen's top, one for every kind (#hero, each kind's head): the headline stands 64 px under the nav from
   1200 px and 48 px under it below, whatever a kind sets over it. What stands over a headline is one row in that
   space and takes none of its own: the way back (the kit's Breadcrumb, its trail without the page's own name), with
   the page's own label beside it where it has one (.rd-kind: a post's category; .fr-kind: a document's kind, an
   event's state). So the headline keeps its place from one page to the next. */
:root { --fr-top: var(--space-8); }
@media (max-width: 1199px) { :root { --fr-top: var(--space-7); } }
main > #hero { position: relative; padding-top: var(--fr-top); }
main > #hero :is(.breadcrumb, .rd-kind, .fr-kind) { position: absolute; top: 0; z-index: var(--layer-raised); display: flex; align-items: center; height: var(--fr-top); margin: 0; }
main > #hero :is(.rd-kind, .fr-kind) .breadcrumb { position: static; height: auto; }
main > #hero :is(.rd-kind, .fr-kind) { gap: var(--space-2) var(--space-4); }
/* The page's own label in that row (.fr-label; a post's category, the kit's Tag): the Breadcrumb's own type and ink,
   with no pill and no edge, so one form of label stands over every headline */
main > #hero :is(.fr-label, .rd-kind .tag) { display: inline-flex; align-items: center; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--ink-secondary); font: var(--t-label); letter-spacing: 0; white-space: nowrap; }
main > #hero :is(.fr-label, .rd-kind .tag):not(.fr-kind) { height: auto; block-size: auto; }
main > #hero .breadcrumb li:has(> [aria-current="page"]) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* A page head's words: the headline across the left, the lead, the actions and the proof line under it */
.fr-head { display: grid; justify-items: start; row-gap: var(--space-4); }
.fr-head-title { max-width: 18em; text-wrap: balance; }
.fr-head-title > span { display: block; }
.fr-head-lead { max-width: 40em; color: var(--ink-primary); text-wrap: pretty; }
.fr-head-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); margin-top: var(--space-2); }
.fr-head-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.fr-head-proof { flex: 1 1 20em; max-width: 34em; margin: 0; color: var(--ink-secondary); text-wrap: pretty; }
/* Cells: points of one kind on hairlines, three across; a cell's further words open in place */
/* A row of cells closes: the cells of the last row share its width, so no cell stands alone beside a hole. Four, seven
   and eight cells stand four across (4, 4 + 3, 4 + 4), every other count three across. */
.fr-cells { --fr-across: 3; display: flex; flex-wrap: wrap; gap: var(--space-7) var(--space-6); margin: 0; padding: 0; list-style: none; }
.fr-cells > * { flex: 1 1 calc((100% - (var(--fr-across) - 1) * var(--space-6)) / var(--fr-across)); min-width: 0; }
/* A way on (sections/ways.py, article.cards_of): what it answers, or where it leads, over its one link; a line that
   went on from its link in lower case opens on a capital where it stands over it */
.ways-list > .fr-cell { justify-items: start; }
.ways-list > .fr-cell > p::first-letter { text-transform: uppercase; }
@media (min-width: 1200px) { .fr-cells:is(:has(> :nth-child(4):last-child), :has(> :nth-child(7):last-child), :has(> :nth-child(8):last-child)) { --fr-across: 4; } }
.fr-cell { display: grid; align-content: start; gap: var(--space-2); min-width: 0; padding-top: var(--space-5); border-top: 1px solid var(--border-strong); }
.fr-cell > * { min-width: 0; margin: 0; }
.fr-cell > h3 { color: var(--ink-primary); font: var(--t-card-title); letter-spacing: var(--t-card-title-tracking); text-wrap: balance; overflow-wrap: break-word; }
.fr-cell > p, .fr-cell > .fr-fold > p { color: var(--ink-secondary); font: var(--t-body); text-wrap: pretty; overflow-wrap: break-word; }
.fr-cell > .fr-fold[open] > p { margin: 0; }
/* A source note, one form for every kind (.fr-note; frame.note): the day the sources were read, a fact's source, a
   table's footnote. One quiet line in Small and secondary ink at the reading measure, a block's step under the table
   or the section's content it belongs to, the last thing in its section: never a part of a lead, and never close on
   the section after it, since its own section's space follows it. */
.fr-note { grid-column: 1 / -1; max-width: var(--measure); margin: 0; color: var(--ink-secondary); font: var(--t-small); text-wrap: pretty; overflow-wrap: break-word; }
.fr-note a { color: inherit; }
* + .fr-note { margin-top: var(--space-5); }
.section > .container > .fr-note { margin-top: calc(var(--space-5) - var(--space-7)); }   /* in a section's grid the rows stand 48 px apart: the note stands closer to what it notes */
@media (max-width: 1199px) { .section > .container > .fr-note { margin-top: calc(var(--space-4) - var(--space-6)); } }
/* A table, one for every kind: the kit's Table (Body cells on 20 px rows, a row's head in its own type) at the width
   its place gives it, on the page's ground, every row in sight. No kind sets a table's type or its rows closer, no
   card raises plain facts (a table under a page's first screen stands on the page, whatever frame a section gave it),
   and no row waits behind a fold. On a phone a table stacks: each row a block, its head cell the block's title, each
   cell under its column's name (Table's own narrow form). Only a table whose columns fit the phone's width whole,
   every cell a figure or a few words, keeps its columns there (.fr-keeps). No table scrolls sideways and no cell's
   words are cut. */
main > :not(#hero) .table-frame.card { padding: 0; border-radius: 0; background: none; box-shadow: none; --table-ground: var(--surface-page); }
@container table (max-width: 559px) {
  .fr-keeps > .table.table { display: table; width: 100%; table-layout: auto; }
  .fr-keeps > .table.table thead { position: static; display: table-header-group; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; }
  .fr-keeps > .table.table tbody { display: table-row-group; }
  .fr-keeps > .table.table tr { display: table-row; padding: 0; border: 0; }
  .fr-keeps > .table.table :is(th, td) { display: table-cell; margin: 0; padding: var(--space-3) var(--space-3) var(--space-3) 0; border: 0; overflow-wrap: normal; word-break: normal; }
  .fr-keeps > .table.table :is(th, td):last-child { padding-right: 0; }
  .fr-keeps > .table.table thead th { padding-block: 0 var(--space-2); border-bottom: 1px solid var(--border-strong); }
  .fr-keeps > .table.table tbody tr + tr > * { border-top: 1px solid var(--border-subtle); }
  .fr-keeps > .table.table td[data-label]::before { content: none; }
}
/* One rhythm for every kind: a section, a part of a page and its questions stand in the system's own space (.section:
   96 px above and below from 1200 px, 64 px under it). No kind and no section sets a section's space of its own: a
   page is shorter by fewer sections, never by tighter ones. A band (a midnight panel, a tinted or glass ground that
   holds a section's content) pads its content by one step everywhere, --fr-band. */
:root { --fr-band: var(--space-8); }
@media (max-width: 1199px) { :root { --fr-band: var(--space-6); } }
@media (max-width: 599px) { :root { --fr-band: var(--space-5); } }
.fr-cell > p + p { margin-top: 0; }
.fr-fold--rows { grid-column: 1 / -1 !important; }
.fr-fold--rows:not([open]) > summary { margin-top: var(--space-4); }
/* Points (a head and a line each) across the container, on hairlines: figures read as figures */
.fr-flow > .text-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(calc(var(--space-9) * 2 + var(--space-7)), 1fr)); gap: var(--space-6); padding: 0; list-style: none; }
.fr-flow > .text-points > li { display: grid; align-content: start; gap: var(--space-2); padding-top: var(--space-5); border-top: 1px solid var(--border-strong); }
.fr-flow > .text-points .text-point-head { margin: 0; color: var(--ink-primary); font: var(--t-headline); letter-spacing: var(--t-headline-tracking); }
.fr-flow > .text-points > li > p + p { margin: 0; color: var(--ink-secondary); font: var(--t-body); }
/* A text's recordings and its path of steps stand on the page's ground, under a hairline: plain content takes no card
   and no shadow */
.fr-flow > .text-hear.card, .fr-flow > .text-path.card { padding: var(--space-5) 0 0; border-top: 1px solid var(--border-strong); border-radius: 0; background: none; box-shadow: none; }
@media (max-width: 1199px) {
  .fr-flow { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-6); }
  .fr-flow > *, .fr-flow > :is(.fr-title, .fr-text, .fr-fold, .post-steps) { grid-column: 1; }
  .fr-flow > :is(.fr-text, .fr-fold, .post-steps) { max-width: 40em; }
  .fr-cells { --fr-across: 2; gap: var(--space-6) var(--space-5); }
  .fr-cells > * { flex-basis: calc((100% - var(--space-5)) / 2); }
  .fr-flow > .fr-fold { margin-top: calc(var(--space-4) - var(--space-6)); }
  .fr-head-proof { flex-basis: 100%; }
}
@media (max-width: 599px) {
  main > #hero .fr-head-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }   /* a head's actions fill a phone's width, on every kind */
  main > #hero .fr-head-actions > .btn { width: 100%; }
  .fr-cells > * { flex-basis: 100%; }
}
/* The page's columns are the frame's (frame.py: a title's column of 560 px, 80 px, then the lead's). Every section's
   head is the frame's, and a part's words and its window, the steps and their screenshot stand on the same two
   columns, so one line runs down the page where a lead starts. */
main { --ig-main: var(--fr-left); --ig-gap: var(--fr-gap); }

/* A part of a section under its own head (h3, Headline): one more fact beside its example, the papers beside their
   name. It stands in its section's container, a block's step under the block before it, never under a rule and a
   section's room of its own. */
.ig-part-title { margin: 0; text-wrap: balance; }

/* A named row between hairlines: the row's name (and a Link to the rest, where it has one), then its items in one
   line: the papers under the proof, the ways on over the close. Below 900 px the name stands over the items. */
.ig-row { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); column-gap: var(--space-7); align-items: center;
  padding-block: var(--space-5); border-block: 1px solid var(--border-subtle); }
.ig-row-name { display: grid; gap: var(--space-2); justify-items: start; }
@media (max-width: 899px) {
  .ig-row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-4); }
}
/* Head: under the breadcrumb the family's words (frame.head_words: the headline across the left, one lead, the
   actions and a proof line), then the page's object across the container on one of the page's brush grounds:
   Synthflow's mark joined to the other system's over the integration's facts on glass, beside one record of the other
   system with a Synthflow call logged on it (the after). The stack is tight, so the object stands whole in a
   1440 x 900 first screen. */
.ig-hero { padding-block: var(--space-5) var(--space-7); }
.ig-hero-crumb { margin-bottom: var(--space-3); }
.ig-hero .fr-head-title { max-width: 22em; }
.ig-hero .fr-head-lead { max-width: 52em; }
.ig-hero .fr-head-proof { max-width: 44em; }
.ig-moment { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-6);
  align-items: center; margin-top: var(--space-5); padding: var(--space-5); border-radius: var(--radius-lg); overflow: hidden; background: var(--accent-soft); }
.ig-moment-ground { position: absolute; inset: 0; z-index: var(--layer-under); width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ig-hero-figure { margin: 0; min-width: 0; }
.ig-record-example { flex: none; }
.ig-mono { font: var(--t-code-m); letter-spacing: var(--t-code-m-tracking); }

/* The pair: Synthflow's mark and the other system's logo, each on a white tile, joined by Synthflow's line between two
   hollow nodes. A system with no logo in the library stands as its name in type. */
.ig-pair { display: flex; align-items: center; margin: 0; }
.ig-pair-tile { flex: none; display: grid; place-items: center; min-width: var(--space-8); height: var(--space-8);
  padding-inline: var(--space-4); border-radius: var(--radius-md); background: var(--surface-card); box-shadow: var(--elev-tile-light); color: var(--ink-primary); }
.ig-pair-tile img { display: block; width: auto; height: auto; max-width: calc(var(--space-9) + var(--space-3)); max-height: var(--space-7); }
.ig-pair-tile--ours img, .ig-pair-tile--mark img { width: var(--space-6); height: var(--space-6); object-fit: contain; }
.ig-pair-line { position: relative; flex: none; width: var(--space-8); height: var(--line-drawn); background: var(--accent); }
.ig-pair-line::before, .ig-pair-line::after { content: ""; position: absolute; top: 50%; left: 0; width: var(--space-2); height: var(--space-2);
  border-radius: var(--radius-full); background: var(--surface-card); box-shadow: 0 0 0 var(--line-drawn) var(--accent); transform: translate(-50%, -50%); }
.ig-pair-line::after { left: 100%; }

/* The facts, on glass: the pair over the app's name, then how it connects, its category, its marketplace and its docs */
.ig-facts { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-5); border-radius: var(--radius-lg); }
.ig-facts-top { display: grid; gap: var(--space-4); min-width: 0; }
.ig-facts-name { display: grid; gap: var(--space-1); min-width: 0; margin: 0; text-wrap: balance; }
.ig-facts-list { display: grid; gap: var(--space-2); margin: 0; padding-top: var(--space-4); border-top: 1px solid var(--border-subtle); }
.ig-facts-list > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-4); }   /* 8rem: German's "Dokumentation" */
.ig-facts-list dt { font: var(--t-body); color: var(--ink-secondary); }
.ig-facts-list dd { margin: 0; font: var(--t-body); color: var(--ink-primary); overflow-wrap: break-word; }

/* Less material (the type's own): with no example record the object is the pair and the facts alone, the pair and the
   name at the start and the facts beside them; with no facts, the pair and the name alone, and the brush closes up
   round their glass, so no panel stands wide and empty */
.ig-moment--pair { grid-template-columns: minmax(0, 1fr); }
.ig-moment--pair .ig-facts { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-8); align-items: center; }
.ig-moment--pair .ig-facts-list { padding: 0 0 0 var(--space-8); border-top: 0; border-left: 1px solid var(--border-subtle); }
.ig-moment--pair .ig-facts:not(:has(.ig-facts-list)) { grid-template-columns: minmax(0, 1fr); }
.ig-moment--alone { width: fit-content; max-width: 100%; }

/* The record: the other system's record, drawn in the system's marks as a white product window */
.ig-record { background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--elev-2); padding: var(--space-5);
  color: var(--ink-primary); }
.ig-record-head { display: flex; align-items: center; gap: var(--space-4); padding-bottom: var(--space-4); }
.ig-record-avatar { flex: none; display: grid; place-items: center; width: var(--space-7); height: var(--space-7); border-radius: var(--radius-full);
  background: var(--surface-sunken-deep); color: var(--ink-accent); font: var(--t-label-strong); }
.ig-record-who { display: grid; gap: var(--space-1); min-width: 0; flex: 1; }
.ig-record-source { display: inline-flex; align-items: center; gap: var(--space-2); flex: none; color: var(--ink-secondary);
  font: var(--t-label-s); }
.ig-record-source img { width: var(--icon-m); height: var(--icon-m); }

.ig-record-tabs { display: flex; gap: var(--space-5); margin: 0 0 var(--space-4); border-bottom: 1px solid var(--border-subtle);
  font: var(--t-label-s); color: var(--ink-secondary); }
.ig-record-tabs span { padding-bottom: var(--space-3); }
.ig-record-tabs .is-open { color: var(--ink-primary); box-shadow: inset 0 calc(-1 * var(--line-current)) 0 var(--accent); }

.ig-record-call { display: grid; grid-template-columns: var(--space-6) minmax(0, 1fr); gap: var(--space-4); }
.ig-record-icon { display: grid; place-items: center; width: var(--space-6); height: var(--space-6); border-radius: var(--radius-sm);
  background: var(--surface-sunken); }
.ig-record-icon img { width: var(--icon-m); height: var(--icon-m); }
.ig-record-main { display: grid; gap: var(--space-2); min-width: 0; }
.ig-record-main p { margin: 0; }
.ig-record-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); }
.ig-record-outcome { flex: none; }

.ig-record-lines { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-2); font: var(--t-body); }
.ig-record-lines b { font-weight: 600; margin-right: var(--space-1); }
.ig-record-lines b::after { content: ":"; }

.ig-record-set { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin: var(--space-4) 0 0;
  padding: var(--space-3) var(--space-4); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); color: var(--ink-secondary); }
.ig-record-set .icon { flex: none; width: var(--icon-m); height: var(--icon-m); }
.ig-record-set-what { font: var(--t-label); }
.ig-record-stage { margin-left: auto; padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
  background: var(--surface-inverse); color: var(--ink-on-dark); font: var(--t-label-s); }

@media (max-width: 1199px) {
  .ig-moment { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); padding: var(--space-5); }
  .ig-facts { padding: var(--space-5); }
  .ig-facts-list > div { grid-template-columns: minmax(0, 1fr); gap: 0; }   /* in a narrow panel a fact's name stands over it */
  .ig-moment--pair .ig-facts-list > div { grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-4); }
}
@media (max-width: 899px) {
  .ig-moment { grid-template-columns: minmax(0, 1fr); }
  .ig-hero-figure { order: -1; }                       /* the record first, the facts under it */
  .ig-facts-list > div { grid-template-columns: 8rem minmax(0, 1fr); gap: var(--space-4); }
  .ig-moment--pair .ig-facts { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-5); }
  .ig-moment--pair .ig-facts-list { padding: var(--space-5) 0 0; border-left: 0; border-top: 1px solid var(--border-subtle); }
}
/* A phone's record is its own: without the tabs and the marks a desktop's has room for and with its outcome on the
   line of its time, so the field the workflow set stands in sight */
@media (max-width: 599px) {
  .ig-hero { padding-block: var(--space-5) var(--space-6); }
  .ig-hero-crumb { margin-bottom: var(--space-2); }
  .ig-moment { margin-top: var(--space-5); padding: var(--space-3); gap: var(--space-3); }
  .ig-record-example { display: none; }                /* the record's name says it to a screen reader; a phone's head has no room */
  .ig-record { padding: var(--space-4); }
  .ig-record-head { gap: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--border-subtle); margin-bottom: var(--space-3); }
  .ig-record-avatar { width: calc(var(--space-6) + var(--space-2)); height: calc(var(--space-6) + var(--space-2)); font: var(--t-caption); }
  .ig-record-source, .ig-record-tabs, .ig-record-icon { display: none; }
  .ig-record-call { grid-template-columns: minmax(0, 1fr); }
  .ig-record-main { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-3); align-items: center; }
  .ig-record-line { display: contents; }
  .ig-record-line > :first-child, .ig-record-lines { grid-column: 1 / -1; }
  .ig-record-main > .t-meta { grid-column: 1; grid-row: 2; }
  .ig-record-outcome { grid-column: 2; grid-row: 2; }
  .ig-record-lines { margin-top: 0; gap: var(--space-1); font: var(--t-small); }
  .ig-record-set { margin-top: var(--space-3); padding: var(--space-2) var(--space-3); }
  .ig-record-stage { margin-left: 0; }
  .ig-facts { gap: var(--space-4); padding: var(--space-4); }
  .ig-facts-list { padding-top: var(--space-4); }
  .ig-facts-list dt, .ig-facts-list dd { font: var(--t-small); }
  .ig-facts-list > div, .ig-moment--pair .ig-facts-list > div { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .ig-pair-line { width: var(--space-6); }
}
