/* Visual do Plano de Leitura (classes começam com pl-) */
.pl { display: grid; gap: .9rem; }
.pl-config { display: grid; grid-template-columns: 1.5fr 1fr; gap: .7rem .8rem; padding: .9rem 1rem; }
.pl-desc { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--texto-2); }
@media (max-width: 380px) { .pl-config { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pl-config .campo select, .pl-config .campo input { padding: .6rem .6rem; font-size: .95rem; } }

.pl-hoje {
  position: relative; overflow: hidden; border-radius: 22px; padding: 1.25rem 1.3rem 1.3rem; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #2c7466 0%, #1f5b51 45%, #143c36 100%);
  box-shadow: 0 10px 30px rgba(20, 60, 54, .28);
}
.pl-hoje::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 212, 143, .35), transparent 70%); }
.pl-hoje-topo { display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #f0d79b; font-weight: 700; }
.pl-hoje-topo span:last-child { text-transform: none; letter-spacing: 0; color: #cfe0db; font-weight: 500; }
.pl-hoje-ref { display: block; font-family: var(--fonte-titulo); font-size: clamp(1.5rem, 6vw, 2.1rem); line-height: 1.2; margin: .45rem 0 1rem; position: relative; z-index: 1; }
.pl-hoje-acoes { position: relative; z-index: 1; }
.pl-btn-marcar { background: #fff; color: #1f5b51; min-height: 50px; padding-inline: 1.4rem; }
.pl-btn-marcar:disabled { opacity: 1; background: rgba(255,255,255,.18); color: #fff; }
.pl-hoje.concluido { background: radial-gradient(120% 140% at 100% 0%, #c99a45, #8a6420); }
.pl-atraso { position: relative; z-index: 1; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.18); }
.pl-atraso p { margin: 0 0 .6rem; font-size: .92rem; color: #e6efec; }
.pl-atraso-acoes { display: flex; flex-wrap: wrap; gap: .5rem; }
.pl-atraso .btn { background: #f0d79b; color: #1d2a27; }
.pl-atraso .pl-btn-transp { background: rgba(255,255,255,.12); color: #fff; }

.pl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.pl-stat { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: .8rem .6rem; text-align: center; display: flex; flex-direction: column; gap: .1rem; }
.pl-stat-num { font-size: 1.45rem; font-weight: 800; color: var(--primaria); display: inline-flex; align-items: center; justify-content: center; gap: .2rem; font-variant-numeric: tabular-nums; }
.pl-stat-data { font-size: 1rem; line-height: 2.1rem; }
.pl-stat-rot { font-size: .74rem; color: var(--texto-2); text-transform: uppercase; letter-spacing: .06em; font-weight: 650; }
.pl-chama { width: 22px; height: 22px; color: #e07b2c; }

.pl-barra { height: 10px; background: var(--superficie-2); border-radius: 999px; overflow: hidden; }
.pl-barra span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--dourado), #e8c27a); border-radius: 999px; transition: width .4s ease; }
.pl-prog { margin: -.4rem 0 0; font-size: .86rem; color: var(--texto-2); }

.pl-acoes .chip { display: inline-flex; align-items: center; gap: .35rem; }
.pl-acoes .chip .ico { width: 17px; height: 17px; }
.pl-lembrete p { margin: 0 0 .7rem; font-size: .93rem; }
.pl-lembrete-linha { display: flex; gap: .6rem; flex-wrap: wrap; }
.pl-lembrete-linha .entrada { width: auto; flex: 0 0 130px; }

.pl-filtro { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: .4rem; }
.pl-lista-tit { margin: 0; font-size: 1.2rem; }

.pl-lista { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow-y: auto; background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); overscroll-behavior: contain; }
.pl-lista li { border-bottom: 1px solid var(--borda); }
.pl-lista li:last-child { border-bottom: 0; }
.pl-lista li { display: grid; grid-template-columns: auto 4.4rem 3.9rem 1fr; align-items: center; gap: .65rem; padding: .7rem .9rem; min-height: 52px; }
.pl-lista label { display: contents; cursor: pointer; }
.pl-lista input { width: 22px; height: 22px; accent-color: var(--sucesso); margin: 0; }
.pl-dia { font-weight: 700; font-size: .9rem; }
.pl-data { font-size: .8rem; color: var(--texto-2); }
.pl-ref { font-size: .97rem; }
.pl-lista li.lido .pl-ref { color: var(--texto-2); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--texto-2) 50%, transparent); }
.pl-lista li.hoje { background: var(--dourado-suave); }
.pl-lista li.atrasado .pl-dia { color: var(--perigo); }
.pl-lista.so-pendentes li.lido { display: none; }
.pl-lista li.piscar { animation: piscar 1.6s ease; }
@keyframes piscar { 0%, 100% { background: transparent; } 30% { background: var(--dourado-suave); } }
.pl-nota { font-size: .8rem; color: var(--texto-2); margin: 0; }

@media (max-width: 600px) {
  .pl-lista li { grid-template-columns: auto 1fr auto; grid-template-areas: "c d t" "c r r"; row-gap: .1rem; }
  .pl-lista input { grid-area: c; }
  .pl-dia { grid-area: d; } .pl-data { grid-area: t; } .pl-ref { grid-area: r; }
}
@media print {
  .pl-config, .pl-hoje, .pl-stats, .pl-barra, .pl-prog, .pl-nota { display: none !important; }
  .pl-lista { max-height: none; overflow: visible; border: 0; }
}

/* Links para a Bíblia online */
.pl-ref a.ref-biblia { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--dourado) 55%, transparent); text-underline-offset: 3px; }
.pl-ref a.ref-biblia:hover { color: var(--primaria); }
.pl-lista li.lido .pl-ref a { color: var(--texto-2); }
.pl-hoje-acoes { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pl-hoje-ler { display: contents; }
.pl-btn-ler { background: rgba(255,255,255,.14); color: #fff; min-height: 50px; }
