/* PagaGiusto – stili dei componenti.
   I colori arrivano dal tema (variabili --pg-*); qui ci sono solo i valori di riserva. */

:root {
	--pg-primary: #0e9f6e;
	--pg-primary-ink: #ffffff;
	--pg-warn: #f59e0b;
	--pg-danger: #dc2626;
	--pg-dark: #0f172a;
	--pg-light: #f8fafc;
	--pg-card: #ffffff;
	--pg-border: #e2e8f0;
	--pg-muted: #64748b;
	--pg-radius: 14px;
	--pg-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
}

.pg-card,
.pg-cats,
.pg-cards,
.pg-table-wrap,
.pg-article { box-sizing: border-box; }
.pg-card *,
.pg-article * { box-sizing: border-box; }

.pg-muted { color: var(--pg-muted); }
.pg-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pg-icon { width: 1.25em; height: 1.25em; vertical-align: -0.2em; flex: none; }
.pg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Card ---------- */
.pg-card {
	background: var(--pg-card);
	border: 1px solid var(--pg-border);
	border-radius: var(--pg-radius);
	padding: clamp(18px, 3vw, 28px);
	box-shadow: var(--pg-shadow);
	color: var(--pg-dark);
}
.pg-check--inline { box-shadow: none; }

/* ---------- Form ---------- */
.pg-form__title { margin: 0 0 16px; font-size: 1.25rem; }
.pg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 20px; }
.pg-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; border: 0; padding: 0; }
.pg-field--wide { grid-column: 1 / -1; }
.pg-field[hidden] { display: none; }
.pg-field > label,
.pg-field > legend { font-weight: 600; font-size: .95rem; color: var(--pg-dark); padding: 0; }
.pg-opt { font-weight: 400; color: var(--pg-muted); font-size: .85em; }
.pg-form select,
.pg-form input[type=text],
.pg-form input[type=month],
.pg-form input[type=email],
.pg-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	font: inherit;
	font-size: 16px;
	color: var(--pg-dark);
	background: #fff;
	border: 1.5px solid var(--pg-border);
	border-radius: 10px;
	transition: border-color .15s, box-shadow .15s;
}
.pg-form textarea { min-height: 88px; resize: vertical; }
.pg-form select:focus,
.pg-form input:focus,
.pg-form textarea:focus {
	outline: none;
	border-color: var(--pg-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pg-primary) 22%, transparent);
}
.pg-form input[type=file] { font-size: .95rem; padding: 10px 0; }
.pg-money { position: relative; }
.pg-money input { padding-right: 40px !important; font-size: 1.15rem !important; font-weight: 600; }
.pg-money span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--pg-muted); font-weight: 600; }
.pg-radio { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.pg-radio legend { width: 100%; margin-bottom: 6px; }
.pg-radio label { display: inline-flex; gap: 8px; align-items: center; font-weight: 400; cursor: pointer; }
.pg-radio input,
.pg-check-line input { width: 18px; height: 18px; accent-color: var(--pg-primary); }
.pg-check-line { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; cursor: pointer; }
.pg-check-line span { line-height: 1.45; }
.pg-help { font-size: .85rem; color: var(--pg-muted); margin: 4px 0 0; line-height: 1.45; }
.pg-note { font-size: .9rem; color: var(--pg-muted); }
.is-error select,
.is-error input,
.is-error textarea { border-color: var(--pg-danger) !important; }
.pg-err { color: var(--pg-danger); font-size: .85rem; margin: 2px 0 0; font-weight: 500; }

/* ---------- Pulsanti ---------- */
.pg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .1s, filter .15s, background .15s;
}
.pg-btn:active { transform: translateY(1px); }
.pg-btn:disabled { opacity: .6; cursor: progress; }
.pg-btn--primary { background: var(--pg-primary); color: var(--pg-primary-ink) !important; }
.pg-btn--primary:hover { filter: brightness(1.07); }
.pg-btn--ghost { background: transparent; color: var(--pg-dark) !important; border-color: var(--pg-border); }
.pg-btn--ghost:hover { border-color: var(--pg-dark); }
.pg-btn--wa { background: #25d366; color: #fff !important; }
.pg-btn--lg { min-height: 52px; padding: 12px 28px; font-size: 1.05rem; }
.pg-check .pg-btn--lg { width: 100%; }
.pg-actions { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; flex-wrap: wrap; }
.pg-actions .pg-js-next:only-child { margin-left: auto; }
.pg-link { color: var(--pg-primary); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pg-link:hover { text-decoration: underline; }

/* ---------- Avvisi ---------- */
.pg-alert { border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; font-weight: 500; }
.pg-alert--ok { background: color-mix(in srgb, var(--pg-primary) 12%, #fff); color: #065f46; border: 1px solid color-mix(in srgb, var(--pg-primary) 35%, #fff); }
.pg-alert--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Passaggi del modulo segnala ---------- */
.pg-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; counter-reset: none; }
.pg-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--pg-muted); font-weight: 600; margin: 0; }
.pg-steps li span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pg-light); border: 1.5px solid var(--pg-border); font-size: .85rem; flex: none; }
.pg-steps li.is-active { color: var(--pg-dark); }
.pg-steps li.is-active span { background: var(--pg-primary); border-color: var(--pg-primary); color: #fff; }
.pg-steps li.is-done span { background: color-mix(in srgb, var(--pg-primary) 18%, #fff); border-color: var(--pg-primary); color: var(--pg-primary); }
.pg-report:not(.is-js) .pg-steps,
.pg-report:not(.is-js) .pg-js-next,
.pg-report:not(.is-js) .pg-js-prev { display: none; }
.pg-report.is-js .pg-step:not(.is-active) { display: none; }

/* "Altro": proposta di un lavoro nuovo */
.pg-altro {
	grid-column: 1 / -1;
	padding: 16px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--pg-primary) 6%, #fff);
	border: 1.5px dashed color-mix(in srgb, var(--pg-primary) 45%, #fff);
}
.pg-altro .pg-grid { margin-bottom: 0; }
.pg-report.is-js .pg-altro:not(.is-on) { display: none; }

/* Dettagli facoltativi (chip) */
.pg-details { grid-column: 1 / -1; display: grid; gap: 14px; padding-top: 4px; }
.is-js .pg-details:not(.is-on) { display: none; }
.pg-more { grid-column: 1 / -1; border: 1px solid var(--pg-border); border-radius: 12px; background: var(--pg-light); }
.pg-more[hidden] { display: none; }
.pg-more > summary { cursor: pointer; padding: 12px 14px; font-weight: 600; font-size: .95rem; list-style: none; }
.pg-more > summary::-webkit-details-marker { display: none; }
.pg-more > summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--pg-primary); color: #fff; font-weight: 700; }
.pg-more[open] > summary::before { content: "–"; }
.pg-more__body { padding: 0 14px 14px; display: grid; gap: 12px; }
.pg-verdict__filter { font-size: .85rem; font-weight: 600; color: var(--pg-primary); margin: 0 0 6px !important; }
.pg-verdict__filter--off { color: var(--pg-muted); font-weight: 500; }
.pg-details__title { margin: 0; font-weight: 700; }
.pg-chips { gap: 8px; }
.pg-chips > legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.pg-chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chip { position: relative; cursor: pointer; margin: 0; }
.pg-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pg-chip span {
	display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
	border-radius: 999px; border: 1.5px solid var(--pg-border); background: #fff;
	font-size: .92rem; font-weight: 500; line-height: 1.2; transition: border-color .15s, background .15s;
}
.pg-chip:hover span { border-color: var(--pg-primary); }
.pg-chip input:checked + span { background: var(--pg-primary); border-color: var(--pg-primary); color: #fff; font-weight: 600; }
.pg-chip input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--pg-primary) 30%, transparent); }
.pg-tags { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.pg-table .pg-tags { display: flex; margin-top: 4px; }
.pg-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--pg-light); border: 1px solid var(--pg-border); font-size: .75rem; color: var(--pg-muted); white-space: nowrap; }
.pg-step { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.pg-step__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; padding: 0; color: var(--pg-dark); }
.pg-thanks { text-align: center; padding: 12px 0; }
.pg-thanks__icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--pg-primary); color: #fff; font-size: 32px; font-weight: 700; }
.pg-thanks__msg { font-size: 1.1rem; font-weight: 600; }
.pg-thanks .pg-btn { margin: 4px; }

/* ---------- Esito del controllo ---------- */
.pg-result { margin-top: 20px; }
.pg-result.is-in { animation: pg-in .35s ease both; }
@keyframes pg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pg-result.is-in { animation: none; } }
.pg-verdict { display: flex; gap: 18px; padding: 20px; border-radius: var(--pg-radius); border: 1.5px solid var(--pg-border); background: var(--pg-light); }
.pg-verdict__light { display: flex; flex-direction: column; gap: 6px; padding: 8px 6px; background: var(--pg-dark); border-radius: 12px; align-self: flex-start; flex: none; }
.pg-verdict__light span { width: 18px; height: 18px; border-radius: 50%; background: #334155; }
.pg-verdict--rosso .pg-verdict__light span:nth-child(1) { background: var(--pg-danger); box-shadow: 0 0 12px var(--pg-danger); }
.pg-verdict--arancio .pg-verdict__light span:nth-child(2) { background: var(--pg-warn); box-shadow: 0 0 12px var(--pg-warn); }
.pg-verdict--verde .pg-verdict__light span:nth-child(3) { background: var(--pg-primary); box-shadow: 0 0 12px var(--pg-primary); }
.pg-verdict--verde { border-color: color-mix(in srgb, var(--pg-primary) 45%, #fff); background: color-mix(in srgb, var(--pg-primary) 7%, #fff); }
.pg-verdict--arancio { border-color: color-mix(in srgb, var(--pg-warn) 50%, #fff); background: color-mix(in srgb, var(--pg-warn) 8%, #fff); }
.pg-verdict--rosso { border-color: color-mix(in srgb, var(--pg-danger) 45%, #fff); background: color-mix(in srgb, var(--pg-danger) 6%, #fff); }
.pg-verdict__body { flex: 1; min-width: 0; }
.pg-verdict__body p { margin: 0 0 10px; }
.pg-verdict__label { font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.pg-verdict--verde .pg-verdict__label { color: #047857; }
.pg-verdict--arancio .pg-verdict__label { color: #b45309; }
.pg-verdict--rosso .pg-verdict__label { color: #b91c1c; }
.pg-verdict__num strong { font-size: 1.6rem; margin-right: 8px; }
.pg-verdict__num span { color: var(--pg-muted); font-weight: 600; }
.pg-verdict__facts { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .95rem; }
.pg-verdict__facts li { margin: 0; }
.pg-verdict__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pg-verdict__chart { margin: 8px 0 12px; }

/* ---------- Grafici ---------- */
.pg-chart { width: 100%; height: auto; display: block; overflow: visible; font-family: inherit; }
.pg-range__line { stroke: #cbd5e1; stroke-width: 4; stroke-linecap: round; }
.pg-range__band { fill: color-mix(in srgb, var(--pg-primary) 30%, #fff); stroke: var(--pg-primary); stroke-width: 1.5; }
.pg-range__median { stroke: var(--pg-dark); stroke-width: 3; stroke-linecap: round; }
.pg-range__end { fill: #94a3b8; }
.pg-range__marker { fill: var(--pg-dark); }
.pg-range__lbl { font-size: 15px; fill: var(--pg-muted); }
.pg-range__lbl--strong { font-weight: 700; fill: var(--pg-dark); font-size: 16px; }
.pg-range__legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .9rem; color: var(--pg-muted); }
.pg-range__legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.pg-dot { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.pg-dot--band { background: color-mix(in srgb, var(--pg-primary) 30%, #fff); border: 1.5px solid var(--pg-primary); }
.pg-dot--median { width: 3px; height: 14px; background: var(--pg-dark); }
.pg-hist__bar { fill: var(--pg-primary); opacity: .85; }
.pg-hist g:hover .pg-hist__bar { opacity: 1; }
.pg-hist__n { font-size: 13px; font-weight: 700; fill: var(--pg-dark); }
.pg-hist__lbl { font-size: 12px; fill: var(--pg-muted); }
.pg-chartcard { box-shadow: none; }

/* ---------- Categorie e schede ---------- */
.pg-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.pg-cat {
	display: flex; flex-direction: column; gap: 8px;
	padding: 22px; border-radius: var(--pg-radius);
	background: var(--pg-card); border: 1px solid var(--pg-border);
	color: var(--pg-dark) !important; text-decoration: none !important;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
.pg-cat:hover { transform: translateY(-2px); box-shadow: var(--pg-shadow); border-color: var(--pg-primary); }
.pg-cat__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--pg-primary) 12%, #fff); color: var(--pg-primary); }
.pg-cat__icon .pg-icon { width: 26px; height: 26px; }
.pg-cat__name { font-size: 1.2rem; font-weight: 800; }
.pg-cat__desc { color: var(--pg-muted); font-size: .95rem; line-height: 1.45; }
.pg-cat__meta { margin-top: auto; font-size: .85rem; font-weight: 600; color: var(--pg-primary); }

.pg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.pg-cardlink {
	display: flex; flex-direction: column; gap: 4px;
	padding: 18px; border-radius: 12px; background: var(--pg-card);
	border: 1px solid var(--pg-border); text-decoration: none !important; color: var(--pg-dark) !important;
	transition: border-color .15s, box-shadow .15s;
}
.pg-cardlink:hover { border-color: var(--pg-primary); box-shadow: var(--pg-shadow); }
.pg-cardlink__cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--pg-muted); font-weight: 700; }
.pg-cardlink__name { font-weight: 700; line-height: 1.3; }
.pg-cardlink__price { font-size: 1.5rem; font-weight: 800; color: var(--pg-primary); margin-top: 6px; font-variant-numeric: tabular-nums; }
.pg-cardlink__price.pg-muted { font-size: 1rem; color: var(--pg-muted); }
.pg-cardlink__meta { font-size: .85rem; color: var(--pg-muted); }

.pg-box__kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--pg-muted); font-weight: 700; margin: 0; }
.pg-box__title { margin: 4px 0 8px; font-size: 1.2rem; }
.pg-box__title a { color: inherit; text-decoration: none; }
.pg-box__median { font-size: 2rem; font-weight: 800; color: var(--pg-primary); margin: 0; }
.pg-box__range { color: var(--pg-muted); margin: 0 0 12px; }

/* ---------- Tabelle ---------- */
.pg-table-wrap { overflow-x: auto; border: 1px solid var(--pg-border); border-radius: 12px; background: var(--pg-card); }
.pg-table { width: 100%; border-collapse: collapse; margin: 0; font-size: .95rem; border: 0; }
.pg-table th,
.pg-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--pg-border); text-align: left; vertical-align: middle; }
.pg-table th { background: var(--pg-light); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--pg-muted); }
.pg-table th.pg-num,
.pg-table td.pg-num { text-align: right; }
.pg-table tr:last-child td { border-bottom: 0; }
.pg-table a { font-weight: 600; }
.pg-badge { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--pg-primary) 14%, #fff); color: #047857; font-size: .75rem; font-weight: 700; }
.pg-badge .pg-icon { width: 12px; height: 12px; }

/* ---------- Pagine prezzi ---------- */
.pg-article { max-width: 920px; margin: 0 auto; padding: clamp(8px, 2vw, 24px) 0 48px; color: var(--pg-dark); }
.pg-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; padding: 0; font-size: .85rem; color: var(--pg-muted); }
.pg-crumbs li { margin: 0; }
.pg-crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; }
.pg-crumbs a { color: var(--pg-muted); text-decoration: none; }
.pg-crumbs a:hover { color: var(--pg-primary); }
.pg-head { margin-bottom: 32px; }
.pg-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--pg-primary); margin: 0 0 8px; }
.pg-h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.12; margin: 0 0 14px; letter-spacing: -.02em; }
.pg-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.5; margin: 0 0 8px; }
.pg-price-big { font-size: 1.6em; color: var(--pg-primary); font-variant-numeric: tabular-nums; }
.pg-meta { color: var(--pg-muted); font-size: .9rem; margin: 0 0 12px; }
.pg-section { margin: 0 0 40px; }
.pg-section > h2 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); margin: 0 0 16px; letter-spacing: -.01em; }
.pg-section > h2 a { color: inherit; text-decoration: none; }
.pg-h3 { font-size: 1.05rem; margin: 20px 0 10px; }
.pg-card .pg-h3 { margin-top: 0; }
.pg-progress { height: 10px; background: var(--pg-light); border: 1px solid var(--pg-border); border-radius: 999px; overflow: hidden; max-width: 420px; margin: 10px 0 6px; }
.pg-progress span { display: block; height: 100%; background: var(--pg-primary); border-radius: 999px; }
.pg-guide__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-guide__grid .pg-card { box-shadow: none; }
.pg-guide__grid p { margin: 0; }
.pg-questions { margin: 0; padding: 0; list-style: none; counter-reset: q; display: grid; gap: 10px; }
.pg-questions li { counter-increment: q; position: relative; padding: 14px 16px 14px 56px; background: var(--pg-light); border-radius: 12px; margin: 0; line-height: 1.45; }
.pg-questions li::before { content: counter(q); position: absolute; left: 14px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--pg-primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.pg-related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 20px; }
.pg-related li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--pg-border); margin: 0; }
.pg-related a { font-weight: 600; text-decoration: none; }
.pg-related li > span { white-space: nowrap; flex-shrink: 0; }
.pg-disclaimer { font-size: .85rem; color: var(--pg-muted); border-top: 1px solid var(--pg-border); padding-top: 16px; }
.pg-counter { font-variant-numeric: tabular-nums; font-weight: 800; }
.pg-card [hidden],
.pg-steps[hidden] { display: none !important; }
.pg-table .pg-mob { display: none; }
.pg-zone small { display: block; color: var(--pg-muted); font-size: .8rem; line-height: 1.35; margin-top: 2px; }
.pg-zone span { font-weight: 600; }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
	.pg-hide-sm { display: none; }
	.pg-table--stack thead { display: none; }
	.pg-table--stack tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 12px;
		row-gap: 2px;
		align-items: center;
		padding: 12px 14px;
		border-bottom: 1px solid var(--pg-border);
	}
	.pg-table--stack tr:last-child { border-bottom: 0; }
	.pg-table--stack td { padding: 0; border: 0; }
	.pg-table--stack .pg-desk { display: none; }
	.pg-table--stack .pg-name { grid-column: 1; }
	.pg-table--stack .pg-mob { display: block; grid-column: 1; font-size: .85rem; color: var(--pg-muted); line-height: 1.4; }
	.pg-table--stack .pg-num { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
	.pg-table--stack .pg-num .pg-badge { display: flex; margin: 4px 0 0; justify-content: center; }
}
@media (max-width: 640px) {
	.pg-grid,
	.pg-guide__grid { grid-template-columns: 1fr; }
	.pg-verdict { flex-direction: column; gap: 12px; padding: 16px; }
	.pg-verdict__light { flex-direction: row; }
	.pg-steps li { font-size: 0; gap: 0; justify-content: center; }
	.pg-steps li span { font-size: .85rem; }
	.pg-table th,
	.pg-table td { padding: 10px; }
	.pg-actions .pg-btn { flex: 1; }
}

/* Confronto per dettagli */
.pg-breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.pg-breakdown__card { box-shadow: none; }
.pg-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pg-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label value" "track track"; gap: 4px 12px; margin: 0; align-items: end; }
.pg-bars__label { grid-area: label; font-size: .95rem; line-height: 1.3; }
.pg-bars__value { grid-area: value; text-align: right; line-height: 1.2; }
.pg-bars__value strong { font-variant-numeric: tabular-nums; }
.pg-bars__value small { display: block; color: var(--pg-muted); font-size: .75rem; }
.pg-bars__track { grid-area: track; height: 10px; border-radius: 999px; background: var(--pg-light); border: 1px solid var(--pg-border); overflow: hidden; }
.pg-bars__fill { display: block; height: 100%; background: var(--pg-primary); border-radius: 999px; }
.pg-hint { margin: 0 0 40px; padding: 14px 18px; border-radius: 12px; background: var(--pg-light); border: 1px dashed var(--pg-border); font-size: .95rem; color: var(--pg-dark); }
.pg-hint a { font-weight: 700; }

/* Nelle pagine di una categoria l'etichetta della categoria sulle schede è ridondante. */
.pg-page--indice .pg-cardlink__cat,
.pg-page--categoria .pg-cardlink__cat { display: none; }
