/* Fonts: Ubuntu (Ubuntu Font Licence) and Raleway (SIL OFL), self-hosted - see fonts/ */
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/raleway-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/raleway-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/ubuntu-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(fonts/ubuntu-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/ubuntu-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/ubuntu-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Theme follows timestamping.skidsolutions.eu: navy/blue, slate buttons, Ubuntu + Raleway */
:root {
  --bg: #ffffff;
  --bg2: #f5f7f9;
  --bg3: #edf2f8;  /* soft blue tint for the endpoints section */
  --card: #ffffff;
  --ink: #444444;
  --ink2: #5f6b73;
  --line: #e1e6ea;
  --accent: #2f6fb0;
  --accent-ink: #ffffff;
  --accent-soft: #e4eef8;
  --btn: #3a5f6f;
  --btn-hover: #2e4c59;
  --btn-ink: #ffffff;
  --hero: linear-gradient(115deg, #0b2346 0%, #1d4e8a 55%, #2f69a8 100%);
  --footer-bg: #0b2346;
  --footer-ink: #b9c7d8;
  --footer-line: #24426b;
  --ok: #157f4a;
  --ok-soft: #e2f4ea;
  --bad: #b42323;
  --bad-soft: #fbe6e6;
  --info: #6a5acd;
  --warn: #8a5300;
  --warn-soft: #fdf3e1;
  --c-ecc: #2f6fb0;
  --c-rsa: #3a5f6f;
  --c-pqc: #c8300d;  /* SK orange, deepened for text contrast */
  --sk-orange: #ff3c12;
  --feature-bg: linear-gradient(120deg, #0b2346 0%, #1d4e8a 100%);  /* post-quantum spotlight */
  --feature-row: #0b2346;
  --sans: Raleway, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Ubuntu, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 6px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1628; --bg2: #0e1e35; --bg3: #0d1d33; --card: #12263f; --ink: #e4ebf3; --ink2: #a3b3c5;
    --line: #22405f; --accent: #6fa8e8; --accent-ink: #06101f; --accent-soft: #16304f;
    --btn: #3f6878; --btn-hover: #4a7486; --btn-ink: #ffffff;
    --hero: linear-gradient(115deg, #06142a 0%, #123a6b 55%, #1f5591 100%);
    --footer-bg: #06101f; --footer-ink: #9fb0c4; --footer-line: #1c3554;
    --ok: #4cc98a; --ok-soft: #12301f; --bad: #ff7b7b; --bad-soft: #3a1717; --info: #a99bff;
    --warn: #f3c272; --warn-soft: #33260f;
    --c-ecc: #6fa8e8; --c-rsa: #8bb7c7; --c-pqc: #ff7b57;
    --feature-bg: linear-gradient(120deg, #17407a 0%, #1d4e8a 100%); --feature-row: #17407a;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--sans);
  font-variant-numeric: lining-nums;  /* Raleway defaults to old-style figures */
}
a { color: var(--accent); }
code, .mono { font-family: var(--mono); font-size: .92em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4, h5 { font-family: var(--display); font-weight: 500; line-height: 1.2; margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.1rem; }
.sub { color: var(--ink2); margin: 0 0 24px; max-width: 760px; }
.muted { color: var(--ink2); }
section { padding: 64px 0; }
.band { background: var(--bg2); border-block: 1px solid var(--line); }
.tint { background: var(--bg3); border-bottom: 1px solid var(--line); }
.hero { background: var(--hero); }
.hero h2 { color: #fff; }
.hero .sub { color: #e8eff7; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
@media (max-width: 820px) { .grid2 { grid-template-columns: 1fr; } }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.05rem; white-space: nowrap; }
.brand img { display: block; height: 30px; width: auto; }
.brand .title { font-family: var(--display); font-weight: 500; padding-left: 12px; border-left: 1px solid var(--line); line-height: 30px; }
@media (max-width: 480px) { .brand img { height: 22px; } .brand .title { font-size: .9rem; padding-left: 10px; line-height: 22px; } }
nav { display: flex; gap: 18px; overflow-x: auto; }
nav a { color: var(--ink2); text-decoration: none; font-size: .93rem; white-space: nowrap; }
nav a:hover { color: var(--accent); }
@media (max-width: 640px) { nav a:not(:last-child) { display: none; } }
@media (max-width: 480px) { nav { display: none; } }


/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.btn.primary:hover:not(:disabled) { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn.primary:disabled { opacity: .6; cursor: wait; }
.btn.small { padding: 6px 12px; font-size: .88rem; }

/* flow diagram */
.flow { padding: 16px; }
.flow-svg { width: 100%; height: auto; display: block; color: var(--ink2); }
#flow-m { display: none; }
@media (max-width: 640px) { #flow { display: none; } #flow-m { display: block; } }
.lane { fill: var(--bg2); stroke: var(--line); }
.lane.tsa { fill: var(--accent-soft); }
.lane-l { font-size: 12px; font-weight: 700; letter-spacing: .06em; fill: var(--ink2); }
.node text { font-size: 14px; fill: var(--ink); }
.node text.small { font-size: 11px; fill: var(--ink2); }
.node text.b { font-weight: 700; }
.node line { stroke: var(--line); stroke-width: 3; stroke-linecap: round; }
.nb { fill: var(--card); stroke: var(--line); stroke-width: 2; transition: stroke .3s, fill .3s; }
.clock { fill: none; stroke: var(--ink2); stroke-width: 2.5; }
.hand { fill: none; stroke: var(--ink2); stroke-width: 2.5; stroke-linecap: round; transform-box: fill-box; transform-origin: 0 8px; }
.seal { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.tick { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.edge { fill: none; stroke: var(--line); stroke-width: 2.5; stroke-dasharray: 6 6; color: var(--line); transition: stroke .3s; }
.edge-l { font-size: 12px; fill: var(--ink2); opacity: .35; transition: opacity .3s; }
.node { opacity: .45; transition: opacity .3s; }
.node.on { opacity: 1; }
.node.cur .nb { stroke: var(--accent); stroke-width: 3; }
.edge.on { stroke: var(--accent); color: var(--accent); }
.edge-l.on { opacity: 1; }
.packet { fill: var(--accent); opacity: 0; }
/* TSA internals: TSA service (TSU + HSM) and the static supporting PKI */
.grp { stroke-width: 1.5; stroke-dasharray: 5 4; }
.grp.svc { fill: color-mix(in srgb, var(--accent) 7%, var(--card)); stroke: color-mix(in srgb, var(--accent) 55%, var(--card)); }
.grp.pki { fill: var(--bg2); stroke: color-mix(in srgb, var(--ink2) 45%, var(--card)); }
.grp-l { font-size: 11px; font-weight: 700; letter-spacing: .07em; fill: var(--ink2); }
.pki-note { font-size: 12px; fill: var(--ink2); }
.node text.t { font-family: var(--display); font-weight: 500; }
.node text.s { font-size: 11.5px; fill: var(--ink2); }
.ico { fill: none; stroke: var(--ink2); stroke-width: 1.6; }
.ico-fill { fill: var(--card); stroke: var(--ink2); stroke-width: 1.6; }
.node.cur .ico, .node.cur .clock, .node.cur .hand { stroke: var(--accent); }
.badge { fill: #ff3c12; }
.badge-i { fill: none; stroke: #fff; stroke-width: 1.6; }
.key { fill: none; stroke: #c98a00; stroke-width: 2.2; stroke-linecap: round; }
.edge-l.small { font-size: 10.5px; }
.link { fill: none; stroke-width: 1.6; stroke-dasharray: 2 4; stroke: color-mix(in srgb, var(--ink2) 60%, var(--card)); color: color-mix(in srgb, var(--ink2) 60%, var(--card)); }
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.step { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 14px 6px 6px; font: inherit; font-size: .92rem; cursor: pointer; }
.step b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg2); margin-right: 6px; font-size: .8rem; }
.step.on { border-color: var(--accent); }
.step.on b { background: var(--accent); color: var(--accent-ink); }
#play { margin-left: auto; }
.step-text { min-height: 3.2em; margin: 14px 4px 0; color: var(--ink2); }

/* inputs */
textarea, input[type=text], input:not([type]), select {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px var(--radius);
}
textarea:focus, input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
select { width: auto; }

/* form */
.form { display: grid; gap: 16px; }
.seg { display: inline-flex; background: var(--bg2); border-radius: var(--radius); padding: 4px; justify-self: start; }
.seg button { border: 0; background: none; padding: 6px 16px; border-radius: 4px; font: inherit; color: var(--ink2); cursor: pointer; }
.seg button.on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgb(0 0 0 / .1); }
.drop { display: block; border: 2px dashed var(--line); border-radius: var(--radius); padding: 26px; text-align: center; color: var(--ink2); cursor: pointer; }
.drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop input { display: none; }
.row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.row label { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.row.end { justify-content: space-between; }
.eps { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 10px; }
.ep-group { grid-row: 1; grid-column: 1 / 3; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); margin-bottom: -4px; }
.ep-group.pq { grid-column: 3; color: var(--c-pqc); }
.eps .ep { grid-row: 2; }
.eps legend { font-size: .9rem; color: var(--ink2); margin-bottom: 8px; padding: 0; }
@media (max-width: 640px) { .eps { grid-template-columns: 1fr; } .ep-group, .ep-group.pq, .eps .ep { grid-row: auto; grid-column: auto; } .ep-group.pq { margin-top: 8px; } }
.ep { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; cursor: pointer; }
.ep:has(input:checked) { border-color: var(--epc); background: color-mix(in srgb, var(--epc) 8%, var(--card)); }
.ep input { margin-top: 4px; accent-color: var(--epc); }
.ep b { display: block; font-family: var(--mono); font-size: .92rem; }
.ep small { color: var(--ink2); }
.imprint { color: var(--ink2); font-size: .8rem; word-break: break-all; flex: 1; min-width: 200px; }

/* results */
.results { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.res { border: 1px solid var(--epc); border-radius: var(--radius); background: color-mix(in srgb, var(--epc) 8%, var(--card)); padding: 16px; cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.res { flex: 1 1 220px; }
.res.pqc { flex: 1.35 1 297px; }  /* 1.35 x a classical card, like the endpoint picker */
.res.sel { background: color-mix(in srgb, var(--epc) 12%, var(--card)); }
.res h4 { margin: 0; font-family: var(--mono); font-size: .95rem; display: flex; justify-content: space-between; gap: 8px; }
.res .alg { color: var(--epc); font-weight: 700; font-size: .85rem; }
.res .time { font-size: 1.05rem; font-weight: 600; margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.res .meta { color: var(--ink2); font-size: .84rem; }
.verdict { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-top: 10px; }
.verdict.ok { background: var(--ok-soft); color: var(--ok); }
.verdict.bad { background: var(--bad-soft); color: var(--bad); }
.verdict.wait { background: var(--bg2); color: var(--ink2); }
.spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* compare */
.compare { margin-top: 16px; }
.bars { display: grid; grid-template-columns: 90px 1fr; gap: 6px 12px; align-items: center; font-size: .85rem; }
.bars .lbl { font-family: var(--mono); color: var(--ink2); }
.bar { display: flex; height: 22px; border-radius: 3px; overflow: hidden; background: var(--bg2); }
.bar i { display: block; height: 100%; }
.bar i.sig { background: var(--epc); }
.bar i.cert { background: color-mix(in srgb, var(--epc) 45%, var(--card)); }
.bar i.rest { background: color-mix(in srgb, var(--epc) 18%, var(--card)); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--ink2); margin: 10px 0 14px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; background: var(--ink2); vertical-align: -1px; }
.legend .l1::before { opacity: 1; } .legend .l2::before { opacity: .45; } .legend .l3::before { opacity: .18; }

/* inspector */
.inspector { margin-top: 16px; padding: 0; overflow: hidden; }
.ins-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.ins-head h3 { margin: 0; }
.tabs { display: flex; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { border: 0; background: none; font: inherit; padding: 12px 14px; color: var(--ink2); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.pane { padding: 20px; }
.kv { display: grid; grid-template-columns: minmax(130px, 220px) 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--ink2); font-size: .9rem; }
.kv dd { margin: 0; word-break: break-word; }
.kv dd.mono { word-break: break-all; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: 8px; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.checks .ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.checks .ok .ic { background: var(--ok-soft); color: var(--ok); }
.checks .bad .ic { background: var(--bad-soft); color: var(--bad); }
.checks .info .ic { background: var(--accent-soft); color: var(--accent); }
.checks .d { grid-column: 2; color: var(--ink2); font-size: .82rem; font-family: var(--mono); white-space: pre-wrap; word-break: break-all; }
.sect { margin: 22px 0 10px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); font-weight: 700; }
.sect:first-child { margin-top: 0; }

.chain { display: grid; gap: 0; }
.chain .lk { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.chain .lk.leaf { border-color: var(--accent); }
.chain .arrow { text-align: center; color: var(--ink2); font-size: .82rem; padding: 6px 0; }
.chain .arrow b.ok { color: var(--ok); } .chain .arrow b.bad { color: var(--bad); }
.chain h5 { margin: 0 0 6px; font-size: 1rem; }
details.ext { border-top: 1px solid var(--line); padding: 8px 0; }
details.ext summary { cursor: pointer; font-size: .92rem; }
details.ext pre { margin: 6px 0 0; white-space: pre-wrap; font-size: .82rem; color: var(--ink2); }

.tamper { display: grid; gap: 8px; margin-top: 8px; }
.tamper .out { font-weight: 600; }

/* asn.1 tree */
.asn { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 860px) { .asn { grid-template-columns: 1fr; } }
.tree { font-family: var(--mono); font-size: .8rem; max-height: 560px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; background: var(--bg); }
.tree details { margin-left: 14px; }
.tree > details { margin-left: 0; }
.tree summary, .tree .leafn { cursor: pointer; padding: 1px 4px; border-radius: 4px; white-space: nowrap; }
.tree .leafn { margin-left: 14px; display: block; overflow: hidden; text-overflow: ellipsis; }
.tree .t { color: var(--accent); font-weight: 600; }
.tree .l { color: var(--ink2); }
.tree .v { color: var(--ink); }
.tree .n { color: var(--c-pqc); font-style: italic; }
.tree .hl { background: var(--accent-soft); }
.hexv { font-family: var(--mono); font-size: .78rem; max-height: 560px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; background: var(--bg); line-height: 1.6; word-break: break-all; }
.hexv .h { background: var(--accent-soft); color: var(--accent); }
.hexv .hh { background: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--ink); }

.code { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; overflow-x: auto; font-size: .82rem; margin: 0; }
.dl { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }

/* endpoints table */
.tablewrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .92rem; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-family: var(--display); font-weight: 500; background: var(--bg2); font-size: .82rem; color: var(--ink2); text-transform: uppercase; letter-spacing: .04em; }
.tbl tr:last-child td { border-bottom: 0; }
/* post-quantum spotlight: featured card, badge and table row */
.ep.pqc, .ep.pqc:has(input:checked), .res.pqc, .res.pqc.sel { background: var(--feature-bg); border-color: var(--sk-orange); color: #fff; }
.res.pqc.sel { box-shadow: inset 0 0 0 1px var(--sk-orange); }
.ep.pqc b, .res.pqc h4, .res.pqc .time { color: #fff; }
.ep.pqc small, .res.pqc .meta { color: #c9d8ea; }
.ep.pqc input { accent-color: var(--sk-orange); }
.ep.pqc .pitch { display: block; margin-top: 6px; font-size: .8rem; color: #ffd2c4; }
.res.pqc .alg { color: #ffb199; }
.qbadge { display: inline-block; white-space: nowrap; font: 700 10px/1 var(--display); letter-spacing: .06em; color: #fff; background: #c8300d; padding: 4px 7px; border-radius: 3px; vertical-align: 2px; }
.qbadge-row { margin: 2px 0 6px; }
.tbl tr.pqc td { background: var(--feature-row); color: #fff; }
.tbl tr.pqc .pill { background: #c8300d; color: #fff; }
.pill { display: inline-block; white-space: nowrap; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 2px 9px; color: var(--epc); background: color-mix(in srgb, var(--epc) 12%, var(--card)); }

footer { padding: 40px 0 48px; background: var(--footer-bg); color: var(--footer-ink); font-size: .88rem; }
footer a, footer code { color: #fff; }
.notice { margin: -8px 0 20px; padding: 10px 14px; border-radius: var(--radius); background: var(--warn-soft); color: var(--warn); font-size: .92rem; max-width: 760px; }
.notice a { color: inherit; }
.disclaimer { border: 1px solid var(--footer-line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 20px; }
.disclaimer h3 { font-size: .95rem; color: #fff; margin-bottom: 6px; }
.disclaimer p { margin: 0; }
.err { color: var(--bad); font-size: .88rem; margin-top: 8px; white-space: pre-wrap; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
