/* Shared right-hand navigation for statistics, quests, tools and server information. */
.monche-section-layout{overflow:clip!important}
body.monche-site.monche-location-route .monche-section-layout .monche-section-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,400px)!important;grid-template-areas:"content menu";align-items:stretch!important;gap:18px!important;margin:0!important}
.monche-section-content{grid-area:content;min-width:0}
.monche-section-panels{display:flex;flex-direction:column;min-width:0;margin:0;padding:0}
.monche-section-sidebar{grid-area:menu;display:flex;flex-direction:column;gap:18px;min-width:0;align-self:start;position:static;height:auto;overflow:visible}
@media(min-width:981px){.monche-section-layout:not([data-tools-explorer]):not([data-profession-explorer]):not([data-skill-explorer]) .monche-section-sidebar{position:sticky;top:88px;height:calc(100vh - 104px);height:calc(100dvh - 104px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#866c45 #0004}}
.monche-section-sidebar>*{flex:none;min-width:0}
.monche-section-sidebar>.monche-section-navigation:only-child{flex:1}
body.monche-site.monche-location-route .monche-section-layout .monche-section-navigation{display:block!important;box-sizing:border-box;position:relative;margin:0!important;min-width:0;height:auto;padding:24px!important}
body.monche-site.monche-location-route .monche-section-layout .monche-section-panel{display:block!important;flex:1;min-width:0;margin:0!important;padding:24px!important;scroll-margin-top:90px}
body.monche-site.monche-location-route .monche-section-layout .monche-section-panel[hidden]{display:none!important}
.monche-section-panel>h2.monche-db-card-eyebrow{margin:0 0 20px!important}
.monche-section-panel>:last-child{margin-bottom:0}
.monche-section-layout :is(a,button,input,select):focus-visible{outline:2px solid #e8c57e;outline-offset:3px}
body.monche-site.monche-location-route .monche-section-layout .monche-section-navigation>summary{display:flex!important;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;color:#d9ab48!important;min-height:0;margin:0!important;padding:0;-webkit-tap-highlight-color:transparent}
.monche-section-navigation>summary::-webkit-details-marker{display:none}
.monche-section-navigation>summary::marker{content:""}
.monche-section-navigation>summary::before,.monche-section-navigation>summary::after{content:none!important}
.monche-section-navigation>summary:focus-visible{outline:2px solid #edbf65;outline-offset:5px;border-radius:3px}
.monche-section-menu-title{display:flex;align-items:center;gap:12px;min-width:0}
.monche-section-menu-copy{display:block;min-width:0}
.monche-site .monche-section-menu-copy>.monche-db-card-eyebrow{margin:0!important}
.monche-section-menu-copy small{display:block;margin-top:5px;font:400 13px/1.5 "Elarion Text","Segoe UI",Arial,sans-serif;color:#aab2bf}
.monche-section-menu-copy small:empty{display:none}
body.monche-site.monche-location-route .monche-section-layout .monche-section-navigation>summary>.monche-section-menu-chevron{display:block;flex:none;width:20px;height:20px;color:#d9ab48!important;stroke:currentColor!important;fill:none;transition:transform .15s ease}
.monche-section-navigation[open]>summary>.monche-section-menu-chevron{transform:rotate(180deg)}
.monche-site .monche-section-navigation[open]>summary{padding-bottom:14px;border-bottom:1px solid #c5a35526}
.monche-site .monche-section-navigation>.monche-section-menu-body{display:block!important;width:100%;min-width:0;margin:16px 0 0!important;padding:0!important}
.monche-site .monche-section-navigation:not([open])>.monche-section-menu-body{display:none!important}
.monche-site .monche-section-menu-body>.monche-menu-list{margin:0!important;max-height:none}
.monche-section-navigation .monche-tools-note{margin:16px 0 0!important}
.monche-section-navigation .monche-quest-search{margin:0 0 16px!important}
.monche-site .monche-section-navigation .monche-quest-search .monche-location-navigation-search{margin:0!important}
.monche-section-step-number{flex:none!important;color:#d9ab48;font-size:11px;min-width:22px}
.monche-site .monche-menu-item[aria-current=step]{border-color:#c5a35588;background:linear-gradient(90deg,#c5a35519,#c5a35506);color:#f0dfbc}
@media(min-width:981px){body.monche-site.monche-location-route .monche-section-layout .monche-section-navigation>summary{cursor:default!important}body.monche-site.monche-location-route .monche-section-layout .monche-section-navigation>summary>.monche-section-menu-chevron,.monche-section-menu-copy small{display:none}}
@media(max-width:1100px) and (min-width:981px){body.monche-site.monche-location-route .monche-section-layout .monche-section-grid{grid-template-columns:minmax(0,1fr) minmax(220px,280px)!important}}
@media(max-width:980px){body.monche-site.monche-location-route .monche-section-layout .monche-section-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"menu" "content";align-items:start!important}.monche-section-sidebar{position:static;height:auto;overflow:visible}body.monche-site.monche-location-route .monche-section-layout .monche-section-navigation>summary{min-height:48px}body.monche-site.monche-location-route .monche-section-layout :is(.monche-section-panel,.monche-section-navigation){padding:16px!important}.monche-site .monche-section-navigation>.monche-section-menu-body{max-height:calc(100vh - 210px);max-height:calc(100dvh - 210px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#866c45 #0004}}
@media(max-width:980px) and (scripting:enabled){.monche-site .monche-section-navigation:not([data-section-menu-ready])>.monche-section-menu-body{display:none!important}}
@media(prefers-reduced-motion:reduce){.monche-section-menu-chevron{transition:none}}

/* Long class and skill lists keep their own scroll frame and current entry. */
.monche-site .monche-section-navigation>.monche-section-menu-body>:is(.monche-profession-list,[data-skill-navigation]){max-height:clamp(180px,calc(100dvh - 440px),420px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#866c45 #0004}

/* Item suggestions share the home search design and remain inside the menu. */
.monche-site .monche-tools-item-search{width:100%;min-width:0;margin:0}
.monche-site .monche-tools-item-search>.monche-location-navigation-search{display:block;width:100%;max-width:none;margin:0!important}
.monche-site .monche-tools-item-search>.monche-home-suggestions{position:static;box-sizing:border-box;width:100%;margin:12px 0 0;box-shadow:none;max-height:420px}
.monche-site .monche-tools-item-search .monche-home-suggestions a{flex-wrap:wrap;column-gap:10px;row-gap:3px}
.monche-site .monche-tools-item-search .monche-home-suggestions small{margin-left:auto}

/* The same disclosure and search geometry serve every database navigation card. */
.monche-site .monche-section-menu-body .monche-location-navigation-search{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.monche-site .monche-section-menu-body>.monche-class-toolbar{margin:0!important}
@media(max-width:980px){.monche-site .monche-section-menu-body>.monche-class-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:14px}.monche-site .monche-section-menu-body .monche-class-races{flex-wrap:wrap}.monche-site .monche-section-menu-body>.monche-class-toolbar>.monche-class-search{box-sizing:border-box;flex:none;align-self:stretch;width:100%;max-width:100%;min-width:0}.monche-site .monche-entity-columns>.monche-entity-search{grid-column:1!important;grid-row:1!important}}

body.monche-site.monche-location-route .monche-section-layout .monche-location-index-v2__content>.monche-section-navigation{margin-bottom:18px!important}
