/* Shared secondary navigation inside HGRAH workspaces. */
body a.hgl-nav-action.hgl-nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 13px;
    border: 1px solid #d4bdc5;
    border-radius: 9px;
    background: #fff;
    color: #781638;
    font: 650 14px/1.35 system-ui, sans-serif;
    letter-spacing: normal;
    text-align: start;
    text-decoration: none;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
}
body a.hgl-nav-action.hgl-nav-action:hover,
body a.hgl-nav-action.hgl-nav-action:active { background: #f7edf1; border-color: #a95873; color: #65102d; }
body a.hgl-nav-action.hgl-nav-action:focus-visible { outline: 3px solid #841d41; outline-offset: 2px; }
body a.hgl-nav-action .dashicons { flex: 0 0 18px; width: 18px; height: 18px; font-size: 18px; }
.hgs .hg-goal > .hgl-nav-action { margin-block-start: 10px; }
.hgb [id^="hgb-source-"], .hgb #hgb-detail { scroll-margin-block-start: 6rem; }
@media (max-width: 600px) {
    .hgb #hgb-detail > header { gap: 8px 12px; }
    .hgb #hgb-detail > header h3 { flex: 1 1 12rem; min-width: 0; overflow-wrap: anywhere; }
    .hgb .hgb-admin-links { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,10rem),1fr)); gap: 8px; }
}
