/* AP MED Cursos 2.0.67 — refinamentos mantendo identidade do sistema */
/* Modal guia do aluno */
.apc67-guide[hidden]{display:none!important}
.apc67-guide{position:fixed;inset:0;z-index:11000;display:grid;place-items:center;padding:18px}
.apc67-guide-shade{position:absolute;inset:0;background:rgba(4,23,38,.70);backdrop-filter:blur(5px)}
.apc67-guide-dialog{position:relative;z-index:1;background:var(--card,#fff);color:var(--text,#14324c);width:min(590px,100%);max-height:min(90vh,820px);overflow:auto;border:1px solid var(--border,#dce8ef);border-radius:24px;padding:clamp(18px,3vw,30px);box-shadow:0 30px 90px rgba(3,22,38,.3);outline:none}
.apc67-guide-header{display:flex;justify-content:space-between;gap:15px;align-items:start}
.apc67-guide-header h2{font-size:clamp(21px,2.6vw,29px);margin:7px 0;color:var(--navy,#0d2e4b)}
.apc67-guide-header p:not(.eyebrow){font-size:13px;line-height:1.6;color:var(--muted,#789);margin:0}
.apc67-guide-close{font-size:27px;flex-shrink:0}
.apc67-guide-progress{height:5px;border-radius:30px;background:rgba(99,131,150,.14);overflow:hidden;margin:23px 0 20px}.apc67-guide-progress span{display:block;background:#11b9c6;width:0;height:100%;transition:width .2s}
.apc67-guide-count{display:inline-flex;font-size:11px;font-weight:800;color:#078f9e;letter-spacing:.08em}
.apc67-guide-body h3{font-size:clamp(19px,2.6vw,25px);margin:9px 0 10px;color:var(--navy,#0d2e4b)}
.apc67-guide-body>p{line-height:1.7;margin:0;font-size:15px}
.apc67-guide-tip{background:rgba(17,185,198,.055);border:1px solid rgba(17,185,198,.23);border-radius:14px;padding:15px;margin:20px 0;font-size:13px;line-height:1.65}
.apc67-guide-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;flex-wrap:wrap}.apc67-guide-actions .btn{min-height:42px}.apc67-guide-actions [data-apc67-guide-skip]{margin-right:auto}
.apc67-guide-open{overflow:hidden}
html[data-theme=dark] .apc67-guide-header h2,html[data-theme=dark] .apc67-guide-body h3{color:var(--text,#f1fafc)}
/* Histórico recente usa mesmo modelo do histórico dos simulados */
.apc67-recent-panel{padding:24px 26px;margin-top:20px}
.apc67-result-card .apc56-attempt-details .apc56-attempt-meta strong{font-size:14px;overflow-wrap:anywhere}
.apc67-result-card .apc56-attempt-details .muted{overflow-wrap:anywhere}
.apc67-result-card .btn{min-width:134px;justify-content:center;text-align:center}
/* Hierarquia visual clara: módulo -> aula -> nota */
.apc67-note-grid{align-items:stretch;gap:16px}.apc67-notebook-card{min-width:0;display:flex;flex-direction:column;gap:16px;padding:20px}
.apc67-notebook-card .apc52-paper{display:grid;align-content:start;gap:0;min-width:0}
.apc67-note-label{display:block;font-size:10px!important;letter-spacing:.12em;font-weight:900!important;color:#0b9aab!important;line-height:1.4}
.apc67-note-origin{padding:0 0 14px;border-bottom:1px solid var(--border,#dbe9f0);display:grid;gap:5px}
.apc67-note-module{display:block;font-size:12px;color:var(--muted,#6c8595);font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.apc67-note-heading{display:grid;gap:5px;padding:16px 0 15px}
.apc67-note-heading h3{margin:0!important;font-size:clamp(17px,2vw,21px)!important;line-height:1.35!important;color:var(--navy,#0D2E4B);font-weight:850;overflow-wrap:anywhere}
.apc67-notebook-card .apc52-note-preview{border-top:1px solid var(--border,#dbe9f0);padding-top:13px;line-height:1.65;overflow-wrap:anywhere}
.apc67-notebook-card .apc52-inline-actions{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.apc67-notebook-card>.btn{align-self:center}
/* Centralização cuidadosa apenas dos grupos de ações acadêmicas */
.apc57-question-actions,.apc64-page-actions,.apc47-fc-card-actions,.apc38-proof-actions,.sim-bottom-actions,.apc56-review-note-actions{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;margin-block:16px}
.apc57-question-actions .btn,.apc64-page-actions .btn,.apc38-proof-actions .btn{min-height:40px;text-align:center;justify-content:center;white-space:normal}
.apc47-fc-card{min-width:0}.apc47-fc-card>small{display:block;line-height:1.55;margin:0 0 15px!important;color:#0d9aa9!important;font-size:11px!important}
.apc47-fc-card>strong{display:block;font-size:15px;line-height:1.5;margin:0 0 12px!important;overflow-wrap:anywhere;color:var(--navy,#0d2e4b)}
.apc47-fc-card>p{margin:0 0 19px!important;line-height:1.6;font-size:12px;color:var(--muted,#789);overflow-wrap:anywhere}
.apc67-guto-banner{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:22px;padding:22px}
.apc67-guto-banner h2{font-size:20px;margin:5px 0 8px}.apc67-guto-banner p:not(.eyebrow){font-size:13px;line-height:1.6;color:var(--muted,#789);margin:0}
.apc67-guto-banner .btn{flex-shrink:0}
html[data-theme=dark] .apc67-note-heading h3,html[data-theme=dark] .apc47-fc-card>strong{color:var(--text,#f3fafa)}
@media(max-width:720px){.apc67-recent-panel{padding:16px}.apc67-guto-banner{flex-direction:column;align-items:stretch;padding:17px}.apc67-guto-banner .btn{width:100%;justify-content:center}.apc67-guide{padding:12px}.apc67-guide-dialog{border-radius:19px;padding:19px}.apc67-guide-actions{justify-content:stretch}.apc67-guide-actions .btn{flex:1}.apc67-guide-actions [data-apc67-guide-skip]{flex-basis:100%;order:2;margin:2px 0 0}.apc67-result-card{grid-template-columns:50px minmax(0,1fr);gap:11px}.apc67-result-card .apc56-attempt-result{grid-column:1;grid-row:2}.apc67-result-card>.btn{grid-column:2;grid-row:2}.apc67-notebook-card{padding:15px}.apc57-question-actions .btn,.apc64-page-actions .btn{flex:1 1 145px}}
