/* mixingintern.com — one stylesheet for every page. Colours are tokens on :root, redefined
   for dark mode; the status colours follow the app's four answers (see build.mjs). */

:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef0f7;
  --ink: #0d0f1a;
  --ink-2: #474c61;
  --muted: #6e7389;
  --line: #e1e4ee;
  --line-strong: #c9cddc;
  --accent: #4338ca;
  --accent-ink: #ffffff;
  --accent-soft: #e8e7fd;
  --cyan: #0891b2;
  --shadow: 0 1px 2px rgba(13, 15, 26, 0.05), 0 8px 24px rgba(13, 15, 26, 0.06);

  /* Status: tested · untested · planned · not available. Text steps clear 4.5:1 on --surface. */
  --st-supported: #0ca30c;
  --st-supported-ink: #066b06;
  --st-supported-bg: #e3f6e3;
  --st-unverified: #e9a100;
  --st-unverified-ink: #7a5000;
  --st-unverified-bg: #fdf1d4;
  --st-planned: #2a78d6;
  --st-planned-ink: #1c5cab;
  --st-planned-bg: #e1ecfb;
  --st-unavailable: #a3a6b4;
  --st-unavailable-ink: #5c6072;
  --st-unavailable-bg: #eef0f5;

  --radius: 14px;
  --nav-h: 60px;
  --font: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a0b16;
    --surface: #12142a;
    --surface-2: #1a1d38;
    --ink: #eef0fb;
    --ink-2: #b6bad3;
    --muted: #8a8fab;
    --line: #252945;
    --line-strong: #363b60;
    --accent: #8f88ff;
    --accent-ink: #0a0b16;
    --accent-soft: #24225a;
    --cyan: #22d3ee;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
    --st-supported: #19b319;
    --st-supported-ink: #5fdc5f;
    --st-supported-bg: #12301a;
    --st-unverified: #fab219;
    --st-unverified-ink: #ffc94d;
    --st-unverified-bg: #33280c;
    --st-planned: #3987e5;
    --st-planned-ink: #7cb2f0;
    --st-planned-bg: #142645;
    --st-unavailable: #5d6180;
    --st-unavailable-ink: #9a9eb8;
    --st-unavailable-bg: #1c1f37;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0b16;
  --surface: #12142a;
  --surface-2: #1a1d38;
  --ink: #eef0fb;
  --ink-2: #b6bad3;
  --muted: #8a8fab;
  --line: #252945;
  --line-strong: #363b60;
  --accent: #8f88ff;
  --accent-ink: #0a0b16;
  --accent-soft: #24225a;
  --cyan: #22d3ee;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
  --st-supported: #19b319;
  --st-supported-ink: #5fdc5f;
  --st-supported-bg: #12301a;
  --st-unverified: #fab219;
  --st-unverified-ink: #ffc94d;
  --st-unverified-bg: #33280c;
  --st-planned: #3987e5;
  --st-planned-ink: #7cb2f0;
  --st-planned-bg: #142645;
  --st-unavailable: #5d6180;
  --st-unavailable-ink: #9a9eb8;
  --st-unavailable-bg: #1c1f37;
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 680; letter-spacing: -0.01em; }
p { margin: 0; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.88em; background: var(--surface-2); padding: 0.1em 0.35em; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 20;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 720; letter-spacing: -0.01em; font-size: 1.05rem; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 0.94rem; padding: 6px 10px; border-radius: 8px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.nav-links a.nav-cta { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.nav-links a.nav-cta:hover { background: var(--accent); filter: brightness(1.08); }
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 640; font-size: 1rem; text-decoration: none;
  border: 1px solid transparent; transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: #1e1b6b; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(236, 72, 153, 0.35), transparent 60%),
    radial-gradient(800px 600px at 10% 110%, rgba(34, 211, 238, 0.35), transparent 60%),
    linear-gradient(160deg, #1b1670 0%, #2a23b8 45%, #1d4fd8 100%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 40px; padding-top: 64px; padding-bottom: 72px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; padding-top: 88px; padding-bottom: 96px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; margin: 14px 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #67e8f9, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgba(255, 255, 255, 0.86); max-width: 38em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero .chips span { font-size: 0.82rem; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18); }

/* The running-order mock in the hero. */
.mock {
  background: rgba(10, 11, 30, 0.55); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px; padding: 16px; box-shadow: 0 30px 80px rgba(5, 5, 30, 0.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 0.88rem; max-width: 520px; width: 100%; justify-self: center;
}
.mock-top { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px; color: rgba(255, 255, 255, 0.7); font-size: 0.78rem; }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.mock-top b { margin-left: auto; font-weight: 600; color: #fff; }
.mock-body { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 440px) { .mock-body { grid-template-columns: 1.25fr 1fr; } }
.order { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.order li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.82); }
.order li small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 0.74rem; }
.order li.live { background: linear-gradient(90deg, rgba(34, 211, 238, 0.28), rgba(139, 92, 246, 0.22)); color: #fff; outline: 1px solid rgba(103, 232, 249, 0.5); }
.order li .tag { margin-left: auto; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 999px; background: #22d3ee; color: #062a33; }
.order li.sub { margin-left: 14px; }
.strips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); align-items: end; }
.strip { display: grid; gap: 6px; justify-items: center; color: rgba(255, 255, 255, 0.6); font-size: 0.66rem; }
.meter { width: 8px; height: 120px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.meter::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--lvl, 60%);
  background: linear-gradient(to top, #22c55e 0%, #a3e635 55%, #facc15 80%, #fb923c 100%);
  border-radius: 4px; animation: meter 1.8s ease-in-out infinite alternate; animation-delay: var(--d, 0s);
}
@keyframes meter { from { transform: translateY(18%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .meter::after { animation: none; } .btn:hover { transform: none; } }

/* ---------- Sections ---------- */

section { padding: 72px 0; }
@media (min-width: 720px) { section { padding: 96px 0; } }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head .kicker { color: var(--accent); font-weight: 680; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 1.08rem; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* How it works */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.alt .step { background: var(--bg); box-shadow: none; }
.step .n { counter-increment: step; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 750; margin-bottom: 14px; }
.step .n::before { content: counter(step); }
.step p { color: var(--ink-2); margin-top: 8px; font-size: 0.98rem; }

/* Features */
.themes { display: grid; gap: 18px; }
@media (min-width: 760px) { .themes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .themes { grid-template-columns: repeat(3, 1fr); } }
.theme { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.theme .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; background: linear-gradient(135deg, #4f46e5, #06b6d4); }
.theme .ic svg { width: 22px; height: 22px; }
.theme > p { color: var(--ink-2); margin-top: 8px; font-size: 0.98rem; }
.theme ul { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.theme li { font-size: 0.93rem; color: var(--ink-2); padding-left: 18px; position: relative; }
.theme li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 2px; background: var(--cyan); }
.theme li b { color: var(--ink); font-weight: 640; }

/* Console cards */
.consoles { display: grid; gap: 16px; }
@media (min-width: 760px) { .consoles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .consoles { grid-template-columns: repeat(3, 1fr); } }
.console { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
a.console:hover { border-color: var(--accent); transform: translateY(-2px); }
.alt .console { background: var(--bg); box-shadow: none; }
.console .top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.console .maker { color: var(--muted); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.console h3 { font-size: 1.3rem; }
.console .verdict { margin-left: auto; font-size: 0.78rem; font-weight: 650; padding: 3px 9px; border-radius: 999px; }
.console > p { color: var(--ink-2); font-size: 0.93rem; }
.console .facts { color: var(--muted); font-size: 0.84rem; }
.console .more { margin-top: auto; font-weight: 620; font-size: 0.92rem; color: var(--accent); }

/* Summary bar: one segment per status, sized by how many capabilities have it. */
.bar { display: flex; gap: 2px; height: 10px; }
.bar span { min-width: 4px; height: 100%; }
.bar span:first-child { border-radius: 4px 0 0 4px; }
.bar span:last-child { border-radius: 0 4px 4px 0; }
.bar span:only-child { border-radius: 4px; }
.bar-key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.82rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bar-key li { display: inline-flex; align-items: center; gap: 6px; }
.bar-key i { width: 9px; height: 9px; border-radius: 3px; }
.f-supported { background: var(--st-supported); }
.f-unverified { background: var(--st-unverified); }
.f-planned { background: var(--st-planned); }
.f-unavailable { background: var(--st-unavailable); }

/* Integrations */
.int-groups { display: grid; gap: 18px; }
@media (min-width: 760px) { .int-groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .int-groups { grid-template-columns: repeat(3, 1fr); } }
.int-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.alt .int-group { background: var(--bg); }
.int-group h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
.int-group dl { margin: 0; display: grid; gap: 14px; }
.int-group dt { font-weight: 660; }
.int-group dd { margin: 2px 0 0; color: var(--ink-2); font-size: 0.93rem; }
.int-group dd .needs { display: block; margin-top: 4px; color: var(--muted); font-size: 0.82rem; }

/* Safety list */
.promises { display: grid; gap: 14px; }
@media (min-width: 820px) { .promises { grid-template-columns: repeat(2, 1fr); } }
.promise { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.alt .promise { background: var(--bg); }
.promise svg { flex: none; width: 22px; height: 22px; color: var(--st-supported); margin-top: 2px; }
.promise p { color: var(--ink-2); font-size: 0.95rem; margin-top: 4px; }

/* Closing band */
.closer { text-align: center; }
.closer .box { border-radius: 24px; padding: 48px 20px; color: #fff; background: linear-gradient(135deg, #2a23b8, #1d4fd8 60%, #0891b2); }
.closer h2 { color: #fff; }
.closer p { color: rgba(255, 255, 255, 0.85); max-width: 36em; margin: 14px auto 26px; }

/* ---------- Status chips ---------- */

.st { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 640; white-space: nowrap; padding: 3px 9px 3px 6px; border-radius: 999px; }
.st svg { width: 15px; height: 15px; flex: none; }
.st-supported { color: var(--st-supported-ink); background: var(--st-supported-bg); }
.st-unverified { color: var(--st-unverified-ink); background: var(--st-unverified-bg); }
.st-planned { color: var(--st-planned-ink); background: var(--st-planned-bg); }
.st-unavailable { color: var(--st-unavailable-ink); background: var(--st-unavailable-bg); }

/* ---------- Compatibility page ---------- */

.page-head { padding: 56px 0 24px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.page-head p { color: var(--ink-2); margin-top: 14px; font-size: 1.08rem; max-width: 44em; }
.legend { display: grid; gap: 10px; margin: 28px 0 8px; }
@media (min-width: 760px) { .legend { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .legend { grid-template-columns: repeat(4, 1fr); } }
.legend div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.legend p { color: var(--ink-2); font-size: 0.88rem; margin-top: 8px; }

.summary { display: grid; gap: 12px; margin: 28px 0 0; }
@media (min-width: 760px) { .summary { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .summary { grid-template-columns: repeat(5, 1fr); } }
.summary a { display: grid; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.summary a:hover { border-color: var(--accent); }
.summary b { font-size: 1rem; }

.filter { position: sticky; top: var(--nav-h); z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 12px 0; margin-top: 32px; border-bottom: 1px solid var(--line); }
.filter .wrap { display: flex; align-items: center; gap: 10px; }
.filter .label { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.seg-ctl { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 3px; border-radius: 12px; background: var(--surface-2); }
.seg-ctl::-webkit-scrollbar { display: none; }
.seg-ctl button { font: inherit; font-size: 0.88rem; font-weight: 600; border: 0; background: transparent; color: var(--ink-2); padding: 6px 12px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.seg-ctl button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

.matrix { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 8px; }
.matrix thead th { position: sticky; top: calc(var(--nav-h) + 61px); z-index: 5; background: var(--bg); font-size: 0.85rem; font-weight: 680; padding: 12px 6px; border-bottom: 1px solid var(--line-strong); text-align: center; }
.matrix thead th:first-child { text-align: left; padding-left: 0; }
.matrix tbody th[scope="rowgroup"] { text-align: left; padding: 32px 0 10px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); border-bottom: 1px solid var(--line); }
.matrix tbody tr.cap > * { border-bottom: 1px solid var(--line); vertical-align: middle; }
.matrix tbody tr.cap th { text-align: left; font-weight: 600; padding: 12px 10px 12px 0; }
.matrix tbody tr.cap td { text-align: center; padding: 10px 4px; width: 118px; }
.matrix .used { display: block; font-weight: 400; color: var(--muted); font-size: 0.84rem; margin-top: 2px; line-height: 1.4; }
.matrix .why { font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 4px 0 0; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.matrix .why svg { width: 12px; height: 12px; transition: transform 0.15s ease; }
.matrix .why[aria-expanded="true"] svg { transform: rotate(90deg); }
.matrix tr.cap.has-notes { cursor: pointer; }
.matrix tr.notes td { padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
.js .matrix tr.notes:not(.open) { display: none; }
.notes ul { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.notes li { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; font-size: 0.92rem; color: var(--ink-2); }
.notes li .who { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.notes li .who b { color: var(--ink); min-width: 4.5em; }
.notes li p { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .notes li { grid-template-columns: 210px 1fr; }
  .notes li p { grid-column: auto; }
}
/* One console shown: its status is already in the row, so the note is just the reason. */
.matrix[data-only]:not([data-only=""]) .notes .who { display: none; }
.matrix[data-only]:not([data-only=""]) .notes li { display: block; }
.matrix[data-only]:not([data-only=""]) tr.cap td { width: 140px; }

/* Narrow screens: icon-only cells in the full matrix; a single console gets its words back. */
@media (max-width: 700px) {
  .matrix tbody tr.cap td { width: 44px; padding: 10px 2px; }
  .matrix thead th { font-size: 0.7rem; padding: 10px 2px; letter-spacing: -0.01em; }
  .matrix[data-only=""] tr.cap td .st .t, .matrix:not([data-only]) tr.cap td .st .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matrix[data-only=""] tr.cap td .st, .matrix:not([data-only]) tr.cap td .st { padding: 5px; }
  .matrix[data-only=""] .used, .matrix:not([data-only]) .used { display: none; }
  .matrix tbody tr.cap th { font-size: 0.92rem; }
}

.int-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.int-table th, .int-table td { padding: 12px 6px; border-bottom: 1px solid var(--line); text-align: center; font-size: 0.92rem; }
.int-table th:first-child, .int-table td:first-child { text-align: left; padding-left: 0; }
.int-table thead th { font-size: 0.85rem; border-bottom-color: var(--line-strong); }
.int-table .needs { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 400; }
.int-table .yes { color: var(--st-supported-ink); }
.int-table .no { color: var(--st-unavailable-ink); }
.int-table svg { width: 18px; height: 18px; margin: 0 auto; }
@media (max-width: 700px) { .int-table thead th { font-size: 0.7rem; } .int-table th, .int-table td { padding: 10px 2px; } }

.by-console { display: grid; gap: 18px; }
.by-console article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.by-console article > p { color: var(--ink-2); font-size: 0.95rem; margin-top: 6px; }
.by-console ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.by-console li { display: grid; gap: 4px; font-size: 0.93rem; color: var(--ink-2); }
.by-console li .who { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.by-console li .who b { color: var(--ink); }

/* ---------- Footer ---------- */

footer { padding: 40px 0 56px; color: var(--muted); font-size: 0.88rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer .brand { font-size: 0.95rem; }
footer .brand img { width: 24px; height: 24px; border-radius: 6px; }
footer nav { display: flex; gap: 16px; margin-left: auto; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); }
footer .stamp { flex-basis: 100%; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound p { color: var(--ink-2); margin: 12px 0 24px; }
