h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

#blazor-error-ui {
    display: none;
}

:root {
    --vs-window-bg: #a6a6a6;
    --vs-form-bg: #f0f0f0;
    --vs-form-border: #606060;
    --vs-caption-bg-start: #f9f9f9;
    --vs-caption-bg-end: #d7d7d7;
    --vs-caption-border: #ababab;
    --vs-text: #1f2328;
    --vs-muted: #5f6368;
    --vs-input-bg: #ffffff;
    --vs-input-border: #9e9e9e;
    --vs-accent: #0067c0;
    --vs-accent-strong: #00549f;
    --vs-danger: #b3261e;
    --vs-close-background: #c42b1c;
    --vs-close-background-hover: #a82318;
    --vs-close-background-pressed: #8f1d14;
    --vs-close-focus-ring: rgba(196, 43, 28, 0.35);
    --vs-warning: #9a5d00;
    --vs-info: #0f5f7a;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

html,
body {
    min-height: 100%;
    margin: 0;
    background: var(--vs-window-bg);
    color: var(--vs-text);
}

.vs-login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 14px;
    background: var(--vs-window-bg);
    color: var(--vs-text);
}

.vs-winforms-form {
    width: min(460px, 100%);
    border: 1px solid var(--vs-form-border);
    border-radius: 4px;
    background: var(--vs-form-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.vs-winforms-form-scrollbar {
    max-height: calc(100vh - 28px);
    overflow-x: hidden;
    overflow-y: auto;
}

.vs-login-form {
    width: min(403px, 100%);
}

.vs-license-form {
    width: min(430px, 100%);
}

.vs-recovery-form,
.vs-registration-form,
.vs-admin-user-form {
    width: min(620px, 100%);
}

.vs-winforms-form-scrollbar {
    max-height: calc(100vh - 24px);
    overflow-x: hidden;
    overflow-y: auto;
}

.vs-prestamo-register-form {
    width: min(608px, 100%);
}

.vs-suscripcion-register-form {
    width: min(359px, 100%);
    min-height: 260px;
    overflow-x: hidden;
}

.vs-suscripcion-register-canvas {
    min-height: 226px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
    gap: 5px;
    padding: 12px;
    box-sizing: border-box;
    background: var(--vs-form-bg);
}

.vs-suscripcion-selector-row {
    display: grid;
    grid-template-columns: 41px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
    min-height: 29px;
}

.vs-suscripcion-selector-row .vs-icon-button {
    width: 41px;
    height: 29px;
}

.vs-suscripcion-company-icon {
    color: #c26b00;
}

.vs-suscripcion-selected-text {
    min-width: 0;
    overflow: hidden;
    color: var(--vs-text);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-suscripcion-tab-control {
    min-height: 130px;
    display: grid;
    align-items: stretch;
    border: 1px solid #9f9f9f;
    background: #d3d3d3;
}

.vs-suscripcion-tab-page {
    position: relative;
    min-height: 102px;
    margin: 4px;
    padding: 10px 8px 20px;
    border: 1px solid #b4b4b4;
    background: #d3d3d3;
}

.vs-suscripcion-tab-title {
    position: absolute;
    right: 8px;
    bottom: -1px;
    min-width: 70px;
    padding: 2px 8px;
    border: 1px solid #9f9f9f;
    border-top: 0;
    background: var(--vs-form-bg);
    font-size: 12px;
    text-align: center;
}

.vs-suscripcion-general-grid {
    display: grid;
    grid-template-columns: 96px minmax(0, 136px);
    gap: 6px;
    align-items: start;
}

.vs-suscripcion-general-grid label {
    align-self: center;
    text-align: right;
}

.vs-suscripcion-general-grid .vs-textbox {
    min-height: 23px;
    padding: 2px 5px;
    font-size: 12px;
}

.vs-suscripcion-command-row {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    min-height: 40px;
}

.vs-suscripcion-command-button {
    width: 57px;
    min-height: 40px;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    border: 1px solid #a6a6a6;
    border-radius: 4px;
    background: #ffffe1;
    color: #1c222e;
    padding: 4px 3px;
    font-size: 11px;
    line-height: 1.1;
    cursor: pointer;
}

.vs-suscripcion-command-button:disabled {
    cursor: default;
    opacity: 0.55;
}

.vs-suscripcion-new-command {
    color: #008000;
}

.vs-suscripcion-cancel-command {
    color: #b3261e;
}

.vs-suscripcion-save-command {
    color: #0000cd;
}

.vs-principal-modal-window-suscripciones-diaadia,
.vs-principal-modal-window-empresa-suscriptora {
    width: min(1080px, calc(100vw - 28px));
}

.vs-suscripciones-diaadia-form,
.vs-suscripciones-report-form,
.vs-empresa-suscriptora-form {
    width: min(1040px, 100%);
}

.vs-suscripciones-list-body,
.vs-empresa-suscriptora-body,
.vs-suscripciones-listado {
    min-width: 0;
}

.vs-suscripciones-listado {
    display: grid;
    gap: 10px;
}

.vs-suscripciones-toolbar,
.vs-empresa-suscriptora-search {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto auto;
    gap: 8px;
    align-items: center;
}

.vs-empresa-suscriptora-search {
    grid-template-columns: minmax(220px, 1fr) auto;
}

.vs-command-button-primary {
    border-color: var(--vs-accent);
    background: linear-gradient(#0a78d1, var(--vs-accent));
    color: #ffffff;
}

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

.vs-suscripciones-summary span {
    padding: 9px 12px;
    border: 1px solid var(--vs-input-border);
    border-radius: 4px;
    background: var(--vs-input-bg);
}

.vs-suscripciones-grid-shell,
.vs-empresa-suscriptora-grid-shell {
    min-height: 300px;
    max-height: min(560px, calc(100vh - 250px));
}

.vs-empresa-suscriptora-fields {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr) 110px minmax(0, 1fr);
    gap: 8px 10px;
    align-items: center;
}

.vs-empresa-suscriptora-fields label {
    text-align: right;
}

.vs-empresa-suscriptora-actions {
    justify-content: flex-end;
}

.vs-suscripciones-child-modal {
    z-index: 48;
}

.vs-cliente-shell {
    min-height: 100vh;
    display: grid;
    place-items: start center;
    padding: 14px;
    background: var(--vs-window-bg);
}

.vs-cliente-form {
    width: min(980px, 100%);
}

.vs-cliente-body {
    gap: 9px;
}

.vs-cliente-edit-badge {
    font-weight: 500;
    color: var(--vs-muted);
}

.vs-cliente-search-box {
    justify-self: end;
    width: min(360px, 100%);
    padding: 8px;
}

.vs-cliente-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
}

.vs-tab-strip {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid #8d8d8d;
}

.vs-tab-button {
    min-height: 30px;
    border: 1px solid #9b9b9b;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(#f8f8f8, #dfdfdf);
    color: var(--vs-text);
    padding: 5px 12px;
    font: inherit;
    cursor: pointer;
}

.vs-tab-button-active {
    position: relative;
    top: 1px;
    background: var(--vs-form-bg);
    font-weight: 600;
}

.vs-tab-page {
    min-height: 326px;
    padding-top: 4px;
}

.vs-cliente-general-grid {
    display: grid;
    grid-template-columns: minmax(330px, 0.48fr) minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.vs-cliente-form-row {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 6px;
}

.vs-cliente-form-row .vs-winforms-button {
    min-width: 92px;
}

.vs-cliente-small-button {
    min-width: 82px;
    min-height: 30px;
    padding: 4px 8px;
}

.vs-cliente-address-group,
.vs-cliente-phone-group,
.vs-cliente-email-group {
    min-width: 0;
}

.vs-cliente-address-group {
    grid-column: 2;
}

.vs-cliente-phone-group,
.vs-cliente-email-group {
    grid-column: 1 / -1;
}

.vs-cliente-wide-row {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
}

.vs-cliente-address-grid {
    display: grid;
    grid-template-columns: 74px minmax(120px, 1fr) 68px minmax(140px, 1fr);
    gap: 8px 6px;
    align-items: center;
}

.vs-cliente-location-row {
    display: grid;
    grid-template-columns: 55px minmax(90px, 154px) 66px minmax(90px, 154px) auto;
    gap: 6px;
    align-items: start;
}

.vs-cliente-map-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

.vs-cliente-map-row a {
    color: #0645ad;
    font-size: 0.9em;
}

.vs-cliente-four-grid,
.vs-cliente-two-grid {
    display: grid;
    gap: 8px 6px;
    align-items: center;
}

.vs-cliente-four-grid {
    grid-template-columns: 52px minmax(70px, 1fr) 40px minmax(70px, 1fr) 66px minmax(70px, 1fr) 42px minmax(70px, 1fr);
}

.vs-cliente-two-grid {
    grid-template-columns: 64px minmax(120px, 1fr) 42px minmax(120px, 1fr);
}

.vs-cliente-work-group {
    min-height: 238px;
}

.vs-cliente-work-grid,
.vs-cliente-income-grid {
    display: grid;
    gap: 8px 6px;
    align-items: center;
}

.vs-cliente-work-grid {
    grid-template-columns: 104px minmax(170px, 1.3fr) 72px minmax(130px, 1fr) 52px minmax(150px, 1fr);
}

.vs-cliente-work-grid-second {
    grid-template-columns: 74px minmax(110px, 1fr) 82px minmax(130px, 1fr) 132px minmax(128px, auto) 42px minmax(84px, auto);
}

.vs-cliente-income-grid {
    grid-template-columns: 74px minmax(110px, 0.8fr) 104px minmax(110px, 0.8fr) 72px minmax(180px, 1.4fr);
}

.vs-cliente-work-notes textarea {
    min-height: 58px;
    resize: vertical;
}

.vs-checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vs-checkbox-inline input {
    width: 16px;
    height: 16px;
}

.vs-textbox-error {
    border-color: var(--vs-danger);
    box-shadow: 0 0 0 2px rgba(179, 38, 30, 0.12);
}

.vs-field-error {
    margin-top: 3px;
    color: var(--vs-danger);
    font-size: 0.86em;
    line-height: 1.25;
}

.vs-cliente-results {
    gap: 8px;
}

.vs-cliente-table-wrap {
    max-height: 230px;
    overflow: auto;
    border: 1px solid #9b9b9b;
    background: var(--vs-input-bg);
}

.vs-cliente-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.vs-cliente-table th,
.vs-cliente-table td {
    border-bottom: 1px solid #c8c8c8;
    padding: 5px 7px;
    text-align: left;
    white-space: nowrap;
}

.vs-cliente-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--vs-form-bg);
    font-weight: 600;
}

.vs-cliente-table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.04);
}

.vs-cliente-select-button {
    min-width: 92px;
    min-height: 28px;
    padding: 3px 8px;
}

.vs-cliente-command-row {
    margin-top: 0;
}

.vs-icon-search,
.vs-icon-edit,
.vs-icon-add,
.vs-icon-location {
    width: 14px;
    height: 14px;
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    color: currentColor;
}

.vs-icon-search::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 1px;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.vs-icon-search::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 1px;
    width: 7px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: center;
}

.vs-icon-edit::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 11px;
    height: 3px;
    border-radius: 1px;
    background: currentColor;
    transform: rotate(-35deg);
}

.vs-icon-edit::after {
    content: "";
    position: absolute;
    left: 1px;
    bottom: 1px;
    width: 9px;
    height: 1px;
    background: currentColor;
}

.vs-icon-add::before,
.vs-icon-add::after {
    content: "";
    position: absolute;
    background: currentColor;
}

.vs-icon-add::before {
    left: 1px;
    right: 1px;
    top: 6px;
    height: 2px;
}

.vs-icon-add::after {
    top: 1px;
    bottom: 1px;
    left: 6px;
    width: 2px;
}

.vs-icon-location::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 0;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.vs-icon-location::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

.vs-form-caption {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 9px;
    background: linear-gradient(var(--vs-caption-bg-start), var(--vs-caption-bg-end));
    border-bottom: 1px solid var(--vs-caption-border);
    font-size: 0.92rem;
    font-weight: 600;
}

.vs-form-body {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 14px;
    font-size: 0.93rem;
}

.vs-login-body {
    min-height: 178px;
}

.vs-login-brand {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 2px 0 6px;
    text-align: center;
}

.vs-login-brand strong {
    color: var(--vs-text);
    font-size: 1.08em;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
}

.vs-login-brand span {
    color: var(--vs-muted);
    font-size: 0.92em;
    font-weight: 600;
    line-height: 1.2;
}

.vs-form-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.vs-label {
    color: var(--vs-text);
}

.vs-textbox {
    width: 100%;
    min-height: 30px;
    box-sizing: border-box;
    border: 1px solid var(--vs-input-border);
    border-radius: 3px;
    background: var(--vs-input-bg);
    color: var(--vs-text);
    padding: 5px 7px;
    font: inherit;
}

.vs-textbox:focus {
    border-color: var(--vs-accent);
    box-shadow: 0 0 0 2px rgba(0, 103, 192, 0.18);
    outline: none;
}

.vs-field-invalid {
    border-color: var(--vs-danger);
}

.vs-field-error {
    color: var(--vs-danger);
    font-size: 0.78rem;
    line-height: 1.2;
}

.vs-textbox[readonly] {
    background: #f8f8f8;
}

.vs-checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 94px;
    min-height: 24px;
}

.vs-checkbox-row input {
    width: 16px;
    height: 16px;
}

.vs-command-row,
.vs-login-command-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.vs-login-command-row {
    justify-content: center;
}

.vs-winforms-button {
    min-width: 96px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #8a8a8a;
    border-radius: 4px;
    background: linear-gradient(#ffffff, #e5e5e5);
    color: var(--vs-text);
    padding: 6px 12px;
    font: inherit;
    cursor: pointer;
}

.vs-winforms-button:hover:not(:disabled) {
    border-color: var(--vs-accent);
    background: linear-gradient(#ffffff, #dceeff);
}

.vs-winforms-button:disabled,
.vs-link-button:disabled,
.vs-winforms-icon-action:disabled {
    cursor: default;
    opacity: 0.65;
}

.vs-primary-button {
    border-color: var(--vs-accent-strong);
    background: linear-gradient(#0a7de0, var(--vs-accent));
    color: #ffffff;
}

.vs-primary-button:hover:not(:disabled) {
    background: linear-gradient(#1989ea, var(--vs-accent-strong));
}

.vs-winforms-icon-action {
    width: 30px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #8a8a8a;
    border-radius: 4px;
    background: linear-gradient(#ffffff, #e5e5e5);
    color: var(--vs-muted);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.vs-winforms-icon-action:hover:not(:disabled) {
    border-color: var(--vs-accent);
    color: var(--vs-accent);
}

.vs-winforms-save-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    position: relative;
    border: 1px solid currentColor;
    border-radius: 2px;
}

.vs-winforms-save-icon::before {
    content: "";
    position: absolute;
    left: 3px;
    right: 3px;
    bottom: 2px;
    height: 4px;
    border-top: 1px solid currentColor;
}

.vs-prestamo-register-canvas {
    min-height: 540px;
    display: grid;
    grid-template-rows: auto auto auto auto minmax(0, 1fr);
    gap: 6px;
    padding: 6px 8px 8px;
    background: var(--vs-form-bg);
    box-sizing: border-box;
}

.vs-prestamo-client-row {
    min-height: 31px;
    display: grid;
    grid-template-columns: 41px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
}

.vs-prestamo-client-name {
    min-width: 0;
    overflow: hidden;
    color: var(--vs-text);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-prestamo-client-search {
    gap: 8px;
    padding: 8px;
}

.vs-prestamo-client-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
}

.vs-prestamo-client-results {
    max-height: 122px;
    overflow: auto;
    border: 1px solid var(--vs-input-border);
    background: var(--vs-input-bg);
}

.vs-prestamo-client-results table,
.vs-prestamo-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.vs-prestamo-client-results th,
.vs-prestamo-client-results td,
.vs-prestamo-grid th,
.vs-prestamo-grid td {
    border-bottom: 1px solid #d0d0d0;
    padding: 5px 7px;
    text-align: left;
    vertical-align: middle;
}

.vs-prestamo-client-results th,
.vs-prestamo-grid th {
    background: #e7e7e7;
    font-weight: 600;
}

.vs-prestamo-tab-control {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 247px;
    border: 1px solid #9b9b9b;
    background: #d3d3d3;
}

.vs-prestamo-tab-page {
    min-height: 219px;
    padding: 6px;
    overflow: auto;
}

.vs-prestamo-tab-strip {
    display: flex;
    align-items: stretch;
    gap: 2px;
    padding: 3px;
    border-top: 1px solid #a0a0a0;
    background: #c9c9c9;
}

.vs-prestamo-tab-button {
    min-height: 24px;
    border: 1px solid #8a8a8a;
    border-radius: 3px;
    background: linear-gradient(#f8f8f8, #dfdfdf);
    color: var(--vs-text);
    padding: 3px 9px;
    font: inherit;
    cursor: pointer;
}

.vs-prestamo-tab-button-active {
    border-color: var(--vs-accent);
    background: var(--vs-form-bg);
    color: var(--vs-accent);
    font-weight: 600;
}

.vs-prestamo-general-grid,
.vs-prestamo-costos-grid,
.vs-prestamo-config-grid,
.vs-prestamo-mora-grid,
.vs-prestamo-garante-grid {
    display: grid;
    align-items: center;
    gap: 6px 8px;
}

.vs-prestamo-general-grid {
    grid-template-columns: 92px 92px 98px minmax(106px, 1fr);
}

.vs-prestamo-config-grid {
    grid-template-columns: 143px minmax(0, 234px);
    align-content: start;
}

.vs-prestamo-costos-grid {
    grid-template-columns: 108px 96px 108px 96px;
    align-content: start;
}

.vs-prestamo-mora-grid {
    grid-template-columns: 190px 84px;
    align-content: start;
    padding: 8px 6px;
}

.vs-prestamo-garante-grid {
    grid-template-columns: 98px minmax(0, 1fr) 82px 82px;
    align-content: start;
}

.vs-prestamo-garante-grid p,
.vs-prestamo-config-check {
    grid-column: 1 / -1;
}

.vs-prestamo-check-inline {
    margin-left: 0;
}

.vs-prestamo-redondeo-row {
    display: grid;
    grid-template-columns: auto auto 58px;
    align-items: center;
    gap: 5px;
}

.vs-prestamo-redondeo-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.vs-prestamo-calc-button {
    min-width: 96px;
}

.vs-textbox-right {
    text-align: right;
}

.vs-prestamo-command-row {
    display: flex;
    justify-content: flex-end;
    gap: 3px;
    min-height: 30px;
}

.vs-prestamo-grid-shell {
    min-height: 0;
    overflow: auto;
    border: 1px solid var(--vs-input-border);
    background: var(--vs-input-bg);
}

.vs-prestamo-grid th:nth-child(1),
.vs-prestamo-grid td:nth-child(1) {
    width: 92px;
    text-align: center;
}

.vs-prestamo-grid th:nth-child(n+3),
.vs-prestamo-grid td:nth-child(n+3) {
    text-align: right;
}

.vs-prestamo-grid tbody tr:nth-child(even) {
    background: #f3f3f3;
}

.vs-prestamo-grid-empty {
    color: var(--vs-muted);
    text-align: center !important;
}

.vs-parametros-form {
    width: min(727px, 100%);
}

.vs-parametros-usuario-form {
    width: min(455px, 100%);
}

.vs-parametros-canvas {
    min-height: 395px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: 6px;
    padding: 6px 8px 8px;
    background: var(--vs-form-bg);
    box-sizing: border-box;
}

.vs-parametros-tab-control {
    min-height: 354px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    border: 1px solid #9b9b9b;
    background: #d3d3d3;
}

.vs-parametros-tab-control .vs-tab-strip {
    padding: 3px 3px 0;
    background: #c9c9c9;
}

.vs-parametros-tab-page {
    min-height: 326px;
    padding: 6px;
    overflow: auto;
    background: var(--vs-form-bg);
}

.vs-parametros-grid {
    display: grid;
    align-items: start;
    gap: 8px 10px;
}

.vs-parametros-prestamos-grid,
.vs-parametros-ahorros-grid {
    grid-template-columns: minmax(250px, 1fr) minmax(90px, 286px);
    max-width: 610px;
}

.vs-parametros-prestamos-grid input,
.vs-parametros-ahorros-grid input,
.vs-parametros-prestamos-grid select {
    min-height: 27px;
}

.vs-parametros-clientes-group,
.vs-parametros-aportaciones-group {
    min-height: 302px;
    padding: 10px 12px;
}

.vs-parametros-clientes-group p,
.vs-parametros-aportaciones-group p,
.vs-parametros-help {
    color: var(--vs-muted);
    font-size: 0.88rem;
}

.vs-parametros-form .vs-checkbox-row {
    margin-left: 0;
}

.vs-parametros-politicas {
    display: grid;
    gap: 8px;
}

.vs-parametros-politica-grid,
.vs-parametros-generator {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(84px, 96px) minmax(170px, 1fr) minmax(84px, 96px);
    gap: 6px 8px;
    align-items: center;
}

.vs-parametros-politica-grid .vs-checkbox-row,
.vs-parametros-generator .vs-winforms-button {
    min-height: 27px;
}

.vs-parametros-grid-shell {
    max-height: 210px;
    overflow: auto;
    border: 1px solid var(--vs-input-border);
    background: var(--vs-input-bg);
}

.vs-parametros-data-grid {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.vs-parametros-data-grid th,
.vs-parametros-data-grid td {
    border-bottom: 1px solid #d0d0d0;
    padding: 4px;
    vertical-align: middle;
}

.vs-parametros-data-grid th {
    background: #e7e7e7;
    font-weight: 600;
    text-align: left;
}

.vs-parametros-data-grid input[type="number"] {
    width: 100%;
    min-width: 64px;
    box-sizing: border-box;
}

.vs-parametros-grid-actions,
.vs-parametros-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 6px;
}

.vs-parametros-recibos-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.vs-parametros-recibos-grid fieldset {
    display: grid;
    gap: 7px;
    align-content: start;
}

.vs-parametros-recibos-grid .vs-checkbox-row {
    width: 100%;
    align-items: flex-start;
}

.vs-parametros-recibos-grid .vs-checkbox-row input {
    flex: 0 0 16px;
    margin-top: 2px;
}

.vs-parametros-aportaciones-action {
    display: grid;
    grid-template-columns: 44px 86px minmax(260px, 1fr);
    gap: 8px;
    align-items: center;
    margin: 12px 0;
}

.vs-parametros-aportaciones-balance-year {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px 86px;
    gap: 8px;
    align-items: center;
    margin: 8px 0 12px;
}

.vs-parametros-aportaciones-balance-year .vs-checkbox-row {
    margin: 0;
    align-items: flex-start;
}

.vs-parametros-aportaciones-balance-year .vs-field-error {
    grid-column: 2 / 4;
}

.vs-parametros-result {
    min-height: 50px;
    resize: vertical;
}

.vs-parametros-usuario-canvas {
    min-height: 324px;
    display: grid;
    align-content: start;
    gap: 9px;
    padding: 12px;
}

.vs-parametros-usuario-row {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 102px;
    gap: 6px;
    align-items: center;
}

.vs-parametros-usuario-label {
    min-height: 26px;
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--vs-input-border);
    background: var(--vs-input-bg);
    padding: 3px 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-parametros-usuario-group {
    min-height: 89px;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 8px 6px;
    align-content: start;
    margin: 8px 0 0;
}

.vs-parametros-usuario-ahorro-group {
    min-height: 99px;
}

.vs-parametros-usuario-group .vs-check {
    min-height: 24px;
}

.vs-parametros-usuario-help {
    display: block;
    margin-top: 3px;
    color: var(--vs-muted);
    font-size: 0.86em;
}

.vs-usuario-shell {
    min-height: 100vh;
    display: grid;
    place-items: start center;
    padding: 14px;
    background: var(--vs-window-bg);
}

.vs-usuario-register-form {
    width: min(var(--vs-form-width, 892px), 100%);
}

.vs-usuario-register-canvas {
    min-height: 500px;
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 9px 12px 14px;
    background: var(--vs-form-bg);
    box-sizing: border-box;
}

.vs-usuario-empleado-row {
    min-height: 31px;
    display: grid;
    grid-template-columns: 63px minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
}

.vs-usuario-empleado-nombre {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.94em;
}

.vs-usuario-group {
    min-width: 0;
    margin: 0;
}

.vs-usuario-search-group {
    min-height: 210px;
}

.vs-usuario-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
}

.vs-usuario-empleado-grid-shell {
    min-height: 154px;
    max-height: min(220px, calc(100vh - 430px));
}

.vs-usuario-empleado-grid th:nth-child(1),
.vs-usuario-empleado-grid td:nth-child(1) {
    width: 54px;
}

.vs-usuario-empleado-grid th:nth-child(2),
.vs-usuario-empleado-grid td:nth-child(2) {
    width: 128px;
}

.vs-usuario-empleado-grid th:nth-child(5),
.vs-usuario-empleado-grid td:nth-child(5) {
    width: 94px;
    text-align: center;
}

.vs-usuario-empleado-buscar-backdrop {
    z-index: 44;
}

.vs-usuario-mode {
    display: block;
    margin: 0 0 4px 6px;
}

.vs-usuario-form-row {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 6px;
    margin-bottom: 6px;
}

.vs-usuario-password-grid {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 340px);
    gap: 10px;
    align-items: start;
}

.vs-usuario-help {
    display: block;
    margin-left: 6px;
    color: var(--vs-muted);
    font-size: 0.86em;
}

.vs-usuario-tabs {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid #8d8d8d;
}

.vs-usuario-tab-page {
    min-height: 312px;
    padding: 9px 5px 5px;
    background: var(--vs-form-bg);
}

.vs-usuario-permission-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
    gap: 8px 24px;
    align-content: start;
}

.vs-usuario-permission-item {
    min-height: 19px;
    align-items: start;
    line-height: 1.25;
}

.vs-usuario-permission-item input {
    flex: 0 0 auto;
    margin-top: 1px;
}

.vs-usuario-minutes-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(220px, auto) minmax(56px, 84px);
    gap: 7px;
    align-items: start;
    margin-left: 24px;
}

.vs-usuario-minutes-row input {
    min-height: 26px;
    padding: 3px 6px;
}

.vs-usuario-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

.vs-usuario-delete-action,
.vs-empleado-delete-action {
    color: var(--vs-danger);
}

.vs-empleado-save-action {
    color: #0000cd;
}

.vs-muted {
    color: var(--vs-muted);
}

.vs-parametros-usuario-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

.vs-parametros-usuario-child-backdrop {
    z-index: 42;
}

.vs-empleado-search-form {
    width: var(--vs-form-width, min(555px, 100%));
}

.vs-empleado-search-canvas {
    min-height: 419px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 6px;
    padding: 6px 12px 12px;
}

.vs-empleado-search-toolbar {
    display: grid;
    grid-template-columns: 63px minmax(0, 253px) 75px;
    gap: 6px;
    align-items: center;
}

.vs-empleado-search-button {
    min-width: 75px;
}

.vs-empleado-search-grid {
    min-height: 369px;
    max-height: min(369px, calc(100vh - 170px));
}

.vs-empleado-search-grid th:nth-child(1),
.vs-empleado-search-grid td:nth-child(1) {
    width: 90px;
}

.vs-empleado-search-grid th:nth-child(2),
.vs-empleado-search-grid td:nth-child(2),
.vs-empleado-search-grid th:nth-child(3),
.vs-empleado-search-grid td:nth-child(3) {
    width: 155px;
}

.vs-empleado-search-grid th:nth-child(4),
.vs-empleado-search-grid td:nth-child(4) {
    width: 120px;
}

.vs-login-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.vs-link-button {
    border: none;
    background: transparent;
    color: #0645ad;
    padding: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.vs-inline-alert,
.vs-loading-strip {
    border: 1px solid;
    border-radius: 4px;
    padding: 8px 10px;
    line-height: 1.35;
}

.vs-inline-alert-error {
    border-color: rgba(179, 38, 30, 0.28);
    background: rgba(179, 38, 30, 0.10);
    color: var(--vs-danger);
}

.vs-inline-alert-warning {
    border-color: rgba(154, 93, 0, 0.28);
    background: rgba(255, 251, 235, 0.88);
    color: var(--vs-warning);
}

.vs-inline-alert-info,
.vs-loading-strip {
    border-color: rgba(15, 95, 122, 0.25);
    background: rgba(15, 95, 122, 0.08);
    color: var(--vs-info);
}

.vs-loading-panel {
    position: absolute;
    inset: 14px;
    z-index: 2;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 16px;
    border: 1px solid #9b9b9b;
    border-radius: 4px;
    background: #d0d0d0;
    text-align: center;
}

.vs-empresa-form {
    width: min(516px, 100%);
}

.vs-empresa-body {
    padding: 12px;
}

.vs-empresa-canvas {
    min-height: 173px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: 6px 8px;
}

.vs-empresa-field {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 4px 6px;
}

.vs-empresa-label {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
}

.vs-empresa-name {
    grid-column: 1 / 9;
    grid-template-columns: 55px minmax(0, 1fr);
}

.vs-empresa-rnc {
    grid-column: 9 / 13;
    grid-template-columns: 34px minmax(0, 1fr);
}

.vs-empresa-direccion {
    grid-column: 1 / 13;
    grid-template-columns: 60px minmax(0, 1fr);
}

.vs-empresa-telefono1 {
    grid-column: 1 / 5;
    grid-template-columns: 58px minmax(0, 1fr);
}

.vs-empresa-telefono2 {
    grid-column: 5 / 9;
    grid-template-columns: 64px minmax(0, 1fr);
}

.vs-empresa-siglas {
    grid-column: 9 / 13;
    grid-template-columns: 48px minmax(0, 1fr);
}

.vs-empresa-pais {
    grid-column: 1 / 7;
    grid-template-columns: 42px minmax(0, 1fr);
}

.vs-empresa-moneda {
    grid-column: 7 / 13;
    grid-template-columns: 60px minmax(0, 1fr);
}

.vs-empresa-field .vs-field-error {
    grid-column: 2;
}

.vs-empresa-actions {
    grid-column: 1 / 13;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.vs-empresa-save-button {
    min-width: 104px;
}

.vs-loading-bar {
    width: min(120px, 70%);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: #ececec;
}

.vs-loading-bar::before {
    content: "";
    display: block;
    width: 42%;
    height: 100%;
    background: var(--vs-accent);
    animation: vs-loading-slide 1s ease-in-out infinite alternate;
}

.vs-winforms-group {
    min-width: 0;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 12px;
    border: 1px solid #9b9b9b;
    border-radius: 4px;
    background: #f6f6f6;
}

.vs-winforms-group legend {
    padding: 0 5px;
    color: var(--vs-text);
    font-weight: 600;
}

.vs-winforms-group:disabled {
    opacity: 0.62;
}

.vs-main-placeholder {
    min-height: 100vh;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--vs-window-bg);
    color: var(--vs-text);
    text-align: center;
}

.vs-main-placeholder h1 {
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: 0;
}

.vs-principal-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    background: var(--vs-window-bg);
    color: var(--vs-text);
    font-size: var(--vs-principal-font-size, 9pt);
}

.vs-principal-titlebar {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 10px;
    border-bottom: 1px solid var(--vs-caption-border);
    background: linear-gradient(var(--vs-caption-bg-start), var(--vs-caption-bg-end));
}

.vs-principal-brand {
    min-width: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 6px;
}

.vs-principal-system-name,
.vs-principal-company {
    font-size: 1.08em;
    font-weight: 700;
    letter-spacing: 0;
}

.vs-principal-system-name,
.vs-principal-version,
.vs-principal-brand-separator,
.vs-principal-company-label {
    flex: 0 0 auto;
}

.vs-principal-version,
.vs-principal-brand-separator,
.vs-principal-company-label {
    color: var(--vs-muted);
}

.vs-principal-company {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.vs-principal-logout {
    min-width: 110px;
    min-height: 26px;
}

.vs-principal-menu {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    min-height: 30px;
    border-bottom: 1px solid #8d8d8d;
    background: var(--vs-form-bg);
}

.vs-principal-menu-group {
    position: relative;
}

.vs-principal-menu-root,
.vs-principal-submenu-root {
    min-height: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    padding: 5px 10px;
    color: var(--vs-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

.vs-principal-menu-root {
    height: 100%;
}

.vs-principal-menu-root:hover,
.vs-principal-menu-root:focus-visible,
.vs-principal-menu-root[aria-expanded="true"],
.vs-principal-submenu-root:hover,
.vs-principal-submenu-root:focus-visible,
.vs-principal-submenu-root[aria-expanded="true"] {
    background: rgba(0, 103, 192, 0.12);
    color: var(--vs-accent);
    outline: none;
}

.vs-principal-menu-group > ul,
.vs-principal-submenu > ul {
    min-width: 236px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    border: 1px solid #8d8d8d;
    background: var(--vs-form-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
}

.vs-principal-menu-group > ul {
    position: absolute;
    top: 100%;
    left: 0;
}

.vs-principal-submenu > ul {
    margin: 2px 6px 6px;
    min-width: 218px;
    box-shadow: none;
}

.vs-principal-menu-group li,
.vs-principal-submenu li {
    margin: 0;
}

.vs-principal-menu-item {
    width: 100%;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    border: none;
    background: transparent;
    color: var(--vs-text);
    padding: 5px 12px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.vs-principal-menu-item:hover,
.vs-principal-menu-item:focus-visible {
    background: rgba(0, 103, 192, 0.16);
    color: var(--vs-accent);
    outline: none;
}

.vs-principal-menu-item-locked {
    color: var(--vs-muted);
}

.vs-principal-menu-item-checked::before {
    content: "\2713";
    width: 14px;
    flex: 0 0 14px;
}

.vs-principal-menu-separator {
    height: 1px;
    margin: 4px 8px;
    background: var(--vs-caption-border);
}

.vs-principal-workspace {
    min-height: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    overflow: auto;
}

.vs-principal-workspace-mdi {
    place-items: center;
    padding: 12px;
}

.vs-pwa-promo {
    box-sizing: border-box;
    width: min(920px, 100%);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(20, 103, 217, 0.22);
    border-radius: 14px;
    background: #f7faff;
    box-shadow: 0 8px 24px rgba(24, 79, 151, 0.08);
    color: #17324d;
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
}

.vs-pwa-promo-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #1467d9;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
}

.vs-pwa-promo-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.vs-pwa-promo-copy strong {
    color: #102a43;
    font-size: 0.94rem;
}

.vs-pwa-promo-copy span,
.vs-pwa-promo-help,
.vs-pwa-promo-feedback {
    color: #526b82;
    font-size: 0.78rem;
    line-height: 1.4;
}

.vs-pwa-promo-actions {
    display: grid;
    gap: 6px;
}

.vs-pwa-promo-install,
.vs-pwa-promo-open {
    box-sizing: border-box;
    min-height: 38px;
    display: inline-grid;
    place-items: center;
    padding: 6px 14px;
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.vs-pwa-promo-install {
    border: 1px solid #1467d9;
    background: #1467d9;
    color: #fff;
    cursor: pointer;
}

.vs-pwa-promo-install:disabled {
    opacity: 0.65;
    cursor: wait;
}

.vs-pwa-promo-open {
    border: 1px solid #1467d9;
    background: #fff;
    color: #1467d9;
}

.vs-pwa-promo-status {
    color: #24613b;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

.vs-pwa-promo-help,
.vs-pwa-promo-feedback {
    grid-column: 2 / -1;
}

@media (max-width: 600px) {
    .vs-pwa-promo {
        grid-template-columns: auto minmax(0, 1fr);
        margin: 10px;
        width: calc(100% - 20px);
    }

    .vs-pwa-promo-actions,
    .vs-pwa-promo-help,
    .vs-pwa-promo-feedback {
        grid-column: 1 / -1;
    }
}

.vs-presentation-classic .vs-principal-embedded-diaadia {
    box-sizing: border-box;
}

.vs-principal-embedded-diaadia {
    position: relative;
    width: min(1060px, calc(100vw - 48px));
    height: min(620px, calc(100vh - 152px));
    min-width: min(720px, calc(100vw - 48px));
    min-height: min(430px, calc(100vh - 152px));
    max-width: 100%;
    max-height: 100%;
    display: grid;
    resize: both;
    overflow: auto;
    border: 1px solid var(--vs-form-border);
    border-radius: 2px;
    background: var(--vs-form-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

.vs-principal-embedded-diaadia::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 16px;
    height: 16px;
    pointer-events: none;
    opacity: 0.72;
    background: repeating-linear-gradient(
        135deg,
        transparent 0 4px,
        #7a7a7a 4px 6px);
}

.vs-principal-embedded-diaadia .vs-dialog-modal-shell {
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: grid;
    overflow: hidden;
}

@media (max-width: 900px) {
    .vs-principal-embedded-diaadia {
        width: 100%;
        height: min(560px, calc(100vh - 132px));
        min-width: 0;
        min-height: 360px;
        resize: vertical;
    }
}

.vs-mdi-window {
    width: min(640px, 100%);
    border: 1px solid var(--vs-form-border);
    border-radius: 4px;
    background: var(--vs-form-bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.vs-principal-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 14px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.42);
}

.vs-principal-modal-window {
    position: relative;
    width: min(980px, 100%);
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
    min-width: min(320px, calc(100vw - 28px));
    min-height: 140px;
    box-sizing: border-box;
    resize: both;
    overflow-x: hidden;
    overflow-y: auto;
}

.vs-principal-modal-window::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 14px;
    height: 14px;
    pointer-events: none;
    opacity: 0.6;
    background: repeating-linear-gradient(
        135deg,
        transparent 0 3px,
        #7a7a7a 3px 4px);
}

.vs-principal-modal-window .vs-modal-resize-grip {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 4;
    width: 18px;
    height: 18px;
    cursor: nwse-resize;
    touch-action: none;
}

.vs-principal-modal-window .vs-modal-resize-grip::before {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 12px;
    height: 12px;
    opacity: 0.75;
    background: repeating-linear-gradient(
        135deg,
        transparent 0 3px,
        #5f6670 3px 4px);
}

.vs-principal-modal-window .vs-form-caption.vs-modal-drag-handle {
    cursor: move;
    user-select: none;
}

.vs-principal-modal-window-prestamo {
    width: min(648px, 100%);
}

.vs-principal-modal-window-parametros {
    width: min(767px, 100%);
}

.vs-principal-modal-window-empleado {
    width: min(790px, calc(100vw - 28px));
}

.vs-principal-modal-window-parametros-usuario {
    width: min(495px, 100%);
}

.vs-principal-modal-window-suscripcion {
    width: min(399px, 100%);
}

.vs-principal-modal-window-historial {
    width: min(964px, calc(100vw - 28px));
}

.vs-principal-modal-window-descargando {
    width: min(520px, calc(100vw - 28px));
    overflow: visible;
}

/* Reportes WinForms migrados a la web */
.vs-principal-modal-window-report {
    width: min(94vw, 1500px);
    height: min(90vh, 920px);
    max-width: 94vw;
    max-height: 90vh;
}

.vs-principal-modal-window-report:has(.vs-report-form-options) {
    height: auto;
    min-height: 0;
    max-height: calc(100vh - 28px);
    resize: none;
    overflow: visible;
}

.vs-principal-modal-window-report:has(.vs-report-form-r251),
.vs-principal-modal-window-report:has(.vs-report-form-r252),
.vs-principal-modal-window-report:has(.vs-report-form-r254) {
    width: min(430px, calc(100vw - 28px));
}

.vs-principal-modal-window-report:has(.vs-report-form-r253) {
    width: min(500px, calc(100vw - 28px));
}

.vs-principal-modal-window-report:has(.vs-report-form-r255) {
    width: min(380px, calc(100vw - 28px));
}

.vs-principal-modal-window-report:has(.vs-report-form-r256) {
    width: min(470px, calc(100vw - 28px));
}

.vs-principal-modal-window-report:has(.vs-report-form-options)::after,
.vs-principal-modal-window-report:has(.vs-report-form-options) > .vs-modal-resize-grip {
    display: none;
}

.vs-principal-modal-window-report-launcher {
    width: min(560px, 92vw);
    min-height: 270px;
}

.vs-principal-modal-window-receipt {
    width: min(calc(76.2mm + 44px), calc(100vw - 28px)) !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0;
    max-height: calc(100vh - 28px);
    resize: none;
}

.vs-principal-modal-window-receipt::after,
.vs-principal-modal-window-receipt > .vs-modal-resize-grip {
    display: none;
}

.vs-principal-modal-window-receipt-large {
    width: min(94vw, 1500px) !important;
    height: min(90vh, 920px) !important;
    max-width: 94vw;
    max-height: 90vh;
    overflow: hidden;
}

.vs-principal-modal-window-receipt-large .vs-receipt-modal-shell,
.vs-principal-modal-window-receipt-large .vs-receipt-modal-shell > .vs-receipt-form {
    height: 100%;
}

.vs-principal-modal-window-receipt-large .vs-receipt-modal-shell > .vs-receipt-form {
    display: flex;
    flex-direction: column;
}

.vs-principal-modal-window-receipt-large .vs-receipt-form-body {
    flex: 1 1 auto;
    overflow: auto;
}

.vs-report-modal-shell,
.vs-receipt-modal-shell {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.vs-receipt-modal-shell {
    height: auto;
}

.vs-report-modal-shell:has(> .vs-report-form-options) {
    height: auto;
}

.vs-report-modal-shell > .vs-report-form,
.vs-receipt-modal-shell > .vs-receipt-form {
    width: 100%;
    height: 100%;
}

.vs-receipt-modal-shell > .vs-receipt-form {
    height: auto;
}

.vs-report-form {
    --vs-report-surface: var(--vs-window-background, #f3f6fb);
    --vs-report-paper: var(--vs-control-background, #ffffff);
    --vs-report-border: var(--vs-border-color, #aeb7c4);
    width: min(1500px, 96vw);
    height: min(900px, 92vh);
    min-width: 0;
    min-height: 360px;
    overflow: hidden;
    background: var(--vs-report-surface);
}

.vs-report-form-options {
    height: auto;
    min-height: 0;
}

.vs-report-form-options.vs-report-form-r251,
.vs-report-form-options.vs-report-form-r252,
.vs-report-form-options.vs-report-form-r254 {
    width: min(430px, calc(100vw - 28px));
}

.vs-report-form-options.vs-report-form-r253 {
    width: min(500px, calc(100vw - 28px));
}

.vs-report-form-options.vs-report-form-r255 {
    width: min(380px, calc(100vw - 28px));
}

.vs-report-form-options.vs-report-form-r256 {
    width: min(470px, calc(100vw - 28px));
}

.vs-mdi-workspace:has(> .vs-report-form-options) {
    display: grid;
    place-items: start center;
}

.vs-report-form-maximized {
    width: 100%;
    height: 100%;
}

.vs-report-form-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    min-height: 0;
    height: calc(100% - 32px);
    overflow: auto;
}

.vs-report-form-options .vs-report-form-body {
    height: auto;
    min-height: 0;
    padding: 10px 12px 12px;
    overflow: visible;
}

.vs-report-options-group {
    width: min(640px, 100%);
    margin: 10px auto 0;
    padding: 16px 12px 12px;
}

.vs-report-options-wide {
    width: min(760px, 100%);
}

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

.vs-report-option-check {
    min-height: 28px;
    align-self: center;
}

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

.vs-report-form-options .vs-form-actions {
    justify-content: center;
    margin-top: 10px;
}

.vs-report-form-options .vs-report-primary-button {
    min-width: 112px;
}

.vs-report-primary-button {
    color: #0759b7;
    font-weight: 700;
    background: #fff8d7;
}

.vs-report-primary-button:hover,
.vs-report-primary-button:focus-visible {
    background: #e7f1ff;
    color: #003f8f;
}

.vs-report-loan-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 7px 14px;
    max-height: 102px;
    margin-top: 10px;
    padding: 8px 10px;
    overflow: auto;
    border: 1px solid var(--vs-report-border);
}

.vs-report-preview-toolbar,
.vs-receipt-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex: 0 0 auto;
}

.vs-report-preview {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    padding: 14px;
    border: 1px solid var(--vs-report-border, #aeb7c4);
    background: var(--vs-report-paper, #ffffff);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .09);
}

.vs-report-heading {
    text-align: center;
    color: var(--vs-text-color, #111827);
}

.vs-report-heading h2,
.vs-report-heading p {
    margin: 2px 0;
}

.vs-report-heading h2 {
    font-size: 1.25rem;
}

.vs-report-heading small {
    display: block;
    margin-top: 3px;
    color: var(--vs-muted-text-color, #526072);
}

.vs-report-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.vs-report-summary-item {
    min-width: 0;
    padding: 7px 9px;
    border: 1px solid var(--vs-report-border, #aeb7c4);
    background: color-mix(in srgb, var(--vs-report-paper, #ffffff) 84%, #dbeafe 16%);
}

.vs-report-summary-item strong,
.vs-report-summary-item span {
    display: block;
    overflow-wrap: anywhere;
}

.vs-report-summary-item strong {
    margin-bottom: 2px;
    font-size: .78rem;
    color: var(--vs-muted-text-color, #526072);
}

.vs-report-selection-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px;
    border: 1px solid var(--vs-report-border, #aeb7c4);
    background: color-mix(in srgb, var(--vs-report-paper, #ffffff) 88%, #dbeafe 12%);
}

.vs-report-selection-status {
    margin-left: auto;
    color: var(--vs-muted-text-color, #526072);
    font-size: .78rem;
}

.vs-report-grid-shell {
    min-width: 0;
    min-height: 220px;
    flex: 1 1 auto;
    overflow: auto;
    border: 1px solid var(--vs-report-border, #aeb7c4);
    background: var(--vs-report-paper, #ffffff);
}

.vs-report-grid {
    width: max-content;
    min-width: 100%;
}

.vs-report-grid th {
    position: sticky;
    top: 0;
    z-index: 1;
    white-space: nowrap;
}

.vs-report-grid td {
    max-width: 320px;
    overflow-wrap: anywhere;
}

.vs-report-grid .vs-report-selection-cell {
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    padding-inline: 4px;
    text-align: center;
}

.vs-report-selection-cell input {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

@media print {
    .vs-report-selection-only {
        display: none !important;
    }

    .vs-report-grid .vs-grid-row-selected {
        outline: 0 !important;
        background: transparent !important;
    }
}

.vs-report-row-overdue td {
    background: #fff0f0;
    color: #8b0000;
}

.vs-report-child-backdrop {
    z-index: 90;
}

.vs-cuadre-preview-form {
    width: 100%;
    height: 100%;
}

.vs-report-receipt-launcher {
    width: 100%;
    min-height: 260px;
}

.vs-receipt-form {
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
}

.vs-receipt-form-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    min-height: 0;
    overflow: visible;
    background: var(--vs-window-background, #edf1f6);
}

.vs-receipt-paper {
    box-sizing: border-box;
    width: min(76.2mm, 100%);
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    color: #111;
    background: #fff;
    border: 1px solid #b8bec8;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .12);
}

.vs-receipt-paper-loan {
    padding: 0 7.62mm 0 2.54mm;
    font-size: 11pt;
}

.vs-receipt-paper-transaction {
    padding: 0 2mm;
    font-size: 9.5pt;
}

.vs-receipt-feed-line {
    min-height: 5.6mm;
    line-height: 5.6mm;
    text-align: left;
}

.vs-receipt-thermal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vs-receipt-thermal-header h2 {
    margin: 0;
    font-size: 16pt;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.vs-receipt-thermal-header span {
    min-height: 5.4mm;
    line-height: 1.16;
    overflow-wrap: anywhere;
}

.vs-receipt-paper-loan .vs-receipt-thermal-header strong {
    width: 100%;
    min-height: 5.6mm;
    line-height: 5.6mm;
    font-size: 13pt;
    text-transform: uppercase;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
}

.vs-receipt-transaction-header h2 {
    margin-bottom: 4px;
    font-size: 16.5pt;
}

.vs-receipt-transaction-header strong {
    margin-bottom: 5px;
    font-size: 11.25pt;
    line-height: 1.12;
}

.vs-receipt-transaction-header span {
    min-height: 0;
    margin-bottom: 1px;
    font-size: 8.25pt;
}

.vs-receipt-section-title {
    height: 5.6mm;
    margin: .55mm 0 0;
    padding: 0;
    line-height: 5.6mm;
    font-size: 11pt;
    font-weight: 700;
    text-align: center;
    border-top: 1px solid #777;
    border-bottom: 1px solid #777;
}

.vs-receipt-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.vs-receipt-table th,
.vs-receipt-table td {
    min-height: 5.6mm;
    padding: .35mm 0;
    line-height: 1.18;
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.vs-receipt-table th {
    width: 50%;
    font-weight: 400;
    text-align: left;
}

.vs-receipt-table td {
    text-align: right;
}

.vs-receipt-text-line {
    min-height: 5.6mm;
    margin: 0;
    padding: .35mm 0;
    box-sizing: border-box;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.vs-receipt-payment-table {
    margin-top: 2.54mm;
}

.vs-receipt-total th,
.vs-receipt-total td {
    font-weight: 800;
    text-align: center;
}

.vs-receipt-after-total {
    margin-top: 2.54mm;
}

.vs-receipt-small th,
.vs-receipt-small td,
.vs-receipt-quotas td {
    font-size: 9.5pt;
}

.vs-receipt-small th,
.vs-receipt-overdue th {
    white-space: nowrap;
    overflow-wrap: normal;
}

.vs-receipt-overdue th,
.vs-receipt-overdue td {
    color: #c00000;
}

.vs-receipt-quotas td:first-child {
    text-align: left;
}

.vs-receipt-cashier {
    min-height: 5.6mm;
    margin-top: 5.08mm;
    line-height: 5.6mm;
    text-align: center;
}

.vs-receipt-signature {
    width: 64.3%;
    min-height: 5.6mm;
    margin: 0 auto;
    padding-top: 0;
    line-height: 5.6mm;
    text-align: center;
    border-top: 1px solid #555;
}

.vs-receipt-section {
    margin-top: 6px;
    padding-top: 4px;
    border-top: 1px solid #333;
}

.vs-receipt-section h3 {
    margin: 0 0 3px;
    font-size: 9pt;
    text-transform: uppercase;
}

.vs-receipt-paper-transaction .vs-receipt-table th,
.vs-receipt-paper-transaction .vs-receipt-table td {
    min-height: 0;
    padding: 2.5px 4px;
    line-height: 1.15;
    vertical-align: top;
    border-bottom: 1px solid #ececec;
}

.vs-receipt-paper-transaction .vs-receipt-table th {
    width: 38%;
    font-weight: 700;
    background: #fafafa;
}

.vs-receipt-paper-transaction .vs-receipt-table td {
    text-align: left;
}

.vs-receipt-paper-transaction .vs-receipt-operation-table th {
    width: 30%;
}

.vs-receipt-highlight th,
.vs-receipt-highlight td {
    font-size: 10.5pt;
    font-weight: 700;
}

.vs-receipt-words th,
.vs-receipt-words td {
    font-size: 8.6pt;
    line-height: 1.16;
}

@media (prefers-color-scheme: dark) {
    .vs-report-row-overdue td {
        background: #4a2024;
        color: #ffd7d7;
    }
}

@media (max-width: 720px) {
    .vs-principal-modal-window-report {
        width: 98vw;
        height: 96vh;
        max-width: 98vw;
        max-height: 96vh;
    }

    .vs-principal-modal-window-receipt {
        width: min(calc(76.2mm + 44px), calc(100vw - 16px)) !important;
        height: auto !important;
        max-width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
    }

    .vs-principal-modal-window-receipt-large {
        width: calc(100vw - 16px) !important;
        height: calc(100vh - 16px) !important;
        max-width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
    }

    .vs-report-options-grid,
    .vs-report-loan-types {
        grid-template-columns: 1fr;
    }

    .vs-report-form-body,
    .vs-receipt-form-body {
        padding: 8px;
    }

    .vs-receipt-paper {
        width: min(76.2mm, 100%);
    }
}

.vs-principal-modal-window-info-sistema {
    width: min(924px, calc(100vw - 28px));
}

.vs-principal-modal-window-mantenimiento {
    width: min(1140px, calc(100vw - 28px));
}

.vs-principal-modal-window-empleado-buscar {
    width: min(595px, 100%);
}

.vs-principal-modal-window .vs-cliente-shell {
    min-height: 0;
    display: block;
    padding: 0;
    background: transparent;
}

.vs-principal-modal-window .vs-empleado-shell {
    min-height: 0;
    display: block;
    padding: 0;
    background: transparent;
}

.vs-principal-modal-window .vs-cliente-form {
    width: 100%;
}

.vs-principal-modal-window .vs-empresa-form {
    margin: 0 auto;
}

.vs-principal-modal-window .vs-prestamo-register-form {
    margin: 0 auto;
}

.vs-principal-modal-window-suscripcion .vs-suscripcion-register-form {
    width: 100%;
}

.vs-principal-modal-window-prestamo .vs-prestamo-register-form {
    width: 100%;
}

.vs-principal-modal-window-parametros .vs-parametros-form {
    width: 100%;
}

.vs-principal-modal-window-empleado .vs-empleado-register-form {
    width: 100%;
    max-height: none;
    overflow: hidden;
}

.vs-principal-modal-window-empleado .vs-empleado-register-canvas {
    width: 100%;
    min-height: 365px;
    height: auto;
}

.vs-principal-modal-window-parametros-usuario .vs-parametros-usuario-form,
.vs-principal-modal-window-empleado-buscar .vs-empleado-search-form {
    width: 100%;
}

.vs-principal-modal-window .vs-historial-form {
    margin: 0 auto;
}

.vs-principal-modal-window .vs-descargando-form {
    margin: 0 auto;
}

.vs-principal-modal-window .vs-info-sistema-form {
    margin: 0 auto;
}

.vs-principal-modal-close {
    position: absolute;
    top: 5px;
    right: 7px;
    z-index: 5;
    width: 24px;
    height: 22px;
    display: grid;
    place-items: center;
    border: 1px solid var(--vs-close-background);
    border-radius: 2px;
    background: var(--vs-close-background);
    color: #ffffff;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.vs-principal-modal-close:hover {
    border-color: var(--vs-close-background-hover);
    background: var(--vs-close-background-hover);
    color: #ffffff;
}

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

.vs-principal-modal-close:focus-visible {
    border-color: var(--vs-close-background);
    background: var(--vs-close-background);
    color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px var(--vs-close-focus-ring);
}

.vs-principal-window-body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.vs-principal-window-body h1 {
    margin: 0;
    font-size: 1.35em;
    line-height: 1.2;
    letter-spacing: 0;
}

.vs-principal-window-body p {
    margin: 0;
    color: var(--vs-muted);
    line-height: 1.45;
}

.vs-principal-statusbar {
    min-height: 28px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 4px 10px;
    border-top: 1px solid #8d8d8d;
    background: var(--vs-form-bg);
    color: var(--vs-text);
}

@keyframes vs-loading-slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(140%);
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --vs-window-bg: #242424;
        --vs-form-bg: #303030;
        --vs-form-border: #707070;
        --vs-caption-bg-start: #3a3a3a;
        --vs-caption-bg-end: #292929;
        --vs-caption-border: #555555;
        --vs-text: #f3f3f3;
        --vs-muted: #d0d0d0;
        --vs-input-bg: #1f1f1f;
        --vs-input-border: #6f6f6f;
    }

    .vs-winforms-group,
    .vs-textbox[readonly] {
        background: #363636;
    }

    .vs-winforms-button,
    .vs-winforms-icon-action {
        background: linear-gradient(#464646, #353535);
        color: var(--vs-text);
    }

    .vs-tab-button {
        background: linear-gradient(#464646, #353535);
    }

    .vs-tab-button-active {
        background: var(--vs-form-bg);
    }

    .vs-cliente-table-wrap,
    .vs-cliente-table th {
        background: var(--vs-input-bg);
    }

    .vs-loading-panel {
        background: #3a3a3a;
    }

    .vs-principal-menu,
    .vs-principal-statusbar,
    .vs-principal-menu-group > ul,
    .vs-principal-submenu > ul {
        border-color: #5e5e5e;
    }
}

@media (max-width: 780px) {
    .vs-cliente-general-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-cliente-address-group,
    .vs-cliente-phone-group,
    .vs-cliente-email-group {
        grid-column: auto;
    }
}

@media (max-width: 520px) {
    .vs-login-shell {
        place-items: stretch;
        padding: 10px;
    }

    .vs-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .vs-checkbox-row {
        margin-left: 0;
    }

    .vs-command-row,
    .vs-login-command-row {
        justify-content: stretch;
    }

    .vs-winforms-button {
        flex: 1 1 150px;
    }

    .vs-principal-shell {
        grid-template-rows: auto auto minmax(0, 1fr) auto;
    }

    .vs-principal-titlebar {
        align-items: stretch;
        flex-direction: column;
    }

    .vs-principal-logout {
        width: 100%;
    }

    .vs-principal-menu {
        display: block;
    }

    .vs-principal-menu-group > ul {
        position: static;
        width: 100%;
        box-sizing: border-box;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .vs-principal-workspace {
        place-items: start stretch;
        padding: 10px;
    }

    .vs-principal-statusbar {
        gap: 6px;
        flex-direction: column;
        align-items: flex-start;
    }

    .vs-cliente-shell {
        place-items: start stretch;
        padding: 10px;
    }

    .vs-cliente-search-box {
        justify-self: stretch;
        width: 100%;
    }

    .vs-cliente-search-row,
    .vs-cliente-general-grid,
    .vs-cliente-address-grid,
    .vs-cliente-location-row,
    .vs-cliente-four-grid,
    .vs-cliente-two-grid,
    .vs-cliente-work-grid,
    .vs-cliente-work-grid-second,
    .vs-cliente-income-grid,
    .vs-cliente-wide-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-cliente-address-group,
    .vs-cliente-phone-group,
    .vs-cliente-email-group {
        grid-column: auto;
    }

    .vs-tab-strip {
        overflow-x: auto;
    }

    .vs-tab-button {
        flex: 1 0 150px;
    }

    .vs-cliente-table th,
    .vs-cliente-table td {
        white-space: normal;
    }

    .vs-empresa-canvas {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-empresa-field,
    .vs-empresa-actions {
        grid-column: 1;
    }

    .vs-empresa-field {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-empresa-field .vs-field-error {
        grid-column: 1;
    }

    .vs-parametros-usuario-row,
    .vs-parametros-usuario-group,
    .vs-empleado-search-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-empleado-search-grid {
        min-height: 260px;
    }
}

.vs-mdi-workspace {
    min-height: calc(100vh - 82px);
    padding: 10px;
    background: var(--vs-window-bg);
    color: var(--vs-text);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 12px;
}

.vs-caja-modal-shell {
    min-height: 0;
    padding: 0;
    background: transparent;
    color: var(--vs-text);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 12px;
}

.vs-dialog-modal-shell {
    min-height: 0;
    padding: 0;
    background: transparent;
    color: var(--vs-text);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 12px;
}

.vs-diaadia-form {
    width: min(1168px, 100%);
}

.vs-ahorro-diaadia-form {
    width: min(930px, 100%);
}

.vs-diaadia-tabview-form {
    width: min(var(--vs-form-width, 1280px), 100%);
}

.vs-diaadia-tabview-form-embedded {
    width: 100%;
    max-width: none;
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.vs-diaadia-tabview-body-embedded {
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.vs-cliente-buscar-form {
    width: min(680px, 100%);
}

.vs-cliente-buscar-search-form,
.vs-diaadia-search-form {
    display: contents;
}

.vs-cliente-search-modal-backdrop {
    z-index: 52;
}

.vs-diaadia-caption-count {
    margin-left: auto;
    color: var(--vs-muted);
    font-weight: 500;
}

.vs-diaadia-filter-form {
    width: min(520px, 100%);
}

.vs-seguimiento-form {
    width: min(774px, 100%);
}

.vs-caja-form {
    width: min(1120px, 100%);
}

.vs-backup-create-form {
    width: min(784px, 100%);
}

.vs-backup-restore-form {
    width: min(884px, 100%);
}

.vs-backup-list-form {
    width: min(1184px, 100%);
}

.vs-descargando-form {
    width: min(var(--vs-form-width), 100%);
}

.vs-descargando-canvas {
    width: 480px;
    height: 260px;
    max-width: 100%;
    gap: 0;
    padding: 18px;
    overflow: hidden;
    box-sizing: border-box;
    background: #a6a6a6;
}

.vs-descargando-panel {
    width: 444px;
    height: 224px;
    max-width: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: 70px 31px 34px minmax(0, 1fr) 30px;
    column-gap: 11px;
    padding: 27px 26px 16px;
    box-sizing: border-box;
    background: #f6f6f6;
}

.vs-descargando-icon {
    position: relative;
    width: 42px;
    height: 42px;
    color: #1260ad;
    border-bottom: 4px solid currentColor;
    box-sizing: border-box;
}

.vs-descargando-icon::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 5px;
    width: 4px;
    height: 23px;
    background: currentColor;
}

.vs-descargando-icon::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 19px;
    width: 16px;
    height: 16px;
    border-right: 4px solid currentColor;
    border-bottom: 4px solid currentColor;
    transform: rotate(45deg);
}

.vs-descargando-heading {
    min-width: 0;
}

.vs-descargando-heading h1 {
    margin: 0;
    color: #1c222e;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.vs-descargando-heading p {
    margin: 0;
    overflow: hidden;
    color: #1c222e;
    font-size: 13px;
    font-weight: 700;
    line-height: 28px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-descargando-progress-row {
    grid-column: 1 / -1;
    width: 392px;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 323px) 56px;
    align-items: center;
    gap: 13px;
}

.vs-descargando-progress-track {
    position: relative;
    height: 14px;
    overflow: hidden;
    background: #e1e4e9;
}

.vs-descargando-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 0;
    height: 100%;
    background: #1260ad;
}

.vs-descargando-progress-indeterminate .vs-descargando-progress-fill {
    width: 92px;
    animation: vs-descargando-pulso 1s linear infinite;
}

#lblPorcentaje {
    color: #1260ad;
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    text-align: right;
}

#lblDetalle {
    grid-column: 1 / -1;
    margin: 0;
    overflow: hidden;
    color: #48505c;
    font-size: 13px;
    line-height: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-descargando-cancel {
    grid-column: 1 / -1;
    justify-self: end;
    width: 152px;
    height: 30px;
    gap: 6px;
    padding: 4px 8px;
    font-weight: 700;
}

.vs-descargando-cancel-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid #b53d4c;
    border-radius: 50%;
    box-sizing: border-box;
}

.vs-descargando-cancel-icon::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 6px;
    width: 10px;
    height: 2px;
    background: #b53d4c;
    transform: rotate(-35deg);
}

@keyframes vs-descargando-pulso {
    from {
        left: -92px;
    }

    to {
        left: 100%;
    }
}

.vs-historial-form {
    width: min(var(--vs-form-width), 100%);
}

.vs-historial-canvas {
    width: 924px;
    height: 671px;
    max-width: 100%;
    max-height: calc(100vh - 58px);
    display: grid;
    grid-template-rows: 88px minmax(0, 1fr) 54px;
    gap: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    background: var(--vs-form-bg);
}

.vs-historial-header {
    height: 88px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 183px;
    align-items: start;
    gap: 12px;
    padding: 16px 24px 0 19px;
    box-sizing: border-box;
    border-bottom: 1px solid #d0d0d0;
    background: var(--vs-input-bg);
}

.vs-historial-heading {
    min-width: 0;
}

.vs-historial-heading h1 {
    margin: 0 0 4px;
    color: var(--vs-text);
    font-size: 31px;
    font-weight: 700;
    line-height: 1.15;
}

.vs-historial-heading p {
    margin: 0;
    color: var(--vs-muted);
    font-size: 15px;
    line-height: 1.3;
}

.vs-historial-installed {
    display: grid;
    justify-items: end;
    gap: 2px;
    color: var(--vs-muted);
    text-align: right;
}

.vs-historial-installed strong {
    color: var(--vs-text);
    font-size: 17px;
}

.vs-historial-main {
    min-height: 0;
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
}

.vs-historial-version-panel {
    min-height: 0;
    display: grid;
    grid-template-rows: 49px 26px minmax(0, 1fr);
    border-right: 1px solid #b8b8b8;
    background: #ededed;
}

.vs-historial-version-panel h2 {
    margin: 0;
    padding: 18px 0 0 18px;
    color: var(--vs-text);
    font-size: 20px;
    line-height: 1.1;
}

.vs-historial-list-summary {
    display: flex;
    align-items: center;
    padding-left: 18px;
    color: var(--vs-muted);
}

.vs-historial-version-list {
    height: 454px;
    min-height: 0;
    display: grid;
    align-content: start;
    overflow: auto;
    border-top: 1px solid #d3d3d3;
    background: var(--vs-input-bg);
}

.vs-historial-version-item {
    width: 100%;
    min-height: 31px;
    box-sizing: border-box;
    display: block;
    border: 0;
    border-bottom: 1px solid #e0e0e0;
    background: transparent;
    color: var(--vs-text);
    overflow: hidden;
    padding: 6px 9px;
    font: inherit;
    line-height: 18px;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.vs-historial-version-item:hover {
    background: rgba(0, 103, 192, 0.10);
}

.vs-historial-version-item-selected {
    background: var(--vs-accent);
    color: #ffffff;
    font-weight: 600;
}

.vs-historial-empty {
    padding: 12px;
    color: var(--vs-muted);
}

.vs-historial-detail-panel {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto 40px auto minmax(0, 1fr);
    gap: 7px;
    padding: 18px 22px;
    box-sizing: border-box;
    background: var(--vs-form-bg);
}

.vs-historial-meta {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 6px 9px;
    margin: 0;
    align-items: center;
}

.vs-historial-meta dt {
    color: var(--vs-text);
}

.vs-historial-meta dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.vs-historial-version-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.vs-historial-title-value {
    font-size: 17px;
    font-weight: 700;
}

.vs-historial-section-title,
.vs-historial-changes-header h2 {
    margin: 0;
    color: var(--vs-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.vs-historial-summary {
    min-height: 40px;
    resize: none;
}

.vs-historial-changes-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
}

.vs-historial-changes-header h2 {
    width: 100%;
}

.vs-historial-changes-list {
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: auto;
    list-style-position: inside;
    border: 1px solid var(--vs-input-border);
    background: var(--vs-input-bg);
}

.vs-historial-changes-list li {
    padding: 6px 8px;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.35;
}

.vs-historial-changes-list li:last-child {
    border-bottom: 0;
}

.vs-historial-actions {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px;
    box-sizing: border-box;
    border-top: 1px solid #c8c8c8;
    background: var(--vs-form-bg);
}

.vs-info-sistema-form {
    width: min(var(--vs-form-width), 100%);
}

.vs-info-sistema-canvas {
    width: 884px;
    height: 561px;
    max-width: 100%;
    max-height: calc(100vh - 58px);
    display: grid;
    grid-template-rows: 92px minmax(0, 1fr) 64px 45px;
    gap: 11px;
    padding: 0 18px;
    overflow: hidden;
    box-sizing: border-box;
    background: #a6a6a6;
}

.vs-info-sistema-header {
    min-width: 0;
    height: 92px;
    display: flex;
    align-items: center;
    margin: 0 -18px;
    padding: 14px 24px 14px 19px;
    box-sizing: border-box;
    background: var(--vs-input-bg);
}

.vs-info-sistema-heading {
    min-width: 0;
}

.vs-info-sistema-heading h1 {
    margin: 0 0 4px;
    color: var(--vs-text);
    font-size: 31px;
    font-weight: 700;
    line-height: 1.15;
}

.vs-info-sistema-heading p {
    margin: 0;
    color: var(--vs-muted);
    font-size: 15px;
    line-height: 1.3;
}

.vs-info-sistema-generales,
.vs-info-sistema-contacto {
    position: relative;
    min-width: 0;
    display: grid;
    margin: 0;
    padding: 15px 8px 8px;
    border: 1px solid #b4b4b4;
    background: var(--vs-form-bg);
}

.vs-info-sistema-generales {
    min-height: 0;
    grid-template-rows: minmax(0, 1fr);
}

.vs-info-sistema-contacto {
    align-items: center;
}

.vs-info-sistema-group-title {
    position: absolute;
    top: -8px;
    left: 8px;
    padding: 0 4px;
    background: var(--vs-form-bg);
    color: var(--vs-text);
    font-weight: 600;
}

.vs-info-sistema-grid-shell {
    min-height: 0;
}

.vs-info-sistema-grid {
    min-width: 620px;
    table-layout: fixed;
}

.vs-info-sistema-grid th:first-child,
.vs-info-sistema-grid td:first-child {
    width: 190px;
}

.vs-info-sistema-grid td {
    overflow-wrap: anywhere;
    white-space: normal;
}

.vs-info-sistema-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.vs-info-sistema-link {
    border: 0;
    background: transparent;
    color: #0645ad;
    padding: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.vs-info-sistema-link:hover,
.vs-info-sistema-link:focus-visible {
    color: var(--vs-accent);
    outline: none;
}

.vs-info-sistema-actions {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 -18px;
    padding: 8px 18px;
    box-sizing: border-box;
    background: var(--vs-form-bg);
}

.vs-info-sistema-close {
    width: 96px;
    gap: 6px;
    font-weight: 700;
}

.vs-info-sistema-icon-close {
    position: relative;
    width: 14px;
    height: 14px;
    display: inline-block;
    flex: 0 0 14px;
    color: currentColor;
}

.vs-info-sistema-icon-close::before,
.vs-info-sistema-icon-close::after {
    content: "";
    position: absolute;
    left: 1px;
    top: 6px;
    width: 12px;
    height: 2px;
    background: currentColor;
}

.vs-info-sistema-icon-close::before {
    transform: rotate(45deg);
}

.vs-info-sistema-icon-close::after {
    transform: rotate(-45deg);
}

.vs-caja-caption-text {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.vs-winforms-window-close {
    width: 28px;
    height: 24px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid var(--vs-close-background);
    border-radius: 2px;
    background: var(--vs-close-background);
    color: #ffffff;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

.vs-winforms-window-close:hover {
    border-color: var(--vs-close-background-hover);
    background: var(--vs-close-background-hover);
    color: #ffffff;
}

.vs-winforms-window-close:active {
    border-color: var(--vs-close-background-pressed);
    background: var(--vs-close-background-pressed);
}

.vs-winforms-window-close:focus-visible {
    border-color: var(--vs-close-background);
    background: var(--vs-close-background);
    color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px var(--vs-close-focus-ring);
}

.vs-principal-modal-window-caja {
    width: min(1160px, 100%);
}

.vs-principal-modal-window-diaadia {
    width: min(1208px, 100%);
}

.vs-principal-modal-window-diaadia-tabview {
    width: min(1320px, calc(100vw - 28px));
}

.vs-principal-modal-window-diaadia-filter {
    width: min(560px, 100%);
}

.vs-principal-modal-window-seguimiento {
    width: min(814px, 100%);
}

.vs-principal-modal-window-cliente-buscar {
    width: min(720px, calc(100% - 24px));
}

.vs-principal-modal-window-usuario {
    width: min(932px, 100%);
}

.vs-principal-modal-window-backup-create {
    width: min(824px, calc(100vw - 28px));
}

.vs-principal-modal-window-backup-restore {
    width: min(924px, calc(100vw - 28px));
}

.vs-principal-modal-window-backup-list {
    width: min(1224px, calc(100vw - 28px));
}

.vs-principal-modal-window .vs-caja-form {
    margin: 0 auto;
}

.vs-principal-modal-window .vs-diaadia-form,
.vs-principal-modal-window .vs-ahorro-diaadia-form,
.vs-principal-modal-window .vs-diaadia-tabview-form,
.vs-principal-modal-window .vs-cambio-tasa-form,
.vs-principal-modal-window .vs-cliente-buscar-form,
.vs-principal-modal-window .vs-diaadia-filter-form,
.vs-principal-modal-window .vs-seguimiento-form,
.vs-principal-modal-window .vs-usuario-register-form,
.vs-principal-modal-window .vs-backup-create-form,
.vs-principal-modal-window .vs-backup-restore-form,
.vs-principal-modal-window .vs-backup-list-form {
    margin: 0 auto;
}

.vs-principal-modal-window .vs-usuario-shell {
    min-height: 0;
    display: block;
    padding: 0;
    background: transparent;
}

.vs-diaadia-child-modal {
    z-index: 44;
}

.vs-caja-tab-control {
    border: 1px solid #b4b4b4;
    background: var(--vs-form-bg);
}

.vs-caja-tab-header,
.vs-toolstrip,
.vs-form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.vs-caja-tab-header {
    align-items: flex-end;
    padding: 4px 4px 0;
    border-bottom: 1px solid #b4b4b4;
}

.vs-caja-tab-button {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #b4b4b4;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(#f8f8f8, #dfdfdf);
    color: var(--vs-text);
    padding: 4px 10px;
    font: inherit;
    cursor: pointer;
}

.vs-caja-tab-button-active,
.vs-caja-tab-button:hover {
    background: var(--vs-input-bg);
    font-weight: 600;
}

.vs-caja-tab-panel {
    padding: 8px;
    background: var(--vs-input-bg);
}

.vs-toolstrip {
    min-height: 35px;
    padding: 3px;
    margin-bottom: 6px;
    border: 1px solid #c8c8c8;
    background: var(--vs-form-bg);
}

.vs-input {
    width: 100%;
    min-height: 26px;
    box-sizing: border-box;
    border: 1px solid var(--vs-input-border);
    border-radius: 3px;
    background: var(--vs-input-bg);
    color: var(--vs-text);
    padding: 3px 6px;
    font: inherit;
}

.vs-input:focus {
    border-color: var(--vs-accent);
    box-shadow: 0 0 0 2px rgba(0, 103, 192, 0.18);
    outline: none;
}

.vs-input[readonly] {
    background: rgba(127, 127, 127, 0.08);
}

.vs-id-input {
    width: 92px;
}

.vs-num {
    text-align: right;
}

.vs-textarea {
    min-height: 70px;
    resize: vertical;
}

.vs-icon-button,
.vs-command-button,
.vs-grid-button {
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.vs-icon-button {
    width: 41px;
    height: 29px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #a6a6a6;
    background: #ffffe1;
    color: #1f2937;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.vs-icon-button:disabled,
.vs-command-button:disabled,
.vs-grid-button:disabled {
    cursor: default;
    opacity: 0.55;
}

.vs-icon-button-save {
    color: #0000cd;
}

.vs-icon-button-cancel {
    color: #d70000;
}

.vs-icon-button-add {
    color: #008000;
}

.vs-icon-button-black {
    color: #111111;
}

.vs-icon-button-filter {
    color: var(--vs-accent);
}

.vs-icon-button-search {
    color: #b000b5;
}

.vs-icon-button-user {
    color: #9400d3;
}

.vs-icon-button-edit {
    color: #8b6508;
}

.vs-icon-button-danger {
    color: var(--vs-danger);
}

.vs-command-button {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #a6a6a6;
    background: #ffffe1;
    color: #1c222e;
    padding: 4px 9px;
    font-size: 12px;
}

.vs-grid-button {
    min-width: 42px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #a6a6a6;
    background: #ffffe1;
    color: #1c222e;
    padding: 2px 6px;
}

.vs-danger-command {
    color: var(--vs-danger);
}

:is(.vs-winforms-button, .vs-command-button).vs-form-close-button {
    border-color: var(--vs-close-background);
    background: var(--vs-close-background);
    color: #ffffff;
}

:is(.vs-winforms-button, .vs-command-button).vs-form-close-button:hover:not(:disabled) {
    border-color: var(--vs-close-background-hover);
    background: var(--vs-close-background-hover);
    color: #ffffff;
}

:is(.vs-winforms-button, .vs-command-button).vs-form-close-button:active:not(:disabled) {
    border-color: var(--vs-close-background-pressed);
    background: var(--vs-close-background-pressed);
}

:is(.vs-winforms-button, .vs-command-button).vs-form-close-button:focus-visible {
    border-color: var(--vs-close-background);
    background: var(--vs-close-background);
    color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px var(--vs-close-focus-ring);
}

.vs-group-box {
    position: relative;
    min-width: 0;
    margin: 10px 0 8px;
    padding: 14px 8px 8px;
    border: 1px solid #b4b4b4;
    background: var(--vs-form-bg);
}

.vs-group-title {
    position: absolute;
    top: -8px;
    left: 8px;
    padding: 0 4px;
    background: var(--vs-form-bg);
    font-weight: 600;
}

.vs-field,
.vs-field-inline {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.vs-field-inline {
    grid-template-columns: auto minmax(120px, 1fr);
    align-items: center;
    gap: 5px;
}

.vs-check {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vs-check-inline {
    min-height: 24px;
    align-self: end;
}

.vs-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
}

.vs-span-2 {
    grid-column: 1 / -1;
}

.vs-grid-shell {
    border: 1px solid var(--vs-input-border);
    background: var(--vs-input-bg);
    overflow: auto;
}

.vs-grid-short {
    max-height: 310px;
}

.vs-grid {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    background: var(--vs-input-bg);
    font-size: 12px;
}

.vs-grid th,
.vs-grid td {
    padding: 3px 5px;
    border-right: 1px solid #d2d2d2;
    border-bottom: 1px solid #d8d8d8;
    white-space: nowrap;
    vertical-align: middle;
}

.vs-grid th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--vs-form-bg);
    color: var(--vs-text);
    font-weight: 600;
}

.vs-grid tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.06);
}

.vs-grid tbody tr:hover,
.vs-grid-row-selected {
    background: rgba(0, 103, 192, 0.18) !important;
}

.vs-grid-empty {
    padding: 14px;
    color: var(--vs-muted);
    text-align: center;
}

.vs-search-input {
    width: min(360px, 100%);
}

.vs-solo-cliente-check {
    min-width: 126px;
}

.vs-diaadia-grid-shell {
    min-height: 520px;
    max-height: min(671px, calc(100vh - 190px));
}

.vs-ahorro-diaadia-grid-shell {
    min-height: 520px;
    max-height: min(600px, calc(100vh - 190px));
}

.vs-cliente-buscar-grid-shell {
    min-height: 320px;
    max-height: min(460px, calc(100vh - 220px));
}

.vs-suscripcion-child-modal {
    z-index: 46;
}

.vs-suscripcion-search-modal {
    width: min(553px, calc(100vw - 28px));
}

.vs-suscripcion-search-body {
    display: grid;
    gap: 6px;
}

.vs-suscripcion-search-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 253px) 75px;
    gap: 6px;
    align-items: center;
}

.vs-suscripcion-search-toolbar .vs-textbox,
.vs-suscripcion-search-toolbar .vs-command-button {
    min-height: 23px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 12px;
}

.vs-suscripcion-search-grid-shell {
    height: 298px;
    max-height: min(298px, calc(100vh - 210px));
}

.vs-suscripcion-search-grid-shell .vs-grid th:nth-child(1),
.vs-suscripcion-search-grid-shell .vs-grid td:nth-child(1) {
    width: 42px;
    text-align: right;
}

.vs-suscripcion-search-grid-shell .vs-grid th:last-child,
.vs-suscripcion-search-grid-shell .vs-grid td:last-child {
    width: 58px;
    text-align: center;
}

.vs-diaadia-layout {
    display: block;
}

.vs-diaadia-tabview-tab-control {
    border: 1px solid #b4b4b4;
    background: var(--vs-form-bg);
}

.vs-diaadia-tabview-form-embedded .vs-diaadia-tabview-tab-control {
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.vs-diaadia-tabview-page {
    min-height: 688px;
    padding: 6px;
    background: var(--vs-input-bg);
}

.vs-diaadia-tabview-form-embedded .vs-diaadia-tabview-page {
    min-height: 0;
    overflow: auto;
}

.vs-diaadia-form-embedded,
.vs-ahorro-diaadia-form-embedded {
    width: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.vs-diaadia-form-embedded.vs-winforms-form-scrollbar,
.vs-ahorro-diaadia-form-embedded.vs-winforms-form-scrollbar {
    max-height: none;
    overflow: hidden;
}

.vs-diaadia-form-embedded .vs-form-body,
.vs-ahorro-diaadia-form-embedded .vs-form-body {
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.vs-diaadia-form-embedded .vs-toolstrip,
.vs-ahorro-diaadia-form-embedded .vs-toolstrip,
.vs-diaadia-form-embedded .vs-inline-alert,
.vs-ahorro-diaadia-form-embedded .vs-inline-alert {
    flex: 0 0 auto;
}

.vs-diaadia-form-embedded .vs-diaadia-layout {
    min-height: 0;
    flex: 1 1 auto;
}

.vs-diaadia-form-embedded .vs-diaadia-grid-shell,
.vs-ahorro-diaadia-form-embedded .vs-ahorro-diaadia-grid-shell {
    min-height: 0;
    max-height: none;
    flex: 1 1 auto;
    height: 100%;
}

.vs-diaadia-pending-panel {
    min-height: 360px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    color: var(--vs-muted);
    text-align: center;
}

.vs-diaadia-pending-panel strong {
    color: var(--vs-text);
}

.vs-context-panel {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 8px;
    border: 1px solid #b4b4b4;
    background: var(--vs-form-bg);
}

.vs-context-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.vs-context-title {
    font-weight: 700;
}

.vs-context-subtitle {
    color: var(--vs-muted);
}

.vs-document-preview-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: grid;
    place-items: center;
    padding: 14px;
    background: rgba(0, 0, 0, 0.58);
}

.vs-document-preview-window {
    width: min(940px, calc(100vw - 28px));
    height: min(900px, calc(100vh - 28px));
    min-height: 420px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid #737373;
    background: var(--vs-form-bg);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
}

.vs-document-preview-header,
.vs-document-preview-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-bottom: 1px solid #b4b4b4;
}

.vs-document-preview-header {
    justify-content: space-between;
}

.vs-document-preview-header > div {
    display: grid;
    gap: 2px;
}

.vs-document-preview-header span {
    color: var(--vs-muted);
}

.vs-document-preview-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
    border-top: 1px solid #b4b4b4;
    border-bottom: 0;
}

.vs-document-preview-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: #ededed;
}

.vs-diaadia-row-seguimiento-futuro {
    background: #e6f4ea !important;
}

.vs-diaadia-row-seguimiento-hoy {
    background: #fff4ce !important;
}

.vs-diaadia-row-seguimiento-vencido {
    background: #fde7e9 !important;
}

.vs-diaadia-row-prestamo-vencido {
    color: var(--vs-danger);
}

.vs-diaadia-cell-cuotas-sin-seguimiento {
    background: #fbc02d;
    color: #111111;
    font-weight: 700;
}

.vs-diaadia-filter-canvas,
.vs-seguimiento-canvas {
    gap: 8px;
}

.vs-diaadia-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.vs-check-list {
    display: grid;
    gap: 6px;
    align-content: start;
}

.vs-diaadia-type-list {
    max-height: 132px;
    overflow: auto;
    padding: 4px;
    border: 1px solid var(--vs-input-border);
    background: var(--vs-input-bg);
}

.vs-diaadia-filter-actions {
    justify-content: flex-end;
}

.vs-seguimiento-captura {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) 124px;
    gap: 6px;
    align-items: center;
}

.vs-seguimiento-anotacion,
.vs-seguimiento-pendiente {
    grid-column: 1;
}

.vs-seguimiento-save {
    width: 124px;
    justify-self: start;
}

.vs-seguimiento-fecha {
    grid-column: 1 / -1;
    max-width: 390px;
}

.vs-seguimiento-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 177px;
    gap: 8px;
}

.vs-seguimiento-grid-shell {
    min-height: 374px;
    max-height: min(374px, calc(100vh - 210px));
}

.vs-seguimiento-grid th:nth-child(1),
.vs-seguimiento-grid td:nth-child(1) {
    width: 40px;
}

.vs-seguimiento-grid th:nth-child(2),
.vs-seguimiento-grid td:nth-child(2) {
    width: 80px;
}

.vs-seguimiento-grid th:nth-child(3),
.vs-seguimiento-grid td:nth-child(3) {
    min-width: 260px;
}

.vs-seguimiento-grid th:nth-child(4),
.vs-seguimiento-grid td:nth-child(4) {
    width: 34px;
    text-align: center;
}

.vs-seguimiento-grid th:nth-child(5),
.vs-seguimiento-grid td:nth-child(5) {
    width: 85px;
}

.vs-seguimiento-grid th:nth-child(6),
.vs-seguimiento-grid td:nth-child(6) {
    width: 70px;
}

.vs-seguimiento-context-menu {
    width: 177px;
    box-sizing: border-box;
}

.vs-caja-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 8px;
}

.vs-caja-ahorro-grid {
    grid-template-columns: minmax(220px, 0.72fr) minmax(520px, 1.78fr);
}

.vs-caja-ahorro-resumen {
    min-width: 0;
}

.vs-caja-ahorro-transaccion {
    min-width: 0;
}

.vs-caja-cuota-vencida td {
    color: #991b1b;
    background: rgba(220, 38, 38, 0.12);
}

.vs-caja-cuota-vence-hoy td {
    color: #854d0e;
    background: rgba(234, 179, 8, 0.18);
}

.vs-caja-cuota-vencida[aria-disabled="true"],
.vs-caja-cuota-vence-hoy[aria-disabled="true"] {
    cursor: default;
}

.vs-backup-create-canvas {
    width: 760px;
    max-width: 100%;
    min-height: 265px;
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
}

.vs-backup-create-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
}

.vs-backup-route-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 109px;
    gap: 6px;
    align-items: center;
}

.vs-backup-hint {
    color: var(--vs-muted);
    font-size: 12px;
}

.vs-backup-actions {
    justify-content: flex-start;
}

.vs-backup-close-button {
    margin-left: auto;
}

.vs-backup-restore-canvas {
    width: 860px;
    max-width: 100%;
    min-height: 373px;
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
}

.vs-backup-selection-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 118px 146px;
    gap: 6px;
    align-items: end;
}

.vs-backup-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.vs-backup-detail-grid .vs-span-4 {
    grid-column: 1 / -1;
}

.vs-backup-status-textarea {
    min-height: 44px;
    resize: none;
}

.vs-backup-list-canvas {
    width: 1160px;
    max-width: 100%;
    min-height: 502px;
    grid-template-rows: minmax(0, 1fr) auto;
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
}

.vs-backup-summary {
    margin-bottom: 6px;
    color: var(--vs-muted);
    font-weight: 600;
}

.vs-backup-list-grid-shell {
    width: 1126px;
    height: 365px;
    max-width: 100%;
}

.vs-backup-list-grid {
    min-width: 1090px;
}

.vs-backup-list-grid th:nth-child(1),
.vs-backup-list-grid td:nth-child(1) {
    width: 190px;
}

.vs-backup-list-grid th:nth-child(2),
.vs-backup-list-grid td:nth-child(2) {
    width: 360px;
}

.vs-backup-list-grid th:nth-child(3),
.vs-backup-list-grid td:nth-child(3),
.vs-backup-list-grid th:nth-child(4),
.vs-backup-list-grid td:nth-child(4) {
    width: 120px;
}

.vs-backup-list-grid th:nth-child(5),
.vs-backup-list-grid td:nth-child(5) {
    width: 90px;
}

.vs-backup-list-grid th:nth-child(6),
.vs-backup-list-grid td:nth-child(6) {
    width: 135px;
}

.vs-backup-list-grid th:nth-child(7),
.vs-backup-list-grid td:nth-child(7) {
    width: 110px;
}

.vs-backup-list-grid th:nth-child(8),
.vs-backup-list-grid td:nth-child(8) {
    width: 70px;
    text-align: center;
}

.vs-backup-child-modal {
    z-index: 48;
}

.vs-prestamo-buscar-form {
    width: min(688px, 100%);
}

.vs-principal-modal-window-prestamo-buscar {
    width: min(728px, 100%);
}

.vs-caja-prestamo-buscar-backdrop {
    z-index: 42;
}

.vs-prestamo-buscar-body {
    display: grid;
    gap: 8px;
}

.vs-prestamo-buscar-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.vs-prestamo-buscar-grid-shell {
    min-height: 298px;
    max-height: min(298px, calc(100vh - 220px));
}

.vs-prestamo-buscar-grid th:nth-child(1),
.vs-prestamo-buscar-grid td:nth-child(1) {
    width: 112px;
}

.vs-prestamo-buscar-grid th:nth-child(3),
.vs-prestamo-buscar-grid td:nth-child(3) {
    width: 116px;
}

.vs-prestamo-buscar-grid th:nth-child(4),
.vs-prestamo-buscar-grid td:nth-child(4) {
    width: 96px;
}

.vs-prestamo-buscar-command-row {
    justify-content: flex-end;
}

.vs-ahorro-register-form,
.vs-ahorro-search-form,
.vs-ahorro-catalog-form,
.vs-cartera-form,
.vs-personal-externo-form,
.vs-tipo-prestamo-form,
.vs-tipo-costo-form,
.vs-solicitud-register-form,
.vs-solicitudes-form {
    width: min(var(--vs-form-width), 100%);
}

.vs-principal-modal-window-ahorro-register {
    width: min(820px, 100%);
}

.vs-principal-modal-window-ahorro-buscar {
    width: min(1200px, 100%);
}

.vs-principal-modal-window-ahorro-catalog {
    width: min(504px, calc(100% - 24px));
}

.vs-principal-modal-window-solicitudes {
    width: min(970px, calc(100vw - 18px));
}

.vs-principal-modal-window-solicitud-register {
    width: min(1160px, calc(100vw - 18px));
    height: min(740px, calc(100vh - 18px));
    overflow: hidden;
}

.vs-principal-modal-window-solicitud-decision {
    width: min(540px, calc(100vw - 24px));
    overflow: visible;
}

.vs-principal-modal-window-cliente-editar {
    width: min(1120px, calc(100vw - 18px));
    height: min(760px, calc(100vh - 18px));
    overflow: hidden;
}

.vs-principal-modal-window-tipo-prestamo {
    width: min(504px, calc(100% - 24px));
    overflow: visible;
}

.vs-principal-modal-window-contratos {
    width: min(884px, calc(100% - 24px));
}

.vs-principal-modal-window-personal-externo {
    width: min(1104px, calc(100% - 24px));
    max-height: calc(100vh - 18px);
}

.vs-principal-modal-window-tipo-costo {
    width: min(564px, calc(100% - 24px));
    overflow: visible;
}

.vs-principal-modal-window-cartera {
    width: min(554px, calc(100% - 24px));
    overflow: visible;
}

.vs-principal-modal-window .vs-ahorro-register-form,
.vs-principal-modal-window .vs-ahorro-search-form,
.vs-principal-modal-window .vs-ahorro-catalog-form,
.vs-principal-modal-window .vs-cartera-form,
.vs-principal-modal-window .vs-personal-externo-form,
.vs-principal-modal-window .vs-tipo-prestamo-form,
.vs-principal-modal-window .vs-tipo-costo-form,
.vs-principal-modal-window .vs-contratos-form,
.vs-principal-modal-window .vs-solicitud-register-form,
.vs-principal-modal-window .vs-solicitudes-form {
    margin: 0 auto;
}

.vs-solicitudes-canvas {
    width: 930px;
    height: 500px;
    max-width: 100%;
    max-height: calc(100vh - 58px);
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 7px;
    box-sizing: border-box;
}

.vs-solicitudes-action-row {
    min-height: 30px;
}

.vs-solicitudes-grid-shell {
    width: 100%;
    height: 398px;
    min-height: 260px;
}

.vs-solicitudes-grid {
    min-width: 1040px;
}

.vs-solicitudes-form.vs-solicitudes-form-embedded {
    width: 100%;
    max-width: none;
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.vs-solicitudes-form-embedded.vs-winforms-form-scrollbar {
    max-height: none;
    overflow: hidden;
}

.vs-solicitudes-form-embedded .vs-solicitudes-canvas {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    max-height: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.vs-solicitudes-form-embedded .vs-solicitudes-grid-shell {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
}

.vs-solicitud-register-canvas {
    width: 1120px;
    height: 690px;
    max-width: 100%;
    max-height: calc(100vh - 58px);
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 7px;
    overflow: hidden;
    box-sizing: border-box;
}

.vs-solicitud-tabs {
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.vs-solicitud-tab-page {
    min-height: 0;
    overflow: auto;
    padding: 7px;
    border: 1px solid var(--vs-input-border);
    border-top: 0;
    background: var(--vs-input-bg);
}

.vs-solicitud-client-grid,
.vs-solicitud-loan-grid,
.vs-solicitud-cost-grid,
.vs-solicitud-approval-grid,
.vs-solicitud-warranty-grid,
.vs-solicitud-work-grid,
.vs-solicitud-person-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
    align-items: start;
}

.vs-solicitud-guarante-grid,
.vs-solicitud-guarante-work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
}

.vs-solicitud-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.vs-solicitud-control-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vs-solicitud-person-control,
.vs-solicitud-work-control {
    min-width: 0;
}

.vs-solicitud-guarante-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 75px 75px;
    gap: 6px;
    align-items: end;
}

.vs-solicitud-child-modal {
    z-index: 46;
}

.vs-solicitud-decision-dialog {
    width: 520px;
    max-width: 100%;
}

.vs-solicitud-decision-body {
    width: 520px;
    max-width: 100%;
    gap: 8px;
    box-sizing: border-box;
}

.vs-solicitud-decision-field {
    display: grid;
    gap: 4px;
}

.vs-solicitud-decision-field .vs-textarea {
    min-height: 160px;
}

.vs-solicitud-decision-actions {
    justify-content: flex-end;
}

.vs-ahorro-register-canvas {
    width: 780px;
    height: 511px;
    max-width: 100%;
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
}

.vs-ahorro-panel {
    position: relative;
    min-width: 0;
    display: grid;
    gap: 8px;
    padding: 15px 17px 12px;
    border: 1px solid #777777;
    background: #c0c0c0;
}

.vs-ahorro-panel-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #459aaa;
}

.vs-ahorro-panel h2 {
    margin: 0 0 4px;
    color: #1d2c3a;
    font-size: 15px;
    line-height: 1.2;
}

.vs-ahorro-account-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 216px));
    gap: 8px 23px;
    align-items: start;
}

.vs-ahorro-tax-check {
    margin-top: 4px;
}

.vs-ahorro-participants-grid {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) 40px 40px;
    gap: 7px 6px;
    align-items: center;
}

.vs-ahorro-participants-grid .vs-field-error {
    grid-column: 2 / 5;
}

.vs-ahorro-input {
    min-height: 23px;
    padding: 2px 5px;
}

.vs-ahorro-input[readonly] {
    background: #f7f9fc;
}

.vs-ahorro-rules {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #9aa8b3;
    background: #f3f8fc;
    color: #3a5666;
}

.vs-ahorro-error-list {
    margin: 0;
    padding-left: 18px;
}

.vs-ahorro-command-row {
    justify-content: flex-end;
    margin-top: 0;
}

.vs-ahorro-child-modal {
    z-index: 44;
}

.vs-caja-ahorro-catalog-backdrop {
    z-index: 46;
}

.vs-ahorro-catalog-canvas {
    width: 464px;
    height: 481px;
    max-width: 100%;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
}

.vs-ahorro-catalog-command-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 84px minmax(0, 1fr) 84px;
    gap: 6px;
    align-items: center;
}

.vs-ahorro-catalog-command-row #_btnAnular {
    grid-column: 3;
}

.vs-ahorro-catalog-command-row #_btnGuardar {
    grid-column: 5;
}

.vs-ahorro-catalog-editor {
    min-height: 44px;
    display: grid;
    grid-template-columns: 69px minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
}

.vs-ahorro-catalog-input {
    min-height: 23px;
    padding: 2px 5px;
}

.vs-ahorro-catalog-check {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.vs-ahorro-catalog-check input {
    width: 15px;
    height: 15px;
}

.vs-ahorro-catalog-grid-shell {
    width: 440px;
    height: 370px;
    max-width: 100%;
}

.vs-ahorro-catalog-grid {
    min-width: 438px;
    table-layout: fixed;
}

.vs-ahorro-catalog-grid th:nth-child(2),
.vs-ahorro-catalog-grid td:nth-child(2) {
    width: 150px;
}

.vs-ahorro-catalog-grid tbody tr {
    cursor: default;
}

.vs-ahorro-catalog-row-selected {
    outline: 2px solid var(--vs-accent);
    outline-offset: -2px;
}

.vs-ahorro-catalog-status {
    margin-left: auto;
    color: var(--vs-muted);
    font-weight: 500;
}

.vs-prestamo-tipo-catalog-backdrop {
    z-index: 46;
}

.vs-prestamo-costo-catalog-backdrop {
    z-index: 47;
}

.vs-cartera-catalog-backdrop {
    z-index: 46;
}

.vs-cartera-canvas {
    width: 514px;
    height: 481px;
    max-width: 100%;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
}

.vs-cartera-command-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 84px minmax(0, 1fr) 84px;
    gap: 6px;
    align-items: center;
}

.vs-cartera-command-row #_btnAnular {
    grid-column: 3;
}

.vs-cartera-command-row #_btnGuardar {
    grid-column: 5;
}

.vs-cartera-editor {
    min-height: 44px;
    display: grid;
    grid-template-columns: 56px minmax(0, 292px) auto;
    gap: 6px;
    align-items: center;
}

.vs-cartera-input {
    min-height: 23px;
    padding: 2px 5px;
}

.vs-cartera-check {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.vs-cartera-check input {
    width: 15px;
    height: 15px;
}

.vs-cartera-grid-shell {
    width: 490px;
    height: 364px;
    max-width: 100%;
}

.vs-cartera-grid {
    min-width: 488px;
    table-layout: fixed;
}

.vs-cartera-grid th:nth-child(1),
.vs-cartera-grid td:nth-child(1) {
    width: 72px;
    text-align: right;
}

.vs-cartera-grid th:nth-child(3),
.vs-cartera-grid td:nth-child(3) {
    width: 96px;
}

.vs-cartera-grid tbody tr {
    cursor: default;
}

.vs-cartera-row-selected {
    outline: 2px solid var(--vs-accent);
    outline-offset: -2px;
}

.vs-cartera-row-anulada {
    color: var(--vs-muted);
}

.vs-cartera-status {
    margin-left: auto;
    color: var(--vs-muted);
    font-weight: 500;
}

.vs-tipo-prestamo-canvas {
    width: 464px;
    height: auto;
    max-width: 100%;
    grid-template-rows: auto auto auto auto;
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
}

.vs-tipo-prestamo-command-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 84px minmax(0, 1fr) 84px;
    gap: 6px;
    align-items: center;
}

.vs-tipo-prestamo-command-row #_btnAnular {
    grid-column: 3;
}

.vs-tipo-prestamo-command-row #_btnGuardar {
    grid-column: 5;
}

.vs-tipo-prestamo-editor {
    min-height: 31px;
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
}

.vs-tipo-prestamo-input {
    min-height: 23px;
    padding: 2px 5px;
}

.vs-tipo-prestamo-grid-shell {
    width: 440px;
    height: auto;
    max-height: 376px;
    max-width: 100%;
}

.vs-tipo-prestamo-grid {
    min-width: 438px;
    table-layout: fixed;
}

.vs-tipo-prestamo-grid th:nth-child(1),
.vs-tipo-prestamo-grid td:nth-child(1) {
    width: 72px;
    text-align: right;
}

.vs-tipo-prestamo-grid th:nth-child(3),
.vs-tipo-prestamo-grid td:nth-child(3) {
    width: 96px;
}

.vs-tipo-prestamo-grid tbody tr {
    cursor: default;
}

.vs-tipo-prestamo-row-selected {
    outline: 2px solid var(--vs-accent);
    outline-offset: -2px;
}

.vs-tipo-prestamo-row-anulado {
    color: var(--vs-muted);
}

.vs-tipo-prestamo-status {
    margin-left: auto;
    color: var(--vs-muted);
    font-weight: 500;
}

.vs-prestamo-contratos-backdrop {
    z-index: 42;
}

.vs-contrato-generar-backdrop {
    z-index: 52;
}

.vs-principal-modal-window-contrato-generar {
    width: min(430px, calc(100vw - 24px));
    overflow: visible;
}

.vs-contrato-generar-form {
    width: 100%;
}

.vs-contrato-generar-body {
    display: grid;
    gap: 14px;
    min-height: 108px;
    padding: 16px;
    background: var(--vs-form-bg);
    color: var(--vs-text);
}

.vs-contrato-generar-description,
.vs-contrato-generar-status {
    margin: 0;
}

.vs-contrato-generar-status {
    align-self: center;
    justify-self: center;
    color: var(--vs-muted);
    font-weight: 600;
}

.vs-contrato-generar-grid {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: 10px 12px;
}

.vs-contrato-generar-grid label {
    color: var(--vs-text);
    font-weight: 600;
}

.vs-contrato-generar-grid .vs-winforms-input {
    width: 100%;
    min-height: 32px;
    box-sizing: border-box;
    border: 1px solid var(--vs-input-border);
    border-radius: 3px;
    background: var(--vs-input-bg);
    color: var(--vs-text);
    padding: 5px 7px;
    font: inherit;
}

.vs-contrato-generar-grid .vs-winforms-input:focus {
    border-color: var(--vs-accent);
    box-shadow: 0 0 0 2px rgba(0, 103, 192, 0.18);
    outline: none;
}

.vs-contrato-generar-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 520px) {
    .vs-contrato-generar-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .vs-contrato-generar-actions {
        flex-wrap: wrap;
    }
}

.vs-contratos-form {
    width: min(var(--vs-form-width), 100%);
}

.vs-contratos-canvas {
    width: 844px;
    max-width: 100%;
    min-height: 555px;
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
    background: #c0c0c0;
}

.vs-contratos-tab-control {
    display: grid;
    min-height: 500px;
    border: 1px solid #9a9a9a;
    background: #d3d3d3;
}

.vs-contratos-tab-page {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 8px;
    background: #d3d3d3;
}

.vs-contratos-checkbox-top,
.vs-contratos-folios-row {
    margin-left: 0;
    width: fit-content;
}

.vs-contratos-group {
    min-width: 0;
    margin: 0;
    padding: 10px;
    background: #c0c0c0;
}

.vs-contratos-grid {
    display: grid;
    align-items: start;
    gap: 6px 10px;
}

.vs-contratos-grid .vs-field-error {
    grid-column: 2 / -1;
}

.vs-contratos-empresa-grid {
    grid-template-columns: 84px minmax(240px, 1fr) 70px 156px;
}

.vs-contratos-empresa-grid label[for="txtDireccionLegalEmpresa"] {
    grid-column: 1;
}

.vs-contratos-empresa-grid #txtDireccionLegalEmpresa {
    grid-column: 2 / 5;
}

.vs-contratos-representante-grid {
    grid-template-columns: 76px 160px 38px 116px 64px minmax(180px, 1fr);
}

.vs-contratos-representante-grid label[for="txtCedulaRepresentante"] {
    grid-column: 1;
}

.vs-contratos-representante-grid label[for="txtDireccionRepresentante"] {
    grid-column: 3;
}

.vs-contratos-representante-grid #txtDireccionRepresentante {
    grid-column: 4 / 7;
}

.vs-contratos-label-disabled {
    color: #6f7680;
}

.vs-contratos-select-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 6px 10px;
}

.vs-contratos-select-row .vs-field-error {
    grid-column: 2;
}

.vs-contratos-montos-grid {
    display: grid;
    grid-template-columns: 140px 92px 112px 92px 108px 92px;
    align-items: center;
    gap: 6px 10px;
}

.vs-contratos-montos-grid .vs-field-error {
    grid-column: 2 / -1;
}

.vs-contratos-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.vs-personal-externo-canvas {
    width: 1064px;
    height: 630px;
    max-width: 100%;
    max-height: calc(100vh - 58px);
    grid-template-rows: auto auto minmax(0, 1fr);
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
    overflow: hidden;
    background: #c0c0c0;
}

.vs-personal-externo-group {
    min-width: 0;
    margin: 0;
    padding: 10px;
    background: #c0c0c0;
}

.vs-personal-externo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 128px;
    align-items: start;
    gap: 8px;
}

.vs-personal-externo-fields {
    display: grid;
    grid-template-columns: 78px 206px 74px 180px 98px minmax(186px, 1fr);
    align-items: center;
    gap: 6px 10px;
}

.vs-personal-externo-fields #lblDireccion,
.vs-personal-externo-fields #lblObservacion {
    grid-column: 1;
}

.vs-personal-externo-fields #txtDireccion,
.vs-personal-externo-fields #txtObservacion {
    grid-column: 2 / -1;
}

.vs-personal-externo-fields #txtObservacion {
    min-height: 62px;
    resize: vertical;
}

.vs-personal-externo-active {
    grid-column: 6;
    justify-self: start;
    margin-left: 0;
}

.vs-personal-externo-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-top: 58px;
}

.vs-personal-externo-grid-shell {
    width: 100%;
    height: 304px;
    min-height: 220px;
}

.vs-personal-externo-grid {
    min-width: 1560px;
    table-layout: fixed;
}

.vs-personal-externo-grid th:nth-child(1),
.vs-personal-externo-grid td:nth-child(1) {
    width: 92px;
}

.vs-personal-externo-grid th:nth-child(2),
.vs-personal-externo-grid td:nth-child(2) {
    width: 190px;
}

.vs-personal-externo-grid th:nth-child(6),
.vs-personal-externo-grid td:nth-child(6) {
    width: 230px;
}

.vs-personal-externo-grid th:nth-child(12),
.vs-personal-externo-grid td:nth-child(12) {
    width: 110px;
}

.vs-personal-externo-grid th:nth-child(13),
.vs-personal-externo-grid td:nth-child(13) {
    width: 88px;
}

.vs-personal-externo-grid tbody tr {
    cursor: default;
}

.vs-personal-externo-row-selected {
    outline: 2px solid var(--vs-accent);
    outline-offset: -2px;
}

.vs-personal-externo-row-anulado {
    color: var(--vs-muted);
}

.vs-personal-externo-status {
    margin-left: auto;
    color: var(--vs-muted);
    font-weight: 500;
}

@media (max-width: 760px) {
    .vs-contratos-canvas {
        width: 100%;
        min-height: 0;
    }

    .vs-contratos-tab-control {
        min-height: 0;
    }

    .vs-contratos-empresa-grid,
    .vs-contratos-representante-grid,
    .vs-contratos-select-row,
    .vs-contratos-montos-grid,
    .vs-personal-externo-layout,
    .vs-personal-externo-fields {
        grid-template-columns: 1fr;
    }

    .vs-contratos-empresa-grid #txtDireccionLegalEmpresa,
    .vs-contratos-representante-grid #txtDireccionRepresentante,
    .vs-contratos-select-row .vs-field-error,
    .vs-personal-externo-fields #txtDireccion,
    .vs-personal-externo-fields #txtObservacion,
    .vs-personal-externo-active {
        grid-column: auto;
    }

    .vs-personal-externo-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 0;
    }
}

.vs-tipo-costo-canvas {
    width: 524px;
    height: auto;
    max-width: 100%;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
}

.vs-tipo-costo-command-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 84px minmax(0, 1fr) 84px;
    gap: 6px;
    align-items: center;
}

.vs-tipo-costo-command-row #_btnAnular {
    grid-column: 3;
}

.vs-tipo-costo-command-row #_btnGuardar {
    grid-column: 5;
}

.vs-tipo-costo-editor {
    min-height: 31px;
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 6px;
    align-items: center;
}

.vs-tipo-costo-input {
    min-height: 23px;
    padding: 2px 5px;
}

.vs-tipo-costo-grid-shell {
    width: 500px;
    height: auto;
    max-height: 376px;
    max-width: 100%;
}

.vs-tipo-costo-grid {
    min-width: 498px;
    table-layout: fixed;
}

.vs-tipo-costo-grid th:nth-child(1),
.vs-tipo-costo-grid td:nth-child(1) {
    width: 72px;
    text-align: right;
}

.vs-tipo-costo-grid th:nth-child(3),
.vs-tipo-costo-grid td:nth-child(3) {
    width: 96px;
}

.vs-tipo-costo-grid tbody tr {
    cursor: default;
}

.vs-tipo-costo-row-selected {
    outline: 2px solid var(--vs-accent);
    outline-offset: -2px;
}

.vs-tipo-costo-row-anulado {
    color: var(--vs-muted);
}

.vs-tipo-costo-status {
    margin-left: auto;
    color: var(--vs-muted);
    font-weight: 500;
}

.vs-tipo-costo-form .vs-winforms-icon-action {
    width: var(--vs-button-width, 41px);
    height: var(--vs-button-height, 29px);
}

.vs-ahorro-search-canvas {
    width: 1160px;
    height: 446px;
    max-width: 100%;
    grid-template-rows: auto auto minmax(0, 1fr);
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
}

.vs-ahorro-search-toolbar {
    display: grid;
    grid-template-columns: 138px minmax(220px, 401px) 75px;
    gap: 6px;
    align-items: center;
}

.vs-ahorro-search-toolbar .vs-command-button {
    min-width: 75px;
    min-height: 23px;
    padding: 2px 8px;
}

.vs-ahorro-search-grid-shell {
    width: 1136px;
    height: 399px;
    max-width: 100%;
}

.vs-ahorro-search-grid th:nth-child(1),
.vs-ahorro-search-grid td:nth-child(1) {
    width: 120px;
}

.vs-ahorro-search-grid th:nth-child(2),
.vs-ahorro-search-grid td:nth-child(2) {
    width: 110px;
}

.vs-ahorro-search-grid th:nth-child(3),
.vs-ahorro-search-grid td:nth-child(3) {
    width: 230px;
}

.vs-ahorro-search-grid th:nth-child(4),
.vs-ahorro-search-grid td:nth-child(4) {
    width: 140px;
}

.vs-ahorro-search-grid th:nth-child(5),
.vs-ahorro-search-grid td:nth-child(5) {
    width: 150px;
}

.vs-ahorro-search-grid th:nth-child(6),
.vs-ahorro-search-grid td:nth-child(6) {
    width: 130px;
}

.vs-ahorro-search-grid th:nth-child(7),
.vs-ahorro-search-grid td:nth-child(7) {
    width: 90px;
}

.vs-ahorro-search-grid th:nth-child(8),
.vs-ahorro-search-grid td:nth-child(8) {
    width: 120px;
}

.vs-pago-intereses-form {
    width: min(var(--vs-form-width), 100%);
}

.vs-principal-modal-window-pago-intereses {
    width: min(1194px, 100%);
}

.vs-principal-modal-window .vs-pago-intereses-form {
    margin: 0 auto;
}

.vs-principal-modal-window .vs-mantenimiento-form {
    margin: 0 auto;
}

.vs-pago-intereses-status {
    margin-left: auto;
    color: var(--vs-muted);
    font-weight: 500;
}

.vs-pago-intereses-canvas {
    position: relative;
    width: 1154px;
    height: 598px;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 955px) 169px;
    grid-template-rows: 126px 94px minmax(0, 1fr) auto;
    gap: 6px;
    box-sizing: border-box;
}

.vs-pago-intereses-group {
    margin: 0;
}

.vs-pago-intereses-config {
    grid-column: 1;
    grid-row: 1;
}

.vs-pago-intereses-config-grid {
    display: grid;
    grid-template-columns: 117px 59px 122px 114px 80px minmax(0, 293px);
    gap: 4px 6px;
    align-items: center;
}

.vs-pago-intereses-config-grid label,
.vs-pago-intereses-summary-grid label {
    white-space: nowrap;
}

.vs-pago-intereses-message {
    grid-column: 2 / -1;
}

.vs-pago-intereses-actions {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    gap: 14px;
    align-content: center;
}

.vs-pago-intereses-action {
    width: 169px;
    min-height: 39px;
    white-space: normal;
    line-height: 1.2;
}

.vs-pago-intereses-action-run {
    color: #006400;
}

.vs-pago-intereses-action-apply {
    color: #483d8b;
}

.vs-pago-intereses-summary {
    grid-column: 1 / -1;
    grid-row: 2;
}

.vs-pago-intereses-summary-grid {
    display: grid;
    grid-template-columns: 93px 83px 134px 99px 122px 144px 137px 144px;
    gap: 5px 6px;
    align-items: center;
}

.vs-pago-intereses-grid-shell {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 1130px;
    height: 342px;
    max-width: 100%;
}

.vs-pago-intereses-grid {
    min-width: 1590px;
}

.vs-pago-intereses-grid th:nth-child(2),
.vs-pago-intereses-grid td:nth-child(2) {
    min-width: 180px;
}

.vs-pago-intereses-grid th:nth-child(16),
.vs-pago-intereses-grid td:nth-child(16) {
    min-width: 150px;
}

.vs-pago-intereses-row-clickable {
    cursor: pointer;
}

.vs-pago-intereses-recibo-button {
    min-width: 56px;
}

.vs-pago-intereses-recibo-backdrop {
    z-index: 48;
}

.vs-pago-intereses-recibo-window {
    width: min(520px, calc(100% - 24px));
}

.vs-mantenimiento-form {
    width: min(var(--vs-form-width), 100%);
}

.vs-mantenimiento-canvas {
    width: 1100px;
    height: 581px;
    max-width: 100%;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 8px;
    padding: 0 0 12px;
    box-sizing: border-box;
}

.vs-mantenimiento-header {
    display: grid;
    gap: 3px;
    padding: 14px 20px;
    border-bottom: 1px solid #d4d4d4;
    background: var(--vs-input-bg);
}

.vs-mantenimiento-header h1 {
    margin: 0;
    color: var(--vs-text);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
}

.vs-mantenimiento-header p {
    margin: 0;
    color: var(--vs-muted);
    font-size: 12px;
    line-height: 1.35;
}

.vs-mantenimiento-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 102px 102px;
    gap: 6px;
    align-items: center;
    padding: 0 20px;
}

.vs-mantenimiento-toolbar #lblResumen {
    min-width: 0;
    color: var(--vs-text);
}

.vs-mantenimiento-action {
    color: #006400;
}

.vs-mantenimiento-close-action {
    color: #2f4f4f;
}

.vs-mantenimiento-status {
    margin-left: auto;
    color: var(--vs-muted);
    font-weight: 500;
}

.vs-mantenimiento-grid-shell {
    width: 1060px;
    height: 388px;
    max-width: calc(100% - 40px);
    justify-self: center;
}

.vs-mantenimiento-grid {
    min-width: 1060px;
    table-layout: fixed;
}

.vs-mantenimiento-grid th:nth-child(1),
.vs-mantenimiento-grid td:nth-child(1) {
    width: 90px;
}

.vs-mantenimiento-grid th:nth-child(2),
.vs-mantenimiento-grid td:nth-child(2),
.vs-mantenimiento-grid th:nth-child(3),
.vs-mantenimiento-grid td:nth-child(3) {
    width: 120px;
}

.vs-mantenimiento-grid th:nth-child(4),
.vs-mantenimiento-grid td:nth-child(4) {
    width: 70px;
}

.vs-mantenimiento-grid th:nth-child(5),
.vs-mantenimiento-grid td:nth-child(5) {
    width: 65px;
}

.vs-mantenimiento-grid th:nth-child(6),
.vs-mantenimiento-grid td:nth-child(6) {
    width: 210px;
}

.vs-mantenimiento-grid th:nth-child(7),
.vs-mantenimiento-grid td:nth-child(7) {
    width: 80px;
}

.vs-mantenimiento-grid th:nth-child(8),
.vs-mantenimiento-grid td:nth-child(8) {
    width: 95px;
}

.vs-mantenimiento-grid th:nth-child(9),
.vs-mantenimiento-grid td:nth-child(9) {
    width: 75px;
}

.vs-mantenimiento-grid th:nth-child(10),
.vs-mantenimiento-grid td:nth-child(10) {
    width: 70px;
}

.vs-mantenimiento-grid th:nth-child(11),
.vs-mantenimiento-grid td:nth-child(11) {
    min-width: 160px;
}

.vs-mantenimiento-bool {
    text-align: center;
}

.vs-mantenimiento-bool input {
    width: 15px;
    height: 15px;
    margin: 0;
}

.vs-ahorro-recibo-form {
    width: 100%;
}

.vs-ahorro-recibo-body {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.vs-ahorro-recibo-heading {
    display: grid;
    gap: 2px;
    padding-bottom: 8px;
    border-bottom: 1px solid #b4b4b4;
    text-align: center;
}

.vs-ahorro-recibo-details {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    gap: 5px 8px;
    margin: 0;
}

.vs-ahorro-recibo-details dt {
    color: var(--vs-muted);
    font-weight: 600;
}

.vs-ahorro-recibo-details dd {
    min-width: 0;
    margin: 0;
}

.vs-ahorro-recibo-note {
    min-height: 42px;
    padding: 7px;
    border: 1px solid #b4b4b4;
    background: var(--vs-input-bg);
}

.vs-empleado-shell {
    min-height: 100vh;
    display: grid;
    place-items: start center;
    padding: 14px;
    background: var(--vs-window-bg);
    color: var(--vs-text);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 12px;
}

.vs-empleado-register-form,
.vs-empleado-search-form {
    width: min(var(--vs-form-width), 100%);
}

.vs-empleado-register-canvas {
    width: 685px;
    height: 325px;
    max-width: 100%;
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
}

.vs-empleado-fieldset {
    min-width: 0;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: none;
}

.vs-empleado-top-grid,
.vs-empleado-job-grid,
.vs-empleado-discounts-grid,
.vs-empleado-exit-grid {
    display: grid;
    align-items: start;
    gap: 6px;
}

.vs-empleado-top-grid {
    grid-template-columns: 47px 90px 59px 170px 58px 161px;
}

.vs-empleado-job-grid {
    grid-template-columns: 96px 90px 46px 92px 110px 145px;
}

.vs-empleado-discounts-grid {
    grid-template-columns: minmax(150px, 1fr) 92px minmax(210px, 1.3fr) 92px;
}

.vs-empleado-exit-grid {
    grid-template-columns: 183px 90px 45px 145px;
    max-width: 520px;
}

.vs-empleado-input {
    min-height: 23px;
    padding: 2px 5px;
    font-size: 12px;
}

.vs-empleado-input:disabled {
    background: rgba(127, 127, 127, 0.12);
}

.vs-empleado-command-row {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.vs-empleado-icon-button {
    width: 41px;
    height: 29px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #a6a6a6;
    border-radius: 4px;
    background: #ffffe1;
    color: #1f2937;
    cursor: pointer;
}

.vs-empleado-icon-button:disabled {
    cursor: default;
    opacity: 0.55;
}

.vs-empleado-icon-button-danger {
    color: var(--vs-danger);
}

.vs-empleado-register-status {
    margin-left: auto;
    color: var(--vs-muted);
    font-weight: 500;
}

.vs-icon-trash {
    width: 14px;
    height: 14px;
    position: relative;
    display: inline-block;
}

.vs-icon-trash::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 4px;
    width: 8px;
    height: 8px;
    border: 1px solid currentColor;
    border-top: none;
}

.vs-icon-trash::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 1px;
    width: 10px;
    height: 2px;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
}

.vs-span-all {
    grid-column: 1 / -1;
}

.vs-empleado-search-canvas {
    width: 555px;
    height: 419px;
    max-width: 100%;
    grid-template-rows: auto auto minmax(0, 1fr);
    align-content: start;
    gap: 8px;
    box-sizing: border-box;
}

.vs-empleado-search-toolbar {
    display: grid;
    grid-template-columns: 63px 253px 75px;
    gap: 6px;
    align-items: center;
}

.vs-empleado-search-input {
    min-height: 23px;
    padding: 2px 5px;
}

.vs-empleado-search-button {
    min-width: 75px;
    min-height: 23px;
    padding: 2px 8px;
}

.vs-empleado-search-grid-shell {
    width: 524px;
    height: 369px;
    max-width: 100%;
}

.vs-empleado-search-grid tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.08);
}

.vs-empleado-search-grid th:nth-child(1),
.vs-empleado-search-grid td:nth-child(1) {
    width: 90px;
}

.vs-empleado-search-grid th:nth-child(2),
.vs-empleado-search-grid td:nth-child(2),
.vs-empleado-search-grid th:nth-child(3),
.vs-empleado-search-grid td:nth-child(3) {
    width: 155px;
}

.vs-empleado-search-grid th:nth-child(4),
.vs-empleado-search-grid td:nth-child(4) {
    width: 120px;
}

.vs-empleado-buscar-backdrop {
    z-index: 44;
}

.vs-summary-list {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 8px;
    margin: 0;
}

.vs-summary-list dt {
    color: var(--vs-muted);
}

.vs-summary-list dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.vs-principal-modal-window-cambio-tasa {
    width: min(956px, calc(100vw - 18px));
    height: min(583px, calc(100vh - 18px));
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.vs-cambio-tasa-preview-backdrop {
    z-index: 52;
}

.vs-cambio-tasa-form {
    width: var(--vs-form-width, 924px);
    height: 551px;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

.vs-cambio-tasa-form.vs-winforms-form-scrollbar {
    overflow: hidden;
}

.vs-cambio-tasa-canvas {
    width: 904px;
    height: 531px;
    min-height: 0;
    max-width: 100%;
    max-height: calc(100vh - 52px);
    display: grid;
    grid-template-rows: 58px minmax(0, 1fr) 122px;
    gap: 0;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.vs-cambio-tasa-resumen {
    min-width: 0;
    display: grid;
    grid-template-rows: 27px 23px;
    align-content: start;
}

.vs-cambio-tasa-resumen-linea {
    min-width: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-cambio-tasa-resumen-principal {
    font-weight: 700;
}

.vs-cambio-tasa-grid-shell {
    min-height: 0;
    margin-bottom: 8px;
}

.vs-cambio-tasa-grid {
    min-width: 868px;
}

.vs-cambio-tasa-grid th {
    height: 48px;
    white-space: normal;
}

.vs-cambio-tasa-grid th:first-child,
.vs-cambio-tasa-grid td:first-child {
    width: 58px;
}

.vs-cambio-tasa-grid th:nth-child(2),
.vs-cambio-tasa-grid td:nth-child(2) {
    width: 82px;
    text-align: left;
}

.vs-cambio-tasa-bottom {
    min-height: 0;
    display: grid;
    grid-template-rows: 22px minmax(0, 1fr) 38px;
}

.vs-cambio-tasa-bottom label {
    display: flex;
    align-items: center;
}

.vs-cambio-tasa-explicacion {
    min-height: 0;
    resize: none;
    overflow-y: auto;
}

.vs-login-modal-window-license {
    width: min(470px, calc(100vw - 28px));
}

.vs-login-modal-window-registration {
    width: min(650px, calc(100vw - 28px));
}

.vs-login-modal-window > .vs-winforms-form {
    width: 100%;
    max-width: none;
}

.vs-cambio-tasa-actions {
    justify-content: flex-end;
    align-items: center;
    padding-top: 6px;
}

.vs-cambio-tasa-confirmar,
.vs-cambio-tasa-cancelar {
    min-width: 99px;
    min-height: 28px;
}

.vs-cambio-tasa-icon-check,
.vs-cambio-tasa-icon-cancel {
    position: relative;
    width: 14px;
    height: 14px;
    display: inline-block;
    flex: 0 0 14px;
}

.vs-cambio-tasa-icon-check::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 1px;
    width: 8px;
    height: 12px;
    border-right: 2px solid #0000cd;
    border-bottom: 2px solid #0000cd;
    transform: rotate(40deg);
}

.vs-cambio-tasa-icon-cancel::before,
.vs-cambio-tasa-icon-cancel::after {
    content: "";
    position: absolute;
    left: 1px;
    top: 6px;
    width: 12px;
    height: 2px;
    background: #b3261e;
}

.vs-cambio-tasa-icon-cancel::before {
    transform: rotate(45deg);
}

.vs-cambio-tasa-icon-cancel::after {
    transform: rotate(-45deg);
}

.vs-principal-modal-window-prestamo-datos {
    width: min(1078px, calc(100vw - 18px));
    height: min(692px, calc(100vh - 18px));
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.vs-prestamo-datos-form {
    width: var(--vs-form-width, 1045px);
    height: 640px;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

.vs-prestamo-datos-form.vs-winforms-form-scrollbar {
    overflow: hidden;
}

.vs-prestamo-datos-canvas {
    width: 1045px;
    height: 640px;
    min-height: 0;
    max-width: 100%;
    max-height: calc(100vh - 58px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 7px;
    overflow: hidden;
    box-sizing: border-box;
}

.vs-prestamo-datos-caption {
    margin-left: auto;
    color: var(--vs-muted);
    font-weight: 600;
}

.vs-prestamo-datos-top-grid {
    display: grid;
    grid-template-columns: 130px minmax(260px, 1fr);
    gap: 6px 8px;
    align-items: end;
}

.vs-prestamo-datos-top-grid label:not(.vs-check),
.vs-prestamo-datos-action-bar label:not(.vs-check),
.vs-prestamo-datos-options-copy label:not(.vs-check),
.vs-prestamo-contact-table label,
.vs-prestamo-contact-edit-grid label {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.vs-prestamo-datos-top-grid label span,
.vs-prestamo-datos-action-bar label span,
.vs-prestamo-datos-options-copy label:not(.vs-check) span,
.vs-prestamo-contact-table span,
.vs-prestamo-contact-edit-grid span {
    color: var(--vs-muted);
    font-size: 11px;
    font-weight: 600;
}

.vs-prestamo-datos-tab-control {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    border-bottom: 1px solid var(--vs-border);
}

.vs-prestamo-datos-status {
    min-height: 0;
}

.vs-prestamo-datos-tabs-shell {
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.vs-prestamo-datos-tab-button {
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid var(--vs-border);
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
    background: rgba(255, 255, 255, 0.7);
    color: var(--vs-text);
    cursor: pointer;
    white-space: nowrap;
}

.vs-prestamo-datos-tab-button.active {
    background: var(--vs-panel);
    font-weight: 700;
}

.vs-prestamo-datos-tab-panel {
    min-height: 0;
    overflow: auto;
    padding: 7px;
    border: 1px solid var(--vs-border);
    border-top: 0;
    background: var(--vs-panel);
}

.vs-datos-generales-layout {
    display: grid;
    grid-template-columns: 205px minmax(140px, 1fr) 205px minmax(140px, 1fr);
    gap: 2px;
    align-items: center;
    min-width: 880px;
    font-size: 12px;
}

.vs-datos-generales-section-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
    gap: 6px;
    align-items: center;
    margin-top: 8px;
    color: #1c222e;
    font-weight: 700;
}

.vs-datos-generales-section-row:first-child {
    margin-top: 0;
}

.vs-datos-generales-saldo-tools {
    display: grid;
    grid-template-columns: minmax(120px, 170px) minmax(150px, 1fr);
    gap: 6px;
    align-items: center;
}

.vs-datos-generales-label {
    min-height: 24px;
    display: flex;
    align-items: center;
    padding: 2px;
    color: var(--vs-text);
}

.vs-datos-generales-value {
    min-height: 24px;
    display: flex;
    align-items: center;
    padding: 2px 5px;
    border: 1px solid var(--vs-border);
    border-radius: 2px;
    background: var(--vs-input-bg, #fff);
    color: var(--vs-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-datos-generales-value-wide {
    grid-column: span 3;
}

.vs-prestamo-datos-action-row,
.vs-prestamo-datos-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.vs-prestamo-datos-action-bar {
    margin-bottom: 7px;
}

.vs-prestamo-datos-action-bar .vs-input {
    width: 124px;
}

.vs-tipo-costo-maintenance-button {
    min-width: 62px;
}

.vs-context-menu-dismiss {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: transparent;
}

.vs-windows-context-menu {
    position: fixed;
    z-index: 61;
    min-width: 184px;
    padding: 2px;
    border: 1px solid #8a8a8a;
    background: #f2f2f2;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
    color: #1f2328;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 12px;
}

.vs-windows-context-menu button {
    width: 100%;
    min-height: 22px;
    display: block;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 3px 22px 3px 24px;
    font: inherit;
    line-height: 16px;
    text-align: left;
    white-space: nowrap;
    cursor: default;
}

.vs-windows-context-menu button:hover,
.vs-windows-context-menu button:focus-visible {
    background: #e5f3ff;
    color: #000000;
    outline: 1px solid #99d1ff;
}

.vs-windows-context-menu button:disabled {
    color: #777777;
}

.vs-diaadia-actions-dismiss {
    background: transparent;
}

.vs-diaadia-actions-menu {
    left: 8px;
    top: 8px;
    width: 236px;
    max-width: calc(100vw - 16px);
    overflow: visible;
    outline: none;
}

.vs-diaadia-actions-menu-classic {
    border-radius: 0;
}

.vs-diaadia-actions-menu > button,
.vs-diaadia-actions-submenu > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vs-diaadia-actions-summary {
    display: grid;
    gap: 1px;
    min-width: 0;
    padding: 4px 8px 5px;
    border-bottom: 1px solid #d0d0d0;
    color: #1f2328;
    line-height: 1.2;
}

.vs-diaadia-actions-summary strong,
.vs-diaadia-actions-summary span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-diaadia-actions-summary span {
    color: #5f6368;
    font-size: 11px;
}

.vs-diaadia-actions-separator {
    height: 1px;
    margin: 3px 2px;
    background: #c9c9c9;
}

.vs-diaadia-actions-submenu-panel {
    position: absolute;
    top: 0;
    left: calc(100% - 1px);
    z-index: 62;
    width: max-content;
    min-width: 218px;
    max-width: min(320px, calc(100vw - 16px));
    max-height: calc(100vh - 16px);
    overflow: auto;
    padding: 2px;
    border: 1px solid #8a8a8a;
    background: #f2f2f2;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
}

.vs-diaadia-actions-menu.vs-context-menu-open-left .vs-diaadia-actions-submenu-panel {
    right: calc(100% - 1px);
    left: auto;
}

.vs-diaadia-actions-submenu-panel button {
    width: 100%;
    min-height: 22px;
    display: block;
    border: 0;
    background: transparent;
    color: #1f2328;
    padding: 3px 22px 3px 24px;
    font: inherit;
    line-height: 16px;
    text-align: left;
    white-space: nowrap;
}

.vs-diaadia-actions-submenu-panel button:hover,
.vs-diaadia-actions-submenu-panel button:focus-visible {
    background: #e5f3ff;
    color: #000000;
    outline: 1px solid #99d1ff;
}

.vs-diaadia-actions-submenu-panel button:disabled {
    color: #777777;
}

.vs-diaadia-actions-submenu-form {
    width: 246px;
    padding: 8px;
}

.vs-diaadia-actions-submenu-form label {
    display: grid;
    gap: 4px;
    padding: 3px 4px 8px;
    color: #1f2328;
}

.vs-diaadia-actions-carteras {
    max-height: min(360px, calc(100vh - 16px));
}

.vs-context-menu-arrow {
    margin-left: auto;
    font-size: 13px;
}

.vs-context-menu-empty {
    display: block;
    padding: 6px 10px;
    color: #666666;
    white-space: nowrap;
}

.vs-context-menu-danger {
    color: #9f1c13 !important;
}

.vs-diaadia-actions-copy-fallback {
    width: calc(100% - 8px);
    min-height: 72px;
    margin: 4px;
    resize: vertical;
}

.vs-diaadia-actions-menu-modern {
    border-color: var(--vs-border);
    border-radius: 8px;
    background: var(--vs-panel);
    color: var(--vs-text);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.vs-diaadia-actions-menu-modern .vs-diaadia-actions-summary,
.vs-diaadia-actions-menu-modern .vs-diaadia-actions-submenu-form label {
    color: var(--vs-text);
}

.vs-diaadia-actions-menu-modern .vs-diaadia-actions-summary span {
    color: var(--vs-muted);
}

.vs-diaadia-actions-menu-modern .vs-diaadia-actions-submenu-panel {
    border-color: var(--vs-border);
    border-radius: 7px;
    background: var(--vs-panel);
    color: var(--vs-text);
}

.vs-diaadia-actions-menu-modern .vs-diaadia-actions-submenu-panel button {
    color: var(--vs-text);
}

.vs-diaadia-actions-menu.vs-context-menu-compact-viewport {
    max-height: calc(100vh - 16px);
    overflow-y: auto;
}

.vs-diaadia-actions-menu.vs-context-menu-compact-viewport .vs-diaadia-actions-submenu-panel {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: 240px;
    margin: 2px 4px 4px 14px;
    box-shadow: none;
}

.vs-prestamo-datos-context-menu {
    max-width: calc(100vw - 16px);
}

.vs-principal-modal-window-cuotas-dialog {
    width: min(424px, calc(100vw - 24px));
    padding: 0;
}

.vs-prestamo-cuotas-dialog-form {
    width: min(408px, 100%);
}

.vs-prestamo-cuotas-dialog-body {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.vs-prestamo-cuotas-dialog-field {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
}

.vs-prestamo-cuotas-dialog-field .vs-input {
    width: 100%;
}

.vs-prestamo-cuotas-dialog-explicacion {
    min-height: 68px;
    resize: vertical;
}

.vs-prestamo-cuotas-dialog-actions {
    justify-content: flex-end;
    margin-top: 2px;
}

.vs-prestamo-datos-grid-shell {
    height: 360px;
    min-height: 260px;
}

.vs-prestamo-datos-mini-grid-shell {
    height: 438px;
    min-height: 240px;
    margin-top: 6px;
}

.vs-prestamo-datos-history-grid-shell {
    height: 132px;
    min-height: 90px;
    margin-top: 7px;
}

.vs-prestamo-datos-grid {
    min-width: 780px;
}

.vs-prestamo-datos-grid tbody tr {
    cursor: default;
}

.vs-grid-row-selected {
    outline: 2px solid #2563eb;
    outline-offset: -2px;
    background: rgba(37, 99, 235, 0.12);
}

.vs-prestamo-datos-row-paid {
    color: #166534;
    background: rgba(22, 101, 52, 0.08);
}

.vs-prestamo-datos-row-overdue {
    color: #991b1b;
    background: rgba(153, 27, 27, 0.08);
}

.vs-prestamo-datos-row-today {
    color: #854d0e;
    background: rgba(202, 138, 4, 0.12);
}

.vs-prestamo-datos-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.vs-prestamo-contact-panel {
    min-width: 0;
}

.vs-prestamo-contact-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-weight: 700;
}

.vs-prestamo-contact-subtitle {
    margin: 8px 0 5px;
    color: var(--vs-muted);
    font-weight: 700;
}

.vs-prestamo-contact-table,
.vs-prestamo-contact-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 7px;
}

.vs-prestamo-contact-span-2 {
    grid-column: span 2;
}

.vs-prestamo-contact-history {
    height: 150px;
    min-height: 120px;
}

.vs-prestamo-contact-actions {
    justify-content: flex-end;
}

.vs-textarea {
    min-height: 58px;
    resize: vertical;
}

.vs-prestamo-datos-options-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
}

.vs-prestamo-datos-options-actions {
    justify-content: flex-end;
    margin-top: 8px;
}

@media (prefers-color-scheme: dark) {
    .vs-caja-tab-button,
    .vs-winforms-form .vs-command-button,
    .vs-winforms-form .vs-grid-button,
    .vs-winforms-form .vs-icon-button,
    .vs-prestamo-datos-tab-button,
    .vs-suscripcion-command-button {
        background: linear-gradient(#464646, #353535);
        color: var(--vs-text);
    }

    .vs-winforms-form :is(.vs-winforms-button, .vs-command-button).vs-form-close-button {
        border-color: var(--vs-close-background);
        background: var(--vs-close-background);
        color: #ffffff;
    }
}

@media (max-width: 900px) {
    .vs-diaadia-layout,
    .vs-caja-grid,
    .vs-form-grid,
    .vs-solicitud-client-grid,
    .vs-solicitud-loan-grid,
    .vs-solicitud-cost-grid,
    .vs-solicitud-approval-grid,
    .vs-solicitud-warranty-grid,
    .vs-solicitud-work-grid,
    .vs-solicitud-person-grid,
    .vs-solicitud-guarante-grid,
    .vs-solicitud-guarante-work-grid,
    .vs-solicitud-guarante-summary,
    .vs-diaadia-filter-grid,
    .vs-seguimiento-layout,
    .vs-seguimiento-captura,
    .vs-empleado-top-grid,
    .vs-empleado-job-grid,
    .vs-empleado-discounts-grid,
    .vs-empleado-exit-grid,
    .vs-empleado-search-toolbar,
    .vs-suscripcion-search-toolbar,
    .vs-usuario-empleado-row,
    .vs-usuario-search-row,
    .vs-usuario-password-grid,
    .vs-usuario-permission-grid,
    .vs-usuario-minutes-row,
    .vs-ahorro-account-grid,
    .vs-ahorro-participants-grid,
    .vs-ahorro-search-toolbar,
    .vs-ahorro-catalog-editor,
    .vs-backup-route-row,
    .vs-backup-selection-row,
    .vs-backup-detail-grid,
    .vs-cartera-editor,
    .vs-tipo-prestamo-editor,
    .vs-tipo-costo-editor,
    .vs-personal-externo-layout,
    .vs-personal-externo-fields,
    .vs-pago-intereses-config-grid,
    .vs-pago-intereses-summary-grid,
    .vs-prestamo-datos-top-grid,
    .vs-prestamo-datos-contact-grid,
    .vs-prestamo-contact-table,
    .vs-prestamo-contact-edit-grid,
    .vs-prestamo-datos-options-copy,
    .vs-descargando-panel,
    .vs-historial-main,
    .vs-info-sistema-header {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-descargando-canvas {
        width: 100%;
        height: auto;
        min-height: 260px;
        padding: 12px;
    }

    .vs-descargando-panel {
        height: auto;
        min-height: 224px;
        grid-template-rows: auto auto auto auto;
        gap: 10px;
        padding: 20px;
    }

    .vs-descargando-heading,
    .vs-descargando-progress-row,
    #lblDetalle,
    .vs-descargando-cancel {
        grid-column: 1;
    }

    .vs-descargando-progress-row {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) 52px;
    }

    #lblDetalle {
        white-space: normal;
    }

    .vs-descargando-cancel {
        width: 100%;
    }

    .vs-context-panel {
        order: -1;
    }

    .vs-field-inline {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-seguimiento-save {
        width: 100%;
    }

    .vs-prestamo-buscar-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-prestamo-buscar-grid-shell {
        min-height: 240px;
        max-height: min(360px, calc(100vh - 240px));
    }

    .vs-empleado-register-canvas,
    .vs-empleado-search-canvas,
    .vs-ahorro-register-canvas,
    .vs-ahorro-search-canvas,
    .vs-ahorro-catalog-canvas,
    .vs-backup-create-canvas,
    .vs-backup-restore-canvas,
    .vs-backup-list-canvas,
    .vs-cartera-canvas,
    .vs-tipo-prestamo-canvas,
    .vs-tipo-costo-canvas,
    .vs-personal-externo-canvas,
    .vs-pago-intereses-canvas,
    .vs-mantenimiento-canvas,
    .vs-prestamo-datos-canvas,
    .vs-prestamo-datos-form,
    .vs-solicitudes-canvas,
    .vs-solicitud-register-canvas,
    .vs-historial-canvas,
    .vs-info-sistema-canvas {
        width: 100%;
        height: auto;
    }

    .vs-empleado-search-grid-shell,
    .vs-ahorro-search-grid-shell,
    .vs-ahorro-catalog-grid-shell,
    .vs-backup-list-grid-shell,
    .vs-cartera-grid-shell,
    .vs-tipo-prestamo-grid-shell,
    .vs-tipo-costo-grid-shell,
    .vs-personal-externo-grid-shell,
    .vs-pago-intereses-grid-shell,
    .vs-mantenimiento-grid-shell,
    .vs-prestamo-datos-grid-shell,
    .vs-prestamo-datos-mini-grid-shell,
    .vs-solicitudes-grid-shell,
    .vs-historial-version-list,
    .vs-info-sistema-grid-shell {
        width: 100%;
        height: min(369px, calc(100vh - 190px));
    }

    .vs-historial-canvas {
        grid-template-rows: auto auto auto;
        max-height: none;
        overflow: auto;
    }

    .vs-historial-header {
        height: auto;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 14px;
    }

    .vs-historial-heading h1 {
        font-size: 24px;
    }

    .vs-historial-installed {
        justify-items: start;
        text-align: left;
    }

    .vs-info-sistema-canvas {
        grid-template-rows: auto minmax(240px, auto) auto auto;
        max-height: none;
        overflow: auto;
    }

    .vs-info-sistema-header {
        height: auto;
        gap: 8px;
        padding: 14px;
    }

    .vs-info-sistema-heading h1 {
        font-size: 24px;
    }

    .vs-info-sistema-links {
        flex-wrap: wrap;
        gap: 10px 20px;
    }

    .vs-pago-intereses-actions {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vs-mantenimiento-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-pago-intereses-config,
    .vs-pago-intereses-summary,
    .vs-pago-intereses-grid-shell {
        grid-column: 1;
        grid-row: auto;
    }

    .vs-pago-intereses-action {
        width: 100%;
    }

    .vs-pago-intereses-message {
        grid-column: auto;
    }

    .vs-ahorro-catalog-command-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vs-ahorro-catalog-command-row #_btnAnular,
    .vs-ahorro-catalog-command-row #_btnGuardar {
        grid-column: auto;
    }

    .vs-tipo-prestamo-command-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vs-tipo-costo-command-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vs-cartera-command-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vs-cartera-command-row #_btnAnular,
    .vs-cartera-command-row #_btnGuardar {
        grid-column: auto;
    }

    .vs-tipo-prestamo-command-row #_btnAnular,
    .vs-tipo-prestamo-command-row #_btnGuardar {
        grid-column: auto;
    }

    .vs-tipo-costo-command-row #_btnAnular,
    .vs-tipo-costo-command-row #_btnGuardar {
        grid-column: auto;
    }

    .vs-personal-externo-fields #txtDireccion,
    .vs-personal-externo-fields #txtObservacion,
    .vs-personal-externo-active {
        grid-column: auto;
    }

    .vs-personal-externo-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 0;
    }

    .vs-prestamo-contact-span-2 {
        grid-column: auto;
    }

    .vs-datos-generales-layout {
        grid-template-columns: minmax(0, 1fr);
        min-width: 0;
    }

    .vs-datos-generales-section-row,
    .vs-datos-generales-value-wide {
        grid-column: auto;
    }

    .vs-datos-generales-section-row,
    .vs-datos-generales-saldo-tools {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-usuario-shell {
        place-items: start stretch;
        padding: 10px;
    }

    .vs-usuario-tabs {
        overflow-x: auto;
    }

    .vs-usuario-empleado-grid-shell {
        max-height: min(360px, calc(100vh - 360px));
    }
}

.vs-anular-prestamo-form {
    width: min(var(--vs-form-width), 100%);
}

.vs-principal-modal-window-anular-prestamo {
    width: min(592px, calc(100% - 24px));
    overflow: visible;
}

.vs-principal-modal-window .vs-anular-prestamo-form {
    margin: 0 auto;
}

.vs-anular-prestamo-canvas {
    position: relative;
    width: 552px;
    height: 301px;
    max-width: 100%;
    min-height: 301px;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: var(--vs-form-bg);
}

.vs-anular-prestamo-title {
    position: absolute;
    left: 18px;
    top: 18px;
    margin: 0;
    color: #b3261e;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
}

.vs-anular-prestamo-message {
    position: absolute;
    left: 18px;
    top: 52px;
    width: 514px;
    min-height: 48px;
    margin: 0;
    color: var(--vs-text);
    font-size: 14px;
    line-height: 1.35;
}

.vs-anular-prestamo-number {
    position: absolute;
    left: 18px;
    top: 112px;
    max-width: 514px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs-anular-prestamo-instruction {
    position: absolute;
    left: 18px;
    top: 145px;
    font-size: 14px;
    line-height: 1.2;
}

.vs-anular-prestamo-required-text,
.vs-anular-prestamo-confirm-text {
    position: absolute;
    left: 18px;
    width: 514px;
    height: 23px;
    box-sizing: border-box;
    font-size: 13px;
}

.vs-anular-prestamo-required-text {
    top: 166px;
    background: #f8f8f8;
}

.vs-anular-prestamo-confirm-text {
    top: 205px;
    text-transform: uppercase;
}

.vs-anular-prestamo-alert {
    position: absolute;
    left: 18px;
    top: 232px;
    width: 320px;
    min-height: 0;
    padding: 3px 6px;
    font-size: 12px;
    line-height: 1.2;
}

.vs-anular-prestamo-actions {
    position: absolute;
    left: 351px;
    top: 249px;
    display: flex;
    gap: 6px;
}

.vs-anular-prestamo-button {
    height: 32px;
    gap: 5px;
    padding: 4px 7px;
}

.vs-anular-prestamo-actions #btnAnular {
    width: 86px;
}

.vs-anular-prestamo-actions #btnCancelar {
    width: 89px;
}

.vs-anular-prestamo-icon-trash,
.vs-anular-prestamo-icon-cancel {
    width: 16px;
    height: 16px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 16px;
    border-radius: 2px;
    color: #b3261e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 620px) {
    .vs-anular-prestamo-canvas {
        width: 100%;
        height: auto;
        min-height: 0;
        display: grid;
        gap: 8px;
        padding: 12px;
        overflow: visible;
    }

    .vs-anular-prestamo-title,
    .vs-anular-prestamo-message,
    .vs-anular-prestamo-number,
    .vs-anular-prestamo-instruction,
    .vs-anular-prestamo-required-text,
    .vs-anular-prestamo-confirm-text,
    .vs-anular-prestamo-alert,
    .vs-anular-prestamo-actions {
        position: static;
        width: 100%;
        max-width: none;
    }

    .vs-anular-prestamo-message {
        min-height: 0;
    }

    .vs-anular-prestamo-actions {
        justify-content: flex-end;
        flex-wrap: wrap;
    }
}

/* MauiAppFront.Web: presentacion exclusiva para navegadores de telefono.
   La clase se aplica desde velosoft-responsive-web.js; el desktop conserva
   todos los selectores y medidas WinForms definidos arriba. */
.vs-mobile-only {
    display: none !important;
}

.vs-mobile-title {
    display: none;
}

html.vs-web-mobile {
    --vs-mobile-blue: #006bc4;
    --vs-mobile-blue-strong: #0058aa;
    --vs-mobile-blue-soft: #eaf4ff;
    --vs-mobile-surface: #ffffff;
    --vs-mobile-background: #f7f9fc;
    --vs-mobile-text: #17191d;
    --vs-mobile-muted: #677080;
    --vs-mobile-border: #d9dee7;
    --vs-mobile-danger: #d61f26;
    --vs-mobile-radius: 12px;
    --vs-mobile-shadow: 0 2px 10px rgba(21, 43, 71, 0.12);
    min-height: 100%;
    color-scheme: light;
    background: var(--vs-mobile-background);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html.vs-web-mobile body {
    min-width: 0;
    min-height: 100dvh;
    overflow-x: hidden;
    background: var(--vs-mobile-background);
    color: var(--vs-mobile-text);
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

html.vs-web-mobile .vs-mobile-only {
    display: flex !important;
}

html.vs-web-mobile .vs-desktop-title {
    display: none;
}

html.vs-web-mobile .vs-mobile-title {
    display: inline;
}

html.vs-web-mobile :is(
    a,
    button,
    input,
    select,
    textarea,
    [tabindex]:not([tabindex="-1"])):focus-visible {
    outline: 3px solid rgba(0, 107, 196, 0.35);
    outline-offset: 2px;
}

html.vs-web-mobile fieldset {
    box-sizing: border-box;
    max-width: 100%;
}

html.vs-web-mobile .vs-login-shell,
html.vs-web-mobile .vs-cliente-shell,
html.vs-web-mobile .vs-empleado-shell,
html.vs-web-mobile .vs-usuario-shell,
html.vs-web-mobile .vs-mdi-workspace,
html.vs-web-mobile .vs-dialog-modal-shell,
html.vs-web-mobile .vs-report-modal-shell,
html.vs-web-mobile .vs-receipt-modal-shell {
    width: 100%;
    min-width: 0;
    min-height: 100dvh;
    display: block;
    padding: 0;
    background: var(--vs-mobile-background);
}

html.vs-web-mobile .vs-winforms-form,
html.vs-web-mobile .vs-login-form,
html.vs-web-mobile .vs-license-form,
html.vs-web-mobile .vs-recovery-form,
html.vs-web-mobile .vs-registration-form,
html.vs-web-mobile .vs-admin-user-form {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    background: var(--vs-mobile-surface);
    box-shadow: none;
    overflow: visible;
}

html.vs-web-mobile .vs-winforms-form-scrollbar {
    max-height: none;
    overflow: visible;
}

html.vs-web-mobile .vs-form-caption {
    position: sticky;
    top: 0;
    z-index: 12;
    min-height: 64px;
    box-sizing: border-box;
    padding: max(10px, env(safe-area-inset-top)) 16px 10px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    background: linear-gradient(112deg, var(--vs-mobile-blue-strong), #0786d7);
    color: #ffffff;
    font-size: 1.24rem;
    font-weight: 650;
    line-height: 1.2;
    box-shadow: 0 1px 5px rgba(0, 60, 120, 0.18);
}

html.vs-web-mobile .vs-form-caption:has(.vs-winforms-window-close) {
    padding-left: 64px;
}

html.vs-web-mobile .vs-principal-modal-window:has(> .vs-principal-modal-close) .vs-form-caption {
    padding-left: 64px;
}

html.vs-web-mobile :is(
    .vs-suscripciones-toolbar,
    .vs-empresa-suscriptora-search,
    .vs-empresa-suscriptora-fields,
    .vs-suscripciones-summary) {
    grid-template-columns: 1fr;
}

html.vs-web-mobile .vs-empresa-suscriptora-fields label {
    text-align: left;
}

html.vs-web-mobile :is(
    .vs-suscripciones-grid-shell,
    .vs-empresa-suscriptora-grid-shell) {
    min-height: 0;
    max-height: none;
    overflow: visible;
}

html.vs-web-mobile .vs-form-caption .vs-cliente-edit-badge,
html.vs-web-mobile .vs-form-caption .vs-diaadia-caption-count {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 500;
}

html.vs-web-mobile .vs-form-caption:has(.vs-diaadia-caption-count) {
    padding-right: 118px;
}

html.vs-web-mobile .vs-form-caption:has(.vs-diaadia-caption-count) > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.vs-web-mobile .vs-form-caption .vs-diaadia-caption-count {
    position: absolute;
    right: 16px;
    top: 50%;
    max-width: 92px;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    transform: translateY(-50%);
}

html.vs-web-mobile .vs-winforms-window-close,
html.vs-web-mobile .vs-principal-modal-close {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--vs-close-background);
    color: transparent;
    font-size: 0;
    cursor: pointer;
}

html.vs-web-mobile .vs-winforms-window-close:hover,
html.vs-web-mobile .vs-principal-modal-close:hover {
    background: var(--vs-close-background-hover);
}

html.vs-web-mobile .vs-winforms-window-close:active,
html.vs-web-mobile .vs-principal-modal-close:active {
    background: var(--vs-close-background-pressed);
}

html.vs-web-mobile .vs-form-caption .vs-winforms-window-close {
    position: absolute;
    left: 8px;
    top: max(10px, env(safe-area-inset-top));
}

html.vs-web-mobile .vs-winforms-window-close::before,
html.vs-web-mobile .vs-principal-modal-close::before {
    content: "";
    width: 14px;
    height: 14px;
    display: block;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

html.vs-web-mobile .vs-winforms-window-close::after,
html.vs-web-mobile .vs-principal-modal-close::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
}

html.vs-web-mobile .vs-form-body {
    min-width: 0;
    gap: 14px;
    padding: 18px 16px calc(96px + env(safe-area-inset-bottom));
    background: var(--vs-mobile-surface);
    color: var(--vs-mobile-text);
    font-size: 1rem;
}

html.vs-web-mobile .vs-login-body {
    min-height: calc(100dvh - 64px);
    align-content: start;
    padding-top: clamp(38px, 10vh, 88px);
}

html.vs-web-mobile .vs-login-brand {
    gap: 4px;
    padding: 0 0 24px;
}

html.vs-web-mobile .vs-login-brand strong {
    color: var(--vs-mobile-blue-strong);
    font-size: 1.8rem;
    letter-spacing: 0.02em;
}

html.vs-web-mobile .vs-login-brand span {
    color: var(--vs-mobile-muted);
    font-size: 0.95rem;
}

html.vs-web-mobile .vs-form-row,
html.vs-web-mobile .vs-cliente-form-row,
html.vs-web-mobile .vs-prestamo-cuotas-dialog-field {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px;
    align-items: stretch;
}

html.vs-web-mobile .vs-label,
html.vs-web-mobile label,
html.vs-web-mobile legend {
    color: var(--vs-mobile-text);
    font-weight: 600;
}

html.vs-web-mobile :is(.vs-textbox, .vs-input, select, textarea) {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    box-sizing: border-box;
    border: 1px solid #b9c0ca;
    border-radius: 8px;
    background: #ffffff;
    color: var(--vs-mobile-text);
    padding: 10px 12px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.35;
}

html.vs-web-mobile textarea.vs-input,
html.vs-web-mobile textarea.vs-textbox {
    min-height: 104px;
}

html.vs-web-mobile :is(.vs-textbox, .vs-input, select, textarea):focus {
    border-color: var(--vs-mobile-blue);
    box-shadow: 0 0 0 3px rgba(0, 107, 196, 0.18);
    outline: none;
}

html.vs-web-mobile :is(.vs-textbox, .vs-input)[readonly] {
    background: #f2f5f8;
}

html.vs-web-mobile .vs-checkbox-row {
    min-height: 44px;
    margin-left: 0;
}

html.vs-web-mobile :is(.vs-checkbox-row, .vs-check, .vs-checkbox-inline) input[type="checkbox"],
html.vs-web-mobile input[type="radio"] {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    accent-color: var(--vs-mobile-blue);
}

html.vs-web-mobile :is(.vs-winforms-group, .vs-group-box, fieldset) {
    min-width: 0;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--vs-mobile-border);
    border-radius: var(--vs-mobile-radius);
    background: #ffffff;
}

html.vs-web-mobile :is(.vs-winforms-group, .vs-group-box, fieldset) legend {
    padding: 0 6px;
    color: var(--vs-mobile-blue-strong);
    font-size: 1rem;
}

html.vs-web-mobile :is(.vs-winforms-button, .vs-command-button, .vs-grid-button, .vs-icon-button) {
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    border: 1px solid var(--vs-mobile-blue);
    border-radius: 8px;
    background: #ffffff;
    color: var(--vs-mobile-blue-strong);
    padding: 9px 14px;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none;
}

html.vs-web-mobile :is(.vs-winforms-button, .vs-command-button).vs-form-close-button {
    border-color: var(--vs-close-background);
    background: var(--vs-close-background);
    color: #ffffff;
}

html.vs-web-mobile :is(.vs-primary-button, .vs-report-primary-button, .vs-empleado-save-action, .vs-suscripcion-save-command) {
    border-color: var(--vs-mobile-blue-strong);
    background: linear-gradient(112deg, var(--vs-mobile-blue-strong), #0786d7);
    color: #ffffff;
}

html.vs-web-mobile :is(.vs-winforms-button, .vs-command-button, .vs-grid-button, .vs-icon-button):disabled {
    opacity: 0.48;
}

html.vs-web-mobile :is(.vs-command-row, .vs-login-command-row, .vs-form-actions) {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

html.vs-web-mobile :is(.vs-command-row, .vs-login-command-row, .vs-form-actions) > button {
    width: 100%;
}

html.vs-web-mobile .vs-login-command-row {
    grid-template-columns: minmax(0, 1fr);
}

html.vs-web-mobile .vs-login-links {
    display: grid;
    gap: 12px;
    text-align: center;
}

html.vs-web-mobile .vs-link-button {
    min-height: 44px;
    color: var(--vs-mobile-blue-strong);
    font-size: 0.96rem;
}

html.vs-web-mobile .vs-inline-alert,
html.vs-web-mobile .vs-loading-strip,
html.vs-web-mobile .vs-loading-panel {
    border-radius: 8px;
    padding: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

html.vs-web-mobile [class$="-grid"]:not(table),
html.vs-web-mobile [class*="-grid "]:not(table) {
    grid-template-columns: minmax(0, 1fr) !important;
}

html.vs-web-mobile :is(
    .vs-cliente-general-grid,
    .vs-cliente-address-grid,
    .vs-cliente-location-row,
    .vs-cliente-four-grid,
    .vs-cliente-two-grid,
    .vs-cliente-work-grid,
    .vs-cliente-income-grid,
    .vs-prestamo-general-grid,
    .vs-prestamo-costos-grid,
    .vs-prestamo-config-grid,
    .vs-prestamo-mora-grid,
    .vs-prestamo-garante-grid,
    .vs-parametros-politica-grid,
    .vs-parametros-generator,
    .vs-usuario-password-grid,
    .vs-usuario-permission-grid,
    .vs-prestamo-datos-contact-grid,
    .vs-prestamo-contact-table,
    .vs-prestamo-contact-edit-grid,
    .vs-prestamo-datos-options-copy,
    .vs-report-options-grid,
    .vs-report-summary) {
    grid-template-columns: minmax(0, 1fr) !important;
}

html.vs-web-mobile .vs-cliente-address-group,
html.vs-web-mobile .vs-cliente-phone-group,
html.vs-web-mobile .vs-cliente-email-group,
html.vs-web-mobile .vs-cliente-wide-row,
html.vs-web-mobile .vs-cliente-work-group,
html.vs-web-mobile .vs-prestamo-contact-span-2,
html.vs-web-mobile .vs-datos-generales-value-wide {
    grid-column: 1 !important;
}

html.vs-web-mobile .vs-cliente-wide-row,
html.vs-web-mobile .vs-cliente-location-row,
html.vs-web-mobile .vs-prestamo-client-row,
html.vs-web-mobile .vs-usuario-empleado-row,
html.vs-web-mobile .vs-parametros-usuario-row {
    grid-template-columns: minmax(0, 1fr) !important;
}

html.vs-web-mobile .vs-prestamo-register-canvas {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) !important;
}

html.vs-web-mobile .vs-prestamo-register-canvas > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

html.vs-web-mobile .vs-prestamo-tab-strip {
    min-width: 0;
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

html.vs-web-mobile .vs-prestamo-tab-strip::-webkit-scrollbar {
    display: none;
}

html.vs-web-mobile .vs-prestamo-tab-strip > button {
    flex: 0 0 auto;
}

html.vs-web-mobile .vs-tab-strip {
    min-width: 0;
    display: flex;
    gap: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border-bottom: 1px solid var(--vs-mobile-border);
    background: #ffffff;
    scrollbar-width: none;
}

html.vs-web-mobile .vs-tab-strip::-webkit-scrollbar {
    display: none;
}

html.vs-web-mobile .vs-tab-button,
html.vs-web-mobile .vs-tab-strip > button {
    min-width: max-content;
    min-height: 54px;
    flex: 1 0 auto;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: #ffffff;
    color: #2d3035;
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 500;
}

html.vs-web-mobile .vs-tab-button-active,
html.vs-web-mobile .vs-tab-strip > [aria-selected="true"] {
    top: 0;
    border-bottom-color: var(--vs-mobile-blue);
    color: var(--vs-mobile-blue-strong);
    font-weight: 650;
}

html.vs-web-mobile .vs-tab-page {
    min-width: 0;
    min-height: 0;
    padding-top: 14px;
}

html.vs-web-mobile .vs-toolstrip,
html.vs-web-mobile [class$="-toolbar"] {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
}

html.vs-web-mobile .vs-toolstrip > *,
html.vs-web-mobile [class$="-toolbar"] > * {
    min-width: 0;
}

html.vs-web-mobile .vs-toolstrip :is(.vs-search-input, input[type="search"]),
html.vs-web-mobile [class$="-toolbar"] :is(.vs-search-input, input[type="search"]) {
    grid-column: 1 / -1;
}

html.vs-web-mobile .vs-diaadia-form .vs-toolstrip {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

html.vs-web-mobile .vs-diaadia-form .vs-toolstrip #txtBuscar {
    grid-column: 1 / 11;
}

html.vs-web-mobile .vs-diaadia-form .vs-toolstrip #btnBuscar {
    grid-column: 11 / 13;
}

html.vs-web-mobile .vs-diaadia-form .vs-toolstrip #bntFiltros,
html.vs-web-mobile .vs-diaadia-form .vs-toolstrip #btnReportePrestamosVencidos,
html.vs-web-mobile .vs-diaadia-form .vs-toolstrip #btnPrestamo {
    grid-column: 1 / 7;
}

html.vs-web-mobile .vs-diaadia-form .vs-toolstrip .vs-solo-cliente-check,
html.vs-web-mobile .vs-diaadia-form .vs-toolstrip #btnReporteCobros,
html.vs-web-mobile .vs-diaadia-form .vs-toolstrip #btnCliente {
    grid-column: 7 / 13;
}

html.vs-web-mobile .vs-diaadia-form .vs-toolstrip .vs-command-button {
    grid-column: span 6;
}

html.vs-web-mobile .vs-diaadia-form .vs-toolstrip .vs-command-button,
html.vs-web-mobile .vs-diaadia-form .vs-toolstrip .vs-icon-button:not(#btnBuscar) {
    width: 100%;
}

html.vs-web-mobile .vs-cliente-search-box {
    width: 100%;
    justify-self: stretch;
}

html.vs-web-mobile .vs-cliente-search-box > .vs-cliente-search-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px;
}

html.vs-web-mobile .vs-cliente-search-box > .vs-cliente-search-row .vs-cliente-small-button {
    width: auto;
    min-width: 108px;
}

html.vs-web-mobile :is(
    .vs-cliente-command-row,
    .vs-prestamo-command-row,
    .vs-empleado-command-row,
    .vs-ahorro-command-row,
    .vs-usuario-actions,
    .vs-parametros-actions,
    .vs-suscripcion-command-row) {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--vs-mobile-border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -4px 16px rgba(21, 43, 71, 0.09);
    backdrop-filter: blur(12px);
}

html.vs-web-mobile :is(
    .vs-cliente-command-row,
    .vs-prestamo-command-row,
    .vs-empleado-command-row,
    .vs-ahorro-command-row,
    .vs-usuario-actions,
    .vs-parametros-actions,
    .vs-suscripcion-command-row) > :is(button, a) {
    width: 100%;
    min-width: 0;
}

html.vs-web-mobile .vs-grid-shell,
html.vs-web-mobile .vs-cliente-table-wrap,
html.vs-web-mobile .vs-prestamo-datos-grid-shell,
html.vs-web-mobile .vs-prestamo-datos-mini-grid-shell,
html.vs-web-mobile .vs-prestamo-datos-history-grid-shell,
html.vs-web-mobile .vs-prestamo-grid-shell {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none;
    overflow: visible;
    border: 0;
    background: transparent;
}

html.vs-web-mobile table.vs-mobile-card-table {
    width: 100%;
    min-width: 0 !important;
    display: block;
    border: 0;
    border-collapse: separate;
    background: transparent;
    font-size: 1rem;
}

html.vs-web-mobile table.vs-mobile-card-table > thead {
    display: none !important;
}

html.vs-web-mobile table.vs-mobile-card-table > tbody {
    width: 100%;
    display: grid;
    gap: 14px;
}

html.vs-web-mobile table.vs-mobile-card-table > tbody > tr {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 8px;
    box-sizing: border-box;
    border: 1px solid var(--vs-mobile-border);
    border-radius: var(--vs-mobile-radius);
    background: #ffffff;
    padding: 14px;
    color: var(--vs-mobile-text);
    box-shadow: var(--vs-mobile-shadow);
    overflow: hidden;
}

html.vs-web-mobile table.vs-mobile-card-table > tbody > tr > td {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    min-height: 40px;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(112px, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid #e5e8ee;
    background: transparent;
    padding: 8px 2px;
    color: inherit;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

html.vs-web-mobile table.vs-mobile-card-table > tbody > tr > td::before {
    content: attr(data-vs-label);
    color: var(--vs-mobile-muted);
    font-weight: 500;
    text-align: left;
}

html.vs-web-mobile table.vs-mobile-card-table > tbody > tr > td:first-child:not([colspan]) {
    color: var(--vs-mobile-blue-strong);
    font-weight: 700;
}

html.vs-web-mobile table.vs-mobile-card-table > tbody > tr > td:nth-child(2):not([colspan]) {
    font-weight: 650;
}

html.vs-web-mobile table.vs-mobile-key-value-table > tbody > tr {
    gap: 0;
}

html.vs-web-mobile table.vs-mobile-key-value-table > tbody > tr > td {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
}

html.vs-web-mobile table.vs-mobile-key-value-table > tbody > tr > td::before {
    display: none;
}

html.vs-web-mobile table.vs-mobile-key-value-table > tbody > tr > td:first-child {
    border-bottom: 0;
    padding-bottom: 2px;
    font-size: 0.92rem;
}

html.vs-web-mobile table.vs-mobile-key-value-table > tbody > tr > td:nth-child(2) {
    padding-top: 2px;
}

html.vs-web-mobile .vs-info-sistema-canvas {
    display: grid;
    grid-template-rows: auto auto auto auto;
    gap: 18px;
    padding-top: 20px;
    background: var(--vs-mobile-background);
}

html.vs-web-mobile .vs-info-sistema-header {
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
}

html.vs-web-mobile .vs-info-sistema-heading h1 {
    margin: 0 0 4px;
    border: 0;
    color: var(--vs-mobile-text);
    font-size: 1.35rem;
    line-height: 1.2;
}

html.vs-web-mobile .vs-info-sistema-heading p {
    color: var(--vs-mobile-muted);
    font-size: 0.95rem;
}

html.vs-web-mobile :is(.vs-info-sistema-generales, .vs-info-sistema-contacto) {
    padding: 20px 0 0;
    border: 0;
    background: transparent;
}

html.vs-web-mobile .vs-info-sistema-group-title {
    top: 0;
    left: 0;
    padding: 0;
    background: transparent;
    color: var(--vs-mobile-blue-strong);
    font-size: 1rem;
}

html.vs-web-mobile .vs-info-sistema-grid {
    min-width: 0;
}

html.vs-web-mobile .vs-info-sistema-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

html.vs-web-mobile .vs-info-sistema-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--vs-mobile-border);
    border-radius: 9px;
    background: #ffffff;
    color: var(--vs-mobile-blue-strong);
    text-align: left;
    text-decoration: none;
}

html.vs-web-mobile table.vs-mobile-card-table > tbody > tr > td[data-vs-action-cell="true"] {
    min-height: 54px;
    grid-column: auto;
    display: flex;
    align-items: end;
    border-bottom: 0;
    padding: 12px 0 0;
}

html.vs-web-mobile table.vs-mobile-card-table > tbody > tr > td[data-vs-action-cell="true"]::before {
    display: none;
}

html.vs-web-mobile table.vs-mobile-card-table > tbody > tr > td[data-vs-action-cell="true"] > :is(button, a) {
    width: 100%;
    min-width: 0;
}

html.vs-web-mobile table.vs-mobile-card-table > tbody > tr > td[colspan] {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: var(--vs-mobile-muted);
    text-align: center;
}

html.vs-web-mobile table.vs-mobile-card-table > tbody > tr > td[colspan]::before {
    display: none;
}

html.vs-web-mobile .vs-grid-row-selected {
    outline: 2px solid var(--vs-mobile-blue);
    outline-offset: -2px;
    background: var(--vs-mobile-blue-soft) !important;
}

html.vs-web-mobile .vs-principal-shell {
    min-width: 0;
    min-height: 100dvh;
    grid-template-rows: auto minmax(0, 1fr);
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
    background: var(--vs-mobile-background);
    color: var(--vs-mobile-text);
    font-size: 16px;
}

html.vs-web-mobile .vs-principal-titlebar {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 76px;
    justify-content: flex-start;
    gap: 14px;
    box-sizing: border-box;
    padding: max(12px, env(safe-area-inset-top)) 16px 12px;
    border: 0;
    background: linear-gradient(112deg, var(--vs-mobile-blue-strong), #0786d7);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 74, 143, 0.2);
}

html.vs-web-mobile .vs-mobile-menu-trigger {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
}

html.vs-web-mobile .vs-mobile-menu-trigger span {
    width: 25px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

html.vs-web-mobile .vs-principal-brand {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 3px 12px;
}

html.vs-web-mobile .vs-principal-system-name {
    color: #ffffff;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

html.vs-web-mobile .vs-principal-version,
html.vs-web-mobile .vs-principal-brand-separator,
html.vs-web-mobile .vs-principal-company-label {
    display: none;
}

html.vs-web-mobile .vs-principal-company {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    font-weight: 500;
    text-transform: none;
}

html.vs-web-mobile .vs-principal-logout,
html.vs-web-mobile .vs-principal-menu,
html.vs-web-mobile .vs-principal-statusbar {
    display: none;
}

html.vs-web-mobile .vs-principal-workspace,
html.vs-web-mobile .vs-principal-workspace-mdi {
    min-width: 0;
    min-height: 0;
    display: block;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--vs-mobile-background);
}

html.vs-web-mobile .vs-principal-embedded-diaadia {
    position: relative;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: calc(100dvh - 152px);
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 0;
    background: var(--vs-mobile-background);
    box-shadow: none;
    overflow: visible;
}

html.vs-web-mobile .vs-principal-embedded-diaadia::after {
    display: none;
}

html.vs-web-mobile .vs-diaadia-tabview-form,
html.vs-web-mobile .vs-diaadia-tabview-form-embedded,
html.vs-web-mobile .vs-diaadia-form {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

html.vs-web-mobile .vs-diaadia-tabview-body-embedded {
    padding: 20px 14px calc(24px + env(safe-area-inset-bottom));
}

html.vs-web-mobile .vs-diaadia-tabview-tab-control {
    min-width: 0;
    display: block;
    border: 0;
    background: transparent;
}

html.vs-web-mobile .vs-diaadia-tabview-tab-control > .vs-tab-strip {
    border: 1px solid #9aa3af;
    border-radius: 10px;
    overflow: hidden;
}

html.vs-web-mobile .vs-diaadia-tabview-tab-control > .vs-tab-strip > button {
    min-height: 50px;
    border-right: 1px solid #b6bdc7;
    border-bottom: 0;
    padding: 8px 12px;
}

html.vs-web-mobile .vs-diaadia-tabview-tab-control > .vs-tab-strip > button:last-child {
    border-right: 0;
}

html.vs-web-mobile .vs-diaadia-tabview-tab-control > .vs-tab-strip > .vs-tab-button-active {
    background: linear-gradient(112deg, var(--vs-mobile-blue-strong), #0786d7);
    color: #ffffff;
}

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

html.vs-web-mobile .vs-mobile-nav-item {
    position: relative;
    min-width: 68px;
    min-height: 64px;
    display: flex;
    flex: 1 1 25%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #525966;
    font-family: inherit;
    font-size: 0.8rem;
}

html.vs-web-mobile .vs-mobile-nav-item::before {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    top: -5px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: transparent;
}

html.vs-web-mobile .vs-mobile-nav-item-active {
    color: var(--vs-mobile-blue-strong);
}

html.vs-web-mobile .vs-mobile-nav-item-active::before {
    background: var(--vs-mobile-blue);
}

html.vs-web-mobile .vs-mobile-icon {
    width: 25px;
    height: 25px;
    display: block;
    flex: 0 0 auto;
}

html.vs-web-mobile .vs-mobile-menu-panel {
    position: fixed;
    inset: 0;
    z-index: 80;
    min-width: 0;
    min-height: 100dvh;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    color: var(--vs-mobile-text);
}

html.vs-web-mobile .vs-mobile-menu-header {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
    padding: max(20px, env(safe-area-inset-top)) 20px 16px;
    background: linear-gradient(112deg, var(--vs-mobile-blue-strong), #0786d7);
    color: #ffffff;
}

html.vs-web-mobile .vs-mobile-menu-header > div {
    display: grid;
    gap: 2px;
}

html.vs-web-mobile .vs-mobile-menu-header strong {
    font-size: 1.45rem;
    letter-spacing: 0.02em;
}

html.vs-web-mobile .vs-mobile-menu-header span {
    font-size: 1rem;
}

html.vs-web-mobile .vs-mobile-round-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
}

html.vs-web-mobile .vs-mobile-close-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

html.vs-web-mobile .vs-mobile-close-icon::before,
html.vs-web-mobile .vs-mobile-close-icon::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 2px;
    width: 2px;
    height: 20px;
    border-radius: 2px;
    background: currentColor;
}

html.vs-web-mobile .vs-mobile-close-icon::before {
    transform: rotate(45deg);
}

html.vs-web-mobile .vs-mobile-close-icon::after {
    transform: rotate(-45deg);
}

html.vs-web-mobile .vs-mobile-menu-search {
    min-height: 70px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin: 14px 16px 10px;
    padding: 0 14px;
    border: 1px solid var(--vs-mobile-border);
    border-radius: 10px;
    color: var(--vs-mobile-muted);
    background: #ffffff;
}

html.vs-web-mobile .vs-mobile-menu-search input {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    border: 0;
    background: transparent;
    color: var(--vs-mobile-text);
    font-family: inherit;
    font-size: 16px;
    outline: none;
}

html.vs-web-mobile .vs-mobile-account-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-top: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
}

html.vs-web-mobile .vs-mobile-account-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--vs-mobile-blue-soft);
    color: var(--vs-mobile-blue-strong);
}

html.vs-web-mobile .vs-mobile-account-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

html.vs-web-mobile .vs-mobile-account-copy strong,
html.vs-web-mobile .vs-mobile-account-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.vs-web-mobile .vs-mobile-account-copy span {
    color: var(--vs-mobile-muted);
    font-size: 0.9rem;
}

html.vs-web-mobile .vs-mobile-menu-groups {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 10px;
}

html.vs-web-mobile .vs-mobile-menu-group {
    border-bottom: 1px solid #e7eaf0;
}

html.vs-web-mobile .vs-mobile-menu-group-button,
html.vs-web-mobile .vs-mobile-menu-item,
html.vs-web-mobile .vs-mobile-menu-logout {
    width: 100%;
    min-height: 58px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    border: 0;
    background: #ffffff;
    color: var(--vs-mobile-text);
    padding: 10px 18px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 650;
    text-align: left;
}

html.vs-web-mobile .vs-mobile-menu-group-button[aria-expanded="true"] {
    color: var(--vs-mobile-blue-strong);
}

html.vs-web-mobile .vs-mobile-chevron {
    width: 21px;
    height: 21px;
}

html.vs-web-mobile .vs-mobile-menu-group ul {
    margin: 0;
    padding: 0 0 0 46px;
    list-style: none;
    background: #ffffff;
}

html.vs-web-mobile .vs-mobile-menu-item {
    min-height: 54px;
    grid-template-columns: 27px minmax(0, 1fr);
    border-bottom: 1px solid #edf0f4;
    padding-left: 12px;
    font-weight: 450;
}

html.vs-web-mobile .vs-mobile-menu-item .vs-mobile-icon {
    width: 22px;
    height: 22px;
    color: var(--vs-mobile-blue);
}

html.vs-web-mobile .vs-mobile-menu-font-item {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 51px;
}

html.vs-web-mobile .vs-mobile-menu-item-locked {
    color: #8a909a;
}

html.vs-web-mobile .vs-mobile-menu-logout {
    min-height: 58px;
    grid-template-columns: 30px minmax(0, 1fr);
    flex: 0 0 auto;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    border-top: 1px solid #e7eaf0;
    color: var(--vs-mobile-danger);
}

html.vs-web-mobile .vs-principal-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: block;
    padding: 0;
    background: #ffffff;
}

html.vs-web-mobile .vs-principal-modal-window,
html.vs-web-mobile .vs-principal-modal-window-report,
html.vs-web-mobile .vs-principal-modal-window-receipt {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
    resize: none;
    overflow-x: hidden;
    overflow-y: auto;
}

html.vs-web-mobile .vs-principal-modal-window::after,
html.vs-web-mobile .vs-principal-modal-window > .vs-modal-resize-grip {
    display: none !important;
}

html.vs-web-mobile .vs-principal-modal-window .vs-form-caption.vs-modal-drag-handle {
    cursor: default;
    user-select: auto;
}

html.vs-web-mobile .vs-principal-modal-close {
    position: fixed;
    left: 8px;
    top: max(10px, env(safe-area-inset-top));
    z-index: 75;
}

html.vs-web-mobile .vs-principal-modal-window:has(.vs-winforms-window-close) > .vs-principal-modal-close {
    display: none;
}

html.vs-web-mobile .vs-report-form-body,
html.vs-web-mobile .vs-receipt-form-body {
    min-height: calc(100dvh - 64px);
    overflow: auto;
}

html.vs-web-mobile .vs-report-preview-toolbar,
html.vs-web-mobile .vs-receipt-toolbar {
    position: sticky;
    top: 64px;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--vs-mobile-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
}

html.vs-web-mobile .vs-report-preview {
    width: max-content;
    min-width: 100%;
    max-width: none;
    overflow: visible;
}

html.vs-web-mobile .vs-report-grid-shell {
    max-width: calc(100vw - 32px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

html.vs-web-mobile .vs-report-grid {
    min-width: 760px;
}

html.vs-web-mobile .vs-receipt-paper {
    max-width: 100%;
    margin-inline: auto;
    overflow-x: auto;
}

html.vs-web-mobile .vs-windows-context-menu {
    left: 12px !important;
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    top: auto !important;
    width: auto;
    max-width: none;
    padding: 8px;
    border: 1px solid var(--vs-mobile-border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(19, 40, 67, 0.24);
    font-size: 1rem;
}

html.vs-web-mobile .vs-windows-context-menu button {
    min-height: 48px;
    border-radius: 8px;
    padding: 10px 14px;
}

html.vs-web-mobile .vs-diaadia-actions-menu {
    max-height: min(76vh, calc(100vh - 24px));
    overflow-y: auto;
}

html.vs-web-mobile .vs-diaadia-actions-summary {
    padding: 4px 8px 10px;
}

html.vs-web-mobile .vs-diaadia-actions-submenu-panel,
html.vs-web-mobile .vs-diaadia-actions-menu.vs-context-menu-open-left .vs-diaadia-actions-submenu-panel {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: 42vh;
    margin: 2px 4px 6px 14px;
    padding: 4px;
    border-color: var(--vs-mobile-border);
    border-radius: 10px;
    background: #f7f9fc;
    box-shadow: none;
}

html.vs-web-mobile .vs-diaadia-actions-submenu-panel button {
    min-height: 44px;
    padding: 9px 12px;
}

html.vs-web-mobile .vs-context-menu-arrow {
    transform: rotate(90deg);
}

html.vs-web-mobile .swal2-container {
    padding: 14px;
}

html.vs-web-mobile .swal2-popup {
    width: min(100%, 430px);
    border-radius: 16px;
    font-family: inherit;
}

html.vs-web-mobile .swal2-actions {
    width: 100%;
    gap: 10px;
}

html.vs-web-mobile .swal2-actions button {
    min-height: 44px;
    flex: 1 1 120px;
    border-radius: 8px;
}

html.vs-web-mobile .vs-anular-prestamo-canvas {
    width: 100%;
    height: auto;
    min-height: 0;
    display: grid;
    gap: 12px;
    padding: 16px;
    overflow: visible;
}

html.vs-web-mobile :is(
    .vs-anular-prestamo-title,
    .vs-anular-prestamo-message,
    .vs-anular-prestamo-number,
    .vs-anular-prestamo-instruction,
    .vs-anular-prestamo-required-text,
    .vs-anular-prestamo-confirm-text,
    .vs-anular-prestamo-alert,
    .vs-anular-prestamo-actions) {
    position: static;
    width: 100%;
    max-width: none;
    height: auto;
}

html.vs-web-mobile.vs-mobile-landscape .vs-form-body {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
}

html.vs-web-mobile.vs-mobile-landscape :is(
    .vs-cliente-four-grid,
    .vs-cliente-two-grid,
    .vs-cliente-work-grid,
    .vs-cliente-income-grid,
    .vs-prestamo-general-grid,
    .vs-parametros-grid,
    .vs-usuario-password-grid,
    .vs-prestamo-contact-table,
    .vs-prestamo-contact-edit-grid,
    .vs-report-options-grid,
    .vs-report-summary) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

html.vs-web-mobile.vs-mobile-landscape .vs-mobile-menu-panel {
    left: auto;
    width: min(520px, 72vw);
    border-left: 1px solid var(--vs-mobile-border);
    box-shadow: -12px 0 34px rgba(19, 40, 67, 0.2);
}

html.vs-web-mobile.vs-mobile-landscape table.vs-mobile-card-table > tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (prefers-reduced-motion: reduce) {
    html.vs-web-mobile *,
    html.vs-web-mobile *::before,
    html.vs-web-mobile *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.vs-principal-modal-window-solicitudes-clientes {
    width: min(1180px, 96vw);
    height: min(820px, 94vh);
}

.vs-cliente-request-form {
    width: min(1160px, 100%);
    height: 100%;
}

.vs-cliente-request-canvas {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 10px;
}

.vs-cliente-request-layout {
    display: grid;
    grid-template-rows: minmax(180px, 0.8fr) minmax(320px, 1.5fr);
    gap: 10px;
    min-height: 0;
    flex: 1;
}

.vs-cliente-request-list,
.vs-cliente-request-detail {
    min-height: 0;
    overflow: auto;
}

.vs-cliente-request-detail {
    border: 1px solid #aeb9c5;
    background: #fff;
    padding: 12px;
}

.vs-cliente-request-detail-header,
.vs-cliente-request-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vs-cliente-request-detail-header div {
    display: grid;
    gap: 3px;
}

.vs-cliente-request-status {
    padding: 5px 10px;
    border: 1px solid #7f9db9;
    background: #eef5fb;
    font-weight: 700;
}

.vs-cliente-request-reason,
.vs-cliente-request-decision {
    margin-top: 10px;
    padding: 9px 10px;
    border: 1px solid #d2d8de;
    background: #f6f8fa;
}

.vs-cliente-request-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.vs-cliente-request-column {
    border: 1px solid #c7cfd7;
}

.vs-cliente-request-column h3,
.vs-cliente-request-evidence h3 {
    margin: 0;
    padding: 7px 9px;
    background: #e9edf1;
    font-size: 13px;
}

.vs-client-diff-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 8px;
    min-height: 32px;
    padding: 7px 9px;
    border-top: 1px solid #e2e6ea;
}

.vs-client-diff-row span {
    color: #536273;
}

.vs-client-diff-current {
    background: #fff5e8;
}

.vs-client-diff-proposed {
    background: #eaf7ed;
    box-shadow: inset 3px 0 #2c8a43;
}

.vs-cliente-request-evidence {
    margin-top: 10px;
    border: 1px solid #c7cfd7;
}

.vs-cliente-request-evidence img {
    display: block;
    width: min(100%, 360px);
    max-height: 280px;
    margin: 10px auto;
    object-fit: contain;
}

.vs-cliente-request-comment {
    display: grid;
    gap: 5px;
    margin-top: 10px;
}

.vs-cliente-request-actions {
    justify-content: flex-end;
    margin-top: 10px;
}

@media (max-width: 720px) {
    .vs-cliente-request-layout {
        display: block;
        overflow: auto;
    }

    .vs-cliente-request-list {
        max-height: 300px;
    }

    .vs-cliente-request-detail {
        margin-top: 10px;
    }

    .vs-cliente-request-columns {
        grid-template-columns: 1fr;
    }

    .vs-client-diff-row {
        grid-template-columns: 100px minmax(0, 1fr);
    }
}
.vs-presentation-evaluating {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #344054;
    background: #f4f6f8;
    font: 600 14px/1.4 "Segoe UI", sans-serif;
}

.vs-mobile-unavailable {
    min-height: 100dvh;
    display: grid;
    align-content: center;
    gap: 22px;
    padding: max(28px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
    color: #101828;
    background: #fff;
    font-family: "Segoe UI", sans-serif;
}

.vs-mobile-unavailable-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: #0b63f6;
    font-size: 26px;
    font-weight: 800;
}

.vs-mobile-unavailable-brand {
    color: #0b63f6;
    font-weight: 700;
}

.vs-mobile-unavailable h1 {
    max-width: 680px;
    margin: 8px 0 12px;
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.08;
}

.vs-mobile-unavailable p {
    max-width: 680px;
    margin: 0;
    color: #475467;
    font-size: 16px;
    line-height: 1.6;
}

.vs-mobile-unavailable-actions {
    display: grid;
    gap: 12px;
}

.vs-mobile-unavailable-actions .vs-winforms-button,
.vs-mobile-unavailable-actions .vs-link-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

.vs-mobile-unavailable-note {
    padding-top: 14px;
    border-top: 1px solid #eaecf0;
    font-size: 14px !important;
}

@media (min-width: 720px) {
    .vs-mobile-unavailable {
        justify-items: center;
        text-align: center;
    }

    .vs-mobile-unavailable-actions {
        grid-template-columns: auto auto;
    }
}
/* Visibilidad de prestamos en App de Cobro y Dia a Dia */
.vs-prestamo-visibilidad-backdrop {
    z-index: 90;
    padding: 24px;
    overflow: auto;
    background: rgba(15, 23, 42, 0.58);
}

.vs-prestamo-visibilidad-backdrop > .vs-prestamo-visibilidad-dialog {
    position: relative;
    inset: auto;
    isolation: isolate;
    width: min(620px, calc(100vw - 48px));
    min-width: 0;
    max-width: 620px;
    height: auto;
    min-height: 0;
    max-height: min(760px, calc(100dvh - 48px));
    margin: auto;
    padding: 0;
    border: 1px solid #aeb7c3;
    border-radius: 10px;
    background: var(--vs-form-bg, #f3f3f3);
    color: var(--vs-text, #1f1f1f);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.35);
    resize: none;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: stretch;
    opacity: 1;
}

.vs-prestamo-visibilidad-backdrop > .vs-prestamo-visibilidad-dialog::after {
    display: none;
}

.vs-prestamo-visibilidad-dialog > .vs-context-modal-header {
    padding: 16px 18px 12px;
    border-bottom: 1px solid #c7ced8;
    background: var(--vs-form-bg, #f3f3f3);
}

.vs-prestamo-visibilidad-body {
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 2px 18px 16px;
    background: var(--vs-form-bg, #f3f3f3);
}

.vs-prestamo-visibilidad-dialog .vs-context-modal-header h2,
.vs-prestamo-visibilidad-dialog .vs-context-modal-header p {
    margin: 0;
}

.vs-prestamo-visibilidad-dialog .vs-context-modal-header p {
    color: var(--vs-text-muted, #5f6b7a);
    margin-top: 4px;
}

.vs-visibilidad-options {
    display: grid;
    gap: 10px;
    margin: 16px 0;
    padding: 0;
    border: 0;
}

.vs-visibilidad-options legend {
    margin-bottom: 8px;
    font-weight: 700;
}

.vs-visibilidad-option,
.vs-visibilidad-user-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
}

.vs-visibilidad-option input,
.vs-visibilidad-user-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.vs-visibilidad-option span,
.vs-visibilidad-user-row span {
    display: grid;
    gap: 3px;
}

.vs-visibilidad-option small,
.vs-visibilidad-user-row small {
    color: var(--vs-text-muted, #5f6b7a);
}

.vs-visibilidad-users {
    display: grid;
    gap: 10px;
}

.vs-visibilidad-user-list {
    display: grid;
    gap: 8px;
    max-height: 280px;
    overflow: auto;
    padding-right: 4px;
}

.vs-visibilidad-user-row:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
}

.vs-prestamo-visibilidad-dialog .vs-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
    padding: 12px 18px 16px;
    border-top: 1px solid #c7ced8;
    background: var(--vs-form-bg, #f3f3f3);
}

@media (max-width: 640px) {
    .vs-prestamo-visibilidad-backdrop,
    html.vs-web-mobile .vs-prestamo-visibilidad-backdrop {
        display: flex;
        align-items: flex-end;
        padding: 0;
        background: rgba(15, 23, 42, 0.58);
    }

    .vs-prestamo-visibilidad-backdrop > .vs-prestamo-visibilidad-dialog,
    html.vs-web-mobile .vs-prestamo-visibilidad-backdrop > .vs-prestamo-visibilidad-dialog {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: calc(100dvh - max(16px, env(safe-area-inset-top))) !important;
        margin: auto 0 0 !important;
        border-width: 1px 0 0;
        border-radius: 16px 16px 0 0;
        background: var(--vs-form-bg, #f3f3f3);
        box-shadow: 0 -14px 36px rgba(15, 23, 42, 0.28);
        overflow: hidden;
    }

    .vs-prestamo-visibilidad-dialog .vs-modal-actions {
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }
}
