:root {
    --vs-modern-navy: #102a43;
    --vs-modern-blue: #1467d9;
    --vs-modern-blue-dark: #0a4db3;
    --vs-modern-blue-soft: #eaf3ff;
    --vs-modern-bg: #f4f7fb;
    --vs-modern-surface: #ffffff;
    --vs-modern-border: #dce5ef;
    --vs-modern-text: #172b3d;
    --vs-modern-muted: #63788d;
    --vs-modern-danger: #c43636;
    --vs-modern-shadow: 0 14px 38px rgba(24, 49, 83, 0.12);
}

.vs-login-experience {
    width: min(403px, calc(100vw - 28px));
    display: grid;
    gap: 10px;
}

.vs-login-experience .vs-login-form {
    width: 100%;
}

.vs-login-presentation-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 5px;
    border: 1px solid #7c7c7c;
    border-radius: 6px;
    background: #dedede;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.vs-login-presentation-button {
    min-height: 48px;
    display: grid;
    justify-items: start;
    gap: 2px;
    padding: 7px 10px;
    border: 1px solid #9b9b9b;
    border-radius: 4px;
    background: #f5f5f5;
    color: #2f3337;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.vs-login-presentation-button span {
    color: #666;
    font-size: .72rem;
}

.vs-login-presentation-button.active {
    border-color: #0067c0;
    background: #e6f2ff;
    box-shadow: inset 0 0 0 1px #0067c0;
}

.vs-login-experience-modern {
    position: fixed;
    inset: 0;
    z-index: 1;
    width: auto;
    min-height: 100dvh;
    box-sizing: border-box;
    place-content: center;
    justify-items: center;
    padding: 24px;
    overflow: auto;
    background:
        radial-gradient(circle at 15% 15%, rgba(20, 103, 217, .17), transparent 34%),
        radial-gradient(circle at 85% 80%, rgba(10, 77, 179, .13), transparent 30%),
        var(--vs-modern-bg);
}

.vs-login-experience-modern .vs-login-presentation-toggle,
.vs-login-experience-modern .vs-login-form {
    width: min(440px, calc(100vw - 32px));
}

.vs-login-experience-modern .vs-login-presentation-toggle {
    border-color: var(--vs-modern-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--vs-modern-shadow);
}

.vs-login-experience-modern .vs-login-presentation-button {
    border-color: transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--vs-modern-text);
}

.vs-login-experience-modern .vs-login-presentation-button span {
    color: var(--vs-modern-muted);
}

.vs-login-experience-modern .vs-login-presentation-button.active {
    border-color: var(--vs-modern-blue);
    background: var(--vs-modern-blue-soft);
    box-shadow: none;
}

.vs-login-experience-modern .vs-login-form {
    border: 1px solid var(--vs-modern-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 75px rgba(16, 42, 67, .2);
}

.vs-login-experience-modern .vs-form-caption {
    min-height: 54px;
    padding: 10px 16px;
    border-color: var(--vs-modern-border);
    background: #fff;
    color: var(--vs-modern-navy);
    font-size: 1rem;
}

.vs-login-experience-modern .vs-login-body {
    gap: 14px;
    padding: 10px 24px 24px;
}

.vs-modern-login-mark {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 4px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--vs-modern-blue), var(--vs-modern-blue-dark));
    color: #fff !important;
    font-size: 1.8rem !important;
    font-weight: 850 !important;
    box-shadow: 0 12px 28px rgba(20, 103, 217, .24);
}

.vs-login-experience-modern .vs-login-brand small {
    color: var(--vs-modern-blue);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.vs-login-experience-modern .vs-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
}

.vs-login-experience-modern .vs-textbox {
    min-height: 44px;
    border-color: #b9c8d7;
    border-radius: 10px;
    padding: 9px 11px;
}

.vs-login-experience-modern .vs-login-command-row .vs-primary-button {
    width: 100%;
    min-height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--vs-modern-blue), var(--vs-modern-blue-dark));
    font-weight: 750;
}

.vs-login-experience-modern .vs-login-modal-backdrop {
    background: rgba(12, 29, 48, 0.48);
    backdrop-filter: blur(4px);
}

.vs-login-modal-window-modern {
    border: 0;
    border-radius: 18px;
    background: var(--vs-modern-surface);
    box-shadow: 0 28px 80px rgba(12, 31, 53, 0.32);
}

.vs-login-modal-window-modern > .vs-winforms-form {
    border: 0;
    box-shadow: none;
}

.vs-license-form-modern,
.vs-registration-form-modern {
    border-color: var(--vs-modern-border);
    border-radius: 18px;
    background: var(--vs-modern-surface);
    color: var(--vs-modern-text);
    box-shadow: var(--vs-modern-shadow);
}

.vs-license-form-modern .vs-form-caption,
.vs-registration-form-modern .vs-form-caption {
    min-height: 54px;
    padding: 12px 18px;
    border-color: var(--vs-modern-border);
    background: #fff;
    color: var(--vs-modern-navy);
    font-size: 1rem;
    font-weight: 750;
}

.vs-license-form-modern .vs-form-body,
.vs-registration-form-modern .vs-form-body {
    gap: 16px;
    padding: 20px;
    background: var(--vs-modern-surface);
}

.vs-modern-license-intro {
    display: grid;
    gap: 5px;
    padding: 15px 16px;
    border: 1px solid #cfe0f3;
    border-radius: 13px;
    background: linear-gradient(145deg, #f7fbff, var(--vs-modern-blue-soft));
}

.vs-modern-license-intro > span {
    color: var(--vs-modern-blue);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vs-modern-license-intro > strong {
    color: var(--vs-modern-navy);
    font-size: 1rem;
}

.vs-modern-license-intro > p {
    margin: 0;
    color: var(--vs-modern-muted);
    font-size: .78rem;
    line-height: 1.45;
}

.vs-license-form-modern .vs-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
}

.vs-license-form-modern .vs-textbox,
.vs-registration-form-modern .vs-textbox {
    min-height: 44px;
    box-sizing: border-box;
    border-color: #b9c8d7;
    border-radius: 10px;
    background: #fff;
    color: var(--vs-modern-text);
}

.vs-license-form-modern .vs-textbox:focus,
.vs-registration-form-modern .vs-textbox:focus {
    border-color: var(--vs-modern-blue);
    outline: 3px solid rgba(20, 103, 217, .14);
    outline-offset: 0;
}

.vs-license-form-modern .vs-winforms-button,
.vs-registration-form-modern .vs-winforms-button {
    min-height: 42px;
    border-radius: 9px;
    box-shadow: none;
}

.vs-license-form-modern .vs-primary-button,
.vs-registration-form-modern .vs-primary-button {
    border-color: var(--vs-modern-blue);
    background: linear-gradient(135deg, var(--vs-modern-blue), var(--vs-modern-blue-dark));
    color: #fff;
}

.vs-registration-form-modern .vs-winforms-group {
    border-color: var(--vs-modern-border);
    border-radius: 12px;
    background: #fff;
}

.vs-registration-form-modern .vs-winforms-group > legend {
    color: var(--vs-modern-navy);
    font-weight: 750;
}

html.vs-pwa-device .vs-login-presentation-toggle {
    display: none;
}

.vs-presentation-choice {
    margin: 5px 0 2px;
    padding: 0;
    border: 0;
}

.vs-presentation-choice legend {
    margin-bottom: 7px;
    color: #344b5f;
    font-size: 0.82rem;
    font-weight: 700;
}

.vs-presentation-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.vs-presentation-option {
    min-height: 64px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #aebdcc;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.vs-presentation-option:has(input:checked) {
    border-color: var(--vs-modern-blue);
    background: var(--vs-modern-blue-soft);
    box-shadow: 0 0 0 1px var(--vs-modern-blue);
}

.vs-presentation-option input {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    accent-color: var(--vs-modern-blue);
}

.vs-presentation-option-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.vs-presentation-option-copy strong {
    color: var(--vs-modern-text);
    font-size: 0.86rem;
}

.vs-presentation-option-copy small {
    color: var(--vs-modern-muted);
    font-size: 0.72rem;
    line-height: 1.25;
}

.vs-presentation-switch {
    min-height: 36px;
    order: 2;
    margin-left: auto;
    padding: 0 13px;
    border: 1px solid var(--vs-modern-border);
    border-radius: 8px;
    background: #fff;
    color: var(--vs-modern-blue-dark);
    font: 600 0.82rem/1 "Segoe UI", sans-serif;
    cursor: pointer;
}

.vs-presentation-switch:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vs-presentation-modern {
    --vs-window-bg: var(--vs-modern-bg);
    --vs-form-bg: var(--vs-modern-surface);
    --vs-form-border: var(--vs-modern-border);
    --vs-caption-bg-start: var(--vs-modern-surface);
    --vs-caption-bg-end: var(--vs-modern-surface);
    --vs-caption-border: var(--vs-modern-border);
    --vs-text: var(--vs-modern-text);
    --vs-muted: var(--vs-modern-muted);
    --vs-input-border: #b9c8d7;
    --vs-accent: var(--vs-modern-blue);
    --vs-accent-strong: var(--vs-modern-blue-dark);
    min-height: 100dvh;
    background: var(--vs-modern-bg);
    color: var(--vs-modern-text);
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

.vs-presentation-modern .vs-principal-titlebar {
    min-height: 64px;
    box-sizing: border-box;
    padding: 10px 20px;
    border: 0;
    border-bottom: 1px solid var(--vs-modern-border);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 3px 14px rgba(22, 48, 79, 0.06);
}

.vs-modern-page-title {
    min-width: 128px;
    display: grid;
    gap: 1px;
}

.vs-modern-page-title small {
    color: var(--vs-modern-muted);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vs-modern-page-title strong {
    color: var(--vs-modern-navy);
    font-size: 1.12rem;
}

.vs-modern-global-search {
    width: min(440px, 38vw);
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
    padding: 0 11px;
    border: 1px solid var(--vs-modern-border);
    border-radius: 9px;
    background: #fff;
    color: var(--vs-modern-muted);
}

.vs-modern-global-search input {
    min-width: 0;
    flex: 1 1 auto;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--vs-modern-text);
}

.vs-modern-user-chip {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    order: 1;
    margin-left: auto;
}

.vs-modern-user-chip > span {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--vs-modern-blue-soft);
    color: var(--vs-modern-blue);
    font-size: 0.72rem;
    font-weight: 850;
}

.vs-modern-user-chip > strong {
    max-width: 130px;
    overflow: hidden;
    color: var(--vs-modern-navy);
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-modern-sidebar-brand {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 2px 10px 12px;
    color: var(--vs-modern-blue);
}

.vs-modern-sidebar-brand > span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px 3px 9px 3px;
    background: linear-gradient(145deg, #0a54c7, #2384ef);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    transform: skewX(-8deg);
}

.vs-modern-sidebar-brand > strong {
    font-size: 1.18rem;
    letter-spacing: -0.025em;
}

.vs-modern-sidebar-company {
    min-height: 54px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 0 4px 14px;
    padding: 7px 8px;
    border: 1px solid var(--vs-modern-border);
    border-radius: 9px;
    background: #f8fbff;
}

.vs-modern-sidebar-company > span:first-child {
    color: var(--vs-modern-blue);
    font-size: 1.05rem;
    text-align: center;
}

.vs-modern-sidebar-company > span:last-child {
    min-width: 0;
    display: grid;
}

.vs-modern-sidebar-company strong,
.vs-modern-sidebar-company small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-modern-sidebar-company strong {
    color: var(--vs-modern-navy);
    font-size: 0.75rem;
}

.vs-modern-sidebar-company small {
    color: var(--vs-modern-muted);
    font-size: 0.62rem;
}

.vs-presentation-modern .vs-principal-system-name {
    color: var(--vs-modern-navy);
    font-size: 1.22rem;
    letter-spacing: -0.02em;
}

.vs-presentation-modern .vs-principal-company {
    color: var(--vs-modern-text);
}

.vs-presentation-modern .vs-principal-logout {
    min-height: 36px;
    order: 3;
    border: 0;
    border-radius: 8px;
    background: var(--vs-modern-blue);
    color: #fff;
    font-weight: 700;
    box-shadow: none;
}

.vs-presentation-modern .vs-principal-workspace {
    min-width: 0;
    min-height: 0;
    padding: 18px;
    background: var(--vs-modern-bg);
}

.vs-modern-dashboard {
    width: min(1500px, 100%);
    min-width: 0;
    display: grid;
    align-self: stretch;
    gap: 16px;
}

.vs-modern-dashboard-heading {
    min-width: 0;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.vs-modern-dashboard-heading :is(h1, p),
.vs-modern-section-heading h2 {
    margin: 0;
}

.vs-modern-dashboard-heading h1 {
    color: var(--vs-modern-navy);
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    letter-spacing: -0.035em;
}

.vs-modern-dashboard-heading p {
    margin-top: 4px;
    color: var(--vs-modern-muted);
    font-size: 0.86rem;
}

.vs-modern-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--vs-modern-blue);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.vs-modern-dashboard-filters {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 8px;
}

.vs-modern-dashboard-filters label {
    display: grid;
    gap: 4px;
}

.vs-modern-dashboard-filters label > span {
    color: var(--vs-modern-muted);
    font-size: 0.68rem;
    font-weight: 750;
}

.vs-modern-dashboard-filters :is(input, select) {
    min-width: 128px;
    min-height: 40px;
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid var(--vs-modern-border);
    border-radius: 8px;
    background: #fff;
    color: var(--vs-modern-text);
}

.vs-modern-filter-button {
    min-height: 40px;
    padding: 0 15px;
    border: 0;
    border-radius: 8px;
    background: var(--vs-modern-blue);
    color: #fff;
    font-weight: 750;
}

.vs-modern-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.vs-modern-kpi {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border: 1px solid var(--vs-modern-border);
    border-radius: 12px;
    background: var(--vs-modern-surface);
    box-shadow: 0 6px 20px rgba(22, 50, 82, 0.05);
}

.vs-modern-kpi > span {
    color: var(--vs-modern-muted);
    font-size: 0.74rem;
    font-weight: 750;
}

.vs-modern-kpi > strong {
    overflow: hidden;
    color: var(--vs-modern-navy);
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    letter-spacing: -0.03em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-modern-kpi > small {
    color: var(--vs-modern-muted);
    font-size: 0.68rem;
}

.vs-modern-kpi-primary {
    border-left: 4px solid var(--vs-modern-blue);
}

.vs-modern-kpi-success {
    border-left: 4px solid #1e9b67;
}

.vs-modern-kpi-danger {
    border-left: 4px solid var(--vs-modern-danger);
}

.vs-modern-dashboard-context {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(340px, 1.2fr);
    gap: 11px;
}

.vs-modern-dashboard-context > section {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--vs-modern-border);
    border-radius: 12px;
    background: #fff;
}

.vs-modern-dashboard-context h2 {
    margin: 0 0 10px;
    color: var(--vs-modern-navy);
    font-size: 0.9rem;
}

.vs-modern-notification-list,
.vs-modern-activity-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vs-modern-notification-list li {
    min-height: 38px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 5px 8px;
    border-radius: 8px;
    background: #fff6e7;
    color: #765118;
}

.vs-modern-notification-list li[data-severity="danger"] {
    background: #fff0f0;
    color: #8d2d2d;
}

.vs-modern-notification-list li > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.73rem;
}

.vs-modern-notification-list strong {
    font-size: 0.76rem;
}

.vs-modern-activity-list li {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
}

.vs-modern-activity-list li > span:nth-child(2) {
    min-width: 0;
    display: grid;
}

.vs-modern-activity-list strong,
.vs-modern-activity-list small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-modern-activity-list strong {
    font-size: 0.76rem;
}

.vs-modern-activity-list small {
    color: var(--vs-modern-muted);
    font-size: 0.66rem;
}

.vs-modern-activity-list .vs-modern-activity-note {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.vs-modern-activity-list b {
    color: var(--vs-modern-navy);
    font-size: 0.74rem;
}

.vs-modern-activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8a9aad;
}

.vs-modern-activity-dot[data-type="cobro"] {
    background: #1e9b67;
}

.vs-modern-activity-dot[data-type="seguimiento"] {
    background: #f09a36;
}

.vs-modern-dashboard-error {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid #efb2b2;
    border-radius: 9px;
    background: #fff1f1;
    color: #8d2d2d;
}

.vs-modern-dashboard-error button {
    min-height: 34px;
    border: 0;
    border-radius: 7px;
    background: #8d2d2d;
    color: #fff;
}

.vs-modern-diaadia-section {
    min-width: 0;
    display: grid;
    gap: 9px;
}

.vs-modern-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.vs-modern-section-heading h2 {
    color: var(--vs-modern-navy);
    font-size: 1.12rem;
}

.vs-modern-muted {
    color: var(--vs-modern-muted);
}

.vs-presentation-modern .vs-principal-embedded-diaadia {
    width: min(1500px, 100%);
    height: 100%;
    max-height: none;
    border: 0;
    border-radius: 14px;
    background: var(--vs-modern-surface);
    box-shadow: var(--vs-modern-shadow);
}

.vs-modern-diaadia-workspace,
.vs-modern-diaadia-shell {
    --vs-diaadia-modern-border: #dce5ef;
    --vs-diaadia-modern-header: #eef5ff;
    --vs-diaadia-modern-hover: #f4f8fd;
}

.vs-modern-diaadia-tabview,
.vs-modern-diaadia-view {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--vs-modern-text);
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

.vs-modern-diaadia-tab-control {
    border: 0;
    background: transparent;
}

.vs-modern-diaadia-tab-control > .vs-tab-strip {
    gap: 6px;
    padding: 8px;
    border-bottom: 1px solid var(--vs-diaadia-modern-border);
    background: #fff;
}

.vs-modern-diaadia-tab-control > .vs-tab-strip > .vs-tab-button {
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--vs-modern-muted);
    font-weight: 700;
}

.vs-modern-diaadia-tab-control > .vs-tab-strip > .vs-tab-button:hover {
    background: var(--vs-modern-blue-soft);
    color: var(--vs-modern-blue-dark);
}

.vs-modern-diaadia-tab-control > .vs-tab-strip > .vs-tab-button-active {
    border-color: #bdd5f3;
    background: var(--vs-modern-blue-soft);
    color: var(--vs-modern-blue-dark);
    box-shadow: inset 0 0 0 1px rgba(20, 103, 217, .08);
}

.vs-modern-diaadia-tab-control > .vs-diaadia-tabview-page {
    padding: 14px;
    background: var(--vs-modern-bg);
}

.vs-modern-diaadia-view .vs-form-body {
    gap: 12px;
    padding: 0;
    background: transparent;
}

.vs-modern-diaadia-view .vs-toolstrip {
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--vs-diaadia-modern-border);
    border-radius: 12px;
    background: #fff;
}

.vs-modern-diaadia-view .vs-toolstrip :is(.vs-input, .vs-search-input, select) {
    min-height: 42px;
    border-color: #b9c8d7;
    border-radius: 9px;
    background: #fff;
}

.vs-modern-diaadia-view .vs-toolstrip :is(.vs-command-button, .vs-icon-button) {
    min-height: 42px;
    border-color: #c7d6e5;
    border-radius: 9px;
    background: #fff;
    color: var(--vs-modern-blue-dark);
    box-shadow: none;
}

.vs-modern-diaadia-view .vs-toolstrip :is(.vs-command-button, .vs-icon-button):hover:not(:disabled) {
    border-color: var(--vs-modern-blue);
    background: var(--vs-modern-blue-soft);
}

.vs-modern-diaadia-view .vs-grid-shell {
    border: 1px solid var(--vs-diaadia-modern-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(16, 42, 67, .07);
    overflow: auto;
}

.vs-modern-diaadia-view .vs-grid {
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

.vs-modern-diaadia-view .vs-grid th {
    min-height: 42px;
    padding: 10px 9px;
    border-color: var(--vs-diaadia-modern-border);
    background: var(--vs-diaadia-modern-header);
    color: var(--vs-modern-navy);
    font-weight: 750;
}

.vs-modern-diaadia-view .vs-grid td {
    padding: 9px;
    border-color: #e7edf4;
    color: var(--vs-modern-text);
}

.vs-modern-diaadia-view .vs-grid tbody tr:hover {
    background: var(--vs-diaadia-modern-hover);
}

.vs-modern-diaadia-view .vs-grid-button {
    min-height: 34px;
    border-color: #bfd0e1;
    border-radius: 8px;
    background: #fff;
    color: var(--vs-modern-blue-dark);
}

.vs-modern-diaadia-view .vs-inline-alert,
.vs-modern-diaadia-view [class*="vs-inline-alert"] {
    border-radius: 10px;
}

.vs-modern-diaadia-view .vs-grid-empty {
    min-height: 180px;
    padding: 42px 20px;
    color: var(--vs-modern-muted);
    font-size: .95rem;
    text-align: center;
}

.vs-modern-diaadia-prestamos .vs-diaadia-pending-panel {
    border: 1px solid var(--vs-diaadia-modern-border);
    border-radius: 10px;
    background: #fff;
}

.vs-modern-diaadia-ahorros .vs-grid td:nth-child(4) {
    color: var(--vs-modern-navy);
    font-weight: 750;
}

.vs-modern-diaadia-solicitudes .vs-solicitudes-action-row {
    padding: 10px 12px;
    border: 1px solid var(--vs-diaadia-modern-border);
    border-radius: 10px;
    background: #fff;
}

.vs-presentation-modern .vs-winforms-form {
    border-color: var(--vs-modern-border);
    border-radius: 14px;
    background: var(--vs-modern-surface);
    box-shadow: var(--vs-modern-shadow);
}

.vs-presentation-modern .vs-form-caption {
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 14px;
    border-color: var(--vs-modern-border);
    background: var(--vs-modern-surface);
    color: var(--vs-modern-navy);
    font-size: 0.95rem;
    font-weight: 750;
}

.vs-presentation-modern :is(.vs-textbox, select, textarea) {
    min-height: 40px;
    box-sizing: border-box;
    border-color: var(--vs-input-border);
    border-radius: 8px;
    background: #fff;
    color: var(--vs-modern-text);
}

.vs-presentation-modern :is(.vs-textbox, select, textarea):focus {
    border-color: var(--vs-modern-blue);
    outline: 3px solid rgba(20, 103, 217, 0.14);
    outline-offset: 0;
}

.vs-presentation-modern :is(.vs-winforms-button, .vs-primary-button, .vs-icon-button) {
    min-height: 40px;
    border-radius: 8px;
    box-shadow: none;
}

.vs-presentation-modern .vs-primary-button {
    border-color: var(--vs-modern-blue);
    background: var(--vs-modern-blue);
    color: #fff;
}

.vs-presentation-modern .vs-principal-modal-backdrop {
    background: rgba(12, 29, 48, 0.44);
    backdrop-filter: blur(3px);
}

.vs-presentation-modern .vs-principal-modal-window {
    border: 0;
    border-radius: 16px;
    background: var(--vs-modern-surface);
    box-shadow: 0 24px 70px rgba(12, 31, 53, 0.28);
}

.vs-presentation-modern .vs-principal-modal-close {
    width: 36px;
    height: 36px;
    top: 9px;
    right: 10px;
    border: 0;
    border-radius: 50%;
    background: var(--vs-close-background);
    color: #ffffff;
    font-size: 0;
}

.vs-presentation-modern .vs-principal-modal-close:hover {
    background: var(--vs-close-background-hover);
    color: #ffffff;
}

.vs-presentation-modern .vs-principal-modal-close:active {
    background: var(--vs-close-background-pressed);
}

.vs-presentation-modern .vs-principal-modal-close:focus-visible {
    background: var(--vs-close-background);
    color: #ffffff;
}

.vs-presentation-modern .vs-principal-modal-close::after {
    content: "\00d7";
    font-size: 1.35rem;
}

.vs-modern-standalone {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    background: var(--vs-modern-bg);
    color: var(--vs-modern-text);
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

.vs-modern-standalone-header {
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    border-bottom: 1px solid var(--vs-modern-border);
    background: #fff;
}

.vs-modern-standalone-header > div {
    display: grid;
    gap: 1px;
}

.vs-modern-standalone-header small {
    color: var(--vs-modern-muted);
}

.vs-modern-icon-button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--vs-modern-border);
    border-radius: 10px;
    background: #fff;
    color: var(--vs-modern-blue);
    font-size: 1.3rem;
    cursor: pointer;
}

.vs-modern-standalone-content {
    min-width: 0;
    padding: 20px;
    overflow: auto;
}

.vs-modern-standalone-content > .vs-winforms-form {
    margin: 0 auto;
    border-color: var(--vs-modern-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--vs-modern-shadow);
}

.vs-modern-empty-state {
    min-height: 100dvh;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 10px;
    padding: 24px;
    background: var(--vs-modern-bg);
    color: var(--vs-modern-text);
    text-align: center;
}

.vs-modern-empty-state > span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--vs-modern-blue-soft);
    color: var(--vs-modern-blue);
    font-size: 1.6rem;
    font-weight: 800;
}

.vs-modern-empty-state :is(h1, p) {
    margin: 0;
}

.vs-modern-primary-button {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: var(--vs-modern-blue);
    color: #fff;
    font-weight: 750;
}

@media (min-width: 961px) {
    .vs-presentation-modern {
        grid-template-columns: 248px minmax(0, 1fr);
        grid-template-rows: 64px minmax(0, 1fr) 28px;
    }

    .vs-presentation-modern .vs-principal-titlebar {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .vs-presentation-modern .vs-principal-menu {
        grid-column: 1;
        grid-row: 2 / 4;
        min-width: 0;
        min-height: 0;
        display: block;
        padding: 12px 9px 22px;
        border: 0;
        border-right: 1px solid var(--vs-modern-border);
        background: #fff;
        box-shadow: 5px 0 20px rgba(27, 55, 88, 0.045);
        overflow-x: hidden;
        overflow-y: auto;
    }

    .vs-presentation-modern .vs-principal-menu-group {
        position: static;
        margin-bottom: 11px;
    }

    .vs-presentation-modern .vs-principal-menu-root {
        width: 100%;
        height: auto;
        min-height: 28px;
        padding: 5px 10px;
        color: #75899c;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        cursor: default;
    }

    .vs-presentation-modern .vs-principal-menu-root:hover,
    .vs-presentation-modern .vs-principal-menu-root:focus-visible,
    .vs-presentation-modern .vs-principal-menu-root[aria-expanded="true"] {
        background: transparent;
        color: var(--vs-modern-blue);
    }

    .vs-presentation-modern .vs-principal-menu-group > ul {
        position: static;
        width: 100%;
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .vs-presentation-modern .vs-principal-menu-item {
        min-height: 38px;
        margin: 2px 0;
        padding: 7px 10px 7px 14px;
        border-radius: 8px;
        color: #324a60;
        font-size: 0.82rem;
    }

    .vs-presentation-modern .vs-principal-menu-item::before {
        content: "";
        width: 5px;
        height: 5px;
        flex: 0 0 5px;
        border-radius: 50%;
        background: #8db8e9;
    }

    .vs-presentation-modern .vs-principal-menu-item:hover,
    .vs-presentation-modern .vs-principal-menu-item:focus-visible {
        background: var(--vs-modern-blue-soft);
        color: var(--vs-modern-blue-dark);
    }

    .vs-presentation-modern .vs-principal-menu-item-locked {
        color: #a0adba;
    }

    .vs-presentation-modern .vs-principal-menu-separator {
        background: var(--vs-modern-border);
    }

    .vs-presentation-modern .vs-principal-menu-item-active {
        background: linear-gradient(112deg, var(--vs-modern-blue-dark), #167bea);
        color: #fff;
        font-weight: 750;
        box-shadow: 0 6px 14px rgba(20, 103, 217, 0.2);
    }

    .vs-presentation-modern .vs-principal-menu-item-active::before {
        background: #fff;
    }

    .vs-presentation-modern .vs-principal-brand {
        display: none;
    }

    .vs-presentation-modern .vs-principal-workspace {
        grid-column: 2;
        grid-row: 2;
    }

    .vs-presentation-modern .vs-principal-statusbar {
        grid-column: 2;
        grid-row: 3;
        border-color: var(--vs-modern-border);
        background: #fff;
        color: var(--vs-modern-muted);
    }
}

@media (max-width: 960px) {
    .vs-presentation-modern {
        grid-template-rows: auto minmax(0, 1fr);
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
        overflow-x: hidden;
    }

    .vs-presentation-modern .vs-mobile-only {
        display: flex !important;
    }

    .vs-presentation-modern .vs-principal-menu,
    .vs-presentation-modern .vs-principal-statusbar,
    .vs-presentation-modern .vs-principal-logout {
        display: none;
    }

    .vs-presentation-modern .vs-principal-titlebar {
        position: sticky;
        top: 0;
        z-index: 20;
        min-height: 70px;
        padding: max(10px, env(safe-area-inset-top)) 14px 10px;
        background: linear-gradient(112deg, var(--vs-modern-blue-dark), #1688dc);
        color: #fff;
    }

    .vs-presentation-modern .vs-principal-system-name,
    .vs-presentation-modern .vs-principal-company {
        color: #fff;
    }

    .vs-presentation-modern .vs-principal-version,
    .vs-presentation-modern .vs-principal-brand-separator,
    .vs-presentation-modern .vs-principal-company-label {
        display: none;
    }

    .vs-presentation-modern .vs-modern-page-title,
    .vs-presentation-modern .vs-modern-global-search,
    .vs-presentation-modern .vs-modern-user-chip {
        display: none;
    }

    .vs-presentation-modern .vs-principal-workspace {
        display: block;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .vs-presentation-modern .vs-mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 50;
        min-height: calc(76px + env(safe-area-inset-bottom));
        align-items: stretch;
        padding: 5px 8px env(safe-area-inset-bottom);
        border-top: 1px solid var(--vs-modern-border);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -3px 14px rgba(22, 42, 70, 0.08);
    }

    .vs-presentation-modern .vs-mobile-menu-trigger {
        width: 44px;
        height: 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 0;
        border-radius: 9px;
        background: transparent;
    }

    .vs-presentation-modern .vs-mobile-menu-trigger span {
        width: 24px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
    }

    .vs-presentation-options {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-presentation-switch {
        display: none;
    }

    .vs-presentation-modern :is(button, .vs-winforms-button, .vs-icon-button, input, select) {
        min-height: 44px;
    }

    .vs-modern-standalone-content {
        padding: 12px;
    }

    .vs-modern-dashboard {
        gap: 13px;
        padding: 14px 12px calc(18px + env(safe-area-inset-bottom));
        box-sizing: border-box;
    }

    .vs-modern-dashboard-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .vs-modern-dashboard-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vs-modern-dashboard-filters label:first-child {
        grid-column: 1 / -1;
    }

    .vs-modern-dashboard-filters :is(input, select) {
        width: 100%;
        min-width: 0;
    }

    .vs-modern-filter-button {
        grid-column: 1 / -1;
    }

    .vs-modern-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vs-modern-dashboard-context {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-modern-dashboard .vs-principal-embedded-diaadia {
        border-radius: 12px;
        overflow: hidden;
    }

    .vs-modern-diaadia-tabview,
    .vs-modern-diaadia-view {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        overflow: visible;
    }

    .vs-modern-diaadia-tab-control > .vs-tab-strip {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        padding: 6px;
        overflow: visible;
    }

    .vs-modern-diaadia-tab-control > .vs-tab-strip > .vs-tab-button {
        min-width: 0;
        padding: 8px 5px;
        font-size: .78rem;
        line-height: 1.15;
        white-space: normal;
    }

    .vs-modern-diaadia-tab-control > .vs-diaadia-tabview-page {
        padding: 10px;
    }

    .vs-modern-diaadia-view .vs-grid-shell {
        box-shadow: none;
    }

    .vs-modern-standalone-content > .vs-winforms-form {
        width: 100% !important;
        max-width: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (max-width: 430px) {
    .vs-modern-kpi-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-presentation-modern *,
    .vs-modern-standalone * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
