.surface-contract-alert {
    border-left: 4px solid var(--bs-primary);
}

.surface-page-header {
    padding-bottom: 0.25rem;
}

.surface-page-header__copy {
    max-width: 48rem;
}

.surface-page-header__copy--compact {
    max-width: 36rem;
}

.surface-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.surface-cta-row--compact {
    justify-content: flex-end;
    max-width: 24rem;
    margin-left: auto;
}

.surface-cta-row--compact .btn {
    white-space: nowrap;
}

.surface-cta-row__primary,
.surface-cta-row__secondary,
.surface-cta-row__overflow > .btn {
    min-height: 2.75rem;
}

.surface-meta-stack {
    max-width: 18rem;
}

.surface-panel-shell {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    background: var(--bs-body-bg);
    box-shadow: var(--bs-box-shadow-sm);
}

.surface-panel-shell__body {
    max-height: calc(100vh - 12rem);
    overflow: auto;
}

.surface-panel-shell--sticky {
    position: sticky;
    top: 1rem;
}

@media (max-width: 991.98px) {
    .surface-panel-shell--sticky {
        position: static;
    }

    .surface-panel-shell__body {
        max-height: none;
        overflow: visible;
    }

    .surface-cta-row--compact {
        justify-content: flex-start;
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .surface-cta-row {
        width: 100%;
    }

    .surface-cta-row > .btn,
    .surface-cta-row > .dropdown {
        width: 100%;
    }

    .surface-cta-row > .dropdown > .btn,
    .surface-cta-row > .btn {
        width: 100%;
        justify-content: center;
    }

    .surface-cta-row__overflow .dropdown-menu {
        width: 100%;
    }
}

.surface-item-card {
    border: 0;
    box-shadow: var(--bs-box-shadow-sm);
    height: 100%;
}

.surface-item-title {
    color: var(--bs-emphasis-color);
    margin-bottom: 0.5rem;
}

.surface-item-subtitle {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
}

.surface-kpi {
    font-size: 1.35rem;
    font-weight: 700;
}

.surface-label {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
}
