/* =========================================================
   E-QURAN /sections/ V18 — Site Directory
   Page-only overrides. No framework, no external assets.
   ========================================================= */
body.eq-sections-v18{
  --sd-bg:#f4f7f3;
  --sd-surface:#fff;
  --sd-soft:#f9fbf8;
  --sd-ink:#173f36;
  --sd-muted:#63766d;
  --sd-line:#d7e2d9;
  --sd-green:#153f35;
  --sd-green-2:#245b4b;
  --sd-green-soft:#eaf2ec;
  --sd-gold:#a7863e;
  --sd-gold-soft:#f7efd9;
  --sd-shadow:0 16px 42px rgba(16,54,45,.07);
  background:var(--sd-bg);
  color:var(--sd-ink);
}
.eq-sections-v18 *{box-sizing:border-box}
.eq-sections-v18 main{max-width:1320px;padding:18px 28px 48px}
.eq-sections-v18 a{color:inherit;text-decoration:none}
.eq-sections-v18 :is(a,button,input,summary):focus-visible{outline:3px solid rgba(167,134,62,.58);outline-offset:3px}
.eq-sections-v18 [hidden]{display:none!important}
.eq-sections-v18 .eq-sections-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.eq-sections-v18 .eq-v18-icon{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.eq-sections-v18 .eq-v18-arrow{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.eq-sections-v18 .eq-v18-kicker{margin:0 0 6px;color:var(--sd-gold);font-size:11px;font-weight:800}
.eq-sections-v18 .eq-v18-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.eq-sections-v18 .eq-hub-breadcrumb{margin:3px 0 12px;font-size:11px}

/* HERO */
.eq-sections-v18 .eq-v18-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:34px;align-items:center;overflow:hidden;padding:42px 46px;border:1px solid #315e50;border-radius:23px;background:linear-gradient(132deg,#103c32 0%,#17493b 60%,#5e4a20 150%);color:#fff;box-shadow:0 18px 48px rgba(15,52,43,.1)}
.eq-sections-v18 .eq-v18-hero::before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(circle at 12% 15%,rgba(227,206,146,.16),transparent 27%),radial-gradient(circle at 86% 83%,rgba(255,255,255,.07),transparent 36%)}
.eq-sections-v18 .eq-v18-hero::after{content:"";position:absolute;inset:10px;z-index:-1;border:1px solid rgba(235,214,159,.12);border-radius:16px;pointer-events:none}
.eq-sections-v18 .eq-v18-hero .eq-v18-kicker{color:#ddc98e}
.eq-sections-v18 .eq-v18-hero h1{margin:0;font-size:clamp(35px,4.3vw,53px);line-height:1.35;letter-spacing:-1.4px}
.eq-sections-v18 .eq-v18-hero-lead{margin:7px 0 4px;color:#f2dfaa;font-size:clamp(18px,2vw,25px);font-weight:700;line-height:1.55}
.eq-sections-v18 .eq-v18-hero-note{max-width:720px;margin:0;color:#d3e0d9;font-size:12.5px;line-height:1.9}
.eq-sections-v18 .eq-v18-hero-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.eq-sections-v18 .eq-v18-hero-actions a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:45px;padding:9px 15px;border-radius:10px;font-size:11.5px;font-weight:800}
.eq-sections-v18 .eq-v18-primary{border:1px solid #ead7a1;background:#ead7a1;color:#173f36!important}
.eq-sections-v18 .eq-v18-primary:hover{background:#f3e6c2}
.eq-sections-v18 .eq-v18-secondary{border:1px solid rgba(232,218,176,.34);background:rgba(255,255,255,.055);color:#fff!important}
.eq-sections-v18 .eq-v18-secondary:hover{background:rgba(255,255,255,.1)}
.eq-sections-v18 .eq-v18-hero-actions .eq-v18-icon{width:18px;height:18px}
.eq-sections-v18 .eq-v18-hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px;border:1px solid rgba(233,216,166,.28);border-radius:16px;background:rgba(8,37,30,.45);backdrop-filter:blur(6px)}
.eq-sections-v18 .eq-v18-hero-stats>div{min-height:85px;padding:13px 12px;border:1px solid rgba(230,240,234,.12);border-radius:11px;background:rgba(255,255,255,.035)}
.eq-sections-v18 .eq-v18-hero-stats>div:first-child{grid-column:1/-1}
.eq-sections-v18 .eq-v18-hero-stats strong{display:block;color:#f0d99d;font-size:26px;line-height:1.1}
.eq-sections-v18 .eq-v18-hero-stats span{display:block;margin-top:7px;color:#c7d6cf;font-size:9.5px;line-height:1.55}

/* SHARED SECTION HEAD */
.eq-sections-v18 .eq-v18-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}
.eq-sections-v18 .eq-v18-section-head h2{margin:0;font-size:clamp(22px,2.4vw,29px);line-height:1.45;letter-spacing:-.4px}
.eq-sections-v18 .eq-v18-section-head p:not(.eq-v18-kicker){margin:5px 0 0;color:var(--sd-muted);font-size:11.5px;line-height:1.75}

/* SEARCH */
.eq-sections-v18 .eq-v18-search-panel{position:relative;margin:20px 0 26px;padding:20px;border:1px solid #cdbd8f;border-radius:17px;background:linear-gradient(145deg,#fffdf8,#f5f8f1);box-shadow:0 10px 26px rgba(71,57,26,.045)}
.eq-sections-v18 .eq-v18-search-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.eq-sections-v18 .eq-v18-search-icon{display:grid;place-items:center;flex:0 0 45px;width:45px;height:45px;border:1px solid #d8c793;border-radius:12px;background:var(--sd-gold-soft);color:#806326}
.eq-sections-v18 .eq-v18-search-head h2{margin:0;font-size:19px;line-height:1.45}
.eq-sections-v18 .eq-v18-search-head p:not(.eq-v18-kicker){margin:3px 0 0;color:var(--sd-muted);font-size:10.5px}
.eq-sections-v18 .eq-v18-search-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.eq-sections-v18 .eq-v18-search-input input{width:100%;min-width:0;min-height:49px;border:1px solid #cbd8ce;border-radius:10px;background:#fff;color:var(--sd-ink);padding:9px 13px;font:inherit;font-size:13px;outline:0}
.eq-sections-v18 .eq-v18-search-input input:focus{border-color:#a68a46;box-shadow:0 0 0 3px rgba(166,138,70,.1)}
.eq-sections-v18 .eq-v18-search-input button{min-height:49px;padding:8px 15px;border:1px solid #d3c28f;border-radius:10px;background:#f8edcf;color:#6e551f;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.eq-sections-v18 .eq-find-status{min-height:20px;margin:5px 0 0;color:var(--sd-muted);font-size:10.5px}
.eq-sections-v18 .eq-v18-search-suggestions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:7px}
.eq-sections-v18 .eq-v18-search-suggestions>span{color:var(--sd-muted);font-size:9.5px}
.eq-sections-v18 .eq-v18-search-suggestions button{min-height:31px;padding:5px 9px;border:1px solid var(--sd-line);border-radius:999px;background:#fff;color:var(--sd-ink);font:inherit;font-size:9px;cursor:pointer}
.eq-sections-v18 .eq-v18-search-suggestions button:hover{border-color:#a38b4c;background:var(--sd-gold-soft)}
.eq-sections-v18 .eq-v18-empty{margin:10px 0 0;padding:11px;border:1px solid #e0d4b3;border-radius:9px;background:#fff;color:var(--sd-muted);font-size:10.5px}
.eq-sections-v18 .eq-v18-empty a{color:#7d6126;text-decoration:underline;text-underline-offset:2px}
.eq-sections-v18.is-searching .eq-directory-gates,
.eq-sections-v18.is-searching .eq-quick,
.eq-sections-v18.is-searching .eq-v18-jumps,
.eq-sections-v18.is-searching .eq-v18-toggle-all{display:none!important}

/* GATES */
.eq-sections-v18 .eq-v18-gates-section{margin:0 0 28px}
.eq-sections-v18 .eq-v18-gates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.eq-sections-v18 .eq-v18-gate{position:relative;display:grid;grid-template-columns:43px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:4px 11px;align-items:center;min-height:128px;padding:16px 14px;border:1px solid var(--sd-line);border-radius:14px;background:var(--sd-surface);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;overflow:hidden}
.eq-sections-v18 .eq-v18-gate::before{content:"";position:absolute;top:0;right:14px;left:14px;height:2px;border-radius:0 0 3px 3px;background:#abc1b3}
.eq-sections-v18 .eq-v18-gate[data-tone="understand"]::before,.eq-sections-v18 .eq-v18-gate[data-tone="adhkar-hadith"]::before{background:#b99a4e}
.eq-sections-v18 .eq-v18-gate:hover{transform:translateY(-2px);border-color:#98ad9f;box-shadow:0 8px 20px rgba(18,62,54,.06)}
.eq-sections-v18 .eq-v18-gate-icon{grid-row:1/3;display:grid;place-items:center;width:43px;height:43px;border:1px solid #d3dfd6;border-radius:12px;background:var(--sd-green-soft);color:#2b6653}
.eq-sections-v18 .eq-v18-gate[data-tone="understand"] .eq-v18-gate-icon,.eq-sections-v18 .eq-v18-gate[data-tone="adhkar-hadith"] .eq-v18-gate-icon{border-color:#dfd0a5;background:var(--sd-gold-soft);color:#856527}
.eq-sections-v18 .eq-v18-gate-copy{min-width:0}
.eq-sections-v18 .eq-v18-gate-copy strong{display:block;font-size:13px;line-height:1.45}
.eq-sections-v18 .eq-v18-gate-copy small{display:block;margin-top:3px;color:var(--sd-muted);font-size:9px;line-height:1.55}
.eq-sections-v18 .eq-v18-gate-count{align-self:start;justify-self:end;padding:3px 7px;border-radius:999px;background:var(--sd-soft);color:#6d7f75;font-size:7.5px;font-weight:800}
.eq-sections-v18 .eq-v18-gate>.eq-v18-arrow{position:absolute;left:12px;bottom:11px;color:#8a9b91}
.eq-sections-v18 .eq-v18-gate:last-child{grid-column:span 2}

/* QUICK */
.eq-sections-v18 .eq-v18-quick-section{display:block;margin:0 0 28px;padding:21px;border:1px solid var(--sd-line);border-radius:16px;background:var(--sd-surface)}
.eq-sections-v18 .eq-v18-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.eq-sections-v18 .eq-v18-quick-grid>a{display:grid;grid-template-columns:35px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:67px;padding:10px 11px;border:1px solid var(--sd-line);border-radius:10px;background:var(--sd-soft)}
.eq-sections-v18 .eq-v18-quick-grid>a:hover{border-color:#99ad9f;background:#f1f6f2}
.eq-sections-v18 .eq-v18-quick-grid>a>span:first-child{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:var(--sd-green-soft);color:#376b59}
.eq-sections-v18 .eq-v18-quick-grid>a>span:first-child .eq-v18-icon{width:18px;height:18px}
.eq-sections-v18 .eq-v18-quick-grid strong{display:block;font-size:11px;line-height:1.4}
.eq-sections-v18 .eq-v18-quick-grid small{display:block;margin-top:2px;color:var(--sd-muted);font-size:8.5px;line-height:1.45}
.eq-sections-v18 .eq-v18-quick-grid .eq-v18-arrow{color:#879990}

/* DIRECTORY */
.eq-sections-v18 .eq-v18-directory{margin:0 0 28px}
.eq-sections-v18 .eq-v18-directory-head{align-items:center}
.eq-sections-v18 .eq-v18-toggle-all{min-height:39px;padding:7px 12px;border:1px solid var(--sd-line);border-radius:9px;background:var(--sd-surface);color:var(--sd-ink);font:inherit;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.eq-sections-v18 .eq-v18-toggle-all:hover{border-color:#9daf9f;background:var(--sd-green-soft)}
.eq-sections-v18 .eq-v18-jumps{display:flex;margin:0 0 10px;padding:9px;border:1px solid var(--sd-line);border-radius:11px;background:var(--sd-surface);gap:5px;overflow-x:auto;scrollbar-width:thin}
.eq-sections-v18 .eq-v18-jumps a{flex:0 0 auto;min-height:34px;padding:5px 9px;border:1px solid var(--sd-line);border-radius:999px;background:var(--sd-soft);font-size:9px;font-weight:700}
.eq-sections-v18 .eq-v18-jumps a::after{display:none}
.eq-sections-v18 .eq-v18-jumps a:hover{border-color:#9cae9f;color:#806326}
.eq-sections-v18 .eq-v18-directory-groups{display:grid;grid-template-columns:1fr;gap:8px}
.eq-sections-v18 .eq-v18-directory-group{min-width:0;border:1px solid var(--sd-line);border-radius:14px;background:var(--sd-surface);overflow:hidden;scroll-margin-top:74px}
.eq-sections-v18 .eq-v18-directory-group[open]{border-color:#b6c7bb;box-shadow:0 8px 24px rgba(21,63,53,.04)}
.eq-sections-v18 .eq-v18-directory-group>summary{display:grid;grid-template-columns:39px minmax(0,1fr) auto 26px;gap:10px;align-items:center;min-height:68px;padding:12px 14px;cursor:pointer;list-style:none;background:var(--sd-surface)}
.eq-sections-v18 .eq-v18-directory-group>summary::-webkit-details-marker{display:none}
.eq-sections-v18 .eq-v18-directory-group>summary:hover{background:var(--sd-soft)}
.eq-sections-v18 .eq-v18-summary-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:var(--sd-green-soft);color:#356b58}
.eq-sections-v18 .eq-v18-directory-group[data-tone="understand"] .eq-v18-summary-icon,.eq-sections-v18 .eq-v18-directory-group[data-tone="adhkar-hadith"] .eq-v18-summary-icon{background:var(--sd-gold-soft);color:#846526}
.eq-sections-v18 .eq-v18-summary-icon .eq-v18-icon{width:20px;height:20px}
.eq-sections-v18 .eq-v18-summary-copy strong{display:block;font-size:12.5px}
.eq-sections-v18 .eq-v18-summary-copy small{display:block;margin-top:2px;color:var(--sd-muted);font-size:8.5px;line-height:1.45}
.eq-sections-v18 .eq-v18-summary-count{padding:3px 7px;border:1px solid var(--sd-line);border-radius:999px;background:var(--sd-soft);color:#6b7b73;font-size:8px;white-space:nowrap}
.eq-sections-v18 .eq-v18-chevron{width:19px;height:19px;color:#85988e;transition:transform .16s ease}
.eq-sections-v18 .eq-v18-directory-group[open] .eq-v18-chevron{transform:rotate(180deg)}
.eq-sections-v18 .eq-v18-directory-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 13px 13px;border-top:1px solid var(--sd-line);background:linear-gradient(180deg,var(--sd-soft),var(--sd-surface))}
.eq-sections-v18 .eq-v18-directory-links>a{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:6px 9px;align-items:center;min-height:76px;margin-top:8px;padding:11px 12px;border:1px solid var(--sd-line);border-radius:10px;background:var(--sd-surface);color:var(--sd-ink)}
.eq-sections-v18 .eq-v18-directory-links>a:hover{border-color:#99ac9e;background:#fbfdfb}
.eq-sections-v18 .eq-v18-directory-links strong{grid-column:1;display:block;font-size:11.5px;line-height:1.45}
.eq-sections-v18 .eq-v18-directory-links small{grid-column:1;display:block;color:var(--sd-muted);font-size:8.8px;line-height:1.55}
.eq-sections-v18 .eq-v18-link-arrow{grid-column:2;grid-row:1/3;display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:var(--sd-soft);color:#899a91}
.eq-sections-v18 .eq-v18-link-arrow .eq-v18-icon{width:14px;height:14px}
.eq-sections-v18 .eq-v18-directory-group[data-match-count="0"]{display:none}

/* FOOT CTA */
.eq-sections-v18 .eq-v18-search-cta{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:28px 0 16px;padding:20px 22px;border:1px solid #cdbd8f;border-radius:16px;background:linear-gradient(145deg,#fffdf7,#f2f6ef)}
.eq-sections-v18 .eq-v18-search-cta>div{display:flex;align-items:center;gap:12px;min-width:0}
.eq-sections-v18 .eq-v18-cta-icon{flex:0 0 38px;width:38px;height:38px;padding:8px;border-radius:11px;background:var(--sd-gold-soft);color:#856625}
.eq-sections-v18 .eq-v18-search-cta strong{font-size:13px}
.eq-sections-v18 .eq-v18-search-cta p{margin:2px 0 0;color:var(--sd-muted);font-size:9.5px;line-height:1.55}
.eq-sections-v18 .eq-v18-search-cta>a{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:8px 13px;border-radius:9px;background:var(--sd-green);color:#fff;font-size:10.5px;font-weight:800;white-space:nowrap}
.eq-sections-v18 .eq-v18-search-cta>a:hover{background:var(--sd-green-2)}
.eq-sections-v18 .eq-v18-search-cta>a .eq-v18-icon{width:17px;height:17px}

/* DARK */
html[data-theme="dark"] body.eq-sections-v18{
  --sd-bg:#0c1d18;
  --sd-surface:#112821;
  --sd-soft:#0e241d;
  --sd-ink:#edf5f0;
  --sd-muted:#aabbb2;
  --sd-line:#2d463d;
  --sd-green:#d9e8df;
  --sd-green-2:#2d6a58;
  --sd-green-soft:#18372d;
  --sd-gold:#d2b66e;
  --sd-gold-soft:#382f1b;
}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-hero{background:linear-gradient(132deg,#081e18 0%,#103329 64%,#4e3d18 145%);border-color:#315148}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-panel,html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-cta{background:linear-gradient(145deg,#17291f,#18261e);border-color:#665b38;box-shadow:none}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-input input,html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-suggestions button{background:#10251f;color:var(--sd-ink);border-color:#385247}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-input button{background:#342d1b;color:#e4cc84;border-color:#665934}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-gate,html[data-theme="dark"] .eq-sections-v18 .eq-v18-quick-section,html[data-theme="dark"] .eq-sections-v18 .eq-v18-directory-group,html[data-theme="dark"] .eq-sections-v18 .eq-v18-toggle-all,html[data-theme="dark"] .eq-sections-v18 .eq-v18-jumps{box-shadow:none}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-quick-grid>a:hover,html[data-theme="dark"] .eq-sections-v18 .eq-v18-directory-links>a:hover{background:#18352c;border-color:#607466}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-directory-links{background:linear-gradient(180deg,#0e241d,#112821)}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-cta>a{background:#d0b974;color:#15372f}

/* TABLET */
@media(max-width:1050px){
  .eq-sections-v18 .eq-v18-hero{grid-template-columns:minmax(0,1fr) 300px;padding:36px 34px}
  .eq-sections-v18 .eq-v18-gates{grid-template-columns:repeat(3,minmax(0,1fr))}
  .eq-sections-v18 .eq-v18-gate:last-child{grid-column:auto}
  .eq-sections-v18 .eq-v18-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
  .eq-sections-v18 main{padding-inline:16px}
  .eq-sections-v18 .eq-v18-hero{grid-template-columns:1fr;gap:22px;padding:31px 27px}
  .eq-sections-v18 .eq-v18-hero-copy{text-align:center}
  .eq-sections-v18 .eq-v18-hero-note{margin-inline:auto}
  .eq-sections-v18 .eq-v18-hero-actions{justify-content:center}
  .eq-sections-v18 .eq-v18-hero-stats{grid-template-columns:repeat(3,1fr);max-width:620px;width:100%;margin-inline:auto}
  .eq-sections-v18 .eq-v18-hero-stats>div:first-child{grid-column:auto}
  .eq-sections-v18 .eq-v18-gates{grid-template-columns:repeat(2,minmax(0,1fr))}
  .eq-sections-v18 .eq-v18-directory-links{grid-template-columns:1fr}
}

/* MOBILE */
@media(max-width:600px){
  .eq-sections-v18 main{padding:10px 8px 34px}
  .eq-sections-v18 .eq-hub-breadcrumb{padding-inline:4px;font-size:10.5px}
  .eq-sections-v18 .eq-v18-hero{padding:27px 15px 20px;border-radius:17px;gap:18px}
  .eq-sections-v18 .eq-v18-hero::after{inset:7px;border-radius:12px}
  .eq-sections-v18 .eq-v18-hero h1{font-size:34px;letter-spacing:-.8px}
  .eq-sections-v18 .eq-v18-hero-lead{font-size:19px}
  .eq-sections-v18 .eq-v18-hero-note{font-size:12px;line-height:1.75}
  .eq-sections-v18 .eq-v18-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .eq-sections-v18 .eq-v18-hero-actions a{min-height:48px;padding:9px 10px;font-size:11.5px}
  .eq-sections-v18 .eq-v18-hero-stats{gap:5px;padding:9px;border-radius:13px}
  .eq-sections-v18 .eq-v18-hero-stats>div{min-height:70px;padding:10px 7px;text-align:center}
  .eq-sections-v18 .eq-v18-hero-stats strong{font-size:21px}
  .eq-sections-v18 .eq-v18-hero-stats span{font-size:9px;line-height:1.4}

  .eq-sections-v18 .eq-v18-section-head{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:11px}
  .eq-sections-v18 .eq-v18-section-head h2{font-size:21px}
  .eq-sections-v18 .eq-v18-section-head p:not(.eq-v18-kicker){font-size:11.5px}
  .eq-sections-v18 .eq-v18-kicker{font-size:10.5px}

  .eq-sections-v18 .eq-v18-search-panel{margin:14px 0 20px;padding:15px 12px;border-radius:14px}
  .eq-sections-v18 .eq-v18-search-head{align-items:flex-start;gap:9px}
  .eq-sections-v18 .eq-v18-search-icon{flex-basis:40px;width:40px;height:40px}
  .eq-sections-v18 .eq-v18-search-head h2{font-size:17px}
  .eq-sections-v18 .eq-v18-search-head p:not(.eq-v18-kicker){font-size:10.5px;line-height:1.55}
  .eq-sections-v18 .eq-v18-search-input{grid-template-columns:1fr auto}
  .eq-sections-v18 .eq-v18-search-input input{min-height:48px;font-size:13px}
  .eq-sections-v18 .eq-v18-search-input button{min-height:48px;font-size:11.5px}
  .eq-sections-v18 .eq-v18-search-suggestions{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
  .eq-sections-v18 .eq-v18-search-suggestions::-webkit-scrollbar{display:none}
  .eq-sections-v18 .eq-v18-search-suggestions>*{flex:0 0 auto}
  .eq-sections-v18 .eq-v18-search-suggestions button{min-height:36px;padding-inline:10px;font-size:10.5px}
  .eq-sections-v18 .eq-find-status{font-size:10.5px}

  .eq-sections-v18 .eq-v18-gates-section{margin-bottom:20px}
  .eq-sections-v18 .eq-v18-gates{grid-template-columns:1fr 1fr;gap:7px}
  .eq-sections-v18 .eq-v18-gate{grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto auto;min-height:125px;padding:13px 10px;gap:3px 8px}
  .eq-sections-v18 .eq-v18-gate-icon{grid-row:1/3;width:38px;height:38px}
  .eq-sections-v18 .eq-v18-gate-copy strong{font-size:12.5px}
  .eq-sections-v18 .eq-v18-gate-copy small{font-size:9.5px;line-height:1.5}
  .eq-sections-v18 .eq-v18-gate-count{grid-column:1/3;grid-row:3;justify-self:start;margin-top:4px;font-size:9px}
  .eq-sections-v18 .eq-v18-gate>.eq-v18-arrow{left:9px;bottom:10px}
  .eq-sections-v18 .eq-v18-gate:last-child{grid-column:1/-1;min-height:104px}

  .eq-sections-v18 .eq-v18-quick-section{margin-bottom:20px;padding:15px 11px}
  .eq-sections-v18 .eq-v18-quick-grid{grid-template-columns:1fr 1fr;gap:6px}
  .eq-sections-v18 .eq-v18-quick-grid>a{grid-template-columns:34px minmax(0,1fr);min-height:74px;padding:9px;gap:8px}
  .eq-sections-v18 .eq-v18-quick-grid>a>.eq-v18-arrow{display:none}
  .eq-sections-v18 .eq-v18-quick-grid strong{font-size:11.5px}
  .eq-sections-v18 .eq-v18-quick-grid small{font-size:9.5px;line-height:1.45}

  .eq-sections-v18 .eq-v18-directory-head{flex-direction:row;align-items:flex-end}
  .eq-sections-v18 .eq-v18-toggle-all{min-height:42px;padding-inline:10px;font-size:10px}
  .eq-sections-v18 .eq-v18-jumps{margin-bottom:8px;padding:7px;scrollbar-width:none}
  .eq-sections-v18 .eq-v18-jumps::-webkit-scrollbar{display:none}
  .eq-sections-v18 .eq-v18-jumps a{min-height:38px;padding:6px 10px;font-size:10.5px}
  .eq-sections-v18 .eq-v18-directory-groups{gap:7px}
  .eq-sections-v18 .eq-v18-directory-group>summary{grid-template-columns:38px minmax(0,1fr) auto 22px;gap:8px;min-height:70px;padding:10px 11px}
  .eq-sections-v18 .eq-v18-summary-icon{width:38px;height:38px}
  .eq-sections-v18 .eq-v18-summary-copy strong{font-size:12.5px}
  .eq-sections-v18 .eq-v18-summary-copy small{font-size:9.5px;line-height:1.4}
  .eq-sections-v18 .eq-v18-summary-count{font-size:9px;padding:3px 6px}
  .eq-sections-v18 .eq-v18-directory-links{gap:0;padding:0 9px 9px}
  .eq-sections-v18 .eq-v18-directory-links>a{min-height:76px;margin-top:7px;padding:10px 10px}
  .eq-sections-v18 .eq-v18-directory-links strong{font-size:12px}
  .eq-sections-v18 .eq-v18-directory-links small{font-size:10.5px;line-height:1.5}

  .eq-sections-v18 .eq-v18-search-cta{align-items:stretch;flex-direction:column;gap:13px;margin-top:20px;padding:16px 13px}
  .eq-sections-v18 .eq-v18-search-cta strong{font-size:13px}
  .eq-sections-v18 .eq-v18-search-cta p{font-size:10.5px;line-height:1.6}
  .eq-sections-v18 .eq-v18-search-cta>a{justify-content:center;min-height:46px;font-size:11.5px}
}

@media(max-width:380px){
  .eq-sections-v18 .eq-v18-hero h1{font-size:31px}
  .eq-sections-v18 .eq-v18-hero-actions{grid-template-columns:1fr}
  .eq-sections-v18 .eq-v18-hero-stats{grid-template-columns:1fr 1fr}
  .eq-sections-v18 .eq-v18-hero-stats>div:first-child{grid-column:1/-1}
  .eq-sections-v18 .eq-v18-gates{grid-template-columns:1fr}
  .eq-sections-v18 .eq-v18-gate,.eq-sections-v18 .eq-v18-gate:last-child{grid-column:auto;min-height:108px}
  .eq-sections-v18 .eq-v18-quick-grid{grid-template-columns:1fr}
  .eq-sections-v18 .eq-v18-directory-head{flex-direction:column;align-items:flex-start}
  .eq-sections-v18 .eq-v18-directory-group>summary{grid-template-columns:36px minmax(0,1fr) 21px}
  .eq-sections-v18 .eq-v18-summary-count{display:none}
}

@media(hover:none){
  .eq-sections-v18 :is(a,button,summary,input){touch-action:manipulation;-webkit-tap-highlight-color:rgba(167,134,62,.15)}
  .eq-sections-v18 .eq-v18-gate:hover{transform:none}
}
@media(prefers-reduced-motion:reduce){.eq-sections-v18 *{scroll-behavior:auto!important;transition:none!important}}

/* =========================================================
   V18.1 CONTRAST PASS — clearer light/dark colors
   ========================================================= */
body.eq-sections-v18{
  --sd-muted:#52665c;
  --sd-line:#c9d8cd;
  --sd-green-soft:#e3eee7;
  --sd-gold:#8b6929;
  --sd-gold-soft:#f4e9c9;
  --sd-subtle:#52665c;
  --sd-arrow:#60756a;
  --sd-green-icon:#285f4d;
  --sd-gold-icon:#71551b;
}
.eq-sections-v18 .eq-v18-kicker{color:var(--sd-gold)}
.eq-sections-v18 .eq-v18-search-panel{border-color:#baa66d;background:linear-gradient(145deg,#fffdf7,#f4f7ef)}
.eq-sections-v18 .eq-v18-search-icon{border-color:#cbb778;background:var(--sd-gold-soft);color:var(--sd-gold-icon)}
.eq-sections-v18 .eq-v18-search-input input{border-color:#b9cbbf}
.eq-sections-v18 .eq-v18-search-input button{border-color:#bea86a;background:#f1dfae;color:#5b4517}
.eq-sections-v18 .eq-v18-search-suggestions button{border-color:#c7d6cb}
.eq-sections-v18 .eq-v18-empty{border-color:#cdbb83;color:var(--sd-ink)}
.eq-sections-v18 .eq-v18-empty a{color:#634b18;font-weight:800}
.eq-sections-v18 .eq-v18-gate{border-color:#c8d7cc}
.eq-sections-v18 .eq-v18-gate-icon,
.eq-sections-v18 .eq-v18-quick-grid>a>span:first-child,
.eq-sections-v18 .eq-v18-summary-icon{border-color:#c9d9ce;background:var(--sd-green-soft);color:var(--sd-green-icon)}
.eq-sections-v18 .eq-v18-gate[data-tone="understand"] .eq-v18-gate-icon,
.eq-sections-v18 .eq-v18-gate[data-tone="adhkar-hadith"] .eq-v18-gate-icon,
.eq-sections-v18 .eq-v18-directory-group[data-tone="understand"] .eq-v18-summary-icon,
.eq-sections-v18 .eq-v18-directory-group[data-tone="adhkar-hadith"] .eq-v18-summary-icon{border-color:#cdbb80;background:var(--sd-gold-soft);color:var(--sd-gold-icon)}
.eq-sections-v18 .eq-v18-gate-count,
.eq-sections-v18 .eq-v18-summary-count{color:var(--sd-subtle);font-weight:800}
.eq-sections-v18 .eq-v18-gate>.eq-v18-arrow,
.eq-sections-v18 .eq-v18-quick-grid .eq-v18-arrow,
.eq-sections-v18 .eq-v18-chevron,
.eq-sections-v18 .eq-v18-link-arrow{color:var(--sd-arrow)}
.eq-sections-v18 .eq-v18-quick-grid>a,
.eq-sections-v18 .eq-v18-directory-group,
.eq-sections-v18 .eq-v18-directory-links>a,
.eq-sections-v18 .eq-v18-jumps{border-color:#c8d7cc}
.eq-sections-v18 .eq-v18-jumps a:hover{color:#654c17}
.eq-sections-v18 .eq-v18-search-cta{border-color:#baa66d;background:linear-gradient(145deg,#fffdf7,#f2f6ef)}
.eq-sections-v18 .eq-v18-cta-icon{background:var(--sd-gold-soft);color:var(--sd-gold-icon)}

html[data-theme="dark"] body.eq-sections-v18{
  --sd-bg:#0b1b17;
  --sd-surface:#122a23;
  --sd-soft:#0f261f;
  --sd-ink:#f1f7f3;
  --sd-muted:#c1d0c8;
  --sd-line:#3d5a4f;
  --sd-green:#e3eee8;
  --sd-green-2:#327361;
  --sd-green-soft:#173b30;
  --sd-gold:#e0c676;
  --sd-gold-soft:#45391f;
  --sd-subtle:#c1d0c8;
  --sd-arrow:#b9ccc2;
  --sd-green-icon:#a9d7c1;
  --sd-gold-icon:#e1c879;
}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-panel,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-cta{background:linear-gradient(145deg,#182e26,#172920);border-color:#7a693b}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-icon{border-color:#746237;background:#45391f;color:#ead281}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-input input,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-suggestions button{background:#102820;color:#f1f7f3;border-color:#49675a}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-input input::placeholder{color:#9fb3a9}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-input button{background:#493a1d;color:#f0d98d;border-color:#7a6535}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-empty{background:#122a23;border-color:#6c5c35;color:#d7e3dd}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-empty a{color:#efd88b}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-gate,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-quick-section,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-directory-group,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-jumps,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-toggle-all{border-color:#3f5e51}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-gate-icon,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-quick-grid>a>span:first-child,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-summary-icon{border-color:#35594a;background:#173b30;color:var(--sd-green-icon)}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-gate[data-tone="understand"] .eq-v18-gate-icon,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-gate[data-tone="adhkar-hadith"] .eq-v18-gate-icon,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-directory-group[data-tone="understand"] .eq-v18-summary-icon,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-directory-group[data-tone="adhkar-hadith"] .eq-v18-summary-icon{border-color:#665a32;background:#45391f;color:var(--sd-gold-icon)}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-gate-count,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-summary-count{background:#183128;color:#d3e0d9;border-color:#426053}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-link-arrow{background:#183128;color:#c3d3cb}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-directory-links>a{border-color:#38574a;background:#122a23}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-directory-links>a:hover,
html[data-theme="dark"] .eq-sections-v18 .eq-v18-quick-grid>a:hover{background:#1b3a30;border-color:#6b8578}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-jumps a{border-color:#405f52;background:#102820;color:#e4eee9}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-jumps a:hover{border-color:#d4bb6c;color:#edd483;background:#2c2a1a}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-toggle-all{background:#122a23;color:#eef5f1}
html[data-theme="dark"] .eq-sections-v18 .eq-v18-search-cta>a{background:#dec575;color:#102f27}

@media(max-width:600px){
  .eq-sections-v18 .eq-v18-gate-copy small,
  .eq-sections-v18 .eq-v18-quick-grid small,
  .eq-sections-v18 .eq-v18-summary-copy small,
  .eq-sections-v18 .eq-v18-directory-links small{font-weight:600}
  .eq-sections-v18 .eq-v18-gate-count,
  .eq-sections-v18 .eq-v18-summary-count{font-weight:900}
}
