/* TIO shared row toggle (Vernon pt3645u 05:41 UK 16 Nov 2026). One stylesheet for every expandable row across TIO.
   Chevron at the row's right edge: points right when closed, turns down when open. 44px header, whole header clickable.
   Colours follow the page theme (currentColor + the page's own tokens), so light and dark both work. Single-column rows
   rule unchanged: nothing here changes a row's width or the page grid. Motion only when the user has not asked for less. */
.tio-xc-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }

/* details/summary rows */
summary.tio-xc-sum { position: relative; list-style: none; cursor: pointer; min-height: 44px; padding-inline-end: 3.25rem !important; box-sizing: border-box; }
summary.tio-xc-sum::-webkit-details-marker { display: none; }
summary.tio-xc-sum::marker { content: ""; }
summary.tio-xc-sum:focus-visible { outline: 3px solid var(--focus, var(--pri, currentColor)); outline-offset: 2px; }

/* the icon button look: a 44px square target at the right edge with a 2rem round face */
.tio-xc { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; pointer-events: none; color: inherit; }
.tio-xc::before { content: ""; position: absolute; width: 2rem; height: 2rem; border-radius: 999px; border: 1px solid var(--line, var(--border, rgba(127, 127, 127, .5))); background: transparent; box-sizing: border-box; }
.tio-xc-ico { position: relative; width: 1.125rem; height: 1.125rem; display: block; transform: rotate(0deg); }
summary.tio-xc-sum:hover > .tio-xc::before, .tio-xc-head:hover > .tio-xc::before { background: var(--surface-2, rgba(127, 127, 127, .14)); }
details[open] > summary.tio-xc-sum > .tio-xc > .tio-xc-ico,
[aria-expanded="true"] > .tio-xc > .tio-xc-ico { transform: rotate(90deg); }
@media (prefers-reduced-motion: no-preference) { .tio-xc-ico { transition: transform .18s ease; } }

/* button-header rows (Approvals) */
.tio-xc-head { position: relative; padding-inline-end: 3.25rem !important; min-height: 44px; }

/* small disclosure buttons: inline chevron after the label */
.tio-xc.tio-xc--inline { position: relative; inset: auto; top: auto; transform: none; width: 1.25rem; height: 1.25rem; margin-inline-start: .4rem; display: inline-grid; vertical-align: middle; }
.tio-xc.tio-xc--inline::before { display: none; }
.tio-xc.tio-xc--inline > .tio-xc-ico { width: 1rem; height: 1rem; }
.tio-xc-btn { min-height: 44px; min-width: 44px; }

/* one indicator only: retire the older per-page arrows where the shared chevron now sits */
.ins-row > .ins-sum.tio-xc-sum::before, .sec-row > .sec-sum.tio-xc-sum::before, .tfhrl-row > .tfhrl-row-sum.tio-xc-sum::before,
#tfhrl-app .tfhrl-explainer-details > summary.tio-xc-sum::before, #tfhrl-app .tfhrl-explain-details > summary.tio-xc-sum::before,
.sc-detail-toggle.tio-xc-btn::before { content: none !important; }
.vrow__sum.tio-xc-sum::after { content: none !important; display: none !important; }
/* grid headers keep their first (arrow) column so nothing else moves; the arrow is emptied and its gap given back */
.rrow-sum.tio-xc-sum::before { content: "" !important; width: 0; margin-inline-end: -.75rem; }
.appr-sum.tio-xc-head::before { content: "" !important; width: 0; margin-inline-end: -.9rem; }

@media (forced-colors: active) { .tio-xc::before { border-color: ButtonText; } .tio-xc-ico path { stroke: ButtonText; } }
@media print { .tio-xc { display: none; } summary.tio-xc-sum, .tio-xc-head { padding-inline-end: 0 !important; } }
