/* sc-compare: the compare board and data-table module (pages that carry a board or a data table).
   Adapted into the v16 system from compare/css/src/sc-compare.src.css: no id guard, no !important,
   tokens come from sc.css. Class contract unchanged (compare/NOTES.md). */
/* ---------- tokens (BRAND.md values, mapped to --cmp-*) ---------- */
.cmp, .dtable-frame, p.cmp-foot {
  --cmp-bg: var(--bg); --cmp-s1: var(--s1); --cmp-s2: var(--s2); --cmp-s3: var(--s3);
  --cmp-line: var(--line); --cmp-line2: var(--line2); --cmp-line3: var(--line3);
  --cmp-tx: var(--tx); --cmp-tx2: var(--tx2); --cmp-tx3: var(--tx3);
  --cmp-acc: var(--acc); --cmp-acc2: var(--acc-l); --cmp-acc-hover: var(--acc-h); --cmp-acc-soft: var(--acc-soft);
  --cmp-acc-faint: var(--acc-faint); --cmp-acc-line: var(--acc-line);
  --cmp-ok: var(--ok); --cmp-warn: var(--warn); --cmp-err: var(--err);
  --cmp-sans: var(--sans); --cmp-mono: var(--mono);
  --cmp-pad-x: 20px; --cmp-label-w: 26%;
}

/* ---------- page scroller ----------
   Some legacy sheets give both html and body overflow-x:hidden + overflow-y:auto. That makes body a scroll
   container that never scrolls, and position:sticky inside it never pins. On pages with a board, body clips
   instead (clip is not a scroll container); html still stops sideways scroll. */
/* body already clips x overflow in the system (01-foundation); the old body:has(.cmp) override is gone */

/* ---------- frame ---------- */
/* a legacy wrapper the board could not replace (it also holds other content): no clipping, no second card */
:is(.compare-wrap, .cmp-wrap, [class*="tbl-wrap"], .table-wrap, .bp-scroll, .lp-table):has(> .cmp, > .dtable-frame) { overflow: visible; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; max-width: none; }
.cmp { display: block; position: relative; margin: 40px 0 0; padding: 0; max-width: none; width: 100%; background: none; border: 0; box-shadow: none; overflow: visible; opacity: 1; transform: none; font-family: var(--cmp-sans); }
.cmp:first-child { margin-top: 0; }
.cmp-scroll { display: block; position: relative; margin: 0; padding: 0; background: var(--cmp-s1); border: 1px solid var(--cmp-line); border-radius: 12px; overflow: visible; box-shadow: none; max-width: none; }

.cmp-t { display: table; width: 100%; min-width: 0; max-width: none; margin: 0; padding: 0; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 0; border-radius: 12px; background: none; box-shadow: none; font-family: var(--cmp-sans); font-size: 15px; line-height: 1.5; color: var(--cmp-tx); font-variant-numeric: tabular-nums; overflow: visible; }
.cmp-t col.cmp-c0 { width: var(--cmp-label-w); }
.cmp[data-cmp-n="3"] { --cmp-label-w: 22%; }
.cmp[data-cmp-n="4"], .cmp[data-cmp-n="5"], .cmp[data-cmp-n="6"] { --cmp-label-w: 19%; --cmp-pad-x: 16px; }
.cmp--rows { --cmp-label-w: 18%; --cmp-pad-x: 16px; }

.cmp-t :is(thead, tbody, tfoot) { display: table-row-group; background: none; border: 0; }
.cmp-t thead { display: table-header-group; }
.cmp-t tr { display: table-row; background: none; border: 0; box-shadow: none; }
.cmp-t :is(th, td) { display: table-cell; position: static; margin: 0; padding: 16px var(--cmp-pad-x); width: auto; min-width: 0; max-width: none; height: auto; background: none; border: 0; border-top: 1px solid var(--cmp-line); border-radius: 0; box-shadow: none; font-family: var(--cmp-sans); font-size: 15px; font-weight: 400; font-style: normal; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; vertical-align: top; white-space: normal; overflow-wrap: anywhere; word-break: normal; color: var(--cmp-tx); opacity: 1; }
.cmp-t :is(th, td) :is(strong, b) { font-weight: inherit; color: inherit; }
.cmp-t caption { display: table-caption; caption-side: top; text-align: left; margin: 0; padding: 0 0 12px; background: none; border: 0; font-size: 13px; line-height: 1.5; color: var(--cmp-tx3); }

/* ---------- sticky column heads ---------- */
.cmp-t thead th { position: sticky; top: var(--cmp-top, 64px); z-index: 3; border-top: 0; border-bottom: 1px solid var(--cmp-line); padding: 20px var(--cmp-pad-x) 18px; vertical-align: bottom; background: rgba(11,15,21,.94); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); transition: top .2s ease, box-shadow .2s ease; }
.cmp-t thead th:first-child { border-top-left-radius: 12px; }
.cmp-t thead th:last-child { border-top-right-radius: 12px; }
.cmp.cmp-stuck .cmp-t thead th { box-shadow: 0 1px 0 var(--cmp-line2), 0 12px 24px -16px rgba(0,0,0,.7); border-radius: 0; }
.cmp-t thead th.cmp-corner { font-size: 13px; font-weight: 500; color: var(--cmp-tx3); }
.cmp-t .cmp-h .cmp-name { display: block; font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--cmp-tx); }
.cmp-t .cmp-h .cmp-name a { color: inherit; text-decoration: none; }
.cmp-t .cmp-h .cmp-name a:hover { color: var(--cmp-acc2); }
.cmp-t .cmp-h .cmp-desc { display: inline; margin-top: 2px; font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--cmp-tx3); }
.cmp-t .cmp-h .cmp-desc + .cmp-role::before { content: " · "; white-space: pre; color: var(--cmp-tx3); }
.cmp-t .cmp-h .cmp-role { display: inline; font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--cmp-tx2); }
.cmp-t .cmp-h .cmp-role::after { content: ""; display: block; height: 0; }
.cmp-t .cmp-h .cmp-price { display: inline-block; margin: 14px 14px 0 0; font-size: 14px; font-weight: 400; line-height: 28px; color: var(--cmp-tx3); vertical-align: middle; white-space: nowrap; }
.cmp-t .cmp-h .cmp-price b { font-size: 20px; font-weight: 600; color: var(--cmp-tx); letter-spacing: -0.01em; }
.cmp-t .cmp-h .cmp-unit { font-size: 14px; color: var(--cmp-tx3); }
.cmp-t .cmp-h .cmp-cta { display: inline-flex; align-items: center; height: 28px; margin: 14px 0 0; padding: 0 10px; border: 1px solid var(--cmp-line2); border-radius: 8px; background: transparent; font-size: 13px; font-weight: 500; line-height: 1; color: var(--cmp-tx); text-decoration: none; vertical-align: middle; transition: border-color .14s, background .14s; }
.cmp-t .cmp-h .cmp-cta:hover { border-color: var(--cmp-line3); background: rgba(255,255,255,.035); text-decoration: none; }
.cmp-t .cmp-h .cmp-cta:focus-visible { outline: 2px solid var(--cmp-acc); outline-offset: 2px; }
.cmp--rows .cmp-t thead th, .cmp--rows .cmp-t thead th.cmp-corner { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--cmp-tx2); padding-top: 16px; padding-bottom: 14px; vertical-align: bottom; }

/* ---------- rows ---------- */
.cmp-t tbody tr:first-child > * { border-top: 0; }
.cmp-t tbody th.cmp-l { font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--cmp-tx2); padding-top: 17px; }
.cmp-t tbody td { color: var(--cmp-tx); }
.cmp-t tbody tr:hover > :is(td, th.cmp-l) { background-color: rgba(255,255,255,.018); }
.cmp-t tbody tr:last-child > :first-child { border-bottom-left-radius: 12px; }
.cmp-t tbody tr:last-child > :last-child { border-bottom-right-radius: 12px; }

/* value first, qualifier underneath */
.cmp-t .cmp-main { display: inline; color: var(--cmp-tx); }
.cmp-t .cmp-qual { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--cmp-tx3); text-indent: 0; }
.cmp-t .cmp-qual + br, .cmp-t .cmp-main + br { display: none; }
.cmp-t .cmp-note { display: block; margin-top: 2px; font-size: 14px; font-style: normal; color: var(--cmp-tx3); }

/* options-as-rows: the option name is the row head */
.cmp--rows .cmp-t tbody th.cmp-l { font-size: 15px; font-weight: 600; color: var(--cmp-tx); padding-top: 16px; }
.cmp--rows .cmp-t tbody td { color: var(--cmp-tx2); }
.cmp--rows .cmp-t tbody th.cmp-l a { color: var(--cmp-tx); text-decoration: none; }
.cmp--rows .cmp-t tbody th.cmp-l a:hover { color: var(--cmp-acc2); }

/* ---------- groups ---------- */
.cmp-t tr.cmp-group > th { padding: 36px var(--cmp-pad-x) 10px; border-top: 1px solid var(--cmp-line); font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; color: var(--cmp-tx); background: none; }
.cmp-t tbody tr.cmp-group:first-child > th { padding-top: 24px; border-top: 0; }
.cmp-t tr.cmp-group + tr > * { border-top: 0; }
.cmp-t tr.cmp-group:hover > th { background: none; }

/* ---------- identical rows merged ---------- */
.cmp-t td.cmp-same { color: var(--cmp-tx); }
.cmp-t .cmp-same-note { text-indent: 0; display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--cmp-tx3); white-space: nowrap; }
.cmp-t .cmp-same-note::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: var(--cmp-i-same) center/14px no-repeat; mask: var(--cmp-i-same) center/14px no-repeat; }
.cmp { --cmp-i-same: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5h16M4 15.5h16'/%3E%3C/svg%3E"); }

/* ---------- our column / our row ---------- */
.cmp-t :is(td, th).cmp-ours { background-color: var(--cmp-acc-faint); }
.cmp-t tbody tr:hover > .cmp-ours { background-color: rgba(131,195,236,.065); }
.cmp-t thead th.cmp-ours { background: rgba(18,27,37,.96); box-shadow: inset 0 2px 0 -1px var(--cmp-acc-line); }
.cmp-t thead th.cmp-ours .cmp-name { color: var(--cmp-acc2); }
.cmp.cmp-stuck .cmp-t thead th.cmp-ours { box-shadow: inset 0 2px 0 -1px var(--cmp-acc-line), 0 1px 0 var(--cmp-line2), 0 12px 24px -16px rgba(0,0,0,.7); }
.cmp--rows .cmp-t tbody tr.cmp-ours > * { background-color: var(--cmp-acc-faint); box-shadow: inset 0 1px 0 var(--cmp-acc-line), inset 0 -1px 0 var(--cmp-acc-line); border-top-color: transparent; }
.cmp--rows .cmp-t tbody tr.cmp-ours > :first-child { box-shadow: inset 1px 1px 0 var(--cmp-acc-line), inset 0 -1px 0 var(--cmp-acc-line); }
.cmp--rows .cmp-t tbody tr.cmp-ours > :last-child { box-shadow: inset -1px 1px 0 var(--cmp-acc-line), inset 0 -1px 0 var(--cmp-acc-line); }
.cmp--rows .cmp-t tbody tr.cmp-ours + tr > * { border-top-color: transparent; }
.cmp--rows .cmp-t tbody tr.cmp-ours > th.cmp-l { color: var(--cmp-acc2); }

/* ---------- glyphs: sprite check / x, drawn partial and off ---------- */
.cmp-t :is(td, th).cmp-yes, .cmp-t :is(td, th).cmp-no, .cmp-t :is(td, th).cmp-part, .cmp-t :is(td, th).cmp-off { padding-left: calc(var(--cmp-pad-x) + 26px); text-indent: -26px; }
.cmp-t .cmp-g { display: inline-block; width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -4px; text-indent: 0; flex: none; overflow: visible; fill: none; stroke: currentColor; }
.cmp-t .cmp-g-yes { color: var(--cmp-acc); stroke-width: 1.9; }
.cmp-t .cmp-g-no { color: var(--cmp-tx3); }
.cmp-t .cmp-g-part { position: relative; box-sizing: border-box; width: 15px; height: 15px; margin: 0 9px 0 2px; vertical-align: -2px; border: 1.5px solid var(--cmp-acc); border-radius: 50%; background: linear-gradient(90deg, var(--cmp-acc) 50%, transparent 50%); opacity: .85; }
.cmp-t .cmp-g-off { position: relative; width: 18px; height: 18px; vertical-align: -4px; }
.cmp-t .cmp-g-off::after { content: ""; position: absolute; left: 4px; right: 4px; top: 8.25px; height: 1.5px; border-radius: 1px; background: var(--cmp-tx3); }
.cmp-t :is(td, th).cmp-no, .cmp-t :is(td, th).cmp-off { color: var(--cmp-tx2); }
.cmp-t .cmp-txt { text-indent: 0; }
.cmp-t :is(.cmp-yes, .cmp-no, .cmp-part, .cmp-off) .cmp-qual { padding-left: 0; }

/* ---------- cell content ---------- */
.cmp-t a:not(.cmp-cta) { color: var(--cmp-acc); text-decoration: none; border: 0; background: none; font-weight: inherit; }
.cmp-t a:not(.cmp-cta):hover { color: var(--cmp-acc2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cmp-t a:focus-visible { outline: 2px solid var(--cmp-acc); outline-offset: 2px; border-radius: 6px; }
.cmp-t code { display: inline; margin: 0; padding: 1px 6px; border: 0; border-radius: 6px; background: var(--cmp-s2); font-family: var(--cmp-mono); font-stretch: 87.5%; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--cmp-tx); white-space: normal; overflow-wrap: anywhere; box-shadow: none; }
.cmp-t sup { font-size: 12px; line-height: 0; vertical-align: super; color: var(--cmp-acc); }
.cmp-t small { font-size: 13px; color: var(--cmp-tx3); }
.cmp-t .mono { font-family: var(--cmp-sans); font-size: inherit; color: inherit; letter-spacing: 0; }

/* visually hidden helpers (ours and the legacy ones that may sit inside a moved cell) */
.cmp :is(.cmp-vh, .cmp-sep, .sv-vh, .sx-vh, .sr-only, .visually-hidden), .dtable-frame :is(.cmp-vh, .sv-vh, .sx-vh, .sr-only, .visually-hidden), .cmp-pick .cmp-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* live status cells (cloud servers): glyph + word, never a bare dot */
.cmp-t [data-mon-cell] .sv-st { display: inline-flex; align-items: flex-start; gap: 8px; color: var(--cmp-tx); }
.cmp-t [data-mon-cell] .sv-dot { display: inline-block; flex: none; width: 16px; height: 16px; margin-top: 3px; border: 0; border-radius: 0; box-shadow: none; animation: none; background: var(--cmp-tx3); -webkit-mask: var(--cmp-i-unk) center/16px no-repeat; mask: var(--cmp-i-unk) center/16px no-repeat; }
.cmp-t [data-mon-cell][data-state="up"] .sv-dot { background: var(--cmp-ok); -webkit-mask-image: var(--cmp-i-ok); mask-image: var(--cmp-i-ok); }
.cmp-t [data-mon-cell][data-state="down"] .sv-dot { background: var(--cmp-err); -webkit-mask-image: var(--cmp-i-err); mask-image: var(--cmp-i-err); }
.cmp-t [data-mon-cell]:is([data-state="maint"], [data-state="pending"]) .sv-dot { background: var(--cmp-warn); -webkit-mask-image: var(--cmp-i-warn); mask-image: var(--cmp-i-warn); }
.cmp {
  --cmp-i-ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12.4 2.4 2.4 4.6-5'/%3E%3C/svg%3E");
  --cmp-i-err: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m9.2 9.2 5.6 5.6m0-5.6-5.6 5.6'/%3E%3C/svg%3E");
  --cmp-i-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.8v5M12 16.2h.01'/%3E%3C/svg%3E");
  --cmp-i-unk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12h7'/%3E%3C/svg%3E");
}

/* restic two-keys widget: keep its "which key" dimming working on the board */
.v10-keys[data-k="backup"] .cmp-t [data-col="maint"] > *, .v10-keys[data-k="maint"] .cmp-t [data-col="backup"] > * { opacity: .38; transition: opacity .3s ease; }
.v10-keys[data-k="backup"] .cmp-t th[data-col="backup"] .cmp-name, .v10-keys[data-k="maint"] .cmp-t th[data-col="maint"] .cmp-name { color: var(--cmp-acc2); }

/* ---------- footnotes ---------- */
p.cmp-foot { margin: 14px 0 0; padding: 0 2px; max-width: 820px; font-family: var(--cmp-sans); font-size: 13px; font-weight: 400; line-height: 1.6; letter-spacing: 0; text-transform: none; color: var(--cmp-tx3); text-align: left; background: none; border: 0; }
p.cmp-foot a { color: var(--cmp-tx2); text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 3px; }
p.cmp-foot a:hover { color: var(--cmp-tx); text-decoration-color: rgba(255,255,255,.4); }
p.cmp-foot :is(strong, b) { color: var(--cmp-tx2); font-weight: 500; }

/* ---------- phone picker (built by sc-compare.js) ---------- */
.cmp-pick { display: none; }

/* ============================================================= data tables (.dtable) */
.dtable-frame { display: block; position: relative; margin: 28px 0 0; padding: 0; max-width: none; width: 100%; background: none; border: 0; box-shadow: none; opacity: 1; transform: none; overflow: visible; font-family: var(--cmp-sans); }
.dtable-frame:first-child { margin-top: 0; }
.dtable-scroll { display: block; margin: 0; padding: 0; overflow-x: auto; background: var(--cmp-s1); border: 1px solid var(--cmp-line); border-radius: 12px; box-shadow: none; max-width: none; }
.dtable { display: table; width: 100%; min-width: 0; max-width: none; margin: 0; table-layout: auto; border-collapse: separate; border-spacing: 0; border: 0; border-radius: 12px; background: none; box-shadow: none; font-family: var(--cmp-sans); font-size: 15px; line-height: 1.5; color: var(--cmp-tx2); font-variant-numeric: tabular-nums; }
.dtable :is(thead, tbody, tfoot) { display: table-row-group; background: none; border: 0; }
.dtable thead { display: table-header-group; }
.dtable tr { display: table-row; background: none; border: 0; box-shadow: none; }
.dtable :is(th, td) { display: table-cell; position: static; margin: 0; padding: 14px 20px; width: auto; min-width: 0; max-width: none; background: none; border: 0; border-top: 1px solid var(--cmp-line); border-radius: 0; box-shadow: none; font-family: var(--cmp-sans); font-size: 15px; font-weight: 400; font-style: normal; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; vertical-align: top; white-space: normal; overflow-wrap: break-word; color: var(--cmp-tx2); opacity: 1; }
.dtable thead th { padding: 12px 20px; border-top: 0; border-bottom: 1px solid var(--cmp-line); background: var(--cmp-s2); font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--cmp-tx2); vertical-align: bottom; }
.dtable thead th:first-child { border-top-left-radius: 12px; }
.dtable thead th:last-child { border-top-right-radius: 12px; }
.dtable tbody tr:first-child > * { border-top: 0; }
.dtable tbody > tr > :first-child { color: var(--cmp-tx); font-weight: 500; }
.dtable :is(th, td) :is(strong, b) { font-weight: 500; color: var(--cmp-tx); }
.dtable caption { display: table-caption; caption-side: top; text-align: left; margin: 0; padding: 0 0 12px; background: none; border: 0; font-size: 13px; line-height: 1.5; color: var(--cmp-tx3); }
.dtable a { color: var(--cmp-acc); text-decoration: none; border: 0; font-weight: inherit; }
.dtable a:hover { color: var(--cmp-acc2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dtable a:focus-visible { outline: 2px solid var(--cmp-acc); outline-offset: 2px; border-radius: 6px; }
.dtable code { display: inline; margin: 0; padding: 1px 6px; border: 0; border-radius: 6px; background: var(--cmp-s2); font-family: var(--cmp-mono); font-stretch: 87.5%; font-size: 13px; font-weight: 400; color: var(--cmp-tx); white-space: normal; overflow-wrap: anywhere; box-shadow: none; }
.dtable :is(.v10-fp, .mono) { font-family: var(--cmp-mono); font-stretch: 87.5%; font-size: 13px; color: var(--cmp-tx); overflow-wrap: anywhere; }
.dtable .ir-k { display: block; margin: 0 0 2px; font-family: var(--cmp-sans); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--cmp-tx); }
.dtable th:has(.ir-k) { font-weight: 400; color: var(--cmp-tx2); }
.dtable sup { font-size: 12px; line-height: 0; color: var(--cmp-acc); }
.dtable .cmp-g { display: inline-block; width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -4px; fill: none; stroke: currentColor; }
.dtable .cmp-g-yes { color: var(--cmp-acc); stroke-width: 1.9; }
.dtable .cmp-g-no { color: var(--cmp-tx3); }
.dtable .cmp-g-part { box-sizing: border-box; width: 15px; height: 15px; margin: 0 9px 0 2px; vertical-align: -2px; border: 1.5px solid var(--cmp-acc); border-radius: 50%; background: linear-gradient(90deg, var(--cmp-acc) 50%, transparent 50%); opacity: .85; }
.dtable .cmp-g-off { position: relative; }
.dtable .cmp-g-off::after { content: ""; position: absolute; left: 4px; right: 4px; top: 8.25px; height: 1.5px; background: var(--cmp-tx3); }
.dtable--kv tbody > tr > th { width: 30%; font-size: 14px; font-weight: 500; color: var(--cmp-tx2); }
.dtable--kv tbody > tr > td { color: var(--cmp-tx); }
.dtable--kv tbody tr:first-child > * { border-top: 0; }
.dtable tbody tr:last-child > :first-child { border-bottom-left-radius: 12px; }
.dtable tbody tr:last-child > :last-child { border-bottom-right-radius: 12px; }

/* ============================================================= phones */
@media (max-width: 759.98px) {
  .cmp { margin-top: 28px; }
  .cmp { --cmp-pad-x: 16px; }
  .content-block:has(> .cmp), .cb-wide:has(> .cmp), .content-block:has(> .dtable-frame) { overflow: visible; }

  /* without the script: keep the full board and scroll inside the card, label column sticky */
  .cmp:not(.cmp-js) .cmp-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
  .cmp:not(.cmp-js) .cmp-t { min-width: calc(140px + var(--cmp-n-px, 2) * 170px); }
  .cmp:not(.cmp-js)[data-cmp-n="2"] .cmp-t { min-width: 0; }
  .cmp:not(.cmp-js) .cmp-t thead th { position: static; }
  .cmp:not(.cmp-js) .cmp-t :is(tbody th.cmp-l, thead th:first-child) { position: sticky; left: 0; z-index: 2; background: var(--cmp-s1); }

  /* the picker bar */
  .cmp.cmp-js .cmp-pick { display: flex; position: sticky; top: var(--cmp-top, 64px); z-index: 50; gap: 8px; align-items: center; margin: 0 0 12px; padding: 10px 0; background: rgba(7,9,13,.92); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); transition: top .2s ease; }
  .cmp-pick .cmp-sel { position: relative; flex: 1 1 0; min-width: 0; margin: 0; }
  .cmp-pick select { display: block; width: 100%; height: 44px; margin: 0; padding: 0 34px 0 12px; border: 1px solid var(--cmp-line2); border-radius: 8px; background: var(--cmp-s2); color: var(--cmp-tx); font-family: var(--cmp-sans); font-size: 16px; font-weight: 500; line-height: 1.2; text-overflow: ellipsis; -webkit-appearance: none; appearance: none; box-shadow: none; }
  .cmp-pick .cmp-sel::after { content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; pointer-events: none; background: var(--cmp-tx3); -webkit-mask: var(--cmp-i-chev) center/14px no-repeat; mask: var(--cmp-i-chev) center/14px no-repeat; }
  .cmp-pick select:focus-visible { outline: 0; border-color: rgba(131,195,236,.6); box-shadow: 0 0 0 3px rgba(131,195,236,.2); }
  .cmp-pick .cmp-pick-ic { flex: none; width: 18px; height: 18px; color: var(--cmp-tx3); fill: none; stroke: currentColor; }
  .cmp-pick .cmp-seg { display: flex; flex: 1 1 auto; min-width: 0; padding: 3px; gap: 2px; border: 1px solid var(--cmp-line2); border-radius: 10px; background: var(--cmp-s1); }
  .cmp-pick .cmp-seg button { flex: 1 1 auto; min-width: 0; height: 36px; margin: 0; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--cmp-tx2); font-family: var(--cmp-sans); font-size: 14px; font-weight: 500; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0; }
  .cmp-pick .cmp-seg button[aria-pressed="true"] { background: var(--cmp-s3); color: var(--cmp-tx); box-shadow: 0 0 0 1px var(--cmp-line2); }
  .cmp-pick .cmp-seg button:focus-visible { outline: 2px solid var(--cmp-acc); outline-offset: -2px; }
  .cmp { --cmp-i-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }

  /* options-as-columns, scripted: label above, the chosen columns side by side */
  .cmp--cols.cmp-js .cmp-t, .cmp--cols.cmp-js .cmp-t :is(thead, tbody, tfoot) { display: block; width: 100%; }
  .cmp--cols.cmp-js .cmp-t colgroup { display: none; }
  .cmp--cols.cmp-js .cmp-t tr { display: grid; grid-template-columns: repeat(var(--cmp-vis, 2), minmax(0, 1fr)); column-gap: 16px; padding: 0 16px; border-top: 1px solid var(--cmp-line); }
  .cmp--cols.cmp-js .cmp-t thead tr { border-top: 0; padding-top: 4px; }
  .cmp--cols.cmp-js .cmp-t tbody tr:first-child, .cmp--cols.cmp-js .cmp-t tr.cmp-group + tr { border-top: 0; }
  .cmp--cols.cmp-js .cmp-t :is(th, td) { display: block; padding: 0 0 14px; border: 0; border-radius: 0; text-indent: 0; }
  .cmp--cols.cmp-js .cmp-t thead th { position: static; padding: 14px 0 16px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border: 0; }
  .cmp--cols.cmp-js .cmp-t thead th.cmp-corner { display: none; }
  .cmp--cols.cmp-js .cmp-t thead th.cmp-ours { box-shadow: none; background: none; }
  .cmp--cols.cmp-js .cmp-t .cmp-h .cmp-name { font-size: 18px; }
  .cmp--cols.cmp-js .cmp-t .cmp-h .cmp-price { display: block; margin: 8px 0 0; }
  .cmp--cols.cmp-js .cmp-t .cmp-h .cmp-cta { margin-top: 8px; }
  .cmp--cols.cmp-js .cmp-t tbody th.cmp-l { grid-column: 1 / -1; padding: 14px 0 6px; font-size: 13px; font-weight: 500; color: var(--cmp-tx3); }
  .cmp--cols.cmp-js .cmp-t [data-cmp-col]:not(.cmp-on):not(.cmp-l):not(.cmp-corner):not(.cmp-span) { display: none; }
  .cmp--cols.cmp-js .cmp-t :is(td.cmp-same, td.cmp-span) { grid-column: 1 / -1; order: 0; }
  .cmp--cols.cmp-js .cmp-t .cmp-same-note { display: flex; margin: 2px 0 0; }
  .cmp--cols.cmp-js .cmp-t :is(td, th).cmp-ours { background: none; }
  .cmp--cols.cmp-js .cmp-t :is(td, th):is(.cmp-yes, .cmp-no, .cmp-part, .cmp-off) { padding-left: 26px; text-indent: -26px; }
  .cmp--cols.cmp-js .cmp-t tr.cmp-group { display: block; padding: 0 16px; }
  .cmp--cols.cmp-js .cmp-t tr.cmp-group > th { padding: 28px 0 4px; border: 0; font-size: 16px; }
  .cmp--cols.cmp-js .cmp-t tbody tr:hover > * { background: none; }
  .cmp--cols.cmp-js .cmp-t tbody tr.cmp-group:first-child > th { padding-top: 20px; }

  /* options-as-rows, scripted: the two chosen options side by side, rows aligned with subgrid */
  .cmp--rows.cmp-js .cmp-t, .cmp--rows.cmp-js .cmp-t thead { display: block; width: 100%; }
  .cmp--rows.cmp-js .cmp-t colgroup, .cmp--rows.cmp-js .cmp-t thead { display: none; }
  .cmp--rows.cmp-js .cmp-t tbody { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(var(--cmp-k, 6), auto); grid-auto-flow: column; column-gap: 12px; padding: 4px 16px 8px; }
  .cmp--rows.cmp-js .cmp-t tbody tr { display: none; }
  .cmp--rows.cmp-js .cmp-t tbody tr.cmp-on { display: grid; grid-row: 1 / span var(--cmp-k, 6); grid-template-rows: subgrid; row-gap: 0; }
  .cmp--rows.cmp-js .cmp-t tbody tr.cmp-on > * { display: block; position: relative; padding: 32px 0 12px; border: 0; border-top: 1px solid var(--cmp-line); border-radius: 0; background: none; box-shadow: none; text-indent: 0; font-size: 15px; color: var(--cmp-tx); }
  .cmp--rows.cmp-js .cmp-t tbody tr.cmp-on > th.cmp-l { padding: 12px 0; border-top: 0; font-size: 18px; font-weight: 600; color: var(--cmp-tx); }
  .cmp--rows.cmp-js .cmp-t tbody tr.cmp-on.cmp-ours > th.cmp-l { color: var(--cmp-acc2); }
  .cmp--rows.cmp-js .cmp-t tbody tr.cmp-a > td::before { content: attr(data-label); position: absolute; left: 0; top: 10px; width: calc(200% + 12px); font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--cmp-tx3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-indent: 0; }
  .cmp--rows.cmp-js .cmp-t tbody tr.cmp-on > :is(.cmp-yes, .cmp-no, .cmp-part, .cmp-off) { padding-left: 26px; text-indent: -26px; }
  .cmp--rows.cmp-js .cmp-t tbody tr.cmp-a > :is(.cmp-yes, .cmp-no, .cmp-part, .cmp-off)::before { left: 0; }

  /* data tables: rows stack into labelled blocks when there are 3+ columns */
  .dtable-scroll { overflow-x: auto; }
  .dtable :is(th, td) { overflow-wrap: anywhere; }
  .dtable :is(th, td) { padding: 12px 16px; }
  .dtable--kv tbody > tr > th { width: 38%; }
  .dtable--stack, .dtable--stack :is(thead, tbody, tr) { display: block; width: 100%; }
  .dtable--stack thead { display: none; }
  .dtable--stack tbody tr { padding: 14px 16px 6px; border-top: 1px solid var(--cmp-line); }
  .dtable--stack tbody tr:first-child { border-top: 0; }
  .dtable--stack tbody :is(th, td) { display: block; padding: 0 0 10px; border: 0; border-radius: 0; }
  .dtable--stack tbody > tr > :first-child { padding-bottom: 8px; font-size: 16px; font-weight: 600; color: var(--cmp-tx); }
  .dtable--stack tbody td[data-label]::before { content: attr(data-label); display: block; margin: 0 0 2px; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--cmp-tx3); }
  .dtable--stack tbody td[data-label] > .cmp-g:first-child { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cmp-t thead th, .cmp-pick, .v10-keys .cmp-t [data-col] > * { transition: none; }
}

/* critic P1-7: a merged "same on both" cell is centred across both columns; the chip is gone
   (desktop only: on phones the column picker shows one column, so the merged cell keeps its "Same on both" note) */
@media (min-width:760px){
.cmp-t td.cmp-same{text-align:center}
.cmp-t .cmp-same-note{display:none}
.cmp-t td.cmp-same > .cmp-g{vertical-align:-.2em}
}

