.qh-page{background:#f6f3ea;color:#173528}.qh-main{max-width:1120px;margin:0 auto;padding:54px 28px 72px}.qh-main *{box-sizing:border-box}.qh-hero{position:relative;padding:12px 0 36px;border-bottom:1px solid #d7ded5;overflow:hidden}.qh-eyebrow{font:700 11px/1.5 system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#477057}.qh-hero h1{position:relative;z-index:1;margin:12px 0 14px;font:500 clamp(40px,6vw,70px)/1.05 Georgia,serif;color:#0b4930;letter-spacing:-.035em}.qh-hero h1 span{color:#a58336}.qh-hero>p{font:17px/1.7 system-ui;margin:0;color:#52695b}.qh-hero-mark{position:absolute;right:15px;top:14px;font:72px/1.8 'Noto Naskh Arabic',serif;color:#a6bba8;opacity:.24;pointer-events:none}.qh-tabs{display:flex;gap:12px;margin:26px 0}.qh-tabs>a{flex:1;display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border:1px solid #d5dfd3;border-radius:12px;background:#fffdf8;color:#355541;text-decoration:none;font:700 18px/1.4 system-ui}.qh-tabs>a span{font-size:12px;font-weight:500}.qh-tabs>a[aria-current]{background:#0d5434;color:#fff;border-color:#0d5434;box-shadow:0 5px 16px #164b3020}.qh-search-panel,.qh-card{padding:28px;border:1px solid #d7e0d5;border-radius:16px;background:#fffefb}.qh-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.qh-panel-heading h2,.qh-result-heading h2,.qh-welcome h2{font:500 26px/1.3 Georgia,serif;color:#173f2a;margin:5px 0}.qh-pill,.qh-ayah-no{border:1px solid #d8e3d7;border-radius:40px;padding:7px 12px;font:600 12px/1.4 system-ui;color:#46664e;white-space:nowrap}.qh-form{display:grid;gap:19px}.qh-form label{display:grid;gap:8px;font:650 14px/1.5 system-ui;color:#254733}.qh-form label small{font-size:12px;font-weight:400;color:#637469}.qh-fields{display:grid;grid-template-columns:2fr 1fr;gap:18px}.qh-form input:not([type=checkbox]):not([type=radio]),.qh-form select{width:100%;min-width:0;height:50px;border:1px solid #c9d9ca;border-radius:9px;padding:11px 14px;background:#fff;color:#24412e;font:15px/1.5 system-ui}.qh-form input[lang=ar]{font:23px/1.5 'Noto Naskh Arabic',serif}.qh-form :is(input,select,button):focus-visible,.qh-main a:focus-visible,.qh-main summary:focus-visible{outline:3px solid #c39d45;outline-offset:3px}.qh-submit-row{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:5px}.qh-main button{cursor:pointer}.qh-primary{display:inline-flex;justify-content:space-between;align-items:center;gap:34px;border:0;border-radius:9px;padding:14px 22px;background:#0d5434;color:#fff;font:700 15px/1.5 system-ui}.qh-submit-row>a{font-size:13px;color:#4a6453}.qh-submit-row [role=status]{font:13px/1.5 system-ui}.qh-scope{margin:0;padding:16px 18px;border:1px solid #d5dfd3;border-radius:10px;min-width:0}.qh-scope legend{font:650 13px/1.4 system-ui;padding:0 6px}.qh-radio-row{display:flex;flex-wrap:wrap;gap:24px}.qh-radio-row>label,.qh-books>label{display:flex;align-items:flex-start;gap:10px}.qh-scope input:is([type=radio],[type=checkbox]){width:17px;height:17px;flex:none;margin:2px 0;accent-color:#0d5434}.qh-scope details{margin-top:15px}.qh-scope summary{cursor:pointer;font:600 13px/1.5 system-ui}.qh-scope summary>span{color:#69776a;margin-left:12px;font-weight:400}.qh-book-filter{margin-top:16px}.qh-books{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:320px;overflow:auto;gap:12px;margin-top:16px;padding-right:6px}.qh-books>label{border:1px solid #dce5da;border-radius:9px;padding:12px;font-size:12px;cursor:pointer}.qh-books>label>span{min-width:0}.qh-books b,.qh-books [lang=ar]{display:block}.qh-books [lang=ar]{font:18px/1.6 'Noto Naskh Arabic',serif;text-align:left;color:#637466}.qh-books>label[hidden]{display:none!important}.qh-book-actions{display:flex;gap:9px;margin-top:12px}.qh-book-actions button,.qh-card-actions button{background:#f3f7ef;border:1px solid #cbdac8;border-radius:8px;padding:8px 12px;font:600 12px/1.5 system-ui;color:#315b3b}.qh-results{margin-top:30px;scroll-margin-top:100px}.qh-results:focus{outline:0}.qh-result-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.qh-result-heading>span{font:12px/1.5 system-ui;color:#607061}.qh-card{margin-bottom:16px;box-shadow:0 3px 20px #28483306}.qh-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.qh-card h2{margin:17px 0 8px;font:600 23px/1.35 Georgia,serif;overflow-wrap:anywhere}.qh-card h2>a{text-decoration:none;color:#1c482c}.qh-arabic{font:clamp(24px,2.5vw,31px)/2.1 'Noto Naskh Arabic','Amiri',serif;text-align:right;color:#183c29;unicode-bidi:plaintext;overflow-wrap:anywhere;margin:24px 0}.qh-book-ar{font:23px/1.7 'Noto Naskh Arabic',serif;color:#4a6250;margin:0 0 12px}.qh-card-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center;border-top:1px solid #e3e8de;padding-top:16px;margin-top:20px}.qh-card-actions a,.qh-source-link{font:600 12px/1.6 system-ui;color:#315b3b}.qh-hierarchy{padding:16px 18px;margin:18px 0;background:#f4f7ef;border-left:3px solid #b8a365;border-radius:8px;display:grid;gap:12px}.qh-hierarchy span{display:block;font:20px/1.6 'Noto Naskh Arabic',serif;text-align:right;color:#31583b}.qh-hierarchy small{display:block;margin-top:3px;font:12px/1.5 system-ui;color:#5f7464}.qh-location{display:flex;flex-wrap:wrap;gap:7px 16px;font:12px/1.6 system-ui;color:#647365;margin:15px 0;overflow-wrap:anywhere}.qh-source-category{font:12px/1.7 system-ui;color:#637064;display:flex;gap:14px;flex-wrap:wrap}.qh-source-category b{font:17px/1.5 'Noto Naskh Arabic',serif}.qh-original{border-top:1px solid #e3e8de;margin:18px 0;padding-top:16px}.qh-original summary{font:650 14px/1.5 system-ui;color:#315b3b;cursor:pointer}.qh-notice,.qh-welcome{padding:28px;border:1px solid #d9dfd2;border-radius:14px;background:#eeefe5}.qh-notice{border-color:#dcca9e;background:#fff8e9;color:#614b22}.qh-notice p,.qh-welcome p{font:15px/1.8 system-ui;color:inherit;margin:8px 0 0}.qh-welcome p{color:#637165}.qh-quick{display:flex;flex-wrap:wrap;gap:18px;margin-top:20px}.qh-quick a,.qh-back{color:#315b3b;font:600 13px/1.6 system-ui}.qh-back{display:inline-block;margin-bottom:20px}.qh-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:28px 0;font:13px/1.5 system-ui}.qh-pagination a{border:1px solid #cad8c6;background:#fffdf8;border-radius:8px;padding:10px 15px;color:#315b3b;text-decoration:none}.qh-provenance{margin-top:36px;padding-top:25px;border-top:1px solid #d5ddcf}.qh-provenance p{font:12px/1.8 system-ui;color:#667366;margin:10px 0;overflow-wrap:anywhere}.qh-provenance a{color:#315b3b}@media(max-width:650px){.qh-main{padding:30px 18px 46px}.qh-hero{padding-bottom:28px}.qh-hero-mark{font-size:45px;right:-25px;top:35px;opacity:.12}.qh-hero>p{font-size:15px}.qh-tabs{gap:8px;margin:20px 0}.qh-tabs>a{display:block;padding:15px 18px;font-size:16px}.qh-tabs>a span{display:block;font-size:11px;margin-top:4px}.qh-search-panel,.qh-card{padding:20px}.qh-panel-heading{align-items:flex-start}.qh-panel-heading h2{font-size:23px}.qh-pill{font-size:10px;padding:6px 9px}.qh-fields,.qh-books{grid-template-columns:1fr}.qh-primary{width:100%;padding:13px 18px}.qh-submit-row{gap:14px}.qh-arabic{font-size:25px;line-height:2.1}.qh-card h2{font-size:21px}.qh-result-heading{display:block}.qh-result-heading>span{display:block;margin-top:8px}.qh-hierarchy{padding:14px}.qh-notice,.qh-welcome{padding:22px}.qh-pagination{gap:10px}.qh-pagination a{padding:9px 12px}.qh-scope{padding:14px}.qh-book-actions{flex-wrap:wrap}.qh-main [hidden]{display:none!important}}

.qh-bibliography{display:grid;gap:7px;margin:14px 0}.qh-bibliography>div{display:flex;gap:14px;align-items:baseline}.qh-bibliography dt{font:11px/1.6 system-ui;color:#6a786c;flex:none;min-width:105px}.qh-bibliography dd{font:17px/1.6 'Noto Naskh Arabic',serif;color:#4f6855;margin:0;overflow-wrap:anywhere}@media(max-width:650px){.qh-bibliography>div{display:block}.qh-bibliography dd{text-align:left}}

.qh-provenance{margin-top:24px;padding-top:0}.qh-provenance summary{min-height:44px;padding:12px 0;cursor:pointer;font:600 12px/1.6 system-ui,sans-serif;color:#477057}.qh-provenance details[open] summary{padding-bottom:4px}

.qh-kind-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:-8px 0 24px}.qh-kind-tabs a{padding:10px 16px;min-height:44px;border:1px solid #d5dfd3;border-radius:9px;color:#355541;text-decoration:none;font:600 13px/1.7 system-ui;background:#fffdf8}.qh-kind-tabs a[aria-current]{background:#e1ecdf;border-color:#809f80;color:#17492c}
.qh-books label.qh-book-unavailable{opacity:.66;background:#f6f5f1;border-style:dashed}
.qh-books label.qh-book-unavailable input{cursor:not-allowed}
.qh-books label.qh-book-unavailable small{display:block;color:#765d24;font-size:.72rem;margin-top:.2rem}

/* R123.80.8.154 — compact premium result surface */
.qh-result-count{display:inline-flex;align-items:center;min-height:34px;padding:6px 12px;border:1px solid #d7e1d4;border-radius:999px;background:#fffdf8;color:#47624f!important;font-weight:650!important}.qh-table-shell{overflow:hidden;border:1px solid #d4dfd2;border-radius:14px;background:#fffefb;box-shadow:0 12px 34px rgba(30,67,43,.055)}.qh-table-shell .qh-hadith-table{table-layout:fixed}.qh-table-shell .qh-hadith-table thead{background:linear-gradient(180deg,#eef4e9,#e9f0e4)}.qh-table-shell .qh-hadith-table th{height:42px;padding:10px 14px;color:#49634d;letter-spacing:.055em;text-transform:uppercase}.qh-table-shell .qh-hadith-table th:first-child{width:58px;text-align:center}.qh-table-shell .qh-hadith-table th:last-child{width:118px}.qh-source-group:last-child .qh-source-row>td{border-bottom:0}.qh-source-row{transition:background-color .18s ease}.qh-source-row:has(.qh-hadith-record[open]){background:#f8f9f2}.qh-source-row>td{padding:15px 14px!important}.qh-source-row>td:first-child{text-align:center}.qh-row-number{display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid #d5e0d2;border-radius:50%;background:#f5f8f1;color:#345640;font:700 11px/1 system-ui}.qh-hadith-record summary{display:flex;align-items:center;justify-content:space-between;gap:18px;list-style:none}.qh-hadith-record summary::-webkit-details-marker{display:none}.qh-record-copy{display:block;min-width:0}.qh-record-copy strong{display:block;color:#183f2a;font:650 14px/1.65 system-ui;overflow-wrap:anywhere}.qh-record-copy small{display:block;margin-top:3px;color:#687a6b;font:11px/1.6 system-ui}.qh-fold-action{display:inline-flex;flex:none;align-items:center;gap:7px;padding:7px 10px;border:1px solid #cfdbcb;border-radius:999px;background:#f1f6ed;color:#28563a;font:700 11px/1.2 system-ui;white-space:nowrap}.qh-fold-action:after{content:'+';font-size:16px;font-weight:400}.qh-hadith-record[open] .qh-fold-action:after{content:'−'}.qh-hadith-record[open] .qh-fold-action{background:#174f33;border-color:#174f33;color:#fff}.qh-source-row .qh-source-link{display:inline-block;margin-top:7px;text-decoration:none}.qh-source-row .qh-source-link:hover{text-decoration:underline}.qh-location-badge{display:inline-flex;padding:6px 9px;border-radius:7px;background:#f3f1e7;color:#625a36;font:650 11px/1.4 system-ui}.qh-source-expanded>td{padding:0!important;border-bottom:1px solid #dde6d9!important;background:#fbfaf4!important}.qh-hadith-record-body{padding:24px clamp(16px,4vw,38px)!important;border-top:1px solid #e0e7dc}.qh-hadith-bibliography{margin:0 0 14px;padding:11px 13px;border-left:3px solid #ad9454;background:#f3f4e9;border-radius:0 7px 7px 0}.qh-sharh-fold{border-top:1px solid #dfe6da;background:#f8f7ef}.qh-sharh-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px!important;list-style:none}.qh-sharh-fold>summary::-webkit-details-marker{display:none}.qh-sharh-fold>summary>span{display:block}.qh-sharh-fold>summary b,.qh-sharh-fold>summary small{display:block}.qh-sharh-fold>summary small{margin-top:2px;color:#7a775f;font:11px/1.5 system-ui}.qh-sharh-fold>summary em{flex:none;padding:6px 10px;border:1px solid #ddd5b6;border-radius:999px;background:#fffdf6;color:#645a31;font:650 11px/1 system-ui;font-style:normal}.qh-sharh-fold[open]>summary{background:#f0eee0}.qh-sharh-book{padding:18px!important}.qh-sharh-book+.qh-sharh-book{border-top:1px solid #e1e4d8}.qh-sharh-book h3{margin:0 0 12px!important}
@media(max-width:650px){.qh-result-count{margin-top:9px}.qh-table-shell{overflow:visible;border-radius:11px}.qh-table-shell .qh-hadith-table{table-layout:auto}.qh-table-shell .qh-hadith-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.qh-source-row{display:grid;grid-template-columns:40px minmax(0,1fr);position:relative}.qh-source-row>td{display:block;width:auto!important;border:0!important}.qh-source-row>td:first-child{grid-row:1/3;padding:15px 4px 15px 10px!important}.qh-source-row>td:nth-child(2){padding:15px 12px 8px 6px!important}.qh-source-row>td:last-child{grid-column:2;padding:0 12px 14px 6px!important}.qh-source-group+.qh-source-group .qh-source-row{border-top:1px solid #e0e7dc}.qh-hadith-record summary{align-items:flex-start;gap:10px}.qh-record-copy strong{font-size:13px}.qh-fold-action{padding:6px 8px;font-size:10px}.qh-source-expanded{display:table-row}.qh-source-expanded>td{display:table-cell!important}.qh-hadith-record-body{padding:19px 15px!important}.qh-sharh-book{padding:12px!important}.qh-sharh-fold>summary{padding:14px!important}}

/* R371: search-return affordance; retain 3-column evidence table with readable horizontal scrolling. */
.qh-back[hidden]{display:none!important}.qh-back:not([hidden]){display:inline-flex;align-items:center;min-height:36px;margin:8px 0;padding:7px 12px;border-radius:9px;border:1px solid currentColor;text-decoration:none;font-weight:600}.iha-intertextual{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.iha-intertextual-table{min-width:570px;table-layout:auto}.iha-intertextual-table td{overflow-wrap:break-word;word-break:normal}.iha-intertextual-proof [lang="ar"]{line-height:1.9;unicode-bidi:isolate}

/* R375 reconstruction: contextual return and compact Arabic evidentiary units. */
.qh-back:not([hidden]){max-width:100%;gap:.4rem;line-height:1.45;border-color:#c6d5c4;background:#fffefb;color:#22553a;text-align:start;overflow-wrap:anywhere}
.iha-intertextual-table th:nth-child(1){min-width:150px}
.iha-intertextual-table th:nth-child(2){width:20%;min-width:115px}
.iha-intertextual-table th:nth-child(3){min-width:230px}
.iha-intertextual-table .iha-intertextual-proof summary[lang="ar"]{font-family:'Noto Naskh Arabic','Amiri',serif;font-size:1.15rem;line-height:1.9;text-align:right;direction:rtl;white-space:normal;word-break:normal;overflow-wrap:break-word}
.iha-intertextual-table .iha-intertextual-source{overflow-wrap:break-word;word-break:normal}
@media(max-width:650px){.iha-intertextual{overflow-x:auto;-webkit-overflow-scrolling:touch}.iha-intertextual-table{min-width:610px}.qh-back:not([hidden]){min-height:42px}}

/* Source-grounded relation explanations and progressive result disclosure. */
.iha-intertextual-context{margin:.65rem 0;padding:.5rem .65rem;border-inline-start:2px solid #acc1b1;font-size:.94em;line-height:1.85;overflow-wrap:anywhere}
.iha-related-more{margin-top:.65rem}
.iha-related-more>summary{padding:.6rem .2rem;cursor:pointer;font-size:.9rem;font-weight:600}
