/* Cochestube Herramientas */
:root {
	--cth-accent: #d7263d;
	--cth-ink: #14171f;
	--cth-text: #2b303b;
	--cth-muted: #5f6674;
	--cth-line: #e5e7ec;
	--cth-soft: #f5f6f8;
	--cth-bg: #ffffff;
	--cth-good: #13795b;
	--cth-warn: #a15c00;
	--cth-bad: #b42318;
	--cth-radius: 16px;
	--cth-shadow: 0 24px 60px -18px rgba(20, 23, 31, .28), 0 2px 8px rgba(20, 23, 31, .06);
	--cth-accent-soft: color-mix(in srgb, var(--cth-accent) 10%, #fff);
}

/* ===================== Botón del menú ===================== */
.cth-mtrig { display: inline-flex !important; align-items: center; gap: 4px; cursor: pointer; white-space: nowrap; }
.cth-mtrig__chev { transition: transform .2s; flex: none; }
.cth-mtrig[aria-expanded="true"] .cth-mtrig__chev { transform: rotate(180deg); }
.cth-mtrig--auto:not([class*="elementor"]):not([class*="menu"]) { text-decoration: none; padding: 6px 10px; border-radius: 999px; }
.cth-mtrig__label { text-transform: inherit !important; color: inherit !important; }
.cth-mtrig.is-active:not([class*="elementor"]) { background: var(--cth-accent-soft); color: var(--cth-accent); }
.cth-menu-slot { display: inline-flex; }
.cth-menu-slot .cth-mtrig { font-weight: 600; text-decoration: none; color: inherit; padding: 6px 12px; border-radius: 999px; }
.cth-menu-slot .cth-mtrig.is-active { background: var(--cth-accent-soft); color: var(--cth-accent); }

/* ===================== Panel desplegable ===================== */
.cth-mega-wrap { position: fixed; left: 50%; transform: translate(-50%, -6px); width: min(1180px, calc(100vw - 32px)); z-index: 99990; opacity: 0; transition: opacity .16s ease, transform .16s ease; font-family: inherit; }
.cth-mega-wrap.is-open { opacity: 1; transform: translate(-50%, 0); }
.cth-mega-wrap[hidden] { display: none; }
.cth-mega-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* puente para el hover */
.cth-mega { display: grid; grid-template-columns: 250px 1fr; background: var(--cth-bg); border: 1px solid var(--cth-line); border-radius: 20px; box-shadow: var(--cth-shadow); overflow: hidden; max-height: calc(100vh - 120px); }
.cth-mega__featured { padding: 24px 20px; border-right: 1px solid var(--cth-line); display: flex; flex-direction: column; gap: 6px; background: linear-gradient(180deg, var(--cth-soft), var(--cth-bg)); }
.cth-mega__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 22px; padding: 24px 26px; overflow-y: auto; }
.cth-mega__head { margin: 0 0 8px; font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cth-accent); }
.cth-mega a { text-decoration: none !important; color: var(--cth-ink); }
.cth-mega__feat { display: flex; gap: 12px; align-items: flex-start; padding: 10px; margin: 0 -10px; border-radius: 12px; transition: background .15s; }
.cth-mega__feat:hover, .cth-mega__feat:focus-visible { background: var(--cth-bg); box-shadow: 0 1px 0 var(--cth-line); }
.cth-mega__feat-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cth-accent-soft); color: var(--cth-accent); }
.cth-mega__feat strong, .cth-mega__item strong { display: block; font-size: 15px; line-height: 1.3; font-weight: 700; color: var(--cth-ink); }
.cth-mega__feat small, .cth-mega__item small { display: block; font-size: 13px; line-height: 1.4; color: var(--cth-muted); margin-top: 2px; }
.cth-mega__all { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 14px; color: var(--cth-accent) !important; }
.cth-mega__group { min-width: 0; }
.cth-mega__item { display: block; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; transition: background .15s; }
.cth-mega__item small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cth-mega__item:hover, .cth-mega__item:focus-visible { background: var(--cth-soft); }
.cth-mega__item:hover strong { color: var(--cth-accent) !important; }
.cth-mega__close { display: none; }
.cth-mega-overlay { position: fixed; inset: 0; background: rgba(15, 17, 23, .45); z-index: 99989; }
.cth-mega-overlay[hidden] { display: none; }
html.cth-mega-lock, html.cth-mega-lock body { overflow: hidden; }

@media (max-width: 1100px) {
	.cth-mega__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
	.cth-mega-wrap { top: auto !important; bottom: 0; left: 0; right: 0; width: 100%; transform: translateY(16px); max-height: 88vh; }
	.cth-mega-wrap.is-open { transform: translateY(0); }
	.cth-mega { grid-template-columns: 1fr; border-radius: 20px 20px 0 0; max-height: 88vh; overflow-y: auto; }
	.cth-mega__featured { border-right: 0; border-bottom: 1px solid var(--cth-line); padding: 22px 18px 14px; }
	.cth-mega__cols { grid-template-columns: 1fr; padding: 18px; overflow: visible; }
	.cth-mega__group { padding-bottom: 8px; }
	.cth-mega__item small { white-space: normal; }
	.cth-mega__close { display: grid; place-items: center; position: absolute; right: 12px; top: 12px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--cth-soft); color: var(--cth-ink); font-size: 22px; line-height: 1; cursor: pointer; padding: 0; }
}

/* ===================== Páginas ===================== */
/* El tema puede encerrar el contenido en una columna estrecha: la página ocupa todo el ancho. */
.cth-page { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; background: var(--cth-bg); color: var(--cth-text); font-size: 17px; line-height: 1.6; text-align: left; }
.cth-page *, .cth-tool * { box-sizing: border-box; }
.cth-wrap { width: 100%; max-width: 1320px; margin: 0 auto !important; padding: 22px 32px 80px; }
@media (max-width: 700px) { .cth-wrap { padding: 16px 16px 64px; } }

/* Blindaje: sin mayúsculas heredadas del tema */
.cth-crumbs span, .cth-crumbs a, .cth-meta span, .cth-aside__link span, .cth-toc a, .cth-card strong, .cth-card small, .cth-mega strong, .cth-mega small, .cth-mega span, .cth-quiz__opt, .cth-seg span, .cth-sec span, .cth-faq__item summary { text-transform: none !important; letter-spacing: normal !important; }
.cth-mega strong { color: var(--cth-ink) !important; } .cth-mega small, .cth-card small { color: var(--cth-muted) !important; } .cth-card strong { color: var(--cth-ink) !important; }

/* Blindaje: colores y tipografía propios aunque el tema tenga estilos globales agresivos. */
.cth-page .cth-hero, .cth-page .cth-hero * { background: none !important; position: static !important; height: auto !important; min-height: 0 !important; box-shadow: none !important; }
.cth-page .cth-h1 { font-size: clamp(32px, 4.2vw, 52px) !important; line-height: 1.06 !important; letter-spacing: -.025em !important; color: var(--cth-ink) !important; font-weight: 800 !important; margin: 0 0 14px !important; text-transform: none !important; }
.cth-page .cth-h2 { font-size: clamp(22px, 2.4vw, 28px) !important; line-height: 1.2 !important; color: var(--cth-ink) !important; font-weight: 800 !important; margin: 0 0 14px !important; letter-spacing: -.015em !important; text-transform: none !important; }
.cth-page .cth-lead { color: var(--cth-muted) !important; }
.cth-tool .cth-stat span, .cth-tool .cth-bar__top span, .cth-tool .cth-rows dt { color: var(--cth-muted) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400; }
.cth-tool .cth-stat strong, .cth-tool .cth-bar__top strong, .cth-tool .cth-rows dd, .cth-tool label, .cth-tool .cth-f__label { color: var(--cth-ink) !important; text-transform: none !important; letter-spacing: 0 !important; }
.cth-tool .cth-res__main * { color: #fff !important; }
.cth-tool .cth-res__main .cth-res__label, .cth-tool .cth-res__main .cth-res__sub { color: rgba(255, 255, 255, .78) !important; }
.cth-tool .cth-f__help, .cth-tool .cth-res__note, .cth-tool .cth-f__unit { color: var(--cth-muted) !important; }
.cth-tool p, .cth-tool dl, .cth-tool dd { margin-bottom: 0; }

.cth-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0 !important; font-size: 14px; color: var(--cth-muted) !important; }
.cth-meta span:nth-child(-n+2) { color: var(--cth-good) !important; font-weight: 600; }

/* Artículo + barra lateral */
.cth-article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; margin-top: 64px; align-items: start; }
.cth-article--hub { grid-template-columns: minmax(0, 860px); margin-top: 48px; }
.cth-content { min-width: 0; max-width: 820px; }
.cth-sec { margin: 0 0 40px; scroll-margin-top: 110px; }
.cth-sec p, .cth-sec li { color: var(--cth-text); font-size: 17px; line-height: 1.7; }
.cth-sec p { margin: 0 0 14px; }
.cth-sec ul, .cth-sec ol { margin: 0 0 16px; padding-left: 22px; }
.cth-sec li { margin-bottom: 8px; }
.cth-sec li::marker { color: var(--cth-accent); }
.cth-sec strong { color: var(--cth-ink); }
.cth-sec a { color: var(--cth-accent) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cth-faq__item { border: 1px solid var(--cth-line); border-radius: 14px; margin-bottom: 10px; background: var(--cth-bg); }
.cth-faq__item summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; color: var(--cth-ink); font-size: 17px; line-height: 1.4; list-style: none; position: relative; }
.cth-faq__item summary::-webkit-details-marker { display: none; }
.cth-faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--cth-accent); }
.cth-faq__item[open] summary::after { content: "–"; }
.cth-faq__item p { padding: 0 18px 16px; margin: 0 !important; }
.cth-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.cth-aside__box { border: 1px solid var(--cth-line); border-radius: 16px; padding: 18px; background: var(--cth-bg); }
.cth-aside__t { margin: 0 0 10px !important; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cth-accent) !important; }
.cth-toc { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.cth-toc li { margin: 0; }
.cth-toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--cth-line); color: var(--cth-muted) !important; text-decoration: none !important; font-size: 14px; line-height: 1.4; }
.cth-toc a:hover, .cth-toc a.is-on { color: var(--cth-ink) !important; border-left-color: var(--cth-accent); font-weight: 600; }
.cth-aside__link { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--cth-ink) !important; text-decoration: none !important; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--cth-line); }
.cth-aside__link:last-of-type { border-bottom: 0; }
.cth-aside__link .cth-ico { color: var(--cth-accent); flex: none; width: 18px; height: 18px; }
.cth-aside__link:hover span { color: var(--cth-accent); }
.cth-aside__all { display: block; margin-top: 10px; font-weight: 700; font-size: 14px; color: var(--cth-accent) !important; text-decoration: none !important; }
.cth-tool { scroll-margin-top: 110px; }
@media (max-width: 1024px) {
	.cth-article { grid-template-columns: 1fr; gap: 24px; }
	.cth-aside { position: static; order: 2; }
	.cth-aside__box:first-child { display: none; }
}
.cth-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--cth-muted); margin-bottom: 18px; }
.cth-crumbs a { color: var(--cth-muted); text-decoration: none; }
.cth-crumbs a:hover { color: var(--cth-accent); }
.cth-hero { max-width: 920px; margin-bottom: 32px; }
.cth-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cth-accent); }
.cth-hero h1 { margin: 0 0 12px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.02em; color: var(--cth-ink); font-weight: 800; }
.cth-lead { margin: 0; font-size: 18px; color: var(--cth-muted); }
.cth-page h2 { font-size: 24px; line-height: 1.2; color: var(--cth-ink); margin: 0 0 14px; letter-spacing: -.01em; }
.cth-how { max-width: 780px; margin-top: 48px; }
.cth-how p { margin: 0 0 12px; }
.cth-disclaimer { font-size: 14px; color: var(--cth-muted); }
.cth-related { margin-top: 48px; }
.cth-link { font-weight: 700; color: var(--cth-accent); text-decoration: none; }

/* Hub */
.cth-search { margin: 0 0 28px; max-width: 620px; }
.cth-search input { width: 100%; height: 54px; padding: 0 20px; font: inherit; font-size: 16px; border: 1px solid var(--cth-line); border-radius: 999px; background: var(--cth-soft); color: var(--cth-ink); outline: none; }
.cth-search input:focus { border-color: var(--cth-accent); background: var(--cth-bg); box-shadow: 0 0 0 4px var(--cth-accent-soft); }
.cth-hub__sec { margin-bottom: 36px; }
.cth-hub__sec[hidden] { display: none; }
.cth-hub__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.cth-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--cth-line); border-radius: var(--cth-radius); background: var(--cth-bg); text-decoration: none !important; transition: border-color .15s, transform .15s, box-shadow .15s; }
.cth-card[hidden] { display: none; }
.cth-card:hover { border-color: var(--cth-accent); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(20, 23, 31, .35); }
.cth-card__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--cth-accent-soft); color: var(--cth-accent); margin-bottom: 8px; }
.cth-card strong { color: var(--cth-ink); font-size: 16px; line-height: 1.3; }
.cth-card small { color: var(--cth-muted); font-size: 14px; line-height: 1.4; }
.cth-card--sm { padding: 14px; }
.cth-hub__empty { color: var(--cth-muted); }

/* ===================== Herramienta ===================== */
.cth-tool { margin: 0 0 8px; color: var(--cth-text); font-size: 16px; line-height: 1.5; }
.cth-tool__loading { padding: 40px; text-align: center; color: var(--cth-muted); border: 1px dashed var(--cth-line); border-radius: var(--cth-radius); }
.cth-tool__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 28px; align-items: start; }
.cth-tool__grid.is-compact .cth-form { grid-template-columns: repeat(4, 1fr); }
.cth-tool__grid.is-compact .cth-f { grid-column: span 2; }
.cth-tool__grid.is-compact .cth-f__group { grid-column: 1 / -1; }
.cth-card-box { background: var(--cth-bg); border: 1px solid var(--cth-line); border-radius: 20px; padding: 28px; min-width: 0; }
.cth-card-box--wide { max-width: 980px; }
.cth-form { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 12px; }
.cth-f { grid-column: span 6; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cth-f[hidden] { display: none; }
.cth-f--half { grid-column: span 2; }
.cth-f label, .cth-f__label { font-size: 14px; font-weight: 600; color: var(--cth-ink); line-height: 1.3; margin: 0; }
.cth-f__help { font-size: 13px; color: var(--cth-muted); line-height: 1.4; }
.cth-f__group { grid-column: 1 / -1; margin: 10px 0 -2px; padding-top: 12px; border-top: 1px solid var(--cth-line); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cth-accent); }
.cth-form > .cth-f__group:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cth-f__in { position: relative; display: flex; align-items: center; }
.cth-tool input[type="text"], .cth-tool input[type="date"], .cth-tool select {
	width: 100%; height: 48px; margin: 0; padding: 0 14px; font: inherit; font-size: 16px; color: var(--cth-ink);
	background: var(--cth-soft); border: 1px solid var(--cth-line); border-radius: 12px; box-shadow: none; outline: none; appearance: auto;
}
.cth-tool select { padding-right: 8px; }
.cth-f__in input { padding-right: 76px !important; }
.cth-tool input:focus, .cth-tool select:focus { border-color: var(--cth-accent); background: var(--cth-bg); box-shadow: 0 0 0 4px var(--cth-accent-soft); }
.cth-f__unit { position: absolute; right: 12px; font-size: 13px; color: var(--cth-muted); pointer-events: none; white-space: nowrap; max-width: 70px; overflow: hidden; text-overflow: ellipsis; }
.cth-f--chk label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.cth-f--chk input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--cth-accent); }
.cth-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--cth-soft); border: 1px solid var(--cth-line); border-radius: 12px; }
.cth-seg label { flex: 1 1 auto; margin: 0; cursor: pointer; }
.cth-seg input { position: absolute; opacity: 0; pointer-events: none; }
.cth-seg span { display: block; text-align: center; padding: 9px 10px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--cth-muted); transition: background .15s, color .15s; }
.cth-seg input:checked + span { background: var(--cth-bg); color: var(--cth-ink); box-shadow: 0 1px 3px rgba(20, 23, 31, .12); }
.cth-seg input:focus-visible + span { outline: 2px solid var(--cth-accent); }
.cth-tool button.cth-reset { grid-column: 1 / -1; justify-self: start; background: none !important; border: 0 !important; padding: 4px 0 !important; color: var(--cth-muted) !important; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; box-shadow: none !important; min-height: 0; }

/* Resultados */
.cth-res { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; min-height: 200px; }
.cth-res__main { padding: 20px; margin: -8px -8px 0; border-radius: 14px; background: var(--cth-ink); color: #fff; }
.cth-res__main .cth-res__label { color: rgba(255, 255, 255, .72); }
.cth-res__main .cth-res__big { color: #fff; }
.cth-res__main .cth-res__sub { color: rgba(255, 255, 255, .82); }
.cth-res__label { margin: 0 0 4px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--cth-muted); }
.cth-res__big { margin: 0; font-size: clamp(30px, 4vw, 42px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: var(--cth-ink); font-variant-numeric: tabular-nums; }
.cth-res__sub { margin: 6px 0 0; font-size: 15px; }
.cth-res__html p { margin: 0 0 8px; }
.cth-res__note { margin: 0; font-size: 14px; color: var(--cth-muted); }
.cth-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.cth-stat { min-width: 0; overflow-wrap: anywhere; padding: 12px 14px; background: var(--cth-soft); border-radius: 12px; display: flex; flex-direction: column; gap: 2px; }
.cth-stat span { font-size: 13px; color: var(--cth-muted); line-height: 1.3; }
.cth-stat strong { font-size: 18px; color: var(--cth-ink); font-variant-numeric: tabular-nums; line-height: 1.25; }
.cth-rows { margin: 0; display: flex; flex-direction: column; }
.cth-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--cth-line); font-size: 15px; }
.cth-rows > div:last-child { border-bottom: 0; }
.cth-rows dt { color: var(--cth-muted); margin: 0; font-weight: 400; }
.cth-rows dd { margin: 0; flex: 0 0 auto; max-width: 62%; text-align: right; color: var(--cth-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.cth-rows .is-strong dt, .cth-rows .is-strong dd { color: var(--cth-ink); font-weight: 800; }
.cth-rows .is-strong { background: var(--cth-accent-soft); margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 8px; border-bottom-color: transparent; }
.cth-rows .is-bad dd { color: var(--cth-bad); }
.cth-table__t { margin: 0 0 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cth-ink); }
.cth-table .cth-rows dd { font-weight: 500; }
.cth-bars { display: flex; flex-direction: column; gap: 10px; }
.cth-bar__top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 4px; }
.cth-bar__top span { color: var(--cth-muted); }
.cth-bar__top strong { color: var(--cth-ink); font-variant-numeric: tabular-nums; }
.cth-bar__track { height: 10px; border-radius: 99px; background: var(--cth-soft); overflow: hidden; }
.cth-bar__track i { display: block; height: 100%; border-radius: 99px; background: color-mix(in srgb, var(--cth-ink) 35%, #fff); transition: width .3s ease; }
.cth-bar.is-hi .cth-bar__track i { background: var(--cth-accent); }
.cth-bar.is-hi .cth-bar__top span { color: var(--cth-ink); font-weight: 700; }
.cth-alert { padding: 12px 14px; border-radius: 12px; font-size: 15px; line-height: 1.45; border-left: 4px solid; }
.cth-alert--info { background: #eef4ff; border-color: #3b6fd8; color: #1c3d84; }
.cth-alert--warn { background: #fff6e6; border-color: #e09a1a; color: #6b4300; }
.cth-alert--bad { background: #fdeceb; border-color: var(--cth-bad); color: #7a1a12; }
.cth-alert--good { background: #e8f6f0; border-color: var(--cth-good); color: #0b4f3a; }
.cth-tool .cth-btn, .cth-quiz .cth-btn { display: inline-flex; justify-content: center; align-items: center; gap: 6px; padding: 13px 18px; border-radius: 12px; background: var(--cth-accent) !important; color: #fff !important; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none !important; border: 0 !important; cursor: pointer; text-align: center; line-height: 1.3; }
.cth-tool .cth-btn:hover { filter: brightness(.94); }
.cth-tool .cth-btn--ghost { background: var(--cth-soft) !important; color: var(--cth-ink) !important; border: 1px solid var(--cth-line) !important; }
.cth-svg { width: 100%; height: auto; display: block; max-height: 260px; }

/* Etiqueta DGT */
.cth-badge-row { display: flex; gap: 18px; align-items: center; margin-bottom: 10px; }
.cth-dgt { flex: none; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 30px; letter-spacing: -.02em; border: 5px solid #fff; box-shadow: 0 0 0 2px var(--cth-line), 0 8px 20px -8px rgba(0, 0, 0, .35); color: #fff; }
.cth-dgt--cero { background: #1d5fae; }
.cth-dgt--eco { background: linear-gradient(90deg, #2f9b48 50%, #1d5fae 50%); font-size: 24px; }
.cth-dgt--c { background: #2f9b48; }
.cth-dgt--b { background: #f2c230; color: #3a2f00; }
.cth-dgt--sin { background: #9aa0a9; }

/* Test */
.cth-quiz__bar { height: 6px; border-radius: 9px; background: var(--cth-soft); overflow: hidden; margin-bottom: 18px; }
.cth-quiz__bar span { display: block; height: 100%; background: var(--cth-accent); transition: width .3s; }
.cth-quiz__n { margin: 0 0 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cth-accent); }
.cth-quiz .cth-quiz__q { margin: 0 0 18px; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; color: var(--cth-ink); }
.cth-quiz__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.cth-tool .cth-quiz__opt { text-align: left; padding: 16px 18px; border: 1px solid var(--cth-line) !important; border-radius: 14px; background: var(--cth-bg) !important; color: var(--cth-ink) !important; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; box-shadow: none !important; line-height: 1.35; }
.cth-tool .cth-quiz__opt:hover, .cth-tool .cth-quiz__opt:focus-visible { border-color: var(--cth-accent) !important; background: var(--cth-accent-soft) !important; }
.cth-tool .cth-quiz__back { margin-top: 16px; background: none !important; border: 0 !important; color: var(--cth-muted) !important; font: inherit; font-size: 14px; cursor: pointer; padding: 0 !important; box-shadow: none !important; }
.cth-quiz__h { margin: 18px 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--cth-muted); }
.cth-quiz__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cth-quiz__res { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 14px; border: 1px solid var(--cth-line); text-decoration: none !important; color: var(--cth-text); }
.cth-quiz__res.is-main { border-color: var(--cth-accent); background: var(--cth-accent-soft); }
.cth-quiz__res small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cth-accent); }
.cth-quiz__res strong { font-size: 20px; color: var(--cth-ink); }
.cth-quiz__res em { font-style: normal; font-weight: 700; color: var(--cth-accent); margin-top: 6px; }
.cth-quiz__again { margin-top: 20px; }

@media (max-width: 860px) {
	.cth-tool__grid { grid-template-columns: 1fr; }
	.cth-res { position: static; }
	.cth-card-box { padding: 18px; border-radius: 16px; }
	.cth-res__main { margin: -4px -4px 0; }
	.cth-tool__grid.is-compact .cth-f { grid-column: span 4; }
	.cth-tool__grid.is-compact .cth-f[data-f$="p"], .cth-tool__grid.is-compact .cth-f[data-f$="c"] { grid-column: span 2; }
}
@media (max-width: 420px) {
	.cth-f--half { grid-column: span 3; }
	.cth-rows > div { flex-direction: column; gap: 2px; }
	.cth-rows dd { text-align: left; }
}
