.bs-shell {
    --bs-green: #176b5b;
    --bs-green-dark: #0f5145;
    --bs-ink: #17212b;
    --bs-muted: #667085;
    --bs-line: #dce7e3;
    color: var(--bs-ink);
    margin: 36px auto;
    max-width: 1180px;
    padding: 0 18px;
}

.bs-shell *,
.bs-shell *::before,
.bs-shell *::after {
    box-sizing: border-box;
}

.bs-portal-header {
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #eef7f4 100%);
    border: 1px solid var(--bs-line);
    border-radius: 22px;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 26px 30px;
}

.bs-portal-header h1,
.bs-card h1,
.bs-card h2 {
    color: var(--bs-ink);
    line-height: 1.2;
    margin: 6px 0 10px;
}

.bs-kicker,
.bs-label {
    color: var(--bs-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bs-user {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bs-user a,
.bs-nav a {
    color: var(--bs-green);
}

.bs-nav {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    overflow-x: auto;
    padding: 2px;
}

.bs-nav a {
    background: #fff;
    border: 1px solid var(--bs-line);
    border-radius: 12px;
    font-weight: 700;
    padding: 10px 14px;
    text-decoration: none;
    white-space: nowrap;
}

.bs-nav a.is-active {
    background: var(--bs-green);
    border-color: var(--bs-green);
    color: #fff;
}

.bs-portal-content {
    display: grid;
    gap: 16px;
}

.bs-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bs-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bs-card {
    background: #fff;
    border: 1px solid var(--bs-line);
    border-radius: 18px;
    box-shadow: 0 10px 32px rgb(16 24 40 / 6%);
    padding: 24px;
}

.bs-card p {
    color: var(--bs-muted);
}

.bs-metric {
    display: block;
    font-size: 28px;
    margin-top: 8px;
}

.bs-button {
    align-items: center;
    background: var(--bs-green);
    border: 0;
    border-radius: 12px;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 750;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    text-decoration: none;
}

.bs-button:hover {
    background: var(--bs-green-dark);
}

.bs-button.is-small {
    min-height: 38px;
    padding: 0 12px;
}

.bs-form {
    display: grid;
    gap: 15px;
}

.bs-form label {
    display: grid;
    font-weight: 700;
    gap: 6px;
}

.bs-form input,
.bs-org-switch select {
    background: #fff;
    border: 1px solid #cfdad6;
    border-radius: 10px;
    color: var(--bs-ink);
    font: inherit;
    min-height: 46px;
    padding: 8px 12px;
    width: 100%;
}

.bs-form .bs-check {
    align-items: center;
    display: flex;
    font-weight: 500;
}

.bs-check input {
    min-height: 0;
    width: auto;
}

.bs-login-wrap {
    display: grid;
    min-height: 65vh;
    place-items: center;
}

.bs-login {
    max-width: 480px;
    width: 100%;
}

.bs-public-intro {
    margin: 80px auto;
    max-width: 680px;
    text-align: center;
}

.bs-org-switch {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin: 12px 0;
}

.bs-org-switch select {
    max-width: 280px;
}

.bs-alert {
    border-radius: 12px;
    margin: 14px 0;
    padding: 13px 15px;
}

.bs-alert.is-success {
    background: #e8f7ef;
    border: 1px solid #8dd0aa;
}

.bs-alert.is-error {
    background: #fff0f0;
    border: 1px solid #e3aaaa;
}

.bs-table-wrap {
    overflow-x: auto;
}

.bs-table {
    border-collapse: collapse;
    margin-top: 16px;
    width: 100%;
}

.bs-table th,
.bs-table td {
    border-bottom: 1px solid #edf1ef;
    padding: 11px 10px;
    text-align: left;
}

.bs-table th {
    color: var(--bs-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.bs-empty {
    background: #f5f8f7;
    border-radius: 10px;
    color: var(--bs-muted);
    margin-top: 14px;
    padding: 18px;
}

@media (max-width: 760px) {
    .bs-grid,
    .bs-grid-two {
        grid-template-columns: 1fr;
    }

    .bs-portal-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .bs-user {
        align-items: flex-start;
    }
}
