body.root-directory #root-title{margin:0 0 10px;color:#eee;font:500 30px/1.4 'Segoe UI',Arial,sans-serif}
body.root-directory #root-title[hidden]{display:none!important}
body.root-directory .map-page-navigation{display:flex;justify-content:flex-start;margin:4px 0 12px}
body.root-directory .map-page-navigation>.reading-back{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:5px 10px;color:#ccc;background:transparent;border:1px solid #555;border-radius:9px;text-decoration:none;font:14px/1.4 'Segoe UI',Arial,sans-serif}
body.root-directory .map-page-navigation>.reading-back svg{width:18px;height:18px}
body.root-directory .map-page-navigation>.reading-back:hover{color:#f8941c;border-color:#f8941c}
body.root-directory .root-back-row>#counts{grid-column:3;justify-self:end;margin:0;text-align:right}
body.root-directory #counts{margin:0 0 24px;color:#aaa;font:14px/1.6 'Segoe UI',Arial,sans-serif}
body.root-directory .root-head{gap:0;margin:0}
body.root-directory .word-usage-link{display:inline-flex;width:fit-content;text-decoration:none;margin:0 0 18px}
body.root-directory .reading-action-row>.word-usage-link{grid-column:2;justify-self:center;margin:0}
body.root-directory:not(.root-ui-ready) main{visibility:hidden}
:root:root body.root-directory:not(.root-ui-ready) :is(main,.site-header,.reading-actions-dock),
:root:root body.root-directory:not(.root-ui-ready) :is(main,.site-header,.reading-actions-dock) *{visibility:hidden!important}
:root:root body.quran-usage-page:not(.usage-ui-ready) :is(.site-header,.reading-actions-dock),
:root:root body.quran-usage-page:not(.usage-ui-ready) :is(.site-header,.reading-actions-dock) *{visibility:hidden!important}
body.root-directory .root-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;height:auto;min-height:36px;margin:0 0 10px}
body.root-directory .root-breadcrumb{margin:0;min-width:0;flex-wrap:nowrap;white-space:nowrap;overflow-x:auto;scrollbar-width:none;justify-content:flex-start;font-size:18px}
body.root-directory .root-breadcrumb>*{flex-shrink:0}
body.root-directory .root-toolbar-reading{justify-self:end;margin:0;padding-block:2px;text-align:right;color:#fff;font:500 14px/1.3 Arial,sans-serif;letter-spacing:.02em;min-width:0;max-width:100%;overflow-wrap:anywhere}
body.root-directory .root-toolbar-reading[hidden]{display:none}
body.root-directory .root-breadcrumb [aria-current]{font-family:MushafFont,'Segoe UI',serif;font-size:24px}
@media(max-width:600px){body.root-directory .root-toolbar-reading{font-size:12px}}
body.root-directory .root-breadcrumb [aria-current]{color:var(--site-blue,#79b8ff)}
@media(max-width:600px){body.root-directory .root-breadcrumb{font-size:14px;gap:5px}}
:root:root body.root-directory #root-search{display:flex;gap:8px;padding:6px;margin:0 0 26px;border:.5px solid #555;border-radius:14px;background:#202020}
:root:root body.root-directory #root-search:focus-within{border-color:#f8941c}
:root:root body.root-directory #root-search input{border:0;background:transparent;padding:10px 12px;font:16px/1.5 'Segoe UI',sans-serif;outline:none}
:root:root body.root-directory #root-search button,:root:root body.root-directory #more{border:.5px solid #555;border-radius:9px;padding:10px 20px;background:#292929;color:#ddd;font:14px/1.5 'Segoe UI',sans-serif;cursor:pointer}
:root:root body.root-directory #root-search button:hover,:root:root body.root-directory #more:hover{border-color:#f8941c;color:#f8941c}
body.root-directory #root-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
:root:root body.root-directory :is(.root-item,.occurrence){min-width:0;border:.5px solid #474747;border-radius:14px;background:linear-gradient(145deg,#252525,#1e1e1e);padding:20px;transition:border-color .18s,background .18s}
:root:root body.root-directory .root-item:hover{border-color:#f8941c;background:#292929}
body.root-directory .root-item{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
body.root-directory .root-item strong{font:36px/1.5 Georgia,'Times New Roman',serif;color:#f8941c;direction:rtl}
body.root-directory .root-item span{float:none;color:#aaa;font:13px/1.6 'Segoe UI',sans-serif}
body.root-directory #root-results:has(.occurrence){grid-template-columns:repeat(3,minmax(0,1fr))}
body.root-directory .occurrence{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;font:inherit;cursor:pointer;overflow-wrap:anywhere}
:root:root body.root-directory .occurrence:hover{border-color:#f8941c}
/* Word-usage pages share the root occurrence card standard. */
body.quran-usage-page #usage-occurrences{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
body.quran-usage-page .occurrence{min-width:0;border:.5px solid #474747;border-radius:14px;background:linear-gradient(145deg,#252525,#1e1e1e);padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;font:inherit;overflow-wrap:anywhere}
body.quran-usage-page .occurrence:hover{border-color:#f8941c}
body.quran-usage-page .occurrence>a{color:#f8941c;text-decoration:none;font:600 15px/1.5 'Segoe UI',sans-serif;border:0;border-radius:0;background:none;padding:0}
body.quran-usage-page .occurrence>a:hover{text-decoration:underline;text-underline-offset:3px}
.usage-occurrence-open{display:flex;flex-direction:column;align-items:center;gap:12px;border:0;background:transparent;color:inherit;padding:0;width:100%;font:inherit;cursor:pointer;overflow-wrap:anywhere}
@media(max-width:760px){body.quran-usage-page #usage-occurrences{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){body.quran-usage-page .occurrence{padding:12px 7px;gap:8px}.usage-occurrence-open{gap:8px}}
.occurrence-label{color:#ddd;font:600 15px/1.5 'Segoe UI',sans-serif}
.occurrence-position{display:block;margin-top:3px;color:#929292;font:400 12px/1.5 'Segoe UI',sans-serif}
body.root-directory .occurrence:has(.occurrence-heading){cursor:default}
.root-form-reading{display:block;color:#ddd;font:13px/1.6 'Segoe UI',sans-serif;overflow-wrap:anywhere;text-align:center}
body.root-directory :is(.root-occurrences-heading,#root-results){scroll-margin-top:90px}
.occurrence-word{color:var(--site-accent,#f8941c);font-size:28px;line-height:1.7}.occurrence-reading{font:14px/1.6 'Segoe UI',sans-serif;color:#aaa}.occurrence-meaning{font:15px/1.7 'Segoe UI',sans-serif;color:#ccc}
.root-verse-dialog{box-sizing:border-box;width:min(740px,calc(100vw - 28px));max-height:85dvh;overflow:auto;padding:24px;border:.5px solid #686868;border-radius:18px;background:#252525;color:#eee;box-shadow:0 20px 70px #0009}
.root-verse-dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}
.root-verse-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.root-verse-dialog h2{margin:0;color:#f8941c;font:500 18px/1.5 'Segoe UI',sans-serif}
.root-verse-dialog button{background:none;border:0;color:#ccc;font-size:28px;min-width:44px;min-height:44px;cursor:pointer}
.root-popup-content{text-align:center;line-height:1.8;overflow-wrap:anywhere;min-height:60px}.popup-translation{font-size:20px}.popup-original{font-size:30px;color:#f8941c}.popup-transliteration{font-size:16px;color:#bbb}
/* The popup itself is the reading card; there is no second card inside it. */
/* Card action styles must not change a modal into a document-positioned card. */
:root:root body .root-verse-dialog{position:fixed;padding:32px 22px 20px;border:1px solid #686868;border-radius:8px;overflow:visible}
:root:root body .root-verse-dialog header{justify-content:center;margin:0}
:root:root body .root-verse-dialog h2{position:absolute;left:50%;top:0;transform:translate(-50%,-25%);white-space:nowrap;color:#b8b8b8;font:14px monospace;letter-spacing:.2px;text-align:center;border:1px solid rgba(248,148,28,.3);border-radius:4px;background:#242424;padding:3px 8px}
:root:root body .root-verse-dialog header>button{position:absolute;inset-inline-end:4px;top:2px}
:root:root body .root-verse-dialog>.verse-actions-toggle{position:absolute;left:7px;right:auto;top:2px;min-width:38px;min-height:30px;padding:8px;color:#aaa;font:16px/1 Arial,sans-serif;letter-spacing:2px;border-radius:12px;z-index:3}
:root:root body .root-verse-dialog h2 a{color:inherit;padding:0;border:0;border-radius:0;background:none;text-decoration:none}
:root:root body .root-popup-content>p{display:block;text-align:center;margin:0;white-space:pre-line}
:root:root body .root-popup-content{max-height:calc(85dvh - 54px);overflow:auto}
:root:root body .root-popup-content .popup-translation{color:var(--nuuur-meaning-color,#f1f1f1);font:var(--nuuur-meaning-size,20px)/1.9 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.01em;padding:5px 48px}
:root:root body .root-popup-content .popup-original{color:var(--nuuur-arabic-color,#f8941c);font:var(--nuuur-arabic-size,30px)/1.65 MushafFont,'MushafFont Fallback','Noto Sans Hebrew','SBL Hebrew','Ezra SIL',serif;margin:0;padding:5px 22px}
:root:root body .root-popup-content .popup-transliteration{color:var(--nuuur-latin-color,#c7c7c7);font:var(--nuuur-latin-size,16px)/1.5 Georgia,serif;margin:0;padding:5px 24px}
@media(max-width:600px){:root:root body .root-verse-dialog{padding:32px 12px 20px}:root:root body .root-popup-content .popup-translation{padding:5px 8px}:root:root body .root-popup-content .popup-original{padding:5px 7px}:root:root body .root-popup-content .popup-transliteration{padding:5px 7px}}
.root-popup-detail{display:block;text-align:center;color:#bbb;font:14px 'Segoe UI',sans-serif;text-decoration:none;padding:12px}.root-popup-detail:hover{color:#f8941c}
.root-popup-content .root-word-highlight{color:#fff;background:#f8941c30;border-radius:5px;box-shadow:0 1px 0 #f8941c;padding:2px 0;box-decoration-break:clone;-webkit-box-decoration-break:clone}
@media(max-width:480px){:root:root body.root-directory .occurrence{padding:12px 7px;gap:8px}.occurrence-label,.occurrence-reading,.occurrence-meaning{font-size:12px}.occurrence-word{font-size:23px}.root-verse-dialog{padding:16px}.popup-translation{font-size:18px}.popup-original{font-size:24px}}
body.root-directory .occurrence a{color:#ddd;font:600 15px/1.5 'Segoe UI',sans-serif;text-decoration:none}
body.root-directory .occurrence p{font-size:30px;line-height:1.9;color:var(--site-accent,#f8941c);margin:16px 0}
body.root-directory .occurrence div{color:#bbb;line-height:1.8;overflow-wrap:anywhere}
body.root-directory #definition:not(:empty){border-left:2px solid #f8941c;padding:12px 18px;background:#222;border-radius:0 10px 10px 0;color:#ddd;line-height:1.8}
body.root-directory #meanings{margin:22px 0;line-height:1.9;color:#bbb;scrollbar-color:#555 #222}
body.root-directory #meanings:empty{display:none}
body.root-directory #meanings h2{color:#ddd;font:500 18px 'Segoe UI',sans-serif}
body.root-directory #more{display:block;margin:24px auto 0}
body.root-directory #more[hidden]{display:none}
body.root-directory main :is(a,button):focus-visible{outline:1px solid #f8941c;outline-offset:4px}
@media(max-width:600px){body.root-directory #root-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}:root:root body.root-directory :is(.root-item,.occurrence){padding:16px 12px}body.root-directory #root-title{font-size:26px}body.root-directory .root-item strong{font-size:32px}body.root-directory .root-item span{font-size:12px}}
/* Keep long roots and readings within their own grid cell. */
body.root-directory main{min-width:0}
body.root-directory :is(#definition,#meanings,#semitic-comparison,#root-basic-meaning){clear:both;max-width:100%;overflow-wrap:anywhere;line-height:1.85;margin-block:20px}
body.root-directory :is(.root-item,.occurrence)>*{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}
body.root-directory .root-item strong[dir="ltr"]{direction:ltr}
body.root-directory .root-item small{font:14px/1.6 'Segoe UI',sans-serif;color:#bbb}
:root:root body.root-directory #root-search{position:relative;align-items:center;isolation:isolate;z-index:6}
:root:root body.root-directory #root-search input{width:0;flex:1;min-width:0;padding-inline:8px}
:root:root body.root-directory #root-search .root-search-submit{flex:none;padding:0 12px;height:44px;border:2px solid var(--site-accent,#f8941c);border-radius:12px;background:linear-gradient(115deg,transparent 22%,#ffffff09 43%,transparent 76%),linear-gradient(180deg,#3b3b3b,#282828 53%,#303030);box-shadow:inset 0 1px 0 #ffffff24;color:#aaa}
.root-search-submit>span{display:flex;align-items:center;justify-content:center;font:16px/1.2 'Segoe UI',sans-serif;white-space:nowrap}
.root-search-submit img{display:block;width:56px;height:28px;object-fit:contain}
#root-keyboard button:has(small){height:auto;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 3px}
#root-keyboard button small{font:10px/1.3 'Segoe UI',sans-serif;max-width:100%;overflow-wrap:anywhere;color:#aaa}
#root-keyboard[lang="el"]{grid-template-columns:repeat(6,minmax(0,1fr))}
:root:root body.root-directory #root-search .root-keyboard-toggle{display:flex;align-items:center;gap:5px;direction:ltr;flex:none;width:auto;height:44px;padding:7px 4px;border:0;background:transparent;color:#aaa}
.root-keyboard-language{font:11px/1.3 'Segoe UI',Arial,sans-serif;white-space:nowrap}
.root-keyboard-toggle svg{display:block;width:24px;height:24px}
:root:root body.root-directory #root-keyboard{position:absolute;inset-inline-end:0;top:calc(100% + 8px);width:min(350px,100%);display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:10px;border:.5px solid #626262;border-radius:14px;background:#202020;box-shadow:0 12px 30px #0008}
:root:root body.root-directory #root-keyboard[hidden]{display:none}
:root:root body.root-directory #root-suggestions{position:absolute;inset-inline-start:0;top:calc(100% + 8px);width:min(420px,100%);max-height:320px;overflow:auto;padding:6px;box-sizing:border-box;border:.5px solid #626262;border-radius:12px;background:#202020;box-shadow:0 12px 30px #0008;z-index:2}
:root:root body.root-directory #root-suggestions[hidden]{display:none}
:root:root body.root-directory #root-keyboard:not([hidden])~#root-suggestions{top:calc(100% + var(--root-keyboard-height,360px) + 16px)}
:root:root body.root-directory #root-suggestions button{display:flex;align-items:center;gap:14px;width:100%;padding:9px 12px;border:0;background:transparent;text-align:start}
:root:root body.root-directory #root-suggestions button:is(:hover,[aria-selected="true"]){background:#ffffff0c;color:#f8941c}
#root-suggestions strong{flex:none;font-size:25px;color:#f8941c}#root-suggestions small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#bbb;font-size:13px}
:root:root body.root-directory .root-search-launch{width:100%;min-height:58px;margin-bottom:26px;padding:16px;text-align:start;border:.5px solid #555;border-radius:14px;background:#202020;color:#aaa;font:16px/1.5 'Segoe UI',sans-serif}
:root:root body.root-directory .root-search-dialog #root-search{flex-wrap:wrap;gap:8px;padding:12px;margin:0;border-radius:22px;background:linear-gradient(140deg,#2b2b2b,#1d1d1d)}
:root:root body.root-directory .root-search-dialog #root-search input{font-size:21px;min-height:48px}
:root:root body.root-directory .root-search-dialog #root-suggestions{position:static;width:100%;max-height:260px;flex:0 0 100%;box-shadow:none;margin-top:6px}
:root:root body.root-directory .root-search-dialog #root-keyboard{position:static;width:100%;box-sizing:border-box;flex:0 0 100%;margin-top:8px;box-shadow:none;grid-template-columns:repeat(10,minmax(0,1fr))}
:root:root body.root-directory .root-search-dialog #root-keyboard[lang="el"]{grid-template-columns:repeat(9,minmax(0,1fr))}
:root:root body.root-directory .root-search-dialog #root-keyboard button{min-height:50px}
@media(max-width:600px){:root:root body.root-directory .root-search-dialog #root-search{padding:8px}:root:root body.root-directory .root-search-dialog #root-search input{font-size:16px}:root:root body.root-directory .root-search-dialog #root-keyboard{grid-template-columns:repeat(7,minmax(0,1fr));padding:7px}:root:root body.root-directory .root-search-dialog #root-keyboard[lang="el"]{grid-template-columns:repeat(6,minmax(0,1fr))}:root:root body.root-directory .root-search-dialog #root-suggestions{max-height:180px}}
:root:root body.root-directory #root-keyboard button{padding:4px;min-width:0;min-height:36px;border-radius:6px;font:22px/1.4 'Segoe UI',Arial,sans-serif}
:root:root body.root-directory #root-keyboard .root-keyboard-enter{grid-column:span 2;border-color:#f8941c;color:#f8941c;font-size:28px;background:#f8941c12}
@media(max-width:600px){body.root-directory #root-results:has(.occurrence){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){body.root-directory #root-results,body.root-directory #root-results:has(.occurrence){grid-template-columns:minmax(0,1fr)}:root:root body.root-directory #root-search{gap:3px}:root:root body.root-directory #root-search .root-search-submit{padding-inline:8px}}
body.root-directory :is(#root-family,#root-lexicon){margin:26px 0;min-width:0;overflow-wrap:anywhere}
body.root-directory :is(#definition,#root-family) h2,.root-occurrences-heading{margin:0 0 16px;font:500 19px/1.5 'Segoe UI',sans-serif;color:#ddd}
body.root-directory #definition p{margin:0}
body.root-directory #definition.root-meaning-card{display:flex;flex-wrap:wrap;justify-content:center;gap:24px;align-items:center;direction:ltr}
body.root-directory .root-identity{text-align:center;min-width:0;max-width:100%;flex:0 1 auto}
body.root-directory #root-title{white-space:nowrap;word-break:normal;overflow-wrap:normal;overflow-x:auto;font-weight:400;max-width:100%}
body.root-directory .root-identity #root-title{margin:0;text-align:center;color:var(--site-accent,#f8941c);font-size:44px;line-height:1.6;font-weight:400}
body.root-directory .root-identity #counts{margin:8px 0 0;text-align:center;font-size:13px;line-height:1.7}
body.root-directory .root-meaning-text{min-width:0;flex:1 1 280px;overflow-wrap:anywhere}
body.root-directory .root-meaning-text p+p{margin-top:12px!important}
@media(max-width:600px){body.root-directory #definition.root-meaning-card{gap:14px}body.root-directory .root-identity #root-title{font-size:34px}body.root-directory .root-identity #counts{font-size:12px}}
.root-family-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.root-form{min-width:0;padding:18px;border:.5px solid #4c4c4c;border-radius:14px;background:#202020;text-align:center;overflow-wrap:anywhere}
.root-form-title{display:block;font:30px/1.8 'Segoe UI',Arial,serif;color:var(--site-accent,#f8941c);text-decoration:none}
.root-form-title:hover{color:#eee}
.root-form p{margin:8px 0;font:15px/1.8 'Segoe UI',sans-serif}
.root-form .root-form-meta{font-size:12px;color:#aaa}
.root-form details{margin-top:12px;border-top:.5px solid #444;padding-top:12px;text-align:start}
.root-form summary{cursor:pointer;color:#aaa;font:13px/1.7 'Segoe UI',sans-serif}
#root-lexicon{padding:16px 18px;border:.5px solid #555;border-radius:14px;background:#202020}
#root-lexicon>summary{font:500 16px/1.6 'Segoe UI',sans-serif;color:#ccc;cursor:pointer}
.lexicon-entry{padding:14px 0;border-bottom:.5px solid #444}
.lexicon-entry:last-child{border-bottom:0}.lexicon-entry summary{cursor:pointer;font:24px/1.7 'Segoe UI',serif;color:var(--site-accent,#f8941c)}
.lexicon-entry p{font:16px/1.85 Georgia,serif;color:#ccc;overflow-wrap:anywhere;white-space:pre-wrap}
body.root-directory .root-item-meaning{margin:0;font:14px/1.75 'Segoe UI',sans-serif;color:#ccc}
/* All map tiles reserve the same reading / dictionary / count slots. */
body.root-directory :is(#root-results,#usage-directory)>.root-item{gap:10px;text-decoration:none}
body.root-directory .root-item .map-card-reading{min-height:1.6em}
body.root-directory .root-item .map-card-meaning{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:3.5em;line-height:1.75}
body.root-directory .root-item .map-card-counts{margin-top:auto}
body.root-directory .map-field-empty{color:#777!important}
body.root-directory .root-identity .map-card-reading{display:block;font:14px/1.6 'Segoe UI',sans-serif;color:#bbb;margin:8px 0}
body.root-directory .occurrence-reading,body.root-directory .occurrence-meaning{min-height:1.6em}
body.root-directory .root-form{display:flex;flex-direction:column;align-items:stretch}
body.root-directory .root-form .map-card-meaning{color:#ccc;order:2}
body.root-directory .root-form .root-form-meta{order:3}
body.root-directory .root-form details{order:4}
body.root-directory .usage-heading{border:.5px solid #505050;border-radius:16px;background:#202020b8;padding:20px 24px;margin:20px 0}
@media(max-width:760px){.root-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.root-family-grid{grid-template-columns:minmax(0,1fr)}}
/* Root detail uses the same restrained cards as the reading screens. */
body.root-directory:has(#root-family) #root-title{margin:0;text-align:center;color:var(--site-accent,#f8941c);font-size:44px;line-height:1.6}
body.root-directory:has(#root-family) #counts{text-align:center;margin-bottom:20px}
body.root-directory #definition:empty{display:none}
body.root-directory #definition:not(:empty){border:.5px solid #505050;border-radius:16px;padding:20px 24px;background:#202020b8;margin:20px 0}
body.root-directory #definition h2{font-size:17px;color:#bbb;margin-bottom:10px}
body.root-directory #definition p{font-size:18px;line-height:1.9}
body.root-directory #semitic-comparison{border:.5px solid #505050;border-radius:14px;padding:16px 20px;background:#202020b8}
#semitic-comparison>summary{font:500 16px/1.6 'Segoe UI',sans-serif;color:#ccc;cursor:pointer}
#semitic-comparison p{font:16px/1.85 'Segoe UI',sans-serif;color:#bbb;margin:14px 0 0}
.root-section-count{display:inline-block;margin-inline-start:10px;color:#999;font:13px/1.5 'Segoe UI',sans-serif}
body.root-directory .root-family-grid{align-items:stretch}
body.root-directory .root-form[hidden]{display:none!important}
.root-family-categories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.root-family-categories button,.root-form-usages,.root-occurrences-heading button{border:.5px solid #555;border-radius:18px;background:transparent;color:#bbb;padding:7px 13px;font:13px/1.5 'Segoe UI',sans-serif;cursor:pointer}
.root-family-categories button[aria-pressed="true"],.root-form-usages:hover,.root-occurrences-heading button:hover{border-color:var(--site-accent,#f8941c);color:var(--site-accent,#f8941c)}
body.root-directory button.root-form-title{border:0;background:transparent;padding:0;width:100%;cursor:pointer}
body.root-directory button.root-form-title[aria-pressed="true"]{color:#eee}
.root-form-usages{order:10;margin-top:auto}
.root-occurrences-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;scroll-margin-top:90px}
.root-occurrences-heading button{flex-shrink:0}
.root-occurrences-heading button[hidden]{display:none}
body.root-directory .root-form{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border:.5px solid #494949;border-radius:16px;background:linear-gradient(145deg,#252525,#1e1e1e);box-shadow:0 8px 24px #0002}
body.root-directory .root-form-title{font-family:MushafFont,'Segoe UI',Arial,serif;line-height:1.8}
body.root-directory .root-form p{margin:0}
body.root-directory .root-form details{margin-top:auto;padding-top:10px}
body.root-directory .root-form details[open] p{margin-top:8px;padding-bottom:6px;border-bottom:.5px solid #ffffff0b}
body.root-directory .root-form details p:last-child{border:0}
body.root-directory .root-occurrences-heading{padding-top:20px;border-top:.5px solid #4a4a4a;margin:28px 0 16px}
@media(max-width:600px){body.root-directory #definition:not(:empty){padding:16px}body.root-directory #definition p{font-size:16px}body.root-directory .root-form{padding:14px}body.root-directory:has(#root-family) #root-title{font-size:38px}}
