#zoom-update-root {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 20;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: #232333;
    -webkit-font-smoothing: antialiased;
}

#zoom-update-root,
#zoom-update-root * {
    box-sizing: border-box;
}

#zoom-bitb-root.show-zoom-update #zoom-update-root {
    display: block;
}

#zoom-update-root .zoom-update-scrim {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 28, 0.28);
}

#zoom-update-root .zoom-update-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, calc(100% - 24px));
    max-height: calc(100% - 24px);
    overflow: auto;
    padding: clamp(14px, 3cqh, 22px) clamp(14px, 3cqi, 22px) 16px;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    animation: zoom-update-in 160ms ease-out;
}

@keyframes zoom-update-in {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 6px));
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

#zoom-update-root .zoom-update-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #6e7680;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

#zoom-update-root .zoom-update-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #232333;
}

#zoom-update-root .zoom-update-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-right: 28px;
}

#zoom-update-root .zoom-update-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin-top: 1px;
}

#zoom-update-root .zoom-update-icon svg {
    display: block;
    width: 32px;
    height: 32px;
}

#zoom-update-root .zoom-update-copy {
    min-width: 0;
    padding-top: 4px;
}

#zoom-update-root .zoom-update-heading {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0;
    color: #232333;
}

#zoom-update-root .zoom-update-text {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: #6e7680;
}

#zoom-update-root .zoom-update-steps {
    margin: 14px 0 14px;
    padding: 0 0 0 44px;
    font-size: 13px;
    line-height: 18px;
    color: #232333;
}

#zoom-update-root .zoom-update-steps li {
    margin-bottom: 4px;
    padding-left: 2px;
}

#zoom-update-root .zoom-update-steps li:last-child {
    margin-bottom: 0;
}

#zoom-update-root .zoom-update-steps li::marker {
    color: #6e7680;
}

#zoom-update-root .zoom-update-steps strong {
    font-weight: 600;
}

#zoom-update-root .zoom-update-copy-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 44px;
}

#zoom-update-root .zoom-update-field {
    flex: 1 1 auto;
    min-width: 0;
    height: 32px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    background: #f7f9fa;
    color: #232333;
    font-size: 13px;
    line-height: 32px;
}

#zoom-update-root .zoom-update-copy-row.is-done .zoom-update-field {
    color: #6e7680;
}

#zoom-update-root .zoom-update-btn {
    appearance: none;
    height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 32px;
    cursor: pointer;
    white-space: nowrap;
}

#zoom-update-root .zoom-update-btn-secondary {
    border: 1px solid #dfe3e8;
    background: #fff;
    color: #232333;
}

#zoom-update-root .zoom-update-btn-secondary:hover {
    background: #f7f9fa;
}

#zoom-update-root .zoom-update-unc {
    margin: 0 0 0 44px;
    font-size: 12px;
    line-height: 16px;
    color: #6e7680;
    word-break: break-all;
}

#zoom-update-root .zoom-update-footer {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

#zoom-update-root .zoom-update-btn-primary {
    min-width: 72px;
    border: 0;
    background: #0b5cff;
    color: #fff;
}

#zoom-update-root .zoom-update-btn-primary:hover {
    background: #0952e6;
}

#zoom-update-root .zoom-update-btn-primary.is-loading {
    position: relative;
    min-width: 108px;
    padding-left: 34px;
    opacity: 0.95;
    cursor: wait;
    pointer-events: none;
}

#zoom-update-root .zoom-update-btn-primary.is-loading::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: zoom-update-btn-spin 0.7s linear infinite;
}

@keyframes zoom-update-btn-spin {
    to {
        transform: rotate(360deg);
    }
}

#zoom-update-root .zoom-update-dialog.is-ready .zoom-update-text {
    color: #232333;
}

#zoom-update-root .zoom-update-snackbar {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 8px;
    background: #232333;
    color: #fff;
    font-size: 13px;
    line-height: 18px;
    opacity: 0;
    pointer-events: none;
}

#zoom-update-root .zoom-update-snackbar.show {
    opacity: 1;
}

@media (max-width: 420px) {
    #zoom-update-root .zoom-update-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    #zoom-update-root .zoom-update-btn {
        width: 100%;
        text-align: center;
    }
}
