@font-face { font-family: 'Material Icons'; font-style: normal; font-weight: 400; src: url(../fonts/material-icons.ttf) format('truetype'); }
.pv .material-icons { font-family: 'Material Icons'; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; }
/* Nonoai: visor de PDF proprio */
#main .embed-container.pv-host, .embed-container.pv-host { position: static !important; height: auto !important; padding: 0 !important; overflow: visible !important; border: 0 !important; box-shadow: none !important; background: transparent !important; border-radius: 0 !important; }
.pv { --pv-a: #671f32; --pv-b: #82283f; --pv-v: #82283f; --pv-y: #e9b9c6; display: flex; flex-direction: column; background: #fff; border: 1px solid #D2D3D6; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0, 0, 0, .1); font-family: inherit; }
.pv, .pv * { box-sizing: border-box; }
.pv-barra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 14px; background: linear-gradient(40deg, var(--pv-a), var(--pv-b)); border-bottom: 4px solid var(--pv-y); color: #fff; }
.pv-nome { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 220px; font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.pv-nome .material-icons { flex: 0 0 auto; font-size: 24px; color: var(--pv-y); }
.pv-nome span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pv-grupo { display: flex; align-items: center; gap: 2px; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px; }
.pv-grupo button, .pv-grupo a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 6px; border: 0; border-radius: 999px; background: transparent; color: #fff; font: 700 13px/1 inherit; text-decoration: none !important; cursor: pointer; transition: background .15s, color .15s; }
.pv-grupo .material-icons { font-size: 22px; line-height: 1; }
.pv-grupo button:hover, .pv-grupo a:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.pv-grupo button:focus-visible, .pv-grupo a:focus-visible, .pv-num:focus-visible { outline: 3px solid var(--pv-y); outline-offset: 1px; }
.pv-zoom { min-width: 54px !important; }
.pv-pag { display: inline-flex; align-items: center; gap: 4px; padding: 0 4px; font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; }
.pv-num { width: 48px; height: 28px; padding: 0 4px; border: 0; border-radius: 8px; background: #fff; color: var(--pv-a); font: 700 13px inherit; text-align: center; -moz-appearance: textfield; }
.pv-num::-webkit-outer-spin-button, .pv-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* dicas proprias */
.pv [data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + 9px); transform: translate(-50%, -3px); white-space: nowrap; background: #2a0e16; color: #fff; font: 600 12px/1.2 inherit; padding: 6px 10px; border-radius: 7px; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 40; }
.pv [data-tip]:hover::after, .pv [data-tip]:focus-visible::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.pv-area { position: relative; height: min(82vh, 920px); min-height: 380px; overflow: auto; background: #efe6e9; padding: 16px 0 20px; outline: 0; -webkit-overflow-scrolling: touch; }
.pv-area:focus-visible { box-shadow: inset 0 0 0 3px var(--pv-y); }
.pv-paginas { display: flex; flex-direction: column; align-items: center; gap: 14px; width: max-content; min-width: 100%; margin: 0 auto; }
.pv-pg { position: relative; flex: 0 0 auto; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .22); }
.pv-pg canvas { display: block; }
.pv-pn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 800 42px inherit; color: #D2D3D6; }
.pv-pg.pv-ok .pv-pn { display: none; }
.pv-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; color: var(--pv-a); font-weight: 600; background: #efe6e9; z-index: 3; }
.pv-status a { color: var(--pv-b); font-weight: 700; text-decoration: underline; }
.pv-giro { width: 20px; height: 20px; border-radius: 50%; border: 3px solid #dddddd; border-top-color: var(--pv-b); animation: pv-gira .8s linear infinite; }
@keyframes pv-gira { to { transform: rotate(360deg); } }
.pv-cheia, .pv:fullscreen { position: fixed; inset: 0; z-index: 100000; border-radius: 0; border: 0; width: 100%; height: 100%; }
.pv-cheia .pv-area, .pv:fullscreen .pv-area { flex: 1 1 auto; height: auto; }
/* camada de texto (selecionar e copiar) */
.pv .textLayer { position: absolute; inset: 0; overflow: clip; line-height: 1; text-align: initial; -webkit-text-size-adjust: none; text-size-adjust: none; forced-color-adjust: none; transform-origin: 0 0; z-index: 2; }
.pv .textLayer :is(span, br) { color: transparent !important; -webkit-text-fill-color: transparent !important; background: none !important; text-shadow: none !important; position: absolute; white-space: pre; cursor: text; transform-origin: 0% 0%; }
.pv .textLayer ::selection { background: rgba(130,40,63,.30); }
@media (max-width: 700px) {
  .pv-barra { padding: 8px 10px; }
  .pv-nome { flex-basis: 100%; font-size: 13.5px; }
  .pv-ctl { width: 100%; justify-content: space-between; }
  .pv-area { height: 72vh; min-height: 320px; padding: 10px 0 14px; }
  .pv-grupo button, .pv-grupo a { min-width: 32px; height: 32px; }
  .pv [data-tip]::after { display: none; }
}
@media print { .pv-barra { display: none; } }

/* fonte de icones (ligaduras) */
#main .pv .material-icons, .pv .material-icons { font-family: 'Material Icons' !important; font-weight: normal; font-style: normal; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; display: inline-block; line-height: 1; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; }
#main .pv .material-icons { font-family: "Material Icons" !important; }
#main .pv-grupo .material-icons { font-size: 22px !important; }
#main .pv-nome .material-icons { font-size: 24px !important; }

