/* Quran cross-references 3.5: scoped Quran green palette, responsive, accessible */
.alh350-zone{--alh350-ink:#134f3b;--alh350-surface:#effaf5;--alh350-edge:#a4d7bc;--alh350-card:#fff;--alh350-accent:#16734a;color:var(--alh350-ink);margin:2rem 0;padding:clamp(1rem,2.4vw,2rem);background:var(--alh350-surface);border:1px solid var(--alh350-edge);border-radius:18px;max-width:100%;box-sizing:border-box}
.alh350-heading{display:flex;gap:1rem;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
.alh350-heading h2{font-size:clamp(1.35rem,2.2vw,2rem);margin:.1rem 0 .5rem;color:var(--alh350-ink)}
.alh350-heading p{max-width:83ch;line-height:1.6;margin:.35rem 0}
.alh350-kicker{font-size:.76rem;font-weight:800;letter-spacing:.09em;color:#246e54}
.alh350-counter{background:#d8f0e2;color:#144e38;font-weight:800;white-space:nowrap;padding:.45rem .8rem;border-radius:999px}
.alh350-notice{border-left:4px solid #b47a28;background:#fff8e9;color:#5c431d;padding:.9rem 1rem;border-radius:7px;line-height:1.6}
.alh350-topics{margin:1rem 0}.alh350-topics summary{cursor:pointer;font-weight:700}.alh350-topics p{font-size:.85rem}
.alh350-theme-list{display:flex;flex-wrap:wrap;gap:.35rem}.alh350-theme{border:1px solid #b8d8c5;border-radius:999px;padding:.22rem .55rem;font-size:.8rem;background:#fff}
.alh350-filter{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;margin:1.1rem 0}.alh350-filter label{font-weight:700}.alh350-filter select{color:#143f30;background:#fff;border:1px solid #7db69c;padding:.6rem;border-radius:8px;max-width:100%;min-width:220px}
.alh350-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:.8rem}
.alh350-card{min-width:0;background:var(--alh350-card);border:1px solid var(--alh350-edge);border-radius:12px;padding:1rem 1.1rem;box-shadow:0 2px 8px #164a3b0b}
.alh350-card[hidden]{display:none!important}.alh350-card-head{display:flex;gap:.6rem;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}.alh350-card-head>a{font-size:1.15rem;font-weight:800;color:#126246}
.alh350-pill{font-size:.74rem;font-weight:700;border-radius:6px;padding:.25rem .5rem;line-height:1.4;max-width:100%}
.alh350-type-C{color:#6b3b7c;background:#f3e9fc}.alh350-type-M{color:#745216;background:#fff1ce}.alh350-type-T{color:#225f86;background:#e6f3ff}.alh350-type-N{color:#305c45;background:#def3e6}
.alh350-reason{line-height:1.55;overflow-wrap:anywhere;margin:.8rem 0}.alh350-card-actions{display:flex;flex-wrap:wrap;gap:.7rem;font-size:.9rem}.alh350-card-actions a,.alh350-actions a{color:#116346;font-weight:700;text-underline-offset:3px}
.alh350-more{margin-top:1rem}.alh350-more summary{cursor:pointer;padding:.65rem .8rem;border:1px solid var(--alh350-edge);border-radius:8px;font-weight:700;background:#fff}.alh350-more[open] summary{margin-bottom:1rem}
.alh350-actions{display:flex;flex-wrap:wrap;gap:1rem;margin:1rem 0}.alh350-credit{font-size:.8rem;color:#496859;line-height:1.55;margin-bottom:0}
.alh350-feed{font-size:.85rem;display:flex;flex-wrap:wrap;gap:.35rem .65rem;align-items:center;margin:.9rem 0;background:#e6f5ed;color:#184f39;border-radius:8px;padding:.5rem .75rem}.alh350-feed a{color:#126344;font-weight:650}
@media(max-width:640px){.alh350-zone{margin:1rem 0;padding:1rem;border-radius:12px}.alh350-list{grid-template-columns:minmax(0,1fr)}.alh350-filter select{width:100%;min-width:0}.alh350-filter label{width:100%}}
/* Respect existing dark theme when activated by site's own theme toggle. */
html[data-theme="dark"] .alh350-zone,body[data-theme="dark"] .alh350-zone,.dark .alh350-zone{--alh350-ink:#e0f4e6;--alh350-surface:#122d26;--alh350-edge:#366352;--alh350-card:#1a3930;--alh350-accent:#8be2b5}
html[data-theme="dark"] .alh350-card-head>a,html[data-theme="dark"] .alh350-card-actions a,html[data-theme="dark"] .alh350-actions a{color:#b1f2cd}

.alh350-theme{color:#174e39;text-decoration:none}.alh350-theme:hover{text-decoration:underline}.alh350-topic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:.55rem}.alh350-topic-ref{background:#fff;border:1px solid #b8d8c5;border-radius:8px;padding:.65rem;display:flex;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.alh350-topic-ref a{font-weight:700;color:#126344}.alh350-filter button{border:1px solid #146c4a;color:#fff;background:#166b4c;border-radius:8px;padding:.55rem .9rem;cursor:pointer}
