/* Scoped glossary extension of the existing editorial visual system. */
#cxpr-page[data-page=glossary]{background:#20201e;color:#ffffff;--cx-focus:#e4b9a9}
#cxpr-page[data-page=glossary] :is(a,button,summary,input):focus-visible{outline:3px solid #e4b9a9;outline-offset:5px}
#cxpr-page[data-page=glossary] :is(.gl-hero,.gl-browse,.gl-method,.gl-close){padding:clamp(48px,7vw,100px) 0}
#cxpr-page[data-page=glossary] .cx-eyebrow{color:#e4b9a9}
#cxpr-page[data-page=glossary] h1{font-size:clamp(2.5rem,1.5rem + 4vw,5.25rem);line-height:1.1;max-width:19ch;margin-bottom:30px}
#cxpr-page[data-page=glossary] h2{font-size:clamp(2rem,1.5rem + 2.2vw,3.5rem);line-height:1.15;max-width:23ch}
#cxpr-page[data-page=glossary] p{line-height:1.7;max-width:66ch}
#cxpr-page .gl-hero{background:#20201e}
#cxpr-page .gl-hero .gl-lead{font-size:clamp(1.125rem,1rem + .4vw,1.375rem);max-width:55ch;margin-bottom:22px;color:#ffffff}
#cxpr-page .gl-hero>div>p:not(.cx-eyebrow){color:#d7d0ca}
#cxpr-page .gl-intro{max-width:66ch;margin-top:22px;border-top:1px solid #ffffff38}
#cxpr-page .gl-intro summary{padding:15px 0;color:#e4b9a9;text-decoration:underline;text-underline-offset:5px}
#cxpr-page .gl-intro p{margin:0 0 18px}
#cxpr-page .gl-jump{display:inline-flex;align-items:center;gap:24px;min-height:48px;margin-top:24px;font-weight:700;border-bottom:1px solid #e4b9a9}
#cxpr-page .gl-facts{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:32px;font-size:.875rem}
#cxpr-page .gl-browse{background:#282826;border-block:1px solid #ffffff24}
#cxpr-page .gl-how{margin-top:22px;color:#d7d0ca}
#cxpr-page .gl-tools{margin-top:36px;padding:clamp(20px,3vw,36px);background:#32322f;border:1px solid #ffffff38;border-radius:8px}
#cxpr-page #gl-search-form label,#cxpr-page .gl-tools legend{font-size:.9375rem;font-weight:700;margin-bottom:10px;display:block}
#cxpr-page .gl-search-row{display:flex;gap:12px;align-items:stretch}
#cxpr-page #gl-search{width:100%;min-width:0;min-height:56px;font:inherit;border:2px solid #c5bbb3;border-radius:8px;padding:12px 16px;background:#ffffff;color:#20201e}
#cxpr-page #gl-search::placeholder{color:#625a55;opacity:1}
#cxpr-page .gl-tools button,#cxpr-page #gl-reset{border:1px solid #a59d96;background:transparent;color:#ffffff;min-height:44px;padding:10px 16px;font-size:.9375rem;line-height:1.45;border-radius:8px}
#cxpr-page .gl-tools button:hover,#cxpr-page #gl-reset:hover{background:#4b403b;border-color:#e4b9a9}
#cxpr-page .gl-tools button[aria-pressed=true]{background:#efd6cb;color:#20201e;border:2px solid #efd6cb;padding:9px 15px;font-weight:700}
#cxpr-page .gl-tools button[aria-pressed=true]::before{content:'✓ ';font-weight:700}
#cxpr-page #gl-clear{flex-shrink:0}
#cxpr-page #gl-search-help{font-size:.875rem;color:#d7d0ca;margin:10px 0 26px}
#cxpr-page .gl-tools fieldset{padding:0;border:0;margin:0;min-width:0}
#cxpr-page .gl-filters{display:flex;flex-wrap:wrap;gap:10px}
#cxpr-page .gl-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;border-top:1px solid #ffffff38;margin-top:26px;padding-top:22px}
#cxpr-page .gl-toolbar>div{display:flex;flex-wrap:wrap;gap:10px}
#cxpr-page #gl-count{font-size:.9375rem;color:#ffffff}
#cxpr-page .gl-group{margin-top:54px}
#cxpr-page .gl-group-heading{display:flex;gap:22px;align-items:baseline;margin-bottom:22px}
#cxpr-page .gl-group-heading h2{font-size:clamp(1.75rem,1.3rem + 1.5vw,2.5rem);max-width:none}
#cxpr-page .gl-index{color:#e4b9a9;font-size:.875rem;font-weight:700;flex-shrink:0}
#cxpr-page .gl-entry{background:#20201e;border:1px solid #ffffff38;border-radius:8px;margin-top:12px;scroll-margin-top:calc(var(--cx-nav-offset) + 24px)}
#cxpr-page .gl-entry:target{border-color:#e4b9a9}
#cxpr-page .gl-entry>summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 28px;list-style:none}
#cxpr-page .gl-entry>summary::-webkit-details-marker{display:none}
#cxpr-page .gl-entry>summary::marker{content:''}
#cxpr-page .gl-entry>summary:hover{background:#34302d;border-radius:8px}
#cxpr-page .gl-entry h3{font-size:clamp(1.375rem,1.1rem + .8vw,1.75rem);letter-spacing:-.025em;line-height:1.3;margin-bottom:8px}
#cxpr-page .gl-headline{display:block;font-size:1rem;line-height:1.55;color:#d7d0ca}
#cxpr-page .gl-icon{flex:0 0 28px;position:relative;height:28px;border:1px solid #a59d96;border-radius:50%}
#cxpr-page .gl-icon::before,#cxpr-page .gl-icon::after{content:'';position:absolute;background:#e4b9a9;top:12px;left:7px;width:12px;height:2px}
#cxpr-page .gl-icon::after{transform:rotate(90deg)}
#cxpr-page .gl-entry[open]>summary .gl-icon::after{display:none}
#cxpr-page .gl-entry[open]>summary{border-bottom:1px solid #ffffff38}
#cxpr-page .gl-body{padding:28px;max-width:840px}
#cxpr-page .gl-body h4{font-size:.9375rem;font-weight:700;margin:24px 0 8px;color:#e4b9a9}
#cxpr-page .gl-body h4:first-child{margin-top:0}
#cxpr-page .gl-body p{font-size:1rem;line-height:1.75;color:#ede7e2;max-width:66ch}
#cxpr-page .gl-example{padding:22px 24px;border-left:3px solid #e4b9a9;background:#34312e;margin:26px 0}
#cxpr-page .gl-body .gl-badge{display:inline-block;font-size:.8125rem;color:#20201e;background:#efd6cb;border-radius:4px;padding:6px 10px;margin:0 0 22px}
#cxpr-page .gl-sources{border-block:1px solid #ffffff38;padding:0;margin-top:24px}
#cxpr-page .gl-sources>summary{padding:14px 0;font-size:.9375rem;color:#e4b9a9}
#cxpr-page .gl-sources ul{padding-left:22px;margin:10px 0 16px}
#cxpr-page .gl-sources li+li{margin-top:12px}
#cxpr-page .gl-sources a,#cxpr-page .gl-method a{color:#f0c6b5;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;line-height:1.8}
#cxpr-page .gl-sources p{font-size:.875rem;margin-bottom:18px;color:#d7d0ca}
#cxpr-page .gl-permalink,#cxpr-page .gl-back{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:18px;color:#f0c6b5;font-size:.9375rem;text-decoration:underline;text-underline-offset:5px}
#cxpr-page .gl-back{margin-top:36px}
#cxpr-page .gl-method{background:#20201e}
#cxpr-page .gl-method h2{margin-bottom:26px}
#cxpr-page .gl-method>div>p{color:#d7d0ca;margin-bottom:32px}
#cxpr-page .gl-method details{border-top:1px solid #ffffff38;max-width:840px}
#cxpr-page .gl-method details:last-child{border-bottom:1px solid #ffffff38}
#cxpr-page .gl-method summary{padding:22px 0;min-height:44px;line-height:1.5;color:#ffffff;font-size:1.0625rem}
#cxpr-page .gl-method details p{margin-bottom:20px}
#cxpr-page .gl-method dl{margin:0 0 26px;max-width:66ch}
#cxpr-page .gl-method dt{color:#e4b9a9;font-weight:700;margin-top:22px}
#cxpr-page .gl-method dd{margin:8px 0 0;color:#d7d0ca}
#cxpr-page .gl-close{border-top:1px solid #ffffff38;background:#31282a}
#cxpr-page .gl-close h2{max-width:25ch;margin-bottom:30px}
#cxpr-page .gl-close p+p{margin-top:20px}
#cxpr-page .gl-close .cx-action{margin-top:30px;border-radius:8px}
#cxpr-page .gl-related{display:flex;flex-wrap:wrap;gap:14px 30px;margin-top:24px}
#cxpr-page .gl-related a{display:inline-flex;align-items:center;gap:6px;min-height:44px;text-decoration:underline;text-underline-offset:5px}
#cxpr-page .gl-related a:hover,#cxpr-page .gl-sources a:hover,#cxpr-page .gl-permalink:hover,#cxpr-page .gl-back:hover,#cxpr-page .gl-method a:hover{color:#fff;text-decoration-thickness:2px}
#cxpr-page #gl-empty{padding:38px 24px;margin-top:36px;border:1px dashed #e4b9a9;border-radius:8px}
#cxpr-page #gl-empty p{margin:18px 0}
#cxpr-page .gl-context-link a{text-decoration:underline;text-underline-offset:5px}
@media(max-width:600px){#cxpr-page .gl-search-row{flex-wrap:wrap}#cxpr-page #gl-search{flex-basis:100%;font-size:1rem}#cxpr-page .gl-tools{padding:20px 16px}#cxpr-page .gl-entry>summary{padding:20px 16px;gap:14px}#cxpr-page .gl-body{padding:22px 16px}#cxpr-page .gl-example{padding:20px 16px}#cxpr-page .gl-group-heading{gap:12px}#cxpr-page .gl-facts{gap:8px 12px}#cxpr-page .gl-filters button{max-width:100%;text-align:left}#cxpr-page .gl-toolbar>div{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}#cxpr-page[data-page=glossary] *{transition:none!important;animation:none!important}}
@media print{#cxpr-page .gl-tools,#cxpr-page .gl-jump,#cxpr-page .gl-permalink,#cxpr-page .gl-back{display:none}#cxpr-page[data-page=glossary]{background:white;color:black}#cxpr-page .gl-entry{break-inside:avoid}}
html:has(#cxpr-page[data-page=glossary]){scroll-behavior:auto}
#cxpr-page .gl-jump,#cxpr-page .gl-permalink,#cxpr-page .gl-back{text-decoration:none;border-bottom:0}
#cxpr-page :is(.gl-jump,.gl-permalink,.gl-back) .gl-link-label{text-decoration:underline;text-underline-offset:5px}
#cxpr-page .gl-tools button:disabled{opacity:.65;cursor:default}
/* A–Z browsing: one compact search, with optional letter navigation. */
#cxpr-page .gl-tools{padding:24px 0;background:transparent;border:0;border-radius:0;border-block:1px solid #ffffff38}
#cxpr-page .gl-toolbar{border:0;margin-top:16px;padding-top:0;gap:12px}
#cxpr-page #gl-search-help{margin:8px 0 0}
#cxpr-page .gl-toolbar button{padding:8px 12px;min-height:44px}
#cxpr-page #gl-count{margin:0}
#cxpr-page .gl-alphabet{margin-top:18px;border-bottom:1px solid #ffffff38;padding-bottom:14px}
#cxpr-page .gl-alphabet>summary{color:#f0c6b5;min-height:44px;display:list-item;line-height:44px;width:fit-content}
#cxpr-page .gl-alphabet nav{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
#cxpr-page .gl-alphabet a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid #a59d96;border-radius:6px;color:#ffffff;text-decoration:none}
#cxpr-page .gl-alphabet a:hover{background:#4b403b;border-color:#e4b9a9}
#cxpr-page .gl-group-heading h2{color:#e4b9a9;font-size:2rem;scroll-margin-top:calc(var(--cx-nav-offset) + 24px)}
#cxpr-page .gl-term{min-width:0;overflow-wrap:anywhere}
#cxpr-page .gl-entry h3{max-width:100%}
#cxpr-page .gl-badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}
#cxpr-page .gl-sources a{overflow-wrap:anywhere}
#cxpr-page .gl-entry>summary{min-height:88px}
@media(max-width:600px){#cxpr-page .gl-tools{padding:20px 0}#cxpr-page .gl-search-row{flex-wrap:nowrap;gap:8px}#cxpr-page #gl-search{flex:1 1 auto;width:0;font-size:1rem}#cxpr-page #gl-clear{padding:10px 12px}#cxpr-page .gl-toolbar>div{width:auto}#cxpr-page .gl-toolbar{align-items:flex-start}#cxpr-page .gl-tools label{font-size:1rem}}

/* Compact glossary controls, retained beneath the header and breadcrumb trail. */
#cxpr-page .gl-tools{position:sticky;top:calc(var(--sticky-header-height,80px) + var(--sticky-breadcrumb-height,52px));z-index:60;margin-top:24px;padding:14px 0 12px;background:#282826;border-block:1px solid #716b65;border-radius:0;box-shadow:0 10px 16px -14px #000}
#cxpr-page #gl-search-form label{font-size:13px;line-height:1.4;margin:0 0 6px}
#cxpr-page #gl-search{min-height:46px;height:46px;padding:10px 14px;font-size:16px;line-height:1.4;border-width:1px;border-radius:3px}
#cxpr-page .gl-search-row{gap:8px;flex-wrap:nowrap}
#cxpr-page #gl-clear{min-height:46px;padding:8px 16px;border-radius:3px}
#cxpr-page #gl-search-help{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#cxpr-page .gl-toolbar{gap:8px 16px;margin-top:6px;align-items:center}
#cxpr-page #gl-count{font-size:13px;line-height:1.4;flex:0 0 auto}
#cxpr-page .gl-toolbar>div{gap:6px}
#cxpr-page .gl-toolbar button{min-height:44px;padding:7px 12px;font-size:13px;border-radius:3px}
#cxpr-page .gl-toolbar .gl-alphabet{margin:0 auto 0 0;padding:0;border:0;position:relative}
#cxpr-page .gl-toolbar .gl-alphabet>summary{font-size:13px;line-height:44px;min-height:44px;cursor:pointer;white-space:nowrap}
#cxpr-page .gl-toolbar .gl-alphabet nav{position:absolute;top:100%;left:0;margin:0;padding:12px;width:min(440px,calc(100vw - 48px));max-height:min(320px,calc(100dvh - var(--sticky-header-height,80px) - var(--sticky-breadcrumb-height,52px) - 180px));overflow-y:auto;background:#282826;border:1px solid #a59d96;box-shadow:0 12px 24px #0005;z-index:2}
#cxpr-page :is(.gl-entry,.gl-group-heading h2){scroll-margin-top:calc(var(--sticky-header-height,80px) + var(--sticky-breadcrumb-height,52px) + var(--gl-tools-height,136px) + 20px)!important}
@media(max-width:600px){#cxpr-page .gl-tools{padding:10px 0 8px}#cxpr-page .gl-search-row{gap:6px}#cxpr-page #gl-search{flex:1 1 auto;width:0;font-size:16px;padding:10px}#cxpr-page #gl-clear{padding:8px 12px;font-size:13px}#cxpr-page .gl-toolbar{gap:4px 12px}#cxpr-page .gl-toolbar .gl-alphabet{margin-left:auto;margin-right:0}#cxpr-page .gl-toolbar .gl-alphabet nav{left:auto;right:0;width:min(440px,calc(100vw - 40px))}#cxpr-page .gl-toolbar>div{width:100%;justify-content:flex-end}#cxpr-page .gl-toolbar button{padding-inline:10px}}
