.hadith-library{color:#17352b}
.hadith-library [hidden]{display:none!important}
.hadith-library .page-head>div{min-width:0}
.hadith-library .page-head h2{font-size:18px;margin:3px 0}
.hadith-library .page-head small{font-size:10px;color:#527765}
.hadith-intro{display:flex;gap:12px;padding:15px;border:1px solid #ded2ad;border-radius:16px;background:linear-gradient(130deg,#fffdf4,#f0f8f2)}
.hadith-intro>span{display:grid;place-items:center;flex:0 0 42px;width:42px;height:46px;border-radius:12px;background:#f7e8bd}
.hadith-intro h3{font:700 15px/1.5 system-ui;margin:0 0 6px;color:#174b35}
.hadith-intro p,.hadith-about p{font:13px/1.65 system-ui;color:#526b5e;margin:0}
.hadith-filters{display:grid;gap:10px;margin:16px 0 10px}
.hadith-filters label{display:grid;gap:5px;font:600 12px/1.4 system-ui}
.hadith-filters input,.hadith-filters select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid #bdd5c7;border-radius:9px;background:#fff;color:#17352b;font:16px system-ui}
.hadith-result-count{font:12px/1.5 system-ui;color:#526b5e;margin:8px 0}
.hadith-items{display:grid;gap:12px}
.hadith-card{min-width:0;padding:15px;border:1px solid #cddfd4;border-radius:15px;background:#fff;box-shadow:0 3px 10px #17352b06}
.hadith-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.hadith-card-head h3{font:700 15px/1.5 system-ui;margin:0;color:#174b35}
.hadith-card-head>span{max-width:110px;padding:4px 7px;border-radius:7px;background:#edf5ef;color:#527765;font:500 10px/1.4 system-ui;text-align:center}
.hadith-card .hadith-attribution{font:12px/1.5 system-ui;color:#526b5e;margin:10px 0 6px}
.hadith-card blockquote{margin:0;padding:9px 0;font:500 16px/1.8 system-ui;color:#17352b;overflow-wrap:anywhere}
.hadith-text-kind{display:block;margin:3px 0 12px;font:11px/1.5 system-ui;color:#6c7462}
.hadith-reference{border-top:1px solid #e1ebe5;padding-top:10px}
.hadith-reference summary{font:600 12px/1.5 system-ui;color:#075a3b;cursor:pointer}
.hadith-reference ul{list-style:none;padding:0;margin:10px 0}
.hadith-reference li{margin:0 0 10px;font:13px/1.5 system-ui;color:#425d4e}
.hadith-reference li>span{display:block;margin-top:4px;font-size:12px}
.hadith-reference p{font:12px/1.5 system-ui;color:#526b5e;margin:8px 0}
.hadith-library a{color:#075a3b;text-decoration:underline;text-underline-offset:3px}
.hadith-reference a{display:block;padding:6px 0;font:600 12px/1.5 system-ui}
.hadith-empty{padding:15px;border:1px solid #d3e5da;border-radius:12px;background:#f4f9f6;font:13px/1.65 system-ui;color:#526b5e}
.hadith-empty button{min-height:40px;padding:8px 12px;border:1px solid #bdd5c7;border-radius:8px;background:#eaf6ef;color:#075a3b;font:600 12px system-ui;cursor:pointer}
.hadith-about{margin:18px 0;padding:13px;border:1px solid #d3e5da;border-radius:12px;background:#f7faf8}
.hadith-about summary{font:600 12px/1.5 system-ui;color:#075a3b;cursor:pointer}
.hadith-about p{margin-top:10px}
.hadith-about>a{display:inline-block;margin-top:10px;font:600 12px/1.5 system-ui}
.hadith-library :focus-visible{outline:2px solid #075a3b;outline-offset:3px}
.home-dashboard .home-quick-access>button.quick-access-hadith{--tile-color:#80621d;--tile-line:#e8d6aa;--tile-tint:#fff8e9;--icon-tint:#f5e5b6}
