/* Catholon meditation: quiet image, reading and prayer in one workspace. */
.sp12-meditation-home{min-width:0}.sp12-meditation-tools{display:flex;justify-content:flex-end;gap:.6rem;margin:0 0 1rem}.sp12-meditation-home .gl2-page{max-width:none;padding:clamp(22px,3vw,40px)}.sp12-meditation-home .gl5-prayer-bridge{margin-top:0}.sp12-meditation-home [data-gl4-prayer],.sp10-meditation [data-gl4-prayer]{min-width:0}
.sp12-meditation-art{margin:1.5rem 0 2rem;padding:clamp(.85rem,2vw,1.5rem);background:var(--card,#fffdf8);border:1px solid var(--line,#e0d3bd);border-radius:16px;box-shadow:0 6px 24px #2e1c0810;color:var(--text,#30271f)}.sp12-art-eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.73rem;font-weight:700;color:var(--muted,#766654);margin:0 0 .8rem}.sp12-meditation-art figure{margin:0}.sp12-art-image{display:block;border:0!important;padding:0!important;margin:auto;width:100%;max-width:880px;background:transparent!important;border-radius:10px;overflow:hidden;cursor:zoom-in}.sp12-art-image img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;object-position:center;background:transparent}.sp12-meditation-art figcaption{text-align:center;padding:1.1rem .5rem .5rem}.sp12-meditation-art h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.2rem,2.5vw,1.8rem);margin:0 0 .35rem}.sp12-art-meta{font-size:.88rem;color:var(--muted,#756757);line-height:1.5}.sp12-art-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;margin-top:.6rem}.sp12-art-actions button,.sp12-art-close,.sp12-meditation-tools button{padding:.65rem 1rem;border:1px solid var(--line,#d8c6ab);border-radius:8px;background:var(--card,#fffdf8);color:inherit;cursor:pointer;font:inherit}.sp12-art-actions button:first-child{background:#721e2e;color:#fff;border-color:#721e2e}.sp12-art-message:empty{display:none}.sp12-art-message{text-align:center;font-size:.85rem}
.sp12-art-dialog{position:fixed;box-sizing:border-box;margin:auto;padding:clamp(1rem,3vw,2rem);width:min(1040px,calc(100vw - 28px));max-height:90dvh;overflow:auto;border:1px solid #c9ad79;border-radius:16px;background:var(--card,#fffdf8);color:var(--text,#30271f);box-shadow:0 24px 90px #0006}.sp12-art-dialog::backdrop{background:#17100ccd;backdrop-filter:blur(3px)}.sp12-art-dialog h2{font-family:Georgia,'Times New Roman',serif;margin:.4rem 7rem 1rem 0}.sp12-art-close{position:absolute;right:1rem;top:1rem}.sp12-art-dialog h3{margin:1.5rem 0 .7rem}.sp12-art-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.sp12-art-grid button{border:2px solid transparent;border-radius:10px;background:var(--card,#f3ecdf);color:inherit;padding:.3rem;cursor:pointer;text-align:left}.sp12-art-grid button[aria-pressed=true]{border-color:#8d3e45;box-shadow:0 0 0 2px #c9ad79}.sp12-art-grid img{display:block;width:100%;height:auto;border-radius:6px}.sp12-art-grid span{display:block;padding:.55rem .2rem;font-size:.85rem;line-height:1.4}.sp12-art-grid button:hover{border-color:#c9ad79}.sp12-art-full{width:min(1500px,calc(100vw - 24px))}.sp12-art-full>img{display:block;width:100%;height:auto;max-height:74dvh;object-fit:contain}.sp12-art-dialog button:focus-visible,.sp12-meditation-art button:focus-visible{outline:3px solid #a87625;outline-offset:3px}
[data-theme=dark] .sp12-meditation-art,[data-theme=dark] .sp12-art-dialog,body.dark .sp12-meditation-art,body.dark .sp12-art-dialog{background:#231f1a;color:#f3e6ce;border-color:#594b36}[data-theme=dark] .sp12-art-meta,[data-theme=dark] .sp12-art-eyebrow,body.dark .sp12-art-meta,body.dark .sp12-art-eyebrow{color:#cbbda6}[data-theme=dark] .sp12-art-grid button,body.dark .sp12-art-grid button{background:#342d25;color:#f3e6ce}[data-theme=dark] .sp12-art-close,body.dark .sp12-art-close{background:#342d25;color:#f3e6ce}
@media(max-width:760px){.sp12-art-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sp12-art-dialog{max-height:94dvh}.sp12-meditation-art{padding:.7rem}.sp12-meditation-home .gl4-prayer-workspace{grid-template-columns:1fr}}@media(max-width:430px){.sp12-art-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sp12-art-dialog h2{margin-right:0;margin-top:3rem}}
@media print{.sp12-art-actions,.sp12-art-dialog,.sp12-meditation-tools{display:none!important}.sp12-art-image img{max-height:300px}.sp12-meditation-art{break-inside:avoid;box-shadow:none}}

.sp13-art-search{display:block;box-sizing:border-box;width:100%;padding:.8rem 1rem;border:1px solid #c9ad79;border-radius:8px;font:inherit;background:inherit;color:inherit;margin:1rem 0}.sp12-art-grid img{aspect-ratio:3/2;object-fit:contain;background:#211b16}.sp12-art-meta a{color:inherit;text-decoration:underline}.sp12-art-full .sp12-art-meta{line-height:1.5}

/* SP20: the same generous inset in the dashboard and its movable prayer window. */
.sp10-meditation>.gl4-prayer.gl2-page{box-sizing:border-box;max-width:none;margin:12px 0;padding:clamp(22px,3vw,40px);width:100%}
.sp10-meditation .gl4-prayer .gl4-reading-text{padding:clamp(22px,2.5vw,32px);scroll-padding:24px}
.sp10-meditation .gl4-prayer .gl4-prayer-controls{padding:clamp(20px,2.5vw,28px)}
.sp10-meditation .gl2-step{padding:16px 22px 16px 24px}
.sp12-meditation-art figure{display:grid;justify-items:center;min-width:0}
.sp12-meditation-art .sp12-art-image{justify-self:center;margin-inline:auto}
.sp12-meditation-art .sp12-art-image img{object-position:center;background:transparent!important}
.sp12-meditation-art figcaption{width:100%;max-width:880px}
@media(max-width:560px){.sp12-meditation-home .gl2-page,.sp10-meditation>.gl4-prayer.gl2-page{padding:20px}.sp10-meditation .gl4-prayer .gl4-reading-text{padding:20px}.sp10-meditation .gl2-step{padding:14px 18px}}
