/* Gerado por tools/pedagogia_web.sh: não edite aqui (a fonte é app/src/app/pedagogia/pedagogia.css). */
:root { --accent: #A95A38; --font-book: Georgia, "Times New Roman", serif; color-scheme: dark; }
html, body { height: 100%; }
body { margin: 0; background: #151312; color: #f0ece8; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; -webkit-font-smoothing: antialiased; overflow: hidden; }
*, *::before, *::after { box-sizing: border-box; }
.apagado { opacity: .5; }
/* Arquitetura Pedagógica (docs/planejamento/ESPEC-MOTOR-PEDAGOGICO.md, seções 20 e 21): layout próprio do módulo, em
   tela cheia. Cores do KROJ (--k-*, terracota); nada de azul. Tudo com o prefixo pg-. */
.pg { position: fixed; inset: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: 46px minmax(0, 1fr); background: #151312; color: #f0ece8; font-size: 13px; z-index: 1; }
.pg button, .pg select, .pg input { font: inherit; color: inherit; }
body.kroj-web .pg { top: var(--wm-h, 0px); } /* na web, abaixo da barra de menus */
.pg-sp { flex: 1; }

/* barra de cima */
.pg-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 0 14px; background: #1c1917; border-bottom: 1px solid #2e2a28; min-width: 0; }
.kroj-native .pg-top { padding-left: 86px; } /* os três botões da janela no app do Mac */
.pg-logo { border-radius: 22.5%; box-shadow: 0 1px 3px rgba(0, 0, 0, .5); flex: none; }
.pg-mod { font-size: 10px; letter-spacing: .2em; color: #9a9591; white-space: nowrap; }
.pg-mod b { color: #f0ece8; font-weight: 600; letter-spacing: .14em; font-size: 12px; margin-right: 10px; }
.pg-crumb { display: flex; align-items: center; gap: 8px; min-width: 0; margin-left: 10px; font-size: 12px; color: #a8a39f; white-space: nowrap; }
.pg-crumb b { color: #f0ece8; font-weight: 400; }
.pg-crumb select { max-width: 320px; height: 26px; padding: 0 8px; border-radius: 6px; border: 1px solid #3a3634; background: #252220; color: #f0ece8; }
.pg-sep { color: #6b6460; }
.pg-ver, .pg-herda { color: #9a9591; font-size: 11px; }
.pg-voltar { color: #c4bfbb; font-size: 12px; text-decoration: none; padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.pg-voltar:hover { background: #2e2a28; color: #f0ece8; }

/* trilho */
.pg-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0; background: #1c1917; border-right: 1px solid #2e2a28; }
.pg-rail a { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; color: #a8a39f; }
.pg-rail a:hover { background: #2e2a28; color: #f0ece8; }
.pg-rail a.on { background: var(--accent, #A95A38); color: #fff; }

/* botões */
.pg-btn { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 12px; border: 0; border-radius: 6px; background: #3a3634; color: #f0ece8; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.pg-btn:hover:not(:disabled) { background: #46413e; }
.pg-btn.p { background: var(--accent, #A95A38); color: #fff; }
.pg-btn.p:hover:not(:disabled) { background: #8a4a2f; }
.pg-btn.perigo { color: #f0a08a; }
.pg-btn:disabled, .pg-btn.apagado { opacity: .5; cursor: default; }
.pg :focus-visible { outline: 2px solid #e0a487; outline-offset: 2px; }

.pg-aviso { position: absolute; top: 56px; left: 50%; transform: translateX(-50%); z-index: 9; display: flex; gap: 12px; align-items: center; max-width: 560px; padding: 9px 14px; border-radius: 10px; background: #3a2620; border: 1px solid #7a4030; color: #f6d9cf; font-size: 12.5px; white-space: pre-line; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
.pg-aviso button { background: none; border: 0; cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 6px; }

/* cartões e estados vazios */
.pg-cartao { background: #2e2a28; border: 1px solid #3a3634; border-radius: 12px; padding: 16px 18px; }
.pg-cartao h2 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.pg-cartao h3 { margin: 0 0 10px; font-size: 10px; font-weight: 400; letter-spacing: .09em; text-transform: uppercase; color: #9a9591; }
.pg-cartao p { margin: 0 0 12px; color: #c4bfbb; line-height: 1.5; }
.pg-vazio { display: grid; place-items: center; padding: 24px; overflow: auto; }
.pg-vazio .pg-cartao { max-width: 460px; }
.pg-acoes { display: flex; gap: 8px; justify-content: flex-end; }

/* estrutura */
.pg-estrutura { overflow: auto; padding: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; align-content: start; }
.pg-largo { grid-column: 1 / -1; }
/* Estrutura do percurso: linha do tempo vertical, uma parte por linha; princípios e elementos em abas */
.es { overflow: auto; padding: 28px 22px 48px; }
.es > * { max-width: 960px; margin-left: auto; margin-right: auto; }
.es .pg-erros { margin-bottom: 18px; }
.es-abas { display: flex; gap: 4px; width: max-content; max-width: 100%; background: #211e1c; border: 1px solid #33302d; border-radius: 10px; padding: 3px; margin-bottom: 22px; }
.es .es-abas button { all: unset; cursor: pointer; padding: 5px 16px; border-radius: 7px; color: #a8a39f; font-size: 12.5px; }
.es .es-abas button.on { background: #3a3634; color: #f0ece8; }
.es .es-abas button:focus-visible { outline: 2px solid #d98a63; outline-offset: 1px; }
.es-lead { text-align: center; color: #a8a39f; font-size: 13px; margin: 0 auto 24px; }
.es-linha { position: relative; padding-left: 56px; }
.es-linha::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 1.5px; background: #3a3634; }
.es-parte { position: relative; background: #211e1c; border: 1px solid #33302d; border-radius: 14px; padding: 16px 22px; margin-bottom: 12px; }
.es-parte h4 { margin: 0; font-size: 15px; font-weight: 600; color: #f0ece8; }
.es-n { position: absolute; left: -56px; top: 14px; width: 38px; height: 38px; border-radius: 50%; background: #141211; border: 1.5px solid #d98a63; color: #e0a487; display: grid; place-items: center; font-size: 14px; }
.es-q { margin: 2px 0 0; font-size: 11px; color: #a8a39f; }
.es-q b { font-weight: 400; color: #d98a63; }
.es-periodo { background: transparent; border-style: dashed; padding: 11px 22px; }
.es-periodo h4 { font-size: 13px; font-weight: 500; color: #c4bfbb; }
.es-periodo .es-n { top: 6px; border-color: #6a625c; color: #9a9591; }
.es-cap { border: 1px solid #4a3a30; border-radius: 18px; padding: 14px 14px 2px; margin: 4px -14px 16px; }
.es-cap .es-n { left: -57px; }
.es-t { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #d98a63; margin: 0 0 10px 6px; }
.es-els { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #33302d; }
.es-els > div { font-size: 13px; color: #f0ece8; }
.es-els span { display: block; font-size: 11px; color: #a8a39f; line-height: 1.4; }
.es-lista section { background: #211e1c; border: 1px solid #33302d; border-radius: 14px; padding: 18px 22px; margin-bottom: 14px; }
.es-lista .es-t { margin-left: 0; }
.es-item { font-size: 13px; color: #f0ece8; padding: 10px 0; border-top: 1px solid #33302d; }
.es-item:first-of-type { border-top: 0; padding-top: 0; }
.es-item span { display: block; font-size: 11px; color: #a8a39f; margin-top: 2px; }
.es-livres { margin-top: 0; padding-top: 0; border-top: 0; }
.es-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.es-chips span { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: #2e2a28; border: 1px solid #3a3634; color: #e8e6e4; }
@media (max-width: 640px) {
  .es { padding: 16px 12px 40px; }
  .es-linha { padding-left: 40px; }
  .es-linha::before { left: 13px; }
  .es-n { left: -40px; width: 28px; height: 28px; font-size: 12px; }
  .es-cap { margin-left: -8px; margin-right: -8px; padding: 12px 8px 2px; }
  .es-cap .es-n { left: -41px; }
  .es-parte { padding: 14px 16px; }
  .es-els { grid-template-columns: minmax(0, 1fr); }
}
.pg-partes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.pg-parte { background: #252220; border: 1px solid rgba(255, 255, 255, .075); border-radius: 12px; padding: 12px; min-width: 0; }
.pg-parte header { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.pg-parte h4 { margin: 0; font-size: 13px; font-weight: 600; }
.pg-parte em { font-style: normal; font-size: 11px; color: #d79c80; }
.pg-num { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--accent, #A95A38); color: #e0a487; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; }
.pg-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.pg-tags span { font-size: 10.5px; padding: 2px 8px; border-radius: 4px; background: #3a3634; color: #e8e6e4; }
.pg-el { display: flex; flex-direction: column; gap: 1px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.pg-el b { font-size: 12.5px; font-weight: 400; color: #f0ece8; }
.pg-el span { font-size: 11px; color: #a8a39f; line-height: 1.4; }
.pg-erros { border-color: #7a4030; }
.pg-erros ul { margin: 0; padding-left: 18px; color: #f6d9cf; }

/* fluxo: canvas */
.pg-area { position: relative; overflow: hidden; min-width: 0; min-height: 0; }
.pg-cv { position: absolute; inset: 0 0 30px 0; background: #151312 radial-gradient(#2b2826 1px, transparent 1.2px) 0 0 / 22px 22px; cursor: grab; touch-action: none; }
.pg-cv:active { cursor: grabbing; }
.pg-svg { width: 100%; height: 100%; display: block; user-select: none; }
.pg-raia { fill: #1f1c1a; stroke: #34302e; }
.pg-raia.par { fill: #1b1917; }
.pg-raia-nome { fill: #2b2826; stroke: #34302e; }
.pg-raia-t { font-size: 9.5px; font-weight: 500; letter-spacing: .12em; fill: #a8a39f; }
.pg-linha { fill: none; stroke: #b9b2ac; stroke-width: 1.6; }
#pg-seta path { fill: #b9b2ac; }
.pg-rot { font-size: 10.5px; fill: #c4bfbb; paint-order: stroke; stroke: #151312; stroke-width: 4px; }
.pg-inicio { fill: #1f1c1a; stroke: #8fbf9f; stroke-width: 2; }
.pg-fim { fill: #1f1c1a; stroke: #f0ece8; stroke-width: 4; }
.pg-losango { fill: #252220; stroke: var(--accent, #A95A38); stroke-width: 1.8; }
.pg-losango-t { font-size: 11px; font-weight: 600; fill: #e0a487; }
.pg-no { cursor: pointer; outline: none; }
.pg-no-c { fill: #f6f1ea; }
.pg-no.trabalho .pg-no-c { fill: #2e2a28; stroke: #4a4644; }
.pg-no-sel { fill: none; stroke: var(--accent, #A95A38); stroke-width: 2; }
.pg-no:focus-visible .pg-no-c { stroke: #e0a487; stroke-width: 2.5; }
.pg-no-n { fill: var(--accent, #A95A38); }
.pg-no-nt { font-size: 11px; font-weight: 600; fill: #fff; }
.pg-no-t { font-size: 12px; font-weight: 600; fill: #2b2623; }
.pg-no-d { font-size: 9.5px; fill: #6b5c52; }
.pg-no.trabalho .pg-no-t { fill: #e8e6e4; }
.pg-no.trabalho .pg-no-d { fill: #a8a39f; }
.pg-no-aqui { fill: var(--accent, #A95A38); }

/* fluxo: painel flutuante */
.pg-painel { position: absolute; left: 14px; top: 14px; bottom: 44px; width: 356px; display: flex; flex-direction: column; background: rgba(37, 34, 32, .97); border: 1px solid #3a3634; border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .6); overflow: hidden; }
.pg-painel h3 { margin: 0; padding: 16px 18px 4px; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-sub { margin: 0; padding: 0 18px 12px; font-size: 11px; color: #a8a39f; border-bottom: 1px solid #3a3634; }
.pg-rolo { flex: 1; min-height: 0; overflow: auto; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.pg-card { display: flex; flex-direction: column; gap: 8px; padding: 11px 13px; background: #2e2a28; border: 1px solid #3a3634; border-radius: 10px; }
.pg-card h5 { display: flex; justify-content: space-between; margin: 0; font-size: 10px; font-weight: 400; letter-spacing: .09em; text-transform: uppercase; color: #9a9591; }
.pg-card h5 span { letter-spacing: 0; text-transform: none; font-size: 11px; color: #a8a39f; }
.pg-campo { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: #a8a39f; }
.pg-campo input, .pg-campo select, .pg-obra select, .pg-obra-nova input { height: 28px; padding: 0 8px; border-radius: 6px; border: 1px solid #4a4644; background: #252220; color: #f0ece8; font-size: 13px; min-width: 0; }
.pg-tri { display: flex; border: 1px solid #4a4644; border-radius: 6px; overflow: hidden; }
.pg-tri button { flex: 1; height: 26px; border: 0; background: none; color: #c4bfbb; font-size: 12px; cursor: pointer; }
.pg-tri button + button { border-left: 1px solid #4a4644; }
.pg-tri button.on { background: var(--accent, #A95A38); color: #fff; }
.pg-nota { margin: 0; font-size: 11px; color: #a8a39f; line-height: 1.4; }
.pg-opc { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #f0ece8; cursor: pointer; }
.pg-opc input { width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--accent, #A95A38); flex: none; }
.pg-opc span { display: flex; flex-direction: column; }
.pg-opc small { font-size: 10.5px; color: #a8a39f; }
.pg-regras { display: flex; flex-direction: column; gap: 6px; max-height: 190px; overflow: auto; padding: 8px 10px; border-radius: 8px; background: #252220; }
.pg-obra { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.pg-obra > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-obra select { height: 24px; font-size: 11px; }
.pg-obra button { width: 24px; height: 24px; border: 0; border-radius: 6px; background: none; color: #c4bfbb; cursor: pointer; font-size: 15px; }
.pg-obra button:hover { background: #3a3634; }
.pg-obra-nova { display: flex; gap: 6px; }
.pg-obra-nova input { flex: 1; }
.pg-obra-nova button { height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: #3a3634; color: #f0ece8; font-size: 12px; cursor: pointer; }
.pg-obra-nova button:disabled { opacity: .5; cursor: default; }
.pg-linha-botoes { display: flex; gap: 6px; flex-wrap: wrap; }
.pg-erros-fluxo { margin: 0 10px 8px; padding: 8px 11px; border-radius: 8px; background: #3a2620; border: 1px solid #7a4030; font-size: 11.5px; color: #f6d9cf; max-height: 120px; overflow: auto; }
.pg-erros-fluxo p { margin: 0 0 3px; }
.pg-pe { display: flex; align-items: center; gap: 6px; padding: 10px; border-top: 1px solid #3a3634; background: #2b2826; }
.pg-estado { flex: 1; min-width: 0; font-size: 11px; color: #a8a39f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-estado.salvo { color: #9fd0ae; }

/* fluxo: paleta, controles e rodapé */
.pg-paleta { position: absolute; left: 50%; bottom: 44px; transform: translateX(calc(-50% + 178px)); display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: #252220; border: 1px solid #3a3634; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .6); font-size: 11px; color: #c4bfbb; white-space: nowrap; }
.pg-paleta button { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 6px; border: 1px solid #3a3634; background: #2e2a28; color: #f0ece8; font-size: 12px; cursor: pointer; }
.pg-paleta button:hover { background: #3a3634; }
.pg-paleta i.q { width: 12px; height: 10px; border-radius: 3px; background: #f6f1ea; }
.pg-paleta i.q.t { background: none; border: 1.5px solid #a8a39f; }
.pg-ctl { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; align-items: center; }
.pg-ctl button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 1px solid #3a3634; background: #252220; color: #f0ece8; font-size: 18px; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .5); }
.pg-ctl button:hover { background: #3a3634; }
.pg-ctl span { font-size: 10.5px; color: #c4bfbb; background: #252220; border: 1px solid #3a3634; border-radius: 6px; padding: 2px 7px; }
.pg-status { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; display: flex; align-items: center; justify-content: center; gap: 30px; background: #1c1917; border-top: 1px solid #2e2a28; font-size: 11.5px; color: #a8a39f; white-space: nowrap; overflow: hidden; }
.pg-status b { color: #f0ece8; font-weight: 500; }

/* avisos que deram certo, espera */
.pg-aviso.ok { background: #20301f; border-color: #3f6a48; color: #d5efd9; }
.pg-gira { width: 12px; height: 12px; margin-right: 7px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: pg-gira .8s linear infinite; }
@keyframes pg-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pg-gira { animation-duration: 3s; } }

/* materiais */
.pg-cartao h3 span { letter-spacing: 0; margin-left: 6px; color: #a8a39f; }
.pg-novo { display: flex; flex-direction: column; gap: 10px; grid-column: 1 / -1; max-width: 620px; }
.pg-novo p { margin: 0; }
.pg-novo .pg-campo input[type=file] { height: auto; padding: 6px 8px; }
.pg-novo .pg-acoes { align-items: center; }
.pg-lista { display: flex; flex-direction: column; }
.pg-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.pg-item > a { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; padding: 2px 6px; border-radius: 6px; }
.pg-item > a:hover { background: #3a3634; }
.pg-item b { font-size: 13px; font-weight: 400; color: #f0ece8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-item a span { font-size: 11px; color: #a8a39f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-confirma { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #f6d9cf; white-space: nowrap; }

/* mapa do capítulo */
.pg-mapa { position: absolute; left: 0; top: 0; transform-origin: 0 0; display: flex; align-items: flex-start; gap: 26px; padding-bottom: 80px; will-change: transform; }
.pg-col { width: 264px; flex: none; }
.pg-col header { display: flex; gap: 10px; align-items: center; margin-bottom: 3px; }
.pg-col h4 { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.pg-col em { font-style: normal; font-size: 10.5px; color: #d79c80; }
.pg-col-n { margin: 0 0 9px 38px; font-size: 10px; color: #a8a39f; }
.pg-col-vazia { padding: 14px; border: 1px dashed #4a4644; border-radius: 8px; font-size: 11.5px; color: #a8a39f; text-align: center; }
.pg-un-grupo { margin-bottom: 9px; }
.pg-un { position: relative; background: #f6f1ea; color: #2b2623; border-radius: 8px; padding: 9px 11px 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); user-select: text; }
.pg-un.bx { background: #f4dfd4; }
.pg-un.sel { outline: 2px solid var(--accent, #A95A38); outline-offset: 2px; }
.pg-un-t { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #7a3f27; margin-bottom: 3px; }
.pg-un p { margin: 0 0 3px; font: 12px/1.38 var(--font-book, Georgia, serif); overflow-wrap: anywhere; }
.pg-un p.alt { padding-left: 12px; color: #4a403a; }
.pg-un p.img { font-family: inherit; font-size: 11px; color: #5a4e46; }
.pg-un-ctx { font-size: 9.5px; color: #6b5c52; margin-top: 3px; }
.pg-un-ch { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.pg-un-ch span { font-size: 9.5px; padding: 1.5px 7px; border-radius: 4px; background: #e6ddd2; color: #4a403a; }
.pg-un-ch span.hb { background: #2b2826; color: #f0ece8; }
.pg-un-mk { position: absolute; right: -7px; top: -7px; display: flex; gap: 2px; }
.pg-un-mk i, .pg-aps i, .pg-nota-h i { font-style: normal; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 10px; font-weight: 600; color: #1c1917; background: #d98b68; }
.pg-un-mk i.recom, .pg-aps i.recom, .pg-nota-ap.recom .pg-nota-h i { background: #d9b45f; }
.pg-un-mk i.conferir, .pg-aps i.conferir, .pg-nota-ap.conferir .pg-nota-h i { background: #b9a3dc; }
.pg-nota-ap { display: flex; flex-direction: column; gap: 3px; width: calc(100% - 16px); margin: 5px 0 0 16px; padding: 8px 10px; text-align: left; background: #252220; border: 1px solid #3a3634; border-left: 3px solid #d98b68; border-radius: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); cursor: pointer; color: #f0ece8; }
.pg-col > .pg-nota-ap { width: 100%; margin: 0 0 9px; }
.pg-nota-ap.recom { border-left-color: #d9b45f; }
.pg-nota-ap.conferir { border-left-color: #b9a3dc; }
.pg-nota-ap.sel { border-color: var(--accent, #A95A38); box-shadow: 0 0 0 1px var(--accent, #A95A38), 0 4px 14px rgba(0, 0, 0, .5); }
.pg-nota-ap.fora { opacity: .35; }
.pg-nota-ap.recusado .pg-nota-m { text-decoration: line-through; color: #a8a39f; }
.pg-nota-ap.aceito, .pg-nota-ap.editado { border-left-color: #8fbf9f; }
.pg-nota-h { display: flex; align-items: center; gap: 6px; font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: #c4bfbb; }
.pg-nota-m { font-size: 11.5px; line-height: 1.4; }

/* mapa: painel */
.pg-filtros { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 2px; }
.pg-filtros button { height: 24px; padding: 0 9px; border-radius: 6px; border: 1px solid #4a4644; background: none; color: #c4bfbb; font-size: 11px; cursor: pointer; }
.pg-filtros button.on { border-color: var(--accent, #A95A38); color: #fff; background: rgba(169, 90, 56, .25); }
.pg-aps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pg-aps button { display: flex; gap: 9px; align-items: flex-start; width: 100%; padding: 7px 8px; border: 0; border-radius: 9px; background: none; color: inherit; text-align: left; cursor: pointer; }
.pg-aps button:hover { background: #2e2a28; }
.pg-aps button.on { background: #2e2a28; box-shadow: inset 0 0 0 1px var(--accent, #A95A38); }
.pg-aps span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pg-aps b { font-size: 12.5px; font-weight: 400; line-height: 1.35; }
.pg-aps small { font-size: 10.5px; color: #a8a39f; }
.pg-aps button.recusado b { text-decoration: line-through; color: #a8a39f; }
.pg-ap-m { margin: 0; font-size: 12.5px; line-height: 1.45; color: #f0ece8; }
.pg-ap-q { margin: 0; padding-left: 9px; border-left: 2px solid var(--accent, #A95A38); font-size: 11.5px; line-height: 1.45; color: #c4bfbb; }
.pg-ap-dec { margin: 0; padding: 6px 9px; border-radius: 6px; background: #252220; font-size: 11.5px; color: #d5efd9; }
.pg-nota.ok { color: #9fd0ae; }
.pg-campo textarea { padding: 6px 8px; border-radius: 6px; border: 1px solid #4a4644; background: #252220; color: #f0ece8; font: inherit; font-size: 12.5px; resize: vertical; }

/* mapa: barra da etapa, portão */
.pg-barra { position: absolute; left: 384px; right: 64px; top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; pointer-events: none; }
.pg-barra > * { pointer-events: auto; }
.pg-seg { display: flex; border: 1px solid #3a3634; border-radius: 7px; overflow: hidden; background: #252220; box-shadow: 0 4px 12px rgba(0, 0, 0, .5); }
.pg-seg a { padding: 6px 11px; font-size: 11px; color: #c4bfbb; text-decoration: none; white-space: nowrap; border-right: 1px solid #3a3634; }
.pg-seg a:last-child { border-right: 0; }
.pg-seg a:hover { background: #2e2a28; }
.pg-seg a.on { background: var(--accent, #A95A38); color: #fff; }
.pg-barra select { height: 28px; padding: 0 8px; border-radius: 6px; border: 1px solid #3a3634; background: #252220; color: #f0ece8; font-size: 12px; }
.pg-barra .pg-btn { box-shadow: 0 4px 12px rgba(0, 0, 0, .5); text-decoration: none; }
.pg-portao.fechado { color: #f0a08a; }
.pg-portao.aviso { color: #e6c877; }
.pg-portao.aberto { color: #9fd0ae; }
.pg-detalhe { flex: none; max-height: 52%; overflow: auto; padding: 0 10px 10px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #3a3634; padding-top: 10px; }
.pg-detalhe:empty { display: none; }

/* web: organização na barra, obras de referência, trechos achados */
.pg-org, .pg-org-nome { margin-left: 10px; font-size: 12px; color: #f0ece8; }
.pg-org { max-width: 220px; height: 26px; padding: 0 8px; border-radius: 6px; border: 1px solid #3a3634; background: #252220; }
.pg-org-nome { padding: 3px 9px; border-radius: 12px; background: #2e2a28; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.pg-item-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 2px 6px; }
.pg-item-t span { font-size: 11px; color: #a8a39f; }
.pg-acoes-esq { justify-content: flex-start; align-items: center; margin-top: 12px; gap: 12px; }
.pg-gira.esc { display: inline-block; vertical-align: -2px; border-color: rgba(255, 255, 255, .25); border-top-color: #e0a487; }
.pg-achado { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; border-left: 2px solid var(--accent, #A95A38); background: #252220; font-size: 11.5px; line-height: 1.5; color: #e8e6e4; }
.pg-achado b { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 400; color: #d79c80; }
.pg-achado mark { background: rgba(217, 139, 104, .35); color: #fff; border-radius: 2px; padding: 0 1px; }
.pg-cartao .pg-obra-nova { margin-bottom: 4px; }
.pg-cartao .pg-obra-nova input { height: 28px; padding: 0 8px; border-radius: 6px; border: 1px solid #4a4644; background: #252220; color: #f0ece8; font-size: 13px; min-width: 0; }

/* web: a tela de entrar, no desenho da do app do Mac (cartão escuro no centro, ícone, nome, botão terracota) */
.pg-entrar { position: fixed; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; overflow: auto;
  background: radial-gradient(900px 520px at 50% 38%, rgba(169, 90, 56, .16), transparent 70%), linear-gradient(180deg, #1d1b1a, #141211); }
.pg-entrar-cartao { width: 320px; max-width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 34px 30px 26px; border-radius: 18px;
  background: linear-gradient(180deg, #262321, #201d1c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px rgba(0, 0, 0, .55); }
.pg-entrar-cartao img { align-self: center; border-radius: 22.5%; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
.pg-entrar-cartao h1 { margin: 6px 0 0; text-align: center; font-size: 18px; font-weight: 600; letter-spacing: .3em; text-indent: .3em; color: #f0ece8; }
.pg-entrar-sub { margin: 0 0 10px; text-align: center; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #a8a39f; }
.pg-entrar-dica { margin: 0; text-align: center; font-size: 12px; line-height: 1.5; color: #c4bfbb; }
.pg-entrar-cartao label { display: flex; flex-direction: column; gap: 5px; font-size: 11px; color: #a8a39f; }
.pg-entrar-cartao input[type=email], .pg-entrar-cartao input[type=password], .pg-entrar-cartao input[name=codigo] { height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid transparent; background: #2e2b29; color: #f2f0ee; font: inherit; font-size: 14px; }
.pg-entrar-cartao input[name=codigo] { text-align: center; letter-spacing: .3em; font-size: 16px; }
.pg-entrar-cartao input:focus { outline: none; border-color: #c97a55; }
.pg-entrar-cartao label.pg-entrar-manter { flex-direction: row; align-items: center; gap: 8px; font-size: 12px; color: #c4bfbb; cursor: pointer; }
.pg-entrar-manter input { width: 15px; height: 15px; margin: 0; accent-color: #A95A38; }
.pg-entrar-cartao button[type=submit] { height: 36px; margin-top: 4px; border: 0; border-radius: 8px; background: #A95A38; color: #fff; font: inherit; font-size: 14px; cursor: pointer; display: grid; grid-auto-flow: column; place-content: center; align-items: center; }
.pg-entrar-cartao button[type=submit]:hover:not(:disabled) { background: #c97a55; }
.pg-entrar-cartao button[type=submit]:disabled { opacity: .55; cursor: default; }
.pg-entrar-erro { margin: 0; font-size: 12.5px; color: #ff9d8c; text-align: center; }
.pg-entrar-links { display: flex; justify-content: space-between; margin: 4px 0 0; font-size: 12px; }
.pg-entrar-links a, .pg-entrar-link { color: #d79c80; text-decoration: none; background: none; border: 0; font: inherit; font-size: 12px; cursor: pointer; padding: 2px 0; }
.pg-entrar-links a:hover, .pg-entrar-link:hover { color: #f0c3ab; text-decoration: underline; }
.pg-entrar-pe { margin: 0; font-size: 11px; color: #8f8a86; }

/* produto: equipe e assinatura */
button.pg-voltar { background: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; }
.pg-org-topo { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pg-org-topo h2 { margin: 0 0 3px; }
.pg-org-topo p { margin: 0; font-size: 11px; color: #a8a39f; }
.pg-vagas { font-size: 13px; color: #e8e6e4; text-align: right; }
.pg-vagas b { font-size: 18px; font-weight: 600; color: #f0ece8; }
.pg-vagas span { display: block; font-size: 11px; color: #a8a39f; }
.pg-convidar { display: flex; flex-direction: column; gap: 8px; }
.pg-campo.pg-em-linha { flex-direction: row; align-items: center; gap: 8px; }
.pg-item select { height: 26px; padding: 0 6px; border-radius: 6px; border: 1px solid #4a4644; background: #252220; color: #f0ece8; font-size: 12px; }
.pg-papel { font-size: 11px; padding: 2px 8px; border-radius: 4px; background: #3a3634; color: #e8e6e4; }
.pg-registro { max-height: 320px; overflow: auto; }

/* produto: nova organização (equipe KROJ) */
.pg-nova-org { display: flex; flex-direction: column; gap: 10px; min-width: 320px; }
.pg-nova-org h2 { margin: 0 0 4px; }
.pg-nova-org .pg-campo input, .pg-nova-org .pg-campo select { height: 30px; }

/* tela estreita (celular): uma coluna de cartões, sem passar da largura */
@media (max-width: 640px) {
  .pg-estrutura { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .pg-org-topo { gap: 10px; }
  .pg-acoes { flex-wrap: wrap; }
}

/* andamento (só na web): o que cada pessoa fez */
.pg-andamento { flex-wrap: wrap; }
.pg-andamento .pg-item-t { flex: 1 1 260px; }
.pg-feito { font-size: 12.5px; color: #e8e6e4; text-align: right; white-space: nowrap; }
.pg-feito span { display: block; font-size: 11px; color: #a8a39f; }

/* verificação em duas etapas na entrada e área de perfil (components/pedagogia/site/DoisFatores.tsx) */
.df-qr { display: block; align-self: center; width: 200px; max-width: 100%; height: auto; aspect-ratio: 1; border-radius: 6px; background: #fff; }
.df-qr-vazio { background: #2e2b29; }
.df-menor { font-size: 11px; color: #a8a39f; }
.df-chave { display: block; padding: 8px 10px; border-radius: 8px; background: #252220; border: 1px solid #3a3634; color: #f0ece8; font-size: 12px; letter-spacing: .06em; text-align: center; word-break: break-all; user-select: all; }
/* Perfil (edu e adm) no padrão das janelas do app do Mac (10/11/2026): no centro, faixa do título #2b2826 com o ícone,
   corpo #252220, cartões #2e2a28, Fechar na faixa de baixo; título 15/600, nome 13, detalhe 11, título do cartão 10 */
.pf { position: fixed; inset: 0; z-index: 5; display: grid; place-items: center; padding: 24px 16px; background: rgba(12, 10, 9, .72); }
body.kroj-web .pf { top: var(--wm-h, 0px); }
.pf-jan { width: min(560px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; border: 1px solid #4a4644; background: #252220; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.pf-faixa { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #2b2826; border-bottom: 1px solid #3a3634; }
.pf-faixa img { border-radius: 22.5%; box-shadow: 0 1px 2px rgba(0, 0, 0, .4); flex: none; }
.pf-faixa h2 { margin: 0; font-size: 15px; font-weight: 600; color: #f0ece8; }
.pf-faixa p { margin: 1px 0 0; font-size: 11px; color: #a8a39f; overflow-wrap: anywhere; }
.pf-corpo { flex: 1; min-height: 0; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.pf-card { padding: 12px 14px; border-radius: 10px; background: #2e2a28; border: 1px solid #3a3634; }
.pf-card h3 { margin: 0 0 8px; font-size: 10px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: #9a9591; }
.pf-linha { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pf-linha-pe { margin-top: 2px; }
.pf-nome { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #f0ece8; }
.pf-det { margin: 6px 0 0; font-size: 11px; line-height: 1.5; color: #a8a39f; }
.pf-linha-pe .pf-det { margin: 0; flex: 1 1 200px; }
.pf-luz { width: 8px; height: 8px; border-radius: 50%; background: #8f8a86; }
.pf-luz.ok { background: #7fbf79; box-shadow: 0 0 0 3px rgba(127, 191, 121, .18); }
.pf-botoes { display: flex; gap: 6px; }
.pf-senha { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-senha .pf-linha { grid-column: 1 / -1; }
.pf-seg { display: flex; padding: 2px; border-radius: 8px; background: #252220; border: 1px solid #3a3634; }
.pf-seg button { height: 24px; padding: 0 11px; border: 0; border-radius: 6px; background: none; color: #c4bfbb; font-size: 12px; cursor: pointer; white-space: nowrap; }
.pf-seg button:hover:not(:disabled) { color: #f0ece8; }
.pf-seg button.on { background: var(--accent, #A95A38); color: #fff; }
.pf-seg button:focus-visible { outline: 2px solid #e0a487; outline-offset: 1px; }
.pf-pe { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 14px; background: #2b2826; border-top: 1px solid #3a3634; }
.pf-card .pg-acoes { margin-top: 10px; }
.pf-card .pf-aviso { margin: 8px 0 0; }
@media (max-width: 520px) {
  .pf { padding: 0; place-items: stretch; }
  .pf-jan { width: 100%; max-height: none; height: 100%; border-radius: 0; border: 0; }
  .pf-senha { grid-template-columns: 1fr; }
}
.pf-form { display: grid; gap: 10px; max-width: 360px; }
.pf-qr { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.pf-qr .df-qr { width: 168px; align-self: flex-start; }
.pf-qr > div { flex: 1 1 180px; min-width: 0; }
.pf-opcao { display: flex; align-items: flex-start; gap: 8px; color: #f0ece8; font-size: 13px; cursor: pointer; line-height: 1.4; }
.pf-opcao input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: #A95A38; flex: none; }
.pf-aviso { margin: 0 0 10px; padding: 7px 10px; border-radius: 8px; background: #3a2620; border: 1px solid #7a4030; color: #f6d9cf; font-size: 12.5px; }
.pf-aviso.ok { background: #20301f; border-color: #3f6a48; color: #d5efd9; }

/* o que a etapa confere, junto do parecer */
.pg-etapa-guia { margin: 0 0 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .075); background: #262220; font-size: 12px; color: #c4bfbb; }
.pg-etapa-guia summary { cursor: pointer; color: #f0ece8; font-size: 12px; }
.pg-etapa-guia ul { margin: 6px 0 0; padding-left: 16px; line-height: 1.5; }

/* guia do módulo: o que é cada tela */
.pg-guia { position: fixed; right: 18px; bottom: 18px; z-index: 6; width: 340px; max-width: calc(100vw - 36px); padding: 14px 16px; border-radius: 12px; background: #2b2826; border: 1px solid #A95A38; box-shadow: 0 12px 34px rgba(0, 0, 0, .55); }
.pg-guia-n { font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: #d79c80; margin-bottom: 6px; }
.pg-guia h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: #f0ece8; }
.pg-guia p { margin: 0 0 8px; font-size: 13px; line-height: 1.5; color: #e8e6e4; }
.pg-guia ul { margin: 0 0 12px; padding-left: 16px; font-size: 12px; line-height: 1.55; color: #c4bfbb; }
.pg-rail a.guia { outline: 2px solid #e0a487; outline-offset: 2px; }

/* ───────────── revisão no documento (Revisao.tsx): o texto no centro, as observações na margem ─────────────
   hierarquia: título 15/600; texto 13; detalhe 11; rótulo de cartão 10 em versalete; sem negrito fora dos títulos */
.rv { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) 32px; min-width: 0; min-height: 0; overflow: hidden; background: #151312; }
/* a faixa das etapas: embaixo da barra de cima, um tom mais escura */
.rv-etapas { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #110f0e; border-bottom: 1px solid #262220; min-width: 0; }
.rv-etapas select { height: 26px; padding: 0 8px; border-radius: 6px; border: 1px solid #3a3634; background: #1c1917; color: #f0ece8; font-size: 12px; }
.rv-etapas .pg-btn { text-decoration: none; }
.rv-trilha { display: flex; align-items: center; gap: 4px; min-width: 0; }
/* a Rota metodológica: o esqueleto do capítulo, no centro da faixa, na horizontal como na Rota da editora */
.rv-etapas:has(.rv-rota) { min-height: 40px; padding-top: 10px; padding-bottom: 10px; }
.rv-rota { gap: 0; align-items: flex-start; }
.rv .rv-no { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; width: 132px; padding: 0 4px; border-radius: 10px; }
.rv .rv-no:not(:last-child)::before { content: ""; position: absolute; top: 13px; left: calc(50% + 18px); width: calc(100% - 36px); height: 1.5px; background: #3a3634; }
.rv .rv-no i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; border: 1.5px solid; background: #110f0e; z-index: 1; }
.rv .rv-no.presente i { background: #2f4a35; border-color: #5f9a6c; color: #cfe8d4; }
.rv .rv-no.deduzida i { border-color: #d98a63; border-style: dashed; color: #e0a487; }
.rv .rv-no.vazia i { border-color: #6a625c; border-style: dashed; color: #9a9591; background: repeating-linear-gradient(45deg, #1c1a18 0 4px, #26231f 4px 8px); }
.rv .rv-no.on i { box-shadow: 0 0 0 4px rgba(169, 90, 56, .3); }
.rv .rv-no:focus-visible { outline: 2px solid #d98a63; outline-offset: 2px; }
.rv-no-n { margin-top: 5px; font-size: 11.5px; line-height: 1.25; color: #f0ece8; }
.rv-no.vazia .rv-no-n { color: #a8a39f; }
.rv-no-o { font-size: 10px; line-height: 1.3; color: #d98a63; }
.rv .rv-no[data-dica]:hover::after { content: attr(data-dica); position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); z-index: 20; width: max-content; max-width: 240px; padding: 6px 10px; border-radius: 7px; background: #2b2826; border: 1px solid #4a4644; color: #f0ece8; font-size: 11px; line-height: 1.4; white-space: normal; pointer-events: none; }
/* a grade Fluxo × Rota: as partes da Rota nas colunas (no centro da área depois do menu lateral), as etapas nas linhas */
.rv .rv-etapas.rv-mx { display: block; padding: 10px 14px 8px; overflow-x: auto; }
.rv-mx-cab, .rv-mx-lin { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
.rv-mx-cab { align-items: start; }
.rv-mx-cab .rv-trilha { grid-column: 2; }
.rv-mx-d { justify-self: end; }
.rv-mx-l { justify-self: end; display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 11.5px; text-align: right; }
.rv-mx-t { flex-direction: column; align-items: flex-end; gap: 2px; align-self: end; padding-bottom: 4px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #9a9591; }
.rv-mx-t span { letter-spacing: 0; text-transform: none; font-size: 10.5px; color: #7d7570; }
.rv .rv-mx-rec { all: unset; cursor: pointer; margin-top: 2px; letter-spacing: 0; text-transform: none; font-size: 10.5px; color: #d98a63; }
.rv .rv-mx-rec:hover { text-decoration: underline; }
.rv .rv-mx-rec:focus-visible { outline: 2px solid #d98a63; outline-offset: 2px; border-radius: 3px; }
.rv-mx-lin { height: 26px; border-radius: 7px; }
.rv-mx-lin:first-of-type { margin-top: 6px; }
.rv-mx-lin + .rv-mx-lin { margin-top: 2px; }
.rv-mx-lin .rv-mx-l a { color: #a8a39f; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-mx-lin .rv-mx-l a:hover { color: #f0ece8; }
.rv-mx-lin.on { background: linear-gradient(90deg, transparent 0, #2b211c 18%, #2b211c 82%, transparent 100%); }
.rv-mx-lin.on .rv-mx-l a { color: #f0ece8; }
.rv-mx-ok { font-style: normal; font-size: 10px; color: #a9d6b3; }
.rv-mx-cs { grid-column: 2; display: flex; }
.rv .rv-mx-c { all: unset; box-sizing: border-box; cursor: pointer; width: 132px; display: grid; place-items: center; height: 24px; }
.rv .rv-mx-c:focus-visible { outline: 2px solid #d98a63; outline-offset: -2px; border-radius: 6px; }
.rv-mx-c .c { display: grid; place-items: center; min-width: 22px; height: 18px; border-radius: 9px; font-size: 10.5px; }
.rv-mx-c .c.ok { background: rgba(95, 154, 108, .22); color: #a9d6b3; }
.rv-mx-c .c.pd { padding: 0 7px; background: #a95a38; color: #fff; }
.rv-mx-c .c.vz { padding: 0 7px; border: 1px dashed #8a8178; color: #b5afa9; font-size: 10px; }
.rv-mx-c .c.l { width: 6px; min-width: 6px; height: 6px; background: #4a4644; }
.rv-mx-c .c.f { width: 10px; min-width: 10px; height: 10px; border: 1.5px solid #4a4644; }
@media (max-width: 900px) { .rv-mx-l { justify-self: start; } .rv-mx-cab, .rv-mx-lin { grid-template-columns: 140px auto 0; } }
/* a etapa do fluxo: seletor no alto da coluna esquerda, com o andamento */
.rv-k { margin: 0 0 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #9a9591; }
.rv-etapa { width: 100%; height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid #4a3a30; background: #211e1c; color: #f0ece8; font-size: 13px; }
.rv-etapa:focus-visible { outline: 2px solid #d98a63; outline-offset: 1px; }
.rv-etapa-and { display: flex; gap: 4px; margin: 6px 0 4px; }
.rv-etapa-and i { flex: 1; height: 3px; border-radius: 2px; background: #3a3634; }
.rv-etapa-and i.feita { background: #5f9a6c; }
.rv-etapa-and i.on { background: #a95a38; }
.rv-etapa-and i.on.feita { background: #5f9a6c; box-shadow: 0 0 0 1px #a95a38; }
.rv-no-filtro { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 11px; color: #efb898; }
.rv-no-filtro button { all: unset; cursor: pointer; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: #a8a39f; }
.rv-no-filtro button:hover { background: #3a3634; color: #f0ece8; }
/* no texto: o nó da Rota em cima da seção que o cumpre, e o vazio no lugar da parte que falta */
.rv-no-et { display: flex; align-items: center; gap: 7px; margin: 6px 0 6px -30px; font: 11px/1.3 -apple-system, BlinkMacSystemFont, Arial, sans-serif; color: #a95a38; }
.rv-no-et b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-weight: 400; border: 1.5px dashed #c06a43; }
.rv-no-et.presente { color: #3f6b48; }
.rv-no-et.presente b { border: 1.5px solid #5f9a6c; }
.rv-no-et em { font-style: normal; color: #8a8178; }
.rv-vazio { margin: 18px -18px; padding: 14px 18px; border: 1.5px dashed #b9ada0; border-radius: 10px; background: repeating-linear-gradient(135deg, #f6f1e8 0 10px, #f2ece2 10px 20px); font: 12.5px/1.5 -apple-system, BlinkMacSystemFont, Arial, sans-serif; color: #4a443e; cursor: pointer; }
.rv-vazio.sel { box-shadow: 0 0 0 2px rgba(169, 90, 56, .5); }
.rv-vazio.aceita { border-color: #6b8f66; }
.rv-vazio.recusada { opacity: .45; }
.rv-vazio-h { display: flex; align-items: center; gap: 8px; color: #5b554e; font-size: 12px; }
.rv-vazio-h b { width: 22px; height: 22px; border-radius: 50%; border: 1.5px dashed #8a8178; display: grid; place-items: center; font-weight: 400; }
.rv-vazio-h strong { font-size: 13.5px; font-weight: 600; color: #1c1a18; }
.rv-vazio-h small { margin-left: auto; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8a8178; }
.rv-vazio-h .rv-n { top: 0; }
.rv-vazio-q { margin: 8px 0 10px; }
.rv-vazio-bx { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-vazio-bx span { flex: 1 1 150px; padding: 8px 10px; border: 1px dashed #b9ada0; border-radius: 8px; background: #fbf9f5; font-size: 11.5px; color: #5b554e; }
.rv-vazio-bx span b { display: block; font-size: 12px; font-weight: 600; color: #1c1a18; }
.rv-vazio-l { margin: 8px 0 0; font-size: 11px; color: #8a8178; }
.rv-et { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px 0 5px; border-radius: 14px; color: #a8a39f; font-size: 12px; text-decoration: none; white-space: nowrap; position: relative; }
.rv-et i { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid #5a5450; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 10px; line-height: 1; flex: none; }
.rv-et:hover { background: #221e1b; color: #f0ece8; }
.rv-et.antes i { border-color: #6b8f66; color: #b9d8b3; }
.rv-et.on { background: #3a2a22; color: #fff; }
.rv-et.on i { background: var(--accent, #A95A38); border-color: var(--accent, #A95A38); color: #fff; }
/* a dica com o nome inteiro da etapa e quem a faz */
.rv-et[data-dica]:hover::after { content: attr(data-dica); position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); z-index: 20; padding: 6px 10px; border-radius: 7px; background: #2b2826; border: 1px solid #4a4644; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); color: #f0ece8; font-size: 11px; white-space: nowrap; pointer-events: none; }

/* a coluna da etapa: cada grupo num cartão */
.rv-lado { grid-row: 2; overflow: auto; padding: 14px 14px 24px; border-right: 1px solid #2e2a28; background: #1a1715; }
.rv-lado h3 { margin: 0; font-size: 15px; font-weight: 600; color: #f0ece8; }
.rv-sub { margin: 3px 0 12px; font-size: 11px; color: #a8a39f; }
.rv-cartao { margin-bottom: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .075); background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)) #221e1c; }
.rv-lado h4 { margin: 0 0 8px; font-size: 10px; font-weight: 400; letter-spacing: .09em; text-transform: uppercase; color: #9a9591; }
.rv-confere { margin: 0; padding-left: 15px; font-size: 12px; line-height: 1.5; color: #e8e2dc; }
.rv-confere li { margin-bottom: 3px; }
.rv-filtros { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-filtros button { height: 24px; padding: 0 9px; border-radius: 6px; border: 1px solid #3a3634; background: transparent; color: #c4bfbb; font-size: 11.5px; cursor: pointer; }
.rv-filtros button b { font-weight: 400; color: #f0ece8; margin-left: 2px; }
.rv-filtros button.on { background: #3a2a22; border-color: var(--accent, #A95A38); color: #fff; }
.rv-partes { list-style: none; margin: 0; padding: 0; font-size: 12px; color: #e8e2dc; }
.rv-partes li { display: flex; align-items: center; gap: 8px; padding: 5px 2px; border-top: 1px solid rgba(255, 255, 255, .05); }
.rv-partes li:first-child { border-top: 0; }
.rv-partes li i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #5c9a58; }
.rv-partes li.falta i { background: #d06a48; }
.rv-partes li.pend i { background: #d9b45f; }
.rv-partes small { margin-left: auto; font-size: 10.5px; color: #a8a39f; }
.rv-numeros { list-style: none; margin: 0 0 8px; padding: 0; font-size: 12px; color: #c4bfbb; }
.rv-numeros li { padding: 2px 0; }
.rv-numeros b { font-weight: 600; color: #f0ece8; margin-right: 4px; }
.rv-numeros li.alerta b { color: #e3c37a; }
.rv-lista-mud { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.rv-lista-mud button { text-align: left; border: 0; border-left: 2px solid #c99a2e; background: #262220; color: #e8e2dc; font-size: 11px; line-height: 1.4; padding: 5px 8px; border-radius: 0 6px 6px 0; cursor: pointer; }
.rv-lista-mud button:hover { background: #2e2926; }

/* fontes: a base metodológica, num cartão interno cada */
.rv-fontes { display: flex; flex-direction: column; gap: 6px; }
.rv-fonte { margin: 0; padding: 7px 9px; border-radius: 8px; background: #1c1917; border-left: 3px solid #8a7d73; font-size: 12px; line-height: 1.5; color: #e8e2dc; }
.rv-fonte.biblia { border-left-color: #c9a24a; }
.rv-fonte.ellen-white { border-left-color: #c97a55; }
.rv-fonte.obra { border-left-color: #7b9be0; }
.rv-fonte.diretriz { border-left-color: #6b8f66; }
.rv-fonte-t { display: block; font-size: 9.5px; letter-spacing: .09em; text-transform: uppercase; color: #9a9591; margin-bottom: 2px; }
.rv-fonte q { quotes: "“" "”"; font-family: Georgia, "Times New Roman", serif; font-size: 12px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rv-fonte q mark { background: rgba(201, 122, 85, .35); color: inherit; }
.rv-fonte cite { display: block; margin-top: 3px; font-style: normal; font-size: 10.5px; color: #a8a39f; }
.rv-mais { align-self: flex-start; border: 0; background: none; color: #d79c80; font-size: 11px; padding: 2px 0; cursor: pointer; }
.rv-mais:hover { text-decoration: underline; }

/* o texto do autor */
.rv-rolo { grid-row: 2; grid-column: 2; overflow: auto; position: relative; }
.rv-mesa { display: flex; align-items: flex-start; gap: 22px; padding: 22px 22px 60px; min-width: 1020px; justify-content: center; }
.rv-papel { width: 640px; flex: none; background: #fbf8f3; color: #2a2522; border-radius: 3px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); padding: 40px 56px 56px; font: 15px/1.6 Georgia, "Times New Roman", serif; }
.rv-titulo { font: 400 10.5px/1.4 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #8a7d73; margin-bottom: 18px; display: flex; justify-content: space-between; gap: 12px; }
.rv-titulo span { text-transform: none; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-p { position: relative; margin: 0 0 8px; overflow-wrap: anywhere; }
.rv-h { font-weight: 700; margin-top: 16px; }
.rv-tab { display: flex; flex-direction: column; gap: 2px; padding: 6px 10px; border: 1px solid #e3dbd2; border-radius: 6px; font: 12.5px/1.45 -apple-system, Arial, sans-serif; color: #4a403a; }
.rv-marca { border-bottom: 2px solid transparent; cursor: pointer; padding: 0 1px; border-radius: 2px; }
.rv-marca.obrig { background: rgba(208, 106, 72, .16); border-bottom-color: #d06a48; }
.rv-marca.recom { background: rgba(217, 180, 95, .22); border-bottom-color: #c99a2e; }
.rv-marca.conferir { background: rgba(160, 140, 210, .2); border-bottom-color: #8d6fc0; }
.rv-marca.mao { background: rgba(91, 127, 196, .14); border-bottom-color: #5b7fc4; cursor: default; }
.rv-marca.sel { outline: 2px solid #A95A38; outline-offset: 2px; }
/* o número da observação: centrado no círculo, na altura do texto */
.rv-n { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; border: 0; vertical-align: middle; position: relative; top: -2px; font: 600 10px/1 -apple-system, BlinkMacSystemFont, Arial, sans-serif; color: #fff; background: #d06a48; cursor: pointer; }
.rv-n.recom { background: #c99a2e; }
.rv-n.conferir { background: #8d6fc0; }
.rv-n.dec { background: #6b8f66; }
.rv-n.mao { background: #5b7fc4; cursor: default; font-size: 11px; }
.rv-add { position: absolute; right: -40px; top: 2px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #d6cbc0; background: #fff; color: #8a7d73; font: 400 15px/1 -apple-system, Arial, sans-serif; display: none; align-items: center; justify-content: center; cursor: pointer; }
.rv-p:hover .rv-add { display: inline-flex; }
.rv-add:hover { border-color: #A95A38; color: #A95A38; }
.rv-del { color: #b2412b; text-decoration: line-through; text-decoration-thickness: 1.5px; background: rgba(178, 65, 43, .07); }
.rv-ins { color: #2f7a3d; text-decoration: underline; text-decoration-thickness: 1.5px; background: rgba(47, 122, 61, .07); }
/* a nova versão por cima da anterior */
.rv-novo > span:first-child { background: rgba(47, 122, 61, .1); box-shadow: inset 0 -2px 0 #2f7a3d; }
.rv-saiu { color: #9a8d82; }
.rv-nao-pedida { outline: 1.5px dashed #c99a2e; outline-offset: 4px; border-radius: 3px; }
.rv-selo { display: inline-flex; align-items: center; height: 17px; padding: 0 7px; margin-left: 6px; border-radius: 9px; vertical-align: middle; position: relative; top: -2px; font: 400 9.5px/1 -apple-system, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.rv-selo.pedida { background: rgba(47, 122, 61, .14); color: #2f6b36; }
.rv-selo.nao-pedida { background: rgba(201, 154, 46, .2); color: #8a6512; }
.rv-insercao { margin: 10px 0 14px; padding: 10px 14px 6px; border: 1.5px dashed #A95A38; border-radius: 8px; background: rgba(169, 90, 56, .06); font: 13px/1.5 -apple-system, BlinkMacSystemFont, Arial, sans-serif; color: #5b3a2a; cursor: pointer; }
.rv-insercao.sel { box-shadow: 0 0 0 2px rgba(169, 90, 56, .5); }
.rv-insercao.aceita { border-style: solid; border-color: #6b8f66; background: rgba(107, 143, 102, .08); color: #2f4f2c; }
.rv-insercao.recusada { opacity: .45; text-decoration: line-through; }
.rv-insercao-h { display: flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #A95A38; margin-bottom: 4px; }
.rv-insercao-h .rv-n { margin-left: auto; top: 0; letter-spacing: 0; text-transform: none; }
.rv-insercao p { margin: 0 0 4px; }
.rv-insercao-t { font-weight: 600; }

/* as observações na margem */
.rv-margem { position: relative; width: 340px; flex: none; }
.rv-nota { position: absolute; left: 0; right: 0; padding: 10px 12px; border-radius: 12px; background: #2b2826; border: 1px solid #3a3634; border-left: 3px solid #d06a48; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); font-size: 13px; line-height: 1.45; cursor: pointer; transition: top .12s ease; }
.rv-nota.recom { border-left-color: #d9b45f; }
.rv-nota.conferir { border-left-color: #b9a3dc; }
.rv-nota.mao { border-left-color: #7b9be0; cursor: default; }
.rv-nota.sel { cursor: default; border-color: #A95A38; box-shadow: 0 10px 28px rgba(0, 0, 0, .5), 0 0 0 1px #A95A38; z-index: 2; }
.rv-nota.mao.sel { border-color: #7b9be0; box-shadow: 0 10px 28px rgba(0, 0, 0, .5), 0 0 0 1px #7b9be0; }
.rv-nota.aceito, .rv-nota.editado { border-left-color: #6b8f66; }
.rv-nota.recusado { opacity: .55; }
.rv-nota header { display: flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #a8a39f; margin-bottom: 5px; }
.rv-nota header i { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; font-weight: 600; color: #fff; background: #d06a48; letter-spacing: 0; text-transform: none; }
.rv-nota header i.recom { background: #c99a2e; }
.rv-nota header i.conferir { background: #8d6fc0; }
.rv-nota header i.mao { background: #5b7fc4; font-size: 11px; }
.rv-origem { margin-left: auto; font-style: normal; font-size: 9.5px; letter-spacing: .06em; padding: 2px 7px; border-radius: 9px; background: #3a2a22; color: #e0a487; }
.rv-origem.mao { background: #1f2a3d; color: #9db6ec; }
.rv-msg { margin: 0 0 4px; color: #f0ece8; font-size: 13px; }
.rv-quem { margin: 0; font-size: 11px; color: #a8a39f; }
.rv-corpo { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.rv-bloco { padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .06); background: #24201e; }
.rv-bloco h5 { margin: 0 0 5px; font-size: 10px; font-weight: 400; letter-spacing: .09em; text-transform: uppercase; color: #9a9591; }
.rv-bloco p { margin: 0; font-size: 12px; line-height: 1.5; color: #ddd5ce; }
.rv-arq { margin: 2px 0 0; font-size: 10.5px; color: #8f8a86; }
.rv-nota footer { margin-top: 8px; }
.rv-acoes { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: nowrap; }
.rv-acoes .pg-btn { height: 26px; padding: 0 10px; font-size: 12px; white-space: nowrap; }
.rv-link { border: 0; background: none; padding: 0; color: #d79c80; font-size: 11.5px; cursor: pointer; white-space: nowrap; }
.rv-link:hover { text-decoration: underline; }
.rv-link:disabled { opacity: .5; }
.rv-edita textarea { width: 100%; padding: 6px 8px; border-radius: 6px; border: 1px solid #4a4644; background: #1c1917; color: #f0ece8; font: inherit; font-size: 12.5px; resize: vertical; margin: 6px 0; }
.rv-vazia { position: absolute; left: 0; right: 0; margin: 0; padding: 12px; border-radius: 10px; border: 1px dashed #4a4644; color: #a8a39f; font-size: 12.5px; }

/* o pé */
.rv-pe { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 0 16px; background: #1c1917; border-top: 1px solid #2e2a28; font-size: 11.5px; color: #a8a39f; white-space: nowrap; overflow: hidden; }
.rv-pe b { color: #f0ece8; font-weight: 400; }
.rv-portao.fechado { color: #e8a07f; }
.rv-portao.aberto { color: #a9cfa3; }
.rv-portao.aviso { color: #e3c37a; }
.rv-leg { display: inline-flex; align-items: center; gap: 6px; }
.rv-leg i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; background: #d06a48; margin-left: 6px; }
.rv-leg i.recom { background: #d9b45f; }
.rv-leg i.conferir { background: #b9a3dc; }
.rv-leg i.mao { background: #7b9be0; }

@media (max-width: 1100px) {
  .rv { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) 32px; }
  .rv-lado { grid-row: 2; max-height: 220px; border-right: 0; border-bottom: 1px solid #2e2a28; }
  .rv-rolo { grid-row: 3; grid-column: 1; }
  .rv-mesa { min-width: 0; flex-direction: column; align-items: stretch; }
  .rv-papel { width: auto; padding: 28px 22px; }
  .rv-margem { width: auto; }
  .rv-add { right: 4px; }
}
.pg-opc-linha { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.pg-opc-linha input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: #A95A38; flex: none; }
.pg-opc-linha b { display: block; font-size: 13px; font-weight: 400; color: #f0ece8; }
.pg-opc-linha small { display: block; font-size: 11px; color: #a8a39f; margin-top: 2px; line-height: 1.45; }
/* os botões da revisão: a regra geral ".pg button" (herda cor e fonte) não pode apagar a cor deles */
.rv button.rv-n { color: #fff; font: 600 10px/1 -apple-system, BlinkMacSystemFont, Arial, sans-serif; }
.rv button.rv-add { color: #8a7d73; font: 400 15px/1 -apple-system, Arial, sans-serif; }
.rv button.rv-add:hover { color: #A95A38; }
.rv button.rv-link, .rv button.rv-mais { color: #d79c80; font-size: 11.5px; }
.rv-mais-obras { margin: 0 0 6px; }
/* Arquitetura Pedagógica, versão B da barra e da home dos Materiais (10/11/2026, imagem aprovada pelo Denison).
   Vem depois de pedagogia.css (no app e no bundle do edu) e só acrescenta ou ajusta o que a versão B pede. */

/* barra de cima: marca em duas linhas, editora e arquitetura em pílulas, guia e conta à direita */
.pg-top { gap: 12px; padding: 0 16px; }
.pg-mod { display: flex; flex-direction: column; line-height: 1.15; }
.pg-mod b { margin: 0; font-size: 12.5px; }
.pg-mod span { font-size: 9.5px; letter-spacing: .16em; color: #9a9591; }
.pg-div { width: 1px; height: 24px; background: #3a3634; flex: none; }
.pg-pilula { display: inline-flex; align-items: center; gap: 8px; height: 32px; min-width: 0; padding: 0 10px 0 12px; border-radius: 8px; background: #252220; border: 1px solid #3a3634; font-size: 12.5px; color: #f0ece8; white-space: nowrap; }
.pg-pilula small { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #9a9591; flex: none; }
.pg-pilula b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.pg-pilula select, .pg-pilula .pg-org { margin: 0; height: 30px; max-width: 300px; padding: 0 2px; border: 0; background: transparent; color: #f0ece8; font-size: 12.5px; min-width: 0; }
.pg-pilula .pg-org-nome { margin: 0; padding: 0; background: none; border-radius: 0; font-size: 12.5px; max-width: 240px; }
.pg-crumb { margin-left: 0; font-size: 12.5px; }
.pg-ib { position: relative; width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #c4bfbb; cursor: pointer; }
.pg-ib:hover, .pg-ib[aria-pressed=true] { background: #2e2a28; color: #f0ece8; }
.pg-ib.novo::after { content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent, #A95A38); border: 1.5px solid #1c1917; }
.pg-conta-w { position: relative; flex: none; }
.pg-conta { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 9px 0 4px; border-radius: 17px; background: #252220; border: 1px solid #3a3634; color: #c4bfbb; font-size: 12.5px; cursor: pointer; }
.pg-conta:hover, .pg-conta[aria-expanded=true] { border-color: #4a4644; color: #f0ece8; }
.pg-conta i { width: 26px; height: 26px; border-radius: 50%; background: #4a3a32; color: #f4dfd4; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; }
.pg-conta span { color: #f0ece8; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 12; min-width: 220px; padding: 6px; border-radius: 10px; background: #2b2826; border: 1px solid #4a4644; box-shadow: 0 12px 30px rgba(0, 0, 0, .55); display: flex; flex-direction: column; }
.pg-menu[hidden] { display: none; }
.pg-menu-quem { padding: 6px 10px 8px; font-size: 11px; color: #a8a39f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-bottom: 1px solid #3a3634; margin-bottom: 4px; }
.pg-menu button, .pg-menu label { display: block; width: 100%; text-align: left; padding: 7px 10px; border: 0; border-radius: 6px; background: none; color: #f0ece8; font-size: 12.5px; cursor: pointer; }
.pg-menu button:hover, .pg-menu label:hover { background: #3a3634; }
.pg-menu hr { border: 0; border-top: 1px solid #3a3634; margin: 4px 0; }

/* trilho: a Administração fica no pé */
.pg-rail { padding: 10px 0; }

/* home dos Materiais */
.pg-home { overflow: auto; padding: 28px 40px 40px; }
.pg-home-col { max-width: 1100px; margin: 0 auto; }
.pg-home-cab { margin-bottom: 20px; }
.pg-home-cab h1 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: #f0ece8; }
.pg-home-cab p { margin: 4px 0 0; font-size: 12.5px; color: #a8a39f; }
.pg-home-grade { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.pg-home-lista, .pg-home-lado .pg-cartao { padding: 0; overflow: hidden; }
.pg-home-lado { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pg-home-h { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-bottom: 1px solid #3a3634; }
.pg-home-h h3 { margin: 0; font-size: 10px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: #9a9591; }
.pg-home .pg-cont { font-size: 10.5px; color: #f0ece8; background: #3a3634; border-radius: 9px; padding: 1px 7px; }
.pg-home .pg-dir { margin-left: auto; }
.pg-home .pg-mudo { color: #a8a39f; font-size: 12px; }
.pg-home-pad { padding: 14px 18px 16px; }
.pg-home-vazio { margin: 0; padding: 22px 18px; color: #a8a39f; font-size: 12.5px; }
.pg-home .pg-so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* o envio: área de arrastar */
.pg-home .pg-novo { grid-column: auto; max-width: none; margin: 16px 18px; padding: 18px 20px; display: flex; flex-direction: row; align-items: center; gap: 16px; border: 1.5px dashed #4a4644; border-radius: 12px; background: linear-gradient(#2a2624, #262220); }
.pg-home .pg-novo.sobre { border-color: var(--accent, #A95A38); background: rgba(169, 90, 56, .1); }
.pg-home .pg-novo.com { border-style: solid; border-color: #4a4644; }
.pg-novo-ic { width: 44px; height: 44px; flex: none; border-radius: 10px; background: rgba(169, 90, 56, .16); color: #e0a487; display: grid; place-items: center; }
.pg-novo-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pg-novo-t b { font-size: 13.5px; font-weight: 500; color: #f0ece8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-novo-t > span { font-size: 11.5px; line-height: 1.5; color: #a8a39f; }
.pg-novo-t .pg-campo { margin-top: 6px; }
.pg-novo-a { display: flex; gap: 8px; flex: none; }
.pg-novo-a .pg-btn { height: 32px; padding: 0 14px; border-radius: 8px; }
.pg-home .pg-novo + .pg-home-h { border-top: 1px solid #3a3634; }

/* a busca */
.pg-home .pg-busca { margin-left: auto; display: flex; align-items: center; gap: 7px; height: 28px; width: 220px; max-width: 45%; padding: 0 10px; border-radius: 7px; background: #252220; border: 1px solid #3a3634; color: #8f8a86; }
.pg-home .pg-busca input { flex: 1; min-width: 0; border: 0; background: none; color: #f0ece8; font-size: 12px; outline: none; }
.pg-home .pg-busca:focus-within { border-color: var(--accent, #A95A38); }

/* a lista em tabela */
.pg-home .pg-tabela { width: 100%; border-collapse: collapse; }
.pg-home .pg-tabela th { font-size: 10px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: #9a9591; text-align: left; padding: 10px 18px; border-bottom: 1px solid #3a3634; white-space: nowrap; }
.pg-home .pg-tabela td { padding: 10px 18px; border-bottom: 1px solid #35312f; vertical-align: middle; white-space: nowrap; }
.pg-home .pg-tabela tr:last-child td { border-bottom: 0; }
tr.pg-item { display: table-row; padding: 0; border: 0; }
tr.pg-item:hover td { background: rgba(255, 255, 255, .025); }
.pg-tabela-t { width: 100%; white-space: normal !important; }
.pg-tabela-t a { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; min-width: 0; padding: 3px 0; border-radius: 6px; }
.pg-tabela-t a:hover b { color: #fff; text-decoration: underline; text-decoration-color: rgba(224, 164, 135, .6); text-underline-offset: 3px; }
.pg-home .pg-doc { width: 30px; height: 36px; flex: none; border-radius: 4px; background: #252220; border: 1px solid #4a4644; display: grid; place-items: center; font-size: 7.5px; letter-spacing: -.02em; color: #a8a39f; }
.pg-tabela-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pg-tabela-n b { font-size: 13px; font-weight: 500; color: #f0ece8; white-space: normal; overflow: visible; }
.pg-tabela-n > span { font-size: 11px; color: #a8a39f; overflow-wrap: anywhere; }
.pg-tabela-n em { display: none; font-style: normal; }
.pg-tabela-a { text-align: right; }
.pg-tabela-a .pg-ib { width: 28px; height: 28px; color: #a8a39f; margin-left: auto; }
.pg-tabela-a .pg-ib:hover { color: #f0a08a; }

/* ao lado: a arquitetura e os primeiros passos */
.pg-home .pg-arq-nome { display: block; font-size: 13.5px; font-weight: 500; color: #f0ece8; }
.pg-home .pg-partes, .pg-home .pg-passos { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.pg-home .pg-partes li, .pg-home .pg-passos li { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #e8e6e4; min-width: 0; }
.pg-home .pg-partes em, .pg-home .pg-passos em { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; }
.pg-home .pg-partes em { border: 1.5px solid var(--accent, #A95A38); color: #e0a487; }
.pg-home .pg-passos em { background: #3a3634; color: #f0ece8; }
.pg-home .pg-passos li:first-child em { background: var(--accent, #A95A38); color: #fff; }
.pg-home .pg-links { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.pg-home .pg-links a, .pg-home .pg-link { color: #e0a487; font-size: 12px; text-decoration: none; }
.pg-home .pg-link { display: inline-block; margin-top: 14px; padding: 0; border: 0; background: none; cursor: pointer; }
.pg-home .pg-links a:hover, .pg-link:hover { text-decoration: underline; }

@media (max-width: 1080px) {
  .pg-home { padding: 22px 20px 32px; }
  .pg-home-grade { grid-template-columns: minmax(0, 1fr); }
  .pg-home-lado { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 900px) {
  .pg-mod span, .pg-pilula small, .pg-div, .pg-conta span { display: none; }
}
@media (max-width: 640px) {
  .pg-home { padding: 16px 16px 28px; }
  .pg-home-cab h1 { font-size: 19px; }
  .pg-home .pg-novo { flex-wrap: wrap; margin: 12px; padding: 14px; gap: 12px; }
  .pg-novo-ic { width: 36px; height: 36px; }
  .pg-novo-t { flex-basis: calc(100% - 52px); }
  .pg-novo-a { width: 100%; justify-content: flex-end; }
  .pg-home-h { padding: 10px 14px; flex-wrap: wrap; }
  .pg-home .pg-busca { max-width: none; width: 100%; margin-left: 0; order: 3; }
  .pg-home .pg-tabela thead, .pg-home .pg-tabela td.pg-mudo { display: none; }
  .pg-home .pg-tabela td { padding: 10px 14px; }
  .pg-tabela-n em { display: inline; }
  .pg-top { gap: 8px; padding: 0 10px; }
  .pg-top > .pg-pilula, .pg-crumb .pg-herda { display: none; }
  .pg-crumb { flex: 1; min-width: 0; }
  .pg-top > .pg-sp { flex: 0; }
  .pg-crumb .pg-pilula { flex: 1; min-width: 0; }
  .pg-pilula select { max-width: none; width: 100%; }
}

/* revisão no texto (10/11/2026, pedido do Denison): as etapas no centro da faixa; Nova versão do autor, Fluxo e
   Devolutiva ao autor em ícones, com a dica explicando cada um, para sobrar espaço */
.rv-etapas { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; }
.rv-etapas > .rv-trilha { grid-column: 2; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.rv-acoes { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 4px; }
.rv-acao { position: relative; width: 30px; height: 30px; font-weight: 400; flex: none; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #c4bfbb; cursor: pointer; text-decoration: none; }
.rv-acao:hover, .rv-acao:focus-visible { background: #2e2a28; color: #f0ece8; }
.rv-acao:focus-visible { outline: 2px solid var(--accent, #A95A38); outline-offset: 1px; }
.rv-acao.p { color: #e0a487; }
.rv-acao.p:hover:not(:disabled) { background: rgba(169, 90, 56, .2); color: #f4dfd4; }
.rv-acao:disabled, .rv-acao.apagado { opacity: .5; cursor: default; }
.rv-acao[data-dica]:hover::after, .rv-acao[data-dica]:focus-visible::after { content: attr(data-dica); position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: max-content; max-width: 260px; padding: 7px 10px; border-radius: 7px; background: #2b2826; border: 1px solid #4a4644; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); color: #f0ece8; font-size: 11.5px; line-height: 1.4; text-align: left; white-space: normal; pointer-events: none; }
@media (max-width: 760px) {
  .rv-etapas { grid-template-columns: minmax(0, 1fr) auto; }
  .rv-etapas > .rv-trilha { grid-column: 1; justify-content: flex-start; }
  .rv-acoes { grid-column: 2; }
}


/* barra de cima: editora e arquitetura no centro da área de trabalho (à direita do trilho de 52 px), alinhadas às etapas
   da revisão; só o primeiro nome, as duas pílulas com a mesma largura, a lista inteira por baixo (10/11/2026) */
.pg-top { position: relative; }
.pg-centro { position: absolute; top: 50%; left: calc(50% + 26px); transform: translate(-50%, -50%); display: flex; gap: 10px; }
.pg-centro .pg-pilula { position: relative; width: 190px; justify-content: center; }
.pg-centro .pg-pilula b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.pg-centro .pg-pilula:has(select)::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 2px; border-right: 1.5px solid #a8a39f; border-bottom: 1.5px solid #a8a39f; transform: rotate(45deg); flex: none; }
.pg-sobre { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: 0; cursor: pointer; }
.pg-sobre:focus-visible + *, .pg-pilula:has(.pg-sobre:focus-visible) { outline: 2px solid var(--accent, #A95A38); outline-offset: 1px; }
.pg-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) {
  .pg-centro .pg-pilula { width: 120px; }
}
@media (max-width: 760px) {
  .pg-centro { position: static; transform: none; flex: 1; min-width: 0; justify-content: center; }
  .pg-centro .pg-pilula { width: auto; flex: 1 1 0; min-width: 0; max-width: 140px; }
}
@media (max-width: 640px) {
  .pg-centro .pg-pilula:first-child:not(:only-child) { display: none; }
}

/* Fluxo das etapas, opção C (10/11/2026): sem painel; o cartão da etapa aberta fica preso a ela e o caminho se troca
   na própria seta. Desfazer e Salvar ficam na barra de baixo, junto de Acrescentar. */
.pg-paleta { transform: translateX(-50%); }
.pg-paleta-div { width: 1px; height: 20px; background: #3a3634; margin: 0 4px; }
.pg-paleta .pg-estado { font-size: 11.5px; color: #a8a39f; white-space: nowrap; }
.pg-paleta button.p { background: var(--accent, #A95A38); border-color: var(--accent, #A95A38); color: #fff; }
.pg-paleta button.p:hover:not(:disabled) { background: #8a4a2f; }
.pg-paleta button:disabled { opacity: .5; cursor: default; }
.pg-area > .pg-erros-fluxo { position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 6; margin: 0; max-width: 520px; }
.pg-cn { position: absolute; z-index: 7; width: 400px; max-width: calc(100% - 24px); display: flex; flex-direction: column; min-height: 180px; background: #2b2826; border: 1px solid #4a4644; border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .6); overflow: hidden; }
.pg-cn-cab { display: flex; align-items: center; gap: 6px; padding: 12px 10px 6px 14px; }
.pg-cn .pg-cn-nome { flex: 1; min-width: 0; height: 30px; padding: 0 6px; margin-left: -6px; border: 1px solid transparent; border-radius: 6px; background: none; color: #f0ece8; font-size: 15px; font-weight: 600; }
.pg-cn-nome:hover:not(:disabled) { border-color: #3a3634; }
.pg-cn-nome:focus { outline: none; border-color: var(--accent, #A95A38); background: #252220; }
.pg-cn-x { width: 28px; height: 28px; flex: none; border: 0; border-radius: 7px; background: none; color: #a8a39f; font-size: 18px; line-height: 1; cursor: pointer; }
.pg-cn-x:hover { background: #3a3634; color: #f0ece8; }
.pg-cn-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 4px; }
.pg-chip { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 26px; max-width: 100%; padding: 0 10px; border-radius: 13px; background: #252220; border: 1px solid #3a3634; font-size: 12px; color: #e8e6e4; }
.pg-chip small { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #9a9591; }
.pg-cn .pg-chip input, .pg-cn .pg-chip select { field-sizing: content; min-width: 4ch; max-width: 240px; height: 24px; padding: 0; border: 0; background: none; color: inherit; font-size: 11px; outline: none; appearance: none; -webkit-appearance: none; }
.pg-chip select { padding-right: 14px; cursor: pointer; }
.pg-chip.seta::after { content: ""; position: absolute; right: 10px; top: 9px; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); pointer-events: none; opacity: .7; }
.pg-chip.ac { border-color: #7a4030; background: rgba(169, 90, 56, .16); color: #f4dfd4; }
.pg-chip:focus-within { border-color: var(--accent, #A95A38); }
.pg-chip option { background: #2b2826; color: #f0ece8; }
.pg-cn-abas { display: flex; gap: 2px; margin: 8px 14px 0; border-bottom: 1px solid #3a3634; }
.pg-cn-abas button { padding: 7px 10px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: #a8a39f; font-size: 11px; cursor: pointer; }
.pg-cn-abas button.on { color: #f0ece8; border-bottom-color: var(--accent, #A95A38); }
.pg-cn-corpo { flex: 1; min-height: 0; overflow: auto; padding: 8px 14px 12px; }
.pg-cn-lista { display: flex; flex-direction: column; gap: 6px; }
.pg-cn-item { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.pg-cn-item i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent, #A95A38); }
.pg-cn-item input { flex: 1; min-width: 0; height: 30px; padding: 0 4px; border: 1px solid transparent; border-radius: 6px; background: none; color: #e8e6e4; font-size: 13px; }
.pg-cn-item input:focus { outline: none; border-color: var(--accent, #A95A38); background: #252220; }
.pg-cn-item button { width: 24px; height: 24px; flex: none; border: 0; border-radius: 6px; background: none; color: #8f8a86; font-size: 15px; cursor: pointer; }
.pg-cn-item button:hover { background: #3a3634; color: #f0a08a; }
.pg-cn-mais { align-self: flex-start; padding: 4px 0; border: 0; background: none; color: #e0a487; font-size: 12px; cursor: pointer; }
.pg-cn-pe { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid #3a3634; background: #262321; }
.pg-cn-pe .pg-ib { width: 30px; height: 30px; }
.pg-cn-pe .pg-ib:hover { color: #f0a08a; }
.pg-rota { position: absolute; z-index: 6; transform: translate(-4px, -70%); display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 11px; background: #252220; border: 1px solid #7a4030; color: #f4dfd4; font-size: 11px; cursor: pointer; white-space: nowrap; }
.pg-rota::after { content: ""; width: 4px; height: 4px; margin-top: -2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.pg-rota:hover, .pg-rota:focus-within { background: #3a2a22; border-color: var(--accent, #A95A38); }
.pg-rota select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pg-rota.nao { border-style: dashed; }
.pg-cn .pg-chip select { padding-right: 16px; }

/* Obras de referência no padrão da Biblioteca (10/11/2026): filtros, capas e ficha que diz o papel da obra na arquitetura */
.ob { display: grid; grid-template-columns: 232px minmax(0, 1fr) 380px; min-height: 0; overflow: hidden; }
.ob-lat { display: flex; flex-direction: column; gap: 18px; padding: 18px 12px; overflow: auto; background: #181513; border-right: 1px solid #2a2624; }
.ob-lat h4 { margin: 0 0 6px 8px; font-size: 10px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: #9a9591; }
.ob-lat button { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 30px; padding: 4px 8px; border: 0; border-radius: 7px; background: none; color: #d8d3cf; font-size: 13px; text-align: left; cursor: pointer; }
.ob-lat button:hover { background: #24201e; }
.ob-lat button.on { background: #2e2a28; color: #fff; }
.ob-lat button i { width: 9px; height: 9px; flex: none; border-radius: 3px; }
.ob-lat button b { margin-left: auto; font-weight: 400; font-size: 11px; color: #9a9591; }
.ob-meio { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 20px 24px; overflow: auto; }
.ob-cab { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ob-cab > div:first-child { flex: 1 1 280px; min-width: 0; }
.ob-cab h1 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: #f0ece8; }
.ob-cab p { margin: 3px 0 0; max-width: 520px; font-size: 11px; color: #a8a39f; }
.ob-acoes { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ob-acoes .pg-btn { height: 32px; padding: 0 13px; border-radius: 8px; }
.ob-busca { display: flex; align-items: center; gap: 7px; width: 300px; max-width: 100%; height: 32px; padding: 0 4px 0 11px; border-radius: 8px; background: #211e1c; border: 1px solid #3a3634; color: #8f8a86; }
.ob-busca:focus-within { border-color: var(--accent, #A95A38); }
.ob-busca input { flex: 1; min-width: 0; border: 0; background: none; color: #f0ece8; font-size: 12.5px; outline: none; }
.ob-busca > button { height: 24px; padding: 0 10px; border: 0; border-radius: 6px; background: #3a3634; color: #f0ece8; font-size: 12px; cursor: pointer; }
.ob-busca > button:disabled { opacity: .5; cursor: default; }
.ob-nesta { display: inline-flex; align-items: center; gap: 4px; max-width: 120px; padding: 1px 4px 1px 8px; border-radius: 9px; background: rgba(169, 90, 56, .2); color: #f4dfd4; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-nesta button { border: 0; background: none; color: inherit; cursor: pointer; padding: 0 2px; }
.ob-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 20px 16px; align-content: start; }
.ob-it { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.ob-capa { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 2 / 3; padding: 14px 12px; border-radius: 4px 8px 8px 4px; overflow: hidden; box-shadow: inset 3px 0 0 rgba(0, 0, 0, .25), 0 8px 18px rgba(0, 0, 0, .45); }
.ob-capa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .1), transparent 40%); pointer-events: none; }
.ob-capa b { font: 400 15px/1.2 Georgia, "Times New Roman", serif; color: #fbf6ef; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.ob-capa span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(251, 246, 239, .8); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ob-capa.peq { width: 74px; flex: none; padding: 8px 7px; }
.ob-capa.peq b { font-size: 10px; }
.ob-capa.peq span { font-size: 7px; }
.ob-it:hover .ob-capa { transform: translateY(-2px); transition: transform .15s; }
.ob-it.sel .ob-capa { outline: 2px solid var(--accent, #A95A38); outline-offset: 3px; }
.ob-it:focus-visible { outline: none; }
.ob-it:focus-visible .ob-capa { outline: 2px solid #e0a487; outline-offset: 3px; }
.ob-t, .ob-a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-t { margin-top: 4px; font-size: 13px; color: #f0ece8; }
.ob-a { font-size: 11px; color: #a8a39f; }
.ob-papel { align-self: flex-start; max-width: 100%; padding: 2px 8px; border-radius: 9px; background: rgba(169, 90, 56, .16); color: #e8b79f; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob-papel.mudo { background: #2e2a28; color: #c4bfbb; }
.ob-vazio { padding: 40px 0; color: #a8a39f; }
.ob-vazio h2 { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: #f0ece8; }
.ob-vazio p { margin: 0; max-width: 520px; font-size: 11px; line-height: 1.55; }
.ob-achados { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.ob-achados-h { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
.ob-achados-h b { font-weight: 500; }
.ob-achados .pg-link { padding: 0; border: 0; background: none; color: #e0a487; font-size: 12px; cursor: pointer; }
.ob-ficha { display: flex; flex-direction: column; gap: 12px; padding: 18px; overflow: auto; background: #1a1716; border-left: 1px solid #2a2624; }
.ob-cd { padding: 14px; border-radius: 12px; background: linear-gradient(rgba(255, 255, 255, .02), transparent), #252220; border: 1px solid rgba(255, 255, 255, .075); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 2px 8px rgba(0, 0, 0, .25); }
.ob-cd h3 { display: flex; margin: 0 0 10px; font-size: 10px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: #9a9591; }
.ob-cd h3 span { margin-left: auto; letter-spacing: 0; text-transform: none; font-size: 11px; color: #a8a39f; }
.ob-fh { display: flex; gap: 14px; }
.ob-fh h2 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.25; color: #f0ece8; overflow-wrap: anywhere; }
.ob-fh p { margin: 4px 0 8px; font-size: 11px; color: #a8a39f; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ob-chip { padding: 2px 8px; border-radius: 4px; background: #3a3634; color: #e8e6e4; font-size: 11px; }
.ob-chip.ac { background: rgba(169, 90, 56, .2); border: 1px solid #7a4030; color: #f4dfd4; }
.ob-et { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .05); font-size: 13px; color: #e8e6e4; }
.ob-et:first-of-type { border-top: 0; }
.ob-et em { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent, #A95A38); color: #fff; font-style: normal; font-size: 10px; }
.ob-et small { margin-left: auto; font-size: 11px; color: #e0a487; white-space: nowrap; }
.ob-et small.c { color: #a8a39f; }
.ob-fu { padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .05); font-size: 13px; color: #e8e6e4; }
.ob-fu:first-of-type { border-top: 0; }
.ob-fu span { display: block; margin-top: 1px; font-size: 11px; color: #a8a39f; }
.ob-fu q { display: block; margin-top: 5px; padding-left: 9px; border-left: 2px solid var(--accent, #A95A38); font-size: 11px; font-style: italic; color: #c4bfbb; }
.ob-nota { margin: 0; font-size: 11px; line-height: 1.5; color: #a8a39f; }
.ob-pe { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.ob-pe .pg-btn { height: 30px; border-radius: 7px; }
@media (max-width: 1180px) {
  .ob { grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; overflow: auto; }
  .ob-ficha { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #2a2624; overflow: visible; }
}
@media (max-width: 760px) {
  .ob { grid-template-columns: minmax(0, 1fr); display: block; overflow: auto; }
  .ob-lat { flex-direction: row; overflow-x: auto; gap: 14px; border-right: 0; border-bottom: 1px solid #2a2624; padding: 12px 16px; }
  .ob-lat > div { flex: none; display: flex; align-items: center; gap: 4px; }
  .ob-lat h4 { display: none; }
  .ob-lat button { width: auto; white-space: nowrap; }
  .ob-meio { padding: 16px; overflow: visible; }
  .ob-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ob-busca { width: 100%; }
}

/* na revisão as pílulas ocupam a largura das caixas das etapas (Modulo.tsx mede a .rv-trilha) */
.pg-centro.na-faixa { transform: translateY(-50%); }
.pg-centro.na-faixa .pg-pilula { flex: 1 1 0; width: auto; min-width: 0; }

/* quem faz a etapa (11/11/2026): cada escalado dá a sua parte como feita; a devolutiva só sai com a etapa finalizada */
.rv-escala h4 { display: flex; align-items: center; gap: 8px; }
.rv-escala h4 span { margin-left: auto; font-size: 11px; letter-spacing: 0; text-transform: none; color: #a8a39f; }
.rv-escala h4 .rv-fim { color: #a9d1a4; }
.rv-escala { margin-top: 12px; }
.rv-escala.feita { border-color: rgba(127, 191, 121, .45); }
.rv-quem-faz { list-style: none; margin: 4px 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rv-quem-faz li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #e8e6e4; }
.rv-quem-faz li i { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid #5a5450; display: grid; place-items: center; font-style: normal; font-size: 10px; color: #fff; }
.rv-quem-faz li.ok i { background: #6b8f66; border-color: #6b8f66; }
.rv-quem-faz li small { margin-left: auto; font-size: 11px; color: #a8a39f; }
.rv-escala .pg-btn { width: 100%; height: 30px; }
.rv-acao.bloqueada { opacity: .45; cursor: not-allowed; }
.rv-acao.bloqueada:hover { background: transparent; }
