/* Scoped styles preserve the theme header, footer and page hero. */
.gd-simulado {background:#f5f7fb}
.gd-simulado .gd-page-hero h1 {max-width:1050px}
.gd-quiz-area {padding-top:56px;padding-bottom:36px}
#gd-quiz [hidden] {display:none!important}
#gd-quiz {--quiz-accent:#2563eb;--quiz-ink:#0f172a;--quiz-muted:#526177;--quiz-border:#dbe3ef;color:var(--quiz-ink)}
#gd-quiz h2 {font-size:clamp(1.5rem,2.5vw,2rem);font-weight:750;line-height:1.25;margin:0 0 20px}
#gd-quiz h3 {font-size:1.15rem;font-weight:700;margin:0 0 14px}
#gd-quiz p {line-height:1.75}
.gd-quiz-intro {display:grid;grid-template-columns:1.08fr 1fr;gap:64px;align-items:start}
.gd-quiz-welcome {padding:20px 0}
#gd-quiz .gd-quiz-eyebrow {display:block;font-size:.7rem;font-weight:750;letter-spacing:1.8px;color:#2563eb;margin-bottom:16px}
.gd-quiz-welcome>p {color:var(--quiz-muted);max-width:540px}
.gd-quiz-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:30px 0}
.gd-quiz-stats>div {border-left:2px solid #bfdbfe;padding:0 16px}
.gd-quiz-stats strong {display:block;font-size:2.25rem;line-height:1.2;letter-spacing:-1px;color:#0f172a}
.gd-quiz-stats span {display:block;color:var(--quiz-muted);font-size:.78rem;margin-top:8px}
.gd-quiz-steps {list-style:decimal;padding-left:20px;margin:30px 0;color:var(--quiz-muted);font-size:.92rem;line-height:1.7}
.gd-quiz-steps li {padding:5px 0 5px 7px}
#gd-quiz .gd-quiz-note {font-size:.82rem;background:#eaf1ff;border-radius:12px;padding:16px 18px;color:#244879}
.gd-quiz-card {background:#fff;border:1px solid var(--quiz-border);border-radius:20px;padding:32px;box-shadow:0 6px 28px #0f172a04}
.gd-quiz-fields {display:grid;grid-template-columns:1fr 1.5fr;gap:20px}
.gd-quiz-fields label {display:flex;flex-direction:column;gap:8px;font-size:.84rem;font-weight:650}
.gd-quiz-full {grid-column:1/-1}
.gd-quiz-fields input {width:100%;min-width:0;padding:13px 14px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;font:inherit;font-weight:400;color:#0f172a;min-height:48px}
#gd-quiz input:focus-visible,#gd-quiz button:focus-visible,#gd-quiz summary:focus-visible,#gd-quiz a:focus-visible {outline:3px solid #60a5fa;outline-offset:3px}
#gd-quiz .gd-quiz-small {font-size:.78rem;line-height:1.65;color:var(--quiz-muted)}
#gd-quiz-profile>.gd-quiz-small {margin:20px 0}
#gd-quiz .gd-quiz-btn {display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:48px;padding:13px 22px;background:var(--quiz-accent);color:#fff;border:1px solid var(--quiz-accent);border-radius:10px;font:inherit;font-size:.87rem;font-weight:700;cursor:pointer;transition:background .15s}
#gd-quiz .gd-quiz-btn:hover {background:#1d4ed8}
#gd-quiz .gd-quiz-btn:disabled {opacity:.55;cursor:wait}
#gd-quiz .gd-quiz-secondary {background:#fff;color:#334155;border-color:#cbd5e1}
#gd-quiz .gd-quiz-secondary:hover {background:#f1f5f9}
#gd-quiz-start {width:100%}
.gd-quiz-top {display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
#gd-quiz .gd-quiz-top h2 {margin-bottom:0}
.gd-quiz-layout {display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:28px;align-items:start}
#gd-quiz-exam,#gd-quiz-result {scroll-margin-top:110px}
#gd-quiz-question {border:0;padding:0;margin:0;min-width:0}
#gd-quiz-question legend {font-size:1.15rem;line-height:1.6;font-weight:650;margin-bottom:26px;float:none;width:100%}
.gd-quiz-option {position:relative;display:flex;align-items:center;gap:14px;padding:17px 18px;border:1px solid var(--quiz-border);border-radius:12px;margin:12px 0;font-size:.92rem;line-height:1.6;cursor:pointer;transition:background .15s,border .15s}
.gd-quiz-option:hover {background:#f8fafc;border-color:#94a3b8}
.gd-quiz-option:has(input:checked) {background:#eff6ff;border-color:#2563eb;box-shadow:inset 0 0 0 1px #2563eb}
.gd-quiz-option:has(input:focus-visible) {outline:3px solid #60a5fa;outline-offset:3px}
.gd-quiz-option input {position:absolute;width:1px;height:1px;opacity:0}
.gd-quiz-letter {display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border-radius:8px;background:#f1f5f9;font-weight:750;color:#475569}
.gd-quiz-option:has(input:checked) .gd-quiz-letter {background:#2563eb;color:white}
.gd-quiz-actions {display:flex;justify-content:space-between;gap:16px;margin-top:28px}
.gd-quiz-under {margin:16px 4px}
.gd-quiz-map {padding:24px}
#gd-quiz-progress-label {font-size:.83rem;color:var(--quiz-muted);margin-bottom:10px}
#gd-quiz-progress {display:block;width:100%;height:6px;border:0;border-radius:10px;background:#e2e8f0;accent-color:#2563eb;overflow:hidden}
#gd-quiz-progress::-webkit-progress-bar {background:#e2e8f0}
#gd-quiz-progress::-webkit-progress-value {background:#2563eb}
#gd-quiz-navigation {display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:22px 0 16px}
#gd-quiz-navigation button {height:40px;padding:0;border:1px solid #dbe3ef;background:#fff;border-radius:8px;color:#475569;font:inherit;font-size:.8rem;cursor:pointer}
#gd-quiz-navigation button.is-answered {background:#dbeafe;color:#1e40af;border-color:#bfdbfe}
#gd-quiz-navigation button[aria-current] {outline:2px solid #2563eb;outline-offset:1px;font-weight:750}
#gd-quiz-finish {width:100%;padding-left:10px;padding-right:10px;margin-top:12px}
#gd-quiz-status:not(:empty) {padding:16px 20px;margin:20px 0;border-radius:10px;background:#eff6ff;color:#1e40af}
#gd-quiz-status.is-error {background:#fff1f2;color:#9f1239}
#gd-quiz .gd-quiz-disclaimer {font-size:.75rem;color:#64748b;border-top:1px solid #dbe3ef;margin:40px 0 0;padding-top:24px;line-height:1.8}
.gd-quiz-result-summary {display:grid;grid-template-columns:minmax(0,1fr) 185px;gap:40px;align-items:center;padding:40px}
.gd-quiz-result-summary p {color:var(--quiz-muted);margin-bottom:0}
#gd-quiz .gd-quiz-result-summary h2 {overflow-wrap:anywhere}
.gd-quiz-score {text-align:center;border-radius:18px;padding:22px;background:#eff6ff;color:#1e40af}
.gd-quiz-score span {display:block;font-size:.85rem}
.gd-quiz-score strong {display:block;font-size:4rem;font-weight:800;line-height:1.3;letter-spacing:-3px}
.gd-quiz-result-stats {max-width:640px;margin:32px 0}
.gd-quiz-result-actions {display:flex;gap:24px;align-items:center;margin:32px 0 48px}
.gd-quiz-result-actions p {margin:0}
.gd-quiz-review-toolbar {margin:0 0 22px;font-size:.85rem}
.gd-quiz-review-toolbar label {display:flex;gap:10px;align-items:center;cursor:pointer}
.gd-quiz-review-toolbar input {accent-color:#2563eb;width:18px;height:18px}
.gd-quiz-review-item {background:#fff;border:1px solid var(--quiz-border);border-radius:12px;margin:12px 0;overflow:hidden}
.gd-quiz-review-item summary {display:flex;align-items:start;gap:16px;padding:22px;cursor:pointer;font-size:.92rem;line-height:1.6;list-style:none}
.gd-quiz-review-item summary::after {content:'+';margin-left:auto;font-size:20px}
.gd-quiz-review-item[open] summary::after {content:'−'}
.gd-quiz-badge {flex-shrink:0;border-radius:6px;padding:3px 9px;font-size:.72rem;font-weight:700;background:#dcfce7;color:#166534}
.is-wrong .gd-quiz-badge {background:#ffe4e6;color:#9f1239}
.gd-quiz-review-body {padding:0 22px 24px;font-size:.9rem}
.gd-quiz-review-body p {margin:10px 0}
.gd-quiz-correct-answer {font-weight:650;color:#166534}
.gd-quiz-review-body a {color:#1d4ed8;font-size:.8rem;text-decoration:underline}
#gd-quiz-confirm {border:1px solid #dbe3ef;border-radius:20px;padding:32px;width:calc(100% - 32px);max-width:560px;color:#0f172a;box-shadow:0 20px 80px #0003}
#gd-quiz-confirm::backdrop {background:#0f172a99}
@media(max-width:991px) {.gd-quiz-intro{gap:30px}.gd-quiz-layout{grid-template-columns:minmax(0,1fr) 245px}.gd-quiz-card{padding:24px}.gd-quiz-map{padding:18px}}
@media(max-width:767px) {.gd-quiz-area{padding-top:30px}.gd-quiz-intro,.gd-quiz-layout{grid-template-columns:1fr}.gd-quiz-welcome{padding:0}.gd-quiz-stats{gap:10px}.gd-quiz-stats>div{padding:0 10px}.gd-quiz-stats strong{font-size:1.85rem}.gd-quiz-stats span{font-size:.73rem}.gd-quiz-card{padding:22px 18px;border-radius:14px}.gd-quiz-top{align-items:start}.gd-quiz-top>.gd-quiz-small{display:none}.gd-quiz-option{padding:14px 12px;gap:10px}.gd-quiz-fields{gap:18px 12px}.gd-quiz-result-summary{grid-template-columns:1fr;gap:20px}.gd-quiz-score{max-width:220px;width:100%;justify-self:center}.gd-quiz-result-actions{flex-direction:column;align-items:stretch;gap:12px}.gd-quiz-review-item summary{flex-wrap:wrap;padding:18px;gap:10px}.gd-quiz-review-item summary>span:nth-child(2){flex-basis:100%}.gd-quiz-review-body{padding:0 18px 20px}.gd-quiz-actions{gap:10px}#gd-quiz .gd-quiz-btn{padding:12px 15px;font-size:.81rem}#gd-quiz-confirm .gd-quiz-actions{flex-direction:column}#gd-quiz-navigation{grid-template-columns:repeat(10,1fr);gap:5px}#gd-quiz-navigation button{height:36px}.gd-quiz-map .gd-quiz-small{margin-top:15px}}
@media(max-width:380px) {#gd-quiz-navigation{grid-template-columns:repeat(5,1fr)}.gd-quiz-fields{grid-template-columns:1fr}.gd-quiz-full{grid-column:auto}}
@media(prefers-reduced-motion:reduce) {#gd-quiz *{transition:none!important;scroll-behavior:auto!important}}
