/* v5 (25 Nov 2026): the screens that are not charts. Loaded last, after site.css on the site frame and after v4.css in
   the portal. Two parts: (1) the first sign in as one guided flow, (2) the owner's area (Settings, people, admin).
   Same design language as before (OneNine Design 26): no new colours, only the tokens of base.css and v2.css. */

/* ───────────────────────── 1. The first sign in ───────────────────────── */

.auth .linkish { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline;
  text-underline-offset: .18em; cursor: pointer; }
.auth .linkish.small { font-size: .875rem; color: var(--ink-2); }
.auth .linkish:hover { color: var(--ink); }
.auth-card.flow-card { max-width: 580px; gap: 20px; }
.auth.signin-flow { align-items: start; }

/* The stepper: where a new person is, and what is left. */
.signin-steps { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: none; }
.signin-steps li { position: relative; display: grid; justify-items: center; gap: 7px; text-align: center; font-size: .78rem; line-height: 1.25;
  color: var(--ink-3); padding: 0 4px; }
.signin-steps li::before { content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.signin-steps li:first-child::before { display: none; }
.signin-steps li.done::before, .signin-steps li.now::before { background: var(--slate); }
.flow-dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--line); font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.flow-dot svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.signin-steps li.done .flow-dot { background: var(--slate); border-color: var(--slate); color: var(--white); }
.signin-steps li.now .flow-dot { border-color: var(--slate); color: var(--slate); box-shadow: 0 0 0 4px var(--butter); }
.signin-steps li.now { color: var(--ink); font-weight: 600; }
.signin-steps li.done { color: var(--ink-2); }

/* Numbered steps with the action inside each step. */
.flow-how { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; counter-reset: how; }
.flow-how > li { position: relative; counter-increment: how; padding: 0 0 26px 48px; display: grid; gap: 10px; }
.flow-how > li:last-child { padding-bottom: 0; }
.flow-how > li::before { content: counter(how); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--butter); color: var(--ink); font-weight: 600; font-size: .9rem; }
.flow-how > li::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 6px; width: 2px; background: var(--hair); }
.flow-how > li:last-child::after { display: none; }
.flow-how h2 { font-family: inherit; font-size: 1.02rem; font-weight: 600; line-height: 1.3; color: var(--ink); margin: 0; }
.flow-how h2 label { font: inherit; color: inherit; }
.flow-how p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.flow-scan { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 20px; align-items: center; }
.flow-scan .qr { width: 172px; margin: 0; }
.flow-scan-side { display: grid; gap: 12px; }
.flow-key { border-top: 1px solid var(--hair); padding-top: 10px; }
.flow-key summary { cursor: pointer; font-size: .9rem; font-weight: 500; color: var(--slate); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.flow-key summary::-webkit-details-marker { display: none; }
.flow-key summary::before { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg); transition: transform .15s ease; margin-right: 2px; }
.flow-key[open] summary::before { transform: rotate(45deg); }
.flow-key summary:hover { color: var(--ink); }
.flow-key > p { margin: 8px 0 0; }
.flow-key-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 12px; border-radius: 10px; background: var(--paper);
  border: 1px solid var(--hair); }
.flow-key-row .secret { font-size: .95rem; letter-spacing: .04em; word-break: normal; overflow-wrap: anywhere; }
.flow-code { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.auth-card form.flow-code { gap: 12px; }
.flow-code .field { grid-column: 1 / -1; }
.flow-code .code-input { min-height: 46px; }
.flow-code .code-input::placeholder { color: var(--line); letter-spacing: .18em; }
.flow-how .notice { margin: 0; }
.flow-how .is-done, .codes-acts .is-done { color: var(--ok); border-color: var(--ok); }

/* The other way, kept apart from the three steps. */
.flow-alt { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; margin-top: 8px;
  padding: 22px 0 0; border-top: 1px solid var(--line); }
.flow-alt-or { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 0 12px; background: var(--white);
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.flow-alt h2 { font-family: inherit; font-size: .95rem; font-weight: 600; margin: 0 0 2px; color: var(--ink); }
.flow-alt p { margin: 0; }
.flow-out { display: flex !important; justify-content: center; }

/* Recovery codes: easy to copy, download or print. */
.codes-box { display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--hair); }
.codes-box .codes { padding: 0; background: none; border: 0; gap: 10px 20px; }
.codes-box .codes li { padding: 9px 12px; border-radius: 9px; background: var(--white); border: 1px solid var(--hair); text-align: center; }
.codes-box .codes code { font-size: 1.02rem; letter-spacing: .05em; }
.codes-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.codes-acts .btn { flex: 1 1 0; justify-content: center; gap: 7px; background: var(--white); }
.codes-acts svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.codes-where { margin: 0; text-align: center; }

/* Two step is on: what is set, then the one thing to do here. */
.flow-facts { margin: 0; display: grid; border: 1px solid var(--hair); border-radius: 12px; }
.flow-facts > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 14px; font-size: .92rem; }
.flow-facts > div + div { border-top: 1px solid var(--hair); }
.flow-facts dt { color: var(--ink-2); }
.flow-facts dd { margin: 0; text-align: right; }
.flow-sub { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--hair); }
.flow-sub h2 { font-family: inherit; font-size: 1rem; font-weight: 600; margin: 0; }
.flow-sub p { margin: 0; }
.code-help { margin-top: 2px; }

/* Mid flow the top bar offers nothing to click away to. */
.page-inner:has(.signin-steps) .topbar-actions > .btn { display: none; }

@media (max-width: 560px) {
  .auth.signin-flow { padding-top: 24px; }
  .signin-steps li { font-size: .7rem; }
  .flow-how > li { padding-left: 40px; }
  .flow-scan { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .flow-scan-side { justify-items: center; }
  .flow-code { grid-template-columns: minmax(0, 1fr); }
  .flow-alt { grid-template-columns: minmax(0, 1fr); }
  .flow-alt .btn { justify-self: start; }
  .codes-box .codes { grid-template-columns: 1fr 1fr; gap: 8px; }
  .codes-box .codes code { font-size: .9rem; letter-spacing: 0; }
}

@media print {
  body:has([data-codes]) .topbar, body:has([data-codes]) .footer, body:has([data-codes]) .signin-steps, body:has([data-codes]) .codes-acts,
  body:has([data-codes]) .auth-card > .btn, body:has([data-codes]) .auth-wave, body:has([data-codes]) .oi-dock { display: none !important; }
  body:has([data-codes]) .auth { min-height: 0; padding: 0; background: none; }
  body:has([data-codes]) .auth-card { border: 0; max-width: none; padding: 0; }
  body:has([data-codes]) .codes-box::before { content: attr(data-title); font-weight: 600; }
}

/* ───────────────────────── 2. The owner's area ───────────────────────── */

/* Jump row: Settings is a long page; these lead to its parts. */
body.app.ui-v2 .set-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--u-gap, 16px); }
body.app.ui-v2 .set-jump a { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--v-border-2); background: var(--v-surface);
  color: var(--v-text-2); font-size: var(--t-sm); text-decoration: none; }
body.app.ui-v2 .set-jump a:hover { color: var(--v-text); border-color: var(--v-text-3); }
body.app.ui-v2 .set-v5 > .card { scroll-margin-top: calc(var(--v-tb-h, 52px) + 16px); }
body.app.ui-v2 .set-v5 > .card:target { box-shadow: 0 0 0 2px var(--butter-2, #FFEFAE); }

/* One danger button for the whole app's settings. */
body.app.ui-v2 .btn-danger { background: var(--v-surface); border: 1px solid #E3B8B4; color: var(--bad, #B3232A); }
body.app.ui-v2 .btn-danger:hover { background: #FBE9E7; border-color: var(--bad, #B3232A); }

/* People: a row per person. */
body.app.ui-v2 .people-head, body.app.ui-v2 .person-row { display: grid; align-items: center; gap: 4px 16px;
  grid-template-columns: 36px minmax(180px, 2.1fr) minmax(140px, 1.6fr) minmax(120px, 1fr) 76px 96px; }
body.app.ui-v2 .people-head.with-units, body.app.ui-v2 .people.with-units .person-row {
  grid-template-columns: 36px minmax(180px, 2.1fr) minmax(140px, 1.6fr) minmax(80px, .8fr) minmax(120px, 1fr) 76px 96px; }
body.app.ui-v2 .people-head { padding: 0 12px 8px; border-bottom: 1px solid var(--v-border); color: var(--v-text-3); font-size: var(--t-xs);
  letter-spacing: .04em; text-transform: uppercase; }
body.app.ui-v2 .people { list-style: none; margin: 0; padding: 0; }
body.app.ui-v2 .person { border-bottom: 1px solid var(--v-border); }
body.app.ui-v2 .person-row { padding: 12px; font-size: var(--t-base); color: var(--v-text); list-style: none; }
body.app.ui-v2 summary.person-row { cursor: pointer; border-radius: var(--v-r-sm); }
body.app.ui-v2 summary.person-row::-webkit-details-marker { display: none; }
body.app.ui-v2 summary.person-row:hover { background: var(--v-hover); }
body.app.ui-v2 .person.off .person-row > :not(.person-more) { opacity: .6; }
body.app.ui-v2 .person-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--v-sunken);
  color: var(--v-text-2); font-size: var(--t-xs); font-weight: 600; letter-spacing: .02em; }
body.app.ui-v2 .person-who { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
body.app.ui-v2 .person-who b { font-weight: 600; }
body.app.ui-v2 .person-mail { flex: 0 0 100%; color: var(--v-text-2); font-size: var(--t-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.app.ui-v2 .person-roles { display: flex; flex-wrap: wrap; gap: 4px; }
body.app.ui-v2 .role-chip { background: var(--v-sunken); color: var(--v-text); }
body.app.ui-v2 .role-chip.role-legal_owner, body.app.ui-v2 .role-chip.role-admin { background: var(--v-accent); color: var(--v-accent-ink); }
body.app.ui-v2 .role-chip.role-reader { background: transparent; border: 1px solid var(--v-border-2); color: var(--v-text-2); }
body.app.ui-v2 .person-units, body.app.ui-v2 .person-seen { color: var(--v-text-2); font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
body.app.ui-v2 .person-more { justify-self: end; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: var(--v-r-sm);
  border: 1px solid var(--v-border-2); background: var(--v-surface); font-size: var(--t-sm); font-weight: 500; color: var(--v-text); }
body.app.ui-v2 .person-more:empty { display: none; }
body.app.ui-v2 .person-more svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .15s ease; }
body.app.ui-v2 .person-d[open] .person-more svg { transform: rotate(180deg); }
body.app.ui-v2 .person-d[open] > summary { background: var(--v-sunken); border-radius: var(--v-r-sm) var(--v-r-sm) 0 0; }

/* What the owner may change for one person. */
body.app.ui-v2 .person-panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 28px; padding: 18px 16px 16px 64px;
  background: var(--v-sunken); border-radius: 0 0 var(--v-r-sm) var(--v-r-sm); margin-bottom: 10px; }
body.app.ui-v2 .person-panel form { margin: 0; }
body.app.ui-v2 .pp-block { display: grid; gap: 10px; align-content: start; }
body.app.ui-v2 .pp-side { display: grid; gap: 18px; align-content: start; }
body.app.ui-v2 .pp-block > label, body.app.ui-v2 .person-panel legend, body.app.ui-v2 .add-person legend {
  padding: 0; margin: 0 0 8px; font-size: var(--t-sm); font-weight: 600; color: var(--v-text); }
body.app.ui-v2 .pp-block > label { margin: 0; }
body.app.ui-v2 .pp-inline { display: flex; gap: 8px; }
body.app.ui-v2 .pp-inline .input { flex: 1 1 auto; min-width: 0; }
body.app.ui-v2 .pp-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
body.app.ui-v2 .pp-units .checks { flex-direction: column; gap: 6px; }
body.app.ui-v2 .pp-unit-list { display: grid; gap: 5px; padding: 2px 0 2px 22px; }
body.app.ui-v2 .pp-units .btn { justify-self: start; }
body.app.ui-v2 .pp-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid var(--v-border-2); }
body.app.ui-v2 .pp-danger { margin-left: auto !important; }

/* Roles as cards: the name and what the role may do, one click each. */
body.app.ui-v2 .role-cards { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
body.app.ui-v2 .role-cards legend { grid-column: 1 / -1; float: left; width: 100%; }
body.app.ui-v2 .role-card { display: flex; align-items: flex-start; gap: 9px; padding: 9px 11px; border: 1px solid var(--v-border-2); border-radius: var(--v-r-sm);
  background: var(--v-surface); cursor: pointer; }
body.app.ui-v2 .role-card:hover { border-color: var(--v-text-3); }
body.app.ui-v2 .role-card:has(input:checked) { border-color: var(--v-accent); box-shadow: inset 0 0 0 1px var(--v-accent); }
body.app.ui-v2 .role-card input { margin: 3px 0 0; accent-color: var(--v-accent); flex: none; }
body.app.ui-v2 .role-card > span { display: grid; gap: 1px; min-width: 0; }
body.app.ui-v2 .role-card b { font-size: var(--t-base); font-weight: 600; }
body.app.ui-v2 .role-card .small { line-height: 1.35; }

/* Add a person. */
body.app.ui-v2 .add-person { display: grid; gap: 14px; margin-top: 20px; padding: 18px; border: 1px solid var(--v-border); border-radius: var(--v-r);
  background: linear-gradient(var(--v-surface), var(--v-surface)); }
body.app.ui-v2 .add-person h3 { margin: 0; font-size: var(--t-lg, 1.05rem); font-weight: 600; }
body.app.ui-v2 .ap-fields { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 12px; }
body.app.ui-v2 .ap-fields .field { margin: 0; }
body.app.ui-v2 .add-person .role-cards { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

/* Plan: what is used of what. */
body.app.ui-v2 .usage-v5 > div { flex-wrap: wrap; align-items: baseline; }
body.app.ui-v2 .usage-v5 dd { font-variant-numeric: tabular-nums; font-weight: 500; }
body.app.ui-v2 .meter { flex: 0 0 100%; display: block; width: 100%; height: 4px; border-radius: 2px; overflow: hidden; margin-top: 2px; }
body.app.ui-v2 .meter .m-track { fill: var(--v-sunken); }
body.app.ui-v2 .meter .m-fill { fill: var(--v-accent); }
body.app.ui-v2 .meter.full .m-fill { fill: var(--orange, #CB6700); }
body.app.ui-v2 .usage-mods dd { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; font-weight: 400; }

/* Rows with the action at the right (Your sign in). */
body.app.ui-v2 .set-rows { margin: 4px 0 0; display: grid; }
body.app.ui-v2 .set-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0;
  border-top: 1px solid var(--v-border); min-height: 52px; }
body.app.ui-v2 .set-rows dt { color: var(--v-text); font-size: var(--t-base); }
body.app.ui-v2 .set-rows dt label { font: inherit; color: inherit; margin: 0; }
body.app.ui-v2 .set-rows dd { margin: 0; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
body.app.ui-v2 .set-rows .lang-form { display: flex; margin: 0; }
body.app.ui-v2 .set-rows .lang-form select { width: auto; min-width: 150px; }

/* Role names: three to a row instead of six full-width fields. */
body.app.ui-v2 form.role-names { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; align-items: end; }
body.app.ui-v2 form.role-names .field { margin: 0; }
body.app.ui-v2 form.role-names .field label { font-size: var(--t-sm); color: var(--v-text-2); }
body.app.ui-v2 form.role-names > .btn { grid-column: 1 / -1; justify-self: start; min-height: 34px; padding: 0 14px;
  background: var(--v-accent); border-color: var(--v-accent); color: var(--v-accent-ink); }

/* Business units and the commentary language side by side. */
body.app.ui-v2 #units .unit-list li { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; padding: 12px 0; }
body.app.ui-v2 #units .unit-list li > b, body.app.ui-v2 #units .unit-list li > .muted { grid-column: 1; }
body.app.ui-v2 #units .unit-lang { grid-column: 2; grid-row: 1 / span 2; margin: 0; flex-direction: column; align-items: flex-end; gap: 3px; }
body.app.ui-v2 #units .unit-lang select { width: auto; min-width: 130px; }

/* The trail: when, who, what. */
body.app.ui-v2 .set-v5 .trail { gap: 0; }
body.app.ui-v2 .set-v5 .trail li { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 7px 0;
  border-top: 1px solid var(--v-border); }
body.app.ui-v2 .set-v5 .trail li:first-child { border-top: 0; }
body.app.ui-v2 .set-v5 .trail-at { font-variant-numeric: tabular-nums; }
body.app.ui-v2 .set-v5 .trail-who { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.app.ui-v2 .set-v5 .trail-what { color: var(--v-text-2); font-size: var(--t-sm); }

/* Accounting system: the fold-out reads as a button. */
body.app.ui-v2 .conn-list li { grid-template-columns: minmax(0, 1fr); padding: 12px 0; }
body.app.ui-v2 .conn-add summary { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: var(--v-r-sm);
  border: 1px solid var(--v-border-2); background: var(--v-surface); color: var(--v-text); font-weight: 500; list-style: none; width: max-content; }
body.app.ui-v2 .conn-add summary::-webkit-details-marker { display: none; }
body.app.ui-v2 .conn-add summary:hover { background: var(--v-hover); }

@media (max-width: 1100px) {
  body.app.ui-v2 .people-head { display: none; }
  body.app.ui-v2 .person-row, body.app.ui-v2 .people.with-units .person-row { grid-template-columns: 36px minmax(0, 1fr) auto; row-gap: 8px; }
  body.app.ui-v2 .person-roles, body.app.ui-v2 .person-units, body.app.ui-v2 .person-seen, body.app.ui-v2 .person-2s { grid-column: 2 / -1; }
  body.app.ui-v2 .person-units::before, body.app.ui-v2 .person-seen::before { content: attr(data-l) ": "; color: var(--v-text-3); }
  body.app.ui-v2 .person-more { grid-column: 3; grid-row: 1; }
  body.app.ui-v2 .person-panel { grid-template-columns: minmax(0, 1fr); padding-left: 16px; }
  body.app.ui-v2 .ap-fields, body.app.ui-v2 form.role-names { grid-template-columns: minmax(0, 1fr); }
  body.app.ui-v2 .set-v5 .trail li { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* Half-width cards wrap in one row: a card alone on its line takes the whole line (no empty half). */
body.app.ui-v2 .set-halves { display: flex; flex-wrap: wrap; gap: var(--u-gap, 16px); align-items: stretch; }
body.app.ui-v2 .set-halves > .card { flex: 1 1 380px; min-width: 0; margin: 0; display: flex; flex-direction: column; }
body.app.ui-v2 .usage-mods dd { flex: 0 0 100%; justify-content: flex-start; padding-top: 4px; }
body.app.ui-v2 form.role-names { margin-top: 12px; }
body.app.ui-v2 .set-v5 #trail .trail { columns: 2; column-gap: 40px; display: block; }
body.app.ui-v2 .set-v5 #trail .trail li { break-inside: avoid; border-top: 0; border-bottom: 1px solid var(--v-border); }
body.app.ui-v2 #units .unit-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 0 40px; }
.flow-sub .flow-code { grid-template-columns: minmax(0, 1fr); }
.auth.signin-flow { padding-top: clamp(28px, 4vw, 48px); }
@media (max-width: 1100px) { body.app.ui-v2 .set-v5 #trail .trail { columns: 1; } }

/* Role chips keep an edge, so they also read on a highlighted row. */
body.app.ui-v2 .role-chip { background: var(--v-surface); border: 1px solid var(--v-border-2); }
body.app.ui-v2 .role-chip.role-legal_owner, body.app.ui-v2 .role-chip.role-admin { border-color: var(--v-accent); }

/* Modules: the intro line was set in the narrow display face at text size. */
body.app.ui-v2 main .mod-plan-n { font-family: inherit; font-size: var(--t-lg, 1.05rem); font-weight: 600; letter-spacing: 0; line-height: 1.35; }

/* The first day: three steps and one button. */
body.app.ui-v2 .first-day { display: grid; gap: 16px; max-width: 980px; padding: clamp(22px, 3vw, 36px); }
body.app.ui-v2 .first-day > * { margin: 0; }
body.app.ui-v2 .first-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: fd; }
body.app.ui-v2 .first-steps li { counter-increment: fd; position: relative; display: grid; gap: 4px; align-content: start; padding: 16px 16px 16px 58px;
  border: 1px solid var(--v-border); border-radius: var(--v-r); background: var(--v-bg); }
body.app.ui-v2 .first-steps li::before { content: counter(fd); position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--butter, #FFF4C2); color: var(--v-text); font-weight: 600; font-size: var(--t-base); }
body.app.ui-v2 .first-steps b { font-weight: 600; }
body.app.ui-v2 .first-steps span { color: var(--v-text-2); font-size: var(--t-sm); line-height: 1.45; }
body.app.ui-v2 .first-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (max-width: 800px) { body.app.ui-v2 .first-steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1100px) {
  body.app.ui-v2 .person-roles { grid-column: 2; }
  body.app.ui-v2 .person-2s { grid-column: 3; grid-row: 2; justify-self: end; }
}
@media (max-width: 560px) { .flow-scan-side .btn { width: 100%; justify-content: center; } }

/* OneNine support in a client's environment (the superuser role): listed apart from the client's own people. */
body.app.ui-v2 .support-people { margin: 16px 0 0; padding: 16px 18px; border: 1px dashed var(--v-border, #DDD8D0); border-radius: 12px; }
body.app.ui-v2 .support-people h3 { margin: 0 0 4px; font-size: var(--t-base, 15px); font-weight: 600; }
body.app.ui-v2 .support-people p { margin: 0 0 10px; }
body.app.ui-v2 .support-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
body.app.ui-v2 .support-list li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
