/* Section refinements are limited to large screens; mobile rules stay unchanged. */
@media(min-width:1100px){
 .app-shell:not(.desktop-home) .route-list>.route-card{min-width:0;min-height:104px;padding:24px;border-radius:20px}
 .app-shell .education-role-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px}
 .app-shell .education-role-grid .route-card{min-height:190px}
 .teaching-trial .teaching-trial-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
 .teaching-trial :is(.teaching-trial-form,.teaching-trial-detail){padding:28px}
 .teaching-trial .edu-report-filters{grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end}
 .teaching-trial .edu-report-filters>button{grid-column:auto;min-height:48px}
 .teaching-trial .edu-metrics{gap:18px}.teaching-trial .edu-metrics>div{padding:24px 16px}
 .teaching-trial :is(.edu-card,.edu-person-card){padding:24px}
 .school-table-wrap{border-radius:14px}.school-table-wrap :is(th,td){padding:14px 18px}
 .tajweed-learning .tajweed-lessons{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
 .tajweed-learning .tajweed-lessons .tajweed-tile{height:180px;min-height:180px}
 .tajweed-learning .tajweed-panel{max-width:820px;margin-inline:auto;padding:30px}
 .app-shell .family-live{gap:24px}
 .family-live .family-home-hero{gap:24px}
 .family-live .family-child-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;overflow:visible}
 .family-live .family-child-rail>.family-child-tile{width:auto;min-width:0;min-height:180px}
 .family-live .family-dash-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
 .family-live .family-dash-stat{padding:24px 16px}
 .account-live{max-width:680px;margin-inline:auto;width:100%}
 .app-shell .store-live{max-width:none;width:100%;padding:8px 0 36px}
 .store-live .store-reward-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
 .store-live .store-admin-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
 .store-admin .store-admin-tabs>button{min-height:92px;padding:16px}
 .store-admin .admin-presence-page .admin-presence-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
 .store-admin :is(input,select,textarea){max-width:100%}
 .store-admin .billing-panel{max-width:940px;margin-inline:auto}
}

.desktop-welcome-link{display:none}
@media(min-width:900px) and (any-hover:hover) and (any-pointer:fine){
 .desktop-welcome-link{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;padding:5px 14px;border:1px solid var(--night-border-ccd8c8,#ccd8c8);border-radius:12px;font-size:14px;background:var(--night-bg-fffdf7,#fffdf7);color:var(--night-fg-245b45,#245b45)}
}

/* Desktop catalog flows with its content rather than shrinking cards into a fixed viewport. */
@media(min-width:1100px){
 .app-shell.store-fixed-screen,.mushafi-review .app-shell.store-fixed-screen{height:auto;min-height:100dvh;max-height:none;overflow:visible}
 .app-shell.store-fixed-screen>.content{flex:none;min-height:auto;overflow:visible}
 .app-shell.store-fixed-screen .store-live.store-screen{height:auto;min-height:auto;overflow:visible;flex:none;padding:8px 0 36px}
 .app-shell.store-fixed-screen .store-showcase{flex:none;min-height:0;overflow:visible;padding:24px;gap:20px}
 .app-shell.store-fixed-screen .store-showcase .store-reward-grid{flex:none;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:minmax(270px,auto);gap:20px;min-height:auto}
 .app-shell.store-fixed-screen .store-preview{min-height:270px}
 .app-shell.store-fixed-screen .store-reward-link{height:100%;min-height:270px;grid-template-rows:190px auto;padding:14px;gap:12px}
 .app-shell.store-fixed-screen .store-preview-media{height:190px;min-height:190px}
 .app-shell.store-fixed-screen .store-preview .store-reward-image{height:180px;max-height:180px}
 .app-shell.store-fixed-screen .store-preview-caption h3{font-size:18px;line-height:1.7}
 .app-shell.store-fixed-screen .store-product-layout{flex:none;min-height:540px}
 .app-shell.store-fixed-screen .store-product-hero{min-height:250px;flex:none}
 dialog.store-fixed-dialog{overflow:auto!important}
 dialog.store-fixed-dialog .mushafi-review{height:auto;overflow:visible}
}
