.cord-caja,
.cord-caja * {
	box-sizing: border-box;
}

.cord-caja {
	max-width: 480px;
	width: 100%;
	margin: 24px 0;
	padding: 28px 32px;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	background: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1d2327;
}

/* El tope de 480px es cómodo para leer en celular, pero en un monitor de
   escritorio deja casi todo el ancho de la página vacío — se ve como si "no
   se adaptara". En pantallas más anchas la tarjeta crece en dos pasos, sin
   llegar nunca a ocupar el ancho completo (una línea de texto demasiado
   larga es tan incómoda de leer como una demasiado corta). */
@media (min-width: 900px) {
	.cord-caja {
		max-width: 640px;
	}
}

@media (min-width: 1200px) {
	.cord-caja {
		max-width: 760px;
	}
}

.cord-caja h3 {
	margin: 0 0 10px;
	font-size: 20px;
}

.cord-caja p {
	margin: 0 0 14px;
	line-height: 1.5;
}

.cord-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 11px;
	font-weight: 700;
	color: #a8551c;
	margin: 0 0 6px;
}

.cord-error {
	background: #fbeaea;
	color: #a8331e;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 14px;
}

.cord-form-entrada {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.cord-form-entrada input[type="text"] {
	flex: 1 1 220px;
	padding: 10px 12px;
	border: 1px solid #d0d5d9;
	border-radius: 6px;
	font-size: 15px;
}

.cord-boton {
	background: #2b3a67;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.cord-boton:hover {
	background: #1f2b4d;
}

.cord-placeholder {
	background: #f6f7f7;
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 14px;
	color: #50575e;
}

.cord-tabla-variables {
	width: 100%;
	margin-top: 18px;
	border-collapse: collapse;
	font-size: 13px;
}

.cord-tabla-variables td {
	padding: 6px 0;
	border-bottom: 1px solid #eee;
}

.cord-tabla-variables td:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

.cord-aviso {
	color: #50575e;
}

.cord-situacion {
	font-style: italic;
	border-left: 3px solid #2b3a67;
	padding: 4px 0 4px 14px;
	margin-bottom: 20px;
}

.cord-situacion p {
	margin: 0 0 10px;
}

.cord-situacion p:last-child {
	margin-bottom: 0;
}

.cord-opciones {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 18px;
}

.cord-opcion {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14.5px;
	line-height: 1.45;
}

.cord-opcion:hover {
	border-color: #2b3a67;
	background: #f8f9fb;
}

.cord-opcion input[type="radio"] {
	margin-top: 3px;
	flex-shrink: 0;
}

.cord-form-decision .cord-boton {
	width: 100%;
}

.cord-cierre {
	max-width: 640px;
}

@media (min-width: 900px) {
	.cord-cierre {
		max-width: 760px;
	}
}

@media (min-width: 1200px) {
	.cord-cierre {
		max-width: 880px;
	}
}

.cord-nota-escala {
	font-size: 12.5px;
	color: #50575e;
	font-style: italic;
	margin: 0 0 4px;
}

.cord-cierre h4 {
	margin: 22px 0 4px;
	font-size: 15px;
}

.cord-cierre .description {
	margin: 0 0 12px;
	font-size: 13px;
	color: #50575e;
}

.cord-pilares-grupo {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.cord-pilar-columna {
	flex: 1 1 220px;
}

.cord-pilar-titulo {
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #50575e;
	margin: 0 0 8px;
}

.cord-pilar-opcion {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	margin-bottom: 8px;
	cursor: pointer;
}

.cord-prioridad-fila {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.cord-prioridad-num {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #2b3a67;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cord-prioridad-fila select {
	flex: 1;
	padding: 8px 10px;
	border: 1px solid #d0d5d9;
	border-radius: 6px;
	font-size: 13.5px;
	max-width: 100%;
}

.cord-form-cierre .cord-boton {
	margin-top: 12px;
}

.cord-cierre-arquetipo {
	background: #f6f7f7;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
}

.cord-tabla-wrap {
	overflow-x: auto;
}

.cord-tabla-comparacion {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
	margin: 6px 0 20px;
}

.cord-tabla-comparacion th,
.cord-tabla-comparacion td {
	text-align: left;
	padding: 8px 6px;
	border-bottom: 1px solid #eee;
}

.cord-tabla-comparacion .cord-check {
	color: #2f6b4f;
	font-weight: 700;
	text-align: center;
}

.cord-lista-acciones {
	padding-left: 20px;
	font-size: 14px;
	margin: 0 0 10px;
}

.cord-lista-acciones li {
	margin-bottom: 6px;
}

.cord-accion-acertada {
	color: #2f6b4f;
	font-weight: 600;
}

.cord-accion-no-acertada {
	color: #6b6b6b;
}

.cord-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cord-informe {
	margin-top: 6px;
}

.cord-informe summary {
	cursor: pointer;
	list-style: none;
	background: #2b3a67;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	display: inline-block;
}

.cord-informe summary::-webkit-details-marker {
	display: none;
}

.cord-informe summary:hover {
	background: #1f2b4d;
}

.cord-informe[open] summary {
	margin-bottom: 18px;
}

.cord-informe-cuerpo h4 {
	margin: 22px 0 4px;
	font-size: 15px;
}

.cord-nota {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: 14px;
}

.cord-nota-numero {
	font-size: 40px;
	font-weight: 700;
	color: #2b3a67;
	line-height: 1;
}

.cord-nota-sobre {
	font-size: 18px;
	color: #50575e;
	font-weight: 600;
}

.cord-retroalimentacion p {
	font-size: 14.5px;
	margin: 0 0 12px;
}

.cord-tabla-desglose {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin: 6px 0 4px;
}

.cord-tabla-desglose th,
.cord-tabla-desglose td {
	text-align: left;
	padding: 7px 6px;
	border-bottom: 1px solid #eee;
}

.cord-tabla-desglose .cord-fila-total td {
	border-top: 2px solid #d0d5d9;
	border-bottom: none;
	padding-top: 10px;
}

.cord-lista-acciones li {
	margin-bottom: 12px;
}

.cord-accion-explicacion {
	display: block;
	font-size: 12.5px;
	color: #50575e;
	font-weight: 400;
	margin-top: 2px;
}

.cord-accion-acertada .cord-accion-explicacion {
	color: #2f6b4f;
}

.cord-resultado .cord-nota {
	margin-top: 4px;
}

.cord-nota-destacada {
	margin: 0 0 16px;
}

.cord-nota-destacada .cord-nota-numero {
	font-size: 48px;
}

.cord-form-reintentar {
	margin: 4px 0 20px;
}

.cord-opciones-cierre {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin: 4px 0 6px;
}

.cord-opciones-cierre form {
	margin: 0;
}

.cord-boton-secundario {
	background: #fff;
	color: #2b3a67;
	border: 1px solid #2b3a67;
}

.cord-boton-secundario:hover {
	background: #f8f9fb;
}

.cord-caso-pdf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin: 0 0 18px;
	padding: 10px 14px;
	background: #fff4e0;
	border-left: 4px solid #c8781c;
	border-radius: 6px;
}

.cord-caso-pdf p {
	flex: 1 1 220px;
	margin: 0;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
	color: #6b4713;
}

.cord-caso-pdf a {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12.5px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	background: #c8781c;
	border-radius: 20px;
	padding: 7px 14px;
	white-space: nowrap;
}

.cord-caso-pdf a:hover {
	background: #a8611a;
}

/* ------------------------------------------------------------------ */
/* Responsive — pantallas angostas (celular)                          */
/* ------------------------------------------------------------------ */

@media (max-width: 560px) {
	.cord-caja {
		margin: 12px 0;
		padding: 20px 18px;
		border-radius: 8px;
	}

	.cord-caja h3 {
		font-size: 18px;
	}

	.cord-form-entrada {
		flex-direction: column;
		align-items: stretch;
	}

	.cord-form-entrada .cord-boton {
		width: 100%;
	}

	.cord-pilares-grupo {
		gap: 18px;
	}

	.cord-prioridad-fila {
		flex-wrap: wrap;
		gap: 6px 8px;
	}

	.cord-prioridad-fila select {
		flex: 1 1 100%;
	}

	.cord-opciones-cierre {
		flex-direction: column;
		align-items: stretch;
	}

	.cord-opciones-cierre .cord-boton {
		width: 100%;
		text-align: center;
	}

	.cord-form-reintentar .cord-boton {
		width: 100%;
	}

	.cord-caso-pdf {
		flex-direction: column;
		align-items: stretch;
		text-align: left;
	}

	.cord-caso-pdf a {
		justify-content: center;
	}

	.cord-nota-numero {
		font-size: 34px;
	}

	.cord-nota-destacada .cord-nota-numero {
		font-size: 40px;
	}

	.cord-informe summary {
		width: 100%;
		text-align: center;
	}
}
