/* Painel Detalhes da VM — drawer lateral portaled no body */
.vmd-overlay {
    position: fixed;
    inset: 0;
    z-index: 12000;
    background: rgba(30, 27, 46, 0.42);
    display: flex;
    justify-content: flex-end;
    animation: vmd-fade-in 0.16s ease;
}

@keyframes vmd-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vmd-panel {
    width: min(560px, 100vw);
    height: 100%;
    background: #fff;
    box-shadow: -8px 0 32px rgba(46, 25, 86, 0.16);
    display: flex;
    flex-direction: column;
    animation: vmd-slide-in 0.2s ease;
}

@keyframes vmd-slide-in {
    from { transform: translateX(24px); opacity: 0.85; }
    to { transform: translateX(0); opacity: 1; }
}

.vmd-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 20px 12px;
    border-bottom: 1px solid #ECEFF6;
    flex-shrink: 0;
}

.vmd-panel__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 16px 20px 24px;
}

.vmd-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #6B6F7D;
    cursor: pointer;
    flex-shrink: 0;
}

.vmd-close:hover {
    background: #F5F6FA;
    color: #2E1956;
}

.vmd-drawer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: "Inter", sans-serif;
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.vmd-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.vmd-provider-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #FFF7ED;
    border: 1px solid #FFE8CC;
    flex-shrink: 0;
}

.vmd-provider-badge--azure {
    background: #EFF6FF;
    border-color: #DBEAFE;
}

.vmd-provider-badge--oci {
    background: #FEF2F2;
    border-color: #FECACA;
}

.vmd-provider-badge--gcp {
    background: #EFF6FF;
    border-color: #DBEAFE;
}

.vmd-head-text {
    min-width: 0;
    flex: 1 1;
}

.vmd-kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #8B90A3;
    color: var(--text-light, #8B90A3);
}

.vmd-title {
    margin: 2px 0 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #2E1956;
    color: var(--text-default, #2E1956);
    word-break: break-word;
}

.vmd-kpi-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-gap: 8px;
    gap: 8px;
}

.vmd-kpi {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    padding: 10px 10px 12px;
    border-radius: 12px;
    border: 1px solid #ECEFF6;
    background: #FAFBFD;
}

.vmd-kpi__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #EEF1F8;
    color: #556ee6;
}

.vmd-kpi__icon--on {
    color: #34C38F;
    border-color: rgba(52, 195, 143, 0.25);
    background: rgba(52, 195, 143, 0.08);
}

.vmd-kpi__icon--off {
    color: #F46A6A;
    border-color: rgba(244, 106, 106, 0.25);
    background: rgba(244, 106, 106, 0.08);
}

.vmd-kpi__label {
    font-size: 11px;
    font-weight: 500;
    color: #8B90A3;
    color: var(--text-light, #8B90A3);
}

.vmd-kpi__value {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    color: #2E1956;
    color: var(--text-default, #2E1956);
    word-break: break-word;
}

.vmd-kpi__value--on { color: #2B9A74; }
.vmd-kpi__value--off { color: #D64545; }

.vmd-section {
    border: 1px solid #ECEFF6;
    border-radius: 14px;
    padding: 14px 16px 16px;
    background: #fff;
}

.vmd-section__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.vmd-section__title-icon {
    display: inline-flex;
    color: #556ee6;
}

.vmd-grid {
    display: grid;
    grid-gap: 12px 16px;
    gap: 12px 16px;
}

.vmd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vmd-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.vmd-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vmd-field__label {
    font-size: 11px;
    font-weight: 500;
    color: #8B90A3;
    color: var(--text-light, #8B90A3);
}

.vmd-field__value {
    font-size: 13px;
    font-weight: 600;
    color: #2E1956;
    color: var(--text-default, #2E1956);
    word-break: break-word;
    line-height: 1.35;
}

.vmd-field__value--muted {
    font-weight: 500;
    color: #6B6F7D;
    color: var(--text-dark, #6B6F7D);
}

.vmd-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.vmd-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
}

.vmd-status-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.vmd-status-pill--on { color: #2B9A74; }
.vmd-status-pill--on .vmd-status-pill__dot { background: #34C38F; }
.vmd-status-pill--off { color: #D64545; }
.vmd-status-pill--off .vmd-status-pill__dot { background: #F46A6A; }
.vmd-status-pill--pending { color: #8B90A3; }
.vmd-status-pill--pending .vmd-status-pill__dot { background: #C5C9D6; }

.vmd-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    width: fit-content;
}

.vmd-chip--on {
    background: rgba(52, 195, 143, 0.12);
    color: #2B9A74;
}

.vmd-chip--off {
    background: #EEF0F5;
    color: #5A6F8F;
}

.vmd-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #ECEFF6;
}

/* Footer sticky do painel (Storage / Savings / Activities) */
.vmd-panel__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
    padding: 12px 20px 16px;
    border-top: 1px solid #ECEFF6;
    background: #fff;
}

/* Botões do drawer = padrão global lc-button */
.vmd-panel button.lc-button,
.vmd-footer button.lc-button,
.vmd-panel__footer button.lc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 135px;
    height: 40px;
    padding: 0.3rem 1.2rem;
    border: 0;
    border-radius: 4px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.vmd-panel button.lc-button:disabled,
.vmd-footer button.lc-button:disabled,
.vmd-panel__footer button.lc-button:disabled,
.vmd-panel button.lc-button.disabled,
.vmd-footer button.lc-button.disabled {
    background-color: #ebebeb !important;
    color: #8B90A3 !important;
    color: var(--text-light, #8B90A3) !important;
    cursor: not-allowed;
    opacity: 1;
}

/* Compat: classes antigas vmd-btn redirecionam visualmente para lc-button */
.vmd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 135px;
    height: 40px;
    padding: 0.3rem 1.2rem;
    border: 0;
    border-radius: 4px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: #F5F6FA !important;
    background-color: var(--background-light, #F5F6FA) !important;
    color: #2E1956 !important;
    color: var(--text-default, #2E1956) !important;
}

.vmd-btn:disabled {
    background-color: #ebebeb !important;
    color: #8B90A3 !important;
    color: var(--text-light, #8B90A3) !important;
    cursor: not-allowed;
}

.vmd-btn--primary {
    background-color: #9FA3FF !important;
    background-color: var(--button-primary-default, #9FA3FF) !important;
    color: #2E1956 !important;
    color: var(--text-default, #2E1956) !important;
}

.vmd-btn--primary:hover:not(:disabled) {
    background-color: #C3C6FD !important;
}

.vmd-btn--secondary,
.vmd-btn--ghost {
    background-color: #F5F6FA !important;
    background-color: var(--background-light, #F5F6FA) !important;
    color: #2E1956 !important;
    color: var(--text-default, #2E1956) !important;
}

.vmd-btn--secondary:hover:not(:disabled),
.vmd-btn--ghost:hover:not(:disabled) {
    background-color: #ECEEF6 !important;
}

.vmd-btn--ghost {
    min-width: 40px;
    width: 40px;
    padding: 0;
}

@media (max-width: 560px) {
    .vmd-kpi-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .vmd-grid--3 {
        grid-template-columns: 1fr 1fr;
    }
    .vmd-footer,
    .vmd-panel__footer {
        justify-content: stretch;
    }
    .vmd-footer .lc-button,
    .vmd-panel__footer .lc-button {
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* Novo chamado operacional — drawer lateral (hosting VMs) */
.vot-overlay {
    position: fixed;
    inset: 0;
    z-index: 12100;
    background: rgba(30, 27, 46, 0.42);
    display: flex;
    justify-content: flex-end;
    animation: vot-fade-in 0.16s ease;
}

@keyframes vot-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vot-panel {
    width: min(560px, 100vw);
    height: 100%;
    background: #fff;
    box-shadow: -8px 0 32px rgba(46, 25, 86, 0.16);
    display: flex;
    flex-direction: column;
    animation: vot-slide-in 0.2s ease;
    font-family: "Inter", sans-serif;
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

@keyframes vot-slide-in {
    from { transform: translateX(24px); opacity: 0.85; }
    to { transform: translateX(0); opacity: 1; }
}

.vot-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #ECEFF6;
    flex-shrink: 0;
}

.vot-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.vot-head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(91, 43, 225, 0.12), rgba(85, 110, 230, 0.1));
    border: 1px solid rgba(91, 43, 225, 0.18);
    color: #5B2BE1;
    flex-shrink: 0;
}

.vot-head-text {
    min-width: 0;
}

.vot-kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #8B90A3;
    color: var(--text-light, #8B90A3);
}

.vot-title {
    margin: 2px 0 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.vot-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #6B6F7D;
    cursor: pointer;
    flex-shrink: 0;
}

.vot-close:hover:not(:disabled) {
    background: #F5F6FA;
    color: #2E1956;
}

.vot-close:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vot-panel__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.vot-context__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #ECEFF6;
    background: #FAFBFD;
}

.vot-context__label {
    font-size: 11px;
    font-weight: 500;
    color: #8B90A3;
    color: var(--text-light, #8B90A3);
}

.vot-context__value {
    font-size: 13px;
    font-weight: 700;
    color: #2E1956;
    color: var(--text-default, #2E1956);
    word-break: break-word;
    line-height: 1.3;
}

.vot-context__value--inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vot-context__hint {
    font-size: 11px;
    font-weight: 500;
    color: #6B6F7D;
    text-transform: capitalize;
}

.vot-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 12px 12px;
    gap: 12px 12px;
}

.vot-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.vot-field--full {
    grid-column: 1 / -1;
}

.vot-field__label {
    font-size: 12px;
    font-weight: 600;
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.vot-field__label em {
    color: #E14B4B;
    font-style: normal;
    margin-left: 2px;
}

.vot-field__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.vot-input {
    width: 100%;
    box-sizing: border-box;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #E2E6F3;
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: #2E1956;
    color: var(--text-default, #2E1956);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vot-input:focus {
    border-color: #5B2BE1;
    box-shadow: 0 0 0 3px rgba(91, 43, 225, 0.12);
}

.vot-input:disabled {
    background: #F5F6FA;
    color: #8B90A3;
}

.vot-select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #8B90A3 50%),
        linear-gradient(135deg, #8B90A3 50%, transparent 50%);
    background-position:
        calc(100% - 16px) calc(50% - 3px),
        calc(100% - 11px) calc(50% - 3px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 28px;
}

.vot-textarea {
    height: auto;
    min-height: 140px;
    padding: 10px 12px;
    resize: vertical;
    line-height: 1.45;
}

.vot-counter {
    align-self: flex-end;
    font-size: 11px;
    font-weight: 500;
    color: #8B90A3;
}

.vot-ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(91, 43, 225, 0.22);
    background: linear-gradient(135deg, rgba(91, 43, 225, 0.08), rgba(85, 110, 230, 0.08));
    color: #5B2BE1;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.vot-ai-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(91, 43, 225, 0.14), rgba(85, 110, 230, 0.14));
}

.vot-ai-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.vot-dropzone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px dashed #D5DAEA;
    border-radius: 12px;
    background: #FAFBFD;
    color: #6B6F7D;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.vot-dropzone:hover,
.vot-dropzone.is-drag {
    border-color: #5B2BE1;
    background: rgba(91, 43, 225, 0.04);
    color: #5B2BE1;
}

.vot-dropzone strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.vot-dropzone span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin-top: 2px;
}

.vot-files {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vot-files li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #ECEFF6;
    background: #fff;
    font-size: 12px;
}

.vot-files__name {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vot-files__size {
    color: #8B90A3;
    font-weight: 500;
    flex-shrink: 0;
}

.vot-files__remove {
    display: inline-flex;
    border: 0;
    background: transparent;
    color: #D64545;
    cursor: pointer;
    padding: 2px;
    border-radius: 6px;
}

.vot-files__remove:hover:not(:disabled) {
    background: rgba(244, 106, 106, 0.12);
}

.vot-side-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    gap: 10px;
}

.vot-card {
    border: 1px solid #ECEFF6;
    border-radius: 14px;
    padding: 12px 14px 14px;
    background: #FAFBFD;
    min-width: 0;
}

.vot-card__title {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.vot-card__list {
    margin: 0;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #5A6F8F;
    line-height: 1.4;
}

.vot-card__list--ordered {
    padding-left: 18px;
}

.vot-card__muted {
    list-style: none;
    margin-left: -16px;
    color: #8B90A3;
}

.vot-panel__footer {
    display: block;
    padding: 12px 20px 16px;
    border-top: 1px solid #ECEFF6;
    flex-shrink: 0;
    background: #fff;
}

.vot-footer__draft {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.vot-draft-status {
    flex: 1 1 auto;
    min-width: 0;
    color: #6B6F7D;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.35;
}

.vot-footer__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.vot-footer__spacer {
    flex: 1 1 auto;
    min-width: 0;
}

/* Botões do drawer de chamado = padrão global lc-button */
.vot-panel__footer button.lc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 135px;
    height: 40px;
    padding: 0.3rem 1.2rem;
    border: 0;
    border-radius: 4px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.vot-panel__footer button.vot-draft-load {
    min-width: 0;
    height: 34px;
    padding: 0.3rem 0.8rem;
    font-size: 12px;
    flex-shrink: 0;
}

/* Compat residual se restar vot-btn em algum lugar */
.vot-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 135px;
    height: 40px;
    padding: 0.3rem 1.2rem;
    border: 0;
    border-radius: 4px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background-color: #F5F6FA !important;
    background-color: var(--background-light, #F5F6FA) !important;
    color: #2E1956 !important;
    color: var(--text-default, #2E1956) !important;
}

.vot-btn:disabled {
    background-color: #ebebeb !important;
    color: #8B90A3 !important;
    color: var(--text-light, #8B90A3) !important;
    cursor: not-allowed;
}

.vot-btn--primary {
    background-color: #9FA3FF !important;
    background-color: var(--button-primary-default, #9FA3FF) !important;
    color: #2E1956 !important;
    color: var(--text-default, #2E1956) !important;
}

.vot-btn--primary:hover:not(:disabled) {
    background-color: #C3C6FD !important;
}

.vot-btn--secondary,
.vot-btn--ghost {
    background-color: #F5F6FA !important;
    background-color: var(--background-light, #F5F6FA) !important;
    color: #2E1956 !important;
    color: var(--text-default, #2E1956) !important;
}

.vot-btn--secondary:hover:not(:disabled),
.vot-btn--ghost:hover:not(:disabled) {
    background-color: #ECEEF6 !important;
}

@media (max-width: 560px) {
    .vot-context,
    .vot-form-grid,
    .vot-side-cards {
        grid-template-columns: 1fr;
    }

    .vot-footer__draft,
    .vot-footer__actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: stretch;
    }

    .vot-footer__draft {
        gap: 8px;
    }

    .vot-footer__spacer {
        display: none;
    }

    .vot-panel__footer .lc-button,
    .vot-btn {
        width: 100%;
        min-width: 0;
    }
}

/* Criação direta de VM — sobre o SideModal padrão (com tela cheia), na linguagem visual do
   drawer de chamado (vot-*). O body do SideModal tem padding 0 2rem 2rem: a casca o anula para
   ocupar a área toda e mantém topo/rodapé fixos com só o conteúdo rolando. */
.vpw-sm {
    display: flex;
    flex-direction: column;
    height: calc(100% + 2rem);
    min-height: 0;
    margin: 0 -2rem -2rem;
    background: #fff;
    font-family: "Inter", sans-serif;
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.vpw-sm__top {
    flex: 0 0 auto;
}

.vpw-sm__top .vpw-steps {
    padding: 10px 2rem;
}

.vpw-sm__content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 16px 2rem 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vpw-sm__footer.vot-panel__footer {
    flex: 0 0 auto;
    padding: 12px 2rem 16px;
}

/* Tela cheia: conteúdo centralizado com largura de leitura; o grid de tamanhos ganha espaço. */
.vpw-sm--expanded .vpw-sm__content > * {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.vpw-sm--expanded .vpw-table-wrap {
    max-height: 60vh;
}

.vpw-wizard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 225px;
    grid-gap: 20px;
    gap: 20px;
    align-items: start;
    min-width: 0;
    container-type: inline-size;
}

.vpw-wizard-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.vpw-cost {
    position: sticky;
    top: 0;
    padding: 0 0 0 16px;
    border-left: 1px solid #e2e6ef;
    min-width: 0;
    overflow-wrap: anywhere;
}

.vpw-cost__title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 14px;
    color: #23745c;
}

.vpw-cost__selection,
.vpw-cost__basis,
.vpw-cost__note,
.vpw-cost__source {
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 12px;
    color: #626878;
}

.vpw-cost__prices {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    grid-gap: 10px 8px;
    gap: 10px 8px;
    margin: 18px 0;
    font-size: 12px;
}

.vpw-cost__prices dd {
    margin: 0;
    text-align: right;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    color: #1c5948;
    font-weight: 600;
}

.vpw-cost__prices .vpw-cost__monthly {
    font-size: 17px;
}

@media (max-width: 650px) {
    .vpw-wizard-layout { grid-template-columns: minmax(0, 1fr); }
    .vpw-cost { position: static; border-left: 0; border-top: 1px solid #e2e6ef; padding: 16px 0 0; }
}

/* ── Stepper ─────────────────────────────────────────────────────────── */
.vpw-steps {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 20px;
    border-bottom: 1px solid #ECEFF6;
    flex-shrink: 0;
    scrollbar-width: thin;
}

.vpw-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px 0 4px;
    border-radius: 999px;
    border: 1px solid #E2E6F3;
    background: #fff;
    color: #6B6F7D;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.vpw-step:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.vpw-step__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #F0F1F7;
    font-size: 11px;
}

.vpw-step.is-active {
    border-color: #5B2BE1;
    color: #2E1956;
    box-shadow: 0 0 0 3px rgba(91, 43, 225, 0.1);
}

.vpw-step.is-active .vpw-step__index {
    background: #5B2BE1;
    color: #fff;
}

.vpw-step.is-done .vpw-step__index {
    background: #DDF5E7;
    color: #1E8A4C;
}

/* ── Conteúdo ────────────────────────────────────────────────────────── */
.vpw-section-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.vpw-section-hint {
    margin: 2px 0 0;
    font-size: 12px;
    font-weight: 500;
    color: #6B6F7D;
    line-height: 1.4;
}

.vpw-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 10px;
    gap: 10px;
}

.vpw-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 14px;
    border: 1px solid #E2E6F3;
    border-radius: 12px;
    background: #fff;
    font-family: inherit;
    text-align: left;
    color: #2E1956;
    color: var(--text-default, #2E1956);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vpw-card:hover:not(:disabled) {
    border-color: #9FA3FF;
}

.vpw-card.is-selected {
    border-color: #5B2BE1;
    box-shadow: 0 0 0 3px rgba(91, 43, 225, 0.12);
    background: rgba(91, 43, 225, 0.03);
}

.vpw-card:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    background: #FAFBFD;
}

.vpw-card__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
}

.vpw-card__meta {
    font-size: 11px;
    font-weight: 500;
    color: #6B6F7D;
}

.vpw-family {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vpw-family__name {
    font-size: 12px;
    font-weight: 700;
    color: #5A6F8F;
}

.vpw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vpw-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #E2E6F3;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: #2E1956;
    color: var(--text-default, #2E1956);
    cursor: pointer;
}

.vpw-chip.is-selected {
    border-color: #5B2BE1;
    background: rgba(91, 43, 225, 0.08);
    color: #5B2BE1;
}

.vpw-chip:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vpw-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-gap: 8px;
    gap: 8px;
}

.vpw-table-wrap {
    border: 1px solid #ECEFF6;
    border-radius: 12px;
    overflow: auto;
    max-height: 360px;
}

.vpw-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.vpw-table th {
    position: sticky;
    top: 0;
    background: #FAFBFD;
    text-align: left;
    padding: 8px 10px;
    font-weight: 700;
    color: #5A6F8F;
    border-bottom: 1px solid #ECEFF6;
}

.vpw-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #F3F4F9;
    font-weight: 500;
}

.vpw-table tbody tr {
    cursor: pointer;
}

.vpw-table tbody tr:hover {
    background: #F8F7FE;
}

.vpw-table tbody tr.is-selected {
    background: rgba(91, 43, 225, 0.08);
    font-weight: 700;
}

.vpw-disk {
    display: grid;
    grid-template-columns: 2fr 1fr auto auto;
    grid-gap: 8px;
    gap: 8px;
    align-items: end;
    padding: 10px 12px;
    border: 1px solid #ECEFF6;
    border-radius: 12px;
    background: #FAFBFD;
}

.vpw-inline-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #2E1956;
    color: var(--text-default, #2E1956);
    cursor: pointer;
}

.vpw-inline-check input {
    accent-color: #5B2BE1;
}

.vpw-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #5B2BE1;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
}

.vpw-link-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vpw-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #D64545;
    cursor: pointer;
}

.vpw-icon-btn:hover {
    background: rgba(244, 106, 106, 0.12);
}

.vpw-alert {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.vpw-alert ul {
    margin: 4px 0 0;
    padding-left: 16px;
}

.vpw-alert--danger {
    background: #FDEEEE;
    border: 1px solid #F6C9C9;
    color: #8A1F1F;
}

.vpw-alert--warning {
    background: #FFF7E6;
    border: 1px solid #F8DFA8;
    color: #7A5200;
}

.vpw-alert--info {
    background: #F1F0FD;
    border: 1px solid #DAD5FA;
    color: #3B2A8A;
}

.vpw-muted {
    font-size: 12px;
    font-weight: 500;
    color: #8B90A3;
}

.vpw-review {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 10px;
    gap: 10px;
}

.vpw-review dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 4px 10px;
    gap: 4px 10px;
    font-size: 12px;
}

.vpw-review dt {
    color: #8B90A3;
    font-weight: 500;
}

.vpw-review dd {
    margin: 0;
    font-weight: 700;
    color: #2E1956;
    color: var(--text-default, #2E1956);
    word-break: break-word;
}

.vpw-policy {
    margin: 6px 0 0;
    padding: 10px 12px;
    max-height: 220px;
    overflow: auto;
    border: 1px solid #ECEFF6;
    border-radius: 10px;
    background: #FAFBFD;
    font-size: 11px;
    line-height: 1.45;
    white-space: pre;
}

.vpw-table code,
.vpw-alert code {
    font-size: 11px;
    background: rgba(91, 43, 225, 0.06);
    padding: 1px 4px;
    border-radius: 4px;
}

details > summary.vpw-link-btn {
    list-style: none;
    margin-top: 6px;
}

/* ── Escolha entre chamado e criação direta ──────────────────────────── */
.vpw-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 12px;
    gap: 12px;
}

.vpw-mode .vpw-card {
    padding: 16px;
    gap: 8px;
}

.vpw-mode .vpw-card ul {
    margin: 0;
    padding-left: 16px;
    font-size: 11px;
    font-weight: 500;
    color: #5A6F8F;
    line-height: 1.5;
}

/* ── Solicitações ────────────────────────────────────────────────────── */
.vpr-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.vpr-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vpr-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 4px 10px;
    gap: 4px 10px;
    padding: 10px 12px;
    border: 1px solid #ECEFF6;
    border-radius: 12px;
    background: #fff;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
}

.vpr-item:hover {
    border-color: #9FA3FF;
}

.vpr-item__name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.vpr-item__meta {
    grid-column: 1 / -1;
    font-size: 11px;
    font-weight: 500;
    color: #6B6F7D;
}

.vpr-badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.vpr-badge--neutral { background: #F0F1F7; color: #5A6F8F; }
.vpr-badge--info { background: #ECEBFD; color: #4B32C3; }
.vpr-badge--warning { background: #FFF1D6; color: #8A5A00; }
.vpr-badge--success { background: #DDF5E7; color: #1E7A45; }
.vpr-badge--danger { background: #FDE3E3; color: #A12626; }

.vpr-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 14px;
    border-left: 2px solid #ECEFF6;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vpr-timeline li {
    position: relative;
    font-size: 12px;
    font-weight: 500;
    color: #2E1956;
    color: var(--text-default, #2E1956);
    line-height: 1.4;
}

.vpr-timeline li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9FA3FF;
    border: 2px solid #fff;
}

.vpr-timeline li.is-warning::before { background: #F2B53A; }
.vpr-timeline li.is-error::before { background: #E14B4B; }

.vpr-timeline time {
    display: block;
    font-size: 11px;
    color: #8B90A3;
}

@media (max-width: 640px) {
    .vpw-filters,
    .vpw-review,
    .vpw-mode,
    .vpw-disk {
        grid-template-columns: 1fr;
    }
}

/* Resumo de VMs — faixa KPI compacta (mesma linha da toolbar) */
.vm-summary-strip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
}

.vm-summary-strip__divider {
    display: none;
}

.vm-summary-strip__kpis {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    min-width: 0;
}

.vm-summary-strip__kpi {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    min-width: 0;
    min-height: 20px;
    padding: 2px 6px;
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 1.1;
    border: 1px solid #E8ECF6;
    border-radius: 999px;
    background: #FAFBFD;
    box-sizing: border-box;
}

.vm-summary-strip__kpi-label {
    font-size: 9px;
    font-weight: 600;
    color: #6B6F7D;
    color: var(--text-dark, #6B6F7D);
    white-space: nowrap;
}

.vm-summary-strip__kpi-value {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #2E1956;
    color: var(--text-default, #2E1956);
}

.vm-summary-strip__kpi-value--green { color: #34C38F; }
.vm-summary-strip__kpi-value--orange { color: #F1B44C; }
.vm-summary-strip__kpi-value--blue { color: #556ee6; }

.vm-summary-strip__kpi-hint {
    font-size: 9px;
    color: #8B90A3;
    color: var(--text-light, #8B90A3);
    white-space: nowrap;
}

.vm-summary-strip__clouds-row {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    flex: 0 0 auto;
    min-width: 0;
    margin-left: auto;
}

.vm-summary-strip__cloud {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-width: 0;
    min-height: 20px;
    padding: 2px 6px;
    white-space: nowrap;
    box-sizing: border-box;
    border: 1px solid #E8ECF6;
    border-radius: 999px;
    background: #FAFBFD;
}

.vm-summary-strip__cloud-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.vm-summary-strip__cloud-icon svg {
    width: 14px !important;
    height: 14px !important;
}

.vm-summary-strip__cloud-count {
    font-size: 11px;
    font-weight: 700;
    color: #2E1956;
    color: var(--text-default, #2E1956);
    line-height: 1;
}

.vm-summary-strip__cloud-pct {
    font-size: 9px;
    color: #8B90A3;
    color: var(--text-light, #8B90A3);
    line-height: 1;
}

/* Interativo */
.vm-summary-strip--interactive .vm-summary-strip__kpi,
.vm-summary-strip--interactive .vm-summary-strip__cloud {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
    text-align: left;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.vm-summary-strip__kpi.is-clickable:hover:not(:disabled),
.vm-summary-strip__cloud.is-clickable:hover:not(:disabled) {
    background: #FAFBFD;
    border-color: #E8ECF6;
    box-shadow: 0 1px 3px rgba(46, 25, 86, 0.08);
}

.vm-summary-strip__kpi.is-clickable:focus-visible,
.vm-summary-strip__cloud.is-clickable:focus-visible {
    outline: 2px solid rgba(71, 31, 204, 0.35);
    outline-offset: 1px;
}

.vm-summary-strip__kpi.is-active,
.vm-summary-strip__cloud.is-active {
    background: rgba(91, 43, 225, 0.10);
    border-color: rgba(91, 43, 225, 0.32);
    box-shadow: inset 0 0 0 1px rgba(91, 43, 225, 0.08);
}

.vm-summary-strip__kpi.is-active .vm-summary-strip__kpi-label {
    color: #471FCC;
}

.vm-summary-strip__cloud.is-active .vm-summary-strip__cloud-count {
    color: #471FCC;
}

.vm-summary-strip__kpi:disabled,
.vm-summary-strip__cloud:disabled {
    cursor: default;
    opacity: 1;
}

.vm-summary-strip__kpi.is-clickable:disabled,
.vm-summary-strip__cloud.is-clickable:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

