/* =========================================================
   module-cyber.css: Cybersecurity Assessment & Assurance, the hub
   and the parts its 8 area pages share (OWNER: module builder).
     .dv        delivery label: Platform (filled) / Our team (outline)
                / Platform + our team (half-filled). Never blue.
     .ag        the 8 areas          .roe   rules of engagement
     .ldg       who-delivers ledger  .cx    the console (6 views)
     .ft        findings table       .kb    remediation board
     .tr        audit trail          .rp    sample report block
   Area-only UI lives in module-area.css.
   ========================================================= */

/* ---------- delivery labels ---------- */
.dv {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; flex: none;
  border-radius: 7px; border: 1px solid var(--edge-2); color: var(--text);
  font: 500 12px/1 var(--font-mono); white-space: nowrap; vertical-align: middle;
}
.dv .ico { width: 14px; height: 14px; color: var(--text-2); }
.dv .ico + .ico { margin-left: -3px; }
.dv--platform { background: var(--storm-3); }
.dv--team { background: transparent; }
.dv--both { background: linear-gradient(90deg, var(--storm-3) 50%, var(--storm-1) 50%); }
.dv--s { height: 22px; padding: 0 7px 0 6px; font-size: 11px; gap: 5px; }
.dv--s .ico { width: 12px; height: 12px; }
.dv--l { height: 34px; padding: 0 14px 0 10px; font-size: 14px; gap: 8px; }
.dv--l .ico { width: 17px; height: 17px; }
.dv-key { display: grid; gap: 10px; }
.dv-key li { display: grid; grid-template-columns: 15em minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14.5px; color: var(--text-2); }
.dv-key .dv { justify-self: start; }

/* ---------- section heads ---------- */
.cy-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 3.2vw, 44px); }
.cy-head .h2 { max-width: 15ch; }
.cy-areas { border-top: 0; }

/* ---------- the 8 areas ---------- */
.ag { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ag-card {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 18px 18px 16px; border-radius: var(--radius-l);
  background: var(--storm-1); border: 1px solid var(--edge); text-decoration: none;
  transition: border-color .2s, transform .3s var(--ease-out), background-color .2s;
}
.ag-card:hover { border-color: var(--edge-2); background: var(--storm-2); transform: translateY(-2px); }
.ag-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ag-go { color: var(--muted); font-size: 18px; transition: color .2s, transform .25s var(--ease-out); }
.ag-card:hover .ag-go { color: var(--blue-hi); transform: translateX(3px); }
.ag-name { font-size: clamp(19px, 1.5vw, 22px); font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; line-height: 1.08; margin-top: 4px; }
.ag-line { font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.ag-one { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--edge); font: 500 12px/1.45 var(--font-mono); color: var(--text-2); }

/* ---------- rules of engagement ---------- */
.roe-sec-head .eyebrow::before { display: none; }
.roe-sec-head .eyebrow .ico, .roe-tab .ico { width: 15px; height: 15px; }
.roe-sec-head .h2 { max-width: 14ch; }
.roe-doc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); border-radius: var(--radius-l); border: 1px solid var(--edge-2); background: var(--storm-1); overflow: hidden; }
.roe-head { display: grid; gap: 20px; align-content: start; padding: 24px; background: var(--black-2); border-right: 1px solid var(--edge); }
.roe-tab { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1.3 var(--font-mono); color: var(--text-2); }
.roe-meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; align-items: baseline; }
.roe-meta dt { font: 500 11px/1.4 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.roe-meta dd { font-size: 15px; line-height: 1.4; }
.roe-sign { display: grid; gap: 16px; }
.roe-sign li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; }
.roe-line { grid-column: 1 / -1; height: 1px; background: var(--edge-2); margin-top: 18px; }
.roe-role { font-size: 13.5px; color: var(--text-2); }
.roe-ok { display: inline-flex; align-items: center; gap: 5px; font: 500 11.5px/1 var(--font-mono); color: var(--text); }
.roe-ok .ico, .roe-check .ico, .roe-c-list .ico { width: 14px; height: 14px; color: var(--metal); stroke-width: 2.2; }
.roe-sample { justify-self: start; }
.roe-list { padding: 4px 24px; }
.roe-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 15em); gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--edge); }
.roe-list li:first-child { border-top: 0; }
.roe-check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--metal); }
.roe-item b { display: block; font-size: 17px; font-weight: 750; font-stretch: 108%; letter-spacing: -.01em; line-height: 1.25; }
.roe-item p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
.roe-v { justify-self: end; text-align: right; padding: 5px 9px; border-radius: 6px; border: 1px solid var(--edge); font: 500 12px/1.4 var(--font-mono); color: var(--text); }
.roe-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--text-2); max-width: 86ch; }
.roe--compact { padding-block: clamp(48px, 5vw, 80px); }
.roe-c { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(28px, 4vw, 56px); padding: 26px; border-radius: var(--radius-l); background: var(--storm-1); border: 1px solid var(--edge-2); }
.roe-c-head { display: grid; gap: 12px; align-content: start; justify-items: start; }
.roe-c-lede { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.roe-c-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-content: start; }
.roe-c-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--edge); }
.roe-c-list .ico { margin-top: 3px; }
.roe-c-list b { display: block; font-weight: 650; font-size: 15px; line-height: 1.3; }
.roe-c-list i { display: block; font: 500 12px/1.4 var(--font-mono); font-style: normal; color: var(--muted); margin-top: 2px; }

/* ---------- who-delivers ledger ---------- */
.ldg-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.ldg-count { font: 500 12.5px/1.4 var(--font-mono); color: var(--muted); }
.ldg { width: 100%; border-top: 1px solid var(--edge-2); }
.ldg th, .ldg td { text-align: left; vertical-align: top; padding: 15px 18px 15px 0; border-bottom: 1px solid var(--edge); }
.ldg thead th { padding-block: 12px; font: 500 11px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ldg tbody th { width: 21%; font-size: 16px; font-weight: 700; font-stretch: 106%; line-height: 1.3; }
.lg-what { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.lg-who { width: 1%; white-space: nowrap; }
.lg-ai { width: 19%; }
.lg-ai .ai-badge { min-height: 24px; font-size: 11.5px; }
.lg-noai { font: 500 12px/1.4 var(--font-mono); color: var(--muted); }
.lg-formula { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1.4 var(--font-mono); color: var(--text-2); }
.lg-ai-note { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.ldg-wrap[data-who="platform"] tbody tr:not([data-who="platform"]),
.ldg-wrap[data-who="team"] tbody tr:not([data-who="team"]),
.ldg-wrap[data-who="both"] tbody tr:not([data-who="both"]) { display: none; }
.ldg-note { margin-top: 18px; max-width: 86ch; }

/* ---------- the console ---------- */
.cx-body { display: grid; grid-template-columns: 212px minmax(0, 1fr); }
.cx-nav { display: flex; flex-direction: column; gap: 2px; padding: 10px; background: var(--black-2); border-right: 1px solid var(--edge); }
.cx-nav-btn {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px;
  border: 0; border-radius: 9px; background: transparent; color: var(--text-2); cursor: pointer;
  font-size: 14.5px; font-weight: 600; font-stretch: 104%; text-align: left;
}
.cx-nav-btn .ico { width: 16px; height: 16px; }
.cx-nav-btn:hover { color: var(--text); background: rgba(20, 24, 10, .05); }
.cx-nav-btn[aria-pressed="true"] { color: var(--text); background: var(--storm-2); }
.cx-nav-btn[aria-pressed="true"]::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--blue); }
.cx-main { min-width: 0; padding: clamp(16px, 2vw, 26px); font-size: 14.5px; }
.cx-view { display: grid; gap: 16px; min-width: 0; }
.cx-h { font-size: clamp(20px, 1.6vw, 24px); font-weight: 800; font-stretch: 114%; letter-spacing: -.02em; line-height: 1.1; }
html:not(.js) .cx-nav { display: none; }
html:not(.js) .cx-body { display: block; }
html:not(.js) .cx-view + .cx-view { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--edge); }

.cx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cx-kpis li { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--storm-1); border: 1px solid var(--edge); }
.cx-kpis b { font-size: clamp(24px, 2vw, 30px); font-weight: 800; font-stretch: 122%; letter-spacing: -.035em; line-height: 1; }
.cx-kpis span { font-size: 13px; line-height: 1.3; color: var(--text-2); }
.cx-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cx-card { display: grid; gap: 10px; align-content: start; min-width: 0; padding: 16px 18px; border-radius: 14px; background: var(--storm-1); border: 1px solid var(--edge); }
.cx-card--ai { border: 1.5px dashed var(--edge-2); }
.cx-card--auto { border-style: solid; }
.cx-card-k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cx-card-k .ai-badge { min-height: 22px; font-size: 11px; letter-spacing: 0; text-transform: none; }
.cx-card > p:not([class]) { font-size: 14.5px; line-height: 1.5; }
.cx-intel li, .cx-exp li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--edge); font-size: 14px; }
.cx-intel li:first-child, .cx-exp li:first-child { border-top: 0; }
.cx-intel li { justify-content: flex-start; }
.cx-intel b { min-width: 2.4em; font-size: 18px; }
.cx-exp li > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.chip--band { text-transform: capitalize; }

/* assessments */
.cx-asm { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px; align-items: start; }
.cx-asm-list { display: grid; gap: 6px; }
.cx-asm-row {
  display: grid; gap: 5px; justify-items: start; padding: 12px 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--edge); background: var(--storm-1); color: var(--text); text-align: left;
}
.cx-asm-row:hover { border-color: var(--edge-2); }
.cx-asm-row[aria-pressed="true"] { background: var(--storm-2); border-color: var(--edge-2); box-shadow: inset 2px 0 0 var(--blue); }
.cx-asm-name { font-size: 14.5px; font-weight: 650; line-height: 1.3; }
.cx-asm-meta { font: 500 11.5px/1.4 var(--font-mono); color: var(--muted); }
.cx-asm-panels .pick-panel { display: grid; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--storm-1); border: 1px solid var(--edge); }
.stg7 { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.stg7 li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.stg7-dot { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--edge-2); }
.stg7-dot .ico { width: 11px; height: 11px; stroke-width: 2.6; }
.stg7 .is-done { color: var(--text-2); }
.stg7 .is-done .stg7-dot { background: var(--metal); border-color: var(--metal); color: var(--on-metal); }
.stg7 .is-now { color: var(--text); font-weight: 650; }
.stg7 .is-now .stg7-dot { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); }
.cx-sub { font: 500 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.cx-check li { display: grid; grid-template-columns: 16px minmax(0, 13em) minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--edge); font-size: 14px; }
.cx-check .ico { width: 14px; height: 14px; color: var(--metal); stroke-width: 2.2; align-self: center; }
.cx-check span { color: var(--text-2); }

/* findings */
.cx-tool { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.cx-tool > p { font-size: 12.5px; color: var(--muted); }
.ft-wrap { min-width: 0; }
.ft, .tr { width: 100%; font-size: 14px; }
.ft th, .ft td, .tr th, .tr td { text-align: left; vertical-align: middle; padding: 10px 12px 10px 0; border-top: 1px solid var(--edge); }
.ft thead th, .tr thead th { border-top: 0; padding-top: 0; font: 500 10.5px/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ft-t > span { display: block; }
.ft-t > span:first-child { font-weight: 600; line-height: 1.3; }
.ft-a { margin-top: 3px; font: 500 11.5px/1.35 var(--font-mono); color: var(--muted); }
.ft-id, .ft-dim { color: var(--muted); }
.ft td.mono, .tr td.mono { white-space: nowrap; }
.ft-st { font-size: 13.5px; white-space: nowrap; }
.cx-f[data-ff="crit"] .ft-row:not([data-band="critical"]),
.cx-f[data-ff="kev"] .ft-row:not([data-kev]),
.cx-f[data-ff="late"] .ft-row:not([data-late]),
.cx-f[data-ff="team"] .ft-row:not([data-team]) { display: none; }
.cx-f { display: grid; gap: 14px; }
.cx-detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cx-map li, .cx-hist li { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--edge); font-size: 14px; line-height: 1.4; }
.cx-map li:first-child, .cx-hist li:first-child { border-top: 0; }
.cx-map span { font-size: 13px; color: var(--text-2); }
.cx-hist li { grid-template-columns: 7.6em minmax(0, 1fr); gap: 10px; }
.cx-hist .mono { color: var(--muted); font-size: 12px; }
.fx-nai { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px/1.3 var(--font-mono); color: var(--muted); }

/* remediation board */
.kb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kb-col { display: grid; gap: 8px; align-content: start; padding: 10px; border-radius: 14px; background: var(--black-2); border: 1px solid var(--edge); }
.kb-k { display: flex; justify-content: space-between; gap: 8px; padding: 2px 4px; font: 500 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kb-list { display: grid; gap: 8px; }
.kb-card { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: var(--storm-1); border: 1px solid var(--edge); }
.kb-id { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kb-t { font-size: 14px; font-weight: 600; line-height: 1.35; }
.kb-o { font: 500 11.5px/1.4 var(--font-mono); color: var(--muted); }
.kb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.kb-tags .ai-badge { min-height: 22px; font-size: 11px; }
.kb-tags .chip .ico { width: 12px; height: 12px; }
.kb-empty { padding: 10px 4px; font: 500 12px/1.3 var(--font-mono); color: var(--muted); }
.kb-ex { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--edge-2); font-size: 14px; line-height: 1.5; color: var(--text-2); }

/* audit trail + reports */
.tr td { font-size: 13.5px; }
.tr td:last-child { color: var(--text-2); }
.tr .spark { margin-right: 6px; }
.cx-reports li { display: grid; grid-template-columns: minmax(0, 16em) minmax(0, 1fr) auto; gap: 6px 18px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--edge); }
.cx-reports li:first-child { border-top: 0; }
.cx-rep-t { display: inline-flex; align-items: center; gap: 8px; }
.cx-rep-t .ico { width: 16px; height: 16px; color: var(--text-2); }
.cx-rep-d { font-size: 14px; color: var(--text-2); }
.cx-rep-f { font-size: 12px; color: var(--muted); }
.cx-rep-dl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--storm-1); border: 1px solid var(--edge); font-size: 14.5px; }
.btn .ico { width: 18px; height: 18px; }

/* ---------- the sample report ---------- */
.rp-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.rp-cover { position: relative; width: 100%; max-width: 330px; aspect-ratio: 210 / 297; justify-self: center; }
.rp-sheet { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 13% 11% 10%; border-radius: 6px; background: var(--black); border: 1px solid var(--edge-2); box-shadow: var(--shadow-panel); }
.rp-sheet--back { transform: rotate(4deg) translate(14px, 8px); background: var(--storm-2); }
.rp-sheet-k { font: 500 10.5px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rp-sheet-t { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; font-stretch: 120%; letter-spacing: -.035em; line-height: 1; }
.rp-sheet-m { font-size: 12.5px; line-height: 1.4; color: var(--text-2); }
.rp-sheet-bars { display: grid; gap: 7px; margin-top: auto; }
.rp-sheet-bars li { position: relative; height: 6px; border-radius: 3px; background: var(--edge); overflow: hidden; }
.rp-sheet-bars li::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: var(--metal); }
.rp-sheet-s { padding-top: 8px; border-top: 1px solid var(--edge); font: 500 10px/1.3 var(--font-mono); color: var(--muted); }
.rp-text { display: grid; justify-items: start; }
.rp-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; width: 100%; margin: 20px 0 26px; counter-reset: rp; }
.rp-parts li { padding: 9px 0; border-top: 1px solid var(--edge); font-size: 15px; counter-increment: rp; }
.rp-parts li::before { content: counter(rp, decimal-leading-zero); margin-right: 12px; font: 500 11px/1 var(--font-mono); color: var(--muted); }
.rp-meta { font: 500 12.5px/1.4 var(--font-mono); color: var(--text-2); }
.rp-meta b { color: var(--text); font-weight: 500; }
.rp-formats { margin-top: 18px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.rp-formats b { color: var(--text); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ag { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-row3, .cx-detail { grid-template-columns: minmax(0, 1fr); }
  .kb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roe-doc { grid-template-columns: minmax(0, 1fr); }
  .roe-head { border-right: 0; border-bottom: 1px solid var(--edge); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roe-head .roe-tab, .roe-head .roe-sample { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .cy-head, .roe-c, .rp-grid { grid-template-columns: minmax(0, 1fr); }
  .cx-body { display: block; }
  .cx-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; border-right: 0; border-bottom: 1px solid var(--edge); }
  .cx-nav-btn { min-height: 38px; padding: 0 10px; font-size: 13.5px; }
  .cx-nav-btn[aria-pressed="true"]::before { left: 10px; right: 10px; top: auto; bottom: 2px; width: auto; height: 2px; }
  .cx-asm { grid-template-columns: minmax(0, 1fr); }
  .cx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-cover { max-width: 240px; justify-self: start; }
}
@media (max-width: 760px) {
  .ag, .kb, .rp-parts, .roe-c-list { grid-template-columns: minmax(0, 1fr); }
  .roe-head { grid-template-columns: minmax(0, 1fr); }
  .roe-list { padding: 4px 16px; }
  .roe-list li { grid-template-columns: 26px minmax(0, 1fr); }
  .roe-v { grid-column: 2; justify-self: start; text-align: left; }
  .roe-c { padding: 18px 16px; }
  .dv-key li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  /* tables become stacked rows */
  .ldg thead, .ft thead, .tr thead { display: none; }
  .ldg, .ldg tbody, .ft, .ft tbody, .tr, .tr tbody { display: block; }
  .ldg tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--edge); }
  .ldg th, .ldg td { padding: 0; border: 0; width: auto; }
  .ldg tbody th { grid-column: 1; width: auto; }
  .lg-who { grid-column: 2; grid-row: 1; }
  .lg-what, .lg-ai { grid-column: 1 / -1; }
  .ft tr, .tr tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; padding: 12px 0; border-top: 1px solid var(--edge); }
  .ft td, .ft th, .tr td { padding: 0; border: 0; }
  .ft td[data-k] { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
  .ft td[data-k]::before { content: attr(data-k); font: 500 11px/1.3 var(--font-mono); color: var(--muted); }
  .tr td { grid-column: 1 / -1; }
  .tr td:first-child { grid-column: 1; }
  .tr td:nth-child(2) { grid-column: 2; grid-row: 1; font-weight: 600; }
  .cx-reports li { grid-template-columns: minmax(0, 1fr); }
  .cx-check li { grid-template-columns: 16px minmax(0, 1fr); }
  .cx-check span { grid-column: 2; }
}

/* rules of engagement: what the platform keeps (appended) */
.roe-keeps { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--edge); }
.roe-keeps-k { display: flex; align-items: center; gap: 8px; font: 500 12px/1.3 var(--font-mono); color: var(--text-2); }
.roe-keeps li { padding: 6px 0 6px 14px; position: relative; font-size: 14px; color: var(--text-2); }
.roe-keeps li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 1.5px; background: var(--muted); }
