:root{--age-gutter:42px;--age-frame:1816px;--age-ink:light-dark(#203e43,#eaf0e6);--age-surface:light-dark(#f6f4ed,#182724);--age-line:light-dark(#dcded4,#41554b);--age-hover:light-dark(#e9eee9,#31483d)}
@media(max-width:1100px){:root{--age-gutter:22px}}
@media(max-width:760px){:root{--age-gutter:12px}}
.age-frame{box-sizing:border-box;width:calc(100% - 2 * var(--age-gutter));max-width:var(--age-frame);min-width:0;margin-inline:auto}
.age-header{position:relative;z-index:20;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:62px;padding-block:7px;border-bottom:1px solid var(--age-line);font:400 15px/1.3 var(--font-text);color:var(--age-ink)}
.age-header .age-brand{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none;margin-right:9px}
.age-brand picture,.age-brand img{display:block}.age-brand img{object-fit:contain}
.age-header .age-all-atlases,.age-header summary,.age-header .age-create,#agescroll-mosaic-catalogue .age-header button.age-create{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;gap:7px;padding:7px 8px;border:0;border-radius:0;box-shadow:none;background:transparent;color:inherit;font:inherit;text-decoration:none;white-space:nowrap}
.age-header .age-all-atlases[aria-current],.age-header .age-create[aria-current],.age-header .age-all-atlases:hover,.age-header .age-create:hover,.age-header summary:hover,.age-header details[open]>summary{text-decoration:underline;text-underline-offset:.35em;text-decoration-thickness:1px}
.age-header .age-actions{display:flex;align-items:center;gap:10px;min-width:0}
.age-header .age-create svg,.age-header .age-atlas-icon{display:none}
.age-header .age-create,.age-header summary{cursor:pointer}
.age-header .age-menu{position:relative;min-width:0}
.age-header .age-atlas-button{max-width:100%;min-width:0;justify-content:flex-start}
.age-atlas-button span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.age-header summary{list-style:none}
.age-header summary::-webkit-details-marker{display:none}
.age-header summary svg{flex:none}
.age-header .age-language>summary{min-width:0;width:55px}
.age-header .age-more>summary{width:44px}
.age-header .age-menu-panel{display:none;position:absolute;top:calc(100% + 4px);left:0;min-width:175px;max-width:calc(100vw - 2 * var(--age-gutter));background:var(--age-surface);border:1px solid var(--age-line);border-radius:8px;padding:5px;box-shadow:0 8px 24px #152b3426;z-index:30}
.age-header .age-menu[open]>.age-menu-panel{display:grid}
.age-header .age-language .age-menu-panel,.age-header .age-more .age-menu-panel{left:auto;right:0}
.age-header .age-menu-panel :is(a,button){display:flex;align-items:center;min-height:44px;padding:8px 10px;border:0;border-radius:5px;text-align:left;color:inherit;background:transparent;text-decoration:none;font:inherit;white-space:normal;cursor:pointer}
.age-header .age-menu-panel :is(a,button):hover,.age-header .age-menu-panel [aria-current]{background:var(--age-hover)}
.age-header :is(a,button,summary):focus-visible{outline:2px solid currentColor;outline-offset:-2px}
main.age-frame,.presentation-page main.age-frame,#agescroll-mosaic-catalogue main.age-frame{max-width:var(--age-frame);padding-inline:0}
.reference-layout .reference-copy{max-width:none}
.reference-description p{max-width:82ch}
.presentation-page .presentation-panel{max-width:none}
#agescroll-mosaic-catalogue:has(>.age-header){max-width:none}
#agescroll-mosaic-catalogue:has(>.age-header) .ac-mosaic-field{top:62px}
@media(max-width:840px){.age-header{gap:6px}.age-header .age-actions{gap:3px}.age-header .age-brand{margin-right:0}}
@media(max-width:700px){
 .age-header{gap:4px;min-height:56px;padding-block:5px;font-size:14px}
 .age-header .age-actions{gap:0}
 .age-header .age-language>summary{width:49px}
 .age-brand img{width:30px;height:30px}
 .age-header .age-all-atlases,.age-header summary,.age-header .age-create,#agescroll-mosaic-catalogue .age-header button.age-create{padding-inline:5px}
 .age-header .age-create svg{display:block;flex:none}
 .age-header .age-create span{display:none}
 .age-header .age-create{min-width:44px}
 #agescroll-mosaic-catalogue:has(>.age-header) .ac-mosaic-field{top:56px}
}
@media(max-width:460px){
 .age-header .age-atlas-button{gap:2px}
 .age-header .age-atlas-icon{display:block}
 .age-atlas-button span{display:none}
}
@media print{.presentation-page main.age-frame{width:auto}}
