/* Cabeçalho da aula: grade estável e atalhos visíveis, sem scripts adicionais. */
.rp-learning-page .rp-learning-header-v2 .tutor-learning-header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:"title complete tools";align-items:center;gap:12px;min-height:64px;overflow:visible}
.rp-learning-page .rp-learning-header-v2 .tutor-learning-header-content{grid-area:title;min-width:0;max-width:100%;gap:10px;display:flex;align-items:center}
.rp-learning-page .rp-learning-header-v2 .tutor-learning-header-title{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:1.5}
.rp-learning-header-v2 .tutor-learning-header-title>span{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.rp-learning-completion{grid-area:complete;justify-self:center;min-width:0;max-width:100%}.rp-learning-completion>div{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}.rp-learning-completion .tutor-btn{max-width:100%;white-space:normal;text-align:center}
.rp-learning-header-tools{grid-area:tools;display:flex;align-items:center;justify-self:end;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}
.rp-learning-page .rp-learning-header-v2 .rp-learning-shortcut{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 13px;border:1px solid var(--rp-theme-border,#dce2ef);border-radius:24px;background:var(--rp-theme-surface,#fff);color:var(--rp-theme-ink,#14245b);font:500 12px/1.5 Poppins,'Segoe UI',sans-serif;text-decoration:none;white-space:nowrap;box-sizing:border-box}
.rp-learning-header-v2 .rp-learning-shortcut svg{flex-shrink:0}.rp-learning-page .rp-learning-header-v2 .rp-learning-shortcut:is(:hover,:focus-visible,.is-active){background:var(--rp-theme-selected,#e9edff);border-color:var(--rp-theme-blue,#0a2cca);color:var(--rp-theme-blue,#0a2cca)}.rp-learning-header-v2 .rp-learning-shortcut:focus-visible{outline:3px solid var(--rp-theme-blue,#0a2cca);outline-offset:3px}
.rp-learning-header-v2 .rp-theme-control{margin:0;flex:0 0 auto}.rp-learning-header-v2 .tutor-learning-header-toggle-mobile{display:none;grid-area:menu;justify-self:end}
@media(max-width:1100px){.rp-learning-page .rp-learning-header-v2 .tutor-learning-header-inner{grid-template-areas:"title complete menu" "tools tools tools";gap:10px}.rp-learning-header-v2 .rp-learning-header-tools{justify-self:center;justify-content:center}.rp-learning-page .rp-learning-header-v2{padding:10px 16px}.rp-learning-header-v2 .tutor-learning-header-toggle-mobile{display:none}}
@media(max-width:1024px){.rp-learning-header-v2 .tutor-learning-header-toggle-mobile{display:flex}}
@media(max-width:600px){.rp-learning-page .rp-learning-header-v2 .tutor-learning-header-inner{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title menu" "complete complete" "tools tools";gap:9px;min-height:0}.rp-learning-page .rp-learning-header-v2{padding:9px 12px}.rp-learning-header-v2 .rp-learning-header-tools{width:100%;gap:6px}.rp-learning-page .rp-learning-header-v2 .rp-learning-shortcut{min-height:40px;padding:8px 11px;font-size:12px}.rp-learning-header-v2 .rp-learning-completion:empty{display:none}.rp-learning-header-v2 .rp-theme-toggle{min-height:40px!important;min-width:40px!important;margin:0!important}.rp-learning-header-v2 .rp-theme-status{max-width:100%}}
/* Recados: indicador compacto e lista sobre a aula. */
.rp-learning-header-v2 .rp-notices-dot{display:block;flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#d92d20;box-shadow:0 0 0 2px var(--rp-theme-surface,#fff)}
.rp-learning-header-v2 .rp-notices-dot[hidden],.rp-notices-dialog [hidden]{display:none!important}
.rp-learning-page .rp-notices-dialog{position:fixed;inset:0;width:calc(100% - 24px);max-width:640px;max-height:80vh;max-height:80dvh;margin:auto;padding:22px;border:1px solid var(--rp-theme-border,#e5e5ef);border-radius:22px;background:var(--rp-theme-surface,#fff);color:var(--rp-theme-ink,#14245b);box-shadow:0 24px 90px #10182740;overflow:auto;font:14px/1.6 Poppins,'Segoe UI',sans-serif;box-sizing:border-box}
.rp-notices-dialog::backdrop{background:#10182780}
.rp-notices-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.rp-notices-heading h2{margin:0;font:500 27px/1.25 Georgia,serif;color:inherit}.rp-notices-heading p{margin:6px 0;color:var(--rp-theme-muted,#59647e);font-size:12px}
.rp-notices-dialog :is(.rp-notices-close,.rp-notices-more){font:inherit;color:var(--rp-theme-ink,#14245b);border:1px solid var(--rp-theme-border,#e5e5ef);border-radius:20px;background:var(--rp-theme-surface-soft,#f5f6fc);cursor:pointer;min-height:40px;box-sizing:border-box}.rp-notices-dialog .rp-notices-close{flex:0 0 40px;width:40px;padding:0;font-size:26px;line-height:1}.rp-notices-dialog .rp-notices-more{display:block;margin:16px auto 0;padding:8px 16px;max-width:100%;white-space:normal}
.rp-notices-dialog :is(button,summary,a):focus-visible{outline:3px solid var(--rp-theme-blue,#0a2cca);outline-offset:2px}
.rp-notices-status{margin:10px 0;font-size:13px;overflow-wrap:anywhere}.rp-notices-status:empty{display:none}.rp-notices-list{display:grid;gap:10px;margin-top:16px}.rp-notices-list details{border:1px solid var(--rp-theme-border,#e5e5ef);border-radius:15px;min-width:0;overflow-wrap:anywhere}.rp-notices-list summary{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:14px;min-height:48px;cursor:pointer;list-style:none;font-weight:500}.rp-notices-list summary::-webkit-details-marker{display:none}.rp-notices-list summary>span:first-child{flex:1 1 180px;min-width:0}.rp-notices-list summary:after{content:'+';font-size:19px;line-height:1}.rp-notices-list details[open]>summary:after{content:'−'}.rp-notice-unread{font:500 10px/1.5 Poppins,'Segoe UI',sans-serif;color:#b42318;background:#fff0ed;padding:3px 8px;border-radius:20px;white-space:nowrap}.rp-notice-meta{font-size:11px;color:var(--rp-theme-muted,#59647e);margin:0 14px 12px}.rp-notice-body{padding:0 14px 14px;max-width:100%;overflow-wrap:anywhere}.rp-notice-body p:last-child{margin-bottom:0}.rp-notice-body :is(img,video,iframe){max-width:100%;height:auto}.rp-notice-body pre{overflow:auto;max-width:100%}.rp-notice-body table{display:block;max-width:100%;overflow:auto}.rp-notice-body a{color:var(--rp-theme-blue,#0a2cca)}
@media(max-width:600px){.rp-learning-page .rp-notices-dialog{padding:16px;border-radius:18px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}.rp-notices-heading h2{font-size:24px}.rp-notices-list summary{padding:12px;gap:8px}}
/* Resumo do módulo: acordeão fechado abaixo do cabeçalho da aula, com coluna de leitura para textos longos. */
.rp-topic-summary{min-width:0;margin:0 0 20px;border:1px solid var(--rp-theme-border,#e5e5ef);border-radius:16px;background:var(--rp-theme-surface,#fff);color:var(--rp-theme-ink,#14245b);font:400 14px/1.75 Poppins,'Segoe UI',sans-serif;box-sizing:border-box}
.rp-topic-summary>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:10px 18px;border-radius:16px;cursor:pointer;list-style:none;font-size:13px;font-weight:500;color:var(--rp-theme-ink,#14245b)}
.rp-topic-summary>summary::-webkit-details-marker{display:none}.rp-topic-summary>summary::after{content:'+';flex:0 0 auto;font-size:19px;font-weight:400;line-height:1;color:var(--rp-theme-muted,#59647e)}.rp-topic-summary[open]>summary::after{content:'−'}
.rp-topic-summary>summary:hover{background:var(--rp-theme-surface-soft,#f5f6fc)}.rp-topic-summary>summary:focus-visible{outline:3px solid var(--rp-theme-blue,#0a2cca);outline-offset:2px}.rp-topic-summary[open]>summary{border-bottom:1px solid var(--rp-theme-border,#e5e5ef);border-radius:16px 16px 0 0}
.rp-topic-summary-text{max-width:72ch;padding:16px 18px 18px;overflow-wrap:anywhere}.rp-topic-summary-text>:first-child{margin-top:0}.rp-topic-summary-text>:last-child{margin-bottom:0}.rp-topic-summary-text p{margin:0 0 1em;color:inherit}.rp-topic-summary-text :is(ul,ol){margin:0 0 1em;padding-left:1.4em}.rp-topic-summary-text a{color:var(--rp-theme-blue,#0a2cca)}.rp-topic-summary-text :is(img,video,iframe){max-width:100%;height:auto}
.rp-topic-summary:has(+.tutor-course-topic-single-body){margin:16px}
@media(max-width:600px){.rp-topic-summary{margin-bottom:16px;border-radius:14px}.rp-topic-summary>summary{padding:10px 14px}.rp-topic-summary-text{padding:14px}}
