@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --tblr-primary: #7b4ddb;
    --tblr-primary-rgb: 123, 77, 219;
    --tblr-brand: #7b4ddb;
}

body {
    background-color: #f4f5f7;
}

.navbar-vertical {
    overflow-y: auto;
    scrollbar-width: none;
}

.navbar-vertical::-webkit-scrollbar {
    display: none;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 98vh;
}

.page-body {
    flex: 1;
}

.vs-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.vs-wordmark {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.vs-chart-note {
    font-size: .75rem;
}

.vs-chart-sublabel {
    font-size: .7rem;
}

.vs-sparkline-chart {
    flex: 1;
    min-width: 0;
}

.vs-sparkline-wrap {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.vs-sparkline-wrap--single {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vs-sparkline-scale {
    display: flex;
    flex-direction: column;
    font-size: 0.6rem;
    color: #9ca3af;
    line-height: 1;
    min-width: 34px;
    text-align: right;
    flex-shrink: 0;
    justify-content: space-between;
    padding: 3px 0;
}

.vs-sparkline-scale--single {
    justify-content: center;
    padding: 0;
}

.vs-sparkline-svg {
    width: 100%;
    height: 50px;
    display: block;
}

.vs-sparkline-empty {
    height: 50px;
}

.vs-plan-card-label {
    cursor: pointer;
}

.vs-section-title {
    letter-spacing: .05em;
}

.vs-sort-header {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.vs-progress-thin {
    height: 8px;
}

.vs-logo-mark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #7b4ddb;
}

.vs-logo-mark--lg {
    width: 36px;
    height: 36px;
}

/* Top-of-page loading bar — shown during HTMX network requests */
#loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 10000;
    pointer-events: none;
}
#loading-bar-fill {
    height: 100%;
    width: 0;
    opacity: 0;
    background: #7b4ddb;
    border-radius: 0 1px 1px 0;
}
