/* Todos los estilos acotados: compatibles con temas ligeros como GeneratePress */
.qch-app,.qch-single{font-family:inherit;color:inherit;font-size:16px;line-height:1.65}
.qch-app *,.qch-single *{box-sizing:border-box}
.qch-standalone-main{max-width:1150px;margin:34px auto;padding:0 22px}
.qch-hero{background:linear-gradient(135deg,#edf5ef,#f9faf6);border:1px solid #dce8df;border-radius:18px;padding:36px 38px;margin:0 0 22px;color:#214e3e}
.qch-hero h1{font-size:clamp(1.6rem,3.5vw,2.5rem);line-height:1.25;font-weight:720;color:#1b483a;margin:9px 0 16px}
.qch-hero p{margin:0;color:#50685b}.qch-overline{font-size:.72rem;letter-spacing:.13em;font-weight:700;color:#3c8a69}
.qch-date-form{display:flex;flex-wrap:wrap;gap:12px;align-items:center;background:#fff;border:1px solid #e2e9e4;border-radius:12px;padding:15px 18px}
.qch-date-form label{font-weight:700;color:#2a5445}.qch-date-form input{width:auto;min-height:40px;border:1px solid #9daea2;border-radius:8px;padding:8px}
.qch-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;border:1px solid #266f55!important;border-radius:8px;background:#266f55;color:white!important;font-weight:600;font-size:.83rem;line-height:1.25;font-family:inherit;cursor:pointer;padding:10px 13px;transition:opacity .15s,transform .15s}
.qch-button:hover,.qch-button:focus{opacity:.88;color:white!important}.qch-button:focus-visible{outline:3px solid #8bcbaa;outline-offset:2px}
.qch-outline{background:transparent;color:#225e49!important}.qch-outline:hover{color:#225e49!important}
.qch-nav{display:flex;justify-content:space-between;gap:10px;margin:17px 0 28px;font-size:.94rem}.qch-nav a{color:#236e53;text-decoration:underline}
.qch-section{margin:34px 0}.qch-section>h2{font-size:1.5rem;color:#254d3c;border-bottom:2px solid #dfeae2;padding-bottom:12px;margin:0 0 16px}
.qch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:19px}
.qch-card{background:#fff;border:1px solid #dbe5df;border-radius:14px;padding:23px;box-shadow:0 3px 12px rgba(17,59,41,.045)}
.qch-card h3{font-size:1.24rem;line-height:1.3;margin:8px 0 13px}.qch-card h3 a{color:#194b3b;text-decoration:none}.qch-card h3 a:hover{text-decoration:underline}
.qch-card p{font-size:.94rem;color:#445e4e;margin:8px 0 14px}.qch-card .qch-nombre{font-weight:650;color:#265a45}
.qch-kicker{font-size:.73rem;font-weight:730;letter-spacing:.045em;color:#27765c;text-transform:uppercase}
.qch-share{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0 2px}.qch-share .qch-button{font-size:.76rem;padding:9px 11px;min-height:36px}
.qch-share .qch-feedback{width:100%;font-size:.82rem;color:#2d664f;margin:6px 0 0;min-height:0}
.qch-draft{color:#744f11;background:#fff2cb;border-radius:6px;font-size:.72rem;padding:3px 7px;display:inline-block;margin-top:8px}
.qch-editor-alert{background:#fff8e5;border-left:4px solid #bd8b1e;color:#624c1a;padding:12px 17px;border-radius:6px}
.qch-empty{background:#f3f5f3;padding:24px;border-radius:9px;color:#4e6056}
.qch-single{max-width:900px;margin:0 auto}.qch-metadata{color:#516b5a}.qch-single-actions{margin:35px 0 22px;padding:25px;background:#eef5ef;border-radius:12px}.qch-single-actions h2{color:#25503f;font-size:1.35rem}.qch-single-actions blockquote{font-size:1.03rem;border-left:3px solid #6ba68b;padding:13px 18px;margin:18px 0;background:#fff;border-radius:4px}.qch-source{border-top:1px solid #dfe4e0;padding-top:15px;font-size:.87rem}
@media(max-width:600px){.qch-hero{padding:22px}.qch-card{padding:18px}.qch-nav{font-size:.78rem}.qch-share .qch-button{flex:1 1 46%}}

.qch-month{margin:0 0 20px;background:#f7faf7;border:1px solid #dae7dc;border-radius:11px;padding:10px 16px;color:#2c624c}
.qch-month summary{cursor:pointer;font-weight:650;padding:5px 0}.qch-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;max-width:490px;margin:18px 0 8px}
.qch-month-grid>a,.qch-month-grid>span{display:flex;align-items:center;justify-content:center;min-height:38px;border-radius:6px;text-align:center}
.qch-month-grid>a{background:#fff;color:#225b47;border:1px solid #dde6df;text-decoration:none}.qch-month-grid>a:hover{background:#deeee3}
.qch-month-grid>a[aria-current="date"]{background:#287458;color:#fff;font-weight:800}.qch-month-grid>.qch-week{font-size:.8rem;font-weight:700}
.qch-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0 22px}.qch-filter label{font-weight:700;color:#295844}
.qch-filter input{border:1px solid #9baea0;border-radius:8px;padding:10px 12px;max-width:360px;width:100%}
.qch-card[hidden],.qch-section[hidden]{display:none!important}

#qch-poster-modal{max-height:95vh;max-width:min(94vw,520px);padding:14px;border-radius:14px;border:1px solid #b4ccbc;background:#f9faf7;box-shadow:0 15px 80px rgba(0,0,0,.24)}
#qch-poster-modal::backdrop{background:rgba(8,32,25,.6)}
#qch-poster-modal canvas{display:block;max-width:100%;height:auto;margin-top:12px;border-radius:7px}

/* Navegación rápida entre todos los tipos con contenido en esa fecha */
.qch-permalink{font-size:.88rem;color:#466a55;margin:10px 0 2px}
.qch-permalink a{color:#236e53}
.qch-toc{margin:18px 0 8px;border:1px solid #dce8df;border-radius:12px;padding:15px;background:#f9fbf9;color:#28533e}
.qch-toc-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
.qch-toc-links a{display:inline-flex;gap:6px;color:#265c46!important;background:#eef5ee;border:1px solid #d5e6d9;padding:5px 10px;border-radius:20px;font-size:.84rem;text-decoration:none}
.qch-toc-links a:hover{background:#d9eddf}
.qch-section{scroll-margin-top:20px}
.qch-section h2 small{font-size:.7em;font-weight:500;color:#6b7c70}

/* Listado prioritario por día; los botones de cartel se muestran en cada ficha individual. */
.qch-app .qch-grid{display:grid;grid-template-columns:1fr;gap:10px}
.qch-app .qch-day-item{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:17px 20px;box-shadow:none}
.qch-day-item-main{min-width:0;flex:1}
.qch-app .qch-day-item h3{margin:0 0 5px;font-size:1.13rem}
.qch-app .qch-day-item p{margin:5px 0;line-height:1.45;font-size:.9rem}
.qch-day-item-actions{flex:0 0 205px;display:flex;flex-direction:column;align-items:flex-end;gap:5px;padding-top:2px}
.qch-detail-link{font-size:.85rem;color:#216c50!important;text-align:right;font-weight:650}
.qch-edit-link{font-size:.8rem;color:#66796c}
@media(max-width:650px){.qch-app .qch-day-item{display:block;padding:15px}.qch-day-item-actions{align-items:flex-start;margin-top:10px}.qch-detail-link{text-align:left}}

/* Índice real de 1.461 páginas diarias */
.qch-date-lead{font-size:1.12rem!important;font-weight:650;margin:8px 0!important;color:#214e3e!important}
.qch-index-years,.qch-index-months{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0 22px}
.qch-index-months a{padding:6px 12px;border:1px solid #d9e9dd;background:#f5faf6;border-radius:25px;text-decoration:none;color:#25674e}
.qch-index-months a:hover{background:#e1f1e7}
.qch-index-days{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:9px;margin:18px 0 30px}
.qch-index-days a{display:block;border:1px solid #dfebe2;border-radius:10px;padding:10px 12px;text-decoration:none;color:#225f46;background:#fff}
.qch-index-days a:hover{background:#edf6ef}
