/* Catalog, entry, agent-job, country/topic and 404 pages, plus the shared
   command block. Loads after /styles.css and uses its tokens, so light/dark
   (theme.js) just works. CSP-clean: no inline styles anywhere. */

.skip-link { position: absolute; left: 12px; top: -100px; padding: 12px; z-index: 20; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 13px; }
.skip-link:focus { top: 12px; }
main { flex: 1; min-width: 0; }
main code { font-size: .9em; overflow-wrap: anywhere; }
.table-wrap:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.affiliate-disclosure { margin: 28px 0 14px; font-size: 12px; line-height: 1.6; color: var(--dim); }
footer a { overflow-wrap: anywhere; }

/* Command block: a terminal pane with a copy button. */
.cmd { margin: 18px 0 6px; border: 1px solid var(--term-line); border-radius: 6px; background: var(--term-bg); overflow: hidden; }
.cmd-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; padding: 6px 8px 6px 16px; background: var(--term-bar); border-bottom: 1px solid var(--term-line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--term-muted); text-transform: lowercase; }
.cmd pre { margin: 0; padding: 16px 18px 16px calc(18px + 2ch); color: var(--term-ink); font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; text-indent: -2ch; }
.cmd pre code { font-size: inherit; }
.cmd pre code::before { content: "$ "; color: var(--term-green); font-weight: 700; }
.copy-btn { padding: 5px 11px; border: 1px solid var(--term-line); border-radius: 3px; background: transparent; color: var(--term-ink); font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: lowercase; cursor: pointer; }
.copy-btn:hover { border-color: var(--term-green); color: var(--term-green); }
.copy-btn.done { background: var(--term-green); border-color: var(--term-green); color: #06130b; }
.copy-status { margin: 0; padding: 0 18px; font-family: var(--mono); font-size: 11.5px; color: var(--term-muted); }
.copy-status:not(:empty) { padding-bottom: 12px; }

/* Catalog, jobs, country and topic index pages */
.cat-hero { padding: 60px 0 8px; }
.cat-hero h1 { font-size: clamp(32px, 4.4vw, 56px); }
.cat-hero .description { max-width: 46em; }
.crumbs { margin: 0 0 20px; font-family: var(--mono); font-size: 12.5px; color: var(--dim); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; font-family: var(--mono); }
.jump a { padding: 6px 10px; border: 1px solid var(--card-border); border-radius: 3px; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.jump a:hover { border-color: var(--accent); color: var(--ink); }
.jump span { margin-left: 4px; color: var(--accent); font-weight: 700; }

/* Filters: a toolbar that sticks while you scroll the listing. */
.filters { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 30px -14px 0; padding: 12px 14px; border: 1px solid var(--card-border); border-radius: 6px; background: var(--card); font-family: var(--mono); }
.filters[hidden] { display: none; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--card-border); border-radius: 4px; overflow: hidden; }
.seg button { padding: 8px 12px; border: 0; border-left: 1px solid var(--card-border); background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; text-transform: lowercase; cursor: pointer; }
.seg button:first-child { border-left: 0; }
.seg button:hover { color: var(--ink); background: var(--hover-wash); }
.seg button span { margin-left: 4px; color: var(--dim); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.seg button[aria-pressed="true"] span { color: var(--on-accent); }
.seg button:focus-visible { outline-offset: -2px; }
.sel { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); text-transform: lowercase; }
.sel select, .sel input { min-width: 0; max-width: 100%; padding: 8px 10px; border: 1px solid var(--card-border); border-radius: 4px; background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; }
.sel.search { flex: 1 1 240px; }
.sel.search::before { content: "$ grep -i"; color: var(--accent); white-space: nowrap; }
.sel.search .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sel.search input { flex: 1; }
.filter-status { flex-basis: 100%; margin: 0; font-size: 12px; color: var(--muted); }
.filter-status:empty { display: none; }
.filter-empty { margin: 40px 0; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.filter-empty::before { content: "grep: "; color: var(--warn); }

/* Groups and their listings */
.catalog-page .group { margin-top: 52px; scroll-margin-top: 132px; }
.group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.group-num { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.catalog-page .group-head h2 { font-size: clamp(19px, 2.2vw, 24px); }
.group-desc { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.pcards { margin: 0; padding: 0; list-style: none; border: 1px solid var(--card-border); border-radius: 6px; background: var(--card); overflow: hidden; }
.pcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: center; padding: 12px 18px; border-left: 2px solid transparent; min-width: 0; }
.pcard + .pcard { border-top: 1px solid var(--hairline); }
.pcard:hover, .pcard:focus-within { background: var(--hover-wash); border-left-color: var(--accent); }
.pcard[hidden], .group[hidden] { display: none; }
.pcard h2, .pcard h3 { grid-column: 1; margin: 0; font-family: var(--sans); font-size: 15px; font-weight: 650; letter-spacing: 0; line-height: 1.4; }
.pcard h2 a, .pcard h3 a { text-decoration: none; }
.pcard h2 a:hover, .pcard h3 a:hover { color: var(--accent); }
.pcard > p { grid-column: 1; margin: 2px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard .pmeta { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: 21ch 10ch 17ch; align-items: center; gap: 12px; margin: 0; font-family: var(--mono); font-size: 12px; white-space: nowrap; overflow: visible; }
.pmeta .badge, .pmeta .price { grid-column: 1; text-decoration: none; }
.pmeta .badge.on, .pmeta .price { color: var(--money); font-weight: 600; }
.pmeta .badge.apify, .pmeta .apify-link { grid-column: 2; color: var(--muted); text-decoration: none; }
.pmeta .badge:hover, .pmeta .apify-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pmeta .where { grid-column: 3; color: var(--dim); overflow: hidden; text-overflow: ellipsis; }
/* Compact rows: one line per source, for scanning and sorting. */
.catalog-page.compact .pcard { padding-top: 7px; padding-bottom: 7px; }
.catalog-page.compact .pcard > p:not(.pmeta) { display: none; }
/* Agent jobs: two products, so they get panels, not rows. */
.pcards.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; border: 0; background: none; overflow: visible; }
.pcards.jobs .pcard { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 24px; border: 1px solid var(--card-border); border-radius: 6px; background: var(--card); }
.pcards.jobs .pcard:hover, .pcards.jobs .pcard:focus-within { border-color: var(--accent); }
.pcards.jobs .pcard h2 { font-family: var(--mono); font-size: 20px; letter-spacing: -.03em; }
.pcards.jobs .pcard > p { font-size: 15px; line-height: 1.65; white-space: normal; }
.pcards.jobs .pmeta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 8px; font-size: 13px; }
.agents-mini { margin: 56px 0 24px; padding-top: 18px; border-top: 1px solid var(--hairline); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.agents-mini a { color: var(--accent); text-decoration: none; }
.agents-mini a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Coverage matrix: countries down, catalog groups across. Each cell is the
   number of sources, tinted by how many, and a link to them. */
.catalog-page .coverage { padding: 30px 0 0; }
.matrix-wrap { margin: 30px 0 0; background: var(--card); }
.catalog-page .matrix-wrap { margin-top: 0; }
table.matrix { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; font-family: var(--mono); font-size: 12.5px; }
.matrix th, .matrix td { padding: 0; border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); text-align: center; }
.matrix thead th { border-top: 0; vertical-align: bottom; font-weight: 500; color: var(--muted); }
.matrix th:first-child { position: sticky; left: 0; z-index: 1; width: 210px; border-left: 0; background: var(--card); text-align: left; }
.matrix .m-corner { padding: 12px 16px; font-size: 11px; letter-spacing: .04em; color: var(--dim); }
.matrix thead a, .matrix thead .m-total { text-decoration: none; }
.matrix thead a { display: block; padding: 14px 0 12px; }
.matrix thead th.m-total { padding: 14px 0 12px; }
.matrix thead span { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-size: 11.5px; }
.matrix thead a:hover { color: var(--accent); }
.matrix tbody th { font-family: var(--sans); font-size: 14px; font-weight: 600; }
.matrix tbody th a { display: block; padding: 8px 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
.matrix tbody tr:hover th, .matrix tbody th a:hover { color: var(--accent); }
.matrix td a { display: block; padding: 8px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.matrix td a:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.matrix a:focus-visible { outline-offset: -2px; }
.matrix td:empty { padding: 8px 0; }
.matrix td:empty::before { content: "\00B7"; color: var(--dim); }
.matrix td.n1 { background: var(--heat-1); }
.matrix td.n2 { background: var(--heat-2); }
.matrix td.n3 { background: var(--heat-3); }
.matrix td.n4 { background: var(--heat-4); }
.matrix .m-total { width: 8ch; color: var(--muted); }
.matrix td.m-total { padding: 8px 0; }
.matrix .m-global th, .matrix .m-global td { border-top-color: var(--card-border); }
.matrix .m-global th { font-weight: 500; color: var(--muted); }

/* Entry / job page */
.doc { max-width: 54rem; width: 100%; padding: 36px 0 40px; }
.doc .crumbs, .doc .eyebrow, .doc .agents-mini p { font-size: 12.5px; }
.doc .crumbs a { color: var(--muted); }
.doc .crumbs a:hover { color: var(--accent); }
.doc .eyebrow { margin-bottom: 12px; overflow-wrap: anywhere; }
.doc h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -.045em; }
.doc .lede { margin: 16px 0 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.doc .source-note { color: var(--ink); }
.doc h2 { margin: 56px 0 14px; padding-top: 22px; border-top: 1px solid var(--hairline); font-size: clamp(19px, 2.4vw, 23px); line-height: 1.25; letter-spacing: -.03em; scroll-margin-top: 16px; }
.doc h2::before { content: "## "; color: var(--dim); font-weight: 500; }
.doc h3 { margin: 24px 0 8px; font-size: 15.5px; }
.doc p, .doc li { font-size: 15.5px; line-height: 1.7; }
.doc p { margin: 12px 0; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li::marker { color: var(--dim); }
.doc a { color: var(--accent); text-underline-offset: 3px; }
.doc a:hover { color: var(--accent-strong); }
.doc .button { color: var(--on-accent); }
.doc .button.secondary { color: var(--ink); }
.doc .cta-row { margin-top: 18px; }
.note-small { color: var(--muted); font-size: 13px !important; }
.quote { padding-left: 14px; border-left: 2px solid var(--card-border); color: var(--muted); }

/* Where to buy */
.avail { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 10px; }
.avail-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; border: 1px solid var(--card-border); border-radius: 6px; background: var(--card); min-width: 0; }
.avail-card.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--glow), 0 12px 40px -24px var(--accent); }
.avail-card .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); text-transform: lowercase; }
.avail-card .k::before { content: "\25CF  "; color: var(--dim); }
.avail-card.on .k::before { color: var(--accent); }
.avail-card .v { font-family: var(--mono); font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.avail-card.off .v { color: var(--muted); }
.avail-card .s { font-size: 14px; line-height: 1.55; color: var(--muted); }
.doc .avail-link { margin-top: 6px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; }
.doc .avail-link:hover { text-decoration: underline; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0 !important; list-style: none; font-family: var(--mono); }
.tags li { margin: 0; }
.doc .tag { display: inline-block; padding: 3px 9px; border: 1px solid var(--card-border); border-radius: 3px; font-size: 12px; text-decoration: none; color: var(--muted); }
.doc .tag::before { content: "#"; color: var(--dim); }
.doc .tag.country::before { content: "@"; }
.doc .tag:hover { color: var(--accent); border-color: var(--accent); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 26px 0 4px; border: 1px solid var(--card-border); border-radius: 6px; background: var(--card); overflow: hidden; }
.facts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0 8px; }
.fact { padding: 13px 16px; border-left: 1px solid var(--card-border); min-width: 0; }
.fact:first-child { border-left: 0; }
.fact .k { display: block; margin-bottom: 5px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--dim); text-transform: lowercase; }
.fact .v { font-family: var(--mono); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.fact:first-child .v { color: var(--money); font-weight: 600; }

/* Endpoints on an entry page */
.endpoint { margin: 22px 0 8px; padding: 22px 22px 8px; border: 1px solid var(--card-border); border-radius: 6px; }
.endpoint + .endpoint { margin-top: 28px; }
.endpoint h3 { margin: 0 0 6px; font-size: 17px; overflow-wrap: anywhere; }
.endpoint h3 code { font-size: 1em; color: var(--accent); }
.endpoint h4 { margin: 26px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-transform: lowercase; }
.endpoint h4::before { content: "# "; color: var(--dim); }
.endpoint .eyebrow { margin: 0 0 8px; color: var(--accent); text-transform: none; }
.endpoint .eyebrow::before { content: ""; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--card-border); border-radius: 6px; }
table.fields { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.55; }
table.fields th, table.fields td { padding: 9px 14px; border-top: 1px solid var(--hairline); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
table.fields thead th { border-top: 0; background: var(--card); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--dim); text-transform: lowercase; }
table.fields tbody tr:first-child > * { border-top: 0; }
table.fields thead + tbody tr:first-child > * { border-top: 1px solid var(--card-border); }
table.fields tbody th { font-weight: 500; white-space: nowrap; }
table.fields tbody th code { color: var(--accent); }
table.fields td:nth-child(2) { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
table.fields .req { color: var(--warn); }
table.fields .rules { color: var(--muted); font-size: 12.5px; }
table.kv tbody th { width: 30%; white-space: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }
table.kv td:nth-child(2) { font-family: var(--sans); font-size: 13.5px; color: var(--ink); white-space: normal; }
details.returns { margin: 12px 0; }
details.returns summary { display: inline-block; padding: 7px 12px; border: 1px solid var(--card-border); border-radius: 3px; font-family: var(--mono); font-size: 12px; color: var(--ink); cursor: pointer; list-style: none; }
details.returns summary::-webkit-details-marker { display: none; }
details.returns summary::before { content: "[+] "; color: var(--accent); }
details.returns[open] summary::before { content: "[-] "; }
details.returns summary:hover { border-color: var(--accent); }

/* Charging rules and other callouts */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.callout { padding: 16px 20px 18px; border: 1px solid var(--card-border); border-left: 3px solid var(--accent); border-radius: 6px; background: var(--card); }
.callout h3 { margin-top: 0; font-size: 14px; }
.callout.paid { border-left-color: var(--money); }
.callout.paid h3 { color: var(--money); }
.callout.free { border-left-color: var(--accent); }
.callout.free h3 { color: var(--accent); }
.callout ul { margin: 8px 0 0; }
.callout li { font-size: 14.5px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.paysteps { counter-reset: step; list-style: none; padding-left: 0 !important; }
.paysteps li { position: relative; margin: 0; padding: 10px 0 10px 44px; border-top: 1px solid var(--hairline); }
.paysteps li:first-child { border-top: 0; }
.paysteps li::before { counter-increment: step; content: "0" counter(step); position: absolute; left: 0; top: 11px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent); }

/* Listings inside a document page (recipe sources, related recipes) */
.doc .pcards { padding-left: 0; }
.doc .pcard { grid-template-columns: minmax(0, 1fr); }
.doc .pcard h3 { margin: 0; font-size: 15px; }
.doc .pcard h3 a { color: var(--ink); }
.doc .pcard h3 a:hover { color: var(--accent); }
.doc .pcard > p { margin: 2px 0 0; font-size: 13.5px; line-height: 1.5; }
.doc .pcard .pmeta { grid-column: 1; grid-row: auto; display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: 12px; }
.doc .pmeta a { color: var(--muted); }
.doc .pmeta a.badge.on { color: var(--money); }

/* Recipes */
.cmd.file pre { padding-left: 18px; text-indent: 0; white-space: pre; overflow-x: auto; overflow-wrap: normal; word-break: normal; }
.cmd.file pre code::before, .cmd.ask pre code::before { content: none; }
.cmd.ask pre { padding-left: 18px; text-indent: 0; font-family: var(--sans); font-size: 14.5px; }
.cmd.ask pre code { font-family: var(--sans); }
.brief { margin: 18px 0 8px; border: 1px solid var(--term-line); border-radius: 6px; background: var(--term-bg); color: var(--term-ink); font-family: var(--mono); font-variant-ligatures: none; overflow: hidden; }
.brief-head { padding: 10px 16px; background: var(--term-bar); border-bottom: 1px solid var(--term-line); font-size: 11.5px; letter-spacing: .04em; color: var(--term-muted); }
.brief dl { display: grid; grid-template-columns: 11ch minmax(0, 1fr); gap: 12px 16px; margin: 0; padding: 18px 16px 20px; font-size: 13px; line-height: 1.65; }
.brief dt { color: var(--term-green); font-weight: 700; }
.brief dd { margin: 0; }
.brief .n { color: var(--term-amber); }
.brief .dn { color: var(--term-red); }
.doc .warn { color: var(--warn); font-weight: 600; }
table.fields td.t { font-family: var(--sans); font-size: 13.5px; color: var(--ink); white-space: normal; }
table.fields td.num { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; text-align: right; color: var(--ink); }
table.fields td.price { font-family: var(--mono); color: var(--money); white-space: nowrap; }
table.calls td:nth-child(2), table.calls td:nth-child(3) { white-space: normal; color: var(--ink); }

/* Job sample report */
.flags { list-style: none; padding: 0 !important; }
.flags li { padding: 8px 0; border-bottom: 1px solid var(--hairline); }
.sev { display: inline-block; padding: 1px 7px; border: 1px solid var(--card-border); border-radius: 3px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.sev-high { border-color: var(--warn); color: var(--warn); }
.sev-medium { border-color: var(--money); color: var(--money); }
.cite { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); }
.sources code { color: var(--muted); }

@media (max-width: 980px) {
  .pcard { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .pcard > p { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .pcard .pmeta { grid-column: 1; grid-row: auto; display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; white-space: normal; }
  .avail, .two-col { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts .fact:nth-child(3) { border-left: 0; }
  .facts .fact:nth-child(n+3) { border-top: 1px solid var(--card-border); }
  .facts.three { grid-template-columns: minmax(0, 1fr); }
  .facts.three .fact { border-left: 0; border-top: 1px solid var(--card-border); }
  .facts.three .fact:first-child { border-top: 0; }
  .brief dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .brief dd { margin-bottom: 10px; }
  .filters { position: static; margin-left: 0; margin-right: 0; }
}
@media (max-width: 700px) {
  table.matrix { min-width: 640px; }
  .matrix th:first-child { width: 132px; }
  .matrix .m-corner { padding: 10px; }
  .matrix tbody th { font-size: 13px; }
  .matrix tbody th a { padding: 8px 10px; }
}
@media (max-width: 560px) {
  .cat-hero { padding-top: 40px; }
  .cmd pre { padding: 13px 14px 13px calc(14px + 2ch); font-size: 12px; }
  .endpoint { padding: 16px 14px 4px; }
  /* Field tables become one block per field: no sideways scrolling. */
  table.fields:not(.kv) thead { display: none; }
  table.fields:not(.kv), table.fields:not(.kv) tbody, table.fields:not(.kv) tr, table.fields:not(.kv) th, table.fields:not(.kv) td { display: block; width: 100%; }
  table.fields:not(.kv) tr { border-top: 1px solid var(--card-border); padding: 6px 0; }
  table.fields:not(.kv) tbody tr:first-child { border-top: 0; }
  table.fields:not(.kv) th, table.fields:not(.kv) td { border: 0 !important; padding: 3px 14px; white-space: normal; }
  table.kv tbody th { width: 38%; }
}
