/* GENERATED by tools/scope-modern-css.mjs from skins/modern/src/editorial-redesign.css – do not edit here. */
/* SALAH – EDITORIAL DARK REDESIGN
   Phase 1/2 presentation layer. Functional modules remain unchanged. */

:root:where([data-skin="modern"]){
  --ed-black:#050706;
  --ed-surface:#090c0a;
  --ed-surface-2:#0d100e;
  --ed-white:#f5f6f3;
  --ed-muted:#acacac;
  --ed-faint:#787878;
  --ed-rule:rgba(245,246,243,.28);
  --ed-rule-soft:rgba(245,246,243,.13);
  --ed-green:#ffffff;
  --ed-green-deep:#000000;
  --ed-display:"Barlow Condensed","Arial Narrow",sans-serif;
  --ed-ui:"DM Sans",system-ui,sans-serif;
  --ed-arabic:"Noto Naskh Arabic","Amiri",serif;
  --ed-max:1440px;
}
:where(html[data-skin="modern"]) *{box-sizing:border-box}
html:where([data-skin="modern"]){background:var(--ed-black);scroll-behavior:smooth}
:where(html[data-skin="modern"]) body{
  margin:0;
  background:var(--ed-black)!important;
  color:var(--ed-white)!important;
  font-family:var(--ed-ui);
  font-size:16px;
  line-height:1.55;
}
:where(html[data-skin="modern"]) button,:where(html[data-skin="modern"]) input,:where(html[data-skin="modern"]) select,:where(html[data-skin="modern"]) textarea{font:inherit}
:where(html[data-skin="modern"]) button{color:inherit}
:where(html[data-skin="modern"]) .app-shell{max-width:none!important;min-height:100vh;background:var(--ed-black)!important}
:where(html[data-skin="modern"]) .page{
  width:min(calc(100% - 48px),var(--ed-max));
  margin:0 auto;
  padding:0 0 120px!important;
  display:flex;
  flex-wrap:wrap;
  gap:0;
}
:where(html[data-skin="modern"]) .page>section{width:100%}
:where(html[data-skin="modern"]) .eyebrow,:where(html[data-skin="modern"]) 
.section-title>p:first-child{
  color:var(--ed-muted)!important;
  font:500 .72rem/1 var(--ed-ui)!important;
  letter-spacing:.26em!important;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) h1,:where(html[data-skin="modern"]) h2,:where(html[data-skin="modern"]) h3,:where(html[data-skin="modern"]) .panel h2,:where(html[data-skin="modern"]) .section-title h2{
  color:var(--ed-white)!important;
  font-family:var(--ed-display)!important;
  font-weight:500!important;
  letter-spacing:.035em!important;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) p,:where(html[data-skin="modern"]) small{color:var(--ed-muted)}
:where(html[data-skin="modern"]) a{color:inherit}

/* header */
:where(html[data-skin="modern"]) .topbar{
  position:relative!important;
  z-index:20;
  width:min(calc(100% - 48px),var(--ed-max));
  min-height:94px;
  margin:0 auto;
  padding:20px 0!important;
  border-bottom:1px solid var(--ed-rule-soft);
  background:transparent!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) .brand{width:210px!important;height:54px;display:flex!important;align-items:center}
:where(html[data-skin="modern"]) .brand img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:left center;
  filter:none!important;
}
:where(html[data-skin="modern"]) .desktop-nav{gap:38px!important}
:where(html[data-skin="modern"]) .nav-link{
  position:relative;
  padding:14px 0!important;
  border:0!important;
  background:transparent!important;
  color:var(--ed-muted)!important;
  border-radius:0!important;
  font-size:.72rem!important;
  font-weight:600!important;
  letter-spacing:.18em!important;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) .nav-link::after{
  content:"";
  position:absolute;
  left:0;right:100%;bottom:4px;
  height:1px;background:var(--ed-white);
  transition:right .2s ease;
}
:where(html[data-skin="modern"]) .nav-link:hover,:where(html[data-skin="modern"]) .nav-link.active{color:var(--ed-white)!important}
:where(html[data-skin="modern"]) .nav-link.active::after,:where(html[data-skin="modern"]) .nav-link:hover::after{right:0}
:where(html[data-skin="modern"]) .topbar-tools{gap:14px!important}
:where(html[data-skin="modern"]) .madhhab-pill{
  border:0!important;
  background:transparent!important;
  color:var(--ed-white)!important;
  font-size:.72rem!important;
  letter-spacing:.16em;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) .settings-button{
  width:42px!important;height:42px!important;
  border:1px solid var(--ed-rule)!important;
  background:transparent!important;
  color:var(--ed-white)!important;
  box-shadow:none!important;
}

/* hero */
:where(html[data-skin="modern"]) .hero-shell{
  order:1;
  min-height:560px;
  margin:0!important;
  border:0!important;
  border-bottom:1px solid var(--ed-rule);
  border-radius:0!important;
  background:
    radial-gradient(circle at 82% 34%,rgba(255,255,255,.075),transparent 28%),
    linear-gradient(115deg,#050706 0%,#050706 61%,#090c0a 100%)!important;
  box-shadow:none!important;
  overflow:hidden;
}
:where(html[data-skin="modern"]) .hero-scene{
  min-height:475px!important;
  padding:64px 42px 48px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.85fr);
  align-items:center;
  gap:64px;
  background:transparent!important;
}
:where(html[data-skin="modern"]) .hero-scene::after{
  content:"";
  position:absolute;
  right:-4%;top:4%;
  width:47%;height:92%;
  pointer-events:none;
  opacity:.38;
  background:
    radial-gradient(ellipse at 70% 30%,rgba(255,255,255,.16),transparent 2%),
    linear-gradient(128deg,transparent 48%,rgba(255,255,255,.09) 48.2%,transparent 48.7%),
    linear-gradient(145deg,transparent 58%,rgba(255,255,255,.06) 58.2%,transparent 58.7%);
  mask-image:linear-gradient(to left,#000,transparent);
}
:where(html[data-skin="modern"]) .arch,:where(html[data-skin="modern"]) .hero-sun,:where(html[data-skin="modern"]) .mountain,:where(html[data-skin="modern"]) .mosque-silhouette,:where(html[data-skin="modern"]) .hero-search,:where(html[data-skin="modern"]) .hero-prayers{display:none!important}
:where(html[data-skin="modern"]) .hero-brand{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  width:auto!important;
  max-width:680px;
  padding:0!important;
  border-radius:0!important;
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  box-shadow:none!important;
  text-align:left!important;
  z-index:2;
}
:where(html[data-skin="modern"]) .hero-brand::before{display:none!important}
:where(html[data-skin="modern"]) .hero-brand img,:where(html[data-skin="modern"]) .hero-brand>span{display:none!important}
:where(html[data-skin="modern"]) .hero-kicker{
  margin:0 0 18px!important;
  color:var(--ed-muted)!important;
  font-size:.76rem!important;
  letter-spacing:.31em!important;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) .hero-title{
  margin:0!important;
  color:var(--ed-white);
  font:500 clamp(5rem,8vw,8.6rem)/.78 var(--ed-display)!important;
  letter-spacing:.01em!important;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) .hero-copy{
  max-width:540px;
  margin:30px 0 0!important;
  color:#d0d3d0!important;
  font-size:.82rem!important;
  line-height:1.7!important;
  letter-spacing:.18em!important;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) .hero-actions{display:flex;gap:18px;margin-top:30px}
:where(html[data-skin="modern"]) .hero-action{
  min-width:184px;
  padding:15px 22px;
  border:1px solid var(--ed-rule);
  border-radius:0;
  background:transparent;
  color:var(--ed-white);
  font-size:.72rem;
  letter-spacing:.13em;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) .hero-action.primary{border-color:var(--ed-white);background:var(--ed-white);color:var(--ed-black)}
:where(html[data-skin="modern"]) .hero-verse{
  position:relative;
  z-index:2;
  align-self:center;
  max-width:410px;
  padding:34px 0 34px 54px;
  border-left:1px solid var(--ed-rule);
}
:where(html[data-skin="modern"]) .hero-verse-arabic{
  display:block;
  margin-bottom:18px;
  color:var(--ed-white);
  font:400 clamp(2rem,3.2vw,3.2rem)/1.7 var(--ed-arabic);
}
:where(html[data-skin="modern"]) .hero-verse-translation{
  display:block;
  color:#d8dad8;
  font-size:.78rem;
  line-height:1.75;
  letter-spacing:.2em;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) .hero-verse-source{
  display:block;
  margin-top:20px;
  color:var(--ed-faint);
  font-size:.68rem;
  letter-spacing:.2em;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) .hero-bottom{display:none!important}

/* reorder existing working regions */
:where(html[data-skin="modern"]) .dashboard-grid{display:contents!important}
:where(html[data-skin="modern"]) .prayer-panel{order:2;width:100%}
:where(html[data-skin="modern"]) .launcher{order:3}
:where(html[data-skin="modern"]) .focus-panel,:where(html[data-skin="modern"]) .counter-panel{order:4;width:calc(50% - 9px)}
:where(html[data-skin="modern"]) .focus-panel{margin-right:9px!important}
:where(html[data-skin="modern"]) .counter-panel{margin-left:9px!important}
:where(html[data-skin="modern"]) .daily-adhkar-section{order:5}
:where(html[data-skin="modern"]) .learn-section{order:6}

/* timetable */
:where(html[data-skin="modern"]) .panel,:where(html[data-skin="modern"]) .prayer-panel,:where(html[data-skin="modern"]) .focus-panel,:where(html[data-skin="modern"]) .counter-panel{
  border:1px solid var(--ed-rule)!important;
  border-radius:0!important;
  background:var(--ed-surface)!important;
  box-shadow:none!important;
  color:var(--ed-white)!important;
}
:where(html[data-skin="modern"]) .prayer-panel{
  margin:0!important;
  padding:24px 26px!important;
  border-width:0 0 1px!important;
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:26px;
}
:where(html[data-skin="modern"]) .prayer-panel .panel-head{
  grid-column:1;
  grid-row:1;
  align-items:flex-start!important;
  margin:0!important;
  padding-right:24px;
  border-right:1px solid var(--ed-rule);
}
:where(html[data-skin="modern"]) .prayer-panel .panel-head h2{margin:7px 0 18px!important;font-size:2rem!important}
:where(html[data-skin="modern"]) .prayer-head-tools{display:flex!important;align-items:flex-start!important;flex-direction:column!important;gap:10px!important}
:where(html[data-skin="modern"]) .location-button,:where(html[data-skin="modern"]) .tiny-button{
  border:1px solid var(--ed-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--ed-white)!important;
  box-shadow:none!important;
  font-size:.68rem!important;
  letter-spacing:.09em;
}
:where(html[data-skin="modern"]) .segmented{border:1px solid var(--ed-rule-soft)!important;border-radius:0!important;background:transparent!important}
:where(html[data-skin="modern"]) .segment{
  border-radius:0!important;
  background:transparent!important;
  color:var(--ed-muted)!important;
}
:where(html[data-skin="modern"]) .segment.active{background:var(--ed-white)!important;color:var(--ed-black)!important}
:where(html[data-skin="modern"]) .prayer-list{
  grid-column:2;
  grid-row:1;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0!important;
}
:where(html[data-skin="modern"]) .prayer-row{
  min-width:0;
  padding:14px 20px!important;
  border:0!important;
  border-left:1px solid var(--ed-rule)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:3px!important;
}
:where(html[data-skin="modern"]) .prayer-row:first-child{border-left:0!important}
:where(html[data-skin="modern"]) .prayer-row .dashboard-prayer-icon,:where(html[data-skin="modern"]) .prayer-row i{display:none!important}
:where(html[data-skin="modern"]) .prayer-row span{order:1}
:where(html[data-skin="modern"]) .prayer-row b{
  color:var(--ed-muted)!important;
  font-size:.69rem!important;
  font-weight:500!important;
  letter-spacing:.16em;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) .prayer-row small{display:block!important;order:3;color:var(--ed-muted)!important;font-size:.62rem!important;letter-spacing:.04em;line-height:1.35;margin-top:4px}
:where(html[data-skin="modern"]) .prayer-row time{
  order:2;
  color:var(--ed-white)!important;
  font:500 2rem/1 var(--ed-display)!important;
}
:where(html[data-skin="modern"]) .prayer-row.next-prayer,:where(html[data-skin="modern"]) .prayer-row.current{
  border-left:1px solid var(--ed-rule)!important;
  background:var(--ed-green-deep)!important;
  box-shadow:inset 0 -2px 0 var(--ed-green)!important;
}
:where(html[data-skin="modern"]) .prayer-row.next-prayer b::after{
  content:"  • NEXT";
  color:var(--ed-green);
  font-size:.6rem;
}
:where(html[data-skin="modern"]) .more-prayers{grid-column:1/-1;margin:0!important;padding:16px 0 0!important;border-top:1px solid var(--ed-rule-soft)}
:where(html[data-skin="modern"]) .more-prayers>b{color:var(--ed-muted)!important;font-size:.68rem;letter-spacing:.18em;text-transform:uppercase}
:where(html[data-skin="modern"]) .pill-row button{
  border:0!important;border-bottom:1px solid var(--ed-rule)!important;border-radius:0!important;
  background:transparent!important;color:var(--ed-white)!important;
}

/* destination grid */
:where(html[data-skin="modern"]) .launcher{
  margin:16px 0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
}
:where(html[data-skin="modern"]) .launch-card,:where(html[data-skin="modern"]) .learn-card{
  min-height:178px;
  padding:24px!important;
  border:1px solid var(--ed-rule)!important;
  border-radius:0!important;
  background:var(--ed-surface)!important;
  color:var(--ed-white)!important;
  box-shadow:none!important;
  text-align:left!important;
}
:where(html[data-skin="modern"]) .launch-card:hover,:where(html[data-skin="modern"]) .learn-card:hover{border-color:var(--ed-white)!important;background:var(--ed-surface-2)!important;transform:none!important}
:where(html[data-skin="modern"]) .launch-card b{
  color:var(--ed-white)!important;
  font:500 1.75rem/1 var(--ed-display)!important;
  letter-spacing:.06em;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) .launch-card small{font-size:.68rem!important;letter-spacing:.06em;text-transform:uppercase}
:where(html[data-skin="modern"]) .launcher-icon{filter:grayscale(1) brightness(2.4)!important;opacity:.9}

/* focus + counter */
:where(html[data-skin="modern"]) .focus-panel,:where(html[data-skin="modern"]) .counter-panel{margin-top:0!important;min-height:420px;padding:30px!important}
:where(html[data-skin="modern"]) .focus-panel h2,:where(html[data-skin="modern"]) .counter-panel h2{font-size:2.25rem!important}
:where(html[data-skin="modern"]) .contextual-title,:where(html[data-skin="modern"]) .daily-adhkar-title{font-family:var(--ed-display)!important;text-transform:uppercase!important}
:where(html[data-skin="modern"]) .counter-button{
  background:transparent!important;
  border:1px solid var(--ed-rule)!important;
  box-shadow:none!important;
  color:var(--ed-white)!important;
}
:where(html[data-skin="modern"]) .counter-button #counter-value{font-family:var(--ed-display)!important;font-size:4rem!important}
:where(html[data-skin="modern"]) .counter-presets button,:where(html[data-skin="modern"]) .dhikr-arrow{
  border:1px solid var(--ed-rule)!important;
  background:transparent!important;
  color:var(--ed-white)!important;
}
:where(html[data-skin="modern"]) .counter-verse{border-top:1px solid var(--ed-rule-soft)!important;background:transparent!important}
:where(html[data-skin="modern"]) .counter-verse-arabic{font-family:var(--ed-arabic)!important;color:var(--ed-white)!important}

/* lower surfaces */
:where(html[data-skin="modern"]) .daily-adhkar-section,:where(html[data-skin="modern"]) .learn-section{
  margin-top:22px!important;
  padding:42px 0!important;
  border:0!important;
  border-top:1px solid var(--ed-rule)!important;
  border-radius:0!important;
  background:var(--ed-black)!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) .daily-adhkar-card,:where(html[data-skin="modern"]) .daily-adhkar-quick-counter{
  border:1px solid var(--ed-rule)!important;
  border-radius:0!important;
  background:var(--ed-surface)!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) .daily-adhkar-card-copy>strong,:where(html[data-skin="modern"]) .daily-adhkar-progress strong{color:var(--ed-white)!important}
:where(html[data-skin="modern"]) .learn-section .section-title{max-width:660px}
:where(html[data-skin="modern"]) .learn-section .section-title h2{font-size:3rem!important}
:where(html[data-skin="modern"]) .learn-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}
:where(html[data-skin="modern"]) .learn-card{min-width:0!important}
:where(html[data-skin="modern"]) .learn-card .art-slot{height:72px!important;background:transparent!important;overflow:hidden}
:where(html[data-skin="modern"]) .learn-card .art-slot img{display:none!important}
:where(html[data-skin="modern"]) .learn-card h3{font-size:1.65rem!important}
:where(html[data-skin="modern"]) .learn-card p{font-size:.72rem!important}
:where(html[data-skin="modern"]) .learn-card button{
  padding:0!important;border:0!important;border-bottom:1px solid var(--ed-rule)!important;border-radius:0!important;
  background:transparent!important;color:var(--ed-white)!important;
}

/* drawer / footer / mobile */
:where(html[data-skin="modern"]) .settings-drawer{background:var(--ed-surface)!important;color:var(--ed-white)!important;border-left:1px solid var(--ed-rule)!important}
:where(html[data-skin="modern"]) .settings-drawer h2,:where(html[data-skin="modern"]) .setting-group b{color:var(--ed-white)!important}
:where(html[data-skin="modern"]) .site-footer{background:var(--ed-black)!important;color:var(--ed-white)!important;border-top:1px solid var(--ed-rule)!important}
:where(html[data-skin="modern"]) .mobile-nav{background:rgba(5,7,6,.97)!important;border-top:1px solid var(--ed-rule)!important;box-shadow:none!important}
:where(html[data-skin="modern"]) .mobile-nav button{color:var(--ed-muted)!important}
:where(html[data-skin="modern"]) .mobile-nav button.active{color:var(--ed-green)!important}

@media(max-width:1050px){
  :where(html[data-skin="modern"]) .desktop-nav{gap:22px!important}
  :where(html[data-skin="modern"]) .launcher,:where(html[data-skin="modern"]) .learn-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  :where(html[data-skin="modern"]) .prayer-panel{grid-template-columns:210px minmax(0,1fr)}
  :where(html[data-skin="modern"]) .hero-scene{grid-template-columns:1fr .72fr;gap:34px}
  :where(html[data-skin="modern"]) .hero-title{font-size:clamp(4.6rem,9vw,7rem)!important}
}
@media(max-width:760px){
  :where(html[data-skin="modern"]) .page,:where(html[data-skin="modern"]) .topbar{width:min(calc(100% - 28px),var(--ed-max))}
  :where(html[data-skin="modern"]) .topbar{min-height:76px;padding:12px 0!important}
  :where(html[data-skin="modern"]) .brand{width:158px!important;height:44px}
  :where(html[data-skin="modern"]) .topbar-tools .madhhab-pill{display:none!important}
  :where(html[data-skin="modern"]) .hero-shell{min-height:auto}
  :where(html[data-skin="modern"]) .hero-scene{
    min-height:0!important;
    padding:54px 8px 44px!important;
    display:block!important;
  }
  :where(html[data-skin="modern"]) .hero-title{font-size:clamp(4.5rem,22vw,6.6rem)!important;line-height:.8!important}
  :where(html[data-skin="modern"]) .hero-copy{font-size:.72rem!important}
  :where(html[data-skin="modern"]) .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  :where(html[data-skin="modern"]) .hero-action{min-width:0;padding:13px 10px}
  :where(html[data-skin="modern"]) .hero-verse{margin-top:44px;padding:30px 0 0;border-left:0;border-top:1px solid var(--ed-rule)}
  :where(html[data-skin="modern"]) .hero-verse-arabic{font-size:2rem}
  :where(html[data-skin="modern"]) .prayer-panel{
    padding:22px 0!important;
    display:block;
  }
  :where(html[data-skin="modern"]) .prayer-panel .panel-head{padding:0 0 18px;border-right:0;border-bottom:1px solid var(--ed-rule-soft)}
  :where(html[data-skin="modern"]) .prayer-head-tools{flex-direction:row!important;flex-wrap:wrap!important}
  :where(html[data-skin="modern"]) .prayer-list{
    margin-top:14px;
    display:flex!important;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  :where(html[data-skin="modern"]) .prayer-list::-webkit-scrollbar{display:none}
  :where(html[data-skin="modern"]) .prayer-row{flex:0 0 112px;min-height:94px;scroll-snap-align:start;padding:14px!important}
  :where(html[data-skin="modern"]) .more-prayers{padding-inline:0!important}
  :where(html[data-skin="modern"]) .launcher,:where(html[data-skin="modern"]) .learn-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  :where(html[data-skin="modern"]) .launch-card,:where(html[data-skin="modern"]) .learn-card{min-height:148px;padding:18px!important}
  :where(html[data-skin="modern"]) .focus-panel,:where(html[data-skin="modern"]) .counter-panel{width:100%;margin:0 0 14px!important}
  :where(html[data-skin="modern"]) .daily-adhkar-section,:where(html[data-skin="modern"]) .learn-section{padding:34px 0!important}
  :where(html[data-skin="modern"]) .learn-section .section-title h2{font-size:2.4rem!important}
}
@media(max-width:430px){
  :where(html[data-skin="modern"]) .hero-actions{grid-template-columns:1fr}
  :where(html[data-skin="modern"]) .launcher,:where(html[data-skin="modern"]) .learn-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
  :where(html[data-skin="modern"]) .launch-card,:where(html[data-skin="modern"]) .learn-card{padding:15px!important}
  :where(html[data-skin="modern"]) .launch-card b,:where(html[data-skin="modern"]) .learn-card h3{font-size:1.42rem!important}
}
@media(prefers-reduced-motion:reduce){:where(html[data-skin="modern"]) *,:where(html[data-skin="modern"]) *::before,:where(html[data-skin="modern"]) *::after{scroll-behavior:auto!important;transition:none!important}}


/* Mockup fidelity pass: monochrome surfaces and footer */
:where(html[data-skin="modern"]) .focus-panel .timeline-item,:where(html[data-skin="modern"]) 
.focus-panel .contextual-worship-disclaimer,:where(html[data-skin="modern"]) 
.focus-panel .contextual-madhhab-note,:where(html[data-skin="modern"]) 
.focus-panel .contextual-friday-note,:where(html[data-skin="modern"]) 
.daily-adhkar-section .daily-adhkar-card,:where(html[data-skin="modern"]) 
.daily-adhkar-section .daily-adhkar-quick-counter,:where(html[data-skin="modern"]) 
.daily-adhkar-section .daily-adhkar-note{
  background:#090c0a!important;
  border:1px solid var(--ed-rule-soft)!important;
  color:var(--ed-white)!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) .focus-panel :is(h1,h2,h3,h4,b,strong),:where(html[data-skin="modern"]) 
.daily-adhkar-section :is(h1,h2,h3,h4,b,strong),:where(html[data-skin="modern"]) 
.learn-section :is(h1,h2,h3,h4,b,strong){
  color:var(--ed-white)!important;
}
:where(html[data-skin="modern"]) .focus-panel :is(p,small,span),:where(html[data-skin="modern"]) 
.daily-adhkar-section :is(p,small,span),:where(html[data-skin="modern"]) 
.learn-section :is(p,small,span){
  color:var(--ed-muted)!important;
}
:where(html[data-skin="modern"]) .focus-panel .timeline-item>span,:where(html[data-skin="modern"]) 
.daily-adhkar-section .is-complete,:where(html[data-skin="modern"]) 
.daily-adhkar-section [class*="progress"]{
  color:var(--ed-green)!important;
}
:where(html[data-skin="modern"]) .daily-adhkar-section .daily-adhkar-card-icon{
  background:#141414!important;
  color:var(--ed-white)!important;
}
:where(html[data-skin="modern"]) .daily-adhkar-section .daily-adhkar-card.personal .daily-adhkar-card-icon{
  background:#151515!important;
  color:#ababab!important;
}
:where(html[data-skin="modern"]) .trust-strip{display:none!important}

:where(html[data-skin="modern"]) .editorial-footer{
  order:20;
  width:100%;
  margin-top:38px;
  padding:36px 8px 8px;
  border-top:1px solid var(--ed-rule);
  display:grid;
  grid-template-columns:210px minmax(260px,1fr) 170px 100px;
  align-items:center;
  gap:42px;
  color:var(--ed-white);
}
:where(html[data-skin="modern"]) .editorial-footer-brand{
  min-height:92px;
  padding-right:40px;
  border-right:1px solid var(--ed-rule);
  display:flex;
  align-items:center;
}
:where(html[data-skin="modern"]) .editorial-footer-brand img{
  display:block;
  width:130px;
  max-height:84px;
  object-fit:contain;
  object-position:left center;
}
:where(html[data-skin="modern"]) .editorial-footer blockquote{
  max-width:350px;
  margin:0;
  color:#d7d9d7;
  font-size:.82rem;
  font-style:italic;
  line-height:1.55;
}
:where(html[data-skin="modern"]) .editorial-footer cite{
  display:block;
  margin-top:7px;
  color:var(--ed-muted);
  font-size:.65rem;
  font-style:normal;
  letter-spacing:.2em;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) .editorial-footer-intent,:where(html[data-skin="modern"]) 
.editorial-footer-words{
  margin:0!important;
  padding-left:30px;
  border-left:1px solid var(--ed-rule);
  color:var(--ed-white)!important;
  font-size:.68rem;
  line-height:1.8;
  letter-spacing:.24em;
  text-transform:uppercase;
}
@media(max-width:760px){
  :where(html[data-skin="modern"]) .editorial-footer{
    grid-template-columns:1fr 1fr;
    gap:28px 18px;
    padding-bottom:84px;
  }
  :where(html[data-skin="modern"]) .editorial-footer-brand{border-right:0;padding-right:0}
  :where(html[data-skin="modern"]) .editorial-footer blockquote{grid-column:1/-1;grid-row:2}
  :where(html[data-skin="modern"]) .editorial-footer-intent,:where(html[data-skin="modern"]) .editorial-footer-words{padding-left:18px}
}


/* Mockup structure pass */
:where(html[data-skin="modern"]) .page{
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr));
  column-gap:12px;
}
:where(html[data-skin="modern"]) .hero-shell,:where(html[data-skin="modern"]) .prayer-panel,:where(html[data-skin="modern"]) .launcher,:where(html[data-skin="modern"]) .daily-adhkar-section,:where(html[data-skin="modern"]) .learn-section,:where(html[data-skin="modern"]) .editorial-footer{
  grid-column:1/-1;
}
:where(html[data-skin="modern"]) .prayer-panel{
  min-height:164px!important;
  grid-template-columns:205px minmax(0,1fr)!important;
  padding:18px 0!important;
}
:where(html[data-skin="modern"]) .prayer-panel .panel-head{
  padding:0 22px!important;
}
:where(html[data-skin="modern"]) .prayer-panel .panel-head h2{
  font-size:1.8rem!important;
}
:where(html[data-skin="modern"]) .prayer-head-tools{
  display:grid!important;
  grid-template-columns:1fr!important;
}
:where(html[data-skin="modern"]) .location-button{
  width:100%;
  min-height:38px;
}
:where(html[data-skin="modern"]) .prayer-list{
  align-self:stretch;
}
:where(html[data-skin="modern"]) .prayer-row{
  min-height:112px!important;
  padding:18px!important;
}
:where(html[data-skin="modern"]) .more-prayers{
  padding:12px 22px 0!important;
}

:where(html[data-skin="modern"]) .launcher{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  margin:14px 0!important;
  gap:10px!important;
}
:where(html[data-skin="modern"]) .launcher .launch-card:nth-child(6){display:none!important}
:where(html[data-skin="modern"]) .launch-card{
  min-height:144px!important;
  display:flex!important;
  flex-direction:column;
  justify-content:flex-end;
}
:where(html[data-skin="modern"]) .launch-card .launcher-icon{
  width:52px!important;
  height:56px!important;
  margin:0 0 auto!important;
  background-size:600% auto!important;
}
:where(html[data-skin="modern"]) .launch-card b{font-size:1.55rem!important}

:where(html[data-skin="modern"]) .focus-panel,:where(html[data-skin="modern"]) .counter-panel,:where(html[data-skin="modern"]) .progress-panel{
  order:4;
  grid-column:span 4;
  width:auto!important;
  min-height:390px!important;
  margin:0!important;
  padding:26px!important;
}

:where(html[data-skin="modern"]) .focus-panel .timeline-item{
  min-height:58px!important;
  border-radius:0!important;
  padding:10px 12px!important;
}
:where(html[data-skin="modern"]) .focus-panel .contextual-worship-intro{margin-bottom:12px!important}
:where(html[data-skin="modern"]) .focus-panel .contextual-worship-disclaimer{display:block!important;margin:6px 0 0!important;font-size:.68rem!important;line-height:1.45!important;color:var(--ed-muted)!important}

:where(html[data-skin="modern"]) .progress-panel{
  border:1px solid var(--ed-rule)!important;
  border-radius:0!important;
  background:var(--ed-surface)!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) .progress-panel h2{font-size:2.25rem!important}
:where(html[data-skin="modern"]) .homepage-progress-root{
  display:grid;
  gap:0;
  border-top:1px solid var(--ed-rule-soft);
}
:where(html[data-skin="modern"]) .homepage-progress-row{
  width:100%;
  min-height:58px;
  padding:10px 0;
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto 18px;
  align-items:center;
  gap:10px;
  border:0;
  border-bottom:1px solid var(--ed-rule-soft);
  background:transparent;
  color:var(--ed-white);
  text-align:left;
  cursor:pointer;
}
:where(html[data-skin="modern"]) .homepage-progress-mark{
  width:19px;
  height:26px;
  border:1px solid var(--ed-white);
  border-radius:10px 10px 2px 2px;
}
:where(html[data-skin="modern"]) .homepage-progress-copy strong{
  display:block;
  color:var(--ed-white)!important;
  font-size:.76rem;
}
:where(html[data-skin="modern"]) .homepage-progress-copy small{
  display:block;
  color:var(--ed-muted)!important;
  font-size:.6rem;
}
:where(html[data-skin="modern"]) .homepage-progress-value{
  color:var(--ed-white);
  font-size:.69rem;
}
:where(html[data-skin="modern"]) .progress-empty{padding-top:18px}

:where(html[data-skin="modern"]) .daily-adhkar-section{display:none!important}
:where(html[data-skin="modern"]) .daily-adhkar-section.is-expanded{
  display:block!important;
  order:7;
}
:where(html[data-skin="modern"]) .learn-section{
  order:6;
  margin-top:20px!important;
  padding:28px 0!important;
}
:where(html[data-skin="modern"]) .learn-section .section-title{margin-bottom:14px!important}
:where(html[data-skin="modern"]) .learn-section .section-title h2{
  margin-bottom:2px!important;
  font-size:2.5rem!important;
}
:where(html[data-skin="modern"]) .learn-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
:where(html[data-skin="modern"]) .learn-card{
  min-height:138px!important;
  padding:18px!important;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
:where(html[data-skin="modern"]) .learn-card .art-slot{display:none!important}
:where(html[data-skin="modern"]) .learn-card h3{font-size:1.42rem!important;margin-top:0!important}

@media(max-width:1050px){
  :where(html[data-skin="modern"]) .focus-panel,:where(html[data-skin="modern"]) .counter-panel,:where(html[data-skin="modern"]) .progress-panel{grid-column:span 6}
  :where(html[data-skin="modern"]) .progress-panel{grid-column:1/-1}
}
@media(max-width:760px){
  :where(html[data-skin="modern"]) .page{display:block!important}
  :where(html[data-skin="modern"]) .launcher{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  :where(html[data-skin="modern"]) .launcher .launch-card:nth-child(5){grid-column:1/-1}
  :where(html[data-skin="modern"]) .focus-panel,:where(html[data-skin="modern"]) .counter-panel,:where(html[data-skin="modern"]) .progress-panel{width:100%!important;margin-bottom:12px!important}
  :where(html[data-skin="modern"]) .learn-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* Fidelity corrections: pure-black chrome, stable timetable, no footer tail */
:where(html[data-skin="modern"]) [hidden]{display:none!important}
html:where([data-skin="modern"]),:where(html[data-skin="modern"]) body,:where(html[data-skin="modern"]) .app-shell,:where(html[data-skin="modern"]) .topbar{background:#050505!important}
:where(html[data-skin="modern"]) .page{padding-bottom:0!important}
:where(html[data-skin="modern"]) .topbar{
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
:where(html[data-skin="modern"]) .hero-shell,:where(html[data-skin="modern"]) .hero-scene{background:#050505!important}
:where(html[data-skin="modern"]) .hero-scene::before{
  background:linear-gradient(90deg,#050505 0%,rgba(5,5,5,.96) 42%,rgba(8,9,8,.84) 100%)!important;
}
:where(html[data-skin="modern"]) .hero-scene::after{opacity:.22!important}
:where(html[data-skin="modern"]) .hero-title,:where(html[data-skin="modern"]) .hero-copy,:where(html[data-skin="modern"]) .hero-kicker,:where(html[data-skin="modern"]) 
.hero-verse-translation,:where(html[data-skin="modern"]) .hero-verse-source{text-shadow:none!important}
:where(html[data-skin="modern"]) .prayer-location-search[hidden]{display:none!important}
:where(html[data-skin="modern"]) .prayer-panel{
  min-height:0!important;
  background:#070908!important;
}
:where(html[data-skin="modern"]) .prayer-panel .panel-head{
  min-width:0;
  overflow:visible;
}
:where(html[data-skin="modern"]) .prayer-head-tools{
  width:100%;
  min-width:0;
}
:where(html[data-skin="modern"]) .location-button{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
:where(html[data-skin="modern"]) .prayer-row.next-prayer,:where(html[data-skin="modern"]) .prayer-row.current{
  background:#000000!important;
  border-left:1px solid var(--ed-rule)!important;
  box-shadow:inset 0 -2px 0 #ffffff!important;
}
:where(html[data-skin="modern"]) .prayer-row.next-prayer b::after{color:#ffffff!important}
:where(html[data-skin="modern"]) .prayer-location-search{
  grid-column:1/-1;
  width:min(560px,100%);
  margin-top:10px!important;
  padding:12px!important;
  border:1px solid var(--ed-rule)!important;
  background:#090b0a!important;
  color:var(--ed-white)!important;
  position:relative!important;
  inset:auto!important;
  z-index:5;
}
:where(html[data-skin="modern"]) .prayer-location-search-row{display:flex!important;gap:8px!important}
:where(html[data-skin="modern"]) .prayer-location-search input{
  min-width:0!important;
  background:#050505!important;
  color:var(--ed-white)!important;
  border:1px solid var(--ed-rule)!important;
}
:where(html[data-skin="modern"]) .prayer-location-search button{
  background:var(--ed-white)!important;
  color:#050505!important;
  border:1px solid var(--ed-white)!important;
}
:where(html[data-skin="modern"]) .editorial-footer{
  margin-bottom:0!important;
  padding-bottom:28px!important;
}
:where(html[data-skin="modern"]) .editorial-footer+*{margin-top:0!important}


/* Strict monochrome pass – approved palette is black, white and neutral greys only */
:root:where([data-skin="modern"]){
  --ed-black:#000;
  --ed-surface:#000;
  --ed-surface-2:#0a0a0a;
  --ed-white:#fff;
  --ed-muted:#b8b8b8;
  --ed-faint:#777;
  --ed-rule:rgba(255,255,255,.32);
  --ed-rule-soft:rgba(255,255,255,.14);
  --ed-green:#fff;
  --ed-green-deep:#000;
}
html:where([data-skin="modern"]),:where(html[data-skin="modern"]) body,:where(html[data-skin="modern"]) .app-shell,:where(html[data-skin="modern"]) .page,:where(html[data-skin="modern"]) .topbar,:where(html[data-skin="modern"]) 
.hero-shell,:where(html[data-skin="modern"]) .hero-scene,:where(html[data-skin="modern"]) .prayer-panel,:where(html[data-skin="modern"]) 
.panel,:where(html[data-skin="modern"]) .focus-panel,:where(html[data-skin="modern"]) .counter-panel,:where(html[data-skin="modern"]) .progress-panel,:where(html[data-skin="modern"]) 
.launch-card,:where(html[data-skin="modern"]) .learn-card,:where(html[data-skin="modern"]) .daily-adhkar-section,:where(html[data-skin="modern"]) .learn-section,:where(html[data-skin="modern"]) 
.daily-adhkar-card,:where(html[data-skin="modern"]) .daily-adhkar-quick-counter,:where(html[data-skin="modern"]) 
.settings-drawer,:where(html[data-skin="modern"]) .site-footer,:where(html[data-skin="modern"]) .editorial-footer,:where(html[data-skin="modern"]) .mobile-nav{
  background:#000!important;
}
:where(html[data-skin="modern"]) .hero-scene::before{
  background:#000!important;
}
:where(html[data-skin="modern"]) .hero-scene::after{
  filter:grayscale(1)!important;
  opacity:.16!important;
}
:where(html[data-skin="modern"]) .drawer-backdrop{
  background:rgba(0,0,0,.72)!important;
}
:where(html[data-skin="modern"]) :is(.eyebrow,.hero-kicker,.hero-copy,.hero-verse-source,
.nav-link,.launch-card small,.learn-card p,
.focus-panel p,.focus-panel small,.focus-panel span,
.daily-adhkar-section p,.daily-adhkar-section small,
.daily-adhkar-section span,.settings-drawer small){
  color:#aaa!important;
}
:where(html[data-skin="modern"]) :is(.settings-drawer label,.settings-drawer .setting-group>label,
.settings-drawer .setting-group b,.settings-drawer .setting-group strong,
.focus-panel .timeline-item>span,.daily-adhkar-section .is-complete,
.daily-adhkar-section [class*="progress"],.mobile-nav button.active){
  color:#fff!important;
}
:where(html[data-skin="modern"]) input[type="checkbox"],:where(html[data-skin="modern"]) input[type="radio"]{
  accent-color:#fff!important;
}
:where(html[data-skin="modern"]) .prayer-panel{
  grid-template-columns:260px minmax(0,1fr)!important;
  padding:18px 0!important;
}
:where(html[data-skin="modern"]) .prayer-panel .panel-head{
  position:relative!important;
  min-width:0!important;
  padding:4px 24px!important;
  border-right:1px solid var(--ed-rule)!important;
  overflow:visible!important;
}
:where(html[data-skin="modern"]) .prayer-panel .panel-head h2{
  margin:7px 0 16px!important;
  font-size:1.72rem!important;
  line-height:.95!important;
  white-space:nowrap!important;
}
:where(html[data-skin="modern"]) .prayer-head-tools{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:8px!important;
  width:100%!important;
}
:where(html[data-skin="modern"]) .location-button{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  padding:9px 10px!important;
  color:#fff!important;
  background:#000!important;
  border-color:var(--ed-rule)!important;
}
:where(html[data-skin="modern"]) .prayer-location-search{
  position:absolute!important;
  top:calc(100% + 8px)!important;
  left:0!important;
  right:auto!important;
  z-index:30!important;
  width:360px!important;
  max-width:min(360px,calc(100vw - 64px))!important;
  margin:0!important;
  background:#000!important;
  border:1px solid #fff!important;
  box-shadow:0 14px 36px rgba(0,0,0,.8)!important;
}
:where(html[data-skin="modern"]) .prayer-location-search label,:where(html[data-skin="modern"]) 
.prayer-location-search small{
  color:#fff!important;
}
:where(html[data-skin="modern"]) .prayer-row.next-prayer,:where(html[data-skin="modern"]) .prayer-row.current{
  background:#000!important;
  border-left:1px solid var(--ed-rule)!important;
  box-shadow:inset 0 -2px 0 #fff!important;
}
:where(html[data-skin="modern"]) .prayer-row.next-prayer b::after{
  color:#fff!important;
}
:where(html[data-skin="modern"]) .segment.active,:where(html[data-skin="modern"]) 
.prayer-location-search button{
  color:#000!important;
  background:#fff!important;
  border-color:#fff!important;
}
:where(html[data-skin="modern"]) .segment:not(.active),:where(html[data-skin="modern"]) 
.prayer-location-search input{
  color:#fff!important;
  background:#000!important;
}
:where(html[data-skin="modern"]) .launcher-icon{
  filter:grayscale(1) brightness(2.5)!important;
}
:where(html[data-skin="modern"]) .daily-adhkar-section .daily-adhkar-card-icon,:where(html[data-skin="modern"]) 
.daily-adhkar-section .daily-adhkar-card.personal .daily-adhkar-card-icon{
  color:#fff!important;
  background:#0a0a0a!important;
}
@media(max-width:760px){
  :where(html[data-skin="modern"]) .prayer-panel{display:block!important}
  :where(html[data-skin="modern"]) .prayer-panel .panel-head{
    padding:0 0 18px!important;
    border-right:0!important;
    border-bottom:1px solid var(--ed-rule-soft)!important;
  }
  :where(html[data-skin="modern"]) .prayer-panel .panel-head h2{white-space:normal!important}
  :where(html[data-skin="modern"]) .prayer-location-search{
    position:relative!important;
    top:auto!important;
    width:100%!important;
    max-width:100%!important;
    margin-top:8px!important;
  }
}


/* Remove legacy Salah artwork from the pre-footer learning section */
:where(html[data-skin="modern"]) .learn-section::before{
  content:none!important;
  display:none!important;
  background:none!important;
}


/* Timetable header flow and final legacy cream removal */
:where(html[data-skin="modern"]) .prayer-panel{
  grid-template-columns:280px minmax(0,1fr)!important;
}
:where(html[data-skin="modern"]) .prayer-panel .panel-head{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:14px!important;
}
:where(html[data-skin="modern"]) .prayer-panel .panel-head>div:first-child,:where(html[data-skin="modern"]) 
.prayer-panel .panel-head>div:first-child h2{
  width:100%!important;
  min-width:0!important;
}
:where(html[data-skin="modern"]) .prayer-panel .panel-head h2{
  margin:7px 0 0!important;
  white-space:normal!important;
}
:where(html[data-skin="modern"]) .prayer-head-tools{
  flex:0 0 auto!important;
  width:100%!important;
}
:where(html[data-skin="modern"]) .dhikr-copy strong,:where(html[data-skin="modern"]) 
.counter-verse-arabic,:where(html[data-skin="modern"]) 
.dhikr-picker-label,:where(html[data-skin="modern"]) 
.counter-button small,:where(html[data-skin="modern"]) 
.counter-goal,:where(html[data-skin="modern"]) 
.counter-goal strong{
  color:#fff!important;
}
:where(html[data-skin="modern"]) .dhikr-copy span{
  color:#fff!important;
}
:where(html[data-skin="modern"]) .dhikr-copy small,:where(html[data-skin="modern"]) 
.counter-verse-translation,:where(html[data-skin="modern"]) 
.counter-verse-source{
  color:#aaa!important;
}
:where(html[data-skin="modern"]) .day-chip,:where(html[data-skin="modern"]) 
.contextual-today,:where(html[data-skin="modern"]) 
.focus-panel [class*="chip"]{
  color:#000!important;
  background:#fff!important;
  border-color:#fff!important;
}
:where(html[data-skin="modern"]) .focus-panel .timeline-item>span,:where(html[data-skin="modern"]) 
.focus-panel [class*="dot"],:where(html[data-skin="modern"]) 
.daily-adhkar-section [class*="dot"]{
  color:#fff!important;
  background:#fff!important;
  border-color:#fff!important;
}
@media(max-width:1050px) and (min-width:761px){
  :where(html[data-skin="modern"]) .prayer-panel{grid-template-columns:240px minmax(0,1fr)!important}
}


/* Complete legacy palette neutralisation across deferred views and modals */
:root:where([data-skin="modern"]){
  --green:#fff;
  --green2:#000;
  --sage:#fff;
  --cream:#000;
  --paper:#000;
  --sand:#aaa;
  --gold:#fff;
  --charcoal:#fff;
  --muted:#aaa;
  --line:rgba(255,255,255,.2);
  --shadow:none;
}
:where(html[data-skin="modern"]) .counter-panel,:where(html[data-skin="modern"]) 
.counter-panel::before,:where(html[data-skin="modern"]) 
.counter-panel::after,:where(html[data-skin="modern"]) 
.focus-panel,:where(html[data-skin="modern"]) 
.focus-panel .timeline-item,:where(html[data-skin="modern"]) 
.focus-panel .contextual-madhhab-note,:where(html[data-skin="modern"]) 
.focus-panel .contextual-friday-note,:where(html[data-skin="modern"]) 
.daily-adhkar-card,:where(html[data-skin="modern"]) 
.daily-adhkar-note,:where(html[data-skin="modern"]) 
.daily-adhkar-quick-counter{
  background:#000!important;
}
:where(html[data-skin="modern"]) .counter-panel .eyebrow,:where(html[data-skin="modern"]) 
.eyebrow,:where(html[data-skin="modern"]) 
.section-title>p:first-child,:where(html[data-skin="modern"]) 
.dhikr-picker-label,:where(html[data-skin="modern"]) 
.dhikr-copy strong,:where(html[data-skin="modern"]) 
.counter-verse-arabic,:where(html[data-skin="modern"]) 
.focus-panel :is(b,strong,h2,h3),:where(html[data-skin="modern"]) 
.daily-adhkar-section :is(b,strong,h2,h3){
  color:#fff!important;
}
:where(html[data-skin="modern"]) .counter-button{
  border-color:rgba(255,255,255,.38)!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) .counter-presets button,:where(html[data-skin="modern"]) 
.dhikr-arrow,:where(html[data-skin="modern"]) 
.tiny-button{
  color:#fff!important;
  background:#000!important;
  border-color:rgba(255,255,255,.3)!important;
}
:where(html[data-skin="modern"]) .prayer-guide-overlay,:where(html[data-skin="modern"]) 
[class*="worship-detail"][class*="overlay"],:where(html[data-skin="modern"]) 
[class*="quran"][class*="overlay"]{
  background:rgba(0,0,0,.82)!important;
}
:where(html[data-skin="modern"]) .prayer-guide,:where(html[data-skin="modern"]) 
.pg-head,:where(html[data-skin="modern"]) 
.pg-map>button,:where(html[data-skin="modern"]) 
.pg-note,:where(html[data-skin="modern"]) 
.pg-step,:where(html[data-skin="modern"]) 
.pg-pose,:where(html[data-skin="modern"]) 
.pg-rakaah-tabs,:where(html[data-skin="modern"]) 
.pg-school-tabs,:where(html[data-skin="modern"]) 
.pg-arabic,:where(html[data-skin="modern"]) 
.pg-translit,:where(html[data-skin="modern"]) 
.pg-english,:where(html[data-skin="modern"]) 
.pg-quran,:where(html[data-skin="modern"]) 
.pg-quran-learning-head,:where(html[data-skin="modern"]) 
.pg-surah-picker,:where(html[data-skin="modern"]) 
.pg-surah-picker select,:where(html[data-skin="modern"]) 
[class*="worship-detail"],:where(html[data-skin="modern"]) 
[class*="quran-modal"],:where(html[data-skin="modern"]) 
[class*="quran-panel"],:where(html[data-skin="modern"]) 
[class*="quran-card"]{
  background:#000!important;
  border-color:rgba(255,255,255,.24)!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) .prayer-guide :is(h1,h2,h3,h4,strong,b,.pg-arabic,.pg-quran-arabic,.pg-quran-verse),:where(html[data-skin="modern"]) 
[class*="worship-detail"] :is(h1,h2,h3,h4,strong,b,[lang="ar"]),:where(html[data-skin="modern"]) 
[class*="quran"] :is(h1,h2,h3,h4,strong,b,[lang="ar"]){
  color:#fff!important;
}
:where(html[data-skin="modern"]) .prayer-guide :is(p,small,.pg-action,.pg-translit,.pg-english,.pg-quran-status,.pg-quran-translit,.pg-quran-english),:where(html[data-skin="modern"]) 
[class*="worship-detail"] :is(p,small,span),:where(html[data-skin="modern"]) 
[class*="quran"] :is(p,small,span){
  color:#aaa!important;
}
:where(html[data-skin="modern"]) .pg-map>button.active,:where(html[data-skin="modern"]) 
.pg-rakaah-tabs button.active,:where(html[data-skin="modern"]) 
.pg-school-tabs button.active,:where(html[data-skin="modern"]) 
.pg-play-all,:where(html[data-skin="modern"]) 
.pg-ayah-play,:where(html[data-skin="modern"]) 
[class*="worship-detail"] button.active,:where(html[data-skin="modern"]) 
[class*="quran"] button.active{
  color:#000!important;
  background:#fff!important;
  border-color:#fff!important;
  outline-color:#fff!important;
}
:where(html[data-skin="modern"]) .pg-map i,:where(html[data-skin="modern"]) 
.pg-step-title span,:where(html[data-skin="modern"]) 
.pg-quran-verse small,:where(html[data-skin="modern"]) 
.pg-quran-arabic small,:where(html[data-skin="modern"]) 
.pg-surah-picker small,:where(html[data-skin="modern"]) 
.pg-surah-picker label span{
  color:#fff!important;
  background:#000!important;
  border-color:rgba(255,255,255,.35)!important;
}


/* House of Khadija typography and learning-rail system */
:root:where([data-skin="modern"]){
  --ed-display:"Arial Narrow","Roboto Condensed","Helvetica Neue",Arial,sans-serif;
  --ed-ui:Inter,"Helvetica Neue",Arial,sans-serif;
}
:where(html[data-skin="modern"]) body,:where(html[data-skin="modern"]) button,:where(html[data-skin="modern"]) input,:where(html[data-skin="modern"]) select,:where(html[data-skin="modern"]) textarea{
  font-family:var(--ed-ui)!important;
}
:where(html[data-skin="modern"]) h1,:where(html[data-skin="modern"]) h2,:where(html[data-skin="modern"]) h3,:where(html[data-skin="modern"]) .panel h2,:where(html[data-skin="modern"]) .section-title h2{
  font-family:var(--ed-display)!important;
  font-weight:800!important;
  letter-spacing:-.035em!important;
}
:where(html[data-skin="modern"]) .eyebrow,:where(html[data-skin="modern"]) 
.learn-category,:where(html[data-skin="modern"]) 
.nav-link,:where(html[data-skin="modern"]) 
.hero-copy,:where(html[data-skin="modern"]) 
.hero-action,:where(html[data-skin="modern"]) 
.location-button,:where(html[data-skin="modern"]) 
.segment,:where(html[data-skin="modern"]) 
.more-prayers,:where(html[data-skin="modern"]) 
.launch-card small,:where(html[data-skin="modern"]) 
.homepage-progress-root,:where(html[data-skin="modern"]) 
.editorial-footer{
  font-family:var(--ed-ui)!important;
}
:where(html[data-skin="modern"]) .learn-section{
  overflow:hidden!important;
  padding-block:clamp(5rem,8vw,7.5rem)!important;
}
:where(html[data-skin="modern"]) .learn-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:3rem;
  margin-bottom:2.2rem;
}
:where(html[data-skin="modern"]) .learn-head .section-title{
  margin:0!important;
}
:where(html[data-skin="modern"]) .learn-head .section-title h2{
  font-size:clamp(3.2rem,6vw,5.6rem)!important;
  line-height:.9!important;
}
:where(html[data-skin="modern"]) .learn-head .section-title>p:last-child{
  max-width:35rem;
  margin-top:1.5rem!important;
  color:#9a9a9a!important;
  font-size:.92rem!important;
}
:where(html[data-skin="modern"]) .learn-carousel-controls{
  display:flex;
  align-items:center;
  gap:.45rem;
  padding-bottom:.35rem;
}
:where(html[data-skin="modern"]) .learn-carousel-controls button{
  width:2.5rem;
  height:2.5rem;
  padding:0!important;
  border:1px solid #3a3a3a!important;
  border-radius:0!important;
  background:#000!important;
  color:#aaa!important;
  font:inherit!important;
  cursor:pointer;
}
:where(html[data-skin="modern"]) .learn-carousel-controls button:hover,:where(html[data-skin="modern"]) 
.learn-carousel-controls button:focus-visible{
  color:#000!important;
  background:#fff!important;
  border-color:#fff!important;
}
:where(html[data-skin="modern"]) .learn-grid{
  display:grid!important;
  grid-template-columns:none!important;
  grid-auto-flow:column!important;
  grid-auto-columns:minmax(250px,calc((100% - 2.1rem)/4))!important;
  gap:.7rem!important;
  overflow-x:auto!important;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding:0 0 .4rem!important;
}
:where(html[data-skin="modern"]) .learn-grid::-webkit-scrollbar{display:none}
:where(html[data-skin="modern"]) .learn-card{
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  background:#000!important;
  scroll-snap-align:start;
  display:block!important;
}
:where(html[data-skin="modern"]) .learn-card .art-slot{
  position:relative;
  display:block!important;
  width:100%;
  height:auto!important;
  aspect-ratio:4/5;
  margin:0 0 1.25rem!important;
  overflow:hidden;
  border:1px solid #292929!important;
  border-radius:0!important;
  background:#111!important;
}
:where(html[data-skin="modern"]) .learn-card .art-slot::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(to top,rgba(0,0,0,.72),transparent 45%);
  pointer-events:none;
}
:where(html[data-skin="modern"]) .learn-card .art-slot img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
  filter:grayscale(1) contrast(1.08)!important;
}
:where(html[data-skin="modern"]) .learn-number{
  position:absolute;
  z-index:2;
  left:.65rem;
  bottom:.45rem;
  color:#fff!important;
  font-family:var(--ed-display)!important;
  font-size:2rem;
  font-weight:800;
  line-height:1;
}
:where(html[data-skin="modern"]) .learn-category{
  margin:0 0 .7rem!important;
  color:#747474!important;
  font-size:.68rem!important;
  font-weight:700!important;
  letter-spacing:.22em!important;
  text-transform:uppercase;
}
:where(html[data-skin="modern"]) .learn-card h3{
  margin:0 0 .8rem!important;
  color:#fff!important;
  font-family:var(--ed-ui)!important;
  font-size:1rem!important;
  font-weight:700!important;
  letter-spacing:.12em!important;
  line-height:1.25!important;
}
:where(html[data-skin="modern"]) .learn-card>p:not(.learn-category){
  margin:0!important;
  color:#9a9a9a!important;
  font-size:.84rem!important;
  line-height:1.6!important;
}
:where(html[data-skin="modern"]) .learn-card button{
  margin-top:.8rem;
  padding:0 0 .15rem!important;
  border:0!important;
  border-bottom:1px solid #3a3a3a!important;
  background:transparent!important;
  color:#fff!important;
  font-size:.68rem!important;
}
@media(max-width:850px){
  :where(html[data-skin="modern"]) .learn-grid{grid-auto-columns:minmax(240px,48%)!important}
}
@media(max-width:560px){
  :where(html[data-skin="modern"]) .learn-head{align-items:flex-start;flex-direction:column;gap:1.2rem}
  :where(html[data-skin="modern"]) .learn-carousel-controls{align-self:flex-end}
  :where(html[data-skin="modern"]) .learn-grid{grid-auto-columns:84%!important}
}


/* Unified prayer preferences: madhhab and illustration guide */
:where(html[data-skin="modern"]) .prayer-preference-row{
  display:grid!important;
  grid-template-columns:1fr 1fr;
  width:100%;
  border:1px solid var(--ed-rule-soft);
}
:where(html[data-skin="modern"]) .prayer-preference-row .segmented{
  display:grid!important;
  grid-template-columns:1fr 1fr;
  width:100%;
  padding:0!important;
  border:0!important;
}
:where(html[data-skin="modern"]) .prayer-preference-row .segmented+ .segmented{
  border-left:1px solid var(--ed-rule-soft)!important;
}
:where(html[data-skin="modern"]) .prayer-preference-row .segment{
  min-width:0;
  padding:8px 5px!important;
  font-size:.58rem!important;
  white-space:nowrap;
}
:where(html[data-skin="modern"]) .prayer-preference-row .segment+.segment{
  border-left:1px solid var(--ed-rule-soft)!important;
}
@media(max-width:760px){
  :where(html[data-skin="modern"]) .prayer-preference-row{max-width:360px}
}


/* Editorial monochrome: adhkar destination and routine reader */
:where(html[data-skin="modern"]) .daily-adhkar-section,:where(html[data-skin="modern"]) 
.daily-adhkar-layout,:where(html[data-skin="modern"]) 
.daily-adhkar-welcome,:where(html[data-skin="modern"]) 
.daily-adhkar-group,:where(html[data-skin="modern"]) 
.daily-adhkar-card,:where(html[data-skin="modern"]) 
.daily-adhkar-quick-counter,:where(html[data-skin="modern"]) 
.daily-adhkar-note{
  background:#000!important;
  background-image:none!important;
  color:#fff!important;
  border-color:#292929!important;
  border-radius:0!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) .daily-adhkar-welcome,:where(html[data-skin="modern"]) 
.daily-adhkar-group,:where(html[data-skin="modern"]) 
.daily-adhkar-group-head,:where(html[data-skin="modern"]) 
.daily-adhkar-card-copy,:where(html[data-skin="modern"]) 
.daily-adhkar-card-meta,:where(html[data-skin="modern"]) 
.daily-adhkar-progress{
  font-family:var(--ed-ui)!important;
}
:where(html[data-skin="modern"]) .daily-adhkar-welcome h2,:where(html[data-skin="modern"]) 
.daily-adhkar-group-head h3,:where(html[data-skin="modern"]) 
.daily-adhkar-card h3,:where(html[data-skin="modern"]) 
.daily-adhkar-card strong{
  color:#fff!important;
  font-family:var(--ed-display)!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
}
:where(html[data-skin="modern"]) .daily-adhkar-card p,:where(html[data-skin="modern"]) 
.daily-adhkar-card small,:where(html[data-skin="modern"]) 
.daily-adhkar-card-subtitle,:where(html[data-skin="modern"]) 
.daily-adhkar-group-head>p:last-child,:where(html[data-skin="modern"]) 
.daily-adhkar-welcome>div>p:last-child,:where(html[data-skin="modern"]) 
.daily-adhkar-progress{
  color:#999!important;
  font-family:var(--ed-ui)!important;
}
:where(html[data-skin="modern"]) .daily-adhkar-card-icon,:where(html[data-skin="modern"]) 
.daily-adhkar-card-meta span,:where(html[data-skin="modern"]) 
.daily-adhkar-progress span,:where(html[data-skin="modern"]) 
.daily-adhkar-quick-counter>span{
  background:#111!important;
  color:#fff!important;
  border-color:#333!important;
}
:where(html[data-skin="modern"]) .daily-adhkar-card:hover,:where(html[data-skin="modern"]) 
.daily-adhkar-card:focus-visible,:where(html[data-skin="modern"]) 
.daily-adhkar-quick-counter:hover,:where(html[data-skin="modern"]) 
.daily-adhkar-quick-counter:focus-visible{
  background:#090909!important;
  border-color:#fff!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) .daily-adhkar-card *,:where(html[data-skin="modern"]) 
.daily-adhkar-quick-counter *{
  border-color:#333!important;
}
:where(html[data-skin="modern"]) .worship-detail-overlay{
  background:rgba(0,0,0,.88)!important;
}
:where(html[data-skin="modern"]) .worship-detail-card,:where(html[data-skin="modern"]) 
.worship-detail-head,:where(html[data-skin="modern"]) 
.worship-detail-body,:where(html[data-skin="modern"]) 
.worship-detail-recitation,:where(html[data-skin="modern"]) 
.worship-detail-collection,:where(html[data-skin="modern"]) 
.worship-detail-member,:where(html[data-skin="modern"]) 
.worship-detail-personal-note,:where(html[data-skin="modern"]) 
.worship-detail-practice,:where(html[data-skin="modern"]) 
.worship-reading-timer{
  background:#000!important;
  background-image:none!important;
  color:#fff!important;
  border-color:#292929!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) .worship-detail-card,:where(html[data-skin="modern"]) 
.worship-detail-card button,:where(html[data-skin="modern"]) 
.worship-detail-card input,:where(html[data-skin="modern"]) 
.worship-detail-card select{
  font-family:var(--ed-ui)!important;
}
:where(html[data-skin="modern"]) .worship-detail-head h2,:where(html[data-skin="modern"]) 
.worship-detail-member-copy strong,:where(html[data-skin="modern"]) 
.worship-detail-recitation h3{
  color:#fff!important;
  font-family:var(--ed-display)!important;
  font-weight:800!important;
  letter-spacing:-.025em!important;
}
:where(html[data-skin="modern"]) .worship-detail-meta,:where(html[data-skin="modern"]) 
.worship-detail-subtitle,:where(html[data-skin="modern"]) 
.worship-detail-translit,:where(html[data-skin="modern"]) 
.worship-detail-english,:where(html[data-skin="modern"]) 
.worship-detail-source,:where(html[data-skin="modern"]) 
.worship-detail-member-translit,:where(html[data-skin="modern"]) 
.worship-detail-member-english,:where(html[data-skin="modern"]) 
.worship-detail-action-note{
  color:#999!important;
  font-family:var(--ed-ui)!important;
}
:where(html[data-skin="modern"]) .worship-detail-arabic,:where(html[data-skin="modern"]) 
.worship-detail-member-arabic{
  color:#fff!important;
}
:where(html[data-skin="modern"]) .worship-detail-badge,:where(html[data-skin="modern"]) 
.worship-detail-member-count,:where(html[data-skin="modern"]) 
.worship-detail-close,:where(html[data-skin="modern"]) 
.worship-detail-primary-action,:where(html[data-skin="modern"]) 
.worship-reading-timer button{
  background:#000!important;
  color:#fff!important;
  border-color:#3a3a3a!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) .worship-detail-primary-action:hover,:where(html[data-skin="modern"]) 
.worship-detail-close:hover,:where(html[data-skin="modern"]) 
.worship-reading-timer button:hover{
  background:#fff!important;
  color:#000!important;
  border-color:#fff!important;
}


/* Global monochrome controls and small-label typography audit */
:root:where([data-skin="modern"]){
  --ed-black:#000;
  --ed-surface:#000;
  --ed-surface-2:#0a0a0a;
  --ed-white:#fff;
  --ed-muted:#aaa;
  --ed-faint:#777;
  --ed-green:#fff;
  --ed-green-deep:#000;
  --ed-gold:#fff;
}
:where(html[data-skin="modern"]) .hero-kicker,:where(html[data-skin="modern"]) 
.prayer-row b,:where(html[data-skin="modern"]) 
.prayer-row b::after,:where(html[data-skin="modern"]) 
.more-prayers,:where(html[data-skin="modern"]) 
.more-prayers button{
  font-family:var(--ed-ui)!important;
  font-style:normal!important;
}
:where(html[data-skin="modern"]) .hero-kicker{
  color:#aaa!important;
  font-size:.72rem!important;
  font-weight:600!important;
  line-height:1.2!important;
  letter-spacing:.3em!important;
}
:where(html[data-skin="modern"]) .prayer-row b{
  color:#aaa!important;
  font-size:.67rem!important;
  font-weight:600!important;
  line-height:1.2!important;
  letter-spacing:.16em!important;
}
:where(html[data-skin="modern"]) :is(
  .settings-button,
  .location-button,
  .tiny-button,
  .contextual-worship-arrow,
  .contextual-return-button,
  .daily-adhkar-quick-counter,
  .worship-detail-close,
  .worship-detail-primary-action,
  .worship-reading-timer-actions button,
  .worship-detail-counter-button,
  [data-dhikr-reset],
  .salah-quran-close,
  .salah-quran-play-all,
  .salah-quran-pause,
  .salah-quran-stop,
  .salah-quran-ayah-play,
  .salah-quran-reading-session-toggle
){
  background:#000!important;
  background-image:none!important;
  color:#fff!important;
  border-color:#3a3a3a!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
:where(html[data-skin="modern"]) :is(
  .settings-button,
  .location-button,
  .tiny-button,
  .contextual-worship-arrow,
  .contextual-return-button,
  .daily-adhkar-quick-counter,
  .worship-detail-close,
  .worship-detail-primary-action,
  .worship-reading-timer-actions button,
  .worship-detail-counter-button,
  [data-dhikr-reset],
  .salah-quran-close,
  .salah-quran-play-all,
  .salah-quran-pause,
  .salah-quran-stop,
  .salah-quran-ayah-play,
  .salah-quran-reading-session-toggle
):hover,:where(html[data-skin="modern"]) 
:is(
  .settings-button,
  .location-button,
  .tiny-button,
  .contextual-worship-arrow,
  .contextual-return-button,
  .daily-adhkar-quick-counter,
  .worship-detail-close,
  .worship-detail-primary-action,
  .worship-reading-timer-actions button,
  .worship-detail-counter-button,
  [data-dhikr-reset],
  .salah-quran-close,
  .salah-quran-play-all,
  .salah-quran-pause,
  .salah-quran-stop,
  .salah-quran-ayah-play,
  .salah-quran-reading-session-toggle
):focus-visible{
  background:#fff!important;
  color:#000!important;
  border-color:#fff!important;
  outline-color:#fff!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) :is(.segment,.counter-presets button,.salah-quran-rate button){
  background:#000!important;
  color:#aaa!important;
  border-color:#333!important;
  box-shadow:none!important;
}
:where(html[data-skin="modern"]) :is(.segment,.counter-presets button,.salah-quran-rate button).active,:where(html[data-skin="modern"]) 
:is(.segment,.counter-presets button,.salah-quran-rate button)[aria-pressed="true"]{
  background:#fff!important;
  color:#000!important;
  border-color:#fff!important;
}
:where(html[data-skin="modern"]) .counter-panel,:where(html[data-skin="modern"]) 
.worship-detail-dhikr-counter .worship-detail-counter-button,:where(html[data-skin="modern"]) 
.worship-detail-dhikr-counter .worship-detail-counter-button[data-complete="true"]{
  background:#000!important;
  background-image:none!important;
  color:#fff!important;
  border-color:#555!important;
  box-shadow:none!important;
}


/* Bright monochrome quick-counter icon and white-control contrast */
:where(html[data-skin="modern"]) .daily-adhkar-counter-icon{
  display:grid!important;
  place-items:center!important;
  background:#111!important;
  color:#fff!important;
}
:where(html[data-skin="modern"]) .daily-adhkar-counter-icon svg{
  display:block;
  width:24px;
  height:24px;
  overflow:visible;
  fill:none;
  stroke:#fff;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
:where(html[data-skin="modern"]) :is(
  .hero-action.primary,
  .segment.active,
  .segment[aria-pressed="true"],
  .counter-presets button.active,
  .salah-quran-rate button.active,
  .pg-map>button.active,
  .pg-rakaah-tabs button.active,
  .pg-school-tabs button.active,
  .pg-quran-rate button.active,
  .pg-play-all,
  .qpc-play,
  .pg-ayah-play,
  .pg-memorise.is-memorised,
  .pg-rakah-next
),:where(html[data-skin="modern"]) 
:is(
  .hero-action.primary,
  .segment.active,
  .segment[aria-pressed="true"],
  .counter-presets button.active,
  .salah-quran-rate button.active,
  .pg-map>button.active,
  .pg-rakaah-tabs button.active,
  .pg-school-tabs button.active,
  .pg-quran-rate button.active,
  .pg-play-all,
  .qpc-play,
  .pg-ayah-play,
  .pg-memorise.is-memorised,
  .pg-rakah-next
) *{
  color:#050505!important;
  text-shadow:none!important;
}


/* Final computed-style palette leak: worship-card arrows */
:where(html[data-skin="modern"]) .timeline-item.worship-item i,:where(html[data-skin="modern"]) 
.timeline-item.worship-item:hover i,:where(html[data-skin="modern"]) 
.timeline-item.worship-item:focus-visible i{
  color:#aaa!important;
  border-color:#aaa!important;
}


/* 2026-09-09 – isolated minimalist launcher icons (no sprite bleed) */
:where(html[data-skin="modern"]) .launch-card .launcher-icon{
  width:72px!important;
  height:72px!important;
  flex:0 0 72px!important;
  margin:0 auto 14px!important;
  background-color:transparent!important;
  background-repeat:no-repeat!important;
  background-position:50% 50%!important;
  background-size:58px 58px!important;
  filter:none!important;
  opacity:1!important;
}
:where(html[data-skin="modern"]) .launch-card:nth-child(1) .launcher-icon{background-image:url('/assets/icon-pray-minimal.svg')!important}
:where(html[data-skin="modern"]) .launch-card:nth-child(2) .launcher-icon{background-image:url('/assets/icon-adhkar-minimal.svg')!important}
:where(html[data-skin="modern"]) .launch-card:nth-child(3) .launcher-icon{background-image:url('/assets/icon-quran-minimal.svg')!important}
:where(html[data-skin="modern"]) .launch-card:nth-child(4) .launcher-icon{background-image:url('/assets/icon-dua-minimal.svg')!important}
:where(html[data-skin="modern"]) .launch-card:nth-child(5) .launcher-icon{background-image:url('/assets/icon-learn-minimal.svg')!important}
@media(max-width:760px){
  :where(html[data-skin="modern"]) .launch-card .launcher-icon{
    width:60px!important;
    height:60px!important;
    flex-basis:60px!important;
    background-size:50px 50px!important;
    margin-bottom:11px!important;
  }
}

:where(html[data-skin="modern"]) .launcher .launch-card:nth-child(-n+5) .launcher-icon{
  background-position:50% 50%!important;
}

/* Launcher icon artwork revision 2 – explicit cache bust */
:where(html[data-skin="modern"]) .launch-card:nth-child(1) .launcher-icon{background-image:url('/assets/icon-pray-minimal.svg?v=approved1')!important}
:where(html[data-skin="modern"]) .launch-card:nth-child(2) .launcher-icon{background-image:url('/assets/icon-adhkar-minimal.svg?v=approved1')!important}
:where(html[data-skin="modern"]) .launch-card:nth-child(3) .launcher-icon{background-image:url('/assets/icon-quran-minimal.svg?v=approved1')!important}
:where(html[data-skin="modern"]) .launch-card:nth-child(4) .launcher-icon{background-image:url('/assets/icon-dua-minimal.svg?v=approved2')!important}
:where(html[data-skin="modern"]) .launch-card:nth-child(5) .launcher-icon{background-image:url('/assets/icon-learn-minimal.svg?v=approved2')!important}


/* Keep dhikr navigation chevrons optically centred, independent of font metrics. */
:where(html[data-skin="modern"]) .dhikr-arrow{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  font-size:0!important;
  line-height:1!important;
}
:where(html[data-skin="modern"]) #dhikr-prev::before,:where(html[data-skin="modern"]) 
#dhikr-next::before{
  display:block;
  color:currentColor;
  font:400 1.35rem/1 Arial,sans-serif;
  transform:translateY(-1px);
}
:where(html[data-skin="modern"]) #dhikr-prev::before{content:"‹"}
:where(html[data-skin="modern"]) #dhikr-next::before{content:"›"}


/* Optical re-centering after removing contaminated left gutters. */
:where(html[data-skin="modern"]) .launcher .launch-card:nth-child(4) .launcher-icon,:where(html[data-skin="modern"]) 
.launcher .launch-card:nth-child(5) .launcher-icon{
  background-position:calc(50% - 5px) 50%!important;
}


/* Approved SALAH identity: compact header lockup and right-weighted desktop nav. */
:where(html[data-skin="modern"]) .brand{width:235px!important;flex:0 0 235px!important}
:where(html[data-skin="modern"]) .desktop-nav{margin-left:auto!important;margin-right:clamp(24px,3vw,48px)!important}
:where(html[data-skin="modern"]) .topbar-tools{margin-left:0!important}
:where(html[data-skin="modern"]) .editorial-footer-brand img{width:165px!important;max-height:64px!important}
@media(max-width:1000px) and (min-width:761px){
  :where(html[data-skin="modern"]) .brand{width:190px!important;flex-basis:190px!important}
  :where(html[data-skin="modern"]) .desktop-nav{margin-right:20px!important}
}
@media(max-width:760px){
  :where(html[data-skin="modern"]) .brand{width:158px!important;flex-basis:158px!important}
  :where(html[data-skin="modern"]) .topbar-tools{margin-left:auto!important}
}


/* Tighter desktop header rhythm: retain right alignment while halving item spacing. */
@media(min-width:1001px){:where(html[data-skin="modern"]) .desktop-nav{gap:19px!important}}
@media(max-width:1000px) and (min-width:761px){:where(html[data-skin="modern"]) .desktop-nav{gap:11px!important}}


/* Learn cards: taller portrait art and readable copy on laptops/desktops. */
:where(html[data-skin="modern"]) .learn-card .art-slot{aspect-ratio:3/4}
@media(min-width:1100px){
  :where(html[data-skin="modern"]) .learn-grid{grid-auto-columns:calc((100% - 2.8rem)/5)!important;overflow-x:auto!important;scrollbar-width:none}
  :where(html[data-skin="modern"]) .learn-card .art-slot{aspect-ratio:2/3}
}
:where(html[data-skin="modern"]) .learn-card{display:flex!important;flex-direction:column}
:where(html[data-skin="modern"]) .learn-card h3{font-size:1.08rem!important}
:where(html[data-skin="modern"]) .learn-card>p:not(.learn-category){font-size:.95rem!important}
:where(html[data-skin="modern"]) .learn-card button,:where(html[data-skin="modern"]) .learn-card .learn-coming-soon{margin-top:auto!important;align-self:flex-start;font-size:.78rem!important}
:where(html[data-skin="modern"]) .learn-card>p:not(.learn-category){margin-bottom:1rem!important}


/* Editorial review 2026-11-18: same content as Classic, strictly monochrome, readable on phones. */
/* Six Learn cards (Prayer card now in every look): all six on wide screens, carousel below. */
@media(min-width:1100px){
  :where(html[data-skin="modern"]) .learn-grid{overflow-x:auto!important}
}
@media(min-width:1280px){
  :where(html[data-skin="modern"]) .learn-grid{grid-auto-columns:calc((100% - 3.5rem)/6)!important;overflow-x:auto!important;scrollbar-width:none}
}
:where(html[data-skin="modern"]) .learn-category{color:#8a8a8a!important}
:where(html[data-skin="modern"]) .learn-card .learn-art-mono{filter:grayscale(1) contrast(1.08)}
/* Timetable: rakʿah summary under each prayer name, plus the Farḍ/Sunnah key. */
:where(html[data-skin="modern"]) .prayer-key{grid-column:1/-1;margin:10px 0 0!important;color:var(--ed-muted)!important;font-size:.68rem!important;line-height:1.5;letter-spacing:.02em}
@media(max-width:760px){
  :where(html[data-skin="modern"]) .prayer-row{min-height:112px!important}
}
/* Neutral greys only (no inherited Classic sage/cream). */
:where(html[data-skin="modern"]) .timeline::before,:where(html[data-skin="modern"]) .worship-timeline::before{background:var(--ed-rule-soft)!important}
:where(html[data-skin="modern"]) .settings-drawer{box-shadow:-25px 0 70px rgba(0,0,0,.35)!important}
:where(html[data-skin="modern"]) .hero-brand-modern::before{background-image:none!important}
:where(html[data-skin="modern"]) .settings-note{margin:20px 0 0;padding-top:18px;border-top:1px solid var(--ed-rule-soft);color:var(--ed-muted);font-size:.78rem;line-height:1.55}
/* "Nothing in this list is obligatory" note reads as plain text, not a field. */
:where(html[data-skin="modern"]) .focus-panel .contextual-worship-disclaimer{border:0!important;background:none!important;padding:0!important;box-shadow:none!important}
/* Modern light: counter labels, transliteration and verse were white on white; grey notes too faint. */
html[data-theme="light"]:where([data-skin="modern"]) .counter-panel :is(.dhikr-picker-label,#dhikr-translit,#dhikr-english,.counter-verse-english,.counter-verse-source){color:#333!important;-webkit-text-fill-color:#333!important}
html[data-theme="light"]:where([data-skin="modern"]) .focus-panel :is(.contextual-madhhab-note span,.contextual-madhhab-note p,.timeline-item i){color:#555!important}
/* Same information as Classic: Today's focus and the daily Qurʾānic reflection under the hero. */
:where(html[data-skin="modern"]) .hero-bottom{display:grid!important;grid-template-columns:1fr 1fr;gap:0!important;padding:0!important;background:transparent!important;border-top:1px solid var(--ed-rule)}
:where(html[data-skin="modern"]) .hero-bottom .focus-card,:where(html[data-skin="modern"]) .hero-bottom .api-note{min-height:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:22px 26px!important}
:where(html[data-skin="modern"]) .hero-bottom .api-note{border-left:1px solid var(--ed-rule)!important}
:where(html[data-skin="modern"]) .hero-bottom .focus-icon{display:none!important}
:where(html[data-skin="modern"]) .hero-bottom :is(.focus-card small,.api-note>span,.qr-label){color:var(--ed-muted)!important;font-size:.66rem!important;letter-spacing:.24em!important}
:where(html[data-skin="modern"]) .hero-bottom .focus-card strong{color:var(--ed-white)!important;font-family:var(--ed-ui)!important;font-size:1.05rem!important}
:where(html[data-skin="modern"]) .hero-bottom .qr-arabic{color:var(--ed-white)!important;font-family:var(--ed-arabic)!important;font-size:1.5rem!important}
:where(html[data-skin="modern"]) .hero-bottom :is(.qr-english,.api-note small){color:var(--ed-muted)!important;font-size:.8rem!important}
:where(html[data-skin="modern"]) .hero-bottom .qr-source{color:var(--ed-faint)!important}
:where(html[data-skin="modern"]) .hero-bottom .qr-play{background:transparent!important;border:1px solid var(--ed-rule)!important;color:var(--ed-white)!important;box-shadow:none!important}
@media(max-width:760px){
  :where(html[data-skin="modern"]) .hero-bottom{grid-template-columns:1fr}
  :where(html[data-skin="modern"]) .hero-bottom .api-note{border-left:0!important;border-top:1px solid var(--ed-rule)!important}
  :where(html[data-skin="modern"]) .hero-bottom .focus-card,:where(html[data-skin="modern"]) .hero-bottom .api-note{padding:18px 8px!important}
}
/* Same sections as Classic: Daily Adhkār always on the page (after My progress, before Learn), and the
   hero search under the hero text. */
:where(html[data-skin="modern"]) .daily-adhkar-section,:where(html[data-skin="modern"]) .daily-adhkar-section.is-expanded{display:block!important;order:5!important}
:where(html[data-skin="modern"]) .hero-search{
  display:flex!important;position:relative!important;inset:auto!important;transform:none!important;
  grid-column:1/-1;align-items:center;gap:10px;width:min(620px,100%)!important;height:48px;margin:34px 0 0!important;
  padding:0 16px!important;border:1px solid var(--ed-rule)!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;z-index:2
}
:where(html[data-skin="modern"]) .hero-search span{color:var(--ed-muted)!important;font-size:1.2rem}
:where(html[data-skin="modern"]) .hero-search input{width:100%;border:0;outline:none;background:transparent!important;color:var(--ed-white)!important;font-size:.9rem}
:where(html[data-skin="modern"]) .hero-search input::placeholder{color:var(--ed-muted)}
:where(html[data-skin="modern"]) .hero-search-hint{background:var(--ed-surface,#111)!important;color:var(--ed-white)!important;border:1px solid var(--ed-rule);border-radius:0!important;box-shadow:none!important}
/* Daily Adhkār in Modern: neutral chevrons; readable subtitles in light. */
:where(html[data-skin="modern"]) .daily-adhkar-section i,:where(html[data-skin="modern"]) .focus-panel .timeline-item i{color:var(--ed-muted)!important}
html[data-theme="light"]:where([data-skin="modern"]) .daily-adhkar-section :is(.daily-adhkar-card-subtitle,.daily-adhkar-quick-counter span,.daily-adhkar-quick-counter small,i){color:#555!important}
/* Phones: today's five prayers as five simple rows (name + rakʿahs left, time right), like Classic. */
@media(max-width:760px){
  :where(html[data-skin="modern"]) .prayer-list{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important;scroll-snap-type:none!important;margin-top:14px;border-top:1px solid var(--ed-rule)}
  :where(html[data-skin="modern"]) .prayer-row{flex:none!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;gap:12px!important;padding:14px 4px!important;border-left:0!important;border-bottom:1px solid var(--ed-rule)!important}
  :where(html[data-skin="modern"]) .prayer-row>span:not(.dashboard-prayer-icon){grid-column:1;min-width:0}
  :where(html[data-skin="modern"]) .prayer-row time{grid-column:2;font-size:1.6rem!important;text-align:right}
}
