.va-wrapper {
    --va-blue: #6ea8e6;
    --va-blue-dark: #3d79bf;
    --va-border: #cfd8e3;
    --va-bg: #f7f9fc;
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    border: 1px solid var(--va-border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.va-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.va-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.va-subtitle {
    color: #52606d;
    margin-top: 4px;
}

.va-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.va-nav-btn {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--va-border);
    border-radius: 10px;
    text-decoration: none;
    background: #fff;
}

.va-status {
    min-height: 24px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #44515d;
}

.va-status.is-error {
    color: #b42318;
}

.va-status.is-success {
    color: #067647;
}

.va-status.is-saving {
    color: #175cd3;
}

.va-table-wrap {
    overflow: auto;
    background: var(--va-bg);
    border: 1px solid var(--va-border);
    border-radius: 12px;
}

.va-table {
    border-collapse: collapse;
    min-width: 100%;
    width: max-content;
    background: #fff;
}

.va-table th,
.va-table td {
    border: 1px solid var(--va-border);
    padding: 0;
    vertical-align: top;
}

.va-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--va-blue);
    color: #000;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    min-width: 140px;
    padding: 10px 12px;
}

.va-date-col {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #d6ebff;
    min-width: 150px;
    width: 150px;
    text-align: right;
    padding: 10px 12px !important;
    white-space: nowrap;
    font-weight: 700;
}

.va-table thead .va-date-col {
    z-index: 4;
    text-align: left;
}

.va-date-col.is-weekend {
    font-weight: 800;
}

.va-cell {
    display: block;
    width: 100%;
    min-width: 140px;
    min-height: 72px;
    border: 0;
    resize: vertical;
    padding: 10px 12px;
    background: #f0f0f0;
    font-size: 16px;
    line-height: 1.3;
    box-sizing: border-box;
}

.va-cell:focus {
    outline: 3px solid rgba(61, 121, 191, 0.25);
    background: #fffceb;
}

.va-cell.is-saving {
    background: #eef4ff;
}

.va-cell.is-updated {
    animation: vaFlash 1.2s ease;
}

.va-help {
    margin: 12px 0 0;
    font-size: 14px;
    color: #52606d;
}

@keyframes vaFlash {
    0% {
        background: #e6f4ea;
    }
    100% {
        background: #f0f0f0;
    }
}

@media (max-width: 782px) {
    .va-wrapper {
        padding: 10px;
        border-radius: 10px;
    }

    .va-title {
        font-size: 20px;
    }

    .va-table thead th {
        font-size: 18px;
        min-width: 120px;
        padding: 8px 10px;
    }

    .va-date-col {
        min-width: 110px;
        width: 110px;
        font-size: 14px;
        padding: 8px 10px !important;
    }

    .va-cell {
        min-width: 120px;
        min-height: 68px;
        font-size: 15px;
        padding: 8px 10px;
    }
}
