  /* ---------- Processes module (#529, ported one to one to the canvas in #573) ----------
     The module now owns a real shell context column (the read-only library, #ctxProcesses on the
     shared context-column track) and a stage. The stage uses the canvas `.page`, `.cs`, `.mh`,
     `.box` and settings.css `.st-*` rules from the linked canvas stylesheets, so there is no
     app-local copy of them. The stage opens on the read view of a process. An Agency admin creates
     or edits a process in a conversation with the AI teammate (#1431); that pane reuses the teammate
     panel's `.pp-` parts from teammate.css. Only the app-shell scoping and the authoring layout live
     here. Every colour is a token, so light and dark both render. */
  .shell2.ctx-processes .rail{display:none}
  .is-processes .list-head{display:none}
  .is-processes .search,.is-processes .chips{display:none}
  .is-processes #list{display:block;position:relative;padding:0;overflow:hidden}
  /* A process step is plain words only (adr/0074, #1426): the step table has two columns, the
     number and the step. The canvas settings.css grid has four columns for its other tables, so
     this rule, at a higher specificity, narrows it to two at every width. */
  .is-processes .st-step{grid-template-columns:28px minmax(0,1fr)}
  /* A heading and its paragraph sit close together; the page body keeps its wider gap between
     sections. */
  .is-processes .proc-sec{display:flex;flex-direction:column;gap:6px}
  /* Who a process runs as (#2094): Change keeps its own width under the paragraph, and the picker
     puts the select, Save and Cancel on one row, which wraps at a narrow width. */
  .is-processes .proc-sec > #proc-runs-as-change{align-self:flex-start}
  .is-processes .proc-runs-as-edit{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
  /* The schedule editor (#2096): Change keeps its own width; the fields stack, the days wrap in a row,
     and a time field keeps the width of its value. */
  .is-processes .proc-sec > #proc-schedule-change{align-self:flex-start}
  .is-processes .proc-sec > #proc-pause-change{align-self:flex-start}
  /* Retire a playbook (#2818): Retire keeps its own width, and the one confirmation is the box of the
     actions form, with the ink confirm and the line Cancel on one row. */
  .is-processes .proc-sec > #proc-retire-change{align-self:flex-start}
  .is-processes .proc-retire-confirm{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--raised)}
  .is-processes .proc-retire-confirm .actions{display:flex;flex-wrap:wrap;gap:8px}
  .is-processes .proc-retired-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:4px}
  /* The Retired list at the foot of the library (#2818): collapsed, opened by its heading. */
  #ctxProcesses .proc-retired{margin-top:12px}
  #ctxProcesses .proc-retired-sum{cursor:pointer;list-style-position:inside}
  .is-processes .proc-schedule-edit{display:flex;flex-direction:column;gap:8px}
  .is-processes .proc-schedule-days{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0;padding:0;border:0}
  .is-processes .proc-schedule-days legend{padding:0;margin-bottom:4px}
  .is-processes .proc-schedule-edit .inp2[type="time"]{width:auto;align-self:flex-start}
  .is-processes .proc-runs-as-edit .sel2{flex:1 1 220px;width:auto;min-width:0}
  /* The configured actions of the steps (#2105): the list, and the form an admin opens with Change.
     The list is the "Actions" row of the settings board; the form reuses the select, the text input,
     the checkbox and the ink and line buttons of the schedule editor. */
  .is-processes .proc-act-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}
  .is-processes .proc-act-list li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:var(--ink)}
  .is-processes .proc-act-list:empty{display:none}
  .is-processes .proc-sec > #proc-act-change{align-self:flex-start}
  .is-processes .proc-act-form{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--raised)}
  .is-processes .proc-act-field{display:flex;flex-direction:column;gap:4px}
  .is-processes .proc-act-field .sel2,.is-processes .proc-act-field .inp2{width:100%;min-width:0}
  .is-processes .proc-act-people{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;border:0;font-size:13px}
  .is-processes .proc-act-people legend{padding:0;margin-bottom:4px}
  /* In Inter, tabular figures also swap the hyphen for a figure-wide glyph, so "Follow-up" showed a
     wide gap on each side of its hyphen (#1462). Since #1472 the page body keeps the normal glyphs.
     A process is words, not a column of figures, so the process view and the library column keep
     the proportional glyphs even if an ancestor sets tabular figures again. */
  .is-processes .page,#ctxProcesses{font-variant-numeric:normal}
  /* The library column: "Create a playbook" at the top, full width, as Mail's Compose sits in its
     column; and a lock on a floor process row, quiet, beside the name. */
  #procLibrary .proc-create{width:100%;justify-content:center;margin:2px 0 10px}
  #procLibrary .nav .proc-lock{color:var(--ink-3);flex:none}
  /* "Add an example" (#2211) sits under "Create a playbook", the same width; its list opens under it
     in a quiet box, one example per row: the add control, then the one line of when it applies. */
  #procLibrary .proc-example{width:100%;justify-content:center;margin:-4px 0 10px}
  #procLibrary .proc-examples{display:flex;flex-direction:column;gap:8px;margin:0 0 12px;padding:10px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--raised)}
  #procLibrary .proc-examples p{margin:0}
  #procLibrary .proc-examples-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
  #procLibrary .proc-example-row{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
  /* The add control carries the whole Process name. The shell's button keeps one line, which cut the
     name at the edge of the column ("…safety remin"), so here the label wraps inside the column
     (design standards: no control is cut off). */
  #procLibrary .proc-example-add{max-width:100%;height:auto;white-space:normal;text-align:left;line-height:1.3}
  #procLibrary .proc-examples-error{color:var(--ink)}
  /* The read view: the lock on a floor process sits where Edit sits on the others. */
  .is-processes .proc-fixed{display:inline-flex;align-items:center;min-height:34px;gap:6px;font-size:12.5px;color:var(--ink-3)}
  .is-processes .proc-link{color:var(--ink);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
  /* The two titles take focus from the page only (tabindex -1), so they show no ring (#1439). */
  .is-processes #proc-title:focus,.is-processes #proc-author-title:focus{outline:none}
  /* The authoring stage: the header, then the conversation and the proposal side by side, each
     with its own scroll. The composer stays at the foot of the conversation. */
  .is-processes .proc-author{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1px;background:var(--line);border-top:1px solid var(--line)}
  .is-processes .proc-conv{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--canvas)}
  .is-processes .proc-conv .pp-col{max-width:none;padding:16px 22px 18px;gap:14px}
  .is-processes .proc-conv .pp-foot{padding:10px 22px 18px}
  /* The composer takes the page type, as the teammate composer does. */
  .is-processes .proc-conv .pp-comp textarea{font-family:inherit}
  .is-processes .proc-prop{min-height:0;min-width:0;overflow-y:auto;background:var(--canvas);padding:16px 22px 40px;display:flex;flex-direction:column;gap:16px}
  .is-processes .proc-confirm-err{padding:0 22px 10px}
  /* The draw of a flow (#1979): Try again keeps its own width, as Edit does in the header. */
  .is-processes .proc-prop > #proc-draw-retry{align-self:flex-start}
  .is-processes .proc-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:12px}
  .is-processes .proc-pstep{display:list-item}
  .is-processes .proc-pstep > * + *{margin-top:8px}
  .is-processes .proc-pstep-text{margin:0}
  /* The outline label above a proposed step, as the flow node draws it (#1978). Ink, no new colour. */
  .is-processes .proc-pstep-label{margin:0;font-size:13px;font-weight:600;line-height:1.4;color:var(--ink)}
  .is-processes .proc-pstep > .proc-pstep-label + .proc-pstep-text{margin-top:2px}
  .is-processes .proc-decision{display:flex;flex-direction:column;gap:6px}
  .is-processes .proc-decision-q{margin:0}
  .is-processes .proc-branches{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px}
  .is-processes .proc-branch{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--raised)}
  .is-processes .proc-branch-label{font-size:12.5px;font-weight:500;color:var(--ink)}
  /* A refused step: the reason inline, in the danger token, with its glyph. */
  .is-processes .proc-refused{display:flex;gap:6px;align-items:flex-start;margin:0;font-size:12.5px;line-height:1.5;color:var(--danger)}
  .is-processes .proc-refused .ico{flex:none;margin-top:2px}
  /* A rule-book note: a quoted entry with its citation. Neutral tokens, no verdict colour. */
  .is-processes .proc-law{margin:0;padding:10px 12px;border-left:2px solid var(--line);background:var(--raised);border-radius:0 var(--r-md) var(--r-md) 0;display:flex;flex-direction:column;gap:6px;font-size:12.5px;line-height:1.5;color:var(--ink-2)}
  .is-processes .proc-law-k{margin:0;font-weight:600;color:var(--ink-2)}
  .is-processes .proc-law-q{margin:0;padding:0;font-style:italic;color:var(--ink)}
  .is-processes .proc-law-cite{color:var(--ink-3)}
  .is-processes .proc-law-link{color:var(--ink-2);text-decoration:underline;text-underline-offset:3px}
  .is-processes .proc-law-unknown{margin:0}
  /* A fixed-text Step (#2098): the exact words in a quoted block, as a rule-book note quotes. The
     body keeps its line breaks. Each merge tag is a quiet chip in neutral tokens. */
  .is-processes .proc-fixed-text{margin-top:8px;display:flex;flex-direction:column;gap:6px}
  .is-processes .proc-fixed-note{margin:0}
  .is-processes .proc-fixed-text blockquote{margin:0;padding:10px 12px;border-left:2px solid var(--line);background:var(--raised);border-radius:0 var(--r-md) var(--r-md) 0;display:flex;flex-direction:column;gap:8px;font-size:12.5px;line-height:1.5;color:var(--ink)}
  .is-processes .proc-fixed-subject{margin:0;font-weight:600;overflow-wrap:anywhere}
  .is-processes .proc-fixed-k{font-weight:500;color:var(--ink-3)}
  .is-processes .proc-fixed-body{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
  .is-processes .proc-tag{display:inline-block;padding:0 6px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--canvas);font-size:12px;font-weight:500;line-height:1.5;color:var(--ink-2)}
  .is-processes .proc-follow-note,.is-processes .proc-blocked,.is-processes .proc-action-note{margin:0}
  /* The reference material (#2103): a named table in a bordered box that scrolls sideways inside
     itself when its columns are wide, so the page never does; a list as plain bullets. */
  .is-processes .proc-ref-name{margin:8px 0 0}
  .is-processes .proc-ref-wrap{overflow-x:auto;padding:0}
  .is-processes .proc-ref-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.45;color:var(--ink)}
  .is-processes .proc-ref-table th{text-align:left;font-weight:600;color:var(--ink-2);background:var(--raised)}
  .is-processes .proc-ref-table th,.is-processes .proc-ref-table td{padding:7px 12px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
  .is-processes .proc-ref-table tbody tr:last-child td{border-bottom:0}
  .is-processes .proc-ref-list{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:4px}
  /* At 1080px and below the conversation and the proposal stack, and the whole stage scrolls. */
  @media (max-width:1080px){
    .is-processes .proc-author{display:block;overflow-y:auto;background:var(--canvas)}
    .is-processes .proc-conv .pp-scroll{overflow:visible}
    .is-processes .proc-prop{overflow:visible;border-top:1px solid var(--line)}
  }
  @media (max-width:720px){
    /* The title takes the full width and Cancel and Confirm sit below it. */
    .is-processes .proc-author-page .mh{flex-wrap:wrap}
    .is-processes .proc-author-page .mh .t{flex-basis:100%}
    /* The read view: Draw the flow and Edit sit below the title, so the title keeps its width (#1979). */
    .is-processes .proc-read-head{flex-wrap:wrap}
    .is-processes .proc-read-head .t{flex-basis:100%}
    .is-processes .proc-conv .pp-col,.is-processes .proc-prop{padding-left:16px;padding-right:16px}
    .is-processes .proc-conv .pp-foot{padding:10px 16px 16px}
    .is-processes .proc-conv .pp-comp textarea{font-size:16px}
  }
  @media (max-width:820px){
    /* At narrow width the shared list head returns, carrying only "Toggle sidebar" so the library
       overlay can be opened; the Mail title, refresh and actions stay hidden. */
    .is-processes .list-head{display:block;padding:10px 14px 0}
    .is-processes .lh-title,.is-processes .refresh,.is-processes .lh-actions{display:none}
    /* The stage under the list head cuts a ring drawn outside Toggle sidebar along its bottom edge.
       Focus comes back to this control when Escape closes the library, so the ring is drawn inside
       the control, where it shows whole in both themes (#2286, design standards §4). */
    .is-processes .list-head #railToggle:focus-visible{outline-offset:-2px}
  }
  /* The runs view (#2102, #2282): the list of runs, then one run page. The page body takes the full
     width. Each run is one button in a list; the header row is drawn only, so a screen reader hears
     each run once. The breakpoints follow the width the runs get (the container queries below). */
  .is-processes .page-in.proc-runs-page{max-width:none;container:procruns/inline-size}
  .is-processes .proc-runs-list{display:flex;flex-direction:column;gap:14px;min-width:0;container:procrunlist/inline-size}
  .is-processes .proc-runs-list > p{margin:0}
  .is-processes .proc-runs-list > #proc-runs-more{align-self:flex-start}
  .is-processes .proc-runs-err{margin:0}
  .is-processes .proc-runs-sum{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px}
  .is-processes .proc-runs-sum div{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-md)}
  .is-processes .proc-runs-sum b{font-size:20px;font-weight:500;color:var(--ink);line-height:1.1}
  .is-processes .proc-runs-sum span{font-size:12px;color:var(--ink-3)}
  .is-processes .proc-run-rows{display:flex;flex-direction:column}
  .is-processes .proc-run-ul{margin:0;padding:0;list-style:none}
  .is-processes .proc-run{display:grid;grid-template-columns:110px 118px minmax(0,1.4fr) 116px minmax(0,1.2fr);gap:12px;align-items:center;padding:11px 14px;width:100%;text-align:left;font:inherit;font-size:13px;color:var(--ink-2);background:none;border:0;cursor:pointer}
  .is-processes .proc-run-ul li{border-top:1px solid var(--line-soft)}
  .is-processes .proc-run.hd{padding-top:9px;padding-bottom:9px;font-size:12px;font-weight:600;color:var(--ink-3);cursor:default}
  .is-processes .proc-run-ul .proc-run:hover{background:color-mix(in srgb,var(--sel) 60%,transparent)}
  /* A long word wraps inside its cell, and a count chip keeps its whole label (#2113): the canvas
     .lchip cuts its label with an ellipsis, so in this table the label wraps instead. */
  .is-processes .proc-run > span{min-width:0;overflow-wrap:anywhere}
  .is-processes .proc-run-c .lchip{flex:none;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip}
  .is-processes .proc-runs-paused{margin:0}
  /* A heading for a screen reader only: a list is named by it (#2113). */
  .is-processes .proc-sr{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .is-processes .proc-run:focus-visible,.is-processes .proc-person:focus-visible,.is-processes .proc-rtab:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
  .is-processes .proc-run b{display:block;font-weight:600;color:var(--ink)}
  .is-processes .proc-run-c{display:flex;flex-wrap:wrap;gap:6px}
  /* The five columns need 744px of list: the three fixed columns (344px), the four gaps (48px), the
     padding (28px), and 160px each for Opened by and People. Below 760px each run wraps to two. */
  @container procrunlist (max-width:760px){
    .is-processes .proc-run{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
    .is-processes .proc-run.hd{display:none}
  }
  @media (max-width:1000px){
    .is-processes .proc-run{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
    .is-processes .proc-run.hd{display:none}
  }
  /* The run page (#2282): the figures, the step bar, then the people left and the thread right. */
  .is-processes .proc-rp{display:flex;flex-direction:column;gap:14px;min-width:0}
  /* "‹ All runs" lines up its words with the edge of the page, as the board's back control (#2584). */
  .is-processes .proc-rp > #proc-run-back{align-self:flex-start;margin-left:-8px;padding:4px 8px;font-size:13px;font-weight:500;color:var(--ink-2)}
  .is-processes .proc-rp > p,.is-processes .proc-rp-h p{margin:0}
  /* The head (#2584): the title and the line under it left, the range of the figures right, as the
     board draws it. The range is a label: the run page has no other range. At narrow width it goes
     under the line. */
  .is-processes .proc-rp-h{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:3px;align-items:end}
  .is-processes .proc-rp-h h2{margin:0;grid-column:1}
  .is-processes .proc-rp-h > p{grid-column:1}
  .is-processes .proc-rp-h > .proc-rp-range{grid-column:2;grid-row:1 / span 2;white-space:nowrap}
  @media (max-width:720px){
    .is-processes .proc-rp-h{grid-template-columns:minmax(0,1fr)}
    .is-processes .proc-rp-h > .proc-rp-range{grid-column:1;grid-row:auto;white-space:normal}
  }
  /* The Steps box of the board (#2584): a head with the heading and the note, then one joined strip.
     Each Step has a 3px top rule; a Step with people now has an ink rule, a tint and the Now pill, so
     it is not said by colour alone. At narrow width the Steps go one under the other. */
  .is-processes .proc-sb{display:flex;flex-direction:column;padding:0;overflow:hidden}
  .is-processes .proc-sb h3,.is-processes .proc-sb p{margin:0}
  .is-processes .proc-sb-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;padding:11px 16px;border-bottom:1px solid var(--line-soft)}
  .is-processes .proc-sb-ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin:0;padding:0;list-style:none}
  .is-processes .proc-sb-ol li{display:flex;flex-direction:column;gap:2px;min-width:0;padding:12px 16px 13px;border-top:3px solid var(--line)}
  .is-processes .proc-sb-ol li + li{border-left:1px solid var(--line-soft)}
  .is-processes .proc-sb-ol li.done{border-top-color:var(--ink-3)}
  .is-processes .proc-sb-ol li.now{border-top-color:var(--ink);background:color-mix(in srgb,var(--sel) 55%,transparent)}
  .is-processes .proc-sb-ol .k{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink)}
  .is-processes .proc-sb-ol .kt{min-width:0;overflow-wrap:anywhere}
  .is-processes .proc-sb-ol .nowc{flex:none;font-size:10.5px;font-weight:600;color:var(--canvas);background:var(--ink);border-radius:999px;padding:0 7px;line-height:16px}
  /* The date the Step started, how many people are at it now and what it waits for. */
  .is-processes .proc-sb-ol .d{font-size:12.5px;color:var(--ink-2);margin-top:6px}
  .is-processes .proc-sb-ol .n{font-size:12.5px;color:var(--ink-2);margin-top:2px}
  .is-processes .proc-sb-ol .c{font-size:12px;color:var(--ink-3);line-height:1.4;overflow-wrap:anywhere}
  .is-processes .proc-sb-ol li.later .d,.is-processes .proc-sb-ol li.later .n{color:var(--ink-3)}
  @media (max-width:720px){
    .is-processes .proc-sb-ol{grid-template-columns:minmax(0,1fr)}
    .is-processes .proc-sb-ol li + li{border-left:0}
  }
  .is-processes .proc-rp-two{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:16px;align-items:start}
  /* The panel is a box with a border and rounded corners. The fill and the bar of the chosen row are
     cut at its rounded padding edge, so the last row leaves the border and the corners whole. */
  .is-processes .proc-people{display:flex;flex-direction:column;min-width:0;overflow:hidden}
  .is-processes .proc-rtabs{display:flex;flex-wrap:wrap;gap:4px;padding:8px 10px;border-bottom:1px solid var(--line-soft)}
  .is-processes .proc-rtab{padding:5px 10px;font:inherit;font-size:13px;color:var(--ink-2);background:none;border:0;border-radius:var(--r-md);cursor:pointer}
  .is-processes .proc-rtab .n{color:var(--ink-3);margin-left:2px}
  .is-processes .proc-rtab.on{background:var(--sel);color:var(--ink);font-weight:600;box-shadow:inset 0 -2px 0 var(--ink)}
  .is-processes .proc-people-ul{margin:0;padding:0;list-style:none}
  .is-processes .proc-people-ul li + li{border-top:1px solid var(--line-soft)}
  /* A row is the person, then Skip at the right when their draft waits (#2283). The fill and the bar
     of the chosen row cover the whole row, Skip included. */
  .is-processes .proc-people-ul li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
  .is-processes .proc-people-ul li.on{background:var(--sel);box-shadow:inset 3px 0 0 var(--ink)}
  .is-processes .proc-person-skip{margin-right:10px}
  .is-processes .proc-person-acts{display:flex;align-items:center;gap:6px}
  .is-processes .proc-person-acts .btn-line{margin-right:0}
  /* A held mail (#2420): the row is highlighted, with "!" on the contact and the reason under the name.
     The "!" and the reason are text, so the hold is not said by colour alone. */
  .is-processes .proc-people-ul li.held,.is-processes .proc-people-ul li.held.on{background:var(--warn-bg)}
  .is-processes .proc-people-ul li.held.on{box-shadow:inset 0 0 0 1.5px var(--warn-line),inset 3px 0 0 var(--ink)}
  .is-processes .proc-person-alert{display:inline-block;width:16px;height:16px;margin-right:6px;border-radius:50%;background:var(--warn);color:var(--canvas);font-size:11px;font-weight:700;line-height:16px;text-align:center;vertical-align:1px}
  .is-processes .proc-person{display:flex;flex-direction:column;gap:2px;width:100%;padding:10px 14px;text-align:left;font:inherit;font-size:13px;color:var(--ink-2);background:none;border:0;cursor:pointer;overflow-wrap:anywhere}
  /* A row under To send has the name and the detail on one line (#2529). */
  .is-processes .proc-person.w{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:8px}
  .is-processes .proc-person:hover{background:color-mix(in srgb,var(--sel) 60%,transparent)}
  /* The chosen person has a bar as well as the fill, so the choice is not said by colour alone. */
  .is-processes .proc-person.on{background:var(--sel);box-shadow:inset 3px 0 0 var(--ink)}
  /* In the run list the row already paints the fill and the bar of the choice. The button paints
     none, so a translucent fill (the dark theme) is painted once, with no seam beside Skip. */
  .is-processes .proc-people-ul li.on .proc-person{background:none;box-shadow:none}
  .is-processes .proc-person b{font-weight:600;color:var(--ink)}
  .is-processes .proc-person .l{color:var(--ink)}
  .is-processes .proc-person b .lchip{margin-left:6px;vertical-align:1px} /* the state of the draft follows the name */
  .is-processes .proc-people-empty{margin:0;padding:12px 14px}
  .is-processes .proc-thread{display:flex;flex-direction:column;gap:10px;padding:12px 14px;min-width:0}
  .is-processes .proc-thread-h{display:flex;flex-direction:column;gap:3px}
  .is-processes .proc-thread-h h3,.is-processes .proc-thread-h p,.is-processes .proc-thread-note,.is-processes .proc-next{margin:0}
  .is-processes .proc-thread > .proc-link,.is-processes .proc-thread > #proc-thread-retry{align-self:flex-start}
  .is-processes .proc-mt{display:flex;flex-direction:column;gap:12px;padding:0}
  .is-processes .proc-next{padding-top:10px;border-top:1px solid var(--line-soft);font-weight:600}
  .is-processes .proc-stop{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
  .is-processes .proc-stop p{margin:0}
  .is-processes .proc-stop-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-md)}
  .is-processes .proc-stop-confirm > p{flex:1 1 100%}
  /* The thread goes under the people when the two columns do not fit: 340px of people, the 16px gap
     and 360px of thread. */
  @container procruns (max-width:716px){
    .is-processes .proc-rp-two{grid-template-columns:minmax(0,1fr)}
  }
  @media (max-width:820px){
    .is-processes .proc-rp-two{grid-template-columns:minmax(0,1fr)}
  }
  /* The Overview tab (#2281): the two figures of now, the range row, then one box for each version
     with its figures in tiles. The tiles are the summary tiles of the Runs tab, and they wrap, so each
     width keeps every figure whole with no sideways scroll. */
  .is-processes .proc-ov{display:flex;flex-direction:column;gap:14px}
  .is-processes .proc-ov-now{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
  .is-processes .proc-ov-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px}
  .is-processes .proc-ov-tile{display:flex;flex-direction:column;gap:2px;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-md)}
  .is-processes .proc-ov-tile b{font-size:20px;font-weight:500;color:var(--ink);line-height:1.1}
  .is-processes .proc-ov-tile span{font-size:12px;color:var(--ink-3);overflow-wrap:anywhere}
  .is-processes .proc-ov-tile p{margin:4px 0 0}
  .is-processes .proc-ov-tile .proc-link{align-self:flex-start;font-size:12.5px;margin-top:4px}
  .is-processes .proc-ov-range{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
  .is-processes .proc-ov-range h2{margin:0}
  .is-processes .proc-ov-range .soon{margin-left:2px}
  .is-processes .proc-ov-ver{display:flex;flex-direction:column;gap:10px;padding:12px 14px}
  .is-processes .proc-ov-ver-h{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px}
  .is-processes .proc-ov-ver-h h3{margin:0}
  .is-processes .proc-ov-ver p{margin:0}
  /* A run waiting for approval (#2283): the next action after the figures, one row with the spark,
     the words and the buttons, which reuses the row of the drafts at the top of the Handled by Helm
     folder (`.ml-hd-top`). The confirms reuse the row of Stop for this person. The chosen person's
     draft is the message panel: the head with the buttons at the right, the From, To and Subject
     list, the body, then the foot. */
  .is-processes .proc-approval{display:flex;flex-direction:column;gap:6px}
  /* The not-calibrated warning has the width and the edges of the approve bar under it (#2419). */
  .is-processes .proc-approval > .ban{margin:0}
  .is-processes .proc-approval .ml-hd-top{flex-wrap:wrap}
  /* At narrow width the words take the row next to the spark, and the buttons go below them, in
     line with the words. */
  @container procruns (max-width:600px){
    .is-processes .proc-approval .ml-hd-top .t{flex:1 1 calc(100% - 28px)}
    .is-processes .proc-approval .ml-hd-top .t + button{margin-left:28px}
  }
  @media (max-width:720px){
    .is-processes .proc-approval .ml-hd-top .t{flex:1 1 calc(100% - 28px)}
    .is-processes .proc-approval .ml-hd-top .t + button{margin-left:28px}
  }
  .is-processes .proc-approval h3,.is-processes .proc-approval p{margin:0}
  /* The approve step and the Sending state (#2419): the same row, with the pace line and the reason
     Approve waits under the head. The calibration warning sits above the row. */
  .is-processes .proc-ab .t{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1 1 0}
  .is-processes .proc-ab .t b{color:var(--ink);font-weight:600}
  .is-processes .proc-ab-why{color:var(--ink);font-weight:500}
  @container procruns (max-width:600px){
    .is-processes .proc-ab .t ~ button{margin-left:28px}
  }
  @media (max-width:720px){
    .is-processes .proc-ab .t ~ button{margin-left:28px}
  }
  /* Not written to before approval: one row for each reason, with its count, and the addresses of
     the open reason under it. */
  .is-processes .proc-lo{list-style:none;margin:0;padding:0}
  .is-processes .proc-lo > li + li{border-top:1px solid var(--line-soft)}
  .is-processes .proc-lo-g{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 14px;border:0;background:none;color:var(--ink-2);font:inherit;font-size:12.5px;text-align:left;cursor:pointer}
  .is-processes .proc-lo-g:hover{background:var(--sel)}
  .is-processes .proc-lo-g .n{flex:none;min-width:28px;font-weight:600;color:var(--ink)}
  .is-processes .proc-lo-g .w{display:flex;flex-direction:column;gap:2px;flex:1 1 0;min-width:0}
  .is-processes .proc-lo-g .w b{color:var(--ink);font-weight:600}
  .is-processes .proc-lo-g .go{flex:none;color:var(--ink-3)}
  .is-processes .proc-lo-a{list-style:none;margin:0;padding:0 14px 10px 54px;font-size:12.5px;color:var(--ink-2);display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
  .is-processes .proc-msg-h{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 10px}
  .is-processes .proc-msg-h .t{display:flex;flex-direction:column;gap:3px;min-width:0}
  .is-processes .proc-msg-h .a{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
  .is-processes .proc-msg-h h3,.is-processes .proc-msg-h p,.is-processes .proc-msg-f p{margin:0}
  .is-processes .proc-env{display:grid;grid-template-columns:64px minmax(0,1fr);gap:6px 12px;align-items:center;margin:0;padding:10px 0;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);font-size:13px}
  .is-processes .proc-env dt{color:var(--ink-3);font-size:12px}
  .is-processes .proc-env dd{margin:0;min-width:0;overflow-wrap:anywhere;color:var(--ink-2)}
  .is-processes .proc-env dd.s{color:var(--ink);font-weight:600}
  .is-processes .proc-env .inp2{width:100%;min-width:0}
  .is-processes .proc-draft-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6;color:var(--ink)}
  /* A word filled in from the CRM (#2584), on the neutral AI tokens as the board marks it. The rule
     under it marks the word without colour too, and the foot of the panel says what a mark means. */
  .is-processes .proc-mg{background:var(--ai-bg);color:var(--ai-ink);border-bottom:1px solid var(--ai-line);padding:0 2px;border-radius:3px}
  .is-processes .proc-edit-body{width:100%;min-width:0;min-height:180px;resize:vertical}
  .is-processes .proc-msg-f{display:flex;flex-direction:column;gap:6px;padding-top:10px;border-top:1px solid var(--line-soft)}
  /* A one-off playbook (#2285): its own heading in the library, and the goal, the end date and the
     list, as the goal row of the board, with each label over its words at narrow width. */
  #procLibrary .proc-lib-h{display:block;margin-top:14px}
  /* The note under the one-offs has no rule, as on the board. The rule of the column note under it
     keeps the space it has under it: 12px above and 12px below the rule. */
  #procLibrary .proc-oneoff-note{margin:8px 0 0;padding-bottom:12px}
  .is-processes .proc-goal{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:6px 14px;margin:0;padding:10px 14px;border:1px solid var(--line);border-radius:var(--r-md);font-size:13px;line-height:1.45;color:var(--ink)}
  .is-processes .proc-goal dt{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-3);padding-top:1px}
  .is-processes .proc-goal dd{margin:0;min-width:0;overflow-wrap:anywhere}
  @media (max-width:720px){
    .is-processes .proc-goal{grid-template-columns:minmax(0,1fr);gap:2px}
    .is-processes .proc-goal dd + dt{margin-top:6px}
  }
  /* The Sending group (#2708), as the board draws it: one bordered box of rows. Each row is the
     name, the value with its help line under it, and the control. An edit box or the type warning
     is a row of its own under the row it changes. */
  .is-processes .proc-send-set{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r-md)}
  .is-processes .proc-send-set > div{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 12px;font-size:12.5px;line-height:1.45}
  .is-processes .proc-send-set > div + div{border-top:1px solid var(--line-soft)}
  .is-processes .proc-send-set .k{color:var(--ink-3);font-size:12px;font-weight:600}
  .is-processes .proc-send-set .v{color:var(--ink);min-width:0;overflow-wrap:anywhere}
  .is-processes .proc-send-set .v > span{display:block;color:var(--ink-3);font-size:12px}
  .is-processes .proc-send-set .btn-line.sm,.is-processes .proc-send-set .btn-ink.sm{min-height:26px;padding:3px 9px;font-size:12px}
  .is-processes .proc-send-set .seg button{padding:4px 9px;font-size:12px}
  .is-processes .proc-send-set .v .proc-send-fu{display:flex;flex-wrap:wrap;gap:6px 12px;margin-bottom:4px;color:var(--ink);font-size:12.5px}
  .is-processes .proc-send-fu label{display:inline-flex;align-items:center;gap:6px}
  .is-processes .proc-send-fu .inp2{width:56px;min-height:28px;padding:3px 8px;font-size:12.5px}
  .is-processes .proc-send-set .v .proc-send-req{display:block;color:var(--ink-2);font-weight:600}
  .is-processes .proc-send-set > .proc-send-edit{display:flex;flex-direction:column;gap:8px;background:var(--sel)}
  .is-processes .proc-send-edit p{margin:0}
  .is-processes .proc-send-pair{display:flex;flex-wrap:wrap;gap:8px 12px}
  .is-processes .proc-send-field{display:flex;flex-direction:column;gap:4px;min-width:0}
  .is-processes .proc-send-field .inp2{width:100%;min-width:0}
  .is-processes .proc-send-field .inp2[type="time"]{width:auto}
  .is-processes .proc-send-acts{display:flex;flex-wrap:wrap;gap:6px}
  .is-processes .proc-send-note{margin:0}
  /* In the 340px details panel a control beside the value leaves the value too little width: beside
     the Type pills the value column falls to about 20px, and the value and its help wrap a letter
     or two to a line; beside a Change or Save button it falls to about 100px, and the follow-up
     labels break. In a narrow group the pills and the buttons go under the value, in the value
     column, so the value keeps the width of the row. The switch is narrow and stays beside it, as
     on the board. The group is the size container, so the rule follows the width of the panel,
     not the width of the window. */
  .is-processes .proc-send-set{container-type:inline-size}
  @container (max-width:520px){
    .is-processes .proc-send-set > div:has(> .seg, > .btn-line, > .btn-ink){grid-template-columns:92px minmax(0,1fr)}
    .is-processes .proc-send-set > div:has(> .seg, > .btn-line, > .btn-ink) > :is(.seg, .btn-line, .btn-ink){grid-column:2;justify-self:start}
  }
  @media (max-width:720px){
    .is-processes .proc-send-set > div{grid-template-columns:minmax(0,1fr) auto}
    .is-processes .proc-send-set > div > .k{grid-column:1 / -1}
    .is-processes .proc-send-set > div:has(> .seg, > .btn-line, > .btn-ink){grid-template-columns:minmax(0,1fr)}
    .is-processes .proc-send-set > div:has(> .seg, > .btn-line, > .btn-ink) > :is(.seg, .btn-line, .btn-ink){grid-column:1;justify-self:start}
  }
