/* Shared geometry, search, keyboard and cards come from root-directory.css. */
body.quran-usage-page:not(.usage-ui-ready) main,
body.quran-usage-page:not(.usage-ui-ready) main *{visibility:hidden!important}
.quran-usage-page main{min-width:0;text-align:start}
.quran-usage-page [hidden]{display:none!important}
.usage-hero{gap:0;margin:0}
.usage-hero .passage-breadcrumb{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;justify-content:flex-start}
.quran-usage-page .usage-hero h1{font:inherit;margin:0;white-space:nowrap}
.usage-hero h1 a{color:var(--site-blue,#79b8ff);text-decoration:none}
.usage-hero h1 a:hover{color:#a4cfff}
#usage-current{font:24px/1.5 MushafFont,Georgia,serif;color:var(--site-blue,#79b8ff);white-space:nowrap}
.usage-root-link{display:inline-flex;text-decoration:none}
#usage-status{grid-column:3;justify-self:end;text-align:end;font:14px/1.6 'Segoe UI',sans-serif;color:#aaa;margin:0}
.usage-tools{margin:0;padding:0;border:0;background:none}
/* The deferred catalog must not push an already displayed selected word. */
#usage-status{min-height:22.4px}
#usage-categories{min-height:34px}
@media(max-width:600px){#usage-categories{min-height:71px}}
#root-search label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.quran-usage-page #root-search input{color:#eee;box-shadow:none;border-radius:0}
.usage-categories{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 24px;padding:0;border:0;background:none}
:is(.usage-categories,.usage-form-switch) button{background:#242424;color:#bbb;border:.5px solid #494949;border-radius:9px;padding:7px 12px;cursor:pointer;font:12px/1.5 'Segoe UI',sans-serif}
:is(.usage-categories,.usage-form-switch) button:hover{border-color:#f8941c;color:#f8941c}
:is(.usage-categories,.usage-form-switch) button[aria-pressed=true]{border-color:#f8941c;color:#f8941c;background:#f8941c0a}
.usage-form-switch{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px}
.usage-form-surface{color:#f8941c;font-size:18px;padding-inline:6px}
.usage-related-details>summary{width:fit-content;max-width:100%;cursor:pointer;color:#8fc4ff;font-size:14px}
.usage-related-details .usage-related{margin:10px 0}
.usage-related-details .usage-related[hidden]{display:none}
.usage-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.usage-card{text-decoration:none;color:inherit;min-width:0}
.usage-card .root-item-meaning{margin:0;color:#ccc;font:14px/1.7 'Segoe UI',sans-serif}
.usage-card>*{max-width:100%;overflow-wrap:anywhere}
.usage-heading{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,3fr);gap:12px 24px;padding:22px 24px;margin-bottom:26px;border-inline-start:2px solid #f8941c;border-radius:0 10px 10px 0;background:#222;overflow-wrap:anywhere}
.usage-heading h2{grid-column:1;grid-row:1;font:44px/1.6 MushafFont,Georgia,serif;color:#f8941c;text-align:center;margin:0}
.usage-heading-info{grid-column:1;grid-row:2;display:grid;gap:8px;text-align:center;align-self:start;font:13px/1.7 'Segoe UI',sans-serif;color:#aaa}
.usage-heading-info p{margin:0}
.usage-heading-info .usage-reading{color:#fff;font-size:14px}
.usage-badge{color:#bbb;font-size:12px}
.usage-definition,.usage-explanation{grid-column:2;margin:0;line-height:1.85;font-size:16px;color:#ccc;align-self:center;grid-row:1/3}
.usage-definition+.usage-explanation{grid-row:3;grid-column:1/-1;border-top:.5px solid #444;padding-top:16px}
#usage-detail>h3{font:500 19px/1.5 'Segoe UI',sans-serif;color:#ddd;margin:26px 0 16px}
.usage-occurrences{scroll-margin-top:90px}
:root:root body.quran-usage-page .occurrence>a{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;padding:0;border:0;border-radius:0;background:none;color:#ddd;font:500 13px/1.5 'Segoe UI',sans-serif;text-decoration:none}
:root:root body.quran-usage-page .occurrence>a:hover{text-decoration:underline;text-underline-offset:3px}
.usage-more{display:block;margin:24px auto 0;border:.5px solid #555;border-radius:9px;padding:10px 20px;background:#292929;color:#ddd;font:14px/1.5 'Segoe UI',sans-serif;cursor:pointer}
.usage-related{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
:root:root body.quran-usage-page .usage-related>a.reading-back{min-width:0;max-width:100%;box-sizing:border-box;flex-shrink:1;white-space:normal;overflow-wrap:anywhere;text-decoration:none}
.usage-more:hover{border-color:#f8941c;color:#f8941c}
.usage-popup-reference{display:inline-flex;padding:5px 10px;border:.5px solid #555;border-radius:9px;color:inherit;text-decoration:none}
.usage-popup-reference:hover{border-color:#f8941c}
.quran-usage-page .root-popup-detail{width:fit-content;margin:16px auto 0;border:.5px solid #555;border-radius:9px;background:#292929}
.quran-usage-page :is(a,button):focus-visible{outline:1px solid #f8941c;outline-offset:4px}
@media(max-width:600px){
 .quran-usage-page .usage-hero h1{font:inherit}
 .usage-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .usage-heading{grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:10px 14px;padding:16px}
 .usage-heading h2{font-size:34px}
 .usage-heading-info{font-size:12px}
 .usage-definition,.usage-explanation{font-size:14px}
 .usage-categories button{padding:6px 9px}
}
@media(max-width:360px){.usage-directory{grid-template-columns:minmax(0,1fr)}}
