
/* Galería de fichas en cascada V46 */
.aq-gallery-trigger{display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;padding:12px 20px;border:1px solid #b3c6ba;border-radius:999px;background:#fff;color:#214b38;font-weight:700;margin:18px 0 4px;max-width:100%;}
.aq-gallery-trigger:hover{background:#edf5ef}
.aq-gallery-modal[hidden]{display:none!important}.aq-gallery-modal{position:fixed;inset:0;z-index:9000;background:#0f211fbb;display:flex;justify-content:flex-end}.aq-gallery-dialog{height:100%;width:min(680px,100vw);background:#fdfdf9;overflow:auto;box-shadow:-16px 0 50px #112e3040;padding:26px}.aq-gallery-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.aq-gallery-head h2{margin:4px 0;font-size:1.7rem;color:#1c422f}.aq-gallery-close{border:0;background:#edf1ed;color:#243c30;border-radius:100%;height:42px;width:42px;font-size:24px;cursor:pointer}.aq-gallery-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.aq-gallery-controls label{display:flex;flex-direction:column;gap:5px;color:#426054;font-size:.85rem;font-weight:700}.aq-gallery-controls select{width:100%;border:1px solid #becfc1;border-radius:9px;background:white;color:#153a29;padding:10px;font-size:1rem}.aq-gallery-tabs{display:flex;overflow-x:auto;gap:6px;padding:3px 0;margin:18px 0}.aq-gallery-tabs button{cursor:pointer;border:1px solid #c9d7ca;border-radius:999px;white-space:nowrap;color:#24513e;background:white;padding:9px 13px}.aq-gallery-tabs button[aria-selected=true]{background:#254e39;color:white}.aq-gallery-media{min-height:180px}.aq-gallery-item{border:1px solid #dbe5dc;border-radius:13px;overflow:hidden;margin-bottom:14px;background:white}.aq-gallery-item img{width:100%;display:block;max-height:490px;object-fit:contain;background:#edf0e9}.aq-gallery-item figcaption{padding:10px;color:#52675a;font-size:.85rem}.aq-gallery-empty{background:#eef3ee;color:#425a4b;padding:24px;border-radius:12px;line-height:1.6}.aq-gallery-notice{font-size:.78rem;color:#66776c;line-height:1.5;margin-top:18px}.aq-gallery-jump{background:#286045;color:white;border-radius:10px;padding:12px;text-align:center;text-decoration:none;display:block;margin:14px 0}.aq-gallery-jump:hover{background:#1d4935}@media(max-width:640px){.aq-gallery-dialog{padding:15px}.aq-gallery-controls{grid-template-columns:1fr 1fr;gap:8px}.aq-gallery-tabs button{padding:8px 10px;font-size:.84rem}}
