:root {
    --vm-bg: #f4f7f8;
    --vm-surface: #ffffff;
    --vm-surface-soft: #eef4f5;
    --vm-border: #dbe5e8;
    --vm-text: #102a43;
    --vm-text-soft: #5c6f82;
    --vm-primary: #11b8c8;
    --vm-primary-dark: #0f7f8a;
    --vm-secondary: #28496b;
    --vm-accent: #7fdde4;
    --vm-navy: #17324d;
    --vm-danger-bg: #fff1f2;
    --vm-danger-border: #fecdd3;
    --vm-danger-text: #b42318;
    --vm-success-bg: #ecfdf3;
    --vm-success-border: #abefc6;
    --vm-success-text: #067647;
    --vm-warning-bg: #fffaeb;
    --vm-warning-border: #fedf89;
    --vm-warning-text: #b54708;
    --vm-info-bg: #eff8ff;
    --vm-info-border: #b2ddff;
    --vm-info-text: #175cd3;
    --vm-shadow: 0 20px 45px rgba(16, 42, 67, 0.08);
    --vm-shadow-sm: 0 10px 22px rgba(16, 42, 67, 0.08);
    --vm-radius-lg: 24px;
    --vm-radius-md: 16px;
    --vm-radius-sm: 12px;
    --vm-font: "Segoe UI", Inter, Arial, sans-serif;
}

html {
    font-size: 14px;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(127, 221, 228, 0.18), transparent 22%), linear-gradient(135deg, #f7fbfc 0%, #eef5f6 100%);
    color: var(--vm-text);
    font-family: var(--vm-font);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.table > :not(caption) > * > * {
    background-color: transparent;
}

.text-decoration-none {
    text-decoration: none !important;
}

/* Layout */
.vm-shell {
    min-height: 100vh;
    display: flex;
}

.vm-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #17324d 0%, #102a43 100%);
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    box-shadow: var(--vm-shadow);
    flex-shrink: 0;
}

.vm-sidebar-top {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vm-brand {
    display: block;
}

.vm-brand-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
}

.vm-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.vm-help-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.vm-help-search-form {
    display: flex;
    flex-direction: column;
}

.vm-help-search-results,
.vm-help-sections,
.vm-help-section-articles,
.vm-help-takeaway-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vm-help-search-result,
.vm-help-article-link,
.vm-help-section-title-link {
    text-decoration: none;
}

.vm-help-search-result {
    border: 1px solid #dce5ef;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f8fbfd;
    color: #173046;
}

.vm-help-search-result:hover {
    border-color: #9dc4d0;
    background: #f2f8fb;
}

.vm-help-search-section {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5d768a;
    margin-bottom: 4px;
}

.vm-help-search-title,
.vm-help-section-title-link {
    font-weight: 700;
    color: #173046;
}

.vm-help-search-summary,
.vm-help-section-copy {
    font-size: 0.95rem;
    color: #4f667a;
    margin-top: 4px;
}

.vm-help-section-block {
    border-top: 1px solid #e3ebf3;
    padding-top: 14px;
}

.vm-help-section-block:first-child {
    border-top: 0;
    padding-top: 0;
}

.vm-help-article-link {
    display: block;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    padding: 10px 12px;
    color: #173046;
    background: #ffffff;
}

.vm-help-article-link:hover,
.vm-help-article-link.active {
    border-color: #2f8d9a;
    background: #eef7f8;
    color: #0f5e68;
}

.vm-help-content {
    min-width: 0;
}

.vm-help-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.vm-help-meta {
    font-size: 0.92rem;
    color: #5d768a;
}

.vm-help-paragraph {
    color: #243949;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.vm-help-takeaways {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e3ebf3;
}

.vm-help-takeaway-item {
    border: 1px solid #dce5ef;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f8fbfd;
    color: #173046;
}

@media (max-width: 991.98px) {
    .vm-help-layout {
        grid-template-columns: 1fr;
    }
}

.vm-nav-section {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.vm-nav-section-title {
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vm-nav-section-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vm-nav-link {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    transition: 0.2s ease;
}

    .vm-nav-link:hover,
    .vm-nav-link.active {
        background: linear-gradient(135deg, rgba(17, 184, 200, 0.18), rgba(127, 221, 228, 0.12));
        color: #fff;
    }

.vm-sidebar-footer {
    margin-top: auto;
    padding-top: 1.5rem;
}

.vm-release-card {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.vm-release-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.vm-release-version {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.vm-release-date {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 0.65rem;
}

.vm-release-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--vm-accent);
    text-decoration: none;
}

    .vm-release-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }

.vm-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.vm-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 2rem 1rem;
}

.vm-topbar-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--vm-text);
}

.vm-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--vm-text-soft);
    font-size: 0.95rem;
    font-weight: 600;
}

.vm-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--vm-primary);
    box-shadow: 0 0 0 6px rgba(17, 184, 200, 0.12);
}

.vm-content {
    padding: 0 2rem 2rem;
}

.vm-mobile-nav-shell {
    display: none;
    padding: 1rem 1rem 0;
}

.vm-mobile-nav {
    border: 1px solid var(--vm-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--vm-shadow-sm);
    overflow: hidden;
}

.vm-mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    font-weight: 800;
    color: var(--vm-text);
    cursor: pointer;
    list-style: none;
}

.vm-mobile-nav-toggle::-webkit-details-marker {
    display: none;
}

.vm-mobile-nav-current {
    color: var(--vm-text-soft);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: right;
}

.vm-mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0 0.5rem 0.5rem;
    border-top: 1px solid var(--vm-border);
}

.vm-mobile-nav-section {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vm-mobile-nav-section-title {
    padding: 0.65rem 0.35rem 0 0.35rem;
    color: var(--vm-text-soft);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vm-mobile-nav-section-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.vm-mobile-nav-links .vm-nav-link {
    border-radius: 8px;
    color: var(--vm-text);
    padding: 0.75rem 0.85rem;
}

.vm-mobile-nav-links .vm-nav-link:hover,
.vm-mobile-nav-links .vm-nav-link.active {
    color: #fff;
}

/* Page */
.vm-page-header {
    margin-bottom: 1.5rem;
}

.vm-page-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.vm-page-copy {
    color: var(--vm-text-soft);
    margin: 0;
}

.vm-muted {
    color: var(--vm-text-soft);
}

/* Cards */
.vm-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--vm-border);
    border-radius: var(--vm-radius-lg);
    box-shadow: var(--vm-shadow);
}

.vm-card-body {
    padding: 1.5rem;
}

/* Forms */
.vm-field {
    margin-bottom: 1.1rem;
}

.vm-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--vm-text);
}

.vm-input {
    width: 100%;
    border: 1px solid var(--vm-border);
    background: #fff;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    outline: none;
    transition: 0.2s ease;
    color: var(--vm-text);
}

    .vm-input:focus {
        border-color: var(--vm-primary);
        box-shadow: 0 0 0 4px rgba(17, 184, 200, 0.14);
    }

.vm-button,
.vm-logout-button {
    border: 0;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: 0.2s ease;
}

.vm-button {
    width: 100%;
    background: linear-gradient(135deg, var(--vm-primary), var(--vm-primary-dark));
    color: #fff;
    box-shadow: 0 14px 28px rgba(15, 127, 138, 0.22);
}

    .vm-button:hover {
        transform: translateY(-1px);
        filter: brightness(1.02);
        color: #fff;
    }

.vm-button-danger {
    background: linear-gradient(135deg, #d92d20, #b42318);
    box-shadow: 0 14px 28px rgba(180, 35, 24, 0.18);
}

.vm-logout-button {
    border: 1px solid var(--vm-border);
    background: rgba(255, 255, 255, 0.75);
    color: var(--vm-text);
    padding: 0.65rem 0.95rem;
    font-weight: 700;
}

    .vm-logout-button:hover {
        border-color: var(--vm-primary);
        color: var(--vm-primary-dark);
        box-shadow: 0 0 0 4px rgba(17, 184, 200, 0.12);
    }

.vm-download-button,
.vm-process-button {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.2s ease;
    white-space: nowrap;
}

.vm-download-button {
    background: rgba(17, 184, 200, 0.12);
    color: var(--vm-primary-dark);
    border: 1px solid rgba(17, 184, 200, 0.25);
}

    .vm-download-button:hover {
        background: var(--vm-primary);
        color: #fff;
        box-shadow: 0 6px 14px rgba(17, 184, 200, 0.25);
    }

.vm-process-button {
    background: rgba(40, 73, 107, 0.10);
    color: var(--vm-secondary);
    border: 1px solid rgba(40, 73, 107, 0.18);
}

    .vm-process-button:hover {
        background: var(--vm-secondary);
        color: #fff;
        box-shadow: 0 6px 14px rgba(40, 73, 107, 0.20);
    }

/* Alerts */
.vm-alert {
    background: var(--vm-danger-bg);
    border: 1px solid var(--vm-danger-border);
    color: var(--vm-danger-text);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.vm-success-alert {
    background: var(--vm-success-bg);
    border: 1px solid var(--vm-success-border);
    color: var(--vm-success-text);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-weight: 600;
}

/* Tables */
.vm-table {
    margin-bottom: 0;
}

    .vm-table th {
        color: var(--vm-text-soft);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        border-bottom-color: var(--vm-border);
        font-weight: 800;
    }

    .vm-table td {
        color: var(--vm-text);
        border-bottom-color: var(--vm-border);
        vertical-align: middle;
    }

.vm-table-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
}

.vm-table-sort:hover {
    color: var(--vm-primary);
}

.vm-table-sort-active {
    color: var(--vm-primary-dark);
}

.vm-table-sort-indicator {
    min-width: 0.75rem;
    color: var(--vm-primary);
    font-size: 0.8rem;
    line-height: 1;
}

.vm-table-subtext {
    margin-top: 0.2rem;
    color: var(--vm-text-soft);
    font-size: 0.82rem;
}

.vm-table-compact th,
.vm-table-compact td {
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.7rem 0.65rem;
}

.vm-table-compact th a {
    color: inherit;
    text-decoration: none;
}

.vm-table-compact th a:hover {
    color: var(--vm-primary);
}

.vm-zero-row td {
    color: var(--vm-text-soft);
}

/* Pagination */
.pagination .page-link {
    border-radius: 10px;
    margin: 0 0.15rem;
    border-color: var(--vm-border);
    color: var(--vm-secondary);
    font-weight: 700;
    box-shadow: none;
}

    .pagination .page-link:hover {
        background: var(--vm-surface-soft);
        color: var(--vm-primary-dark);
        border-color: var(--vm-primary);
    }

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--vm-primary), var(--vm-primary-dark));
    border-color: transparent;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #98a2b3;
    background: #fff;
    border-color: var(--vm-border);
}

/* Badges */
.vm-badge {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.vm-badge-success {
    background: var(--vm-success-bg);
    color: var(--vm-success-text);
    border: 1px solid var(--vm-success-border);
}

.vm-badge-warning {
    background: var(--vm-warning-bg);
    color: var(--vm-warning-text);
    border: 1px solid var(--vm-warning-border);
}

.vm-badge-danger {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.vm-badge-pending {
    background: var(--vm-info-bg);
    color: var(--vm-info-text);
    border: 1px solid var(--vm-info-border);
}

/* Dashboard */
.vm-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.vm-metric {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--vm-border);
    border-radius: 22px;
    padding: 1.25rem;
    box-shadow: var(--vm-shadow);
}

.vm-metric-label {
    color: var(--vm-text-soft);
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}

.vm-metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--vm-text);
}

.vm-metric-note {
    margin-top: 0.5rem;
    color: var(--vm-text-soft);
    font-size: 0.9rem;
}

.vm-trend-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(17, 184, 200, 0.16), rgba(127, 221, 228, 0.06)),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82));
    box-shadow: var(--vm-shadow);
}

.vm-trend-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(23, 50, 77, 0.08);
    color: var(--vm-secondary);
    font-size: 0.78rem;
    font-weight: 800;
}

.vm-trend-headline {
    font-size: 2rem;
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: var(--vm-navy);
}

.vm-trend-subcopy {
    margin: 0;
    color: var(--vm-text-soft);
    font-size: 0.98rem;
}

.vm-trend-stat-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.vm-trend-stat {
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    padding: 1rem;
    min-width: 0;
}

.vm-trend-stat-label {
    display: block;
    color: var(--vm-text-soft);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.vm-trend-stat-value {
    display: block;
    color: var(--vm-navy);
    font-size: 1.1rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.vm-trend-card {
    overflow: hidden;
}

.vm-trend-chart-shell {
    position: relative;
}

.vm-trend-chart-surface {
    position: relative;
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 16px;
    background:
        radial-gradient(circle at top right, rgba(127, 221, 228, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 247, 0.92));
    padding: 0.75rem;
}

.vm-trend-y-label {
    position: absolute;
    left: 0.75rem;
    transform: translateY(-50%);
    color: #6b7c93;
    font-size: 0.7rem;
    font-weight: 700;
    pointer-events: none;
}

.vm-trend-chart {
    width: 100%;
    height: auto;
    display: block;
}

.vm-trend-grid-line {
    stroke: rgba(16, 42, 67, 0.09);
    stroke-width: 1;
    stroke-dasharray: 6 6;
}

.vm-trend-area {
    fill: rgba(17, 184, 200, 0.12);
}

.vm-trend-line {
    fill: none;
    stroke: var(--vm-primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 10px 20px rgba(17, 184, 200, 0.18));
}

.vm-trend-point {
    fill: #fff;
    stroke: var(--vm-primary-dark);
    stroke-width: 3;
    cursor: pointer;
    transition: transform 0.15s ease, fill 0.15s ease, stroke 0.15s ease;
}

.vm-trend-point:hover,
.vm-trend-point:focus,
.vm-trend-point.is-active {
    fill: var(--vm-primary);
    stroke: #ffffff;
    transform: scale(1.18);
    outline: none;
}

.vm-trend-axis-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.8rem;
    color: var(--vm-text-soft);
    font-size: 0.85rem;
    font-weight: 700;
}

.vm-trend-focus-label {
    color: var(--vm-text-soft);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.vm-trend-focus-value {
    color: var(--vm-navy);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.45rem;
}

.vm-trend-focus-period {
    color: var(--vm-text-soft);
    font-size: 0.92rem;
}

.vm-trend-insights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vm-trend-insight-item {
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.66);
    padding: 0.85rem 0.95rem;
    color: var(--vm-text);
    font-weight: 600;
}

/* Details / Info blocks */
.vm-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.vm-detail-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--vm-border);
    border-radius: 16px;
    padding: 1rem;
}

.vm-detail-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--vm-border);
    border-radius: 16px;
    padding: 1rem;
    height: 100%;
}

.vm-detail-label {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--vm-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
}

.vm-detail-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--vm-text);
}

/* Markets */
.vm-market-list,
.vm-market-admin-list,
.vm-stall-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vm-stall-list {
    gap: 0.75rem;
}

.vm-market-block {
    border: 1px solid var(--vm-border);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
}

.vm-market-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vm-market-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--vm-text);
}

.vm-market-subtitle {
    color: var(--vm-text-soft);
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.vm-stall-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--vm-border);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    background: #fff;
}

.vm-stall-name {
    font-weight: 700;
    color: var(--vm-text);
}

.vm-market-admin-card {
    border: 1px solid rgba(10, 27, 52, 0.08);
    border-radius: 18px;
    padding: 1rem 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.55);
}

.vm-market-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.vm-market-admin-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vm-navy);
    margin-bottom: 0.2rem;
}

.vm-market-admin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    color: var(--vm-text-soft);
    font-size: 0.92rem;
}

.vm-market-admin-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.vm-market-admin-divider {
    height: 1px;
    background: rgba(10, 27, 52, 0.08);
    margin: 1rem 0;
}

/* Login */
.vm-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.vm-login-brand-panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(16, 42, 67, 0.96), rgba(20, 69, 97, 0.92)), linear-gradient(135deg, #17324d 0%, #0f7f8a 100%);
    color: #fff;
    padding: 4rem;
    display: flex;
    align-items: flex-end;
}

    .vm-login-brand-panel::before,
    .vm-login-brand-panel::after {
        content: "";
        position: absolute;
        border-radius: 32px;
        transform: rotate(-35deg);
        opacity: 0.22;
    }

    .vm-login-brand-panel::before {
        width: 420px;
        height: 420px;
        background: linear-gradient(135deg, var(--vm-primary), transparent);
        top: -120px;
        right: -80px;
    }

    .vm-login-brand-panel::after {
        width: 380px;
        height: 380px;
        background: linear-gradient(135deg, var(--vm-accent), transparent);
        bottom: -160px;
        left: -100px;
    }

.vm-login-brand-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.vm-login-logo {
    max-width: 260px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    display: block;
}

.vm-login-kicker {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.72;
    margin-bottom: 1rem;
}

.vm-login-headline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 1rem;
}

.vm-login-copy {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
    margin: 0;
}

.vm-login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.vm-login-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(219, 229, 232, 0.9);
    border-radius: 28px;
    box-shadow: var(--vm-shadow);
    padding: 2rem;
}

    .vm-login-card h1 {
        font-size: 1.75rem;
        font-weight: 800;
        margin: 0 0 0.35rem;
    }

.vm-login-subtitle {
    color: var(--vm-text-soft);
    margin-bottom: 1.75rem;
}

/* Public signup */
.vm-signup-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    align-items: start;
}

.vm-signup-hero {
    padding: 1rem 0.25rem;
}

.vm-signup-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--vm-primary-dark);
    margin-bottom: 0.85rem;
}

.vm-signup-title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.05;
    font-weight: 800;
    color: var(--vm-navy);
}

.vm-signup-copy {
    color: var(--vm-text-soft);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.vm-signup-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.vm-signup-feature {
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    color: var(--vm-text);
    font-weight: 600;
}

.vm-signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.vm-signup-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vm-signup-section-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.vm-signup-section-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--vm-navy);
}

.vm-signup-section-copy {
    margin: 0;
    color: var(--vm-text-soft);
}

.vm-signup-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.vm-signup-plan-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    border: 1px solid rgba(16, 42, 67, 0.1);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.74);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vm-signup-plan-card:hover {
    border-color: rgba(17, 184, 200, 0.5);
    box-shadow: var(--vm-shadow-sm);
    transform: translateY(-1px);
}

.vm-signup-plan-card.is-selected {
    border-color: var(--vm-primary);
    box-shadow: 0 0 0 4px rgba(17, 184, 200, 0.14);
    background: rgba(255, 255, 255, 0.92);
}

.vm-signup-plan-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vm-signup-plan-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.vm-signup-plan-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--vm-navy);
}

.vm-signup-plan-copy {
    margin-top: 0.3rem;
    color: var(--vm-text-soft);
    font-size: 0.92rem;
}

.vm-signup-plan-price {
    text-align: right;
    color: var(--vm-secondary);
    font-size: 1.1rem;
    font-weight: 800;
    white-space: nowrap;
}

.vm-signup-plan-price span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--vm-text-soft);
}

.vm-signup-plan-limits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vm-signup-plan-limits span,
.vm-signup-plan-modules {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--vm-text-soft);
}

.vm-signup-addon-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.vm-signup-addon-card {
    border: 1px solid rgba(16, 42, 67, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.vm-signup-addon-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.vm-signup-addon-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--vm-navy);
}

.vm-signup-addon-price {
    color: var(--vm-secondary);
    font-weight: 700;
    font-size: 0.92rem;
}

.vm-signup-addon-qty {
    max-width: 180px;
}

.vm-signup-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.vm-signup-actions .vm-button {
    width: auto;
    min-width: 220px;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .vm-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vm-trend-hero {
        grid-template-columns: 1fr;
    }

    .vm-signup-plan-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .vm-login-page {
        grid-template-columns: 1fr;
    }

    .vm-signup-shell {
        grid-template-columns: 1fr;
    }

    .vm-signup-addon-grid {
        grid-template-columns: 1fr;
    }

    .vm-login-brand-panel {
        min-height: 300px;
        padding: 2.5rem 2rem;
    }

    .vm-sidebar {
        display: none;
    }

    .vm-mobile-nav-shell {
        display: block;
    }

    .vm-topbar,
    .vm-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .vm-detail-grid {
        grid-template-columns: 1fr;
    }

    .vm-trend-stat-stack {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .vm-metrics {
        grid-template-columns: 1fr;
    }

    .vm-topbar {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 1rem;
    }

    .vm-mobile-nav-toggle {
        flex-direction: column;
        align-items: flex-start;
    }

    .vm-mobile-nav-current {
        text-align: left;
    }

    .vm-page-title {
        font-size: 1.6rem;
    }

    .vm-card-body {
        padding: 1rem;
    }

    .vm-stall-item,
    .vm-market-header,
    .vm-market-admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .vm-signup-plan-top,
    .vm-signup-addon-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .vm-market-admin-actions {
        width: 100%;
    }

    .vm-trend-headline {
        font-size: 1.55rem;
    }

    .vm-trend-focus-value {
        font-size: 1.55rem;
    }
}
