:root{--surface:#fcf6e8;--radius:20px;--space:1rem;--content-width:1320px}
html{scroll-padding-block:100px}body{overflow-wrap:break-word}button,input,select,textarea{font:inherit}select,textarea{color:inherit}button,a,input,textarea,select{max-inline-size:100%}button:disabled{cursor:wait;opacity:.6}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #916c22;outline-offset:3px}
.skip-link{position:absolute;inset-block-start:-100px;inset-inline-start:16px;z-index:1000;background:var(--green);color:white;padding:12px}.skip-link:focus{inset-block-start:12px}
.app-shell{max-width:var(--content-width);margin-inline:auto}#main,#aside,.header-actions,.community-heading>div{min-width:0}.topbar{min-height:90px;height:auto;padding-block:14px;gap:16px;position:relative;z-index:30}.header-actions{flex-shrink:0}.language-picker select{min-height:44px;background:var(--surface);font-size:.875rem;padding-inline:8px;max-width:100px}.icon-button,.avatar{min-width:44px;min-height:44px}.brand small{font-size:.75rem}.primary,.secondary{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.6;text-align:center}.text-link{min-height:44px;align-items:center}.site-footer{gap:12px;padding:24px 20px;flex-wrap:wrap;max-width:var(--content-width);margin-inline:auto}.site-footer>span{min-width:0}.pmp-credit{flex-wrap:wrap;justify-content:center}.pmp-credit .copyright{font-size:.75rem}
.password-field{display:block;position:relative}.password-field input{padding-inline-end:56px!important}.password-toggle{position:absolute;inset-inline-end:3px;inset-block-end:3px;width:46px;height:46px;display:grid;place-items:center;border-radius:8px}.password-toggle:hover{background:#e3ead6}.password-toggle svg{width:23px;height:23px}.password-toggle[aria-pressed=true]{background:#e3ead6}
.home-primary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-block:18px}.home-tile,.home-prayer-tile{border:1px solid #bdcba8;background:var(--surface);border-radius:var(--radius);padding:20px 14px;text-align:center;min-width:0}.home-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;transition:background .15s,border-color .15s}.home-tile:hover{background:#e5edd7;border-color:var(--green)}.home-tile h2,.home-prayer-tile h2{font-size:1.2rem;line-height:1.65}.home-tile p{font-size:.875rem}.home-tile-art{display:flex;justify-content:center;align-items:center;min-height:84px}.home-tile-art .map-object{width:92px;height:92px}.home-tile-art .map-object+.map-object{width:62px;height:62px;margin-inline-start:-28px;align-self:flex-end}.home-secondary-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-block:16px 28px}.home-small-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-small-grid .home-tile{padding:10px 6px;border-radius:15px;gap:3px}.home-small-grid .home-tile:last-child{grid-column:1/-1}.home-small-grid .home-tile h2{font-size:.875rem}.home-small-grid .home-tile-art{min-height:50px}.home-small-grid .map-object{width:52px;height:52px}.home-prayer-tile{display:flex;flex-direction:column;justify-content:center;align-items:center;background:#e3ecd5}.home-prayer-tile>.home-tile-art .map-object{width:110px;height:110px}.home-prayer-tile .prayer-actions{flex-direction:column;width:100%;gap:8px;margin-block-start:18px}.home-prayer-tile .prayer-actions a{min-height:44px;border-radius:12px;font-size:.875rem}.community-home-title h1{font-size:2rem}.home-primary-grid .home-tile:first-child{background:#e6edd9}
.community-tools,.directory-breadcrumb,.directory-result-heading{min-width:0;flex-wrap:wrap}.community-tabs{max-width:100%;flex-wrap:wrap}.community-tabs button{min-height:44px;font-size:.875rem}.compact-listing-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.1em}.compact-listing-category{overflow-wrap:anywhere}.directory-category>span:not(.map-object){overflow-wrap:anywhere}.directory-gateway.selected{padding:18px 12px;border-width:1px;box-shadow:inset 0 0 0 1px var(--green)}.directory-gateway{min-width:0}.directory-search input{min-width:0}.image-fallback{object-fit:contain!important}.board-card,.listing-card,.review-card{overflow-wrap:anywhere;min-width:0}.board-card-by{flex-wrap:wrap}.board-card-by>span:empty{display:none}.board-card-by .member-avatar{flex-shrink:0}.user-content{unicode-bidi:plaintext}dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}dialog form input,dialog form select,dialog form textarea{min-width:0;width:100%}dialog .check-row input{width:auto}.prayer-home,.prayer-page,.qibla-page{direction:inherit!important}
html[dir=ltr] .text-link>svg,html[dir=ltr] .nav-arrow,html[dir=ltr] .menu-list>a>svg:last-child{transform:rotate(180deg)}.search input,.form-card label,.board-card,.review-card{text-align:start}.post-images img{aspect-ratio:4/3;object-fit:cover}.post-images a{min-width:0}.pmp-credit img{object-fit:contain}
@media(max-width:760px){.app-shell{padding-inline:16px}.topbar{padding-inline:16px;gap:8px}.header-actions{gap:4px}.brand{gap:6px}.brand>span{font-size:1.15rem}.brand small{display:none}.brand img{width:30px}.home-primary-grid,.home-secondary-grid{gap:10px}.home-tile{padding:16px 8px}.home-tile h2,.home-prayer-tile h2{font-size:1rem}.home-tile-art .map-object{width:72px;height:72px}.home-tile-art .map-object+.map-object{width:50px;height:50px}.home-prayer-tile{padding:14px 8px}.community-heading{gap:12px;flex-wrap:wrap}.community-heading h1{font-size:1.65rem}.page-title h1{font-size:1.65rem}.language-picker select{max-width:87px}.home-small-grid .home-tile h2{font-size:.875rem}.site-footer{padding-block-end:100px}.directory-gateway.selected{padding:14px 8px}}
@media(max-width:359px){.topbar{padding-inline:10px}.header-actions .icon-button{min-width:40px;width:40px}.brand>span{font-size:1rem}.brand img{width:26px}.home-secondary-grid{grid-template-columns:1fr}.home-small-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-small-grid .home-tile:last-child{grid-column:auto}.home-prayer-tile .prayer-actions{flex-direction:row}.directory-category-grid,.compact-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
