/* Validator pages: the public page, the management page and Fund operator (validator pages v2,
   approved by the user 2026-10-21). Existing tokens only; every class is prefixed vp- so nothing here
   restyles another page. */

.vp-ic { flex:none; }
.vp .btn { gap:8px; }
.vp .btn .vp-ic { margin-left:-2px; }
/* The setup checklist's step action keeps its narrower 12px inset (the shared .btn.sm is 14px). */
.vp-steps .btn.sm { padding-inline:12px; }
.vp-muted { color:var(--mute); }
[data-penalty-detail][hidden] { display:none; }
.vp-small { font-size:12.5px; }
.vp-sep { opacity:.5; }

/* ---- Header shared by both pages ---- */
.vp .breadcrumbs + .vp-head, .vp .breadcrumbs + .vp-page-head { padding-top:4px; }
.vp-head { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:18px 20px; align-items:start; padding:8px 0 22px; }
.vp-head-main { min-width:0; display:flex; flex-direction:column; gap:8px; }
.vp-title { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; }
.vp-title h1, .vp-page-head h1 { margin:0; overflow-wrap:break-word; }
.vp-title h1.is-unnamed { color:var(--mute); }
.vp-sub { display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; font-size:13px; color:var(--mute); }
/* Workspace actions take a second row, so they never take width from the name: right-aligned under Delegate GEN,
   beside the chips and address lines, when the header is wide enough for both; otherwise their own row under the name.
   The chips keep their gap under the name. */
.vp-head > .vp-workspace-actions { grid-column:2 / -1; justify-content:flex-start; }
@container (min-width:980px) {
  .vp-head:has(> .vp-workspace-actions) { row-gap:8px; }
  .vp-head:has(> .vp-workspace-actions) > .vp-avatar { grid-row:1 / span 2; }
  .vp-head:has(> .vp-workspace-actions) > .vp-head-main { display:contents; }
  .vp-head:has(> .vp-workspace-actions) > .vp-head-main > * { grid-column:2; }
  .vp-head:has(> .vp-workspace-actions) .vp-title { grid-row:1; }
  .vp-head:has(> .vp-workspace-actions) .title-chips { grid-row:2; }
  .vp-head:has(> .vp-workspace-actions) .vp-sub { grid-row:3; }
  .vp-head:has(> .vp-workspace-actions) > .vp-actions { grid-column:3; grid-row:1; }
  .vp-head:has(> .vp-workspace-actions) > .vp-workspace-actions { grid-column:2 / -1; grid-row:2 / span 2; justify-self:end; align-self:start; justify-content:flex-end; }
}
.vp-addr { display:inline-flex; align-items:center; font:500 12.5px var(--font-m); color:var(--ink); white-space:nowrap; }
.vp-addr.is-missing { font-family:var(--font-b); color:var(--mute); }
.vp-addr .copy-btn { margin-left:4px; }
.vp-addr .copy-btn svg { width:14px; height:14px; }
/* A mouse gets the compact icon; phones and touch keep the shared 44px copy target (entry.css). */
@media (min-width:561px) and (pointer:fine) { .vp-addr .copy-btn { width:26px; height:26px; } }
.vp-addr .explorer-icon-link { width:26px; height:26px; color:var(--mute); }
.vp-pitch { margin:2px 0 0; font-size:15px; line-height:1.55; color:var(--ink); max-width:70ch; overflow-wrap:anywhere; }
.vp-links { display:flex; flex-wrap:wrap; gap:6px; }
.vp-links a, .vp-tag { display:inline-flex; align-items:center; height:28px; max-width:100%; padding:0 11px; border:1px solid var(--line); border-radius:999px; font-size:12.5px; font-weight:500; color:var(--ink); text-decoration:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.vp-tag { color:var(--mute); }
@media (pointer:coarse) { .vp-links a { height:40px; } }

.vp-action-unavailable { display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.vp-action-unavailable .help { margin:0; max-width:360px; text-align:end; }
.vp-actions .copy-btn { width:38px; height:38px; border:1px solid var(--line); border-radius:999px; }

/* ---- Stat strip ---- */
/* A hairline band, as in the prototype: rules above and below, no box, no column rules. */
.vp-stats-wrap { margin-top:16px; border-block:1px solid var(--line); }
.vp-stats { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); }
.vp-stats.has-rewards { grid-template-columns:repeat(6,minmax(0,1fr)); }
.vp-stats.vp-stats--stake, .vp-stats.vp-stats--activity { grid-template-columns:repeat(3,minmax(0,1fr)); }
.vp-stats--activity .vp-stat { border-top:1px solid var(--line); }
.vp-stats.vp-stats--summary { grid-template-columns:repeat(3,minmax(0,1fr)); }
.vp-stat { display:flex; flex-direction:column; padding:18px 12px; min-width:0; }
.vp-stat-label { font:var(--label); color:var(--mute); }
.vp-stat-value, .vp-stat .metric-precision > b, .vp-stat > b, .vp-stat-selection > .selection-status { margin-top:6px; }
.vp-stat-value, .vp-stat .metric-precision > b, .vp-stat > b { display:block; font:500 22px/1.15 var(--font-d); letter-spacing:-.02em; overflow-wrap:anywhere; }
.vp-stat-value small { margin-left:.3em; font:500 13px var(--font-b); color:var(--mute); letter-spacing:0; }
.vp-stat-value.is-word { margin-top:9px; font:600 17px/1.3 var(--font-b); letter-spacing:-.01em; }
.vp-stat-note { margin-top:4px; font-size:12px; color:var(--mute); line-height:1.45; }
.vp-stat-note.is-pending { color:var(--blue); font-weight:600; }
.vp-stat.is-lead .vp-stat-value { font-size:26px; }
/* Pending is a separate, always-visible set of facts; never a subcaption of current stake. */
.vp-pending-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); background:var(--fog); }
.vp-pending-heading, .vp-pending-kind { min-width:0; padding:16px 12px; }
.vp-pending-heading { grid-column:1; }
.vp-pending-kind[data-pending-self] { grid-column:2; }
.vp-pending-kind[data-pending-delegation] { grid-column:3; }
.vp-pending-timing { grid-column:1 / -1; }
.vp-pending-heading h3 { margin:0; color:var(--ink); }
.vp-pending-total { margin-top:6px; font-size:13px; color:var(--ink); }
.vp-pending-note { margin:6px 0 0; font-size:12px; line-height:1.5; color:var(--ink); }
.vp-pending-kind { box-shadow:inset 1px 0 var(--line); }
.vp-pending-kind .vp-stat-label { display:block; color:var(--ink); }
.vp-pending-kind .vp-stat-value { margin-top:6px; }

.vp-stats-foot { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; padding:11px 0; border-top:1px solid var(--line-soft); font-size:13px; color:var(--mute); }
.vp-stats-foot strong { color:var(--ink); }
.vp-epochs { display:flex; align-items:center; gap:5px; }
.vp-epochs i { width:24px; height:6px; border-radius:3px; background:var(--line); }
.vp-epochs i.is-done { background:var(--green); }
.vp-epochs i.is-next { background:var(--blue); }

/* ---- Cards ---- */
.vp-card { min-width:0; }
.vp-card p { margin:0; font-size:13.5px; line-height:1.6; }
.vp-card p + p { margin-top:10px; }
.vp-prose { color:var(--ink); font-size:14.5px; overflow-wrap:anywhere; }
.vp-actions-row { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
/* About: published contacts as labeled rows under the description. */
.vp-contact { font-size:14px; }
.vp-prose + .vp-contact { margin-top:14px; }
.vp-contact a { color:var(--ink); }

/* ---- Addresses: full width, right after the stat strip, one row per address ---- */
.vp-addresses { margin-top:16px; padding-bottom:6px; container-type:inline-size; }
.vp-addresses .vp-card-head { margin-bottom:4px; }
.vp-roles { display:flex; flex-direction:column; }
.vp-role { display:grid; grid-template-columns:250px 220px minmax(0,1fr); align-items:center; gap:6px 20px; min-width:0; padding:13px 0; border-top:1px solid var(--line-soft); }
.vp-role:first-child { border-top:0; }
.vp-roles.has-holdings .vp-role { grid-template-columns:minmax(0,1.05fr) minmax(145px,.85fr) minmax(0,1.05fr) minmax(0,1.35fr); }
.vp-role-name { display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; font-size:13.5px; font-weight:600; }
.vp-role-text { font-size:12.5px; color:var(--mute); line-height:1.5; }
.vp-holding { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; padding-left:20px; border-left:1px solid var(--line-soft); }
.vp-hold { display:flex; flex-direction:column; gap:1px; min-width:0; }
.vp-hold-label { display:flex; align-items:center; gap:8px; font:var(--label); color:var(--mute); }
.vp-hold-value { font:500 18px/1.25 var(--font-d); letter-spacing:-.01em; }
.vp-hold-value small { margin-left:.3em; font:500 12px var(--font-b); color:var(--mute); letter-spacing:0; }
.vp-hold-note { font-size:12px; color:var(--mute); }
.vp-hold-note.is-pending { color:var(--blue); font-weight:600; }
.vp-stat-note.is-pending, .vp-hold-note.is-pending { display:flex; flex-wrap:wrap; align-items:center; column-gap:.3em; }
.vp-stat-note.is-pending .gen-balance > summary, .vp-hold-note.is-pending .gen-balance > summary { display:flex; align-items:center; }

/* ---- Public page: About and Track record ---- */
.vp-public-grid { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:16px; margin-top:16px; align-items:start; }
.vp-public-history { margin-top:16px; }
.vp-foot { margin-top:22px; font-size:12px; color:var(--mute); max-width:90ch; line-height:1.6; }

/* ---- Management page ---- */
.vp-warn-strip { margin:0 0 16px; border-color:color-mix(in srgb,var(--warn) 55%,var(--line)); background:color-mix(in srgb,var(--warn) 8%,var(--white)); }
.vp-warn-strip strong { color:var(--warn); }
.vp .attn + .vp-setup, .vp .attn-stack + .vp-setup { margin-top:16px; }
.vp-setup { margin-bottom:16px; }
.vp-steps { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.vp-steps li { display:flex; flex-direction:column; gap:6px; padding:14px; border:1px solid var(--line); border-radius:10px; min-width:0; }
.vp-step-title { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; }
.vp-step-icon { flex:none; width:20px; height:20px; border-radius:50%; display:grid; place-items:center; font:700 11px/1 var(--font-b); }
.vp-steps li.is-done .vp-step-icon { background:var(--green); color:var(--white); }
.vp-steps li.is-wait .vp-step-icon { background:color-mix(in srgb,var(--ink) 18%,var(--white)); color:var(--ink); }
.vp-steps li.is-todo { border-color:color-mix(in srgb,var(--warn) 55%,var(--line)); background:color-mix(in srgb,var(--warn) 6%,var(--white)); }
.vp-steps li.is-todo .vp-step-icon { background:var(--warn); color:var(--white); }
.vp-steps li p { margin:0; font-size:12.5px; color:var(--mute); line-height:1.5; overflow-wrap:anywhere; }
.vp-steps li .btn { margin-top:4px; align-self:flex-start; }
.vp-tabs { margin-top:26px; }
.vp-board { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:20px; margin-top:20px; align-items:start; }
.vp-col { display:flex; flex-direction:column; gap:16px; min-width:0; }
.vp-table td { font-variant-numeric:tabular-nums; }
.vp-table .r { text-align:right; }
.vp-timeline { list-style:none; margin:0; padding:0; }
.vp-timeline li { display:grid; grid-template-columns:72px minmax(0,1fr); gap:12px; padding:10px 0; border-top:1px solid var(--line-soft); font-size:13.5px; }
.vp-timeline li:first-child { border-top:0; padding-top:0; }
.vp-timeline-epoch { font:500 12px var(--font-m); color:var(--mute); }

/* Gas gauge (Operator tab and Fund operator) */
.vp-gas-value { margin-top:8px !important; }
.vp-gauge { position:relative; height:8px; margin:12px 0 0; border-radius:4px; background:var(--fog); border:1px solid var(--line-soft); }
.vp-gauge b { position:absolute; inset:0 auto 0 0; border-radius:4px; background:var(--green); }
.vp-gauge.is-low b { background:var(--warn); }
.vp-gauge-mark { position:absolute; top:-4px; bottom:-4px; width:2px; background:var(--mute); opacity:.6; }
.vp-gauge-labels { position:relative; height:16px; margin:6px 0 12px; font:500 11px var(--font-b); color:var(--mute); }
.vp-gauge-labels span { position:absolute; top:0; white-space:nowrap; }
.vp-gauge-labels span:nth-child(1) { left:0; }
.vp-gauge-labels span:nth-child(2) { transform:translateX(-50%); }
.vp-gauge-labels span:nth-child(3) { right:0; }

/* ---- Fund operator ---- */
.vp-page-head { padding:8px 0 22px; }
.vp-page-head .vp-sub { margin-top:10px; }
.vp-why { margin:10px 0 0; max-width:70ch; font-size:14px; line-height:1.55; color:var(--mute); }
.vp-review { margin-top:18px; padding:16px 18px; border:1px solid color-mix(in srgb,var(--blue) 40%,var(--line)); border-radius:10px; background:color-mix(in srgb,var(--blue) 4%,var(--white)); }
.vp-review h3 { margin:0 0 6px; font:var(--label); color:var(--mute); }
.vp-review .vp-facts { margin:12px 0 14px; }


/* ---- Narrow ---- */
@media (max-width: 960px) {
  .vp-board, .vp-public-grid { grid-template-columns:minmax(0,1fr); }
  .vp-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .vp-role, .vp-roles.has-holdings .vp-role { grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; }
  .vp-role-text { grid-column:1 / -1; }
  .vp-holding { grid-column:1 / -1; margin-top:6px; padding:10px 12px; border:1px solid var(--line-soft); border-radius:10px; background:var(--fog); }

  .vp-head { grid-template-columns:auto minmax(0,1fr); padding-top:4px; }
  .vp-avatar { width:48px; height:48px; border-radius:12px; font-size:17px; }
  .vp-head > .vp-actions { grid-column:1 / -1; justify-content:stretch; }
  .vp-head > .vp-actions .btn { flex:1 1 auto; justify-content:center; white-space:nowrap; padding:0 14px; }
  .vp-head > .vp-actions .vp-action-unavailable { flex:1 1 auto; align-items:stretch; }
  .vp-head > .vp-actions .vp-action-unavailable .help { max-width:none; text-align:start; }
  .vp-sub .vp-sep { display:none; }
  .vp-sub { gap:2px 14px; }
  .vp-addresses .vp-card-head { flex-direction:column; align-items:flex-start; gap:2px; }
  .vp-stats, .vp-stats.has-rewards, .vp-stats.vp-stats--summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .vp-stats.vp-stats--stake, .vp-stats.vp-stats--activity { grid-template-columns:minmax(0,1fr); }
  .vp-stat { border-top:1px solid var(--line); }
  .vp-stat.is-lead { grid-column:1 / -1; border-top:0; }
  .vp-pending-summary { grid-template-columns:minmax(0,1fr); }
  .vp-pending-heading { grid-column:1 / -1; }
  .vp-pending-kind { border-top:1px solid var(--line); }
  .vp-pending-kind[data-pending-self] { grid-column:1; box-shadow:none; }
  .vp-pending-kind[data-pending-delegation] { grid-column:1; box-shadow:none; }
  .vp-stats--activity .vp-stat:last-child { grid-column:1 / -1; border-left:0; }
  .vp-delegation-table > tbody > tr[aria-controls] > td:nth-child(2) { grid-column:1 / -1; text-align:left; }


  .vp-steps { grid-template-columns:minmax(0,1fr); }
  .vp-warn-strip { flex-direction:column; align-items:stretch; }
}

/* Current-page refinements: deliberate historical columns and one additive workspace region. */
[data-validator-view], [data-wallet-view] { container-type:inline-size; }
/* Keep the name readable when the workspace sidebar leaves less room for header actions. */
@container (max-width:900px) {
  .vp-head { grid-template-columns:auto minmax(0,1fr); }
  .vp-head > .vp-actions { grid-column:1 / -1; justify-content:flex-start; }
}
.vp-track-table { table-layout:fixed; }
.table-scroll > .vp-track-table { min-width:420px; }
.vp-track-table th:first-child { width:14%; }
.vp-track-table th:nth-child(2) { width:19%; }
.vp-track-table th:nth-child(3) { width:39%; }
.vp-track-table th:last-child { width:28%; }
.vp-track-table th:last-child, .vp-track-table td:last-child { text-align:center; }
.vp-track-table td:last-child .selection-status { align-items:center; }
.vp-stake-composition { padding:10px 18px; border-top:1px solid var(--line); color:var(--mute); font-size:13px; }
.vp-stake-composition > summary { min-height:32px; align-content:center; cursor:pointer; }
.vp-stake-composition p { margin:8px 0 0; }
.vp-workspace { margin-top:26px; }
.vp-workspace .vp-board { margin-top:0; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.vp-operations-followup { font-size:13px; }
.vp-operations-followup .vp-facts { margin:0; }
.vp-other-cases { margin-top:16px; }
.vp-case-record + .vp-case-record { padding-top:14px; border-top:1px solid var(--line); }
.vp-history-table { table-layout:fixed; }
.vp-history-table th:first-child { width:30%; }
.vp-history-table th:nth-child(2) { width:24%; }
.vp-history-table th:nth-child(3) { width:18%; }
.vp-history-table th:last-child { width:28%; }
.vp-history-table.data th, .vp-history-table.data td { white-space:normal; }
.vp-history-detail .vp-facts { margin:0; }
/* Compact rows fit desktop cards beside the sidebar; stack only genuinely narrow cards. */
@container(max-width:700px) {
  .vp-role, .vp-roles.has-holdings .vp-role { grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; }
  .vp-role-text { grid-column:1 / -1; }
  .vp-holding { grid-column:1 / -1; margin-top:6px; padding:10px 12px; border:1px solid var(--line-soft); border-radius:10px; background:var(--fog); }
}
@container(max-width:850px) {
  .vp-public-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:640px) {
  .vp-workspace .vp-board { grid-template-columns:minmax(0,1fr); }
}
@media (max-width: 560px) {
  .vp-stat { padding:14px 12px; }
}

/* Your delegation: one card per position, always tinted on the theme's card surface (var(--white), so dark mode
   keeps contrast) and the shared neutral border. A table row or a confirmed
   transaction links to it (?position=N#your-delegation-N). */
.vp-card[id^="your-delegation-"] { scroll-margin-top: 16px; background: color-mix(in srgb, var(--blue) 4%, var(--white)); border-color: var(--line); }
/* Its two disclosures (Deposits and withdrawals, Your rewards per epoch): a divider above each, 16px either side. */
/* Padding belongs to the clickable summary, so its hover surface fills the row between dividers. */
.own-delegation-detail { margin-top:16px; border-top:1px solid var(--line); }
.own-delegation-detail + .own-delegation-detail { margin-top:0; }
.own-delegation-detail > summary[data-disclosure-row] { padding-block:16px; }
.own-delegation-detail:last-child { margin-bottom:-16px; }
.own-delegation-detail[open] { padding-bottom:16px; }
.own-delegation-detail[open] > summary[data-disclosure-row] { padding-bottom:8px; }
.own-delegation-detail[open] > summary[data-disclosure-row] + .tl { margin-top:0; }

/* One shared own-position card spacing rule. */
.own-delegation-card { margin-block-end:24px; }
.vp-card.own-delegation-card { background:color-mix(in srgb,var(--blue) 4%,var(--white)); border-color:var(--line); }
.own-delegation-card > .note { margin-block-start:16px; }
.own-delegation-card > .attn + .bstats { margin-block-start:16px; }

@media (max-width:560px) {
  .own-delegation-card .bstats > .bstat:first-child { grid-column:1 / -1; }
}

/* Signed compatible layout of the shared Addresses and workspace cards. */
.vp-addresses-board { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(340px,1fr); align-items:start; gap:24px; margin-top:16px; }
.vp-addresses-board > .vp-addresses { margin-top:0; }
.vp-addresses-side { min-width:0; gap:24px; }
.vp-addresses--paired .vp-roles .vp-role { grid-template-columns:minmax(0,1fr) minmax(110px,.6fr); align-items:start; gap:12px 20px; }
.vp-role-main { display:flex; flex-direction:column; align-items:flex-start; gap:8px; min-width:0; }
.vp-addresses--paired .vp-role-text { grid-column:auto; }
.vp-addresses--paired .vp-holding { grid-column:auto; margin:0; padding:0 0 0 16px; border:0; border-left:1px solid var(--line); border-radius:0; background:transparent; }
@media(max-width:960px) { .vp-addresses-board { grid-template-columns:minmax(0,1fr); } }
@media(max-width:560px) {
 .vp-addresses--paired .vp-roles .vp-role { grid-template-columns:minmax(0,1fr); gap:12px; }
 .vp-addresses--paired .vp-holding { grid-column:1 / -1; margin-top:6px; padding:10px 12px; border:1px solid var(--line-soft); border-radius:10px; background:var(--fog); }
}

/* Signed Validator tabs arrange existing cards; the shared tab component owns interaction and scroll. */
[data-validator-view] > [data-tabs="validator"] { margin-block:16px; }
.vp-tab-panel { gap:16px; }
/* Permanent own-delegation subsections keep their native divider, inset and heading. */
.own-delegation-section { margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }

/* The signed workspace action pair reuses the responsive native board. */
.vp-withdrawal-panels { margin-top:0; }
.vp-withdrawal-panels .vp-board > :only-child { grid-column:1 / -1; }

/* Only the shared private-position title/status group moves. */
.own-delegation-card .own-position-heading { flex:1 1 0; min-width:0; gap:4px 12px; }
.own-delegation-card .own-position-status { font-size:11px; color:var(--mute); }

/* Shared position withdrawal chips (signed 064000). */
.position-withdrawal-lines { margin-block-end:16px; }

/* A leaving validator's header (task-20261107-074412): where the exit stands, and the delegator's way out. */
.vp-exit-line { margin:6px 0 0; }
/* A leaving validator's header (task-20261109-113500): Delegate GEN's reason, the leaving line and one action row
   (Withdraw with the workspace actions) are a block of their own, so they never widen the column beside the name. */
.vp-head > .vp-leaving-side { grid-column:1 / -1; display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.vp-leaving-side .help { margin:0; text-align:end; }
.vp-leaving-actions { margin:0; justify-content:flex-end; }  /* the shared action row, spaced by the block's own gap */
.vp-leaving-actions > .vp-workspace-actions { display:contents; }
@container (min-width:980px) {
  .vp-head:has(> .vp-leaving-side) { grid-template-columns:auto minmax(0,1fr) auto auto; row-gap:8px; }
  .vp-head:has(> .vp-leaving-side) > .vp-avatar { grid-row:1 / span 2; }
  .vp-head:has(> .vp-leaving-side) > .vp-head-main { display:contents; }
  .vp-head:has(> .vp-leaving-side) > .vp-head-main > * { grid-column:2; }
  .vp-head:has(> .vp-leaving-side) .vp-title { grid-column:2 / 4; grid-row:1; }
  .vp-head:has(> .vp-leaving-side) .title-chips { grid-row:2; }
  .vp-head:has(> .vp-leaving-side) .vp-sub { grid-row:3; }
  .vp-head:has(> .vp-leaving-side) > .vp-actions { grid-column:4; grid-row:1; }
  .vp-head:has(> .vp-leaving-side) > .vp-leaving-side { grid-column:3 / -1; grid-row:2 / span 3; }
}
@media (max-width: 760px) {
  .vp-head > .vp-leaving-side { align-items:stretch; }
  .vp-leaving-side .help { text-align:start; }
  .vp-head .vp-leaving-actions { flex-direction:row; gap:8px; }  /* one row, as wide as the phone allows */
  .vp-head .vp-leaving-actions .btn { flex:1 1 0; width:auto; justify-content:center; white-space:nowrap; padding:0 14px; }
}
