.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 28px;
    border-bottom: 1px solid var(--line-dark);
    background: #0b1510;
}

.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .02em;
}

.logo {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid #375744;
    border-radius: 50%;
    color: var(--green-bright);
    font-family: var(--font-ledger);
    font-size: 14px;
}

.topbar-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.container {
    width: min(1320px, calc(100vw - 40px));
    margin: 0 auto;
    padding: 28px 0 42px;
}

.nav-link {
    color: #bfe8ce;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.account-badge {
    max-width: min(360px, 50vw);
    overflow: hidden;
    padding: 5px 10px;
    border: 1px solid #375744;
    border-radius: 999px;
    color: #cde4d2;
    font-family: var(--font-ledger);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.banner {
    margin-bottom: 18px;
    padding: 11px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
}

.banner-warning {
    border: 1px solid #775d16;
    background: #2b2512;
    color: #f6e6ad;
}

.section {
    margin-top: 24px;
}

.section h3 {
    margin: 0 0 12px;
    color: var(--surface);
    font-size: 15px;
}

@media (max-width: 760px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .topbar-meta {
        width: 100%;
    }

    .account-badge {
        max-width: 100%;
    }
}
