/* Noi's numbers as text (inc/noi-data.php): the dataset page's tables (Noi's «I dati» boxes went, Stefano 2026-11-16).
   White on pink, solid hairlines only (no translucent white, no black on pink). */
.cj-noi-table { max-width: 100%; overflow-x: auto; margin-block: 0.5rem 1rem; }
.cj-noi-table:focus-visible { outline: 2px solid var(--cj-white); outline-offset: 4px; }
.cj-noi-table table { width: 100%; max-width: 44rem; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.35; font-variant-numeric: tabular-nums; color: var(--cj-white); }
.cj-noi-table--wide table { max-width: none; min-width: 40rem; font-size: 0.8125rem; }
.cj-noi-table :is(table, caption, th, td) { border: 0; background: none; }
.cj-noi-table caption { caption-side: top; text-align: left; padding: 0 0 0.6rem; font-weight: 500; }
.cj-noi-table th, .cj-noi-table td { padding: 0.35rem 0.75rem 0.35rem 0; text-align: left; vertical-align: baseline; }
.cj-noi-table thead th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--cj-white); }
.cj-noi-table tbody th { font-weight: 600; }
.cj-noi-table td { white-space: nowrap; }
.cj-noi-table :is(td, th).n { text-align: right; }
.cj-noi-table tbody tr:last-child > * { border-bottom: 1px solid var(--cj-white); }
.cj-noi-table a, .cj-noi-table a:hover { color: var(--cj-white); text-decoration: underline; text-underline-offset: 0.2em; }
.cj-noi-table a:hover { text-decoration-thickness: 2px; }

/* The dataset page (page-noi-dataset.php): a constrained page in the first frame (tokens.css page tokens), then text
   and tables. Minimal graphics by design. */
.cj-ds { width: var(--cj-page); margin-inline: auto; padding-bottom: var(--cj-atl-bottom); color: var(--cj-white); font-family: var(--cj-font); }
.cj-ds__hero { padding: var(--cj-atl-top) 0 var(--cj-atl-bottom); }
.cj-ds__eyebrow { margin: 0 0 var(--cj-atl-gap); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.cj-ds a, .cj-ds a:hover { color: var(--cj-white); text-decoration: underline; text-underline-offset: 0.2em; }
.cj-ds .cj-ds__eyebrow a { text-decoration: none; }
.cj-ds .cj-ds__eyebrow a:hover { text-decoration: underline; }
.cj-ds__h1 { margin: 0; font-size: var(--cj-h1-size); font-weight: 700; line-height: 0.92; letter-spacing: -0.035em; color: var(--cj-white); }
.cj-ds__lede { margin: var(--cj-atl-gap) 0 0; max-width: 30ch; font-size: var(--cj-lede-size); font-weight: 500; line-height: 1.2; }
.cj-ds__sec { padding-block: clamp(2rem, 6vh, 4rem); border-top: 1px solid var(--cj-white); }
.cj-ds__h2 { margin: 0 0 1.5rem; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--cj-white); }
.cj-ds__text { max-width: 62ch; font-size: 1.0625rem; line-height: 1.6; }
.cj-ds__text p { margin: 0 0 1rem; }
.cj-ds__defs { display: grid; gap: 1.25rem; max-width: 62ch; margin: 0; }
.cj-ds__defs dt { font-weight: 700; }
.cj-ds__defs dd { margin: 0.2rem 0 0; line-height: 1.55; }
.cj-ds__table { margin-top: clamp(1.5rem, 4vh, 2.5rem); }
.cj-ds__dl { margin: 0; font-size: 0.875rem; font-weight: 600; }

/* Noi's link to the dataset page (Stefano 2026-11-15): after the CTA, so it never stands between the reader and the end
   of the page; one quiet line at body size, like a colophon. */
.cj-cs-datalink { margin: clamp(2.5rem, 7vh, 4.5rem) 0 clamp(3rem, 9vh, 6rem); font-size: 1rem; font-weight: 600; line-height: 1.5; }
.cj-cs-page .cj-cs-datalink a, .cj-cs-page .cj-cs-datalink a:hover, .cj-cs-page .cj-cs-datalink a:focus-visible {
	color: var(--cj-white); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px;
}
.cj-cs-page .cj-cs-datalink a:is(:hover, :focus-visible) { text-decoration-thickness: 2px; }
