/* Agenda with history (preview, 25/10/2026): the agenda index and one page per agenda item. Built on the entity page (entity.css)
   and the design-system tokens (ds.css); new pieces only where the entity page has none: the preview line, the status badge,
   the trail of this year's steps, decades, quotes, money. */
.ag .ag-pv { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 0; padding: 8px 12px; font-size: 12.5px; color: var(--ink2);
  border: 1px solid var(--rule); border-radius: var(--r-l); background: var(--bg2); line-height: 1.45; }
.ag .ag-pv .ds-badge { flex: none; }
.ds-badge.up { background: var(--accent-wash); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line); }
.ds-badge.up::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ag .ag-st { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 14px 0 0; font-size: 14px; font-weight: 500; }
.ag .ag-off { font-size: 13px; color: var(--ink2); line-height: 1.6; margin: 12px 0 0; max-width: 760px; }
.ag .ag-off .k { color: var(--ink3); margin-right: 4px; } .ag .ag-off .sep { margin: 0 8px; color: var(--ink3); }
.ag .ag-facts b a { color: var(--ink); } .ag .ag-facts b a:hover { color: var(--link-h); }
.ag .ag-facts > div { max-width: 280px; }
.ag ul.short .meta, .ag ul.ag-trail .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 5px; }
.ag .ag-amt { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ag .ag-lead { max-width: 760px; margin: 0 0 6px; }
.ag ul.ag-tn li { font-size: 15px; } .ag ul.ag-tn .sdt { white-space: nowrap; } .ag ul.ag-tn b { font-weight: 600; }

/* this year's steps: a quiet line with a dot per step; the next step is a hollow dot */
.ag ul.ag-trail { position: relative; margin-top: 4px; }
.ag ul.ag-trail li { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 4px 14px; padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--rule2); font-size: 15px; line-height: 1.5; }
.ag ul.ag-trail li::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.ag ul.ag-trail li:first-child::before { top: 18px; } .ag ul.ag-trail li:last-child::before { bottom: calc(100% - 18px); }
.ag ul.ag-trail li::after { content: ""; position: absolute; left: 1px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink2); }
.ag ul.ag-trail li.next::after { background: var(--bg); box-shadow: inset 0 0 0 2px var(--accent); }
.ag ul.ag-trail .sdt { font-weight: 600; font-size: 13.5px; padding-top: 2px; }
.ag ul.ag-trail .ag-body { font-size: 12.5px; color: var(--ink2); font-weight: 500; }
.ag ul.ag-trail .meta { font-size: 12.5px; color: var(--ink2); }

/* the record by decade */
.ag .ag-dec h3 { font-size: 13.5px; margin: 22px 0 0; padding-bottom: 6px; border-bottom: 1px solid var(--rule); display: flex; gap: 8px; align-items: baseline; }
.ag .ag-dec h3 .n { font-weight: 400; color: var(--ink3); font-size: 12.5px; }
.ag button.ag-all { font: 500 13px var(--ui); color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; }
.ag button.ag-all:hover { color: var(--link-h); text-decoration: underline; text-underline-offset: 3px; }

/* the words on the page */
.ag details.ag-q { margin-top: 4px; font-size: 12.5px; }
.ag details.ag-q summary { list-style: none; cursor: pointer; color: var(--link); display: inline-flex; align-items: center; gap: 6px; }
.ag details.ag-q summary::-webkit-details-marker { display: none; }
.ag details.ag-q summary::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s; margin-right: 2px; }
.ag details.ag-q[open] summary::before { transform: rotate(45deg); }
.ag details.ag-q summary:hover { color: var(--link-h); }
.ag details.ag-q blockquote { margin: 6px 0 2px; padding: 2px 0 2px 12px; border-left: 2px solid var(--accent-line); font-size: 14px; line-height: 1.55; color: var(--ink); max-width: 720px; }
.ag details.ag-q .note { margin: 2px 0 2px 14px; color: var(--ink3); font-size: 12px; }

/* money */
.ag .ag-money { margin-top: 6px; }
.ag .ag-money h3 { font-size: 13.5px; margin: 18px 0 6px; }
.ag table.ag-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ag table.ag-t th { text-align: left; padding: 6px 12px 6px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; position: static; }
.ag table.ag-t td { padding: 7px 12px 7px 0; border-bottom: 1px solid var(--rule2); vertical-align: top; }
.ag table.ag-t td.n, .ag table.ag-t th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ag table.ag-t td.ag-d { white-space: nowrap; font-weight: 600; font-size: 13px; }
.ag table.ag-t tbody tr:hover td { background: none; }
.ag .ag-empty { font-size: 13.5px; color: var(--ink2); padding: 10px 0; border-top: 1px solid var(--rule2); border-bottom: 1px solid var(--rule2); }

.ag .ag-tw { overflow-x: auto; }
.ag .ag-tw table.ag-t { min-width: 520px; }
.ag .conn li { display: block; padding: 6px 0; } .ag .conn li .nm { display: block; } .ag .conn li .r { display: block; margin: 1px 0 0; font-size: 12.5px; color: var(--ink2); text-align: left; white-space: normal; float: none; }

/* the agenda index */
.ag.ag-ix .lede { margin-top: 18px; }
.ag ul.ag-items li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--rule2); }
.ag ul.ag-items li:first-child { border-top: 1px solid var(--rule); }
.ag .ag-when b { display: block; font-size: 15px; font-weight: 650; } .ag .ag-when span { font-size: 12.5px; color: var(--ink3); }
.ag a.ag-t { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ag ul.ag-items p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; max-width: 720px; }
.ag ul.ag-items .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 7px; font-size: 12.5px; color: var(--ink2); }
.ag ul.ag-items .ag-rec { margin-top: 3px; color: var(--ink3); }
.ag ul.ag-items .ag-rec span + span::before { content: "·"; margin-right: 12px; color: var(--ink3); }

@media (max-width: 760px) {
  .ag ul.ag-trail li { grid-template-columns: 1fr; gap: 0; }
  .ag ul.ag-items li { grid-template-columns: 1fr; gap: 2px; } .ag .ag-when b, .ag .ag-when span { display: inline; margin-right: 6px; }
  .ag .ag-facts { grid-template-columns: 1fr; } .ag .ag-facts > div { max-width: none; border-bottom: 1px solid var(--rule2); }
  .ag .ag-facts > div:last-child { border-bottom: 0; }
  .ag .ag-off .sep { display: none; } .ag .ag-off a, .ag .ag-off .place { display: inline-block; margin-right: 10px; }
  .ag table.ag-t .hide-ph { display: none; }
  .ag .ag-pv { flex-direction: column; gap: 4px; }
}
/* phone: each table row becomes a small block (date and amount on one line, the rest under it) */
@media (max-width: 760px) {
  .ag .ag-tw table.ag-t { min-width: 0; } .ag table.ag-t thead { display: none; }
  .ag table.ag-t tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 9px 0; border-bottom: 1px solid var(--rule2); }
  .ag table.ag-t td { border: 0 !important; padding: 0 !important; display: block; }
  .ag table.ag-t td.ag-d { grid-column: 1; grid-row: 1; } .ag table.ag-t td.n { grid-column: 2; grid-row: 1; }
  .ag table.ag-t td:not(.ag-d):not(.n), .ag table.ag-t td.ag-26 { grid-column: 1 / -1; grid-row: auto; text-align: left; }
  .ag table.ag-t td.ag-26 { font-size: 12.5px; color: var(--ink2); } .ag table.ag-t td.ag-26::before { content: "In 2026 dollars: "; }
}

/* ── item page, round 2 (25/10): the answer first, a timeline, the story, this year; the full record below (layout L folds, layout T tabs) ── */
.ag2 .ag-pv { font-size: 12px; padding: 6px 10px; } .ag2 .ag-var { margin-left: 6px; color: var(--ink3); white-space: nowrap; }
.ag2 .ag-st { margin: 26px 0 0; font-size: 13.5px; color: var(--ink2); }
.ag2 h1 { margin: 8px 0 0; }
.ag2 .ag-sum { font-size: 18px; line-height: 1.5; margin: 12px 0 0; max-width: 780px; text-wrap: pretty; }
.ag2 .ag-why { font-size: 15px; line-height: 1.55; color: var(--ink2); margin: 8px 0 0; max-width: 780px; }
.ag2 .ag-off { font-size: 12.5px; color: var(--ink3); margin: 12px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ag2 .ag-off a { color: var(--ink2); } .ag2 .ag-off a:hover { color: var(--link-h); }
a.ag-src { font-size: 12.5px; color: var(--ink3); white-space: nowrap; } a.ag-src:hover { color: var(--link-h); }

/* the timeline: one mark per decision; shape and colour both carry the outcome */
.ag2 .ag-tl { margin-top: 30px; overflow-x: auto; overflow-y: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--bg2); border-radius: 0; }
.ag2 .ag-tl-in { position: relative; height: 104px; min-width: 600px; margin: 0 18px; }
.ag2 .ag-tl-in::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: var(--axis); }
.ag2 .ag-tl .ax { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; display: block; margin: 0; }
.ag2 .ag-tl .tk { position: absolute; bottom: 0; transform: translateX(-50%); font-size: 11px; color: var(--ink3); line-height: 14px; }
.ag2 .ag-tl .tk::before { content: ""; position: absolute; left: 50%; bottom: 14px; width: 1px; height: 5px; background: var(--axis); }
.tm { position: absolute; width: 10px; height: 10px; margin-left: -5px; box-sizing: border-box; border-radius: 50%; }
.ag2 .ag-tl .tm { transform: translateY(-4px); }
.tm.k-passed { background: var(--ok); }
.tm.k-no { background: var(--no); border-radius: 1px; transform: rotate(45deg) scale(.9); }
.ag2 .ag-tl .tm.k-no { transform: translateY(-4px) rotate(45deg) scale(.9); }
.tm.k-off { background: var(--ink3); width: 8px; height: 8px; margin-left: -4px; }
.tm.k-none { background: var(--bg); border: 1.5px solid var(--ink3); }
.tm.k-next { width: 13px; height: 13px; margin-left: -6.5px; background: var(--bg); border: 2.5px solid var(--accent); }
.ag2 .ag-tl a.tm:hover { box-shadow: 0 0 0 3px var(--accent-line); } .ag2 .ag-tl a.tm:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ag2 .ag-key { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 12px; color: var(--ink2); }
.ag2 .ag-key span { display: inline-flex; align-items: center; gap: 6px; } .ag2 .ag-key i.tm { position: static; margin: 0; transform: none; }
.ag2 .ag-key i.tm.k-no { transform: rotate(45deg) scale(.8); } .ag2 .ag-key .ag-hint { color: var(--ink3); margin-left: auto; }

/* the story so far */
.ag2 h2.sec { margin-top: 44px; }
.ag2 ul.ag-story li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 2px 16px; padding: 11px 0; border-bottom: 1px solid var(--rule2); font-size: 15.5px; line-height: 1.55; }
.ag2 ul.ag-story li:first-child { border-top: 1px solid var(--rule); }
.ag2 ul.ag-story .sdt { font-weight: 600; font-size: 13.5px; padding-top: 2px; white-space: nowrap; }
.ag2 ul.ag-story li.next .sdt { color: var(--accent); } .ag2 ul.ag-story a.ag-src { margin-left: 4px; }

/* this year: a stepper */
.ag2 ol.ag-steps { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.ag2 ol.ag-steps li { position: relative; padding: 16px 16px 0 0; border-top: 2px solid var(--ink3); }
.ag2 ol.ag-steps li::before { content: ""; position: absolute; left: 0; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink2); }
.ag2 ol.ag-steps li.next { border-top: 2px dashed var(--accent-line); } .ag2 ol.ag-steps li.next::before { background: var(--bg); box-shadow: inset 0 0 0 2.5px var(--accent); }
.ag2 ol.ag-steps .sd { display: block; font-size: 12.5px; color: var(--ink2); } .ag2 ol.ag-steps li.next .sd { color: var(--accent); font-weight: 600; }
.ag2 ol.ag-steps b { display: block; font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.ag2 ol.ag-steps .sb { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 1px; }
.ag2 ol.ag-steps a.ag-src { display: inline-block; margin-top: 4px; }

/* the record in full */
.ag2 h2.ag-dh { margin-top: 60px; }
.ag2 .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ag2 details.ag-fold { border-top: 1px solid var(--rule); } .ag2 details.ag-fold:last-child { border-bottom: 1px solid var(--rule); }
.ag2 details.ag-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 10px; padding: 15px 2px; }
.ag2 details.ag-fold > summary::-webkit-details-marker { display: none; }
.ag2 details.ag-fold > summary .t { font-size: 17px; font-weight: 600; } .ag2 details.ag-fold > summary .n { font-size: 13px; color: var(--ink3); }
.ag2 details.ag-fold > summary .chev { margin-left: auto; color: var(--ink3); font-size: 20px; line-height: 1; transition: transform .15s; }
.ag2 details.ag-fold[open] > summary .chev { transform: rotate(90deg); } .ag2 details.ag-fold > summary:hover .t { color: var(--link-h); }
.ag2 details.ag-fold > .in { padding: 0 2px 30px; }
.ag2 .ag-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.ag2 .ag-tabs button { font: 500 14.5px var(--ui); color: var(--ink2); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 0 9px; cursor: pointer; white-space: nowrap; }
.ag2 .ag-tabs button .n { color: var(--ink3); font-weight: 400; font-size: 13px; margin-left: 3px; }
.ag2 .ag-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.ag2 .ag-tabs button:hover { color: var(--ink); } .ag2 .ag-tabs button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ag2 section[role="tabpanel"] { padding: 18px 0 10px; }

/* compact decision rows */
.ag2 .ag-dtop { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 4px; } .ag2 .ag-dtop .note { margin: 0; }
.ag2 .ag-dec h3 { font-size: 13px; color: var(--ink2); margin: 26px 0 0; padding-bottom: 6px; border-bottom: 1px solid var(--rule); display: block; }
.ag2 .ag-dec ul { list-style: none; margin: 0; padding: 0; }
.ag2 li.ag-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) 170px; gap: 4px 18px; padding: 11px 0; border-bottom: 1px solid var(--rule2); }
.ag2 li.ag-row .sdt { font-size: 13px; font-weight: 600; padding-top: 1px; white-space: nowrap; }
.ag2 li.ag-row .tx { font-size: 14.5px; line-height: 1.5; } .ag2 li.ag-row .ex { font-size: 12.5px; color: var(--ink3); margin-top: 3px; }
.ag2 li.ag-row .oc { font-size: 12.5px; line-height: 1.4; padding-top: 2px; }
.ag2 li.ag-row .ex { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.ag2 .ow { display: inline-flex; align-items: baseline; gap: 7px; color: var(--ink2); } .ag2 .ow i.tm { position: static; margin: 0; flex: none; transform: translateY(1px); }
.ag2 .ow i.tm.k-no { transform: rotate(45deg) scale(.8); } .ag2 .ow.k-passed { color: var(--ok); } .ag2 .ow.k-no { color: var(--no); }
.ag2 button.ag-qb { font: 500 12px/1 var(--ui); color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; }
.ag2 button.ag-qb:hover { text-decoration: underline; text-underline-offset: 3px; }
.ag2 button.ag-qb[aria-expanded="true"] { color: var(--ink); font-weight: 600; }
.ag2 blockquote.ag-qt { grid-column: 2 / 3; margin: 6px 0 2px; padding: 2px 0 2px 12px; border-left: 2px solid var(--accent-line); font-size: 14px; line-height: 1.55; }
.ag2 blockquote.ag-qt span { display: block; font-size: 12px; color: var(--ink3); margin-top: 3px; }
.ag2 li.ag-row.hl, .ag2 ol.ag-steps li.hl { background: var(--accent-wash); transition: background 1.2s; }

/* money */
.ag2 h3.ag-mh { font-size: 15px; margin: 4px 0 0; }
.ag2 .ag-money h3, .ag2 .in h3, .ag2 section h3 { font-size: 13.5px; }
.ag2 details.ag-other { margin-top: 28px; border: 1px solid var(--rule); border-radius: var(--r-l); }
.ag2 details.ag-other > summary { cursor: pointer; padding: 11px 14px; font-size: 14px; font-weight: 600; }
.ag2 details.ag-other > summary .n { font-weight: 400; color: var(--ink3); font-size: 12.5px; margin-left: 6px; }
.ag2 details.ag-other > *:not(summary) { margin-left: 14px; margin-right: 14px; } .ag2 details.ag-other[open] { padding-bottom: 12px; }
.ag2 table.ag-t td.pg { text-align: right; white-space: nowrap; }
.ag2 .ag-kv { font-size: 13px; }

@media (max-width: 760px) {
  .ag2 .ag-sum { font-size: 17px; } .ag2 .ag-off { white-space: normal; } .ag2 .ag-off .ag-ot { display: none; }
  .ag2 .ag-tl-in { min-width: 640px; } .ag2 .ag-key .ag-hint { margin-left: 0; }
  .ag2 ul.ag-story li { grid-template-columns: 1fr; gap: 0; }
  .ag2 ol.ag-steps { grid-auto-flow: row; margin-left: 5px; }
  .ag2 ol.ag-steps li { border-top: 0; border-left: 2px solid var(--ink3); padding: 0 0 16px 18px; }
  .ag2 ol.ag-steps li::before { left: -6px; top: 3px; } .ag2 ol.ag-steps li.next { border-top: 0; border-left: 2px dashed var(--accent-line); }
  .ag2 li.ag-row { grid-template-columns: 1fr; gap: 3px; } .ag2 li.ag-row .oc { justify-content: flex-start; } .ag2 blockquote.ag-qt { grid-column: 1; }
  .ag2 .ag-dtop { flex-direction: column; gap: 6px; }
  .ag2 .ag-tabs { gap: 20px; }
}
/* the box under the title: how to take part, or what was decided */
.ag2 .ag-lbl { font-size: 12.5px; font-weight: 600; color: var(--ink2); margin: 18px 0 0; }
.ag2 .ag-sum { margin-top: 4px; }
.ag2 .ag-box { margin-top: 20px; border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: var(--r-l); padding: 12px 16px 6px; max-width: 860px; }
.ag2 .ag-box h2 { font-size: 15px !important; margin: 0 0 6px !important; }
.ag2 .ag-box dl { display: grid; grid-template-columns: 104px minmax(0, 1fr); margin: 0; font-size: 13.5px; line-height: 1.5; }
.ag2 .ag-box dt { color: var(--ink2); padding: 6px 12px 6px 0; border-top: 1px solid var(--rule2); }
.ag2 .ag-box dd { margin: 0; padding: 6px 0; border-top: 1px solid var(--rule2); }
@media (max-width: 760px) { .ag2 .ag-box dl { grid-template-columns: 1fr; } .ag2 .ag-box dt { padding-bottom: 0; } .ag2 .ag-box dd { border-top: 0; padding-top: 1px; } }
/* round 3: the box sits after "This year"; the status line links down to it */
.ag2 .ag-jump { font-size: 13px; margin-left: 4px; }
.ag2 .ag-box { margin-top: 44px; border: 0; border-radius: 0; padding: 0; max-width: none; }
.ag2 .ag-box h2.sec { margin: 0 0 8px !important; font-size: 19px !important; }
.ag2 .ag-box dl { border-bottom: 1px solid var(--rule2); max-width: 860px; }
.ag2 .ag-box dt:first-of-type, .ag2 .ag-box dt:first-of-type + dd { border-top-color: var(--rule); }
.ag2 details.ag-more { max-width: 860px; } .ag2 details.ag-more > summary { cursor: pointer; font-size: 13px; color: var(--link); padding: 8px 0; }
.ag2 details.ag-more > summary:hover { color: var(--link-h); } .ag2 details.ag-more dl { border-bottom: 1px solid var(--rule2); }

/* round 4: the timeline as an annotated strip (variant S) or the story as a vertical timeline (variant V) */
.ag2 .ag-strip { margin-top: 30px; overflow-x: auto; overflow-y: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ag2 .ag-strip-in { position: relative; height: 156px; min-width: 860px; margin: 0 28px; }
.ag2 .ag-strip .line { position: absolute; left: 0; right: 0; top: 78px; height: 1.5px; background: var(--ink3); }
.ag2 .ag-strip .axis { position: absolute; left: 0; right: 0; top: 138px; height: 16px; }
.ag2 .ag-strip .tk { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--ink2); }
.ag2 .ag-strip .tk::before { content: ""; position: absolute; left: 50%; top: -58px; width: 1px; height: 6px; background: var(--ink3); }
a.st, i.st { position: absolute; top: 73px; width: 2px; height: 12px; margin-left: -1px; background: var(--ok); opacity: .75; }
i.st { position: static; display: inline-block; }
.st.k-no { width: 7px; height: 7px; margin-left: -3.5px; top: 75px; background: var(--no); transform: rotate(45deg); opacity: .9; }
.st.k-off { height: 8px; top: 75px; background: var(--ink2); opacity: .7; }
.st.k-none { height: 8px; top: 75px; background: none; border-left: 1px dashed var(--ink2); width: 0; }
.ag2 .ag-strip a.st:hover, .ag2 .ag-strip a.st:focus-visible { opacity: 1; outline: 2px solid var(--focus); outline-offset: 2px; }
.ag2 .ag-strip .sl { position: absolute; top: 0; bottom: 0; width: 0; color: var(--ink); }
.ag2 .ag-strip .sl:hover { text-decoration: none; } .ag2 .ag-strip .sl:hover .lt { color: var(--link-h); }
.ag2 .ag-strip .lt { position: absolute; left: -2px; white-space: nowrap; font-size: 12.5px; line-height: 16px; color: var(--ink); background: var(--bg); padding: 0 3px; }
.ag2 .ag-strip .lt b { font-weight: 650; margin-right: 2px; }
.ag2 .ag-strip .sl.r .lt { left: auto; right: -2px; }
.ag2 .ag-strip .sl::before { content: ""; position: absolute; left: 0; width: 1px; background: var(--ink3); }
.ag2 .ag-strip .sl.a1 .lt { top: 42px; } .ag2 .ag-strip .sl.a1::before { top: 58px; height: 14px; }
.ag2 .ag-strip .sl.a2 .lt { top: 16px; } .ag2 .ag-strip .sl.a2::before { top: 32px; height: 40px; }
.ag2 .ag-strip .sl.b1 .lt { top: 98px; } .ag2 .ag-strip .sl.b1::before { top: 85px; height: 13px; }
.ag2 .ag-strip .sl.b2 .lt { top: 118px; } .ag2 .ag-strip .sl.b2::before { top: 85px; height: 33px; }
.pin { position: absolute; width: 11px; height: 11px; margin-left: -5.5px; box-sizing: border-box; border-radius: 50%; background: var(--ink2); box-shadow: 0 0 0 2px var(--bg); }
.ag2 .ag-strip .pin { top: 73px; }
.pin.k-passed { background: var(--ok); } .pin.k-no { background: var(--no); border-radius: 2px; transform: rotate(45deg) scale(.85); }
.pin.k-off { background: var(--ink2); } .pin.k-none { background: var(--bg); border: 2px solid var(--ink2); }
.pin.k-next { width: 15px; height: 15px; margin-left: -7.5px; background: var(--bg); border: 3px solid var(--accent); }
.ag2 .ag-strip .pin.k-next { top: 71px; } .pin.k-now { background: var(--accent); width: 13px; height: 13px; margin-left: -6.5px; }
.ag2 .ag-strip .sl.now .lt { color: var(--accent); font-weight: 600; }
.ag2 .ag-key i.st { margin-right: 2px; vertical-align: middle; } .ag2 .ag-key i.st.k-no { transform: rotate(45deg) scale(.9); }

.ag2 ol.ag-vt { list-style: none; margin: 8px 0 0; padding: 0; }
.ag2 ol.ag-vt li { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 2px 16px; padding: 0 0 22px 30px; font-size: 15.5px; line-height: 1.55; }
.ag2 ol.ag-vt li::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -8px; width: 2px; background: var(--rule); }
.ag2 ol.ag-vt li:last-child::before { display: none; } .ag2 ol.ag-vt li:last-child { padding-bottom: 6px; }
.ag2 ol.ag-vt .pin { left: 7px; top: 6px; }
.ag2 ol.ag-vt .pin.k-next { top: 4px; }
.ag2 ol.ag-vt .sdt { font-weight: 600; font-size: 13.5px; padding-top: 2px; white-space: nowrap; }
.ag2 ol.ag-vt li.k-next .sdt { color: var(--accent); }
.ag2 .ag-all-line { font-size: 13px; color: var(--ink2); margin: 10px 0 0 30px; }
@media (max-width: 760px) { .ag2 ol.ag-vt li { grid-template-columns: 1fr; gap: 0; } .ag2 .ag-all-line { margin-left: 30px; } }

/* v2: plain text and rules, no cards or pills */
.ag .ds-badge, .ag .ag-w { display: inline; background: none; box-shadow: none; border: 0; border-radius: 0; padding: 0; font-weight: 600; color: var(--ink); }
.ag .ds-badge::before { display: none; }
.ag .ag-w.up { color: var(--accent); }
.ag2 .ag-st { gap: 4px 12px; }
.ag2 .ag-st > span::before { content: "·"; margin-right: 12px; color: var(--ink3); }
.ag2 .ag-sum { font-size: 19px; line-height: 1.45; }
.ag2 .ag-off { white-space: normal; }
.ag2 ol.ag-vt li { padding-left: 0; padding-bottom: 12px; grid-template-columns: 96px minmax(0, 1fr); }
.ag2 ol.ag-vt li::before { display: none; }
.ag2 .ag-all-line { margin-left: 0; }
.ag2 details.ag-other { border: 0; border-radius: 0; border-top: 1px solid var(--rule); }
.ag2 details.ag-other > summary { padding-left: 0; padding-right: 0; }
.ag2 .ag-box dl { max-width: 760px; }
@media (max-width: 760px) { .ag2 ol.ag-vt li { grid-template-columns: 1fr; } }

/* the list: worth a look first, the rest folded by kind (plain lines, no boxes) */
.ag.ag-ix .ag-why-top { margin: -4px 0 6px; color: var(--ink3); font-size: 13px; }
.ag.ag-ix details.ag-grp { border-top: 1px solid var(--rule); } .ag.ag-ix details.ag-grp:last-child { border-bottom: 1px solid var(--rule); }
.ag.ag-ix details.ag-grp > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 6px; padding: 13px 2px; }
.ag.ag-ix details.ag-grp > summary::-webkit-details-marker { display: none; }
.ag.ag-ix details.ag-grp > summary .t { font-size: 16px; font-weight: 600; } .ag.ag-ix details.ag-grp > summary .n { font-size: 14px; color: var(--ink3); }
.ag.ag-ix details.ag-grp > summary .chev { margin-left: auto; color: var(--ink3); font-size: 20px; line-height: 1; transition: transform .15s; }
.ag.ag-ix details.ag-grp[open] > summary .chev { transform: rotate(90deg); } .ag.ag-ix details.ag-grp > summary:hover .t { color: var(--link-h); }
.ag.ag-ix details.ag-grp > .in { padding: 0 2px 24px; }
.ag.ag-ix h3.ag-gs { font-size: 13px; font-weight: 600; color: var(--ink2); margin: 14px 0 6px; } .ag.ag-ix h3.ag-gs .n { font-weight: 400; color: var(--ink3); }
