#mieres-quiz-results-root{
width:100%;
}

.mieres-quiz-result{
display:flex;
justify-content:center;
padding:24px 12px;
}

.result-card{
width:100%;
max-width:900px;
background:#ffffff;
border:1px solid #e9eef5;
border-radius:14px;
overflow:hidden;
box-shadow:0 10px 24px rgba(0,0,0,0.06);
}

/* =========================
HEADER
========================= */

.result-card__header{
display:flex;
justify-content:space-between;
align-items:center;
padding:22px;
border-bottom:1px solid #eef2f7;
background:#0b3aa4;
}

.result-card__title{
margin:0;
font-size:22px;
letter-spacing:0.12em;
font-weight:800;
color:#ffffff;
line-height:1;
}

.header-right{
display:flex;
flex-direction:column;
justify-content:center;
text-align:right;
background:#ffffff;
padding:12px 14px;
border-radius:8px;
}

.header-result-label{
font-size:12px;
letter-spacing:0.12em;
font-weight:800;
color:#8a95a6;
margin-bottom:4px;
}

.header-result-value{
font-size:14px;
font-weight:500;
color:#253049;
}

/* =========================
BODY
========================= */

.result-card__body{
padding:22px;
}

/* =========================
NOTA FINAL
========================= */

.note-block{
text-align:center;
padding:18px 14px;
border:1px solid #eef2f7;
border-radius:14px;
background:#f7f9ff;
}

.note-label{
font-size:18px;
letter-spacing:0.16em;
font-weight:800;
color:#8a95a6;
}

.note-grade{
font-size:74px;
line-height:1;
font-weight:900;
color:#f2c200;
margin-top:8px;
}

/* =========================
SEPARADORES
========================= */

.separator{
border:none;
height:1px;
background:#e5eaf2;
margin:18px 0;
}

.separator--strong{
border:none;
height:1px;
background:#e5eaf2;
margin:18px 0;
}

/* =========================
SECCIONES DE TEXTO
========================= */

.result-section{
margin:0;
padding:0;
}

.comment-title{
margin:0 0 20px 0;
font-size:16px;
letter-spacing:0.14em;
font-weight:900;
color:#8a95a6;
text-transform:uppercase;
line-height:1.1;
}

.comment-text{
margin:0 0 18px 0;
font-size:16px;
line-height:1.7;
color:#253049;
}

.comment-title + .comment-text{
margin-top:0;
}

/* Informe: sin caja, pero respetando saltos de línea */
#mq-result-informe{
white-space:pre-line;
}

/* =========================
BOTÓN
========================= */

.mieres-quiz__restart{
width:100%;
margin-top:24px;
padding:14px 16px;
border-radius:12px;
border:none;
background:#0b3aa4;
color:#ffffff;
font-weight:900;
font-size:16px;
cursor:pointer;
}

.mieres-quiz__restart:hover{
filter:brightness(1.05);
}

/* =========================
RESPONSIVE
========================= */

@media (max-width:520px){

.result-card__header{
flex-direction:row;
align-items:center;
}

.result-card__body{
padding:18px 16px;
}

.note-grade{
font-size:62px;
}

.separator{
margin:16px 0;
}

.comment-text{
margin-bottom:16px;
}

}

#mieres-quiz-results-root .mq-signup{
margin:12px 0 6px 0;
padding:14px 14px;
border-radius:12px;
border:1px solid #e8eef9;
background:#fbfdff;
overflow:hidden;
}

#mieres-quiz-results-root .mq-signup__iframe{
display:block;
width:100%;
border:0;
}