/* Grid is explicit: the legacy overlay uses flex, which shrank the tab row. */
.ac-overlay{display:grid!important;grid-template-rows:max-content max-content minmax(0,1fr)!important;height:100dvh!important;max-height:100dvh!important;box-sizing:border-box!important;overflow:hidden!important;background:var(--ghr-workspace-background,#f5f7fa)!important}
.ac-overlay>.ac-top,.ac-overlay>.ac-tabs{min-height:0!important;flex-shrink:0!important;position:relative!important;z-index:2}
.ac-overlay>.ac-tabs{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;align-items:center!important;height:auto!important;padding:10px 18px!important;gap:7px!important}
.ac-overlay>.ac-main{height:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;box-sizing:border-box!important;margin:0!important;background:var(--ghr-workspace-background,#f5f7fa)!important}
.ac-overlay .ac-tabs button{flex:0 0 auto!important;line-height:1.4!important;white-space:nowrap!important}
:root[data-ghr-appearance=dark] .ac-overlay{--ghr-workspace-background:#181f29}
@media(prefers-color-scheme:dark){:root:not([data-ghr-appearance=light]) .ac-overlay{--ghr-workspace-background:#181f29}}
@media(max-width:650px){.ac-overlay>.ac-tabs{flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;padding:9px!important;scrollbar-width:thin}.ac-overlay>.ac-top{padding:10px!important}}
