/* Desktop home only. Existing phone/tablet layouts and reader pages are untouched. */
.desktop-home-sidebar,.desktop-home-welcome,.desktop-home-description{display:none}
@media (min-width:1100px){
 .app-shell.desktop-home,.mushafi-review .app-shell.desktop-home{width:calc(100% - 80px);max-width:1320px;min-height:100dvh;margin:0 auto;padding:32px 0;display:grid;grid-template-columns:230px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:48px;align-items:start;font-family:MushafiCairo,system-ui,sans-serif}
 .desktop-home .desktop-home-sidebar{display:flex;flex-direction:column;grid-column:1;grid-row:1 / 3;position:sticky;top:32px;min-height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);overflow:auto;padding:28px 20px;border:1px solid var(--night-border-dbe4da,#dbe4da);border-radius:24px;background:var(--night-bg-f0f4ed,#f0f4ed);align-self:start}
 .desktop-home .desktop-home-brand{display:grid;justify-items:start;gap:6px;padding:0 12px 28px;border-bottom:1px solid var(--night-border-d7e1d5,#d7e1d5);margin-bottom:24px}
 .desktop-home .desktop-home-brand>.icon{width:40px;height:40px;color:var(--night-fg-1b5945,#1b5945);margin-bottom:8px}
 .desktop-home .desktop-home-brand strong{font-size:30px;line-height:1.5}.desktop-home .desktop-home-brand span{font-size:13px;color:var(--night-fg-62786a,#62786a)}
 .desktop-home .desktop-home-sidebar nav{display:grid;gap:8px}.desktop-home .desktop-home-sidebar nav a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;font-size:15px;min-height:48px;text-decoration:none}
 .desktop-home .desktop-home-sidebar nav .icon{width:22px;height:22px}.desktop-home .desktop-home-sidebar nav a:hover{background:var(--night-bg-e2eadf,#e2eadf)}.desktop-home .desktop-home-sidebar nav a.desktop-home-current{background:var(--night-bg-1b5945,#1b5945);color:var(--night-fg-fffdf5,#fffdf5)}
 .desktop-home .desktop-home-reader{display:flex;align-items:center;justify-content:center;gap:10px;padding:13px;margin-top:auto;border:1px solid var(--night-border-b5c9b9,#b5c9b9);border-radius:14px;background:var(--night-bg-fffdf7,#fffdf7);min-height:50px;font-size:15px}
 .desktop-home .desktop-home-sidebar>p{margin:18px 0 0;text-align:center;font-size:12px;color:var(--night-fg-62786a,#62786a)}
 .desktop-home>.top{grid-column:2;grid-row:1;margin:0;padding:0 0 22px;border-bottom:1px solid var(--night-border-e0e5d9,#e0e5d9)}.desktop-home .home-top-row{height:auto;min-height:44px;justify-content:flex-start}.desktop-home .home-top-row>.round-button{display:none}.desktop-home .section-title{font-family:inherit;font-size:21px;text-align:start}
 .desktop-home .public-presence-badge{margin:12px 0 0;width:fit-content;font-size:13px}
 .desktop-home>.home-content{grid-column:2;grid-row:2;display:block;padding:0;min-width:0}
 .desktop-home .desktop-home-welcome{display:block;margin:30px 0 28px}.desktop-home-welcome>span{font-size:13px;color:var(--night-fg-8a6b32,#8a6b32)}.desktop-home .desktop-home-welcome h2{font:700 clamp(24px,2.4vw,34px)/1.6 MushafiCairo,system-ui,sans-serif;margin:6px 0 8px;color:var(--night-fg-174d3d,#174d3d)}.desktop-home-welcome p{font-size:15px;color:var(--night-fg-62786a,#62786a);margin:0}
 .desktop-home .home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .desktop-home .home-grid .tile{height:auto;min-height:184px;align-items:flex-start;justify-content:flex-start;padding:23px;gap:10px;text-align:start;border-radius:20px;transition:border-color .15s,box-shadow .15s;background:var(--night-bg-fffef9,#fffef9)}
 .desktop-home .home-grid .tile>.icon{width:34px;height:34px;margin-bottom:6px}.desktop-home .home-grid .card-label{font-size:18px;line-height:1.6}
 .desktop-home .desktop-home-description{display:block;font-size:12px;line-height:1.9;color:var(--night-fg-62786a,#62786a)}
 .desktop-home .home-grid .tile:hover{border-color:var(--night-border-a7beaa,#a7beaa);box-shadow:0 6px 20px #163f350a}.desktop-home .home-grid .tile.selected{background:var(--night-bg-1b5945,#1b5945);color:var(--night-fg-fffdf5,#fffdf5)}.desktop-home .tile.selected .desktop-home-description{color:var(--night-fg-e3eddf,#e3eddf)}
 .mushafi-review .desktop-home .council-banner,.desktop-home .council-banner{margin-top:22px;min-height:200px;padding:24px;font-size:24px}.desktop-home>.home-return-wrap{display:none}
}
@media(min-width:1100px) and (max-height:700px){.desktop-home .desktop-home-sidebar{position:static;min-height:590px;max-height:none}}
@media(prefers-reduced-motion:reduce){.desktop-home .home-grid .tile{transition:none}}
