/* The press box (js\v30_realsteps.js 2.0.0, t29-fixPI, Sat 14 Nov 2026; first drawn by t29-fixNL, Thu 12 Nov 2026).
   What pressing does, readable in three seconds: a small muted head, one row per email, the big actions underlined
   (the ONLY emphasis in the box), record changes plain, reminders as a day and a short label in two columns, what is
   switched off as one muted row. Never a scrollbar: the folds keep it short. The desk's own tokens, so it follows
   every theme. No inline styles. */
.rs-block { display: block; margin: 0 0 6px; padding: 8px 12px 9px; border-radius: 10px; background: var(--solid); box-shadow: 0 0 0 1px var(--glass-rim);
  font-size: .875rem; line-height: 1.3rem; font-weight: 400; color: var(--ink); text-align: left; overflow: visible; max-height: none; }
.rs-block ul { list-style: none; margin: 0; padding: 0; }
.rs-head { margin: 0 0 3px; font-size: .75rem; line-height: 1.1rem; font-weight: 400; color: var(--ink-3); }
.rs-none { margin: 0; font-weight: 400; color: var(--ink-2); overflow-wrap: anywhere; }
.rs-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; align-items: start; }
.rs-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; min-width: 0; }

/* a row: a small quiet glyph, then its words */
.rs-row { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 7px; align-items: start; min-width: 0; font-weight: 400; color: var(--ink); }
.rs-ic { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 1.3rem; color: var(--ink-3); flex: none; }
.rs-ic svg { width: 14px; height: 14px; display: block; }
.rs-main { min-width: 0; overflow-wrap: anywhere; }
.rs-what { font-weight: 400; }
.rs-meta { color: var(--ink-3); font-weight: 400; }
.rs-what + .rs-meta { margin-left: 8px; }
.rs-meta + .rs-meta { margin-left: 8px; }
.rs-mute, .rs-mute .rs-what { color: var(--ink-3); }

/* (a) emails; the file names, a subject and a text that goes with the email sit under it, muted */
.rs-sub { color: var(--ink-3); font-size: .75rem; line-height: 1.1rem; }
.rs-sub .rs-ic { height: 1.1rem; }
.rs-count .rs-main, .rs-count-t { color: var(--ink-2); }
.rs-under { padding-left: 12px; }

/* (b) big actions: the only emphasis in the box */
.rs-big .rs-what { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.rs-big .rs-ic { color: var(--ink-2); }

/* (d) reminders: the day, then a short label, in two aligned columns */
.rs-remwrap { grid-template-columns: minmax(0, 1fr); }
.rs-remgrid { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 10px; row-gap: 1px; padding-left: 23px !important; min-width: 0; }
.rs-rem { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: start; min-width: 0; }
@supports not (grid-template-columns: subgrid) {
  .rs-rem { grid-template-columns: 8.6em minmax(0, 1fr); column-gap: 10px; }
}
.rs-day { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rs-rwhat { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.rs-rem .rs-what { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.rs-full { color: var(--ink-3); font-size: .75rem; line-height: 1.1rem; overflow-wrap: anywhere; padding-bottom: 2px; }

/* the folds: real buttons that read as rows */
.rs-fold { display: inline-flex; align-items: center; gap: 4px; min-height: 1.3rem; margin: 0; padding: 0 4px 0 0; border: 0; border-radius: 4px; background: none; box-shadow: none;
  font: inherit; font-weight: 400; color: var(--ink-2); text-align: left; cursor: pointer; justify-self: start; width: auto; }
.rs-fold:hover .rs-fold-t { text-decoration: underline; text-underline-offset: 3px; }
.rs-chev { display: inline-flex; width: 12px; height: 12px; color: var(--ink-3); transform: rotate(-90deg); transition: transform .12s ease; }
.rs-chev svg { width: 12px; height: 12px; display: block; }
.rs-fold[aria-expanded="true"] .rs-chev { transform: none; }
.rs-fold-more, .rs-fold-off, .rs-offhead .rs-count-t { color: var(--ink-3); }
.rs-more { padding-left: 16px; }

/* (e) switched off: muted, quieter than everything above it */
.rs-offhead { margin-top: 2px; }
.rs-offrow, .rs-offrow .rs-what { color: var(--ink-3); }
.rs-offrow { font-size: .75rem; line-height: 1.1rem; padding-left: 16px; }
.rs-offrow .rs-ic { height: 1.1rem; }

/* THE STICKY PRESS BAR IS ONE ROW, ALWAYS: 30 px, whatever the job does. It holds one button of at most four quiet
   chips (or the same as plain words) and, at its head, the one quiet look chip; never a list, never a second band,
   never a wrap, never a scrollbar. The list is the box above, in the page (the bottom part "What this job does when
   you press"), which the row opens and brings into view. The page measures the row (js: fit) and folds chips into
   "+2 more" until it fits; the rules under .rs-fit hold each piece at its own width so that can be measured. */
.rs-barline { display: flex; align-items: center; gap: 10px; box-sizing: border-box; min-width: 0; max-width: 100%; height: 30px; overflow: hidden; }
.rs-sumline { display: flex; flex: 0 1 auto; align-items: center; gap: 12px; box-sizing: border-box; width: auto; max-width: 100%; min-width: 0; height: 30px; margin: 0; padding: 0 6px 0 0;
  border: 0; border-radius: 10px; background: none; box-shadow: none; font: inherit; font-size: .9375rem; line-height: 1.25rem; font-weight: 400; color: var(--ink);
  text-align: left; cursor: pointer; overflow: hidden; white-space: nowrap; }
.rs-sumline:hover .rs-go-t { text-decoration: underline; text-underline-offset: 3px; }
.rs-sumline:hover .rs-sum-go { color: var(--ink); }
/* (A) chips: quiet (no border, no colour to learn); the underline of a big action is the only emphasis. Before the
   row is measured (or where it cannot be), a chip with no room is left out whole: it wraps out of the row's height. */
.rs-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; height: 28px; overflow: hidden; min-width: 0; flex: 0 1 auto; }
.rs-chip { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--solid-2); color: var(--ink); white-space: nowrap; }
.rs-chip-t, .rs-chip-sub { white-space: nowrap; }
.rs-chip-sub { color: var(--ink-2); }
.rs-chip-sub::before { content: "\00B7\00A0"; color: var(--ink-3); }
.rs-chip-big .rs-chip-t { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.rs-chip-more { background: none; padding: 0 2px; color: var(--ink-2); }
/* (B) the same row as plain words with middle dots, cut with an ellipsis */
.rs-sum-t { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-sum-t > span { white-space: nowrap; }
.rs-sum-sep { color: var(--ink-3); }
.rs-sum-big { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
/* the small "What happens" and its caret at the end: the whole row goes to the list in the page */
.rs-sum-go { display: inline-flex; align-items: center; gap: 2px; flex: none; font-size: .8125rem; color: var(--ink-2); white-space: nowrap; }
.rs-sum-go svg { width: 14px; height: 14px; display: block; flex: none; }
/* the look chip: what the bar's own code used to put under the row as a second band is one quiet chip at the head of
   the row, its own button, that goes to the words. It takes one of the four places. */
.rs-look { display: inline-flex; align-items: center; gap: 6px; flex: 0 1 auto; box-sizing: border-box; min-width: 0; max-width: 62%; height: 28px; margin: 0; padding: 0 10px;
  border: 0; border-radius: 8px; background: var(--solid-2); box-shadow: none; font: inherit; font-size: .9375rem; line-height: 1.25rem; font-weight: 400; color: var(--ink);
  text-align: left; white-space: nowrap; overflow: hidden; }
button.rs-look { cursor: pointer; }
button.rs-look:hover .rs-look-l, button.rs-look:hover .rs-look-s, button.rs-look:hover .rs-look-t { text-decoration: underline; text-underline-offset: 3px; }
.rs-look svg { width: 14px; height: 14px; display: block; flex: none; color: var(--ink-2); }
.rs-look-l, .rs-look-s, .rs-look-t { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-look-s, .rs-look-t { display: none; }
/* the measured row: every piece at its own width; the page folds until the row fits (no transition: the page's own
   buttons ease every change, and a width that is still easing cannot be measured) */
.rs-barline, .rs-barline * { transition: none !important; }
.job-bar .sum .rs-barline.rs-fit > .rs-sumline, .job-bar .sum .rs-barline.rs-fit > .rs-look,
.rs-barline.rs-fit > .rs-sumline, .rs-barline.rs-fit > .rs-look { flex: none; max-width: none; overflow: visible; }
.job-bar .sum .rs-barline.rs-fit .rs-chips, .job-bar .sum .rs-barline.rs-fit .rs-sum-t,
.rs-barline.rs-fit .rs-chips, .rs-barline.rs-fit .rs-sum-t { flex: none; flex-wrap: nowrap; max-width: none; overflow: visible; }
.rs-barline.rs-tight-go .rs-go-t { display: none; }
.rs-barline.rs-tight-go.rs-only-go .rs-go-t { display: inline; }
.rs-barline.rs-only-go .rs-sum-go { font-size: .9375rem; color: var(--ink); }
.rs-barline.rs-tight-look .rs-look-l { display: none; }
.rs-barline.rs-tight-look .rs-look-s { display: inline; }
.rs-barline.rs-compact { gap: 8px; }
.rs-barline.rs-compact .rs-sumline { gap: 8px; padding-right: 2px; }
.rs-barline.rs-compact .rs-chips { gap: 0 6px; }
.rs-barline.rs-compact .rs-chip, .rs-barline.rs-compact .rs-look { padding: 0 8px; }
.rs-barline.rs-compact .rs-chip-more { padding: 0 2px; }
.rs-barline.rs-tiny-look .rs-look-s { display: none; }
.rs-barline.rs-tiny-look .rs-look-t { display: inline; }
.rs-barline.rs-tight-sub .rs-chip-sub { display: none; }
/* a bar too narrow even for that: the words are cut with an ellipsis rather than spill */
.job-bar .sum .rs-barline.rs-squeeze > .rs-sumline, .rs-barline.rs-squeeze > .rs-sumline { flex: 1 1 0; min-width: 0; max-width: 100%; overflow: hidden; }
.job-bar .sum .rs-barline.rs-squeeze > .rs-look, .rs-barline.rs-squeeze > .rs-look { flex: 0 1 auto; min-width: 0; max-width: 50%; overflow: hidden; }
.job-bar .sum .rs-barline.rs-squeeze .rs-chips, .job-bar .sum .rs-barline.rs-squeeze .rs-sum-t,
.rs-barline.rs-squeeze .rs-chips, .rs-barline.rs-squeeze .rs-sum-t { flex: 0 1 auto; flex-wrap: wrap; min-width: 0; max-width: 100%; overflow: hidden; }
/* the row says the counts, so the bar's own "1 email, 5 updates" under it is not drawn twice */
.job-bar .sum .rs-barline ~ .counts { display: none; }
:root[data-theme="high_contrast"] .rs-chip, :root[data-theme="high_contrast"] .rs-look { background: #fff; box-shadow: inset 0 0 0 1px #000; }
:root[data-theme="high_contrast"] .rs-chip-more { box-shadow: none; }

/* in the page: ONE column at full width, top to bottom (emails, big actions, record changes, reminders, switched
   off); nothing is cut: a long line wraps */
/* the older ticked list, folded under the box in the bottom part (js: inPage) */
details.rs-change { margin-top: 2px; }
details.rs-change > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 6px 0 0; cursor: pointer; list-style: none; border-radius: 6px;
  font-size: .875rem; line-height: 1.3rem; font-weight: 400; color: var(--ink-2); }
details.rs-change > summary::-webkit-details-marker { display: none; }
details.rs-change > summary::before { content: ""; flex: none; width: 6px; height: 6px; margin: 0 3px 0 4px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(-45deg); }
details.rs-change[open] > summary::before { transform: rotate(45deg); }
details.rs-change > summary:hover .rs-change-t { text-decoration: underline; text-underline-offset: 3px; }
details.rs-change > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
details.rs-change > :not(summary) { margin-top: 8px; }
/* the box stands above this fold; the older list brings one of its own each time it draws itself again: never two */
details.rs-change .rs-block { display: none; }
.lk-task .rs-block { justify-self: stretch; }
/* the box a press with no email opens floats over the card: with the press box in it, the older list (the same steps
   again, in longer words, with no ticks here) is not drawn, so the box stays short; the whole list is in the page */
.pa-confirm .rs-block ~ .pa-fx-wrap, .pa-confirm .rs-block ~ .pa-list { display: none; }

@media (prefers-reduced-motion: reduce) { .rs-chev { transition: none; } }
:root[data-motion="reduced"] .rs-chev { transition: none; }
:root[data-theme="high_contrast"] .rs-block { box-shadow: 0 0 0 2px #000; }
:root[data-theme="high_contrast"] .rs-big .rs-what { text-decoration-thickness: 2px; }
