.te-apostolado-history{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--line);max-width:75ch}
.te-apostolado-history p{text-align:justify;line-height:1.95;hyphens:auto}
.te-apostolado-history h3{font-size:1.15rem}.te-apostolado-history h4{font-size:.95rem;margin-top:1.6rem}
.te-novena-progress{flex:none;padding:10px 12px;background:var(--bg);border-bottom:1px solid var(--line);color:var(--fg)}
.te-novena-days{display:flex;justify-content:center;gap:2px}
#dialog .te-novena-day{display:flex;align-items:center;justify-content:center;padding:0;min-width:0;width:calc((100% - 16px)/9);max-width:44px;height:44px;border:0;background:transparent;color:inherit}
.te-novena-day span{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:26px;height:26px;aspect-ratio:1;border:1px solid var(--line);border-radius:50%;font-size:12px;line-height:1;font-family:inherit}
.te-novena-day[aria-pressed="true"] span{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.te-novena-day[aria-current="step"] span{border-color:var(--fg);box-shadow:0 0 0 2px var(--bg),0 0 0 3px var(--fg)}
.te-novena-day:disabled{opacity:.4;cursor:default}
.te-novena-day:focus-visible{outline:2px solid currentColor;outline-offset:-2px;border-radius:6px}
.te-novena-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.7rem;line-height:1.5}
.te-novena-meta p{margin:3px 0;text-align:left}
#dialog .te-novena-reset{font-size:.7rem;padding:8px;min-height:44px;background:transparent;color:inherit;border:0}
#dialogtext .te-novena-text p{margin:0 0 1em;text-align:justify;hyphens:auto}

/* Índice anual: acompanha tema e tamanho de texto do site. */
.te-novenas-filters{display:flex;flex-wrap:wrap;align-items:end;gap:1rem;margin:1.5rem 0 1rem}
.te-novenas-filters label{display:flex;flex-direction:column;gap:.45rem;font-size:.85em;flex:1 1 12rem;min-width:0}
.te-novenas-filters label:first-child{flex-grow:2}
#novenas .te-novenas-filters input,#novenas .te-novenas-filters select{box-sizing:border-box;width:100%;min-height:46px;border:1px solid var(--line);border-radius:4px;background:var(--bg);color:var(--fg);padding:.7rem;font:inherit}
#novenas .te-novenas-filters button{min-height:46px;background:transparent;color:inherit;border:1px solid var(--line);border-radius:4px;padding:.7rem 1rem;font:inherit;font-size:.85em}
.te-novenas-group{margin-top:2rem}
#novenas .te-novenas-group h3{font-size:1.1em;margin:0 0 .75rem}
#novenas .te-novenas-list{list-style:none;padding:0;margin:0}
.te-novenas-list li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line)}
.te-novenas-list li>div{min-width:0}
.te-novena-name{display:block;line-height:1.55;overflow-wrap:anywhere}
.te-novenas-list small{display:block;opacity:.7;font-size:.8em;margin-top:.25rem}
#novenas .te-novenas-list button{flex:none;background:transparent;color:inherit;border:1px solid var(--line);border-radius:4px;min-height:44px;padding:.5rem .8rem;font:inherit;font-size:.8em}
#novenas :is(input,select,button):focus-visible{outline:2px solid var(--fg);outline-offset:3px}
@media(max-width:480px){.te-novenas-filters{gap:.75rem}.te-novenas-filters label:first-child{flex-basis:100%}}

/* Seletor e progresso para novenas, trezena e setenário. */
.te-novena-days{display:grid;grid-template-columns:repeat(var(--novena-columns,9),minmax(0,1fr));gap:2px;max-width:440px;margin:auto}
#dialog .te-novena-day{width:100%;max-width:none;height:36px}
.te-novena-day[data-done="true"] span{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.te-novena-day[aria-pressed="true"][data-done="false"] span{background:transparent;color:var(--fg)}
.te-novena-controls{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:6px}
#dialog .te-novena-controls button{border:0;background:transparent;color:inherit;font:inherit;font-size:.72rem;min-height:44px;padding:5px 6px;line-height:1.35}
#dialog .te-novena-controls .te-novena-complete{border:1px solid var(--line);border-radius:4px;padding:5px 9px}
#dialog .te-novena-controls button:disabled{opacity:.4;cursor:default}
#dialog .te-novena-text h3{font-size:1.18em;margin:1rem 0}
#dialog .te-novena-text h4{font-size:1em;margin:1.5rem 0 .6rem}
@media(max-width:360px){#dialog .te-novena-controls button{font-size:.66rem;padding-left:3px;padding-right:3px}.te-novena-meta{font-size:.65rem}}
