/* Grand Bell brand refinement: shared public and protected shells. */
.brand .brand-wordmark {
    display: block;
    width: clamp(200px, 220px, 28vw);
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: left center;
}
.brand-footer .brand-wordmark {
    width: clamp(200px, 220px, 34vw);
}

.portal-menu {
    position: relative;
    color: #3e536b;
}
.portal-menu summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    list-style: none;
    cursor: pointer;
    color: #3e536b;
}
.portal-menu summary::-webkit-details-marker {
    display: none;
}
.portal-menu summary:hover {
    color: var(--blue-deep);
}
.portal-menu summary span {
    color: var(--blue-deep);
    font-size: 15px;
    line-height: 1;
}
.portal-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    right: -12px;
    z-index: 40;
    display: grid;
    width: 250px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}
.portal-dropdown a {
    display: grid;
    gap: 2px;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--navy);
}
.portal-dropdown a:hover {
    background: var(--sky);
    text-decoration: none;
}
.portal-dropdown strong {
    font: 700 13px Manrope, sans-serif;
}
.portal-dropdown small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.admin-shell .admin-header {
    background: #071a30;
}
.admin-shell .admin-header .brand-wordmark {
    width: clamp(200px, 220px, 30vw);
}
.admin-shell .admin-header .brand-context {
    display: block;
    color: #9fc5df;
    font: 700 9px/1 Manrope, sans-serif;
    letter-spacing: .18em;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .admin-shell .admin-header .brand {
        min-width: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        padding: 9px 0;
    }
    .portal-menu {
        width: 100%;
    }
    .portal-menu summary {
        padding: 12px 2px;
    }
    .portal-dropdown {
        position: static;
        width: 100%;
        margin: 0 0 8px;
        box-shadow: none;
        background: #f8fbfd;
    }
    .admin-shell .admin-header .primary-nav .portal-dropdown {
        background: #102d49;
    }
}

@media (max-width: 440px) {
    .brand .brand-wordmark,
    .brand-footer .brand-wordmark,
    .admin-shell .admin-header .brand-wordmark {
        width: 200px;
    }
}
